Work around conflicting declarations of math functions
[glibc.git] / ChangeLog
blobdd5a2b5b18a369a3cfe08dabcb0ebe8eed7c8627
1 2015-11-16  Florian Weimer  <fweimer@redhat.com>
3         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
7         * config.make.in (have-glob-dat-reloc): New.
8         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9         target supports GLOB_DAT relocaton. AC_SUBST.
10         * configure: Regenerated.
11         * elf/Makefile (tests): Add tst-prelink.
12         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13         (tst-prelink-ENV): New.
14         ($(objpfx)tst-prelink-conflict.out): Likewise.
15         ($(objpfx)tst-prelink-cmp.out): Likewise.
16         * sysdeps/x86/tst-prelink.c: Moved to ...
17         * elf/tst-prelink.c: Here.
18         * sysdeps/x86/tst-prelink.exp: Moved to ...
19         * elf/tst-prelink.exp: Here.
20         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
21         (tst-prelink-ENV): Removed.
22         ($(objpfx)tst-prelink-conflict.out): Likewise.
23         ($(objpfx)tst-prelink-cmp.out): Likewise.
24         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
28         [BZ #14551]
29         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
30         (__mpn_construct_long_double): If high part overflows to infinity,
31         set errno and recompute overflowed result of the correct sign.
32         * sysdeps/ieee754/ldbl-128ibm/Makefile
33         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
34         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
35         $(libm).
36         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
38 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
40         [BZ #15479]
41         [BZ #19238]
42         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
43         floating-point state after first operation on input.  Restore full
44         state rather than just rounding mode.
45         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
46         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
47         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
49         [BZ #19235]
50         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
51         add 0.5 to integer arguments.
52         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
53         Likewise.
54         (.LC2): New object.
56 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
58         * scripts/pylintrc (reports): Set to no.
60 2015-11-10  Roland McGrath  <roland@hack.frob.com>
62         * elf/dl-load.c (open_verify): Take new argument FD.
63         Skip __open call if passed FD is not -1.
64         (_dl_map_object, open_path): Update callers.
65         * elf/dl-sysdep-open.h: New file.
66         * elf/dl-load.c: Include it.
67         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
68         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
69         * sysdeps/nacl/dl-sysdep-open.h: New file.
70         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
71         from libc to rtld.
73 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
75         [BZ #19228]
76         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
77         and restore full floating-point state.
78         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
79         Likewise.
80         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
81         Likewise.
82         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
83         Likewise.
84         * math/test-nearbyint-except-2.c: New file.
85         * math/Makefile (tests): Add test-nearbyint-except-2.
87 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
89         [BZ #19178]
90         * sysdeps/x86/Makefile (tests): Add tst-prelink.
91         (tst-prelink-ENV): New.
92         ($(objpfx)tst-prelink-conflict.out): Likewise.
93         ($(objpfx)tst-prelink-cmp.out): Likewise.
94         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
95         * sysdeps/x86/tst-prelink.c: New file.
96         * sysdeps/x86/tst-prelink.exp: Likewise.
98 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
100         * math/auto-libm-test-in: Add another test of pow.
101         * math/auto-libm-test-out: Regenerated.
102         * math/libm-test.inc (pow_test_data): Add another test.
104 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
106         [BZ #19219]
107         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
108         weak_alias to nearbyintl.
110 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
112         * sysdeps/aarch64/bits/string.h: New file.
113         (_STRING_ARCH_unaligned): Define.
115 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
117         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
118         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
119         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
120         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
123 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
125         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
126         for original name of the DSO.  Add it to the name list of the DSO
127         if it is actually given.
128         (_dl_map_object): Keep track of whether an audit module rewrote
129         the file name.  If yes, pass the original name to
130         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
131         debugging is enabled, log the change of the file name.
132         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
133         _dl_map_object_from_fd.
134         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
135         * elf/tst-audit11.c: New file
136         * elf/tst-auditmod11.c: New file.
137         * elf/tst-audit11mod1.c: New file.
138         * elf/tst-audit11mod2.c: New file.
139         * elf/tst-audit11mod2.map: New file.
140         * elf/tst-audit12.c: New file
141         * elf/tst-auditmod12.c: New file.
142         * elf/tst-audit12mod1.c: New file.
143         * elf/tst-audit12mod2.c: New file.
144         * elf/tst-audit12mod2.map: New file.
145         * elf/tst-audit12mod3.c: New file.
147 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
149         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
150         Don't create weak aliases,
151         because versioned symbols are created later.
152         * sysdeps/s390/s390-32/setjmp.S
153         (setjmp, _setjmp): Remove weak and rename to an unique name
154         in SHARED case due to existing versioned symbols.
155         * sysdeps/s390/s390-64/setjmp.S: Likewise.
156         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
157         (getcontext): Create weak alias only in non SHARED case.
158         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
160 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
162         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
163         (__ASSUME_*_SYSCALL) Define new macros.
164         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
165         Remove socketcall syscalls.
166         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
167         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
168         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
169         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
170         * sysdeps/unix/sysv/linux/send.c (__libc_send):
171         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
173 2015-11-09  Florian Weimer  <fweimer@redhat.com>
175         [BZ #12926]
176         Terminate process on invalid netlink response.
177         * sysdeps/unix/sysv/linux/netlinkaccess.h
178         (__netlink_assert_response): Declare.
179         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
180         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
181         (sysdep_routines): Add netlink_assert_response.
182         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
183         __netlink_assert_response.
184         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
185         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
186         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
187         __netlink_assert_response.
189 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
191         [BZ #19178]
192         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
193         (RTYPE_CLASS_PLT): Likewise.
194         (RTYPE_CLASS_COPY): Likewise.
195         (RTYPE_CLASS_TLS): Likewise.
196         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
197         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
198         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
199         DL_DEBUG_PRELINK.
201 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
203         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
204         calls with argument -0.5.
205         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
207         * configure.ac (libc_cv_z_nodelete): Remove configure test.
208         (libc_cv_z_nodlopen): Likewise.
209         (libc_cv_z_initfirst): Likewise.
210         * configure: Regenerated.
212 2015-11-06  Florian Weimer  <fweimer@redhat.com>
214         Simplify abilist format to be line-based.
215         * scripts/abilist.awk: Collect descriptors in the descs variable.
216         (emit): Write descs variable and sort it
217         externally, with sort.
218         * sysdeps/**/*.abilist: Convert to new format.
220 2015-11-06  Mark Wielaard  <mjw@redhat.com>
222         [BZ #11460]
223         * io/Makefile (routines): Add fts64.
224         (tests): Add tst-fts and tst-fts-lfs.
225         (CFLAGS-fts64.c): New.
226         * io/Versions (GLIBC_2.23): New.
227         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
228         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
229         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
230         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
231         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
232         (FTSENT64): Likewise.
233         (fts64_children): Likewise.
234         (fts64_close): Likewise.
235         (fts64_open): Likewise.
236         (fts64_read): Likewise.
237         (fts64_set): Likewise.
238         * io/fts64.c: New file.
239         * io/tst-fts.c: New test.
240         * io/tst-fts-lfs.c: Likewise.
241         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
242         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
243         fts64_set.
244         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
245         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
246         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
247         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
248         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
249         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
250         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
251         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
252         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
253         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
254         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
255         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
256         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
258         Likewise.
259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
260         Likewise.
261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
263         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
264         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
265         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
266         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
267         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
270         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
271         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
272         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
273         * sysdeps/wordsize-64/fts.c: New file.
274         * sysdeps/wordsize-64/fts64.c: Likewise.
275         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
276         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
277         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
278         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
280 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
282         * math/libm-test.inc (NON_FINITE): New macro.
283         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
284         * math/gen-libm-test.pl (show_exceptions): Add argument
285         $non_finite.
286         (parse_args): Update call to show_exceptions.
287         * math/test-math-finite.h: New file.
288         * math/test-math-no-finite.h: Likewise.
289         * math/test-double-finite.c: Likewise.
290         * math/test-float-finite.c: Likewise.
291         * math/test-ldouble-finite.c: Likewise.
292         * math/test-double.c: Include "test-math-no-finite.h".
293         * math/test-float.c: Include "test-math-no-finite.h".
294         * math/test-ldouble.c: Include "test-math-no-finite.h".
295         * math/test-math-inline.h (TEST_FINITE): New macro.
296         * math/test-math-vector.h (TEST_FINITE): Likewise.
297         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
298         (libm-tests): Add test-float-finite and test-double-finite.
299         ($(objpfx)test-float-finite.o): New dependency on
300         $(objpfx)libm-test.stmp.
301         ($(objpfx)test-double-finite.o): Likewise.
302         ($(objpfx)test-ldouble-finite.o): Likewise.
303         (libm-test-no-inline-cflags): New variable.
304         (libm-test-finite-cflags): Likewise.
305         (CFLAGS-test-float-finite.c): Likewise.
306         (CFLAGS-test-double-finite.c): Likewise.
307         (CFLAGS-test-ldouble-finite.c): Likewise.
308         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
309         (CFLAGS-test-double.c): Likewise.
310         (CFLAGS-test-ldouble.c): Likewise.
312 2015-11-05  Roland McGrath  <roland@hack.frob.com>
314         * io/fcntl.c (__fcntl): Add ... to prototype.
315         * misc/ioctl.c (__ioctl): Likewise.
316         * misc/syscall.c (syscall): Likewise.
318 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
320         * scripts/list-fixed-bugs.py: New file.
322         [BZ #19213]
323         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
324         returned for argument 1.
325         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
326         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
327         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
328         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
329         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
330         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
332         [BZ #19211]
333         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
334         __USE_XOPEN], not if [!__USE_ISOC99].
335         (lgammaf): Likewise.
336         (lgammal): Likewise.
337         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
338         (gammaf): Likewise.
339         (gammal): Likewise.
340         * math/test-signgam-finite-c11.c: New file.
341         * math/test-signgam-finite-c99.c: Likewise.
342         * math/test-signgam-finite.c: Likewise.
343         * math/Makefile (tests): Add test-signgam-finite,
344         test-signgam-finite-c99 and test-signgam-finite-c11.
345         (CFLAGS-test-signgam-finite.c): New variable.
346         (CFLAGS-test-signgam-finite-c99.c): Likewise.
347         (CFLAGS-test-signgam-finite-c11.c): Likewise.
349         [BZ #19212]
350         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
351         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
352         500].
353         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
354         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
355         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
356         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
357         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
358         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
359         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
360         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
361         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
362         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
364         [BZ #19209]
365         * math/bits/math-finite.h (ldexp): Remove declaration.
366         (ldexpf): Likewise.
367         (ldexpl): Likewise.
369         [BZ #19205]
370         * math/bits/math-finite.h (acosf): Condition declaration on
371         [__USE_ISOC99].
372         (acosl): Likewise.
373         (acoshf): Likewise.
374         (acoshl): Likewise.
375         (asinf): Likewise.
376         (asinl): Likewise.
377         (atan2f): Likewise.
378         (atan2l): Likewise.
379         (atanhf): Likewise.
380         (atanhl): Likewise.
381         (coshf): Likewise.
382         (coshl): Likewise.
383         (expf): Likewise.
384         (expl): Likewise.
385         (fmodf): Likewise.
386         (fmodl): Likewise.
387         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
388         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
389         (j0l): Likewise.
390         (y0f): Likewise.
391         (y0l): Likewise.
392         (j1f): Likewise.
393         (j1l): Likewise.
394         (y1f): Likewise.
395         (y1l): Likewise.
396         (jnf): Likewise.
397         (jnl): Likewise.
398         (ynf): Likewise.
399         (ynl): Likewise.
400         (lgammaf_r): Condition declaration on [__USE_ISOC99].
401         (lgammal_r): Likewise.
402         (__lgamma_r_finite): New declaration.
403         (__lgammaf_r_finite): Likewise.
404         (__lgammal_r_finite): Likewise.
405         (lgamma): Use __lgamma_r_finite.
406         (lgammaf): Condition definition on [__USE_ISOC99].  Use
407         __lgammaf_r_finite.
408         (lgammal): Condition definition on [__USE_ISOC99].  Use
409         __lgammal_r_finite.
410         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
411         __lgamma_r_finite.
412         (gammaf): Condition definition on [__USE_ISOC99].  Use
413         __lgammaf_r_finite.
414         (gammal): Condition definition on [__USE_ISOC99].  Use
415         __lgammal_r_finite.
416         (logf): Condition declaration on [__USE_ISOC99].
417         (logl): Likewise.
418         (log10f): Likewise.
419         (log10l): Likewise.
420         (ldexpf): Likewise.
421         (ldexpl): Likewise.
422         (powf): Likewise.
423         (powl): Likewise.
424         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
425         __USE_ISOC99].
426         (remainderf): Condition declaration on [__USE_ISOC99].
427         (remainderl): Likewise.
428         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
429         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
430         (scalbl): Likewise.
431         (sinhf): Condition declaration on [__USE_ISOC99].
432         (sinhl): Likewise.
433         (sqrtf): Likewise.
434         (sqrtl): Likewise.
436 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
438         * sysdeps/arm/atomic-machine.h
439         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
440         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
441         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
442         Remove conditional code.
443         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
444         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
445         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
446         Change conditional to [__ASSEMBLER__].
447         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
448         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
449         [!__ASSEMBLER__].
450         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
451         code.
452         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
453         conditional macro definitions.
454         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
455         (__arch_compare_and_exchange_val_16_acq): Likewise.
456         (__arch_compare_and_exchange_val_32_acq): Likewise.
457         (atomic_exchange_and_add): Likewise.
458         (atomic_add): Likewise.
459         (atomic_add_negative): Likewise.
460         (atomic_add_zero): Likewise.
461         (atomic_bit_set): Likewise.
462         (atomic_bit_test_set): Likewise.
463         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
464         code unconditional.
465         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
467         * math/test-math-errno.h: New file.
468         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
469         empty.
470         (TEST_ERRNO): New macro.
471         (TEST_EXCEPTIONS): Likewise.
472         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
473         (TEST_EXCEPTIONS): Likewise.
474         * math/test-math-vector.h (TEST_ERRNO): Likewise.
475         * math/test-double.c: Include "test-math-errno.h".
476         * math/test-float.c: Likewise.
477         * math/test-ldouble.c: Likewise.
478         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
479         code unconditional.
480         (test_exceptions): Only run code if TEST_EXCEPTIONS.
481         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
482         unconditional.
483         (test_errno): Only run code if TEST_ERRNO.
484         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
486 2015-11-04  Florian Weimer  <fweimer@redhat.com>
488         * nptl/tst-once5.cc: Remove attribution.
490 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
492         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
493         sqrt, tan, tanh, y0, y1 and yn.
494         * math/auto-libm-test-out: Regenerated.
495         * math/libm-test.inc (scalb_test_data): Add more tests.
496         (scalbn_test_data): Likewise.
497         (scalbln_test_data): Likewise.
498         (signbit_test_data): Likewise.
499         (sin_test_data): Likewise.
500         (sincos_test_data): Likewise.
501         (sinh_test_data): Likewise.
502         (sqrt_test_data): Likewise.
503         (tan_test_data): Likewise.
504         (tanh_test_data): Likewise.
505         (tgamma_test_data): Likewise.
506         (y0_test_data): Likewise.
507         (y1_test_data): Likewise.
508         (yn_test_data): Likewise.
509         (significand_test_data): Likewise.
510         * sysdeps/i386/fpu/libm-test-ulps: Update.
512 2015-11-03  David Kastrup  <dak@gnu.org>
514         [BZ #18604]
515         * assert/assert.h (assert): Don't macro-expand failed assertion
516         expression in error message.
517         * malloc/malloc.c (assert): Likewise.
519 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
521         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
522         test.
523         * configure: Regenerated.
525 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
527         * math/libm-test.inc (modf_test_data): Add more tests.
528         (nearbyint_test_data): Likewise.
529         (nextafter_test_data): Likewise.
530         (nexttoward_test_data): Likewise.
531         (pow_test_data): Likewise.
532         (remainder_test_data): Likewise.
533         (remquo_test_data): Likewise.
534         (rint_test_data): Likewise.
536         [BZ #19201]
537         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
538         Check for zero remainder in case of large exponents and ensure
539         correct sign of result in that case.
540         * math/libm-test.inc (remainder_test_data): Add more tests.
542         [BZ #6799]
543         * math/s_nextafter.c: Include <errno.h>.
544         (__nextafter): Set errno on overflow and underflow.
545         * math/s_nexttowardf.c: Include <errno.h>.
546         (__nexttowardf): Set errno on overflow and underflow.
547         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
548         (__nextafterl): Set errno on overflow and underflow.
549         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
550         (__nexttoward): Set errno on overflow and underflow.
551         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
552         (__nexttowardf): Set errno on overflow and underflow.
553         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
554         (__nextafterf): Set errno on overflow and underflow.
555         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
556         (__nextafterl): Set errno on overflow and underflow.
557         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
558         (__nexttoward): Set errno on overflow and underflow.
559         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
560         (__nexttowardf): Set errno on overflow and underflow.
561         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
562         (__nextafterl): Set errno on overflow and underflow.
563         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
564         (__nexttoward): Set errno on overflow and underflow.
565         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
566         (__nexttowardf): Set errno on overflow and underflow.
567         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
568         (__nexttoward): Set errno on overflow and underflow.
569         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
570         (__nexttowardf): Set errno on overflow and underflow.
571         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
572         (__nldbl_nexttowardf): Set errno on overflow and underflow.
573         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
574         (__nextafterl): Set errno on overflow and underflow.
575         * math/libm-test.inc (nextafter_test_data): Do not allow errno
576         setting to be missing on overflow.  Add more tests.
577         (nexttoward_test_data): Likewise.
579         * configure.ac (libc_cv_initfini_array): Remove configure test.
580         * configure: Regenerated.
582 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
584         [BZ #19189]
585         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
586         non-finite argument handle arguments with negative sign.
588         * math/libm-test.inc (j0_test_data): Do not test sign of zero
589         result from infinite argument.
590         (j1_test_data): Likewise.
591         (jn_test_data): Likewise.
592         (y0_test_data): Likewise.
593         (y1_test_data): Likewise.
594         (yn_test_data): Likewise.
596         [BZ #16171]
597         * math/w_remainder.c (drem): Define as weak alias of __remainder.
598         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
599         * math/w_remainderf.c (dremf): Define as weak alias of
600         __remainderf.
601         * math/w_remainderl.c (dreml): Define as weak alias of
602         __remainderl.
603         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
604         __remainder.
605         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
606         __remainderf.
607         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
608         __remainderl.
609         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
610         weak alias of remainderl.
611         * sysdeps/ieee754/ldbl-opt/w_remainder.c
612         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
613         alias of __remainder.
614         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
615         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
616         strong alias of __remainderl.
617         (dreml): Use long_double_symbol.
618         * math/Makefile (libm-calls): Remove w_drem.
619         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
620         (CFLAGS-nldbl-drem.c): Remove variable.
621         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
622         * math/w_drem.c: Remove file.
623         * math/w_dremf.c: Likewise.
624         * math/w_dreml.c: Likewise.
625         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
626         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
627         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
629         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
630         * sysdeps/i386/configure: Regenerated.
631         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
632         * sysdeps/x86_64/configure: Regenerated.
634         * configure.ac (libc_cv_asm_protected_directive): Remove configure
635         test.
636         (libc_cv_visibility_attribute): Likewise.
637         (libc_cv_protected_data): Test unconditionally.
638         (libc_cv_broken_visibility_attribute): Remove configure test.
639         (libc_cv_have_sdata_section): Test unconditionally.
640         * configure: Regenerated.
642         * include/libc-internal.h (libc_max_align_t): Remove typedef.
643         * include/scratch_buffer.h: Include <stddef.h> instead of
644         <libc-internal.h>.
645         (struct scratch_buffer): Use max_align_t instead of
646         libc_max_align_t.
648 2015-10-29  Florian Weimer  <fweimer@redhat.com>
650         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
651         instead of extend_alloca.  Change control flow to avoid a goto.
652         Remove assert which is trivially always true.
654 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
656         [BZ #16068]
657         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
658         (FE_ALL_EXCEPT_X86): New macro.
659         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
660         FE_ALL_EXCEPT.  Ensure precision control is included in
661         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
662         handle "denormal operand exception" and clear FZ and DAZ bits.
663         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
664         (FE_ALL_EXCEPT_X86): New macro.
665         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
666         FE_ALL_EXCEPT.  Ensure precision control is included in
667         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
668         handle "denormal operand exception" and clear FZ and DAZ bits.
669         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
670         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
671         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
672         test-fenv-x87 and test-fenv-sse-2.
673         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
675         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
676         * math/test-double.h (BUILD_COMPLEX): New macro.
677         * math/test-float.h (BUILD_COMPLEX): Likewise.
678         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
680         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
681         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
682         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
684         instead of DBL_DENORM_MIN in comment.
685         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
686         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
687         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
688         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
689         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
690         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
692 2015-10-28  Florian Weimer  <fweimer@redhat.com>
694         [BZ# 19048]
695         * malloc/malloc.c (struct malloc_state): Update comment.  Add
696         attached_threads member.
697         (main_arena): Initialize attached_threads.
698         * malloc/arena.c (list_lock): Update comment.
699         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
700         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
701         (deattach_arena): New function.
702         (_int_new_arena): Initialize arena reference count and deattach
703         replaced arena.
704         (get_free_list, reused_arena): Update reference count and deattach
705         replaced arena.
706         (arena_thread_freeres): Update arena reference count and only put
707         unreferenced arenas on the free list.
709 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
711         [BZ #19181]
712         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
713         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
714         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
715         * math/test-fenv-clear-main.c: New file.
716         * math/test-fenv-clear.c: Likewise.
717         * math/Makefile (tests): Add test-fenv-clear.
718         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
719         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
720         test-fenv-clear-sse.
721         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
723         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
724         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
725         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
727 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
729         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
730         static libc.
732 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
734         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
735         test.
736         * sysdeps/i386/configure: Regenerated.
737         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
738         test.
739         * sysdeps/x86_64/configure: Regenerated.
740         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
742         memset-avx2 unconditionally instead of conditionally on
743         [$(config-cflags-avx2) = yes].
744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
745         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
746         unconditional.
747         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
748         * sysdeps/x86_64/multiarch/memset_chk.S
749         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
750         to [IS_IN (libc) && SHARED].
752 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
754         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
755         configure test.
756         * sysdeps/arm/configure: Regenerated.
757         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
758         Define variable if not already defined.
760         [BZ #17404]
761         * sysdeps/mips/atomic-machine.h
762         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
763         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
764         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
766         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
767         unconditional.
768         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
769         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
770         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
771         unconditional.
772         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
773         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
774         unconditional.
775         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
776         * stdlib/setenv.c
777         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
778         code unconditional.
779         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
780         Remove conditional code.
781         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
782         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
783         unconditional.
784         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
785         code.
786         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
787         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
788         unconditional.
789         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
790         code.
791         * sysdeps/ieee754/ldbl-128/k_tanl.c
792         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
793         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
794         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
795         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
796         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
797         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
798         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
799         unconditional.
800         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
801         code.
802         * sysdeps/ieee754/ldbl-96/k_tanl.c
803         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
804         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
806         * nptl/tst-initializers1-c11.c: New file.
807         * nptl/tst-initializers1-gnu11.c: Likewise.
808         * nptl/Makefile (tests): Add these new tests.
809         (CFLAGS-tst-initializers1-c11.c): New variable.
810         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
812         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
813         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
814         instead of -std=gnu99.
815         * configure.ac (systemtap): Test with -std=gnu11 instead of
816         -std=gnu99.
817         * configure: Regenerated.
818         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
819         in compilation command in comment.
821         * sysdeps/nptl/configure.ac: Remove file.
822         * sysdeps/nptl/configure: Remove generated file.
823         * configure.ac (libc_cv_forced_unwind): Do not substitute.
824         * configure: Regenerated.
825         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
826         * config.make.in (have-forced-unwind): Remove variable.
827         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
828         unconditional.
829         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
830         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
831         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
832         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
833         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
834         unconditional.
836 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
838         [BZ #19174]
839         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
840         .skip_lock_out_of_tbegin_retries.
841         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
842         (__lll_lock_elision): Likewise, and respect a value of
843         try_tbegin <= 0.
845 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
847         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
848         statement.
850 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
852         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
853         variable.
854         (test-xfail-ISO11/stdalign.h/conform): Likewise.
855         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
857         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
858         of -std=c1x -D_ISOC11_SOURCE.
860         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
861         * configure: Regenerated.
862         * manual/install.texi (Tools for Compilation): Document
863         requirement for GCC 4.7 or later.
864         * INSTALL: Regenerated.
866 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
868         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
869         on CNT to a conditional jump to 'puntdata'.
871 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
873         * configure.ac (libc_cv_gcc___thread): Remove configure test.
874         (libc_cv_gcc_tls_model_attr): Likewise.
875         * configure: Regenerated.
877         * configure.ac (libc_cv_need_minus_P): Remove configure test.
878         * configure: Regenerated.
879         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
881 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
883         * configure.ac (old_glibc_headers): Remove configure test.
884         * configure: Regenerated.
885         * config.make.in (old-glibc-headers): Remove variable.
886         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
887         (install): Remove dependency on remove-old-headers.
888         (headers2_0): Remove variable.
889         (remove-old-headers): Remove rule.
891         * configure.ac (libc_cv_dot_text): Remove configure test.
892         (libc_cv_asm_set_directive): Use .text instead of
893         ${libc_cv_dot_text} in configure test.
894         * configure: Regenerated.
896 2015-10-26  Florian Weimer  <fweimer@redhat.com>
898         [BZ #19168]
899         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
901 2015-10-26  Florian Weimer  <fweimer@redhat.com>
903         * configure.ac (CXX): Clear the variable if the C++ toolchain does
904         not support static linking.
905         * configure: Regenerate.
907 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
909         * math/libm-test.inc (check_float_internal): Do not special-case
910         errors up to 0.5 ulp.
912         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
913         log2.
914         * math/auto-libm-test-out: Regenerated.
915         * math/libm-test.inc (MAX_EXP): New macro.
916         (ilogb_test_data): Add more tests.
917         (isfinite_test_data): Likewise.
918         (isgreater_test_data): Likewise.
919         (isgreaterequal_test_data): Likewise.
920         (isinf_test_data): Likewise.
921         (isless_test_data): Likewise.
922         (islessequal_test_data): Likewise.
923         (islessgreater_test_data): Likewise.
924         (isnan_test_data): Likewise.
925         (isnormal_test_data): Likewise.
926         (issignaling_test_data): Likewise.
927         (isunordered_test_data): Likewise.
928         (j0_test_data): Likewise.
929         (j1_test_data): Likewise.
930         (jn_test_data): Likewise.
931         (lgamma_test_data): Likewise.
932         (log_test_data): Likewise.
933         (log10_test_data): Likewise.
934         (log1p_test_data): Likewise.
935         (log2_test_data): Likewise.
936         (logb_test_data): Likewise.
937         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
939         [BZ #18611]
940         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
941         avoid excess range and precision on underflow.
942         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
943         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
944         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
945         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
946         underflow.
947         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
948         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
949         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
950         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
951         * math/auto-libm-test-in: Do not allow missing errno setting for
952         tests of j1 and jn.
953         * math/auto-libm-test-out: Regenerated.
955 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
957         [BZ #15491]
958         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
959         floating-point environment instead of clearing all exceptions.
960         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
961         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
962         merging in "invalid" exceptions from frndint.
963         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
964         * math/test-nearbyint-except.c: New file.
965         * math/Makefile (tests): Add test-nearbyint-except.
967 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
969         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
971         * sysdeps/tile/libm-test-ulps: Regenerated.
973 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
976         (__NR_sync_file_range2): Assume it is always defined.
977         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
978         (__NR_sync_file_range): Assume it is always defined.
980 2015-10-22  Andreas Schwab  <schwab@suse.de>
982         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
983         INTERNAL_SYSCALL_ERRNO.
984         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
985         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
986         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
987         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
988         Likewise.
989         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
991 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
993         * io/tst-fcntl.c (fd): New static variable.
994         (do_prepare): Open temporary file here....
995         (do_test): ...not here.
997         * io/ftwtest-sh: Also trap on exit to remove temporary files.
999 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1001         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
1002         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1003         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1004         Moved before "#ifdef __ASSEMBLER__".
1006 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1008         [BZ #19156]
1009         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
1010         arguments very close to 0.
1012 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
1014         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
1015         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
1017 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
1019         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1020         New.  Defined for GCC 5 and above when not compiling for
1021         profiling.
1022         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
1024         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
1025         Renamed to ...
1026         (CFLAGS-epoll_pwait.o): This.
1027         (CFLAGS-mmap.c): Renamed to ...
1028         (CFLAGS-mmap.o): This.
1029         (CFLAGS-mmap64.c): Renamed to ...
1030         (CFLAGS-mmap64.o): This.
1031         (CFLAGS-epoll_pwait.os): New.
1032         (CFLAGS-mmap.os): Likewise.
1033         (CFLAGS-mmap64.os): Likewise.
1034         (CFLAGS-semtimedop.os): Likewise.
1035         (CFLAGS-semtimedop.c): Renamed to ...
1036         (CFLAGS-semtimedop.o): This.
1038 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1040         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
1041         warning message.
1043 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
1045         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
1046         * Makefile ($(objpfx)c++-types-check.out): Filter out
1047         $(+gccwarn-c) instead of -Wstrict-prototypes.
1049         * io/fts.c (fts_open): Convert to prototype-style function
1050         definition.
1051         * malloc/mcheck.c (mcheck): Likewise.
1052         (mcheck_pedantic): Likewise.
1053         * posix/regexec.c (re_search_2_stub): Likewise.  Use
1054         internal_function.
1055         (re_search_internal): Likewise.
1056         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
1057         prototype-style function definition.
1058         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1059         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
1060         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
1061         (xdr_utmpptr): Likewise.
1062         (xdr_utmparr): Likewise.
1063         (xdr_utmpidle): Likewise.
1064         (xdr_utmpidleptr): Likewise.
1065         (xdr_utmpidlearr): Likewise.
1067         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
1068         log, log10 and log2.
1069         * math/auto-libm-test-out: Regenerated.
1070         * math/libm-test.inc (fmod_test_data): Add more tests.
1071         (fpclassify_test_data): Likewise.
1072         (frexp_test_data): Likewise.
1073         (hypot_test_data): Likewise.
1074         (ilogb_test_data): Likewise.
1076 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
1078         * debug/fortify_fail.c (__fortify_fail): Convert to
1079         prototype-style function definition.  Use internal_function.
1080         * libio/genops.c (save_for_backup): Convert to prototype-style
1081         function definition.
1082         * libio/wgenops.c (save_for_wbackup): Likewise.
1083         * login/grantpt.c (grantpt): Likewise.
1084         * login/ptsname.c (ptsname): Likewise.
1085         (__ptsname_r): Likewise.
1086         * login/unlockpt.c (unlockpt): Likewise.
1087         * mach/msgserver.c (__mach_msg_server): Likewise.
1088         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
1089         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
1090         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
1091         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
1092         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
1093         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
1094         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
1095         Likewise.
1096         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
1097         internal_function.
1098         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
1099         prototype-style function definition.
1100         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
1101         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
1102         (__pthread_create_2_0): Likewise.
1103         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1104         * nptl/register-atfork.c (__register_atfork): Likewise.
1105         * posix/glob.c (glob): Likewise.
1106         * posix/regcomp.c (re_comp): Likewise.
1107         * posix/regexec.c (re_exec): Likewise.
1108         * stdlib/add_n.c [__STDC__]: Make code unconditional.
1109         [!__STDC__]: Remove conditional code.
1110         * stdlib/cmp.c [__STDC__]: Make code unconditional.
1111         [!__STDC__]: Remove conditional code.
1112         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
1113         [!__STDC__]: Remove conditional code.
1114         * stdlib/divrem.c [__STDC__]: Make code unconditional.
1115         [!__STDC__]: Remove conditional code.
1116         * stdlib/lshift.c [__STDC__]: Make code unconditional.
1117         [!__STDC__]: Remove conditional code.
1118         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
1119         [!__STDC__]: Remove conditional code.
1120         * stdlib/mul.c [__STDC__]: Make code unconditional.
1121         [!__STDC__]: Remove conditional code.
1122         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
1123         [!__STDC__]: Remove conditional code.
1124         * stdlib/rshift.c [__STDC__]: Make code unconditional.
1125         [!__STDC__]: Remove conditional code.
1126         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
1127         function definition.
1128         (STRTOF): Likewise.
1129         * stdlib/strtod_l.c (__STRTOF): Likewise.
1130         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
1131         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
1132         (__strtol_l): Likewise.
1133         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
1134         [!__STDC__]: Remove conditional code.
1135         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
1136         definition.
1137         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1138         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1139         type.
1140         (__strcasecmp): Convert to prototype-style function definition.
1141         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
1142         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1143         type.
1144         (__strncasecmp): Convert to prototype-style function definition.
1145         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
1146         * sunrpc/xdr.c (xdr_union): Likewise.
1147         * sunrpc/xdr_array.c (xdr_array): Likewise.
1148         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
1149         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
1150         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
1151         Likewise.
1152         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
1153         Likewise.
1154         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
1155         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
1156         Likewise.
1157         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
1158         (LOCALE_PARAM_PROTO): Likewise.
1159         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
1160         argument type.
1161         (ut_argument_spec): Remove macro.
1162         (ut_argument_spec_iso): Rename to ut_argument_spec.
1163         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
1164         prototype-style function definition.
1165         (memcpy_uppcase): Likewise.
1166         (__strftime_internal): Likewise.
1167         (my_strftime): Likewise.
1168         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
1169         (LOCALE_PARAM_DECL): Likewise.
1170         [_LIBC] (LOCALE_PARAM): Include argument type.
1171         (__strptime_internal): Convert to prototype-style function
1172         definition.
1173         (strptime): Likewise.
1174         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
1175         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1176         type.
1177         (__wcscasecmp): Convert to prototype-style function definition.
1178         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
1179         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
1180         type.
1181         (__wcsncasecmp): Convert to prototype-style function definition.
1183         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
1184         function definition.
1185         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1186         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1187         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
1188         * elf/dl-minimal.c (_itoa): Likewise.
1189         * hurd/hurdmalloc.c (malloc): Likewise.
1190         (free): Likewise.
1191         (realloc): Likewise.
1192         * inet/inet6_option.c (inet6_option_space): Likewise.
1193         (inet6_option_init): Likewise.
1194         (inet6_option_append): Likewise.
1195         (inet6_option_alloc): Likewise.
1196         (inet6_option_next): Likewise.
1197         (inet6_option_find): Likewise.
1198         * io/ftw.c (FTW_NAME): Likewise.
1199         (NFTW_NAME): Likewise.
1200         (NFTW_NEW_NAME): Likewise.
1201         (NFTW_OLD_NAME): Likewise.
1202         * libio/iofwide.c (_IO_fwide): Likewise.
1203         * libio/strops.c (_IO_str_init_static_internal): Likewise.
1204         (_IO_str_init_static): Likewise.
1205         (_IO_str_init_readonly): Likewise.
1206         (_IO_str_overflow): Likewise.
1207         (_IO_str_underflow): Likewise.
1208         (_IO_str_count): Likewise.
1209         (_IO_str_seekoff): Likewise.
1210         (_IO_str_pbackfail): Likewise.
1211         (_IO_str_finish): Likewise.
1212         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
1213         (_IO_wstr_overflow): Likewise.
1214         (_IO_wstr_underflow): Likewise.
1215         (_IO_wstr_count): Likewise.
1216         (_IO_wstr_seekoff): Likewise.
1217         (_IO_wstr_pbackfail): Likewise.
1218         (_IO_wstr_finish): Likewise.
1219         * locale/programs/localedef.c (normalize_codeset): Likewise.
1220         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
1221         (add_locales_to_archive): Likewise.
1222         (delete_locales_from_archive): Likewise.
1223         * malloc/malloc.c (__libc_mallinfo): Likewise.
1224         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
1225         * misc/tsearch.c (__tfind): Likewise.
1226         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
1227         * nptl/pthread_attr_getdetachstate.c
1228         (__pthread_attr_getdetachstate): Likewise.
1229         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
1230         Likewise.
1231         * nptl/pthread_attr_getinheritsched.c
1232         (__pthread_attr_getinheritsched): Likewise.
1233         * nptl/pthread_attr_getschedparam.c
1234         (__pthread_attr_getschedparam): Likewise.
1235         * nptl/pthread_attr_getschedpolicy.c
1236         (__pthread_attr_getschedpolicy): Likewise.
1237         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
1238         Likewise.
1239         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
1240         Likewise.
1241         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
1242         Likewise.
1243         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
1244         Likewise.
1245         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
1246         (__pthread_attr_init_2_0): Likewise.
1247         * nptl/pthread_attr_setdetachstate.c
1248         (__pthread_attr_setdetachstate): Likewise.
1249         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
1250         Likewise.
1251         * nptl/pthread_attr_setinheritsched.c
1252         (__pthread_attr_setinheritsched): Likewise.
1253         * nptl/pthread_attr_setschedparam.c
1254         (__pthread_attr_setschedparam): Likewise.
1255         * nptl/pthread_attr_setschedpolicy.c
1256         (__pthread_attr_setschedpolicy): Likewise.
1257         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
1258         Likewise.
1259         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
1260         Likewise.
1261         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
1262         Likewise.
1263         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
1264         Likewise.
1265         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
1266         Likewise.
1267         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
1268         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
1269         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
1270         use internal_function.
1271         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
1272         prototype-style function definition.
1273         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1274         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
1275         internal_function.
1276         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
1277         Convert to prototype-style function definition.
1278         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
1279         Likewise.
1280         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
1281         Likewise.
1282         (__pthread_mutex_unlock): Likewise.
1283         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
1284         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
1285         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
1286         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
1287         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
1288         * nss/makedb.c (process_input): Likewise.
1289         * posix/fnmatch.c (__strchrnul): Likewise.
1290         (__wcschrnul): Likewise.
1291         (fnmatch): Likewise.
1292         * posix/fnmatch_loop.c (FCT): Likewise.
1293         * posix/glob.c (globfree): Likewise.
1294         (__glob_pattern_type): Likewise.
1295         (__glob_pattern_p): Likewise.
1296         * posix/regcomp.c (re_compile_pattern): Likewise.
1297         (re_set_syntax): Likewise.
1298         (re_compile_fastmap): Likewise.
1299         (regcomp): Likewise.
1300         (regerror): Likewise.
1301         (regfree): Likewise.
1302         * posix/regexec.c (regexec): Likewise.
1303         (re_match): Likewise.
1304         (re_search): Likewise.
1305         (re_match_2): Likewise.
1306         (re_search_2): Likewise.
1307         (re_search_stub): Likewise.  Use internal_function
1308         (re_copy_regs): Likewise.
1309         (re_set_registers): Convert to prototype-style function
1310         definition.
1311         (prune_impossible_nodes): Likewise.  Use internal_function.
1312         * resolv/inet_net_pton.c (inet_net_pton): Convert to
1313         prototype-style function definition.
1314         (inet_net_pton_ipv4): Likewise.
1315         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1316         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
1317         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
1318         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
1319         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1320         Make variadic.
1321         * time/strptime_l.c (localtime_r): Convert to prototype-style
1322         function definition.
1323         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1324         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1325         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1326         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1328         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
1329         definition.
1330         (_ufc_doit_r): Likewise.
1331         * crypt/crypt_util.c (_ufc_copymem): Likewise.
1332         (_ufc_output_conversion_r): Likewise.
1333         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
1334         * inet/rcmd.c (rcmd_af): Likewise.
1335         (rcmd): Likewise.
1336         (ruserok_af): Likewise.
1337         (ruserok): Likewise.
1338         (ruserok2_sa): Likewise.
1339         (ruserok_sa): Likewise.
1340         (iruserok_af): Likewise.
1341         (iruserok): Likewise.
1342         (__ivaliduser): Likewise.
1343         (__validuser2_sa): Likewise.
1344         * inet/rexec.c (rexec_af): Likewise.
1345         (rexec): Likewise.
1346         * inet/ruserpass.c (ruserpass): Likewise.
1347         * locale/programs/xmalloc.c (xcalloc): Likewise.
1348         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
1349         * math/w_drem.c (__drem): Likewise.
1350         * math/w_dremf.c (__dremf): Likewise.
1351         * math/w_dreml.c (__dreml): Likewise.
1352         * misc/daemon.c (daemon): Likewise.
1353         * resolv/res_debug.c (p_fqnname): Likewise.
1354         * stdlib/div.c (div): Likewise.
1355         * string/memcmp.c (memcmp_bytes): Likewise.
1356         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
1357         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
1359         * crypt/cert.c (main): Convert to prototype-style function
1360         definition.
1361         * io/pipe.c (__pipe): Likewise.
1362         * io/pipe2.c (__pipe2): Likewise.
1363         * misc/futimesat.c (futimesat): Likewise.
1364         * misc/utimes.c (__utimes): Likewise.
1365         * posix/execve.c (__execve): Likewise.
1366         * posix/execvp.c (execvp): Likewise.
1367         * posix/execvpe.c (__execvpe): Likewise.
1368         * posix/fexecve.c (fexecve): Likewise.
1369         * socket/socketpair.c (socketpair): Likewise.
1370         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1371         * stdlib/erand48.c (erand48): Likewise.
1372         * stdlib/erand48_r.c (__erand48_r): Likewise.
1373         * stdlib/jrand48.c (jrand48): Likewise.
1374         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
1375         * stdlib/lcong48.c (lcong48): Likewise.
1376         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
1377         * stdlib/nrand48.c (nrand48): Likewise.
1378         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
1379         * stdlib/seed48.c (seed48): Likewise.
1380         * stdlib/seed48_r.c (__seed48_r): Likewise.
1381         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
1382         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
1383         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
1385 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1387         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
1388         * configure: Regenerated.
1389         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
1390         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
1391         unconditional.
1392         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1393         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1394         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1395         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
1396         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
1397         unconditional.
1398         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
1400         * posix/Makefile (CFLAGS-regex.c): Remove variable.
1401         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
1403         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
1404         function definition.
1405         * crypt/crypt_util.c (__encrypt_r): Likewise.
1406         * libio/genops.c (_IO_no_init): Likewise.
1407         * libio/iofopncook.c (_IO_fopencookie): Likewise.
1408         (_IO_old_fopencookie): Likewise.
1409         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1410         * libio/iogetline.c (_IO_getline): Likewise.
1411         (_IO_getline_info): Likewise.
1412         * libio/iogetwline.c (_IO_getwline): Likewise.
1413         (_IO_getwline_info): Likewise.
1414         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
1415         * libio/vswprintf.c (_IO_vswprintf): Likewise.
1416         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
1417         (find_entry): Likewise.
1418         (iterate_table): Likewise.
1419         (lookup): Likewise.
1420         * login/forkpty.c (forkpty): Likewise.
1421         * misc/hsearch_r.c (__hsearch_r): Likewise.
1422         * misc/select.c (__select): Likewise.
1423         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
1424         Likewise.
1425         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
1426         Likewise.
1427         * nptl/old_pthread_cond_timedwait.c
1428         (__pthread_cond_timedwait_2_0): Likewise.
1429         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
1430         * nptl/pthread_barrierattr_getpshared.c
1431         (pthread_barrierattr_getpshared): Likewise.
1432         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
1433         Likewise.
1434         * nptl/pthread_mutex_setprioceiling.c
1435         (pthread_mutex_setprioceiling): Likewise.
1436         * nptl/pthread_mutexattr_getprioceiling.c
1437         (pthread_mutexattr_getprioceiling): Likewise.
1438         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
1439         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1440         Likewise.
1441         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1442         Likewise.
1443         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
1444         Likewise.
1445         * socket/recvfrom.c (__recvfrom): Likewise.
1446         * socket/sendto.c (__sendto): Likewise.
1447         * socket/setsockopt.c (__setsockopt): Likewise.
1448         * stdio-common/_itoa.c (_itoa): Likewise.
1449         * stdio-common/_itowa.c (_itowa): Likewise.
1450         * stdio-common/reg-printf.c (__register_printf_specifier):
1451         Likewise.
1452         (__register_printf_function): Likewise.
1453         * stdio-common/tempname.c (__path_search): Likewise.
1454         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
1455         * stdlib/mul_1.c (mpn_mul_1): Likewise.
1456         * stdlib/random_r.c (__initstate_r): Likewise.
1457         * stdlib/setenv.c (__add_to_environ): Likewise.
1458         * stdlib/submul_1.c (mpn_submul_1): Likewise.
1459         * streams/getpmsg.c (getpmsg): Likewise.
1460         * streams/putmsg.c (putmsg): Likewise.
1461         * streams/putpmsg.c (putpmsg): Likewise.
1462         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
1463         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
1464         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
1465         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
1466         * sunrpc/pm_getport.c (pmap_getport): Likewise.
1467         * sunrpc/svc_udp.c (cache_get): Likewise.
1468         * sunrpc/xdr_array.c (xdr_vector): Likewise.
1469         * sysdeps/mach/hurd/getcwd.c
1470         (__canonicalize_directory_name_internal): Likewise.
1471         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
1472         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
1473         * sysdeps/mach/hurd/select.c (__select): Likewise.
1474         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
1475         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
1476         * sysdeps/sparc/nptl/pthread_barrier_init.c
1477         (__pthread_barrier_init): Likewise.
1478         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
1479         (__pthread_cond_timedwait): Likewise.
1480         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
1481         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
1482         Likewise.
1483         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
1484         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
1485         Likewise.
1486         * sysvipc/semtimedop.c (semtimedop): Likewise.
1487         * time/setitimer.c (__setitimer): Likewise.
1488         * time/strftime_l.c (emacs_strftime): Likewise.
1490 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1492         * config.make.in (have-ssp): Delete.
1493         (stack-protector): New variable.
1494         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
1495         cache test for -fstack-protector-strong.  Export stack_protector to
1496         the best ssp flag.
1497         * configure: Regenerated.
1498         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
1499         * nscd/Makefile (CFLAGS-nscd): Likewise.
1500         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1502 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
1504         [BZ #19122]
1505         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
1506         attribute_hidden.
1508 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1510         [BZ #18743]
1511         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
1512         code to...
1513         (ELIDE_LOCK): ...here.
1514         (__get_new_count): New function with part of the code from
1515         __elide_lock that updates the value of adapt_count after a
1516         transaction abort.
1517         (__elided_trylock): Moved this code to...
1518         (ELIDE_TRYLOCK): ...here.
1520 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
1522         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
1523         * configure: Regenerate.
1524         * INSTALL: Regenerate.
1525         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
1526         and tweak grammar.
1528 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
1530         * login/programs/pt_chown.c: Include signal.h
1531         (main): Clear any signal mask from the parent process.
1533 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
1535         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
1536         * configure: Regenerated.
1537         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
1538         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
1539         $(gnu89-inline-CFLAGS).
1541         * configure.ac (libc_cv_asm_weak_directive): Remove configure
1542         test.
1543         (libc_cv_asm_weakext_directive): Likewise.
1544         * configure: Regenerated.
1545         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
1546         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
1547         * include/libc-symbols.h
1548         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
1549         #error.
1550         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
1551         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
1553         * sysdeps/arm/backtrace.c (__backtrace): Convert to
1554         prototype-style function definition.
1555         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1556         * sysdeps/i386/ffs.c (__ffs): Likewise.
1557         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1558         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
1559         Likewise.
1560         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1561         Likewise.
1562         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1563         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1564         Likewise.
1565         * sysdeps/m68k/ffs.c (__ffs): Likewise.
1566         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
1567         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
1568         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
1569         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
1570         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
1571         * sysdeps/mach/hurd/access.c (__access): Likewise.
1572         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
1573         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
1574         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
1575         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
1576         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
1577         (cthread_getspecific): Likewise.
1578         (cthread_setspecific): Likewise.
1579         (__libc_getspecific): Likewise.
1580         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
1581         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
1582         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
1583         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
1584         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
1585         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
1586         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
1587         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
1588         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
1589         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
1590         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
1591         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
1592         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
1593         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
1594         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
1595         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
1596         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
1597         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
1598         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
1599         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
1600         * sysdeps/mach/hurd/link.c (__link): Likewise.
1601         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
1602         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
1603         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
1604         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
1605         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1606         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
1607         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
1608         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
1609         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1610         * sysdeps/mach/hurd/rename.c (rename): Likewise.
1611         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
1612         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
1613         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
1614         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
1615         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
1616         * sysdeps/mach/hurd/send.c (__send): Likewise.
1617         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
1618         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
1619         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
1620         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
1621         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
1622         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
1623         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
1624         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
1625         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
1626         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
1627         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
1628         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
1629         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
1630         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
1631         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
1632         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
1633         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
1634         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
1635         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
1636         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1637         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
1638         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
1639         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
1640         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
1641         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
1642         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
1643         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
1644         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
1645         * sysdeps/posix/alarm.c (alarm): Likewise.
1646         * sysdeps/posix/cuserid.c (cuserid): Likewise.
1647         * sysdeps/posix/dirfd.c (dirfd): Likewise.
1648         * sysdeps/posix/dup.c (__dup): Likewise.
1649         * sysdeps/posix/dup2.c (__dup2): Likewise.
1650         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
1651         (main): Likewise.
1652         * sysdeps/posix/flock.c (__flock): Likewise.
1653         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
1654         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
1655         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
1656         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
1657         * sysdeps/posix/isatty.c (__isatty): Likewise.
1658         * sysdeps/posix/killpg.c (killpg): Likewise.
1659         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1660         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
1661         * sysdeps/posix/raise.c (raise): Likewise.
1662         * sysdeps/posix/remove.c (remove): Likewise.
1663         * sysdeps/posix/rename.c (rename): Likewise.
1664         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
1665         * sysdeps/posix/seekdir.c (seekdir): Likewise.
1666         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
1667         * sysdeps/posix/sigignore.c (sigignore): Likewise.
1668         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
1669         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
1670         * sysdeps/posix/sigset.c (sigset): Likewise.
1671         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
1672         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1673         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
1674         * sysdeps/posix/time.c (time): Likewise.
1675         * sysdeps/posix/ttyname.c (getttyname): Likewise.
1676         (ttyname): Likewise.
1677         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
1678         * sysdeps/posix/utime.c (utime): Likewise.
1679         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
1680         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1681         Likewise.
1682         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
1683         (pthread_spin_trylock): Likewise.
1684         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
1685         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
1686         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
1687         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
1688         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
1689         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
1690         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
1691         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
1692         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
1693         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
1694         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
1695         * sysdeps/s390/ffs.c (__ffs): Likewise.
1696         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
1697         Likewise.
1698         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1699         Likewise.
1700         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
1701         Likewise.
1702         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
1703         (pthread_barrier_destroy): Likewise.
1704         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1705         (__pthread_barrier_wait): Likewise.
1706         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
1707         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1708         (__pthread_barrier_wait): Likewise.
1709         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
1710         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
1711         (memcmp_not_common_alignment): Likewise.
1712         (MEMCMP): Likewise.
1713         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
1714         (_wordcopy_fwd_dest_aligned): Likewise.
1715         (_wordcopy_bwd_aligned): Likewise.
1716         (_wordcopy_bwd_dest_aligned): Likewise.
1717         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
1718         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
1719         * sysdeps/unix/bsd/stty.c (stty): Likewise.
1720         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
1721         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
1722         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
1723         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
1724         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
1725         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
1726         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
1727         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
1728         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1729         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
1730         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
1731         * sysdeps/unix/stime.c (stime): Likewise.
1732         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
1733         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
1734         Likewise.  Use internal_function.
1735         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
1736         Convert to prototype-style function definition.
1737         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1738         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1739         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
1740         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1741         Likewise.  Use internal_function.
1742         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
1743         prototype-style function definition
1744         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
1745         Likewise.
1746         (__getlogin_r): Likewise.
1747         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
1748         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
1749         (__pthread_cond_broadcast): Likewise.
1750         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
1751         (__pthread_cond_destroy): Likewise.
1752         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
1753         (__pthread_cond_init): Likewise.
1754         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
1755         (__pthread_cond_signal): Likewise.
1756         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1757         (__pthread_cond_wait): Likewise.
1758         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
1759         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
1760         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
1761         Likewise.
1762         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
1763         Likewise.
1764         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
1765         Likewise.
1766         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
1767         Likewise.
1768         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
1769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
1770         (__ftruncate64): Likewise.
1771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
1772         (truncate64): Likewise.
1773         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
1774         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
1775         (pthread_getcpuclockid): Likewise.
1776         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
1777         Likewise.
1778         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
1779         Likewise.
1780         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
1781         Likewise.
1782         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
1783         Likewise.
1784         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
1785         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
1786         (__libc_sigaction): Likewise.
1787         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
1788         Likewise.
1789         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
1790         (__sigprocmask): Likewise.
1791         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
1792         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
1793         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
1794         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
1795         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1796         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
1797         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1798         Likewise.
1799         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
1800         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
1801         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1802         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
1803         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
1804         Likewise.
1805         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
1806         (__sigprocmask): Likewise.
1807         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
1808         (cfgetispeed): Likewise.
1809         (cfsetospeed): Likewise.
1810         (cfsetispeed): Likewise.
1811         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
1812         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
1813         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1814         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1815         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
1816         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
1817         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
1818         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
1819         Likewise.
1820         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
1821         Likewise.
1822         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
1823         Likewise.
1824         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
1825         Likewise.
1826         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1828 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1830         sunrpc: Rewrite with explicit TLS access using __thread.
1831         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
1832         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
1833         directly.
1834         (__rpc_thread_variables): Access thread_rpc_vars directly.
1835         Eliminate redundant assignment of the tvp variable.
1837 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1839         malloc: Rewrite with explicit TLS access using __thread.
1840         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
1841         (tsd_setspecific, tsd_getspecific): Remove.
1842         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
1843         (tsd_setspecific, tsd_getspecific): Likewise.
1844         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
1845         (tsd_setspecific, tsd_getspecific): Likewise.
1846         * malloc/arena.c (thread_arena): New TLS variable.
1847         (arena_key): Remove variable.
1848         (arena_get): Use thread_arena.
1849         (arena_lookup): Remove macro.
1850         (malloc_atfork, free_atfork, ptmalloc_lock_all)
1851         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
1852         (_int_new_arena, get_free_list, reused_arena)
1853         (arena_thread_freeres): Use thread_arena.
1854         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
1855         tsd_getspecific, tsd_setspecific from safety annotations.
1856         (Allocating Cleared Space): Remove arena_lookup from safety
1857         annotations.
1859 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1861         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
1862         struct scratch_buffer instead of extend_alloca.
1864 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1866         * sysdeps/unix/sysv/linux/kernel-features.h
1867         (__ASSUME_SOCK_CLOEXEC): Remove.
1868         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
1869         (__have_paccept): Remove unused macro.
1870         * include/unistd.h (__have_sock_cloexec): Remove declaration.
1871         * misc/syslog.c (openlog_internal): Remove fallback code for
1872         !__ASSUME_SOCK_CLOEXEC.
1873         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
1874         missing SOCK_CLOEXEC.
1875         * nscd/connections.c (have_sock_cloexec): Remove definition.
1876         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1877         * nscd/nscd_helper.c (open_socket): Remove fallback code for
1878         !__ASSUME_SOCK_CLOEXEC.
1879         * resolv/res_send.c (__have_o_nonblock): Remove definition.
1880         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
1881         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
1882         definition.
1883         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
1884         code for !__ASSUME_SOCK_CLOEXEC.
1886 2015-10-17  Florian Weimer  <fweimer@redhat.com>
1888         [BZ #18982]
1889         * manual/stdio.texi (Variable Arguments Output): Add portability
1890         note, explaining that vfprintf clobbers the va_list pointer.
1892 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1894         * math/libm-test.inc (fabs_test_data): Add more tests.
1895         (fdim_test_data): Likewise.
1896         (fma_test_data): Likewise.
1897         (fmax_test_data): Likewise.
1898         (fmin_test_data): Likewise.
1899         (fmod_test_data): Likewise.
1901 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
1903         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
1904         data.
1906 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
1908         * math/libm-test.inc (ceil_test_data): Add more tests and more
1909         expectations for "inexact".
1910         (floor_test_data): Add more tests.
1911         (round_test_data): Likewise.
1912         (trunc_test_data): Likewise.
1914         * crypt/cert.c (good_bye): Convert to prototype-style function
1915         definition.
1916         (get8): Likewise.
1917         (put8): Likewise.
1918         * crypt/crypt-entry.c (crypt): Likewise.
1919         (__fcrypt): Likewise.
1920         * crypt/crypt_util.c (_ufc_prbits): Likewise.
1921         (_ufc_set_bits): Likewise.
1922         (_ufc_clearmem): Likewise.
1923         (__init_des_r): Likewise.
1924         (shuffle_sb): Likewise.
1925         (shuffle_sb): Likewise.
1926         (_ufc_setup_salt_r): Likewise.
1927         (_ufc_mk_keytab_r): Likewise.
1928         (_ufc_dofinalperm_r): Likewise.
1929         (encrypt): Likewise.
1930         (__setkey_r): Likewise.
1931         (setkey): Likewise.
1932         * crypt/md5.c (md5_init_ctx): Likewise.
1933         (md5_read_ctx): Likewise.
1934         (md5_finish_ctx): Likewise.
1935         (md5_stream): Likewise.
1936         (md5_buffer): Likewise.
1937         (md5_process_bytes): Likewise.
1938         * crypt/sha256.c (__sha256_init_ctx): Likewise.
1939         (__sha256_finish_ctx): Likewise.
1940         (__sha256_process_bytes): Likewise.
1941         * crypt/sha512.c (__sha512_init_ctx): Likewise.
1942         (__sha512_finish_ctx): Likewise.
1943         (__sha512_process_bytes): Likewise.
1944         * ctype/isctype.c (__isctype): Likewise.
1945         * debug/backtrace.c (__backtrace): Likewise.
1946         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
1947         * debug/fgets_chk.c (__fgets_chk): Likewise.
1948         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
1949         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
1950         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1951         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1952         * debug/memset_chk.c (__memset_chk): Likewise.
1953         * debug/strcat_chk.c (__strcat_chk): Likewise.
1954         * debug/strncat_chk.c (__strncat_chk): Likewise.
1955         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
1956         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
1957         * dirent/dirfd.c (dirfd): Likewise.
1958         * dirent/getdents.c (__getdirentries): Likewise.
1959         * dirent/getdents64.c (getdirentries64): Likewise.
1960         * dirent/rewinddir.c (__rewinddir): Likewise.
1961         * dirent/seekdir.c (seekdir): Likewise.
1962         * dirent/telldir.c (telldir): Likewise.
1963         * elf/sln.c (makesymlinks): Likewise.
1964         (makesymlink): Likewise.
1965         * gmon/gmon.c (__moncontrol): Likewise.
1966         (__monstartup): Likewise.
1967         (write_hist): Likewise.
1968         (write_call_graph): Likewise.
1969         (write_bb_counts): Likewise.
1970         * grp/setgroups.c (setgroups): Likewise.
1971         * inet/inet_lnaof.c (inet_lnaof): Likewise.
1972         * inet/inet_net.c (inet_network): Likewise.
1973         * inet/inet_netof.c (inet_netof): Likewise.
1974         * inet/rcmd.c (rresvport_af): Likewise.
1975         (rresvport): Likewise.
1976         * io/access.c (__access): Likewise.
1977         * io/chdir.c (__chdir): Likewise.
1978         * io/chmod.c (__chmod): Likewise.
1979         * io/chown.c (__chown): Likewise.
1980         * io/close.c (__close): Likewise.
1981         * io/creat.c (creat): Likewise.
1982         * io/creat64.c (creat64): Likewise.
1983         * io/dup.c (__dup): Likewise.
1984         * io/dup2.c (__dup2): Likewise.
1985         * io/dup3.c (__dup3): Likewise.
1986         * io/euidaccess.c (__euidaccess): Likewise.
1987         * io/faccessat.c (faccessat): Likewise.
1988         * io/fchmod.c (__fchmod): Likewise.
1989         * io/fchmodat.c (fchmodat): Likewise.
1990         * io/fchown.c (__fchown): Likewise.
1991         * io/fchownat.c (fchownat): Likewise.
1992         * io/fcntl.c (__fcntl): Likewise.
1993         * io/flock.c (__flock): Likewise.
1994         * io/fts.c (fts_load): Likewise.
1995         (fts_close): Likewise.
1996         (fts_read): Likewise.
1997         (fts_set): Likewise.
1998         (fts_children): Likewise.
1999         (fts_build): Likewise.
2000         (fts_stat): Likewise.
2001         (fts_sort): Likewise.
2002         (fts_alloc): Likewise.
2003         (fts_lfree): Likewise.
2004         (fts_palloc): Likewise.
2005         (fts_padjust): Likewise.
2006         (fts_maxarglen): Likewise.
2007         (fts_safe_changedir): Likewise.
2008         * io/getwd.c (getwd): Likewise.
2009         * io/isatty.c (__isatty): Likewise.
2010         * io/lchown.c (__lchown): Likewise.
2011         * io/link.c (__link): Likewise.
2012         * io/linkat.c (linkat): Likewise.
2013         * io/lseek.c (__libc_lseek): Likewise.
2014         * io/mkdir.c (__mkdir): Likewise.
2015         * io/mkdirat.c (mkdirat): Likewise.
2016         * io/mkfifo.c (mkfifo): Likewise.
2017         * io/mkfifoat.c (mkfifoat): Likewise.
2018         * io/open.c (__libc_open): Likewise.
2019         * io/open64.c (__libc_open64): Likewise.
2020         * io/readlink.c (__readlink): Likewise.
2021         * io/readlinkat.c (readlinkat): Likewise.
2022         * io/rmdir.c (__rmdir): Likewise.
2023         * io/symlink.c (__symlink): Likewise.
2024         * io/symlinkat.c (symlinkat): Likewise.
2025         * io/ttyname.c (ttyname): Likewise.
2026         * io/ttyname_r.c (__ttyname_r): Likewise.
2027         * io/umask.c (__umask): Likewise.
2028         * io/unlink.c (__unlink): Likewise.
2029         * io/unlinkat.c (unlinkat): Likewise.
2030         * io/utime.c (utime): Likewise.
2031         * libio/clearerr.c (clearerr): Likewise.
2032         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
2033         * libio/feof.c (_IO_feof): Likewise.
2034         * libio/feof_u.c (feof_unlocked): Likewise.
2035         * libio/ferror.c (_IO_ferror): Likewise.
2036         * libio/ferror_u.c (ferror_unlocked): Likewise.
2037         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2038         * libio/fileno.c (__fileno): Likewise.
2039         * libio/fputc.c (fputc): Likewise.
2040         * libio/fputc_u.c (fputc_unlocked): Likewise.
2041         * libio/fputwc.c (fputwc): Likewise.
2042         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
2043         * libio/freopen.c (freopen): Likewise.
2044         * libio/freopen64.c (freopen64): Likewise.
2045         * libio/fseek.c (fseek): Likewise.
2046         * libio/fseeko.c (fseeko): Likewise.
2047         * libio/fseeko64.c (fseeko64): Likewise.
2048         * libio/ftello.c (__ftello): Likewise.
2049         * libio/ftello64.c (ftello64): Likewise.
2050         * libio/fwide.c (fwide): Likewise.
2051         * libio/genops.c (_IO_un_link): Likewise.
2052         (_IO_link_in): Likewise.
2053         (_IO_least_marker): Likewise.
2054         (_IO_switch_to_main_get_area): Likewise.
2055         (_IO_switch_to_backup_area): Likewise.
2056         (_IO_switch_to_get_mode): Likewise.
2057         (_IO_free_backup_area): Likewise.
2058         (_IO_switch_to_put_mode): Likewise.
2059         (__overflow): Likewise.
2060         (__underflow): Likewise.
2061         (__uflow): Likewise.
2062         (_IO_setb): Likewise.
2063         (_IO_doallocbuf): Likewise.
2064         (_IO_default_underflow): Likewise.
2065         (_IO_default_uflow): Likewise.
2066         (_IO_default_xsputn): Likewise.
2067         (_IO_sgetn): Likewise.
2068         (_IO_default_xsgetn): Likewise.
2069         (_IO_sync): Likewise.
2070         (_IO_default_setbuf): Likewise.
2071         (_IO_default_seekpos): Likewise.
2072         (_IO_default_doallocate): Likewise.
2073         (_IO_init): Likewise.
2074         (_IO_old_init): Likewise.
2075         (_IO_default_sync): Likewise.
2076         (_IO_default_finish): Likewise.
2077         (_IO_default_seekoff): Likewise.
2078         (_IO_sputbackc): Likewise.
2079         (_IO_sungetc): Likewise.
2080         (_IO_set_column): Likewise.
2081         (_IO_set_column): Likewise.
2082         (_IO_adjust_column): Likewise.
2083         (_IO_get_column): Likewise.
2084         (_IO_init_marker): Likewise.
2085         (_IO_remove_marker): Likewise.
2086         (_IO_marker_difference): Likewise.
2087         (_IO_marker_delta): Likewise.
2088         (_IO_seekmark): Likewise.
2089         (_IO_unsave_markers): Likewise.
2090         (_IO_nobackup_pbackfail): Likewise.
2091         (_IO_default_pbackfail): Likewise.
2092         (_IO_default_seek): Likewise.
2093         (_IO_default_stat): Likewise.
2094         (_IO_default_read): Likewise.
2095         (_IO_default_write): Likewise.
2096         (_IO_default_showmanyc): Likewise.
2097         (_IO_default_imbue): Likewise.
2098         (_IO_iter_next): Likewise.
2099         (_IO_iter_file): Likewise.
2100         * libio/getc.c (_IO_getc): Likewise.
2101         * libio/getwc.c (_IO_getwc): Likewise.
2102         * libio/iofclose.c (_IO_new_fclose): Likewise.
2103         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
2104         * libio/iofflush.c (_IO_fflush): Likewise.
2105         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
2106         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
2107         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
2108         * libio/iofgets.c (_IO_fgets): Likewise.
2109         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
2110         * libio/iofgetws.c (fgetws): Likewise.
2111         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2112         * libio/iofopen64.c (_IO_fopen64): Likewise.
2113         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2114         (_IO_cookie_write): Likewise.
2115         (_IO_cookie_seek): Likewise.
2116         (_IO_cookie_close): Likewise.
2117         (_IO_cookie_seekoff): Likewise.
2118         (_IO_old_cookie_seek): Likewise.
2119         * libio/iofputs.c (_IO_fputs): Likewise.
2120         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
2121         * libio/iofputws.c (fputws): Likewise.
2122         * libio/iofputws_u.c (fputws_unlocked): Likewise.
2123         * libio/iofread.c (_IO_fread): Likewise.
2124         * libio/iofread_u.c (__fread_unlocked): Likewise.
2125         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
2126         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
2127         * libio/ioftell.c (_IO_ftell): Likewise.
2128         * libio/iofwrite.c (_IO_fwrite): Likewise.
2129         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2130         * libio/iogets.c (_IO_gets): Likewise.
2131         * libio/iopadn.c (_IO_padn): Likewise.
2132         * libio/iopopen.c (_IO_new_proc_open): Likewise.
2133         (_IO_new_popen): Likewise.
2134         (_IO_new_proc_close): Likewise.
2135         * libio/ioputs.c (_IO_puts): Likewise.
2136         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
2137         (_IO_seekoff): Likewise.
2138         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
2139         (_IO_seekpos): Likewise.
2140         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
2141         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
2142         * libio/ioungetc.c (_IO_ungetc): Likewise.
2143         * libio/ioungetwc.c (ungetwc): Likewise.
2144         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
2145         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
2146         * libio/iowpadn.c (_IO_wpadn): Likewise.
2147         * libio/libc_fatal.c (__libc_fatal): Likewise.
2148         * libio/memstream.c (__open_memstream): Likewise.
2149         (_IO_mem_sync): Likewise.
2150         (_IO_mem_finish): Likewise.
2151         * libio/oldfileops.c (_IO_old_file_init): Likewise.
2152         (_IO_old_file_close_it): Likewise.
2153         (_IO_old_file_finish): Likewise.
2154         (_IO_old_file_fopen): Likewise.
2155         (_IO_old_file_attach): Likewise.
2156         (_IO_old_file_setbuf): Likewise.
2157         (_IO_old_do_write): Likewise.
2158         (old_do_write): Likewise.
2159         (_IO_old_file_underflow): Likewise.
2160         (_IO_old_file_overflow): Likewise.
2161         (_IO_old_file_sync): Likewise.
2162         (_IO_old_file_seekoff): Likewise.
2163         (_IO_old_file_write): Likewise.
2164         (_IO_old_file_xsputn): Likewise.
2165         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2166         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2167         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
2168         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
2169         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2170         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
2171         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
2172         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
2173         (_IO_old_popen): Likewise.
2174         (_IO_old_proc_close): Likewise.
2175         * libio/oldpclose.c (__old_pclose): Likewise.
2176         * libio/pclose.c (__new_pclose): Likewise.
2177         * libio/peekc.c (_IO_peekc_locked): Likewise.
2178         * libio/putc.c (_IO_putc): Likewise.
2179         * libio/putc_u.c (putc_unlocked): Likewise.
2180         * libio/putchar.c (putchar): Likewise.
2181         * libio/putchar_u.c (putchar_unlocked): Likewise.
2182         * libio/putwc.c (putwc): Likewise.
2183         * libio/putwc_u.c (putwc_unlocked): Likewise.
2184         * libio/putwchar.c (putwchar): Likewise.
2185         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
2186         * libio/rewind.c (rewind): Likewise.
2187         * libio/setbuf.c (setbuf): Likewise.
2188         * libio/setlinebuf.c (setlinebuf): Likewise.
2189         * libio/vasprintf.c (_IO_vasprintf): Likewise.
2190         * libio/vscanf.c (_IO_vscanf): Likewise.
2191         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
2192         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
2193         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2194         * libio/wgenops.c (_IO_least_wmarker): Likewise.
2195         (_IO_switch_to_main_wget_area): Likewise.
2196         (_IO_switch_to_wbackup_area): Likewise.
2197         (_IO_wsetb): Likewise.
2198         (_IO_wdefault_pbackfail): Likewise.
2199         (_IO_wdefault_finish): Likewise.
2200         (_IO_wdefault_uflow): Likewise.
2201         (__woverflow): Likewise.
2202         (__wuflow): Likewise.
2203         (__wunderflow): Likewise.
2204         (_IO_wdefault_xsputn): Likewise.
2205         (_IO_wdefault_xsgetn): Likewise.
2206         (_IO_wdoallocbuf): Likewise.
2207         (_IO_wdefault_doallocate): Likewise.
2208         (_IO_switch_to_wget_mode): Likewise.
2209         (_IO_free_wbackup_area): Likewise.
2210         (_IO_switch_to_wput_mode): Likewise.
2211         (_IO_sputbackwc): Likewise.
2212         (_IO_sungetwc): Likewise.
2213         (_IO_adjust_wcolumn): Likewise.
2214         (_IO_init_wmarker): Likewise.
2215         (_IO_wmarker_delta): Likewise.
2216         (_IO_seekwmark): Likewise.
2217         (_IO_unsave_wmarkers): Likewise.
2218         * libio/wmemstream.c (open_wmemstream): Likewise.
2219         (_IO_wmem_sync): Likewise.
2220         (_IO_wmem_finish): Likewise.
2221         * locale/nl_langinfo.c (nl_langinfo): Likewise.
2222         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
2223         * locale/programs/simple-hash.c (init_hash): Likewise.
2224         (delete_hash): Likewise.
2225         (insert_entry): Likewise.
2226         (set_entry): Likewise.
2227         (next_prime): Likewise.
2228         (is_prime): Likewise.
2229         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
2230         (xmalloc): Likewise.
2231         (xrealloc): Likewise.
2232         * locale/programs/xstrdup.c (xstrdup): Likewise.
2233         * localedata/collate-test.c (xstrcoll): Likewise.
2234         * localedata/xfrm-test.c (xstrcmp): Likewise.
2235         * login/getlogin_r.c (__getlogin_r): Likewise.
2236         * login/getpt.c (__posix_openpt): Likewise.
2237         * login/login_tty.c (login_tty): Likewise.
2238         * login/setlogin.c (setlogin): Likewise.
2239         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
2240         (mach_msg_destroy_port): Likewise.
2241         (mach_msg_destroy_memory): Likewise.
2242         * malloc/mcheck.c (flood): Likewise.
2243         * misc/acct.c (acct): Likewise.
2244         * misc/brk.c (__brk): Likewise.
2245         * misc/chflags.c (chflags): Likewise.
2246         * misc/chroot.c (chroot): Likewise.
2247         * misc/fchflags.c (fchflags): Likewise.
2248         * misc/fstab.c (getfsspec): Likewise.
2249         (getfsfile): Likewise.
2250         * misc/fsync.c (fsync): Likewise.
2251         * misc/ftruncate.c (__ftruncate): Likewise.
2252         * misc/ftruncate64.c (__ftruncate64): Likewise.
2253         * misc/getdomain.c (getdomainname): Likewise.
2254         (getdomainname): Likewise.
2255         * misc/gethostname.c (__gethostname): Likewise.
2256         * misc/getpass.c (getpass): Likewise.
2257         * misc/getttyent.c (skip): Likewise.
2258         (value): Likewise.
2259         * misc/gtty.c (gtty): Likewise.
2260         * misc/hsearch.c (hsearch): Likewise.
2261         (hcreate): Likewise.
2262         * misc/hsearch_r.c (__hcreate_r): Likewise.
2263         (__hdestroy_r): Likewise.
2264         * misc/ioctl.c (__ioctl): Likewise.
2265         * misc/mkdtemp.c (mkdtemp): Likewise.
2266         * misc/mkostemp.c (mkostemp): Likewise.
2267         * misc/mkostemp64.c (mkostemp64): Likewise.
2268         * misc/mkostemps.c (mkostemps): Likewise.
2269         * misc/mkostemps64.c (mkostemps64): Likewise.
2270         * misc/mkstemp.c (mkstemp): Likewise.
2271         * misc/mkstemp64.c (mkstemp64): Likewise.
2272         * misc/mkstemps.c (mkstemps): Likewise.
2273         * misc/mkstemps64.c (mkstemps64): Likewise.
2274         * misc/mktemp.c (__mktemp): Likewise.
2275         * misc/preadv.c (preadv): Likewise.
2276         * misc/preadv64.c (preadv64): Likewise.
2277         * misc/pwritev.c (pwritev): Likewise.
2278         * misc/pwritev64.c (pwritev64): Likewise.
2279         * misc/readv.c (__readv): Likewise.
2280         * misc/revoke.c (revoke): Likewise.
2281         * misc/setdomain.c (setdomainname): Likewise.
2282         * misc/setegid.c (setegid): Likewise.
2283         * misc/seteuid.c (seteuid): Likewise.
2284         * misc/sethostid.c (sethostid): Likewise.
2285         * misc/sethostname.c (sethostname): Likewise.
2286         * misc/setregid.c (__setregid): Likewise.
2287         * misc/setreuid.c (__setreuid): Likewise.
2288         * misc/sstk.c (sstk): Likewise.
2289         * misc/stty.c (stty): Likewise.
2290         * misc/syscall.c (syscall): Likewise.
2291         * misc/syslog.c (setlogmask): Likewise.
2292         * misc/truncate.c (__truncate): Likewise.
2293         * misc/truncate64.c (truncate64): Likewise.
2294         * misc/ualarm.c (ualarm): Likewise.
2295         * misc/usleep.c (usleep): Likewise.
2296         * misc/ustat.c (ustat): Likewise.
2297         * misc/writev.c (__writev): Likewise.
2298         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
2299         * nptl/old_pthread_cond_broadcast.c
2300         (__pthread_cond_broadcast_2_0): Likewise.
2301         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
2302         Likewise.
2303         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
2304         Likewise.
2305         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
2306         Likewise.
2307         * nptl/pt-raise.c (raise): Likewise.
2308         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
2309         Likewise.
2310         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
2311         * nptl/pthread_barrierattr_destroy.c
2312         (pthread_barrierattr_destroy): Likewise.
2313         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
2314         Likewise.
2315         * nptl/pthread_barrierattr_setpshared.c
2316         (pthread_barrierattr_setpshared): Likewise.
2317         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2318         Likewise.
2319         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
2320         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
2321         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
2322         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
2323         Likewise.
2324         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
2325         Likewise.
2326         * nptl/pthread_condattr_getpshared.c
2327         (pthread_condattr_getpshared): Likewise.
2328         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
2329         Likewise.
2330         * nptl/pthread_condattr_setpshared.c
2331         (pthread_condattr_setpshared): Likewise.
2332         * nptl/pthread_detach.c (pthread_detach): Likewise.
2333         * nptl/pthread_equal.c (__pthread_equal): Likewise.
2334         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
2335         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
2336         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
2337         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
2338         Likewise.
2339         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
2340         Likewise.
2341         * nptl/pthread_mutex_getprioceiling.c
2342         (pthread_mutex_getprioceiling): Likewise.
2343         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
2344         Likewise.
2345         * nptl/pthread_mutexattr_getprotocol.c
2346         (pthread_mutexattr_getprotocol): Likewise.
2347         * nptl/pthread_mutexattr_getpshared.c
2348         (pthread_mutexattr_getpshared): Likewise.
2349         * nptl/pthread_mutexattr_getrobust.c
2350         (pthread_mutexattr_getrobust): Likewise.
2351         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2352         Likewise.
2353         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
2354         Likewise.
2355         * nptl/pthread_mutexattr_setprioceiling.c
2356         (pthread_mutexattr_setprioceiling): Likewise.
2357         * nptl/pthread_mutexattr_setprotocol.c
2358         (pthread_mutexattr_setprotocol): Likewise.
2359         * nptl/pthread_mutexattr_setpshared.c
2360         (pthread_mutexattr_setpshared): Likewise.
2361         * nptl/pthread_mutexattr_setrobust.c
2362         (pthread_mutexattr_setrobust): Likewise.
2363         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
2364         Likewise.
2365         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
2366         Likewise.
2367         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
2368         Likewise.
2369         * nptl/pthread_rwlockattr_getkind_np.c
2370         (pthread_rwlockattr_getkind_np): Likewise.
2371         * nptl/pthread_rwlockattr_getpshared.c
2372         (pthread_rwlockattr_getpshared): Likewise.
2373         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
2374         Likewise.
2375         * nptl/pthread_rwlockattr_setkind_np.c
2376         (pthread_rwlockattr_setkind_np): Likewise.
2377         * nptl/pthread_rwlockattr_setpshared.c
2378         (pthread_rwlockattr_setpshared): Likewise.
2379         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
2380         Likewise.
2381         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
2382         Likewise.
2383         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
2384         Likewise.
2385         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2386         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
2387         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
2388         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
2389         * nptl/sem_close.c (sem_close): Likewise.
2390         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
2391         * nptl/sem_init.c (__old_sem_init): Likewise.
2392         * nptl/sigaction.c (__sigaction): Likewise.
2393         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
2394         * posix/_exit.c (_exit): Likewise.
2395         * posix/alarm.c (alarm): Likewise.
2396         * posix/confstr.c (confstr): Likewise.
2397         * posix/fpathconf.c (__fpathconf): Likewise.
2398         * posix/getgroups.c (__getgroups): Likewise.
2399         * posix/getpgid.c (__getpgid): Likewise.
2400         * posix/group_member.c (__group_member): Likewise.
2401         * posix/pathconf.c (__pathconf): Likewise.
2402         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
2403         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
2404         * posix/setgid.c (__setgid): Likewise.
2405         * posix/setpgid.c (__setpgid): Likewise.
2406         * posix/setuid.c (__setuid): Likewise.
2407         * posix/sleep.c (__sleep): Likewise.
2408         * posix/sysconf.c (__sysconf): Likewise.
2409         * posix/times.c (__times): Likewise.
2410         * posix/uname.c (__uname): Likewise.
2411         * posix/waitid.c (__waitid): Likewise.
2412         * pwd/getpw.c (__getpw): Likewise.
2413         * resolv/base64.c (b64_pton): Likewise.
2414         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
2415         * resolv/gethnamaddr.c (Dprintf): Likewise.
2416         (gethostbyname): Likewise.
2417         (gethostbyname2): Likewise.
2418         (gethostbyaddr): Likewise.
2419         (_sethtent): Likewise.
2420         (_gethtbyname): Likewise.
2421         (_gethtbyname2): Likewise.
2422         (_gethtbyaddr): Likewise.
2423         (map_v4v6_address): Likewise.
2424         (map_v4v6_hostent): Likewise.
2425         (addrsort): Likewise.
2426         (ht_sethostent): Likewise.
2427         (ht_gethostbyname): Likewise.
2428         (ht_gethostbyaddr): Likewise.
2429         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
2430         (inet_net_ntop_ipv4): Likewise.
2431         * resolv/inet_neta.c (inet_neta): Likewise.
2432         * resolv/inet_ntop.c (inet_ntop): Likewise.
2433         (inet_ntop4): Likewise.
2434         (inet_ntop6): Likewise.
2435         * resolv/inet_pton.c (__inet_pton): Likewise.
2436         (inet_pton4): Likewise.
2437         (inet_pton6): Likewise.
2438         * resolv/res_debug.c (loc_aton): Likewise.
2439         (loc_ntoa): Likewise.
2440         * resource/getpriority.c (__getpriority): Likewise.
2441         * resource/getrusage.c (__getrusage): Likewise.
2442         * resource/nice.c (nice): Likewise.
2443         * resource/setpriority.c (__setpriority): Likewise.
2444         * resource/setrlimit64.c (setrlimit64): Likewise.
2445         * resource/vlimit.c (vlimit): Likewise.
2446         * resource/vtimes.c (vtimes): Likewise.
2447         * rt/aio_error.c (aio_error): Likewise.
2448         * rt/aio_return.c (aio_return): Likewise.
2449         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
2450         * signal/kill.c (__kill): Likewise.
2451         * signal/killpg.c (killpg): Likewise.
2452         * signal/raise.c (raise): Likewise.
2453         * signal/sigaction.c (__sigaction): Likewise.
2454         * signal/sigaddset.c (sigaddset): Likewise.
2455         * signal/sigaltstack.c (sigaltstack): Likewise.
2456         * signal/sigandset.c (sigandset): Likewise.
2457         * signal/sigblock.c (__sigblock): Likewise.
2458         * signal/sigdelset.c (sigdelset): Likewise.
2459         * signal/sigempty.c (sigemptyset): Likewise.
2460         * signal/sigfillset.c (sigfillset): Likewise.
2461         * signal/sighold.c (sighold): Likewise.
2462         * signal/sigignore.c (sigignore): Likewise.
2463         * signal/sigintr.c (siginterrupt): Likewise.
2464         * signal/sigisempty.c (sigisemptyset): Likewise.
2465         * signal/sigismem.c (sigismember): Likewise.
2466         * signal/signal.c (signal): Likewise.
2467         * signal/sigorset.c (sigorset): Likewise.
2468         * signal/sigpause.c (__sigpause): Likewise.
2469         * signal/sigpending.c (sigpending): Likewise.
2470         * signal/sigprocmask.c (__sigprocmask): Likewise.
2471         * signal/sigrelse.c (sigrelse): Likewise.
2472         * signal/sigreturn.c (__sigreturn): Likewise.
2473         * signal/sigset.c (sigset): Likewise.
2474         * signal/sigsetmask.c (__sigsetmask): Likewise.
2475         * signal/sigstack.c (sigstack): Likewise.
2476         * signal/sigsuspend.c (__sigsuspend): Likewise.
2477         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
2478         * signal/sysv_signal.c (__sysv_signal): Likewise.
2479         * socket/accept.c (accept): Likewise.
2480         * socket/accept4.c (__libc_accept4): Likewise.
2481         * socket/bind.c (__bind): Likewise.
2482         * socket/connect.c (__connect): Likewise.
2483         * socket/getpeername.c (getpeername): Likewise.
2484         * socket/getsockname.c (__getsockname): Likewise.
2485         * socket/getsockopt.c (getsockopt): Likewise.
2486         * socket/listen.c (__listen): Likewise.
2487         * socket/recv.c (__recv): Likewise.
2488         * socket/recvmsg.c (__recvmsg): Likewise.
2489         * socket/send.c (__send): Likewise.
2490         * socket/sendmsg.c (__sendmsg): Likewise.
2491         * socket/shutdown.c (shutdown): Likewise.
2492         * socket/sockatmark.c (sockatmark): Likewise.
2493         * socket/socket.c (__socket): Likewise.
2494         * stdio-common/ctermid.c (ctermid): Likewise.
2495         * stdio-common/cuserid.c (cuserid): Likewise.
2496         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
2497         * stdio-common/remove.c (remove): Likewise.
2498         * stdio-common/rename.c (rename): Likewise.
2499         * stdio-common/renameat.c (renameat): Likewise.
2500         * stdio-common/tempname.c (__gen_tempname): Likewise.
2501         * stdio-common/xbug.c (InitBuffer): Likewise.
2502         (AppendToBuffer): Likewise.
2503         (ReadFile): Likewise.
2504         * stdlib/a64l.c (a64l): Likewise.
2505         * stdlib/drand48_r.c (drand48_r): Likewise.
2506         * stdlib/getcontext.c (getcontext): Likewise.
2507         * stdlib/getenv.c (getenv): Likewise.
2508         * stdlib/l64a.c (l64a): Likewise.
2509         * stdlib/llabs.c (llabs): Likewise.
2510         * stdlib/lldiv.c (lldiv): Likewise.
2511         * stdlib/lrand48_r.c (lrand48_r): Likewise.
2512         * stdlib/mrand48_r.c (mrand48_r): Likewise.
2513         * stdlib/putenv.c (putenv): Likewise.
2514         * stdlib/random.c (__srandom): Likewise.
2515         (__initstate): Likewise.
2516         (__setstate): Likewise.
2517         * stdlib/random_r.c (__srandom_r): Likewise.
2518         (__setstate_r): Likewise.
2519         (__random_r): Likewise.
2520         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
2521         * stdlib/setcontext.c (setcontext): Likewise.
2522         * stdlib/setenv.c (setenv): Likewise.
2523         (unsetenv): Likewise.
2524         * stdlib/srand48.c (srand48): Likewise.
2525         * stdlib/srand48_r.c (__srand48_r): Likewise.
2526         * stdlib/swapcontext.c (swapcontext): Likewise.
2527         * stdlib/system.c (__libc_system): Likewise.
2528         * stdlib/tst-strtod.c (expand): Likewise.
2529         * stdlib/tst-strtol.c (expand): Likewise.
2530         * stdlib/tst-strtoll.c (expand): Likewise.
2531         * streams/fattach.c (fattach): Likewise.
2532         * streams/fdetach.c (fdetach): Likewise.
2533         * streams/getmsg.c (getmsg): Likewise.
2534         * streams/isastream.c (isastream): Likewise.
2535         * string/ffs.c (__ffs): Likewise.
2536         * string/ffsll.c (ffsll): Likewise.
2537         * string/memcmp.c (memcmp_common_alignment): Likewise.
2538         (memcmp_not_common_alignment): Likewise.
2539         (MEMCMP): Likewise.
2540         * string/memcpy.c (memcpy): Likewise.
2541         * string/memmove.c (MEMMOVE): Likewise.
2542         * string/memset.c (memset): Likewise.
2543         * string/rawmemchr.c (RAWMEMCHR): Likewise.
2544         * string/strchrnul.c (STRCHRNUL): Likewise.
2545         * string/strerror.c (strerror): Likewise.
2546         * string/strndup.c (__strndup): Likewise.
2547         * string/strverscmp.c (__strverscmp): Likewise.
2548         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
2549         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
2550         (clnttcp_freeres): Likewise.
2551         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
2552         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
2553         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
2554         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
2555         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
2556         (xdr_callhdr): Likewise.
2557         * sunrpc/rpcinfo.c (udpping): Likewise.
2558         (tcpping): Likewise.
2559         (pstatus): Likewise.
2560         (pmapdump): Likewise.
2561         (brdcst): Likewise.
2562         (deletereg): Likewise.
2563         (getprognum): Likewise.
2564         (getvers): Likewise.
2565         (get_inet_address): Likewise.
2566         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
2567         * sunrpc/svc_udp.c (svcudp_create): Likewise.
2568         (svcudp_stat): Likewise.
2569         (svcudp_recv): Likewise.
2570         (svcudp_reply): Likewise.
2571         (svcudp_getargs): Likewise.
2572         (svcudp_freeargs): Likewise.
2573         (svcudp_destroy): Likewise.
2574         * sunrpc/xdr.c (xdr_bytes): Likewise.
2575         (xdr_netobj): Likewise.
2576         (xdr_string): Likewise.
2577         (xdr_wrapstring): Likewise.
2578         * sunrpc/xdr_float.c (xdr_float): Likewise.
2579         (xdr_double): Likewise.
2580         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
2581         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
2582         * sysvipc/ftok.c (ftok): Likewise.
2583         * sysvipc/msgctl.c (msgctl): Likewise.
2584         * sysvipc/msgget.c (msgget): Likewise.
2585         * sysvipc/msgrcv.c (msgrcv): Likewise.
2586         * sysvipc/msgsnd.c (msgsnd): Likewise.
2587         * sysvipc/semget.c (semget): Likewise.
2588         * sysvipc/semop.c (semop): Likewise.
2589         * sysvipc/shmat.c (shmat): Likewise.
2590         * sysvipc/shmctl.c (shmctl): Likewise.
2591         * sysvipc/shmdt.c (shmdt): Likewise.
2592         * sysvipc/shmget.c (shmget): Likewise.
2593         * termios/cfmakeraw.c (cfmakeraw): Likewise.
2594         * termios/speed.c (cfgetospeed): Likewise.
2595         (cfgetispeed): Likewise.
2596         (cfsetospeed): Likewise.
2597         (cfsetispeed): Likewise.
2598         * termios/tcflow.c (tcflow): Likewise.
2599         * termios/tcflush.c (tcflush): Likewise.
2600         * termios/tcgetattr.c (__tcgetattr): Likewise.
2601         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
2602         * termios/tcgetsid.c (tcgetsid): Likewise.
2603         * termios/tcsendbrk.c (tcsendbreak): Likewise.
2604         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
2605         * time/adjtime.c (__adjtime): Likewise.
2606         * time/dysize.c (dysize): Likewise.
2607         * time/ftime.c (ftime): Likewise.
2608         * time/getitimer.c (__getitimer): Likewise.
2609         * time/gettimeofday.c (__gettimeofday): Likewise.
2610         * time/gmtime.c (__gmtime_r): Likewise.
2611         (gmtime): Likewise.
2612         * time/localtime.c (__localtime_r): Likewise.
2613         (localtime): Likewise.
2614         * time/offtime.c (__offtime): Likewise.
2615         * time/settimeofday.c (__settimeofday): Likewise.
2616         * time/stime.c (stime): Likewise.
2617         * time/strftime_l.c (tm_diff): Likewise.
2618         (iso_week_days): Likewise.
2619         * time/strptime.c (strptime): Likewise.
2620         * time/time.c (time): Likewise.
2621         * time/timespec_get.c (timespec_get): Likewise.
2622         * time/tzset.c (tzset_internal): Likewise.
2623         (compute_change): Likewise.
2624         (__tz_compute): Likewise.
2625         * wcsmbs/btowc.c (__btowc): Likewise.
2626         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
2627         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
2628         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
2629         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
2630         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
2631         * wcsmbs/wcscat.c (__wcscat): Likewise.
2632         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2633         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
2634         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
2635         * wcsmbs/wcscspn.c (wcscspn): Likewise.
2636         * wcsmbs/wcsdup.c (wcsdup): Likewise.
2637         * wcsmbs/wcslen.c (__wcslen): Likewise.
2638         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
2639         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
2640         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
2641         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
2642         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2643         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
2644         * wcsmbs/wcsspn.c (wcsspn): Likewise.
2645         * wcsmbs/wcsstr.c (wcsstr): Likewise.
2646         * wcsmbs/wcstok.c (wcstok): Likewise.
2647         * wcsmbs/wctob.c (wctob): Likewise.
2648         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
2649         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2650         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
2651         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
2652         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
2653         * wcsmbs/wmemset.c (__wmemset): Likewise.
2654         * wctype/wcfuncs.c (__towlower): Likewise.
2655         (__towupper): Likewise.
2657         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
2658         (lll_unlock_elision): Add adapt_count parameter.
2660 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2662         * sysdeps/nptl/configure.ac: Do not give errors based on the
2663         results of top-level configure tests.
2664         * sysdeps/nptl/configure: Regenerated.
2666         * configure.ac (libc_cv_Bgroup): Remove configure test.
2667         * configure: Regenerated.
2668         * config.make.in (have-Bgroup): Remove variable.
2670         * configure.ac (sizeof_long_double): Remove configure test.
2671         * configure: Regenerated.
2672         * config.make.in (sizeof-long-double): Remove variable.
2674         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
2675         * configure: Regenerated.
2676         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
2677         variable.
2678         (exceptions): Likewise.
2679         * sysdeps/arm/configure: Regenerated.
2680         * config.make.in (exceptions): Remove variable.
2681         * Makeconfig (uses-callbacks): Use -fexceptions instead of
2682         $(exceptions).
2683         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
2684         (CFLAGS-vdprintf_chk.c): Likewise.
2685         (CFLAGS-printf_chk.c): Likewise.
2686         (CFLAGS-fprintf_chk.c): Likewise.
2687         (CFLAGS-vprintf_chk.c): Likewise.
2688         (CFLAGS-vfprintf_chk.c): Likewise.
2689         (CFLAGS-gets_chk.c): Likewise.
2690         (CFLAGS-fgets_chk.c): Likewise.
2691         (CFLAGS-fgets_u_chk.c): Likewise.
2692         (CFLAGS-fread_chk.c): Likewise.
2693         (CFLAGS-fread_u_chk.c): Likewise.
2694         (CFLAGS-wprintf_chk.c): Likewise.
2695         (CFLAGS-fwprintf_chk.c): Likewise.
2696         (CFLAGS-vwprintf_chk.c): Likewise.
2697         (CFLAGS-vfwprintf_chk.c): Likewise.
2698         (CFLAGS-fgetws_chk.c): Likewise.
2699         (CFLAGS-fgetws_u_chk.c): Likewise.
2700         * libio/Makefile (CFLAGS-fileops.c): Likewise.
2701         (CFLAGS-fputc.c): Likewise.
2702         (CFLAGS-fputwc.c): Likewise.
2703         (CFLAGS-freopen64.c): Likewise.
2704         (CFLAGS-freopen.c): Likewise.
2705         (CFLAGS-fseek.c): Likewise.
2706         (CFLAGS-fseeko64.c): Likewise.
2707         (CFLAGS-fseeko.c): Likewise.
2708         (CFLAGS-ftello64.c): Likewise.
2709         (CFLAGS-ftello.c): Likewise.
2710         (CFLAGS-fwide.c): Likewise.
2711         (CFLAGS-genops.c): Likewise.
2712         (CFLAGS-getc.c): Likewise.
2713         (CFLAGS-getchar.c): Likewise.
2714         (CFLAGS-getwc.c): Likewise.
2715         (CFLAGS-getwchar.c): Likewise.
2716         (CFLAGS-iofclose.c): Likewise.
2717         (CFLAGS-iofflush.c): Likewise.
2718         (CFLAGS-iofgetpos64.c): Likewise.
2719         (CFLAGS-iofgetpos.c): Likewise.
2720         (CFLAGS-iofgets.c): Likewise.
2721         (CFLAGS-iofgetws.c): Likewise.
2722         (CFLAGS-iofputs.c): Likewise.
2723         (CFLAGS-iofputws.c): Likewise.
2724         (CFLAGS-iofread.c): Likewise.
2725         (CFLAGS-iofsetpos64.c): Likewise.
2726         (CFLAGS-iofsetpos.c): Likewise.
2727         (CFLAGS-ioftell.c): Likewise.
2728         (CFLAGS-iofwrite.c): Likewise.
2729         (CFLAGS-iogetdelim.c): Likewise.
2730         (CFLAGS-iogetline.c): Likewise.
2731         (CFLAGS-iogets.c): Likewise.
2732         (CFLAGS-iogetwline.c): Likewise.
2733         (CFLAGS-ioputs.c): Likewise.
2734         (CFLAGS-ioseekoff.c): Likewise.
2735         (CFLAGS-ioseekpos.c): Likewise.
2736         (CFLAGS-iosetbuffer.c): Likewise.
2737         (CFLAGS-iosetvbuf.c): Likewise.
2738         (CFLAGS-ioungetc.c): Likewise.
2739         (CFLAGS-ioungetwc.c): Likewise.
2740         (CFLAGS-oldfileops.c): Likewise.
2741         (CFLAGS-oldiofclose.c): Likewise.
2742         (CFLAGS-oldiofgetpos64.c): Likewise.
2743         (CFLAGS-oldiofgetpos.c): Likewise.
2744         (CFLAGS-oldiofsetpos64.c): Likewise.
2745         (CFLAGS-oldiofsetpos.c): Likewise.
2746         (CFLAGS-peekc.c): Likewise.
2747         (CFLAGS-putc.c): Likewise.
2748         (CFLAGS-putchar.c): Likewise.
2749         (CFLAGS-putwc.c): Likewise.
2750         (CFLAGS-putwchar.c): Likewise.
2751         (CFLAGS-rewind.c): Likewise.
2752         (CFLAGS-wfileops.c): Likewise.
2753         (CFLAGS-wgenops.c): Likewise.
2754         (CFLAGS-oldiofopen.c): Likewise.
2755         (CFLAGS-iofopen.c): Likewise.
2756         (CFLAGS-iofopen64.c): Likewise.
2757         (CFLAGS-oldtmpfile.c): Likewise.
2758         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
2759         (CFLAGS-fprintf.c): Likewise.
2760         (CFLAGS-printf.c): Likewise.
2761         (CFLAGS-vfwprintf.c): Likewise.
2762         (CFLAGS-vfscanf.c): Likewise.
2763         (CFLAGS-vfwscanf.c): Likewise.
2764         (CFLAGS-fscanf.c): Likewise.
2765         (CFLAGS-scanf.c): Likewise.
2766         (CFLAGS-isoc99_vfscanf.c): Likewise.
2767         (CFLAGS-isoc99_vscanf.c): Likewise.
2768         (CFLAGS-isoc99_fscanf.c): Likewise.
2769         (CFLAGS-isoc99_scanf.c): Likewise.
2770         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
2771         (CFLAGS-isoc99_fwscanf.c): Likewise.
2772         (CFLAGS-isoc99_vwscanf.c): Likewise.
2773         (CFLAGS-isoc99_vfwscanf.c): Likewise.
2775         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
2776         after mkstemp64.
2777         * login/tst-utmp.c (do_prepare): Likewise.
2778         * rt/tst-aio.c (do_prepare): Likewise.
2779         * rt/tst-aio64.c (do_prepare): Likewise.
2781 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2783         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2784         (__lll_lock_elision): Remove adapt_count decrement...
2785         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
2786         (__lll_trylock_elision): Likewise.
2787         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2788         (__lll_unlock_elision): ... to here. And utilize
2789         new adapt_count parameter.
2790         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2791         (__lll_unlock_elision): Update to include adapt_count
2792         parameter.
2793         (lll_unlock_elision): Pass pointer to adapt_count
2794         variable.
2796 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2798         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
2799         Add elision adapt_count parameter to list of arguments.
2800         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
2801         (lll_unlock_elision): Update with new parameter list
2802         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2803         (lll_unlock_elision): Likewise
2804         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
2805         (lll_unlock_elision): Likewise
2807 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2809         [BZ #19122]
2810         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
2811         attribute_hidden.
2813         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
2814         attribute_hidden.
2815         [IS_IN (rtld)] (__strdup): Likewise.
2816         [IS_IN (rtld)] (__strerror_r): Likewise.
2817         [IS_IN (rtld)] (__strsep_g): Likewise.
2818         [IS_IN (rtld)] (memchr): Likewise.
2819         [IS_IN (rtld)] (memcmp): Likewise.
2820         [IS_IN (rtld)] (memcpy): Likewise.
2821         [IS_IN (rtld)] (memmove): Likewise.
2822         [IS_IN (rtld)] (memset): Likewise.
2823         [IS_IN (rtld)] (rawmemchr): Likewise.
2824         [IS_IN (rtld)] (stpcpy): Likewise.
2825         [IS_IN (rtld)] (strchr): Likewise.
2826         [IS_IN (rtld)] (strcmp): Likewise.
2827         [IS_IN (rtld)] (strlen): Likewise.
2828         [IS_IN (rtld)] (strnlen): Likewise.
2829         [IS_IN (rtld)] (strsep): Likewise.
2831         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
2832         attribute_hidden.
2833         [IS_IN (rtld)] (__strtoul_internal): Likewise.
2835         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
2836         attribute_hidden.
2837         [IS_IN (rtld)] (__libc_sigaction): Likewise.
2839         * include/setjmp.h (__longjmp): Add attribute_hidden.
2840         [IS_IN (rtld)] (__sigsetjmp): Likewise.
2842         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
2843         Add attribute_hidden.
2845         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
2846         [IS_IN (rtld)] (__open): Likewise.
2847         [IS_IN (rtld)] (__fcntl): Likewise.
2849         * include/dirent.h (__opendirat): Add attribute_hidden.
2850         (__getdents): Likewise.
2851         (__getdents64): Likewise.
2852         (__alloc_dir): Likewise.
2853         [IS_IN (rtld)] (__closedir): Likewise.
2854         [IS_IN (rtld)] (__fdopendir): Likewise.
2855         [IS_IN (rtld)] (__readdir): Likewise.
2856         [IS_IN (rtld)] (__readdir64): Likewise.
2857         [IS_IN (rtld)] (__rewinddir): Likewise.
2859         * include/dlfcn.h (_dl_catch_error): Moved to ...
2860         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
2861         attribute_hidden.
2863         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
2864         (_itoa_word): Likewise.
2866         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
2867         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
2868         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
2869         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
2870         (_dl_higher_prime_number): Likewise.
2871         (_dl_debug_printf_c): Likewise.
2872         (_dl_signal_cerror): Likewise.
2873         (_dl_receive_error): Likewise.
2874         (_dl_reloc_bad_type): Likewise.
2875         (_dl_resolve_conflicts): Likewise.
2876         (_dl_check_all_versions): Likewise.
2877         (_dl_check_map_versions): Likewise.
2878         (_dl_sort_fini): Likewise.
2879         (_dl_debug_initialize): Likewise.
2880         (_dl_init_paths): Likewise.
2881         (_dl_show_auxv): Likewise.
2882         (_dl_next_ld_env_entry): Likewise.
2883         (_dl_important_hwcaps): Likewise.
2884         (_dl_load_cache_lookup): Likewise.
2885         (_dl_update_slotinfo): Likewise.
2886         (_dl_show_scope): Likewise.
2888         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
2889         attribute_hidden.
2890         (_wordcopy_fwd_dest_aligned): Likewise.
2891         (_wordcopy_bwd_aligned): Likewise.
2892         (_wordcopy_bwd_dest_aligned): Likewise.
2894         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2895         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2896         Likewise.
2897         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
2898         Likewise.
2899         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
2901 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2903         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
2904         GCC 5 requirement.
2906 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
2908         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
2909         test.
2910         * sysdeps/i386/configure: Regenerated.
2911         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
2912         code unconditional.
2914         * configure.ac (libc_cv_asm_previous_directive): Remove configure
2915         test.
2916         (libc_cv_asm_popsection_directive): Likewise.
2917         * configure: Regenerated.
2918         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
2919         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
2920         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
2921         (__make_section_unallocated): Make definition unconditional.
2922         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
2923         Remove conditional definition.
2924         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
2925         (__make_section_unallocated): Likewise.
2927         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
2928         * configure: Regenerated.
2929         * config.make.in (static-libgcc): Remove variable.
2930         * Makerules (build-shlib-helper): Use -static-libgcc instead of
2931         $(static-libgcc).
2932         (build-module-helper): Likewise.
2934         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
2935         * configure: Regenerated.
2937 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2939         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
2940         (struct char_buffer): New type.
2941         (char_buffer_start, char_buffer_size, char_buffer_error)
2942         (char_buffer_rewind, char_buffer_add): New functions.
2943         (ADDW): Remove macro, replaced by the char_buffer_add function.
2944         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
2945         of extend_alloca.  Make control flow more explicit.
2947 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2949         [BZ #19137]
2950         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2951         Add -fomit-frame-pointer.
2952         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
2954 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2956         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
2957         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
2958         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
2959         only if !__GNUC_PREREQ (5,0).
2960         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
2961         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
2962         (INTERNAL_SYSCALL_NCS): Likewise.
2963         (LOADREGS_0): New macro for GCC 5.
2964         (ASMARGS_0): Likewise.
2965         (LOADREGS_1): Likewise.
2966         (ASMARGS_1): Likewise.
2967         (LOADREGS_2): Likewise.
2968         (ASMARGS_2): Likewise.
2969         (LOADREGS_3): Likewise.
2970         (ASMARGS_3): Likewise.
2971         (LOADREGS_4): Likewise.
2972         (ASMARGS_4): Likewise.
2973         (LOADREGS_5): Likewise.
2974         (ASMARGS_5): Likewise.
2975         (LOADREGS_6): Likewise.
2976         (ASMARGS_6): Likewise.
2978 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
2980         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
2981         -fomit-frame-pointer.
2982         (CFLAGS-mmap64.c): Likewise.
2983         (CFLAGS-semtimedop.c): Likewise.
2984         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
2985         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
2986         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2987         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
2989 2015-10-15  Florian Weimer  <fweimer@redhat.com>
2991         [BZ #18928]
2992         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
2993         _dl_pointer_guard member.
2994         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
2995         initializer.
2996         (security_init): Always set up pointer guard.
2997         (process_envvars): Do not process LD_POINTER_GUARD.
2999 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
3001         [BZ #19134]
3002         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
3003         (.LC2): Likewise.
3004         (.LC3): Likewise.
3005         (__lround): Do not add 0.5 to integer or out-of-range arguments.
3007 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3009         [BZ #19129]
3010         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
3011         r0 and r1.
3013 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
3015         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
3017 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
3019         * include/stap-probe.h: Fix macro definition formatting.
3021 2015-10-14  Florian Weimer  <fweimer@redhat.com>
3023         [BZ #19074]
3024         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
3025         load and store num_ifs.
3027 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3029         [BZ #18822]
3030         * sysdeps/unix/sysv/linux/sched_getaffinity.c
3031         (__sched_getaffinity_new): Add libc_hidden_proto and
3032         libc_hidden_def.
3034 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3036         [BZ #19007]
3037         * scripts/localplt.awk: Also allow GOT references.
3038         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
3039         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
3040         with "+ REL R_386_GLOB_DAT".
3041         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
3042         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
3044 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
3046         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
3047         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3048         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
3049         Likewise.
3050         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3051         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
3052         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
3053         INTERNAL_SYSCALLINTERNAL_SYSCALL and
3054         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3055         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
3056         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3057         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
3058         Likewise.
3059         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3061 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3063         [BZ #19125]
3064         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
3065         <math_private.h> and <stdint.h>.
3066         (__llround): Avoid conversions to and from long long int, and
3067         subtractions, where those might raise spurious exceptions.
3068         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
3069         <math_private.h> and <stdint.h>.
3070         (__llroundf): Avoid conversions to and from long long int, and
3071         subtractions, where those might raise spurious exceptions.
3073 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3075         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
3076         INLINE_SYSCALL_ERROR_RETURN_VALUE.
3077         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3078         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
3079         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3080         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3081         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
3082         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
3083         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
3084         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3085         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3086         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3087         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
3088         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3089         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3090         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
3091         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
3092         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3093         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
3094         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
3095         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3096         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
3097         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
3098         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3099         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
3100         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3101         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
3102         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3103         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3104         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
3105         (__xstat64_conv): Likewise.
3106         (__xstat32_conv): Likewise.
3108 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3110         * sysdeps/unix/sysv/linux/sysdep.h: New file.
3111         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
3112         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
3113         <sysdeps/unix/sysv/linux/sysdep.h>.
3114         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3115         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
3116         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
3117         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3118         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3119         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
3120         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
3121         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
3122         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
3123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3125         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3127         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3128         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3129         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3130         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
3131         (sysdep-dl-routines): Add sysdep.
3132         [$(subdir) == nptl] (libpthread-routines): Likewise.
3133         [$(subdir) == rt] (librt-routines): Likewise.
3134         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
3135         PIC when branching to SYSCALL_ERROR_LABEL.
3136         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
3137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
3138         <sysdeps/unix/sysv/linux/sysdep.h>.
3139         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
3140         (SYSCALL_ERROR_ERRNO): Removed.
3141         (SYSCALL_ERROR_HANDLER): Changed to empty.
3142         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
3143         (__syscall_error): New prototype.
3144         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
3145         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
3147 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
3149         [BZ #19124]
3150         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
3151         (_dl_runtime_resolve_avx512): Make it a hidden alias of
3152         _dl_runtime_resolve_avx.
3153         (_dl_runtime_profile_avx512): Make it a hidden alias of
3154         _dl_runtime_profile_avx.
3156 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
3158         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
3159         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
3160         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
3161         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
3163         [BZ #16422]
3164         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
3165         New configure test.
3166         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
3167         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
3168         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
3169         <math_private.h> and <stdint.h>.
3170         (__llrint): Avoid conversions to long long int where those might
3171         raise spurious exceptions.
3172         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
3173         <math_private.h> and <stdint.h>.
3174         (__llrintf): Avoid conversions to long long int where those might
3175         raise spurious exceptions.
3177 2015-10-12  Andreas Schwab  <schwab@suse.de>
3179         [BZ #18969]
3180         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
3181         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
3182         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
3183         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
3184         $(gen-locales).
3185         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
3186         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
3187         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
3188         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
3189         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
3190         $(gen-locales).
3191         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
3192         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
3193         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
3194         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
3195         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
3196         ($(objpfx)tst-ftell-active-handler.out)
3197         ($(objpfx)tst-ftell-append.out)
3198         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
3199         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
3200         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
3201         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
3202         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
3203         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
3204         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
3205         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
3206         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
3207         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
3208         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
3209         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
3210         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
3211         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
3212         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
3213         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
3214         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
3215         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
3216         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
3217         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
3218         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
3219         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
3220         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
3221         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
3222         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
3223         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
3224         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
3225         $(gen-locales).
3226         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
3227         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
3228         $(gen-locales).
3229         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
3230         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
3231         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
3232         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
3233         $(gen-locales).
3234         * libio/tst_wprintf2.c (main): Use explicit locale.
3235         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
3237 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3239         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
3240         __msg_sig_post.
3241         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
3243 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3245         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3246         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3248         * sysdeps/arm/libm-test-ulps: Regenerated.
3250         [BZ #15470]
3251         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
3253         [BZ #16399]
3254         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
3255         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
3256         and <fix-fp-int-convert-overflow.h>.
3257         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3258         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3259         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
3260         and <fix-fp-int-convert-overflow.h>.
3261         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
3262         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3263         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
3264         <fix-fp-int-convert-overflow.h>.
3265         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
3266         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3267         * sysdeps/ieee754/dbl-64/s_lround.c: Include
3268         <fix-fp-int-convert-overflow.h>.
3269         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
3270         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3271         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
3272         and <fix-fp-int-convert-overflow.h>.
3273         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3274         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3275         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
3276         <limits.h> and <fix-fp-int-convert-overflow.h>.
3277         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3278         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3279         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
3280         and <fix-fp-int-convert-overflow.h>.
3281         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
3282         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3283         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
3284         and <fix-fp-int-convert-overflow.h>.
3285         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
3286         FIX_DBL_LLONG_CONVERT_OVERFLOW.
3287         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
3289 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
3291         [BZ #18589]
3292         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
3293         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
3294         $(gen-locales).
3296 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3297             Phil Blundell <pb@pbcl.net>
3299         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
3300         * nptl/tst-cancel26.c: New file.
3301         * nptl/tst-cancel27.c: Likewise.
3303 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
3305         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
3306         __ILP32__ isn't defined.
3307         (lrint): Likewise.
3308         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
3309         (lrintf): Likewise.
3310         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
3311         (lrintl): Likewise.
3312         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
3313         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
3314         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
3316 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3318         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3319         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3321         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
3322         file.
3323         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
3324         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
3326 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
3328         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
3329         configure test.
3330         * sysdeps/i386/configure: Regenerated.
3331         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
3332         configure test.
3333         * sysdeps/x86_64/configure: Regenerated.
3334         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
3335         Make code unconditional.
3337         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
3338         test.
3339         * sysdeps/i386/configure: Regenerated.
3340         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
3341         test.
3342         * sysdeps/x86_64/configure: Regenerated.
3343         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
3344         Make code unconditional.
3345         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3346         Likewise.
3347         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
3348         Likewise.
3349         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3350         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
3351         code unconditional.
3352         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3353         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
3354         code unconditional.
3355         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3356         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
3357         code unconditional.
3358         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
3359         code unconditional.
3360         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3361         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
3362         code unconditional.
3363         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3364         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
3365         code unconditional.
3366         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3367         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
3368         code unconditional.
3369         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3370         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
3371         code unconditional.
3372         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
3373         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
3375         [BZ #19095]
3376         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
3377         mantissa to long int before shifting left.
3379 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3381         [BZ #19094]
3382         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
3383         <limits.h>.
3384         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3385         when result overflows but exception would not result from cast.
3386         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
3387         <limits.h>.
3388         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3389         when result overflows but exception would not result from cast.
3390         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
3391         <limits.h>.
3392         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3393         when result overflows but exception would not result from cast.
3394         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
3395         <limits.h>.
3396         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3397         when result overflows but exception would not result from cast.
3398         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
3399         <limits.h>.
3400         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
3401         when result overflows but exception would not result from cast.
3402         * math/libm-test.inc (lrint_test_data): Add more tests.
3403         (llrint_test_data): Likewise.
3405 2015-10-08  Roland McGrath  <roland@hack.frob.com>
3407         [BZ #18872]
3408         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
3409         Move out from under [$(run-built-tests) = yes] conditional.
3410         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
3411         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
3413 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
3415         [BZ #18589]
3416         * string/Makefile (tests): Add bug-strcoll2.
3417         (LOCALES): Add cs_CZ.UTF-8.
3418         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
3420         [BZ #18589]
3421         * string/bug-strcoll2.c: New file.
3422         * locale/categories.def: Revert commit
3423         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
3424         * locale/langinfo.h: Likewise.
3425         * locale/localeinfo.h: Likewise.
3426         * locale/C-collate.c: Likewise.
3427         * locale/programs/ld-collate.c (collate_output): Likewise.
3428         * string/strcoll_l.c (STRDIFF): Likewise.
3429         (STRCOLL): Likewise.
3430         * wcsmbs/wcscoll_l.c: Likewise.
3432 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
3434         * math/libm-test.inc (lround_test_data): Do not expect the absence
3435         of "inexact" for some tests with non-integer arguments.
3436         (llround_test_data): Likewise.
3438         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
3439         test.
3440         (libc_cv_cc_sse2avx): Likewise.
3441         * sysdeps/i386/configure: Regenerated.
3442         * sysdeps/i386/i686/multiarch/Makefile
3443         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
3444         [$(subdir) = math].
3445         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
3446         code unconditional.
3447         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3448         Likewise.
3449         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
3450         Likewise.
3451         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3452         Likewise.
3453         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
3454         test.
3455         (libc_cv_cc_sse2avx): Likewise.
3456         * sysdeps/x86_64/configure: Regenerated.
3457         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
3458         unconditional.
3459         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
3460         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
3461         unconditional.
3462         (_dl_runtime_profile)
3463         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
3464         conditional code.
3465         * sysdeps/x86_64/fpu/multiarch/Makefile
3466         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
3467         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3468         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3469         * sysdeps/x86_64/fpu/multiarch/e_exp.c
3470         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3471         * sysdeps/x86_64/fpu/multiarch/e_log.c
3472         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3473         * sysdeps/x86_64/fpu/multiarch/s_atan.c
3474         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3475         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
3476         Likewise.
3477         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
3478         Likewise.
3479         * sysdeps/x86_64/fpu/multiarch/s_sin.c
3480         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3481         * sysdeps/x86_64/fpu/multiarch/s_tan.c
3482         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3483         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
3484         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
3485         (HAVE_SSE2AVX_SUPPORT): Likewise.
3487 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
3489         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
3490         instead of #pragma optimize.
3492 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3494         [BZ #17195]
3495         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
3496         as is similarly done in systrim and _int_free already.
3498 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3500         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
3502 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3504         [BZ #19088]
3505         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
3506         <limits.h>.
3507         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3508         overflows but exception would not result from cast.
3509         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
3510         and <limits.h>.
3511         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
3512         overflows but exception would not result from cast.
3513         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
3514         <limits.h>.
3515         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3516         overflows but exception would not result from cast.
3517         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
3518         <limits.h>.
3519         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3520         overflows but exception would not result from cast.
3521         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
3522         <limits.h>.
3523         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
3524         overflows but exception would not result from cast.
3525         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
3526         <limits.h>.
3527         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
3528         overflows but exception would not result from cast.
3529         * math/libm-test.inc (lround_test_data): Add more tests.
3530         (llround_test_data): Likewise.
3532 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
3534         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
3535         (CFLAGS-ialloc.c): Ditto.
3536         (CFLAGS-scheck.c): Ditto.
3538 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
3540         [BZ #19086]
3541         * manual/filesys.texi (Storage Allocation): Fix argument order for
3542         posix_fallocate64.
3544 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3546         [BZ #19085]
3547         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
3548         exponent below 48 inside case for non-overflowing exponent.
3549         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
3551 2015-10-07  Florian Weimer  <fweimer@redhat.com>
3553         * iconvdata/cp737.h (from_idx): Add const.
3554         * iconvdata/cp775.h (from_idx): Likewise.
3556 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
3558         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
3559         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
3560         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
3562         [BZ #19079]
3563         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
3564         file, conditioned on [!_LP64].
3565         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
3566         [!_LP64] (__lround): Do not define as function or alias.
3567         [!_LP64] (lround): Likewise.
3568         [!_LP64] (__lroundl): Likewise.
3569         [!_LP64] (lroundl): Likewise.
3570         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
3571         macro.
3572         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3573         Likewise.
3575 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
3577         * math/libm-test.inc (lrint_test_data): Add more tests.
3578         (llrint_test_data): Likewise.
3579         (lround_test_data): Likewise.
3580         (llround_test_data): Likewise.
3582         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
3583         (llrint_test_data): Add tests used for lrint.
3585         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
3586         test.
3587         * sysdeps/i386/configure: Regenerated.
3588         * sysdeps/i386/i686/multiarch/Makefile
3589         [$(config-cflags-sse4) = yes]: Make code unconditional.
3590         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
3591         Likewise.
3592         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
3593         Likewise.
3594         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
3595         test.
3596         * sysdeps/x86_64/configure: Regenerated.
3597         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
3598         Make code unconditional.
3599         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
3600         Likewise.
3601         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
3602         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
3604         * scripts/rpm2dynsym.sh: Remove file.
3606 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3608         * configure.ac (libc_cv_cxx_thread_local): Define.
3609         * configure: Regenerate.
3610         * config.make.in (have-cxx-thread_local): Define.
3611         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
3612         (LDLIBS-tst-thread_local1): Define.
3613         (tests): Add tst-thread_local1.
3614         [have-cxx-thread_local != yes] (tests-unsupported): Add
3615         tst-thread_local1.
3616         * nptl/tst-thread_local1.cc: New file.
3618 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
3620         [BZ #19078]
3621         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
3622         (u_thres): Likewise.
3623         (__expl): Determine whether to call __kernel_standard_l based on
3624         value of result, not argument.
3626         * math/libm-test.inc (scalb_test_data): Add more expectations for
3627         the "inexact" exception.
3629         [BZ #19077]
3630         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
3631         0.0L for argument 1.0L.
3633         [BZ #19076]
3634         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
3635         constant 0.0L when computing infinite result.
3637 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3639         [BZ #10432]
3640         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
3641         malloc_usable_size.
3643 2015-10-06  Florian Weimer  <fweimer@redhat.com>
3645         [BZ #19018]
3646         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
3647         Mangle function pointer before storing it.
3648         (__call_tls_dtors): Demangle function pointer before calling it.
3650 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3652         [BZ #19012]
3653         * iconv/gconv_db.c (gen_steps): Check for additional errors.
3654         Clean up on failure.
3656 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
3658         [BZ #19071]
3659         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
3660         long int variable to store possibly incremented high part of
3661         mantissa.
3662         * math/libm-test.inc (lround_test_data): Add tests used for
3663         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
3664         for tests requiring 64-bit long.  Do not condition tests on
3665         [TEST_FLOAT] unnecessarily.
3666         (llround_test_data): Add tests used for lround.  Add another
3667         expectation for the "inexact" exception.  Do not condition tests
3668         on [TEST_FLOAT] unnecessarily.
3670         [BZ #887]
3671         [BZ #19049]
3672         [BZ #19050]
3673         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
3674         * sysdeps/ieee754/dbl-64/e_log10.c: Include
3675         <fix-int-fp-convert-zero.h>.
3676         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3677         * sysdeps/ieee754/dbl-64/e_log2.c: Include
3678         <fix-int-fp-convert-zero.h>.
3679         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3680         * sysdeps/ieee754/dbl-64/s_erf.c: Include
3681         <fix-int-fp-convert-zero.h>.
3682         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3683         * sysdeps/ieee754/dbl-64/s_logb.c: Include
3684         <fix-int-fp-convert-zero.h>.
3685         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3686         * sysdeps/ieee754/flt-32/e_log10f.c: Include
3687         <fix-int-fp-convert-zero.h>.
3688         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3689         * sysdeps/ieee754/flt-32/e_log2f.c: Include
3690         <fix-int-fp-convert-zero.h>.
3691         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3692         * sysdeps/ieee754/flt-32/s_erff.c: Include
3693         <fix-int-fp-convert-zero.h>.
3694         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3695         * sysdeps/ieee754/flt-32/s_logbf.c: Include
3696         <fix-int-fp-convert-zero.h>.
3697         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3698         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
3699         <fix-int-fp-convert-zero.h>.
3700         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3701         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
3702         <fix-int-fp-convert-zero.h>.
3703         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
3704         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
3705         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
3706         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
3707         file.
3708         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
3710 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3712         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3714 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
3716         [BZ #19059]
3717         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
3718         overflowing computation.
3719         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3720         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
3721         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3722         Likewise.
3723         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3724         Likewise.
3725         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
3726         Likewise.
3727         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3728         Likewise.
3729         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3730         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3731         Likewise.
3732         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3733         Likewise.
3734         * math/libm-test.inc (nexttoward_test_data): Add more tests.
3736         * nss/rewrite_field.c (__nss_rewrite_field): Use
3737         internal_function.
3738         * nss/valid_field.c (__nss_valid_field): Likewise.
3739         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
3741 2015-10-02  Florian Weimer  <fweimer@redhat.com>
3743         [BZ #18724]
3744         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
3745         (__nss_invalid_field_characters, __nss_valid_field)
3746         (__nss_valid_list_field, __nss_rewrite_field): Declare.
3747         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
3748         tst-field.c: New file.
3749         * nss/Makefile (routines): Add valid_field, rewrite_field.
3750         (tests-static): Define unconditionally.
3751         (tests): Include tests-static.
3752         [build-static-nss] (tests-static): Use append.
3753         [build-static-nss] (tests): Remove modification.
3754         * nss/getent.c (print_group): Call putgrent.  Report error.
3755         (print_gshadow): Call putsgent.  Report error.
3756         (print_passwd): Call putpwent.  Report error.
3757         (print_shadow): Call putspent.  Report error.
3758         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
3759         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
3760         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
3761         name, password, directory, shell fields for valid syntax.  Rewrite
3762         GECOS field to match syntax.
3763         * pwd/Makefile (tests): Add tst-putpwent.
3764         * pwd/tst-putpwent.c: New file.
3765         * grp/putgrent.c (putgrent): Convert to ISO function definition.
3766         Check grName, grpasswd, gr_mem fields for valid syntax.
3767         Change loop variable i to size_t.
3768         * grp/Makefile (tests): Add tst-putgrent.
3769         * grp/tst-putgrent.c: New file.
3770         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
3771         valid syntax.
3772         * shadow/Makefile (tests): Add tst-putspent.
3773         * shadow/tst-putspent.c: New file.
3774         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
3775         sg_mem fields for valid syntax.
3776         * gshadow/Makefile (tests): Add tst-putsgent.
3777         * gshadow/tst-putsgent.c: New file.
3779 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3781         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
3782         assembly instructions.
3784 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3786         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
3787         prefix from operands.
3789 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
3791         [BZ #16347]
3792         [BZ #19046]
3793         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
3794         <libc-internal.h>.
3795         (MAXLGM): Do not use diagnostic control macros.
3796         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
3797         threshold for ldbl-128ibm.
3798         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
3799         instead of multiplying by log then subtracting.
3800         * math/auto-libm-test-in: Add more tests of lgamma.
3801         * math/auto-libm-test-out: Regenerated.
3803         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
3804         (TYPE_HEX_DIG): Likewise.
3805         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
3806         precisions when printing floating-point numbers.
3807         (check_float_internal): Likewise.
3809 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3811         [BZ #16620]
3812         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
3813         of log (10) rounded downward to 48 bits.
3814         (log10_low): Use corresponding low part of log (10).
3816         [BZ #19032]
3817         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
3818         compute result as (x - x) / (x - x) not as 0 / 0.
3819         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3820         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
3822         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3823         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
3824         and expm1.
3825         * math/auto-libm-test-out: Regenerated.
3826         * math/libm-test.inc (acos_test_data): Add more tests.
3827         (asin_test_data): Likewise.
3828         (asinh_test_data): Likewise.
3829         (atan_test_data): Likewise.
3830         (atanh_test_data): Likewise.
3831         (atan2_test_data): Likewise.
3832         (cbrt_test_data): Likewise.
3833         (ceil_test_data): Likewise.
3834         (copysign_test_data): Likewise.
3835         (cos_test_data): Likewise.
3836         (cosh_test_data): Likewise.
3837         (erf_test_data): Likewise.
3838         (erfc_test_data): Likewise.
3839         (exp_test_data): Likewise.
3840         (exp10_test_data): Likewise.
3841         (exp2_test_data): Likewise.
3842         (expm1_test_data): Likewise.
3843         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3845 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
3847         [BZ #19006]
3848         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
3849         to ...
3850         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
3851         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
3852         to ...
3853         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
3854         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
3855         to ...
3856         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
3857         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
3858         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
3859         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
3860         to ...
3861         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
3862         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3863         Moved to ...
3864         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
3865         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3866         Moved to ...
3867         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
3868         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
3869         to ...
3870         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
3871         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3872         Moved to ...
3873         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
3874         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
3875         to ...
3876         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
3877         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
3878         Removed.
3879         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
3880         Likewise.
3881         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
3882         Likewise.
3883         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
3884         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
3885         Likewise.
3886         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3887         Likewise.
3888         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3889         Likewise.
3890         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3891         Likewise.
3892         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3893         Likewise.
3894         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
3895         Likewise.
3896         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
3897         Likewise.
3898         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
3899         Likewise.
3900         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
3901         Likewise.
3902         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
3903         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
3904         Likewise.
3905         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3906         Likewise.
3907         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3908         Likewise.
3909         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3910         Likewise.
3911         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
3912         Likewise.
3913         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3914         Replace ../i486/pthread_cond_timedwait.S with
3915         ../pthread_cond_timedwait.S.
3917 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
3919         * math/libm-test.inc (acos_test_data): Refine expectations for
3920         errno and "inexact" exceptions.
3921         (acosh_test_data): Likewise.
3922         (asin_test_data): Likewise.
3923         (asinh_test_data): Likewise.
3924         (atan_test_data): Likewise.
3925         (atanh_test_data): Likewise.
3926         (atan2_test_data): Likewise.
3927         (cbrt_test_data): Likewise.
3928         (ceil_test_data): Likewise.
3929         (copysign_test_data): Likewise.
3930         (cosh_test_data): Likewise.
3931         (erf_test_data): Likewise.
3932         (erfc_test_data): Likewise.
3933         (exp_test_data): Likewise.
3934         (exp10_test_data): Likewise.
3935         (exp2_test_data): Likewise.
3936         (expm1_test_data): Likewise.
3937         (fabs_test_data): Likewise.
3938         (floor_test_data): Likewise.
3939         (fma_test_data): Likewise.
3940         (fmax_test_data): Likewise.
3941         (fmin_test_data): Likewise.
3942         (fmod_test_data): Likewise.
3943         (fpclassify_test_data): Likewise.
3944         (frexp_test_data): Likewise.
3945         (hypot_test_data): Likewise.
3946         (ilogb_test_data): Likewise.
3947         (isgreater_test_data): Likewise.
3948         (isgreaterequal_test_data): Likewise.
3949         (isinf_test_data): Likewise.
3950         (isless_test_data): Likewise.
3951         (islessequal_test_data): Likewise.
3952         (islessgreater_test_data): Likewise.
3953         (isnan_test_data): Likewise.
3954         (isnormal_test_data): Likewise.
3955         (issignaling_test_data): Likewise.
3956         (isunordered_test_data): Likewise.
3957         (j0_test_data): Likewise.
3958         (j1_test_data): Likewise.
3959         (jn_test_data): Likewise.
3960         (lgamma_test_data): Likewise.
3961         (lrint_test_data): Likewise.
3962         (llrint_test_data): Likewise.
3963         (log_test_data): Likewise.
3964         (log10_test_data): Likewise.
3965         (log1p_test_data): Likewise.
3966         (log2_test_data): Likewise.
3967         (logb_test_data): Likewise.
3968         (lround_test_data): Likewise.
3969         (llround_test_data): Likewise.
3970         (modf_test_data): Likewise.
3971         (nearbyint_test_data): Likewise.
3972         (nextafter_test_data): Likewise.
3973         (nexttoward_test_data): Likewise.
3974         (pow_test_data): Likewise.
3975         (remainder_test_data): Likewise.
3976         (remquo_test_data): Likewise.
3977         (rint_test_data): Likewise.
3978         (round_test_data): Likewise.
3979         (signbit_test_data): Likewise.
3980         (sinh_test_data): Likewise.
3981         (sqrt_test_data): Likewise.
3982         (tanh_test_data): Likewise.
3983         (tgamma_test_data): Likewise.
3984         (trunc_test_data): Likewise.
3985         (y0_test_data): Likewise.
3986         (y1_test_data): Likewise.
3987         (yn_test_data): Likewise.
3988         (significand_test_data): Likewise.
3990 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
3992         * manual/filesys.texi (Storage Allocation): Document that
3993         posix_fallocate emulation fails when fd is open with O_WRONLY.
3995 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
3997         [BZ #19016]
3998         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
3999         allow more cases with X^2 + Y^2 >= 0.5.
4000         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
4001         normal element in sum instead of special-casing based on values of
4002         arguments.
4003         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
4004         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
4005         -1 as normal element in sum instead of special-casing based on
4006         values of arguments.
4007         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
4008         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
4009         (__x2y2m1): Update comment.
4010         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
4011         as normal element in sum instead of special-casing based on values
4012         of arguments.
4013         * math/s_clog.c (__clog): Handle more cases using log1p without
4014         hypot.
4015         * math/s_clog10.c (__clog10): Likewise.
4016         * math/s_clog10f.c (__clog10f): Likewise.
4017         * math/s_clog10l.c (__clog10l): Likewise.
4018         * math/s_clogf.c (__clogf): Likewise.
4019         * math/s_clogl.c (__clogl): Likewise.
4020         * math/auto-libm-test-in: Add more tests of clog and clog10.
4021         * math/auto-libm-test-out: Regenerated.
4022         * sysdeps/i386/fpu/libm-test-ulps: Update.
4023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4025 2015-09-28  Martin Sebor  <msebor@redhat.com>
4027         [BZ #18969]
4028         * string/Makefile (LOCALES): Define.
4029         (gen-locales.mk): Include.
4030         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
4031         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
4032         * string/tst-strxfrm2.c (do_test): Print the name of the locale
4033         on setlocale failure.
4035 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4037         [BZ #18985]
4038         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
4039         (__strftime_internal): Likewise.
4040         * time/tst-strftime.c (do_bz18985): New test.
4041         (do_test): Call it.
4043 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
4045         [BZ #18956]
4046         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
4047         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
4048         extracting high part.
4049         * math/auto-libm-test-in: Add another test of pow.
4050         * math/auto-libm-test-out: Regenerated.
4051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4053 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4055         [BZ #18825]
4056         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
4057         New macro.
4058         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
4059         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4060         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
4061         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
4062         DBL_NARROW_EVAL, reloading the PIC register as needed.
4063         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
4064         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
4065         FLT_NARROW_EVAL.  Use separate return path for case when first
4066         argument is NaN.
4067         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
4068         DEFINE_LDBL_MIN.
4069         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
4070         PIC register.
4071         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
4072         math_check_force_underflow_nonneg.
4073         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
4074         underflow for subnormal result.
4075         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
4076         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
4077         math_check_force_underflow_nonneg.
4078         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
4079         math_check_force_underflow.
4080         * sysdeps/x86_64/fpu/x86_64-math-asm.h
4081         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
4082         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
4083         DEFINE_LDBL_MIN.
4084         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
4085         * math/auto-libm-test-in: Add more tests of pow.
4086         * math/auto-libm-test-out: Regenerated.
4088 2015-09-25  Florian Weimer  <fweimer@redhat.com>
4090         * nss/bug17079.c (init_test_items): Add diagnostic for
4091         inconsistent entries.
4092         (test_buffer_size): Skip inconsistent entries.
4094 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
4096         [BZ #13304]
4097         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
4098         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
4099         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
4101         [BZ #13304]
4102         * sysdeps/microblaze/s_fma.c: New file.
4103         * sysdeps/microblaze/s_fmaf.c: Likewise.
4104         * sysdeps/microblaze/sfp-machine.h: Likewise.
4106 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
4108         [BZ #17250]
4109         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
4110         member.
4112 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4114         [BZ #18803]
4115         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
4116         (MO): New macro.
4117         (__ieee754_hypot) [PIC]: Load PIC register.
4118         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
4119         DBL_NARROW_EVAL.
4120         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
4121         math_check_force_underflow_nonneg in case where result might be
4122         tiny.
4123         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4124         Likewise.
4125         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4126         Likewise.
4127         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
4128         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
4129         * math/auto-libm-test-in: Add more tests of hypot.
4130         * math/auto-libm-test-out: Regenerated.
4132 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
4134         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
4136 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
4138         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
4139         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
4140         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4141         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4142         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
4143         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4144         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4146         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
4147         LOAD_PIC_REG.
4149         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
4150         (FLT_CHECK_FORCE_UFLOW): Likewise.
4151         (DBL_CHECK_FORCE_UFLOW): Likewise.
4152         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
4153         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
4154         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
4155         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4156         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
4157         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4158         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4159         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
4160         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
4161         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4162         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
4163         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
4164         (flt_min): Replace with use of DEFINE_FLT_MIN.
4165         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
4166         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
4167         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4168         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
4169         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
4170         (flt_min): Replace with use of DEFINE_FLT_MIN.
4171         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
4172         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
4173         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4174         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
4175         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
4176         (flt_min): Replace with use of DEFINE_FLT_MIN.
4177         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
4178         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
4179         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
4180         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
4181         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
4182         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
4183         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
4184         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
4185         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4186         (__atan): Use DBL_CHECK_FORCE_UFLOW.
4187         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
4188         (flt_min): Replace with use of DEFINE_FLT_MIN.
4189         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
4190         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
4191         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4192         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
4193         main computation.
4194         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
4195         (flt_min): Replace with use of DEFINE_FLT_MIN.
4196         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
4197         main computation.
4198         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
4199         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4200         (MO): New macro.
4201         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
4202         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
4203         (flt_min): Replace with use of DEFINE_FLT_MIN.
4204         (MO): New macro.
4205         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
4206         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
4207         (__log1pl): Use MO.
4209         [BZ #19003]
4210         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
4211         $(config-cflags-nofma).
4213 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4215         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4217 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
4219         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
4220         (TWO127): Likewise.
4222         * sysdeps/generic/math_private.h (fabs_tg): New macro.
4223         (min_of_type): Likewise.
4224         (math_check_force_underflow): Likewise.
4225         (math_check_force_underflow_nonneg): Likewise.
4226         (math_check_force_underflow_complex): Likewise.
4227         * math/e_exp2l.c (__ieee754_exp2l): Use
4228         math_check_force_underflow_nonneg.
4229         * math/k_casinh.c (__kernel_casinh): Likewise.
4230         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4231         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4232         * math/s_catan.c (__catan): Use
4233         math_check_force_underflow_complex.
4234         * math/s_catanf.c (__catanf): Likewise.
4235         * math/s_catanh.c (__catanh): Likewise.
4236         * math/s_catanhf.c (__catanhf): Likewise.
4237         * math/s_catanhl.c (__catanhl): Likewise.
4238         * math/s_catanl.c (__catanl): Likewise.
4239         * math/s_ccosh.c (__ccosh): Likewise.
4240         * math/s_ccoshf.c (__ccoshf): Likewise.
4241         * math/s_ccoshl.c (__ccoshl): Likewise.
4242         * math/s_cexp.c (__cexp): Likewise.
4243         * math/s_cexpf.c (__cexpf): Likewise.
4244         * math/s_cexpl.c (__cexpl): Likewise.
4245         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
4246         * math/s_clog10.c (__clog10): Likewise.
4247         * math/s_clog10f.c (__clog10f): Likewise.
4248         * math/s_clog10l.c (__clog10l): Likewise.
4249         * math/s_clogf.c (__clogf): Likewise.
4250         * math/s_clogl.c (__clogl): Likewise.
4251         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
4252         * math/s_csinf.c (__csinf): Likewise.
4253         * math/s_csinh.c (__csinh): Likewise.
4254         * math/s_csinhf.c (__csinhf): Likewise.
4255         * math/s_csinhl.c (__csinhl): Likewise.
4256         * math/s_csinl.c (__csinl): Likewise.
4257         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
4258         * math/s_csqrtf.c (__csqrtf): Likewise.
4259         * math/s_csqrtl.c (__csqrtl): Likewise.
4260         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
4261         * math/s_ctanf.c (__ctanf): Likewise.
4262         * math/s_ctanh.c (__ctanh): Likewise.
4263         * math/s_ctanhf.c (__ctanhf): Likewise.
4264         * math/s_ctanhl.c (__ctanhl): Likewise.
4265         * math/s_ctanl.c (__ctanl): Likewise.
4266         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
4267         instead of volatile.
4268         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
4269         math_check_force_underflow.
4270         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4271         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
4272         volatile when forcing underflow.
4273         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
4274         math_check_force_underflow_nonneg.
4275         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
4276         Likewise.
4277         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
4278         math_check_force_underflow.
4279         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4280         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4281         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4282         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
4283         math_check_force_underflow_nonneg.
4284         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
4285         math_check_force_underflow.
4286         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
4287         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
4288         instead of volatile.
4289         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
4290         math_check_force_underflow.
4291         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4292         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4293         math_check_force_underflow_nonneg.
4294         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
4295         math_check_force_underflow.
4296         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
4297         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4298         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
4299         math_check_force_underflow_nonneg.
4300         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4301         Likewise.
4302         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
4303         math_check_force_underflow.
4304         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4305         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4306         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
4307         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
4308         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
4309         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
4310         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
4311         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
4312         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4313         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
4314         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
4315         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
4316         Likewise.
4317         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
4318         math_check_force_underflow_nonneg.
4319         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4320         Likewise.
4321         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
4322         math_check_force_underflow.
4323         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4324         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
4325         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
4326         Likewise.
4327         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
4328         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
4329         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
4330         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
4331         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
4332         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
4333         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
4334         instead of volatile.
4335         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
4336         math_check_force_underflow.
4337         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
4338         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
4339         math_check_force_underflow.
4340         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
4341         Likewise.
4342         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4343         Use math_check_force_underflow_nonneg.
4344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
4345         math_check_force_underflow.
4346         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4347         Likewise.
4348         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
4349         Likewise.
4350         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4351         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4352         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4353         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4354         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
4355         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4356         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
4357         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
4358         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
4359         math_check_force_underflow_nonneg.
4360         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
4361         math_check_force_underflow.
4362         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4363         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
4364         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
4365         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
4366         math_check_force_underflow_nonneg.
4367         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
4368         math_check_force_underflow.
4369         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
4370         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
4371         instead of volatile.
4372         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
4373         math_check_force_underflow.
4375         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
4376         * stdlib/strtod_l.c: Include <math_private.h>.
4377         (overflow_value): Use math_narrow_eval.
4378         (underflow_value): Likewise.
4379         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4380         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
4381         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
4382         (__ieee754_gamma_r): Likewise.
4383         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
4384         Likewise.
4385         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4386         Likewise.
4387         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
4388         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
4389         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
4390         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
4391         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
4392         (__ieee754_gammaf_r): Likewise.
4393         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4394         Likewise.
4395         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
4396         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
4397         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
4398         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
4399         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
4400         volatile.
4401         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
4402         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
4403         math_narrow_eval.
4404         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
4405         Likewise.
4406         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4407         Likewise.
4408         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
4409         Likewise.
4410         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
4411         volatile.
4412         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
4413         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
4414         math_narrow_eval.
4415         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4416         Likewise.
4417         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4418         Likewise.
4420 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
4422         * nptl/Versions: Remove ignored symbols.
4424 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4426         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
4427         * nss/Makefile (tests): Update.
4429 2015-09-22  Florian Weimer  <fweimer@redhat.com>
4431         * nss/bug18287.c: New file.
4432         * nss/Makefile (tests): Add bug18287.
4434 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4436         * mach/Versions (__mach_host_self_): Add symbol.
4438 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4440         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
4441         vm_page_size.
4443 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4445         Really fix sysdeps/i386/fpu/s_scalbn.S build
4447         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
4448         (libc: GLIBC_2_22): Remove unused version set.
4450 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4452         * config.make.in (enable-timezone-tools): New variable.
4453         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
4454         (enable_timezone_tools): Export to generated files.
4455         * configure: Regenerate.
4456         * INSTALL: Regenerate.
4457         * manual/install.texi (--disable-timezone-tools): Document new flag.
4458         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
4459         ifeq ($(enable-timezone-tools),yes) check.
4461 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4463         * timezone/Makefile: Revert previous change.
4465         [BZ #18980]
4466         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
4467         (DEFINE_DBL_MIN): Likewise.
4468         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4469         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
4470         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4471         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
4472         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
4473         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4474         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4475         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
4476         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
4477         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4478         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4479         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
4480         (flt_min): Replace with use of DEFINE_FLT_MIN.
4481         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4482         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
4483         (dbl_min): Replace with use of DEFINE_DBL_MIN.
4484         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
4485         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
4486         (flt_min): Replace with use of DEFINE_FLT_MIN.
4487         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4488         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
4489         (flt_min): Replace with use of DEFINE_FLT_MIN.
4490         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
4491         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
4492         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
4493         (__ieee754_hypot): Use DBL_NARROW_EVAL.
4494         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
4495         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
4496         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
4497         (__ieee754_pow): Use DBL_NARROW_EVAL.
4498         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
4499         (__ieee754_powf): Use FLT_NARROW_EVAL.
4500         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
4501         (__ieee754_expf_sse2): Convert double-precision result to single
4502         precision.
4503         * sysdeps/i386/fpu/libm-test-ulps: Update.
4505 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4507         * timezone/Makefile: Ignore unused variable errors due to private.h
4508         (time_t_min) and (time_t_max).
4509         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
4510         Likewise.
4512 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4514         [BZ #18981]
4515         * sysdeps/i386/fpu/i386-math-asm.h: New file.
4516         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
4517         (__ieee754_scalb): Use DBL_NARROW_EVAL.
4518         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
4519         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
4520         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
4521         (__scalbn): Use DBL_NARROW_EVAL.
4522         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
4523         (__scalbnf): Use FLT_NARROW_EVAL.
4525 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4527         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
4528         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
4529         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
4530         * stdio-common/printf_fp.c (___printf_fp):
4531         Use signbit to get the sign. Use isinf macro to allow inlining.
4532         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
4533         * stdio-common/printf_size.c (__printf_size): Likewise.
4535 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
4537         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
4539 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
4541         [BZ #18980]
4542         * sysdeps/generic/math_private.h: Include <float.h>.
4543         (math_narrow_eval): New macro.
4544         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
4545         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
4546         math_narrow_eval on overflowing return value.
4547         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
4548         Likewise.
4549         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4550         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
4551         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
4552         Likewise.
4553         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
4555 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4557         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
4558         * math/Makefile: Remove isinf_ns.c.
4559         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
4560         * math/multc3.c (__multc3): Likewise.
4561         * math/s_casin.c (__casin): Likewise.
4562         * math/s_casinf.c (__casinf): Likewise.
4563         * math/s_casinl.c (__casinl): Likewise.
4564         * math/s_cproj.c (__cproj): Likewise.
4565         * math/s_cprojf.c (__cprojf): Likewise.
4566         * math/s_cprojl.c (__cprofl): Likewise.
4567         * math/s_ctan.c (__ctan): Likewise.
4568         * math/s_ctanf.c (__ctanf): Likewise.
4569         * math/s_ctanh.c (__ctanh): Likewise.
4570         * math/s_ctanhf.c (__ctanhf): Likewise.
4571         * math/s_ctanhl.c (__ctanhl): Likewise.
4572         * math/s_ctanl.c (__ctanl): Likewise.
4573         * math/w_fmod.c (__fmod): Likewise.
4574         * math/w_fmodf.c (__fmodf): Likewise.
4575         * math/w_fmodl.c (_fmodl): Likewise.
4576         * math/w_remainder.c (__remainder): Likewise.
4577         * math/w_remainderf.c (__remainderf): Likewise.
4578         * math/w_remainderl.c (__remainderl): Likewise.
4579         * math/w_scalb.c (__scalb): Likewise.
4580         * math/w_scalbf.c (__scalbf): Likewise.
4581         * math/w_scalbl.c (__scalbl): Likewise.
4582         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
4583         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
4584         with isinf.
4585         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
4586         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
4587         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
4588         __isinf_nsf with isinf.
4589         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
4590         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
4591         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
4592         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
4593         with isinf.
4594         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
4595         __isinf_nsl with isinf.
4596         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
4597         with isinf.
4598         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
4599         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
4600         __isinf_nsl with isinf.
4601         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
4602         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
4603         with isinf.
4605 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4607         * resolv/base64.c (rcsid): Remove unused static.
4608         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
4609         static.  (tqpi1): Likewise.
4610         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
4611         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
4612         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
4613         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
4614         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
4615         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
4616         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
4617         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
4618         Likewise.
4620 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
4622         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
4623         <nptl/pthreadP.h>.
4624         (_longjmp_unwind): Use __libc_ptf_call.
4625         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
4627 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
4629         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
4630         * sysdeps/arm/__longjmp.S: Likewise
4632 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4634         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
4635         Use __builtin_signbit.
4636         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
4637         Use __builtin_signbitf.
4638         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
4639         Use __builtin_signbitl.
4640         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4641         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
4643 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4645         [BZ #15367]
4646         [BZ #17441]
4648         * math/Makefile: Build test-snan.c with -fsignaling-nans.
4649         * math/math.h (fpclassify): Use __builtin_fpclassify when
4650         available.  (signbit): Use __builtin_signbit(f/l).
4651         (isfinite): Use__builtin_isfinite.  (isnormal): Use
4652         __builtin_isnormal.  (isnan): Use __builtin_isnan.
4653         (isinf): Use __builtin_isinf_sign.
4655 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
4657         * benchtests/Makefile: Add bench-math-inlines, link with libm.
4658         * benchtests/bench-math-inlines.c: New benchmark.
4659         * benchtests/bench-util.h: New file.
4660         * benchtests/bench-util.c: New file.
4661         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
4663 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
4665         * elf/tst-dlmopen1.c: Define TEST_SO.
4666         (do_test): Use TEST_SO.
4668         * elf/dl-load.c: Include libc-internal.h.
4669         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
4671 2015-09-18  Vincent Bernat  <vincent@bernat.im>
4673         [BZ #17887]
4674         * time/strptime_l.c (__strptime_internal): Make %z accept
4675         [+-]HH:MM time zones.
4677 2015-09-18  Vincent Bernat  <vincent@bernat.im>
4679         [BZ #17886]
4680         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
4681         valid time zone.
4683 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
4685         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
4686         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
4687         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4688         (__ASSUME_FDATASYNC): Delete.
4690 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4692         * conform/linknamespace.pl: Require weak undefined symbols to be
4693         in the standard namespace.
4694         (%strong_syms): Rename to %seen_syms.
4695         (%strong_seen): Rename to %seen_where.
4697 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
4699         [BZ #18970]
4700         * misc/error.c (error): Replace pthread_setcancelstate with
4701         __pthread_setcancelstate.
4702         (error_at_line): Likewise.
4703         * posix/wordexp.c (parse_comm): Likewise.
4704         * stdlib/fmtmsg.c (fmtmsg): Likewise.
4705         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
4706         (__pthread_setcancelstate): This.
4707         (pthread_setcancelstate): Add an alias.
4708         * nptl/nptl-init.c (pthread_functions): Replace
4709         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
4710         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
4711         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
4712         hidden_proto.
4713         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
4714         it with hidden_def.
4715         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
4716         (pthread_setcancelstate): Renamed to ...
4717         (__pthread_setcancelstate): This.
4718         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
4719         __libc_ptf_call with __pthread_setcancelstate.
4721 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4722             Andreas Schwab  <schwab@suse.de>
4724         [BZ #17118]
4725         * math/s_ctan.c (__ctan): Determine sign of zero real part of
4726         result when imaginary part of argument is infinite using sine and
4727         cosine.
4728         * math/s_ctanf.c (__ctanf): Likewise.
4729         * math/s_ctanl.c (__ctanl): Likewise.
4730         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
4731         of result when real part of argument is infinite using sine and
4732         cosine.
4733         * math/s_ctanhf.c (__ctanhf): Likewise.
4734         * math/s_ctanhl.c (__ctanhl): Likewise.
4735         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
4736         (ctanh_test_data): Add more tests of ctanh.
4738 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
4740         [BZ #15384]
4741         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
4742         bit-mask as in subtraction.
4743         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
4744         Likewise.
4745         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
4746         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
4747         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
4749         [BZ #18951]
4750         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
4751         underflow exception for small results.
4752         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
4753         Likewise.
4754         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
4755         Likewise.
4756         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4757         Likewise.
4758         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4759         Likewise.
4760         * math/auto-libm-test-in: Add more tests of tgamma.
4761         * math/auto-libm-test-out: Regenerated.
4763 2015-09-17  Andreas Schwab  <schwab@suse.de>
4765         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
4767 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
4769         [BZ #18977]
4770         * math/bits/mathcalls.h
4771         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
4772         not declare.
4773         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
4774         Likewise.
4775         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
4776         Likewise.
4777         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
4778         Likewise.
4779         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
4780         Likewise.
4781         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
4782         Likewise.
4783         * conform/data/math.h-data
4784         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
4785         function.
4786         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
4787         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
4788         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
4789         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
4790         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
4791         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
4792         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
4793         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
4794         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
4795         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
4796         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
4798         [BZ #6803]
4799         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
4800         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
4801         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
4802         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
4803         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
4804         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
4805         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
4806         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
4807         [NO_LONG_DOUBLE] (scalbnl): Likewise.
4808         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
4809         Likewise.
4810         [NO_LONG_DOUBLE] (scalbnl): Likewise.
4811         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
4812         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
4813         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
4814         long_double_symbol calls.
4815         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
4816         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
4817         strong alias of __ldexpl.
4818         (scalbnl): Define using long_double_symbol.
4819         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
4820         Remove alias.
4821         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
4822         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
4823         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
4824         (scalbln_test_data): Add more errno expectations.
4826 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
4828         Cache the host port like we cache the task port.  This way we do not
4829         need to call the kernel just to get the port.  Furthermore, we no
4830         longer increase the reference count on every invocation of
4831         `mach_host_self'.
4833         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
4834         Protect declarations against the macro expansion.
4835         * mach/mach_init.c (__mach_host_self_): New variable.
4836         (mach_init): Initialize `__mach_host_self_'.
4837         * mach/mach_init.h (__mach_host_self_): New declaration.
4838         (__mach_host_self, mach_host_self): New macros.
4839         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
4840         Release reference.
4842 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
4844         [BZ #4404]
4845         * po/de.po: Update from Translation Project.
4847         [BZ #16415]
4848         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
4849         (__expm1l): Remove code to handle positive infinity and overflow.
4850         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
4851         variable.
4852         (__expm1l): Remove code to handle positive infinity and overflow.
4854 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
4855             Paul Pluzhnikov  <ppluzhnikov@google.com>
4857         [BZ #18872]
4858         * stdio-common/Makefile (tst-printf-bz18872): New test.
4859         (tst-printf-bz18872-mem.out): Likewise.
4860         * stdio-common/tst-printf-bz18872.sh: Generate new test.
4861         * stdio-common/vfprintf.c: Fix memory leaks.
4863 2015-09-16  Andreas Schwab  <schwab@suse.de>
4865         [BZ #17244]
4866         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
4867         Remove extra va_start/va_end calls.
4869         [BZ #17243]
4870         * posix/execl.c (execl): Add missing va_end.
4871         * posix/execle.c (execle): Likewise.
4872         * posix/execlp.c (execlp): Likewise.
4874 2015-09-15  Roland McGrath  <roland@hack.frob.com>
4876         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
4877         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
4879 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
4881         [BZ #18967]
4882         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
4883         undefine around includes of <bits/mathcalls.h>.
4884         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
4885         not declare function.
4886         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
4887         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
4888         (scalb): Likewise.
4889         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
4890         not define macro.
4891         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
4892         variable.
4893         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
4894         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
4895         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
4897         [BZ #18857]
4898         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
4899         return non-finite argument without doing ordered comparisons on
4900         it.
4902         [BZ #16296]
4903         * math/fenv.h (fegetround): Use __attribute_pure__.
4904         * include/fenv.h (__fegetround): Likewise.
4906         [BZ #18595]
4907         * math/s_ctan.c (__ctan): Force underflow exception for results
4908         whose real or imaginary part has small absolute value.
4909         * math/s_ctanf.c (__ctanf): Likewise.
4910         * math/s_ctanh.c (__ctanh): Likewise.
4911         * math/s_ctanhf.c (__ctanhf): Likewise.
4912         * math/s_ctanhl.c (__ctanhl): Likewise.
4913         * math/s_ctanl.c (__ctanl): Likewise.
4914         * math/auto-libm-test-in: Do not allow missing underflow for ctan
4915         and ctanh.  Add more tests of ctan and ctanh.
4917         [BZ #15918]
4918         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
4919         handling of cases where one argument is an infinity.
4921         [BZ #18875]
4922         [BZ #18966]
4923         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
4924         (MO): New macro.
4925         (__ieee754_exp10): For small results, force underflow exception
4926         and remove excess range and precision from return value.
4927         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
4928         (MO): New macro.
4929         (__ieee754_exp10f): For small results, force underflow exception
4930         and remove excess range and precision from return value.
4931         * math/auto-libm-test-in: Add more tests of exp10.
4932         * math/auto-libm-test-out: Regenerated.
4934 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
4936         [BZ #18875]
4937         [BZ #18961]
4938         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
4939         (MO): New macro.
4940         (__ieee754_exp): For small results, force underflow exception and
4941         remove excess range and precision from return value.
4942         (__exp_finite): Likewise.
4943         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
4944         (MO): New macro.
4945         (__ieee754_expf): For small results, force underflow exception and
4946         remove excess range and precision from return value.
4947         (__expf_finite): Likewise.
4948         * math/auto-libm-test-in: Add more tests of exp.
4949         * math/auto-libm-test-out: Regenerated.
4951         [BZ #16521]
4952         [BZ #18875]
4953         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
4954         small results.
4955         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
4956         (MO): New macro.
4957         (__ieee754_exp2): For small results, force underflow exception and
4958         remove excess range and precision from return value.
4959         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
4960         (MO): New macro.
4961         (__ieee754_exp2f): For small results, force underflow exception
4962         and remove excess range and precision from return value.
4963         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
4964         (MO): New macro.
4965         (__ieee754_exp2l): Force underflow exception for small results.
4966         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4967         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4968         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
4969         (MO): New macro.
4970         (__ieee754_exp2l): Force underflow exception for small results.
4971         * math/auto-libm-test-in: Add more tests or exp2.
4972         * math/auto-libm-test-out: Regenerated.
4974 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
4976         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
4978         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
4979         /dev/null.
4981 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4983         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
4984         io fs process)): Drop spurious backslash.
4986 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4988         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
4989         Use sysinfo system call instead of parsing /proc/meminfo.
4990         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
4991         Likewise.
4993 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
4995         [BZ #16985]
4996         * programs/localedef.c (main): Display argv[remaining] when
4997         output_path is NULL.
4999 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5001         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5002         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
5003         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
5004         tanh.
5005         * math/auto-libm-test-out: Regenerated.
5006         * sysdeps/i386/fpu/libm-test-ulps: Update.
5007         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5008         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5011 2015-09-11  Roland McGrath  <roland@hack.frob.com>
5013         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
5014         Use 'override' keyword to freeze the value here, preventing
5015         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
5017 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
5019         [BZ #14912]
5020         * sysdeps/aarch64/bits/atomic.h: Move to ...
5021         * sysdeps/aarch64/atomic-machine.h: ...here.
5022         (_AARCH64_BITS_ATOMIC_H): Rename macro to
5023         _AARCH64_ATOMIC_MACHINE_H.
5024         * sysdeps/alpha/bits/atomic.h: Move to ...
5025         * sysdeps/alpha/atomic-machine.h: ...here.
5026         * sysdeps/arm/bits/atomic.h: Move to ...
5027         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
5028         * bits/atomic.h: Move to ...
5029         * sysdeps/generic/atomic-machine.h: ...here.
5030         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5031         * sysdeps/i386/bits/atomic.h: Move to ...
5032         * sysdeps/i386/atomic-machine.h: ...here.
5033         * sysdeps/ia64/bits/atomic.h: Move to ...
5034         * sysdeps/ia64/atomic-machine.h: ...here.
5035         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
5036         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
5037         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5038         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
5039         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
5040         * sysdeps/microblaze/bits/atomic.h: Move to ...
5041         * sysdeps/microblaze/atomic-machine.h: ...here.
5042         * sysdeps/mips/bits/atomic.h: Move to ...
5043         * sysdeps/mips/atomic-machine.h: ...here.
5044         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
5045         * sysdeps/powerpc/bits/atomic.h: Move to ...
5046         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
5047         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
5048         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
5049         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
5050         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
5051         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
5052         <atomic-machine.h> instead of <bits/atomic.h>.
5053         * sysdeps/s390/bits/atomic.h: Move to ...
5054         * sysdeps/s390/atomic-machine.h: ...here.
5055         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
5056         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
5057         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5058         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
5059         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
5060         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
5061         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
5062         * sysdeps/tile/bits/atomic.h: Move to ...
5063         * sysdeps/tile/atomic-machine.h: ...here.
5064         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
5065         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
5066         <sysdeps/tile/atomic-machine.h> instead of
5067         <sysdeps/tile/bits/atomic.h>.
5068         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5069         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
5070         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
5071         <sysdeps/tile/atomic-machine.h> instead of
5072         <sysdeps/tile/bits/atomic.h>.
5073         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5074         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
5075         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
5076         <sysdeps/arm/atomic-machine.h> instead of
5077         <sysdeps/arm/bits/atomic.h>.
5078         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
5079         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
5080         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5081         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
5082         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
5083         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
5084         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
5085         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
5086         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
5087         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
5088         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
5089         * sysdeps/x86_64/bits/atomic.h: Move to ...
5090         * sysdeps/x86_64/atomic-machine.h: ...here.
5091         * include/atomic.h: Include <atomic-machine.h> instead of
5092         <bits/atomic.h>.
5094         * sysdeps/mips/mips32/libm-test-ulps: Update.
5095         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5097         [BZ #18952]
5098         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
5099         not convert non-integer negative arguments to int to determine the
5100         value of signgam.
5101         * math/auto-libm-test-in: Add more tests of lgamma.
5102         * math/auto-libm-test-out: Regenerated.
5104         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
5105         cosh, csqrt, erfc, expm1 and lgamma.
5106         * math/auto-libm-test-out: Regenerated.
5107         * sysdeps/i386/fpu/libm-test-ulps: Update.
5108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5110 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
5112         [BZ #2542]
5113         [BZ #2543]
5114         [BZ #2558]
5115         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
5116         __lgamma_neg for arguments from -28.0 to -2.0.
5117         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
5118         __lgamma_negf for arguments from -15.0 to -2.0.
5119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5120         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
5121         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
5122         Call __lgamma_negl for arguments from -33.0 to -2.0.
5123         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
5124         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
5125         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
5126         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
5127         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5128         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
5129         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
5130         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
5131         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
5132         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
5133         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
5134         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
5135         (__lgamma_neg): Likewise.
5136         (__lgamma_negl): Likewise.
5137         (__lgamma_product): Likewise.
5138         (__lgamma_productl): Likewise.
5139         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
5140         * math/auto-libm-test-in: Add more tests of lgamma.
5141         * math/auto-libm-test-out: Regenerated.
5142         * sysdeps/i386/fpu/libm-test-ulps: Update.
5143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5145 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
5147         [BZ #18675]
5148         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
5150 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
5152         [BZ #14912]
5153         * bits/libc-lock.h: Move to ...
5154         * sysdeps/generic/libc-lock.h: ...here.
5155         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5156         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
5157         * sysdeps/mach/hurd/libc-lock.h: ...here.
5158         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5159         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
5160         * sysdeps/mach/bits/libc-lock.h: Move to ...
5161         * sysdeps/mach/libc-lock.h: ...here.
5162         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5163         * sysdeps/nptl/bits/libc-lock.h: Move to ...
5164         * sysdeps/nptl/libc-lock.h: ...here.
5165         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
5166         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
5167         * sysdeps/nptl/libc-lockP.h: ...here.
5168         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
5169         * crypt/crypt_util.c: Include <libc-lock.h> instead of
5170         <bits/libc-lock.h>.
5171         * dirent/scandir-tail.c: Likewise.
5172         * dlfcn/dlerror.c: Likewise.
5173         * elf/dl-close.c: Likewise.
5174         * elf/dl-iteratephdr.c: Likewise.
5175         * elf/dl-lookup.c: Likewise.
5176         * elf/dl-open.c: Likewise.
5177         * elf/dl-support.c: Likewise.
5178         * elf/dl-writev.h: Likewise.
5179         * elf/rtld.c: Likewise.
5180         * grp/fgetgrent.c: Likewise.
5181         * gshadow/fgetsgent.c: Likewise.
5182         * gshadow/sgetsgent.c: Likewise.
5183         * iconv/gconv_conf.c: Likewise.
5184         * iconv/gconv_db.c: Likewise.
5185         * iconv/gconv_dl.c: Likewise.
5186         * iconv/gconv_int.h: Likewise.
5187         * iconv/gconv_trans.c: Likewise.
5188         * include/link.h: Likewise.
5189         * inet/getnameinfo.c: Likewise.
5190         * inet/getnetgrent.c: Likewise.
5191         * inet/getnetgrent_r.c: Likewise.
5192         * intl/bindtextdom.c: Likewise.
5193         * intl/dcigettext.c: Likewise.
5194         * intl/finddomain.c: Likewise.
5195         * intl/gettextP.h: Likewise.
5196         * intl/loadmsgcat.c: Likewise.
5197         * intl/localealias.c: Likewise.
5198         * intl/textdomain.c: Likewise.
5199         * libidn/idn-stub.c: Likewise.
5200         * libio/libioP.h: Likewise.
5201         * locale/duplocale.c: Likewise.
5202         * locale/freelocale.c: Likewise.
5203         * locale/newlocale.c: Likewise.
5204         * locale/setlocale.c: Likewise.
5205         * login/getutent_r.c: Likewise.
5206         * login/getutid_r.c: Likewise.
5207         * login/getutline_r.c: Likewise.
5208         * login/utmp-private.h: Likewise.
5209         * login/utmpname.c: Likewise.
5210         * malloc/mtrace.c: Likewise.
5211         * misc/efgcvt.c: Likewise.
5212         * misc/error.c: Likewise.
5213         * misc/fstab.c: Likewise.
5214         * misc/getpass.c: Likewise.
5215         * misc/mntent.c: Likewise.
5216         * misc/syslog.c: Likewise.
5217         * nis/nis_call.c: Likewise.
5218         * nis/nis_callback.c: Likewise.
5219         * nis/nss-default.c: Likewise.
5220         * nis/nss_compat/compat-grp.c: Likewise.
5221         * nis/nss_compat/compat-initgroups.c: Likewise.
5222         * nis/nss_compat/compat-pwd.c: Likewise.
5223         * nis/nss_compat/compat-spwd.c: Likewise.
5224         * nis/nss_nis/nis-alias.c: Likewise.
5225         * nis/nss_nis/nis-ethers.c: Likewise.
5226         * nis/nss_nis/nis-grp.c: Likewise.
5227         * nis/nss_nis/nis-hosts.c: Likewise.
5228         * nis/nss_nis/nis-network.c: Likewise.
5229         * nis/nss_nis/nis-proto.c: Likewise.
5230         * nis/nss_nis/nis-pwd.c: Likewise.
5231         * nis/nss_nis/nis-rpc.c: Likewise.
5232         * nis/nss_nis/nis-service.c: Likewise.
5233         * nis/nss_nis/nis-spwd.c: Likewise.
5234         * nis/nss_nisplus/nisplus-alias.c: Likewise.
5235         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
5236         * nis/nss_nisplus/nisplus-grp.c: Likewise.
5237         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
5238         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
5239         * nis/nss_nisplus/nisplus-network.c: Likewise.
5240         * nis/nss_nisplus/nisplus-proto.c: Likewise.
5241         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
5242         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
5243         * nis/nss_nisplus/nisplus-service.c: Likewise.
5244         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
5245         * nis/ypclnt.c: Likewise.
5246         * nptl/libc_pthread_init.c: Likewise.
5247         * nss/getXXbyYY.c: Likewise.
5248         * nss/getXXent.c: Likewise.
5249         * nss/getXXent_r.c: Likewise.
5250         * nss/nss_db/db-XXX.c: Likewise.
5251         * nss/nss_db/db-netgrp.c: Likewise.
5252         * nss/nss_db/nss_db.h: Likewise.
5253         * nss/nss_files/files-XXX.c: Likewise.
5254         * nss/nss_files/files-alias.c: Likewise.
5255         * nss/nsswitch.c: Likewise.
5256         * posix/regex_internal.h: Likewise.
5257         * posix/wordexp.c: Likewise.
5258         * pwd/fgetpwent.c: Likewise.
5259         * resolv/res_hconf.c: Likewise.
5260         * resolv/res_libc.c: Likewise.
5261         * shadow/fgetspent.c: Likewise.
5262         * shadow/lckpwdf.c: Likewise.
5263         * shadow/sgetspent.c: Likewise.
5264         * socket/opensock.c: Likewise.
5265         * stdio-common/reg-modifier.c: Likewise.
5266         * stdio-common/reg-printf.c: Likewise.
5267         * stdio-common/reg-type.c: Likewise.
5268         * stdio-common/vfprintf.c: Likewise.
5269         * stdio-common/vfscanf.c: Likewise.
5270         * stdlib/abort.c: Likewise.
5271         * stdlib/cxa_atexit.c: Likewise.
5272         * stdlib/fmtmsg.c: Likewise.
5273         * stdlib/random.c: Likewise.
5274         * stdlib/setenv.c: Likewise.
5275         * string/strsignal.c: Likewise.
5276         * sunrpc/auth_none.c: Likewise.
5277         * sunrpc/bindrsvprt.c: Likewise.
5278         * sunrpc/create_xid.c: Likewise.
5279         * sunrpc/key_call.c: Likewise.
5280         * sunrpc/rpc_thread.c: Likewise.
5281         * sysdeps/arm/backtrace.c: Likewise.
5282         * sysdeps/generic/ldsodefs.h: Likewise.
5283         * sysdeps/generic/stdio-lock.h: Likewise.
5284         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
5285         * sysdeps/i386/backtrace.c: Likewise.
5286         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
5287         * sysdeps/m68k/backtrace.c: Likewise.
5288         * sysdeps/mach/hurd/cthreads.c: Likewise.
5289         * sysdeps/mach/hurd/dirstream.h: Likewise.
5290         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5291         * sysdeps/nptl/malloc-machine.h: Likewise.
5292         * sysdeps/nptl/stdio-lock.h: Likewise.
5293         * sysdeps/posix/dirstream.h: Likewise.
5294         * sysdeps/posix/getaddrinfo.c: Likewise.
5295         * sysdeps/posix/system.c: Likewise.
5296         * sysdeps/pthread/aio_suspend.c: Likewise.
5297         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5298         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5299         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5300         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5301         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
5302         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
5303         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
5304         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5305         * sysdeps/unix/sysv/linux/system.c: Likewise.
5306         * sysdeps/x86_64/backtrace.c: Likewise.
5307         * time/alt_digit.c: Likewise.
5308         * time/era.c: Likewise.
5309         * time/tzset.c: Likewise.
5310         * wcsmbs/wcsmbsload.c: Likewise.
5311         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
5312         instead of <bits/libc-lock.h> in comment.
5314 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
5316         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
5317         Only use .set mips2 if the current ISA is below mips2.
5318         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
5319         Likewise.
5320         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
5321         mips32r2 if the current ISA is below mips32r2.
5322         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
5323         (TLS_IE): Updated to use the TLD_RDHWR macro.
5324         (TLS_LE): Likewise.
5325         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
5326         __ASSEMBLER__ condition.
5328 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5330         Fix parallel build of before-compile targets.
5332         * sysdeps/mach/Makefile ($(patsubst
5333         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
5334         mach-before-compile target.
5335         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5336         io fs process)): Move rule to dedicated hurd-before-compile target.
5338 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5340         Fix rules generating headers in hurd/ and mach/ when initial make call
5341         has subdir= explicitly set.
5343         * sysdeps/mach/Makefile ($(patsubst
5344         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
5345         calling $(MAKE).
5346         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
5347         io fs process)): Force subdir to hurd when calling $(MAKE).
5348         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
5349         subdir to mach when calling $(MAKE).
5351 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
5353         Check sysheaders when looking for Mach and Hurd headers
5355         * sysdeps/mach/configure.ac: Add sysheaders check.
5356         * sysdeps/mach/configure: Regenerate.
5357         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
5358         * sysdeps/mach/hurd/configure: Regenerate.
5360 2015-09-04  Roland McGrath  <roland@hack.frob.com>
5362         [BZ #18921]
5363         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
5364         Fix inverted sense of test of 'o_directory_works' value.
5365         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
5366         Bernhard Voelker <mail@bernhard-voelker.de>.
5368 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5370         [BZ #14912]
5371         * bits/linkmap.h: Move to ...
5372         * sysdeps/generic/linkmap.h: ...here.
5373         * sysdeps/aarch64/bits/linkmap.h: Move to ...
5374         * sysdeps/aarch64/linkmap.h: ...here.
5375         * sysdeps/arm/bits/linkmap.h: Move to ...
5376         * sysdeps/arm/linkmap.h: ...here.
5377         * sysdeps/hppa/bits/linkmap.h: Move to ...
5378         * sysdeps/hppa/linkmap.h: ...here.
5379         * sysdeps/ia64/bits/linkmap.h: Move to ...
5380         * sysdeps/ia64/linkmap.h: ...here.
5381         * sysdeps/mips/bits/linkmap.h: Move to ...
5382         * sysdeps/mips/linkmap.h: ...here.
5383         * sysdeps/s390/bits/linkmap.h: Move to ...
5384         * sysdeps/s390/linkmap.h: ...here.
5385         * sysdeps/sh/bits/linkmap.h: Move to ...
5386         * sysdeps/sh/linkmap.h: ...here.
5387         * sysdeps/x86/bits/linkmap.h: Move to ...
5388         * sysdeps/x86/linkmap.h: ...here.
5389         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
5391 2015-09-04  Andreas Schwab  <schwab@suse.de>
5393         [BZ #18635]
5394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
5395         (__makecontext): Terminate FDE before return label.
5396         (__novec_makecontext): Likewise.
5398 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5400         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
5401         first member of struct sv in syscall macro.
5403 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
5405         [BZ #14912]
5406         * bits/stdio-lock.h: Move to ...
5407         * sysdeps/generic/stdio-lock.h: ...here.
5408         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5409         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
5410         * sysdeps/nptl/stdio-lock.h: ...here.
5411         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
5412         * include/libio.h: Include <stdio-lock.h> instead of
5413         <bits/stdio-lock.h>.
5414         * sysdeps/nptl/fork.c: Likewise.
5415         * sysdeps/pthread/flockfile.c: Likewise.
5416         * sysdeps/pthread/ftrylockfile.c: Likewise.
5417         * sysdeps/pthread/funlockfile.c: Likewise.
5419         [BZ #14912]
5420         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
5421         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
5422         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
5423         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
5424         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
5425         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5426         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
5428 2015-09-03  Roland McGrath  <roland@hack.frob.com>
5430         * elf/Makefile (test-xfail-tst-protected1a): New variable.
5431         (test-xfail-tst-protected1b): New variable.
5433 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
5435         [BZ #14912]
5436         * bits/libc-tsd.h: Move to ...
5437         * sysdeps/generic/libc-tsd.h: ...here.
5438         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
5439         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
5440         * sysdeps/mach/hurd/libc-tsd.h: ...here.
5441         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
5442         * include/ctype.h: Include <libc-tsd.h> instead of
5443         <bits/libc-tsd.h>.
5444         * include/rpc/rpc.h: Likewise.
5445         * locale/localeinfo.h: Likewise.
5446         * sunrpc/rpc_thread.c: Likewise.
5447         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
5448         * sysdeps/nptl/malloc-machine.h: Likewise.
5450         * Makefile (headers): Remove bits/libc-lock.h.
5451         * libio/Makefile (headers): Remove bits/stdio-lock.h.
5453         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
5454         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
5455         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
5456         <bits/stdio-lock.h>.
5457         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
5458         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
5460 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5462         [BZ #18757]
5463         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
5464         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
5465         BZ #18757.
5467 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
5469         * malloc/mtrace.pl: Filter out NULL entries.
5471 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
5473         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
5474         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
5475         macro.
5477         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
5478         (TCP_CC_INFO): Likewise.
5479         (TCP_SAVE_SYN): Likewise.
5480         (TCP_SAVED_SYN): Likewise.
5482 2015-08-31  Brett Neumeier <brett@neumeier.us>
5484         [BZ #18870]
5485         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
5487 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
5489         [BZ #18873]
5490         Fix broken overflow check in posix_fallocate
5491         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
5492         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5493         Fix parenthesization typo.
5495 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
5497         [BZ #18887]
5498         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
5499         tst-mntent-blank-passno.
5500         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
5501         * misc/tst-mntent-blank-corrupt.c: New test.
5502         * misc/tst-mntent-blank-passno.c: New test ripped from ...
5503         * misc/tst-mntent.c (do_test): ... here.
5505 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
5507         [BZ #4404]
5508         * po/de.po: Fix SIGALRM typo.
5510 2015-08-28  James Perkins  <james@loowit.net>
5512         * time/tst-strptime2.c (tests): Replace short list of test
5513         strings for strptime %z specifier with code which exhaustively
5514         tests every combination of sign and 0 to 5 digits. Tests for
5515         rejection of invalid strings.
5517 2015-08-28  James Perkins  <james@loowit.net>
5519         [BZ #16141]
5520         * time/strptime_l.c (__strptime_internal): Fix %z minutes
5521         calculation, removing incorrect decimal time rounding, so that
5522         all minute values result in a valid seconds value.
5523         * time/strptime_l.c (__strptime_internal): Extend %z time zone
5524         offset range limits to UTC-99:59 through UTC+99:59 to parse
5525         current and historical use cases.
5526         * time/tst-strptime2.c (tests): Modify and add tests for the
5527         strptime %z input field descriptor, specifically conversion of
5528         minutes to seconds and validating an offset range of -9959 to
5529         +9959.
5531 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5532             Dmitry V. Levin  <ldv@altlinux.org>
5534         [BZ #18877]
5535         * posix/Makefile (tests): Add tst-mmap-offset.
5536         * posix/tst-mmap.c: New file.
5537         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
5538         offset calculation for negative values.
5540 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5542         * sysdeps/i386/init-arch.h: New file.
5543         * sysdeps/i386/i586/init-arch.h: Likewise.
5544         * sysdeps/i386/i686/init-arch.h: Likewise.
5545         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
5546         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
5547         * sysdeps/x86/cpu-features.h (bit_I586): New.
5548         (bit_I686): Likewise.
5549         (bit_CX8): Likewise.
5550         (bit_CMOV): Likewise.
5551         (index_CX8): Likewise.
5552         (index_CMOV): Likewise.
5553         (index_I586): Likewise.
5554         (index_I686): Likewise.
5555         (reg_CX8): Likewise.
5556         (reg_CMOV): Likewise.
5557         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
5558         available at compile-time.
5559         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
5560         available at compile-time.
5561         * sysdeps/x86/init-arch.h (USE_I586): New macro.
5562         (USE_I686): Likewise.
5564 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5566         * sysdeps/i386/bcopy.S: New file.
5567         * sysdeps/i386/bzero.S: Likewise.
5568         * sysdeps/i386/memcpy.S: Likewise.
5569         * sysdeps/i386/memmove.S: Likewise.
5570         * sysdeps/i386/mempcpy.S: Likewise.
5571         * sysdeps/i386/memset.S: Likewise.
5572         * sysdeps/i386/bzero.c: Removed.
5573         * sysdeps/i386/memset.c: Likewise.
5574         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
5575         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
5576         * sysdeps/i386/i586/memset_chk.S: Likewise.
5577         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
5578         * sysdeps/i386/memcpy_chk.S: Here.
5579         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
5580         * sysdeps/i386/memmove_chk.S: Here.
5581         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
5582         * sysdeps/i386/mempcpy_chk.S: Likewise.
5583         * sysdeps/i386/i686/memset_chk.S: Moved to ...
5584         * sysdeps/i386/memset_chk.S: Likewise.
5586 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
5588         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
5589         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
5590         file, move DIAG_POP_NEEDS_COMMENT to end of file.
5591         * soft-fp/fmadf4.c: Ditto.
5592         * soft-fp/fmatf4.c: Ditto.
5594 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5596         * sysdeps/i386/i586/Implies: Removed.
5597         * sysdeps/i386/i686/Implies: Likewise.
5599 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5601         * sysdeps/i386/i486/strlen.S: Moved to ...
5602         * sysdeps/i386/strlen.S: Here.
5604 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5606         * sysdeps/i386/i486/strcat.S: Moved to ...
5607         * sysdeps/i386/strcat.S: Here.
5609 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5611         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
5612         * sysdeps/i386/pthread_spin_trylock.S: Here.
5613         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
5614         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
5616 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5618         * sysdeps/i386/i486/string-inlines.c: Moved to ...
5619         * sysdeps/i386/string-inlines.c: Here.
5621 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5623         * sysdeps/i386/i486/htonl.S: Moved ...
5624         * sysdeps/i386/htonl.S: here.
5626 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5628         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
5629         * sysdeps/i386/bits/atomic.h: Here.
5631 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
5633         * sysdeps/i386/i486/Versions: Removed.
5635 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5637         [BZ #2898]
5638         * misc/mktemp.c: Add mkdtemp to the link_warning message.
5639         Based on patch by Aurelien Jarno.
5641 2015-08-26  Stan Shebs  <stanshebs@google.com>
5643         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
5644         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
5646 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5648         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
5649         * sysdeps/powerpc/dl-procinfo.c:
5650         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
5651         feature so it shows when LD_SHOW_AUXV=1.
5653 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5655         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5656         (__arch_compare_and_exchange_val_32_acq): Remove and use common
5657         definition.  ISA 2.07B no longer requires full sync.
5659 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
5661         [BZ #18863]
5662         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
5663         (si_call_addr): Define.
5664         (si_syscall): Define.
5665         (si_arch): Define.
5667 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
5669         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
5670         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
5671         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
5672         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
5673         (__memset_zero_constant_len_parameter): New.
5674         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
5675         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
5676         (__memset_zero_constant_len_parameter): Don't define if
5677         __memset_chk or USE_AS_BZERO are defined.
5679         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
5680         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
5681         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
5683         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
5684         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
5685         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
5686         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
5687         comments.
5688         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
5689         -mno-mmx for $(all-rtld-routines).
5690         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
5691         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
5692         i386.
5694 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
5696         * sysdeps/generic/unwind.h
5697         (_Unwind_Word): Use __mode__(__unwind_word__)
5698         instead of __mode__(__word__).
5699         (_Unwind_Sword): Likewise.
5701         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5702         (MAX_NEEDED_INPUT): New define.
5703         (MAX_NEEDED_OUTPUT): New define.
5705         * NEWS: New item for IBM z13 string optimizations.
5707         * sysdeps/s390/multiarch/memrchr-c.c: New File.
5708         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
5709         * sysdeps/s390/multiarch/memrchr.c: Likewise.
5710         * sysdeps/s390/multiarch/Makefile
5711         (sysdep_routines): Add memrchr functions.
5712         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5713         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
5715         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
5716         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
5717         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
5718         * sysdeps/s390/multiarch/Makefile
5719         (sysdep_routines): Add wmemcmp functions.
5720         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5721         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
5722         * benchtests/bench-wmemcmp.c: New File.
5723         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
5725         * sysdeps/s390/multiarch/wmemset-c.c: New File.
5726         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
5727         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5728         * sysdeps/s390/multiarch/Makefile
5729         (sysdep_routines): Add wmemset functions.
5730         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5731         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
5732         * wcsmbs/wmemset.c: Use WMEMSET if defined.
5733         * string/test-memset.c: Add wmemset support.
5734         * wcsmbs/test-wmemset.c: New File.
5735         * wcsmbs/Makefile (strop-tests): Add wmemset.
5736         * benchtests/bench-memset.c: Add wmemset support.
5737         * benchtests/bench-wmemset.c: New File.
5738         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
5740         * sysdeps/s390/multiarch/memccpy-c.c: New File.
5741         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
5742         * sysdeps/s390/multiarch/memccpy.c: Likewise.
5743         * sysdeps/s390/multiarch/Makefile
5744         (sysdep_routines): Add memccpy functions.
5745         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5746         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
5747         * string/memccpy.c: Use MEMCCPY if defined.
5749         * sysdeps/s390/multiarch/memchr-vx.S: New File.
5750         * sysdeps/s390/multiarch/memchr.c: Likewise.
5751         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
5752         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
5753         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5754         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
5755         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
5756         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5757         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
5758         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5759         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
5760         and rawmemchr functions.
5761         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
5762         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
5763         and wmemchr.
5764         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
5765         * string/test-memchr.c: Add wmemchr support.
5766         * wcsmbs/test-wmemchr.c: New File.
5767         * wcsmbs/Makefile (strop-tests): Add wmemchr.
5768         * benchtests/bench-memchr.c: Add wmemchr support.
5769         * benchtests/bench-wmemchr.c: New File.
5770         * benchtests/Makefile (wcsmbs-bench): wmemchr.
5772         * sysdeps/s390/multiarch/strcspn-c.c: New File.
5773         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
5774         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5775         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
5776         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
5777         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
5778         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
5779         wcscspn functions.
5780         * sysdeps/s390/multiarch/ifunc-impl-list.c
5781         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
5782         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
5783         * string/test-strcspn.c: Add wcscspn support.
5784         * wcsmbs/test-wcscspn.c: New File.
5785         * wcsmbs/Makefile (strop-tests): Add wcscspn.
5786         * benchtests/bench-strcspn.c: Add wcscspn support.
5787         * benchtests/bench-wcscspn.c: New File.
5788         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
5790         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
5791         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
5792         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5793         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
5794         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
5795         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5796         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
5797         wcspbrk functions.
5798         * sysdeps/s390/multiarch/ifunc-impl-list.c
5799         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
5800         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
5801         * string/test-strpbrk.c: Add wcspbrk support.
5802         * wcsmbs/test-wcspbrk.c: New File.
5803         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
5804         * benchtests/bench-strpbrk.c: Add wcspbrk support.
5805         * benchtests/bench-wcspbrk.c: New File.
5806         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
5808         * sysdeps/s390/multiarch/strspn-c.c: New File.
5809         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
5810         * sysdeps/s390/multiarch/strspn.c: Likewise.
5811         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
5812         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
5813         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5814         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
5815         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
5816         wcsspn functions.
5817         * sysdeps/s390/multiarch/ifunc-impl-list.c
5818         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
5819         * string/test-strspn.c: Add wcsspn support.
5820         * wcsmbs/test-wcsspn.c: New File.
5821         * wcsmbs/Makefile (strop-tests): Add wcsspn.
5822         * benchtests/bench-strspn.c: Add wcsspn support.
5823         * benchtests/bench-wcsspn.c: New File.
5824         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
5826         * sysdeps/s390/multiarch/strrchr-c.c: New File.
5827         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
5828         * sysdeps/s390/multiarch/strrchr.c: Likewise.
5829         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
5830         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
5831         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
5832         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
5833         wcsrchr functions.
5834         * sysdeps/s390/multiarch/ifunc-impl-list.c
5835         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
5836         * benchtests/bench-wcsrchr.c: New File.
5837         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
5839         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
5840         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
5841         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
5842         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
5843         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
5844         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
5845         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
5846         wcschrnul functions.
5847         * sysdeps/s390/multiarch/ifunc-impl-list.c
5848         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
5849         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
5850         * string/test-strchr.c: Add wcschrnul support.
5851         * wcsmbs/test-wcschrnul.c: New File.
5852         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
5853         * benchtests/bench-strchr.c: Add wcschrnul support.
5854         * benchtests/bench-wcschrnul.c: New File.
5855         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
5857         * sysdeps/s390/multiarch/strchr-c.c: New File.
5858         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
5859         * sysdeps/s390/multiarch/strchr.c: Likewise.
5860         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
5861         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
5862         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5863         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
5864         wcschr functions.
5865         * sysdeps/s390/multiarch/ifunc-impl-list.c
5866         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
5867         * string/strchr.c (STRCHR): Define and use macro.
5868         * benchtests/bench-wcschr.c: New File.
5869         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
5871         * sysdeps/s390/multiarch/strncmp-c.c: New File.
5872         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
5873         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5874         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
5875         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
5876         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
5877         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
5878         wcsncmp functions.
5879         * sysdeps/s390/multiarch/ifunc-impl-list.c
5880         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
5881         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
5882         * benchtests/bench-strncmp.c: Add wcsncmp support.
5883         * benchtests/bench-wcsncmp.c: New File.
5884         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
5886         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
5887         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5888         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
5889         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
5890         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5891         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
5892         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5893         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
5894         wcscmp functions.
5895         * sysdeps/s390/multiarch/ifunc-impl-list.c
5896         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
5897         * string/strcmp.c (STRCMP): Define and use macro.
5898         * benchtests/bench-wcscmp.c: New File.
5899         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
5900         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
5901         instead of _HAVE_STRING_ARCH_memchr.
5903         * sysdeps/s390/multiarch/strncat-c.c: New File.
5904         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
5905         * sysdeps/s390/multiarch/strncat.c: Likewise.
5906         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
5907         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
5908         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
5909         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
5910         wcsncat functions.
5911         * sysdeps/s390/multiarch/ifunc-impl-list.c
5912         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
5913         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
5914         * string/test-strncat.c: Add wcsncat support.
5915         * wcsmbs/test-wcsncat.c: New File.
5916         * wcsmbs/Makefile (strop-tests): Add wcsncat.
5917         * benchtests/bench-strncat.c: Add wcsncat support.
5918         * benchtests/bench-wcsncat.c: New File.
5919         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
5921         * sysdeps/s390/multiarch/strcat-c.c: New File.
5922         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
5923         * sysdeps/s390/multiarch/strcat.c: Likewise.
5924         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
5925         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
5926         * sysdeps/s390/multiarch/wcscat.c: Likewise.
5927         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
5928         wcscat functions.
5929         * sysdeps/s390/multiarch/ifunc-impl-list.c
5930         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
5931         * string/strcat.c (STRCAT): Define and use macro.
5932         * wcsmbs/wcscat.c: Use WCSCAT if defined.
5933         * string/test-strcat.c: Add wcscat support.
5934         * wcsmbs/test-wcscat.c: New File.
5935         * wcsmbs/Makefile (strop-tests): Add wcscat.
5936         * benchtests/bench-strcat.c: Add wcscat support.
5937         * benchtests/bench-wcscat.c: New File.
5938         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
5940         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
5941         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
5942         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5943         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
5944         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
5945         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
5946         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
5947         wcpncpy functions.
5948         * sysdeps/s390/multiarch/ifunc-impl-list.c
5949         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
5950         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
5951         * string/test-stpncpy.c: Add wcpncpy support.
5952         * wcsmbs/test-wcpncpy.c: New File.
5953         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
5954         * benchtests/bench-stpncpy.c: Add wcpncpy support.
5955         * benchtests/bench-wcpncpy.c: New File.
5956         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
5958         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
5959         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5960         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
5961         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
5962         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
5963         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
5964         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5965         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
5966         wcsncpy functions.
5967         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
5968         * sysdeps/s390/multiarch/ifunc-impl-list.c
5969         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
5970         * string/test-strncpy.c: Add wcsncpy support.
5971         * wcsmbs/test-wcsncpy.c: New File.
5972         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
5973         * benchtests/bench-strncpy.c: Add wcsncpy support.
5974         * benchtests/bench-wcsncpy.c: New File.
5975         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
5977         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
5978         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
5979         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5980         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
5981         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
5982         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
5983         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
5984         wcpcpy functions.
5985         * string/stpcpy.c: Use STPCPY if defined.
5986         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
5987         * sysdeps/s390/multiarch/ifunc-impl-list.c
5988         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
5989         * string/test-stpcpy.c: Add wcpcpy support.
5990         * wcsmbs/test-wcpcpy.c: New File.
5991         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
5992         * benchtests/bench-stpcpy.c: Add wcpcpy support.
5993         * benchtests/bench-wcpcpy.c: New File.
5994         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
5996         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
5997         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5998         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
5999         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
6000         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
6001         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
6002         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6003         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
6004         wcscpy functions.
6005         * sysdeps/s390/multiarch/ifunc-impl-list.c
6006         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
6007         * benchtests/bench-wcscpy.c: New File.
6008         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
6010         * sysdeps/s390/multiarch/strnlen-c.c: New File.
6011         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
6012         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6013         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
6014         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
6015         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
6016         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
6017         wcsnlen functions.
6018         * sysdeps/s390/multiarch/ifunc-impl-list.c
6019         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
6020         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
6021         * string/test-strnlen.c: Add wcsnlen support.
6022         * wcsmbs/test-wcsnlen.c: New File.
6023         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
6024         * benchtests/bench-strnlen.c: Add wcsnlen support.
6025         * benchtests/bench-wcsnlen.c: New File.
6026         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
6028         * sysdeps/s390/multiarch/Makefile: New File.
6029         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
6030         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
6031         * sysdeps/s390/multiarch/strlen.c: Likewise.
6032         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
6033         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
6034         * sysdeps/s390/multiarch/wcslen.c: Likewise.
6035         * string/strlen.c (STRLEN): Define and use macro.
6036         * sysdeps/s390/multiarch/ifunc-impl-list.c
6037         (IFUNC_VX_IMPL): New macro function.
6038         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
6039         * benchtests/Makefile (wcsmbs-bench): New variable.
6040         (string-bench-all): Added wcsmbs-bench.
6041         * benchtests/bench-wcslen.c: New File.
6043         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
6044         s390_vx_libc_ifunc2): New macro function.
6046         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
6047         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
6048         assembler support.
6049         * sysdeps/s390/configure: Regenerated.
6051         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
6052         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
6054         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
6055         * sysdeps/s390/dl-procinfo.h: Add vector capability.
6056         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
6058         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6059         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
6060         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
6061         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
6062         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
6063         (memcmp, bcmp): Use __memcmp_default as alias source.
6064         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
6065         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
6066         Rename to __memcmp_default.
6067         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
6068         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
6069         (memcpy): Use __memcpy_default as alias source.
6070         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
6071         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
6072         Rename to __memcpy_default.
6073         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
6074         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
6075         (memset): Use __memset_default as alias source.
6076         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
6077         * sysdeps/s390/s390-32/memset.S (__memset_g5):
6078         Rename to __memset_default.
6079         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
6080         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
6081         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
6082         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
6083         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
6084         (memcmp, bcmp): Use __memcmp_default as alias source.
6085         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
6086         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
6087         Rename to __memcmp_default.
6088         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
6089         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
6090         (memcpy): Use __memcpy_default as alias source.
6091         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
6092         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
6093         Rename to __memcpy_default.
6094         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
6095         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
6096         (memset): Use __memset_default as alias source.
6097         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
6098         * sysdeps/s390/s390-64/memset.S (__memset_z900):
6099         Rename to __memset_default.
6100         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
6101         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
6103         [BZ #18610]
6104         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
6105         __ieee_instruction_pointer to __unused.
6106         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
6107         __ieee_instruction_pointer.
6108         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
6109         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
6110         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
6111         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6112         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
6113         Mark dxc-field as reserved.
6115 2015-08-25  Roland McGrath  <roland@hack.frob.com>
6117         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
6118         if the weak reference is not null.
6120 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6122         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
6124         [BZ #11214]
6125         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
6127 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6129         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
6130         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
6131         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
6132         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
6133         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
6134         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
6135         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
6136         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
6137         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
6138         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
6139         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
6140         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
6141         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
6142         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
6143         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
6144         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
6145         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
6146         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
6148 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6150         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
6151         register other than r0 for tabort, it has special meaning.
6152         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
6153         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
6154         transaction before starting syscall.
6156 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6158         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
6160 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6162         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
6164         * sysdeps/x86_64/rtld-memcmp.c: Removed.
6165         * sysdeps/x86_64/rtld-memset.S: Likewise.
6166         * sysdeps/x86_64/rtld-strchr.S: Likewise.
6167         * sysdeps/x86_64/rtld-strlen.S: Likewise.
6168         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
6169         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6171         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
6173 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
6175         * debug/strcpy_chk.c: Improve performance.
6176         * debug/stpcpy_chk.c: Likewise.
6177         * sysdeps/x86_64/strcpy_chk.S: Remove.
6178         * sysdeps/x86_64/stpcpy_chk.S: Remove.
6180         [BZ #18240]
6181         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
6183 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
6185         [BZ #15128]
6186         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
6187         ifuncmain8.
6188         (modules-names): Add ifuncmod8.
6189         ($(objpfx)ifuncmain8): New rule.
6190         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
6191         <cpuid.h>.
6192         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
6193         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
6194         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
6195         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
6196         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
6197         * sysdeps/x86_64/dl-trampoline.h: Likewise.
6198         * sysdeps/x86_64/ifuncmain8.c: New file.
6199         * sysdeps/x86_64/ifuncmod8.c: Likewise.
6200         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
6201         Removed.
6202         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
6203         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
6204         Change rtld_savespace_sse to __glibc_unused2.
6205         (RTLD_CHECK_FOREIGN_CALL): Removed.
6206         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
6207         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
6208         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
6210 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6212         * sysdeps/aarch64/bzero.S (__bzero): Remove.
6214 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
6216         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
6217         Unconditionally set __fpcr to avoid uninialized warning.
6218         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
6220 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6222         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
6223         is corrupt.
6225         * malloc/arena.c (arena_get2): Drop unused argument.
6226         (arena_lock): Adjust.
6227         (arena_get_retry): Likewise.
6229 2015-08-24  Andreas Schwab  <schwab@suse.de>
6231         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
6232         Don't define.
6233         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6234         (__ASSUME_IPC64): Don't undef.
6235         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
6236         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
6237         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
6238         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
6239         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
6240         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
6241         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
6242         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
6243         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
6244         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
6245         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
6246         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
6247         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
6248         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
6249         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
6250         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
6251         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
6252         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
6253         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
6254         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
6255         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
6257 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
6259         * manual/Makefile (install): Only build manual when perl is available.
6261 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6263         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
6264         '#undef memcpy' by '#undef memchr'.
6266 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6268         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
6269         memchr not point to the internal __GI_memchr implementation.
6271 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6273         * timezone/Makefile (CFLAGS-zdump.c): Remove
6274         -Wno-strict-prototypes.
6275         (CFLAGS-zic.c): Likewise.
6276         (CFLAGS-ialloc.c): Likewise.
6277         (CFLAGS-scheck.c): Likewise.
6279         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
6280         -Wno-error=undef.
6282 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6284         * i386/i686/multiarch/strcasestr-c.c: Removed.
6285         * x86_64/multiarch/strcasestr.c: Likewise.
6286         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6287         Remove strcasestr.
6289 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
6291         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
6293         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
6294         variables for high and low parts before possibly modifying them.
6296 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6298         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
6299         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
6300         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
6301         of "multiarch/init-arch.h".
6302         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
6303         * sysdeps/x86/init-arch.h: This.
6305 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
6307         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
6308         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
6310 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
6312         [BZ #17787]
6313         * manual/macros.texi: Add twoexp macro.
6314         * manual/filesys.texi: Fix exponents.
6315         * manual/llio.texi: Likewise.
6316         * manual/stdio.texi: Likewise.
6318 2015-08-20  Florian Weimer  <fweimer@redhat.com>
6320         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
6321         incorrect use.
6323 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6325         [BZ #18370]
6326         * math/s_csqrt.c (__csqrt): Force underflow exception for results
6327         whose real or imaginary part has small absolute value.
6328         * math/s_csqrtf.c (__csqrtf): Likewise.
6329         * math/s_csqrtl.c (__csqrtl): Likewise.
6330         * math/auto-libm-test-in: Add more tests of csqrt.
6331         * math/auto-libm-test-out: Regenerated.
6332         * sysdeps/i386/fpu/libm-test-ulps: Update.
6334 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6336         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
6337         __ppc_set_ppr_very_low): New functions.
6338         * manual/platform.texi: Add documentation about
6339         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
6341 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
6343         * string/stpncpy.c (stpncpy): Improve performance using
6344         __strnlen/memcpy/memset.
6346 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6348         [BZ #18796]
6349         * scripts/test-installation.pl: Don't add -lmvec to build options if
6350         libmvec wasn't built.
6352 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
6354         [BZ #14341]
6355         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
6356         case when there is a gap between DT_REL and DT_JMPREL sections.
6357         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
6358         (LDFLAGS-tst-split-dynreloc): New.
6359         (tst-split-dynreloc-ENV): Likewise.
6360         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
6361         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6363 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6365         [BZ #18822]
6366         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
6367         attribute_hidden.
6368         (__xstat64_conv): Likewise.
6369         (__xstat32_conv): Likewise.
6371 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6373         [BZ #18822]
6374         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
6375         Don't load %ebx when calling __setcontext.  Call __setcontext
6376         with HIDDEN_JUMPTARGET.
6377         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
6378         libc_hidden_def.
6380 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6382         * sysdeps/i386/i686/Makefile
6383         [$(subdir) == string] (sysdep_routines): Moved to ...
6384         * sysdeps/i386/Makefile: Here.
6385         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
6386         * sysdeps/i386/cacheinfo.c: Here.
6387         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
6388         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
6389         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
6390         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
6392 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6394         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
6395         __i586__ is defined.
6396         (HAS_I686): Defined to 1 if __i686__ is defined.
6398 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
6400         * elf/Makefile [$(have-z-execstack) = yes]
6401         (CPPFLAGS-tst-execstack.c): New variable.
6403         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
6404         conditional to [defined UTMPX || _HAVE_UT_TYPE].
6405         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
6406         UTMPX || _HAVE_UT_TV].
6407         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
6408         UTMPX || _HAVE_UT_TV - 0].
6410 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
6412         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
6413         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
6414         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
6416 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6418         * sysdeps/powerpc/dl-procinfo.c:
6419         (_dl_powerpc_cap_flags): Added missing strings for some
6420         hwcap features.
6421         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
6423 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
6425         Port the 0x7efe...feff pattern to GCC 6.
6426         See Steve Ellcey's bug report in:
6427         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
6428         * string/memrchr.c (MEMRCHR):
6429         * string/rawmemchr.c (RAWMEMCHR):
6430         * string/strchr.c (strchr):
6431         * string/strchrnul.c (STRCHRNUL):
6432         Rewrite code to avoid issues with signed shift overflow.
6434 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
6436         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
6437         whether cpuid is available only if HAS_CPUID is 0.
6438         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
6439         (HAS_I586): Likewise.
6440         (HAS_I686): Likewise.
6442 2015-08-18  Zack Weinberg  <zackw@panix.com>
6444         * misc/Versions (libc): Add GLIBC_2.23.
6446 2015-08-18  Alan Modra  <amodra@gmail.com>
6448         [BZ #18421]
6449         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
6450         .Lp__global.
6451         (_start): Load %dp via .Lp__global.
6452         [!SHARED]: Use .section .rodata.
6454 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6456         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
6457         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
6459 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6461         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
6462         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
6464 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6466         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
6467         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
6469 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6471         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
6472         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
6474 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6476         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
6477         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
6479 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6481         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
6482         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
6484 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6486         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
6488 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6490         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
6491         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
6492         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6493         (__ASSUME_LWS_CAS): Delete.
6495 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
6497         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
6498         * sysdeps/hppa/configure: Regenerated.
6499         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
6500         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
6501         * sysdeps/hppa/nptl/tls.h: Likewise.
6503 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
6505         [BZ #18823]
6506         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
6507         for scaling up small arguments.
6508         * math/s_csqrtf.c (__csqrtf): Likewise.
6509         * math/s_csqrtl.c (__csqrtl): Likewise.
6510         * math/auto-libm-test-in: Add more tests of csqrt.
6511         * math/auto-libm-test-out: Regenerated.
6513 2015-08-17  Andreas Schwab  <schwab@suse.de>
6515         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
6516         version set GLIBC_2.19.
6518 2015-08-16  Zack Weinberg  <zackw@panix.com>
6520         [BZ #18681]
6521         * misc/regexp.h: This interface is no longer supported.
6522         Remove all contents, leaving only an #error directive.
6523         * misc/regexp.c (loc1, loc2, locs, step, advance):
6524         Demote to compatibility symbols.
6526 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
6528         [BZ #18084]
6529         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
6530         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
6531         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6532         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
6533         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
6534         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
6535         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
6536         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
6537         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6539 2015-08-15  Zack Weinberg  <zackw@panix.com>
6541         [BZ #18795]
6542         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
6543         buffer length is known to be too large, not if it's known to be
6544         small enough.
6545         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
6546         overflow at runtime, involving a length parameter, twice: once
6547         with a compile-time constant length parameter, once without.
6549 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
6551         [BZ #18824]
6552         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
6553         scaling x * y up instead of down.
6554         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6555         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6556         * math/auto-libm-test-in: Add more tests of fma.
6557         * math/auto-libm-test-out: Regenerated.
6559 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6561         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6563 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6565         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
6566         unnecessary movq.
6567         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
6568         Likewise.
6570 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
6572         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6573         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
6574         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
6575         and tgamma.
6576         * math/auto-libm-test-out: Regenerated.
6577         * sysdeps/i386/fpu/libm-test-ulps: Update.
6578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6580         [BZ #16520]
6581         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
6582         (__tanh): Force underflow exception for arguments with small
6583         absolute value.
6584         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
6585         (__tanhf): Force underflow exception for arguments with small
6586         absolute value.
6587         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
6588         (__tanhl): Force underflow exception for arguments with small
6589         absolute value.
6590         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
6591         (__tanhl): Force underflow exception for arguments with small
6592         absolute value.
6593         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
6594         (__tanhl): Force underflow exception for arguments with small
6595         absolute value.
6596         * math/auto-libm-test-in: Add more tests of tanh.
6597         * math/auto-libm-test-out: Regenerated.
6598         * sysdeps/i386/fpu/libm-test-ulps: Update.
6600 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6602         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
6603         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
6605 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6607         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
6608         <cpuid.h>.
6610 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6612         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
6613         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
6615 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6617         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
6618         Remove $(objpfx)init-arch.o.
6619         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
6620         init-arch.
6621         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
6622         (INIT_ARCH_EXT): Defined as empty.
6623         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
6624         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
6625         __init_cpu_features call.  Replace HAS_XXX with
6626         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6627         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
6628         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
6629         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
6630         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
6631         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
6632         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
6633         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
6634         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
6635         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
6636         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
6637         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
6638         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
6639         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
6640         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
6641         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
6642         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
6643         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
6644         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
6645         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
6646         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
6647         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
6648         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
6649         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
6650         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
6651         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
6652         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
6653         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
6654         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
6655         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
6656         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
6657         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
6658         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
6659         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
6660         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
6661         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
6663 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6665         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
6666         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6667         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
6668         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
6669         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
6670         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
6671         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
6672         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
6673         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
6674         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
6675         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
6676         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
6677         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6678         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6679         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6680         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6681         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6682         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6683         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6684         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6685         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6686         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6687         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6688         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6689         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6690         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6691         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6692         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6693         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6694         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6695         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6696         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6697         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6698         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6699         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6700         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6701         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6702         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6703         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6704         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6705         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6706         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6707         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6709 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6711         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
6712         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6713         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6714         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6715         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6716         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
6717         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6718         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
6719         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6720         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6721         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6722         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
6723         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
6724         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
6725         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
6726         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
6727         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
6728         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
6729         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
6730         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
6731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6732         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
6733         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
6734         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6735         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6736         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
6737         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
6738         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
6739         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
6740         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6741         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6742         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6743         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6744         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6745         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6746         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6747         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6748         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6749         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6750         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6751         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6752         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6753         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6755 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
6757         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
6758         (dl_platform_init): Call init_cpu_features.
6759         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
6760         * sysdeps/i386/i686/cacheinfo.c
6761         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
6762         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
6763         * sysdeps/i386/i686/multiarch/Versions: Removed.
6764         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
6765         Removed.
6766         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
6767         * sysdeps/unix/sysv/linux/x86/Makefile
6768         (libpthread-sysdep_routines): Remove init-arch.
6769         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
6770         <sysdeps/x86_64/dl-procinfo.c> instead of
6771         sysdeps/generic/dl-procinfo.c>.
6772         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
6773         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
6774         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
6775         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
6776         [$(subdir) == elf] (tests-static): Add
6777         tst-get-cpu-features-static.
6778         * sysdeps/x86/Versions: New file.
6779         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
6780         * sysdeps/x86/cpu-features.c: Likewise.
6781         * sysdeps/x86/cpu-features.h: Likewise.
6782         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
6783         * sysdeps/x86/libc-start.c: Likewise.
6784         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6785         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
6786         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
6787         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6788         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
6789         Assume USE_MULTIARCH is defined and don't check it.
6790         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
6791         (is_amd): Likewise.
6792         (max_cpuid): Likewise.
6793         (intel_check_word): Likewise.
6794         (__cache_sysconf): Don't call __init_cpu_features.
6795         (__x86_preferred_memory_instruction): Removed.
6796         (init_cacheinfo): Don't call __init_cpu_features. Replace
6797         __cpu_features with GLRO(dl_x86_cpu_features).
6798         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
6799         (dl_platform_init): Call init_cpu_features.
6800         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
6801         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
6802         * sysdeps/x86_64/multiarch/Versions: Removed.
6803         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
6804         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
6805         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
6806         Removed.
6807         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
6809 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6811         [BZ #18820]
6812         * libio/Makefile (test-fmemopen-mem): New test.
6813         * libio/test-fmemopen.c (do_bz18820): New test.
6814         * libio/fmemopen.c (__fmemopen): Fix memory leak.
6815         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
6817 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6819         [BZ #16734]
6820         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
6821         (FREE_BUF): Delete.
6822         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
6823         * libio/genops.c (_IO_setb): Use malloc and free directly.
6824         (_IO_default_doallocate, _IO_default_finish): Likewise.
6825         ( _IO_unbuffer_all): Likewise.
6826         ( libc_freeres_fn): Likewise.
6827         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6828         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
6829         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
6830         (_IO_wdefault_doallocate): Likewise.
6832 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6834         [BZ #18086]
6835         * sysdeps/posix/nice.c (nice): Restore old errno.
6836         * posix/tst-nice.c (do_test): Add test for BZ #18086.
6838 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
6840         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
6842 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6844         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
6845         __bcopy and add a weak_alias to bcopy.
6846         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
6847         for static build.
6849         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
6850         cleanup macro usage.
6851         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
6852         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
6853         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6854         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
6855         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6856         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
6857         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
6858         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
6859         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6860         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
6861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6862         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
6863         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6864         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
6865         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6866         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
6867         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
6868         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
6869         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
6871         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
6872         libc_hidden_def.
6873         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
6875         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
6876         (sysdep_routines): Add strstr-ppc64.
6877         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
6879 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
6881         [BZ #18778]
6882         * elf/Makefile (tests): Add Add tst-nodelete2.
6883         (modules-names): Add tst-nodelete2mod.
6884         (tst-nodelete2mod.so-no-z-defs): New.
6885         ($(objpfx)tst-nodelete2): Likewise.
6886         ($(objpfx)tst-nodelete2.out): Likewise.
6887         (LDFLAGS-tst-nodelete2): Likewise.
6888         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
6889         out of loop through all loaded libraries.
6890         * elf/tst-nodelete2.c: New file.
6891         * elf/tst-nodelete2mod.c: Likewise.
6892         * elf/tst-znodelete-zlib.cc: Delete.
6894 2015-08-11  Andreas Schwab  <schwab@suse.de>
6896         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
6897         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
6898         (__openat64_nocancel): Likewise.
6900 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
6902         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
6903         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
6904         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
6905         * math/auto-libm-test-out: Regenerated.
6906         * sysdeps/i386/fpu/libm-test-ulps: Update.
6907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6909 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6911         [BZ #18790]
6912         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
6913         threshold for returning +/- 1.
6914         * math/auto-libm-test-in: Add more tests of tanh.
6915         * math/auto-libm-test-out: Regenerated.
6916         * sysdeps/i386/fpu/libm-test-ulps: Update.
6918 2015-08-10  Andreas Schwab  <schwab@suse.de>
6920         [BZ #18781]
6921         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
6922         MORE_OFLAGS to oflag.
6923         * io/test-lfs.c (do_test): Test openat64.
6925 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
6927         [BZ #18789]
6928         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
6929         smaller threshold for returning the argument.
6930         * math/auto-libm-test-in: Add more tests of sinh.
6931         * math/auto-libm-test-out: Regenerated.
6932         * sysdeps/i386/fpu/libm-test-ulps: Update.
6934 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
6936         [BZ #18674]
6937         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
6938         break.
6940 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
6942         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
6943         (generated): Don't add $(addprefix z.,$(tzfiles)).
6945 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6947         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
6948         * scripts/sysd-rules.awk: Likewise.
6950 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6952         * iconvdata/tst-tables.sh: Change echo -n to printf.
6953         * nss/db-Makefile: Likewise.
6954         * posix/tst-getconf.sh: Likewise.
6955         * stdio-common/tst-unbputc.sh: Likewise.
6957 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
6959         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
6960         MADV_*_PAGES defines behind this feature check.
6962 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
6964         [BZ #18480]
6965         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
6966         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
6967         Define.
6968         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
6969         LOAD_REGS_5, LOAD_REGS_6): Update.
6970         (INTERNAL_SYSCALL): Update using new LOAD defines.
6971         (INTERNAL_SYSCALL_NCS): Likewise.
6972         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
6974 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6976         [BZ #16734]
6977         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
6979 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6981         [BZ #17905]
6982         * catgets/Makefile (tst-catgets-mem): New test.
6983         * catgets/catgets.c (catopen): Don't use unbounded alloca.
6984         * catgets/open_catalog.c (__open_catalog): Likewise.
6985         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
6987 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
6989         [BZ #18787]
6990         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
6991         clobber registers.
6992         (atomic_compare_and_exchange_val_acq): Use register asms to assign
6993         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
6994         Cast return to __typeof (oldval).
6996 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
6998         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
6999         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
7000         and delete sys/syscall.h include.
7002 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
7004         [BZ #16517]
7005         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
7006         (tan): Force underflow exception for arguments with small absolute
7007         value.
7008         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
7009         (__kernel_tanf): Force underflow exception for arguments with
7010         small absolute value.
7011         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
7012         (__kernel_tanl): Force underflow exception for arguments with
7013         small absolute value.
7014         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
7015         (__kernel_tanl): Force underflow exception for arguments with
7016         small absolute value.
7017         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
7018         (__kernel_tanl): Force underflow exception for arguments with
7019         small absolute value.
7020         * math/auto-libm-test-in: Add more tests of tan.
7021         * math/auto-libm-test-out: Regenerated.
7023 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7025         Fix sysdeps/i386/fpu/s_scalbn.S build
7027         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
7029 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
7031         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7033 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7035         Fix gcrt0.o compilation
7037         When static-start-installed-name is different from
7038         start-installed-name, we must not use the shared objects.
7040         * csu/Makefile
7041         (extra-objs): Add gmon-start.o when building shared library and
7042         $(static-start-installed-name) is different from
7043         $(start-installed-name).
7044         $(objpfx)g$(static-start-installed-name): When building shared
7045         library and $(static-start-installed-name) is different from
7046         $(static-start-installed-name), revert to non-shared rule,
7047         i.e. using $(objpfx)% and gmon-start.o.
7049 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
7051         [BZ #16519]
7052         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
7053         (__ieee754_sinh): Force underflow exception for arguments with
7054         small absolute value.
7055         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
7056         (__ieee754_sinhf): Force underflow exception for arguments with
7057         small absolute value.
7058         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
7059         (__ieee754_sinhl): Force underflow exception for arguments with
7060         small absolute value.
7061         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
7062         (__ieee754_sinhl): Force underflow exception for arguments with
7063         small absolute value.
7064         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
7065         (__ieee754_sinhl): Force underflow exception for arguments with
7066         small absolute value.
7067         * math/auto-libm-test-in: Add more tests of sinh.
7068         * math/auto-libm-test-out: Regenerated.
7069         * sysdeps/i386/fpu/libm-test-ulps: Update.
7071 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7073         * libio/oldfileops.c: Include unistd.h.
7075 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
7077         * stdlib/isomac.c: Include ctype.h.
7079 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
7081         * dirent/tst-seekdir.c (main): Converted to ...
7082         (do_test): ... this.
7083         (TEST_FUNCTION): New macro.
7084         Include test-skeleton.c.
7085         * elf/tst-dlmodcount.c (main): Converted to ...
7086         (do_test): ... this.
7087         (TEST_FUNCTION): New macro.
7088         Include test-skeleton.c.
7089         * elf/tst-order-main.c (main): Converted to ...
7090         (do_test): ... this.
7091         (TEST_FUNCTION): New macro.
7092         Include test-skeleton.c.
7093         * elf/tst-pie2.c (main): Converted to ...
7094         (do_test): ... this.
7095         (TEST_FUNCTION): New macro.
7096         Include test-skeleton.c.
7097         * inet/tst-ether_aton.c (main): Converted to ...
7098         (do_test): ... this.
7099         (TEST_FUNCTION): New macro.
7100         Include test-skeleton.c.
7101         * misc/tst-mntent.c (main): Converted to ...
7102         (do_test): ... this.
7103         (TEST_FUNCTION): New macro.
7104         Include test-skeleton.c.
7105         * misc/tst-tsearch.c (main): Converted to ...
7106         (do_test): ... this.
7107         (TEST_FUNCTION): New macro.
7108         Include test-skeleton.c.
7109         * posix/tst-regexloc.c (main): Converted to ...
7110         (do_test): ... this.
7111         (TEST_FUNCTION): New macro.
7112         Include test-skeleton.c.
7113         * resolv/tst-aton.c (main): Converted to ...
7114         (do_test): ... this.
7115         (TEST_FUNCTION): New macro.
7116         Include test-skeleton.c.
7117         * stdio-common/test-fwrite.c (main): Converted to ...
7118         (do_test): ... this.
7119         (TEST_FUNCTION): New macro.
7120         Include test-skeleton.c.
7121         * stdio-common/tst-ferror.c (main): Converted to ...
7122         (do_test): ... this.
7123         (TEST_FUNCTION): New macro.
7124         Include test-skeleton.c.
7125         * stdio-common/tst-printf.c (main): Converted to ...
7126         (do_test): ... this.
7127         (TEST_FUNCTION): New macro.
7128         Include test-skeleton.c.
7129         * stdio-common/tst-printfsz.c (main): Converted to ...
7130         (do_test): ... this.
7131         (TEST_FUNCTION): New macro.
7132         Include test-skeleton.c.
7133         * stdlib/tst-strtod.c (main): Converted to ...
7134         (do_test): ... this.
7135         (TEST_FUNCTION): New macro.
7136         Include test-skeleton.c.
7137         * string/tst-strlen.c (main): Converted to ...
7138         (do_test): ... this.
7139         (TEST_FUNCTION): New macro.
7140         Include test-skeleton.c.
7141         * string/tst-svc.c (main): Converted to ...
7142         (do_test): ... this.
7143         (TEST_FUNCTION): New macro.
7144         Include test-skeleton.c.
7145         * time/tst-strptime.c (main): Converted to ...
7146         (do_test): ... this.
7147         (TEST_FUNCTION): New macro.
7148         Include test-skeleton.c.
7149         * timezone/tst-timezone.c (main): Converted to ...
7150         (do_test): ... this.
7151         (TEST_FUNCTION): New macro.
7152         Include test-skeleton.c.
7154 2015-08-05  Zack Weinberg  <zackw@panix.com>
7156         * misc/regexp.h: Update comments.
7158 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
7160         [BZ #18635]
7161         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
7162         before return label.
7164 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7166         [BZ #18661]
7167         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
7168         when calling __errno_location.
7169         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
7170         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
7172 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7174         [BZ #18661]
7175         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
7176         (__lll_timedwait_tid): Align stack to 16 bytes when calling
7177         __gettimeofday.
7179 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7181         [BZ #18661]
7182         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7183         (__start_context): Don't use pop to restore %rdi so that stack
7184         is aligned to 16 bytes when calling __setcontext.
7186 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7188         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
7189         only for libc.
7190         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
7192 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7194         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
7195         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
7196         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
7198 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7200         * string/memccpy.c (memccpy):
7201         Improve performance by using memchr/memcpy/__mempcpy.
7203 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7205         * string/strncpy.c (strncpy):
7206         Improve performance by using __strnlen/memcpy.
7208 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7210         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7211         Optimize to avoid an unnecessary FPCR read.
7213 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
7215         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7216         Optimize to reduce FPCR/FPSR accesses.
7218 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
7220         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
7221         dead->data[category] != NULL.
7223 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
7225         [BZ #18647]
7226         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
7227         and |x| close to 1, use absolute value of x when computing log.
7228         * math/auto-libm-test-in: Add more tests of pow.
7229         * math/auto-libm-test-out: Regenerated.
7231 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7233         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
7234         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
7235         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
7237 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
7239         [BZ #18525]
7240         * locales/km_KH: Remove timezone definition.
7241         * locales/lo_LA: Likewise.
7242         * locales/my_MM: Likewise.
7243         * locales/nan_TW@latin: Likewise.
7244         * locales/th_TH: Likewise.
7245         * locales/uk_UA: Likewise.
7247 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7249         [BZ #18265]
7250         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
7251         (wcsncat): Likewise.
7252         (wcscmp): Likewise.
7253         (wcsncmp): Likewise.
7255 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7257         * test-skeleton.c (usage): New function.
7258         (main): Call usage when opt is '?'.
7260 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7262         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
7263         before first use.
7265 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
7267         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
7268         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
7269         in there too.
7271 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
7273         * version.h (RELEASE): Set to "development".
7274         (VERSION): Set to "2.22.90"
7276         * version.h (RELEASE): Set to "stable".
7277         (VERSION): Set to "2.22"
7278         * include/features.h (__GLIBC_MINOR__): Set to 22.
7280 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
7282         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
7283         Restructure macro to avoid "value computed is not used" warning.
7284         (atomic_compare_and_exchange_val_acq): Likewise.
7286 2015-08-04  Andreas Schwab  <schwab@suse.de>
7288         [BZ #18635]
7289         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
7290         ret.
7291         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
7293 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
7295         * po/pl.po: Updated translation.
7296         * po/uk.po: Likewise.
7297         * po/fi.po: Likewise.
7298         * po/ko.po: Likewise.
7299         * po/ru.po: Likewise.
7300         * po/vi.po: Likewise.
7302 2015-07-31  Zack Weinberg  <zackw@panix.com>
7304         [BZ #18681]
7305         * regexp.h: Add unconditional #warning stating that this header
7306         will be removed soon.  Revise banner comment to match.
7307         (compile): Consistently use ERROR instead of RETURN to report
7308         errors (partial fix for bz#18681).
7309         * regexp.c: Don't include regexp.h. Remove some unnecessary
7310         declarations.
7312 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
7314         * po/libc.pot: Regenerated.
7316 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7318         [BZ #18740]
7319         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
7320         float-vlen4-arch-ext-cflags): Removed.
7321         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
7322         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
7324 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7326         [BZ #14113]
7327         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
7328         aligned to __aligned__.
7329         (pthread_cond_t, pthread_rwlock_t): Likewise.
7331 2015-07-30  Torvald Riegel  <triegel@redhat.com>
7333         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
7335 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7337         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
7338         (struct sigaction): Change sa_flags from a long to an int, and add
7339         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
7341 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7343         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
7344         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
7345         sysdeps/generic/sysdep.h include.
7346         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
7347         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
7348         sysdeps/hppa/sysdep.h.
7349         (ENTRY, PSEUDO): Undefine before defining.
7351 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
7353         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
7354         from scratch to use INTERNAL_SYSCALL.
7356 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
7358         [BZ #18078]
7359         * scripts/check-localplt.awk: Support alternate relocations.
7360         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
7361         sections.
7362         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
7363         malloc entries with + REL R_386_GLOB_DAT.
7364         * sysdeps/x86_64/localplt.data: New file.
7366 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
7368         [BZ #18731]
7369         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
7370         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7371         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7373 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7375         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
7377 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7379         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
7380         directly in terms of __sync_fetch_and_add and delete (int) cast.
7382 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7384         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
7385         the -D_ASM_IA64_CURRENT_H flag.
7387 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
7389         [BZ #18641]
7390         * pwd/pwd.h (putpwent): Delete __nonnull markings.
7392 2015-07-27  Andreas Schwab  <schwab@suse.de>
7394         * conform/conformtest.pl (checknamespace): Filter out string
7395         literals while tokenizing.
7397 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7399         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7400         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
7401         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7403 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
7405         * nptl/tst-join7mod.c: Add #include <string.h>.
7407 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7409         * sysdeps/nios2/libm-test-ulps: Update.
7411 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
7413         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
7414         Fix order of arguments to the rt_sigprocmask syscall.
7415         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
7416         Likewise.
7418 2015-07-24  Roland McGrath  <roland@hack.frob.com>
7420         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
7422 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7424         [BZ #18457]
7425         * nptl/Makefile (tests): New test case tst-join7.
7426         (modules-names): New test case module tst-join7mod.
7427         * nptl/tst-join7.c: New file.
7428         * nptl/tst-join7mod.c: New file.
7429         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
7430         all translation units in libc.so, libpthread.so and rtld.
7432 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7436 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
7438         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
7439         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
7440         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
7441         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
7442         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
7443         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
7444         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
7445         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
7446         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
7447         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
7448         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
7449         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
7450         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
7451         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
7452         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
7453         implementation.
7455 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7457         [BZ #17711]
7458         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7459         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
7460         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7461         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
7462         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
7463         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
7465 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7467         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
7468         instead of just saying load lock in the comments.
7470 2015-07-23  Roland McGrath  <roland@hack.frob.com>
7472         * sysdeps/unix/Subdirs: Moved ...
7473         * sysdeps/posix/Subdirs: ... here.
7474         * login/pty.h (struct termios, struct winsize): Add forward decls.
7475         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
7476         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
7477         * sysdeps/arm/nacl/libc.abilist: Updated.
7478         * sysdeps/nacl/libutil.abilist: New file.
7480         * bits/signum.h: Update comments to mention 1003.1-2013 too.
7481         (SIGWINCH): New macro.
7483         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
7484         * sysdeps/arm/nacl/libc.abilist: Add it.
7486 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7488         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
7490 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
7492         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7493         Swap __glibc_reserved0 and sa_flags order.
7495 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
7497         [BZ #18657]
7498         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
7499         are pending TLS destructor calls.
7500         * include/link.h (struct link_map): Add concurrency note for
7501         L_TLS_DTOR_COUNT.
7502         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7503         Don't touch the link map flag.  Atomically increment
7504         l_tls_dtor_count.
7505         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
7506         Avoid taking the load lock and don't touch the link map flag.
7507         * stdlib/tst-tls-atexit-nodelete.c: New test case.
7508         * stdlib/Makefile (tests): Use it.
7509         * stdlib/tst-tls-atexit.c (do_test): dlopen
7510         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
7511         to allow tst-tls-atexit-nodelete test case to use it.
7513 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7515         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
7516         to bits/types.h.
7517         (msgqnum_t): New typedef.
7518         (msglen_t): Likewise.
7519         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
7520         and msg_qbytes type to msglen_t.
7522 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7524         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
7525         pad0 to __glibc_reserved0.
7526         (struct stat64): Likewise.
7528 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7530         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
7531         Change sa_flags from a long to an int and add __glibc_reserved0 before
7532         it for padding.
7534 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
7536         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
7537         anonymous by deleting "siginfo" name.
7539 2015-07-21  Roland McGrath  <roland@hack.frob.com>
7541         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
7542         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
7543         rather than __nacl_irt_filename.
7544         * sysdeps/nacl/xstat.c (__xstat): Likewise.
7546         * NEWS: New item for arm-nacl port.
7547         * sysdeps/arm/nacl/libc.abilist: New file.
7548         * sysdeps/nacl/ld.abilist: New file.
7549         * sysdeps/nacl/libBrokenLocale.abilist: New file.
7550         * sysdeps/nacl/libanl.abilist: New file.
7551         * sysdeps/nacl/libcrypt.abilist: New file.
7552         * sysdeps/nacl/libdl.abilist: New file.
7553         * sysdeps/nacl/libm.abilist: New file.
7554         * sysdeps/nacl/libpthread.abilist: New file.
7555         * sysdeps/nacl/libresolv.abilist: New file.
7556         * sysdeps/nacl/librt.abilist: New file.
7558 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
7560         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
7561         __startcontext to initialize the new context.
7562         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
7563         up CFI directive to forbid further backtracing.
7565 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
7567         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
7568         reference.
7569         * charmaps/ANSI_X3.4-1968: Likewise.
7570         * charmaps/BS_4730: Likewise.
7571         * charmaps/BS_VIEWDATA: Likewise.
7572         * charmaps/CP1250: Likewise.
7573         * charmaps/CP1251: Likewise.
7574         * charmaps/CP1252: Likewise.
7575         * charmaps/CP1253: Likewise.
7576         * charmaps/CP1254: Likewise.
7577         * charmaps/CP1255: Likewise.
7578         * charmaps/CP1256: Likewise.
7579         * charmaps/CSN_369103: Likewise.
7580         * charmaps/EBCDIC-DK-NO: Likewise.
7581         * charmaps/GB_1988-80: Likewise.
7582         * charmaps/GREEK-CCITT: Likewise.
7583         * charmaps/GREEK7: Likewise.
7584         * charmaps/INIS-8: Likewise.
7585         * charmaps/ISIRI-3342: Likewise.
7586         * charmaps/ISO_2033-1983: Likewise.
7587         * charmaps/ISO_5427-EXT: Likewise.
7588         * locales/POSIX: Likewise.
7589         * locales/ar_SA: Likewise.
7590         * locales/be_BY: Likewise.
7591         * locales/be_BY@latin: Likewise.
7592         * locales/ca_ES: Likewise.
7593         * locales/cs_CZ: Likewise.
7594         * locales/da_DK: Likewise.
7595         * locales/de_BE: Likewise.
7596         * locales/de_CH: Likewise.
7597         * locales/de_LU: Likewise.
7598         * locales/en_AU: Likewise.
7599         * locales/en_BW: Likewise.
7600         * locales/en_CA: Likewise.
7601         * locales/en_DK: Likewise.
7602         * locales/en_GB: Likewise.
7603         * locales/en_IE: Likewise.
7604         * locales/en_NZ: Likewise.
7605         * locales/en_ZA: Likewise.
7606         * locales/en_ZW: Likewise.
7607         * locales/es_AR: Likewise.
7608         * locales/es_BO: Likewise.
7609         * locales/es_CL: Likewise.
7610         * locales/es_CO: Likewise.
7611         * locales/es_DO: Likewise.
7612         * locales/es_EC: Likewise.
7613         * locales/es_ES: Likewise.
7614         * locales/es_HN: Likewise.
7615         * locales/es_MX: Likewise.
7616         * locales/es_PA: Likewise.
7617         * locales/es_PE: Likewise.
7618         * locales/es_PY: Likewise.
7619         * locales/es_SV: Likewise.
7620         * locales/es_US: Likewise.
7621         * locales/es_UY: Likewise.
7622         * locales/es_VE: Likewise.
7623         * locales/et_EE: Likewise.
7624         * locales/fa_IR: Likewise.
7625         * locales/fo_FO: Likewise.
7626         * locales/fr_CA: Likewise.
7627         * locales/fr_CH: Likewise.
7628         * locales/gv_GB: Likewise.
7629         * locales/he_IL: Likewise.
7630         * locales/hr_HR: Likewise.
7631         * locales/id_ID: Likewise.
7632         * locales/is_IS: Likewise.
7633         * locales/it_CH: Likewise.
7634         * locales/iw_IL: Likewise.
7635         * locales/kl_GL: Likewise.
7636         * locales/ko_KR: Likewise.
7637         * locales/kw_GB: Likewise.
7638         * locales/lg_UG: Likewise.
7639         * locales/lt_LT: Likewise.
7640         * locales/lv_LV: Likewise.
7641         * locales/mi_NZ: Likewise.
7642         * locales/nhn_MX: Likewise.
7643         * locales/nl_BE: Likewise.
7644         * locales/pl_PL: Likewise.
7645         * locales/sk_SK: Likewise.
7646         * locales/sl_SI: Likewise.
7647         * locales/sv_FI: Likewise.
7648         * locales/tl_PH: Likewise.
7649         * locales/tr_TR: Likewise.
7650         * locales/vi_VN: Likewise.
7652 2015-07-21  Khem Raj  <raj.khem@gmail.com>
7654         [BZ #17475]
7655         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
7656         of tu_IN and bh_IN.
7658 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
7660         [BZ #18694]
7661         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
7662         bits/wordsize.h.
7663         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
7665 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7667         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
7668         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
7669         (spawn_thread): New function.
7670         (load): Rename to reg_dtor_and_close.  Move dlopen to...
7671         (do_test): ... here.  Use IS_LOADED to test for its
7672         availability.
7674 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
7676         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7678 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
7680         [BZ #18696]
7681         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
7682         si_addr_bnd.
7683         (si_lower): New.
7684         (si_upper): Likewise.
7686 2015-07-16  David S. Miller  <davem@davemloft.net>
7688         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
7690 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7692         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
7693         buffer.
7694         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
7695         fail output information.
7697 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
7700         and strstr-ppc64..
7701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7702         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
7703         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
7704         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
7705         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
7707 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
7709         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
7710         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7711         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
7712         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7714 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
7716         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
7717         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
7718         rtld_hidden_proto.
7719         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
7721 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7723         * tst-nodelete-opened.c (do_test): Add comment to clarify how
7724         the test can fail.
7726         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
7728         [BZ #18676]
7729         * elf/tst-nodelete-opened.c: New test case.
7730         * elf/tst-nodelete-opened-lib.c: New test case module.
7731         * elf/Makefile (tests, modules-names): Use them.
7732         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
7733         early.
7735 2015-07-15  David S. Miller  <davem@davemloft.net>
7737         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
7738         futex-intenal.h
7739         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
7740         * sysdeps/sparc/sparc64/Makefile: Likewise.
7741         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
7742         Remove space from macro define.
7743         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
7745 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
7747         [BZ #17475]
7748         * locale/iso-639.def: Update Bhili and Tulu language codes as
7749         per iso639-3.
7751 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
7753         * elf/tst-leaks1.c (main): Converted to ...
7754         (do_test): ... this.
7755         (TEST_FUNCTION): New macro.
7756         Include test-skeleton.c.
7757         * localedata/tst-langinfo.c (main): Converted to ...
7758         (do_test): ... this.
7759         (TEST_FUNCTION): New macro.
7760         Include test-skeleton.c.
7761         * math/test-fpucw.c (main): Converted to ...
7762         (do_test): ... this.
7763         (TEST_FUNCTION): New macro.
7764         Include test-skeleton.c.
7765         * math/test-tgmath.c (main): Converted to ...
7766         (do_test): ... this.
7767         (TEST_FUNCTION): New macro.
7768         Include test-skeleton.c.
7769         * math/test-tgmath2.c (main): Converted to ...
7770         (do_test): ... this.
7771         (TEST_FUNCTION): New macro.
7772         Include test-skeleton.c.
7773         * setjmp/tst-setjmp.c (main): Converted to ...
7774         (do_test): ... this.
7775         (TEST_FUNCTION): New macro.
7776         Include test-skeleton.c.
7777         * stdio-common/tst-sscanf.c (main): Converted to ...
7778         (do_test): ... this.
7779         (TEST_FUNCTION): New macro.
7780         Include test-skeleton.c.
7781         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
7782         (do_test): ... this.
7783         (TEST_FUNCTION): New macro.
7784         Include test-skeleton.c.
7786         * elf/tst-audit9.c (main): Converted to ...
7787         (do_test): ... this.
7788         (TEST_FUNCTION): New macro.
7789         Include test-skeleton.c.
7791 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
7793         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
7795 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7797         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
7798         New variable.
7800 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7802         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7804 2015-07-14  Roland McGrath  <roland@hack.frob.com>
7806         * sysdeps/generic/dl-fileid.h: New file.
7807         * sysdeps/posix/dl-fileid.h: New file.
7808         * sysdeps/nacl/dl-fileid.h: New file.
7809         * include/link.h: Include <dl-fileid.h>.
7810         (struct link_map): Replace l_dev and l_ino with l_file_id.
7811         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
7812         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
7813         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
7815 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7817         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
7819 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7821         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
7822         Add iff $CXX is set.
7823         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
7824         Likewise.
7825         (tst-nodelete-zmodiff): Likewise.
7826         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
7828 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7830         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
7832 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
7834         * sysdeps/aarch64/fpu/math_private.h
7835         (define math_opt_barrier): Add AArch64 version.
7836         (math_force_eval): Likewise.
7838 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
7840         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
7842 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7844         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
7845         %ld with %jd and cast to intmax_t.
7846         (do_test_length_zero): Likewise.
7848 2015-07-10  Roland McGrath  <roland@hack.frob.com>
7850         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
7852 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
7854         * sysdeps/tile/libm-test-ulps: Regenerated.
7856         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
7857         Comment out the whole function, not just its body.
7859 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7861         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
7862         locks.
7864         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
7866 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7868         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
7869         (sem_assume_only_signals_cause_futex_EINTR): Remove.
7871 2015-07-10  Torvald Riegel  <triegel@redhat.com>
7873         * sysdeps/nptl/futex-internal.h: New file.
7874         * sysdeps/nacl/futex-internal.h: New file.
7875         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
7876         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
7877         error checking.
7878         (setxid_unmark_thread): Likewise.
7879         (__nptl_setxid): Likewise.
7880         (__wait_lookup_done): Likewise.
7881         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
7882         * nptl/nptl-init.c (sighandler_setxid): Likewise.
7883         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
7884         * nptl/pthread_once.c (clear_once_control): Likewise.
7885         (__pthread_once_slow): Likewise.
7886         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7887         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
7888         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
7889         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7890         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
7891         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
7892         Likewise.
7893         (__pthread_rwlock_rdlock): Likewise.
7894         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7895         Likewise.
7896         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7897         Likewise.
7898         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7899         Likewise.
7900         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
7901         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
7902         Likewise.
7903         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
7904         __ASSUME_PRIVATE_FUTEX check.
7905         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
7906         Check that shared futexes are supported.
7907         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
7908         wrappers with error checking.
7909         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
7910         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
7911         * nptl/pthread_barrierattr_setpshared.c
7912         (pthread_barrierattr_setpshared): Check that shared futexes are
7913         supported.
7914         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
7915         Likewise.
7916         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
7917         Likewise.
7918         * nptl/sem_init.c (futex_private_if_supported): Remove.
7919         (__new_sem_init): Adapt and check that shared futexes are supported.
7920         * nptl/sem_open.c (sem_open): Likewise.
7921         * nptl/sem_post.c (futex_wake): Remove.
7922         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
7923         (do_futex_wait): Use futex wrappers with error checking.
7924         * nptl/sem_wait.c: Include lowlevellock.h.
7925         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
7926         Use futex_supports_pshared.
7927         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
7928         Use futex wrappers with error checking.
7929         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
7930         Likewise.
7931         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
7932         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
7933         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
7934         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
7935         (futex_wake): Likewise.
7936         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
7937         (do_futex_wait): Use futex wrappers with error checking.
7938         (__new_sem_wait_slow): Update EINTR handling.
7939         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
7941 2015-07-09  Martin Sebor  <msebor@redhat.com>
7943         [BZ #18435]
7944         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
7945         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
7946         * nptl/Makefile (test-xfail-tst-once5): Define.
7948 2015-07-09  Roland McGrath  <roland@hack.frob.com>
7950         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
7951         * elf/dl-minimal.c: For readability, reorder some definitions and
7952         introduce more page breaks.  Include <stdio.h>.
7953         (__libc_fatal): New function.
7955         * include/unistd.h: Add rtld_hidden_proto for _exit.
7956         * posix/_exit.c: Add rtld_hidden_def.
7957         * sysdeps/mach/hurd/_exit.c: Likewise.
7958         * sysdeps/nacl/_exit.c: Likewise.
7959         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
7960         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
7962 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
7964         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
7965         bndmov encoding with zero displacement.
7967 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
7968             H.J. Lu  <hongjiu.lu@intel.com>
7970         [BZ #18134]
7971         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
7972         * sysdeps/i386/configure: Regenerated.
7973         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7974         (_dl_runtime_profile): Save and restore Intel MPX return bound
7975         registers when calling _dl_call_pltexit.  Add
7976         PRESERVE_BND_REGS_PREFIX before return.
7977         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
7978         (LRV_BND1_OFFSET): Likewise.
7979         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
7980         lrv_bnd1.
7981         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
7982         typo in bndmov encoding.
7983         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
7984         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
7985         branch instructions to preserve bounds.
7987 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7990         [GLIBC_2.22]: Add fmemopen.
7992 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7994         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
7995         returns an error, also try to use host port from __mach_host_self for
7996         the __vm_wire call.
7997         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
7999 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8001         [BZ #18400]
8002         [BZ #18648]
8003         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
8004         Fix pr_uid and pr_gid members.
8005         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
8006         definition to elf_greg_t.
8008 2015-07-08  Roland McGrath  <roland@hack.frob.com>
8010         [BZ #18383]
8011         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
8012         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
8013         * sysdeps/arm/configure: Regenerated.
8014         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
8015         (test-xfail-tst-tlsalign-static): Variable removed.
8017         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
8018         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
8019         rather than explicit 'ln -s'.
8021         * resolv/rpc/netdb.h: New file.
8022         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
8024 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8026         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
8027         length buffers.
8028         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8029         test-skeleton.c.
8031         [BZ #6544]
8032         [BZ #11216]
8033         [BZ #12836]
8034         [BZ #13151]
8035         [BZ #13152]
8036         [BZ #14292]
8037         * include/stdio.h (fmemopen): Remove hidden prototype.
8038         (__fmemopen): Add new hidden prototype.
8039         * libio/Makefile: Add oldfmemopen object.
8040         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
8041         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
8042         compliance.
8043         * libio/oldfmemopen.c: New file: old fmemopen implementation for
8044         symbol compatibility.
8045         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
8046         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
8047         fmemopen.
8048         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
8049         on append and read mode.
8050         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
8051         fmemopen.
8052         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
8053         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
8054         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
8055         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
8056         Likewise.
8057         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8058         [GLIBC_2.22]: Likewise.
8059         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
8060         Likewise.
8061         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
8062         Likewise.
8063         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8064         [GLIBC_2.22]: Likewise.
8065         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8066         [GLIBC_2.22]: Likewise.
8067         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8068         [GLIBC_2.22]: Likewise.
8069         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8070         [GLIBC_2.22]: Likewise.
8071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8072         [GLIBC_2.22]: Likewise.
8073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8074         [GLIBC_2.22]: Likewise.
8075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8076         [GLIBC_2.22]: Likewise.
8077         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
8078         Likewise.
8079         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
8080         Likewise.
8081         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
8082         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8083         [GLIBC_2.22]: Likewise.
8084         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8085         [GLIBC_2.22]: Likewise.
8086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8087         [GLIBC_2.22]: Likewise.
8088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8089         [GLIBC_2.22]: Likewise.
8090         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
8091         Likewise.
8092         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
8093         Likewise.
8094         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
8095         Likewise.
8096         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
8097         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
8099 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8101         [BZ #18643]
8102         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
8103         IPV6_PATHMTU, and IPV6_DONTFRAG.
8105 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
8107         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
8108         and _IO_UNBUFFERED.
8109         * libio/oldfileops.c: Likewise.
8110         * libio/wfileops.c: Likewise.
8112 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8114         * nscd/selinux.c: Delete selinux/flask.h include.
8116 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
8118         [BZ #18641]
8119         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
8120         (putpwent): Likewise.
8121         (getpwnam): Likewise.
8122         (getpwent_r): Likewise.
8123         (getpwuid_r): Likewise.
8124         (getpwnam_r): Likewise.
8125         (fgetpwent_r): Likewise.
8127 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
8129         [BZ #18557]
8130         * inet/rcmd.c (__validuser2_sa): Check user first to
8131         short-circuit host check.
8133 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
8134             Mikhail Ilin  <m.ilin@samsung.com>
8136         [BZ #17833]
8137         * elf/Makefile (tests): Add tst-nodelete.
8138         (modules-names): Add tst-nodelete-uniquemod.
8139         (tst-nodelete-uniquemod.so-no-z-defs): New.
8140         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
8141         (tst-nodelete-zmod.so-no-z-defs): Likewise.
8142         ($(objpfx)tst-nodelete): Likewise.
8143         ($(objpfx)tst-nodelete.out): Likewise.
8144         (LDFLAGS-tst-nodelete): Likewise.
8145         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
8146         * elf/dl-close.c (_dl_close_worker): Add a parameter to
8147         implement forced object deletion.
8148         (_dl_close): Pass false to _dl_close_worker.
8149         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
8150         * elf/tst-nodelete.cc: New file.
8151         * elf/tst-nodeletelib.cc: Likewise.
8152         * elf/tst-znodeletelib.cc: Likewise.
8153         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
8155 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8157         [BZ #18508]
8158         * stdlib/Makefile ($(objpfx)tst-makecontext3):
8159         Depend on $(libdl).
8160         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
8161         is not called infinitely times.
8162         (backtrace_helper): New function.
8163         (trace_arg): New struct.
8164         (st1): Enlarge stack size.
8165         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
8166         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
8167         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
8168         Likewise.
8170 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8172         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8174 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8176         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
8177         Include sys/types.h instead of bits/types.h.
8178         Remove inclusion of bits/wordsize.h.
8180 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8182         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
8183         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
8184         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
8185         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
8186         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
8187         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
8189 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8191         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
8192         link-defines.sym.
8193         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
8194         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
8195         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
8196         and LR_SIZE.
8197         * sysdeps/i386/link-defines.sym: New file.
8199 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
8201         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
8202         (modules-names): Add tst-auditmod3a tst-auditmod3b.
8203         ($(objpfx)tst-audit3): New rule.
8204         ($(objpfx)tst-audit3.out): Likewise.
8205         * sysdeps/i386/tst-audit3.c: New file.
8206         * sysdeps/i386/tst-audit3.h: Likewise.
8207         * sysdeps/i386/tst-auditmod3a.c: Likewise.
8208         * sysdeps/i386/tst-auditmod3b.c: Likewise.
8210 2015-07-07  Torvald Riegel  <triegel@redhat.com>
8212         [BZ #18633]
8213         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
8214         pointer in C code.
8215         (__strcat_c): Likewise.
8216         (__strcat_g): Likewise.
8218 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
8220         [BZ #18592]
8221         * misc/sbrk.c: Set errno to ENOMEM on overflow.
8223 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8225         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
8226         New function.  (__ieee754_sqrtf): New function.
8227         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
8228         New function.
8229         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
8230         New function.
8232 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
8234         * sysdeps/ieee754/support.c: Remove unused file.
8236 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8238         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
8239         registers instead of d ones so the layout is kernel abi compatible.
8240         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
8241         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
8242         Likewise.
8244 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8246         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8248 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8250         [BZ #18619]
8251         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
8252         and return argument in case of subnormal argument.
8254 2015-07-01  Martin Sebor  <msebor@redhat.com>
8256         [BZ #18435]
8257         * nptl/Makefile: Add tst-once5.cc.
8258         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
8259         Remove macro redefinitions.
8260         * nptl/tst-once5.cc: New test.
8262 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
8264         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8266         * sysdeps/arm/libm-test-ulps: Regenerated.
8268         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8269         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8271 2015-06-30  Torvald Riegel  <triegel@redhat.com>
8273         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
8274         lll_lock_wait_private and lll_futex_wake probes.
8276         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8277         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
8278         Likewise.
8279         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
8280         atomic_spin_nop.
8281         * sysdeps/x86_64/bits/atomic.h: Likewise.
8282         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
8283         to atomic_spin_nop and move ...
8284         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
8285         ... here and ...
8286         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
8287         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
8288         atomic_spin_nop instead of BUSY_WAIT_NOP.
8289         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
8290         Likewise.
8291         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
8292         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
8293         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
8294         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
8295         instead of atomic_delay.
8297 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
8299         [BZ #18613]
8300         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
8301         X_ADJ not X when adjusting exponent.
8302         (__ieee754_gamma_r): Do intermediate computations in
8303         round-to-nearest then adjust overflowing and underflowing results
8304         as needed.
8305         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
8306         of X_ADJ not X when adjusting exponent.
8307         (__ieee754_gammaf_r): Do intermediate computations in
8308         round-to-nearest then adjust overflowing and underflowing results
8309         as needed.
8310         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
8311         log of X_ADJ not X when adjusting exponent.
8312         (__ieee754_gammal_r): Do intermediate computations in
8313         round-to-nearest then adjust overflowing and underflowing results
8314         as needed.  Use 1.0L not 1.0f as numerator of division.
8315         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
8316         log of X_ADJ not X when adjusting exponent.
8317         (__ieee754_gammal_r): Do intermediate computations in
8318         round-to-nearest then adjust overflowing and underflowing results
8319         as needed.  Use 1.0L not 1.0f as numerator of division.
8320         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
8321         of X_ADJ not X when adjusting exponent.
8322         (__ieee754_gammal_r): Do intermediate computations in
8323         round-to-nearest then adjust overflowing and underflowing results
8324         as needed.  Use 1.0L not 1.0f as numerator of division.
8325         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
8326         to auto-libm-test-in.
8327         (tgamma_test): Use ALL_RM_TEST.
8328         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
8329         tests of tgamma with spurious-overflow.
8330         * math/auto-libm-test-out: Regenerated.
8331         * math/gen-libm-have-vector-test.sh: Do not check for START.
8332         * sysdeps/i386/fpu/libm-test-ulps: Update.
8333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8335         [BZ #18612]
8336         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
8337         arguments, just return 0.5 times the argument, with underflow
8338         forced as needed.
8339         * math/auto-libm-test-in: Add more tests of j1.
8340         * math/auto-libm-test-out: Regenerated.
8342         [BZ #16559]
8343         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
8344         (__ieee754_j1): Force underflow exception for small results.
8345         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8346         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
8347         (__ieee754_j1f): Force underflow exception for small results.
8348         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8349         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8350         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8351         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
8352         (__ieee754_j1l): Force underflow exception for small results.
8353         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8354         * math/auto-libm-test-in: Add more tests of j1 and jn.
8355         * math/auto-libm-test-out: Regenerated.
8357         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
8358         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
8359         (PF_MPLS): Likewise.
8360         (AF_IB): Likewise.
8361         (AF_MPLS): Likewise.
8362         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
8363         value and macro.
8364         (MS_RMT_MASK): Include MS_LAZYTIME.
8366 2015-06-26  Mel Gorman  <mgorman@suse.de>
8368         [BZ #18502]
8369         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
8370         already minimal.
8372 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
8374         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
8375         (DT_MIPS_NUM): Update.
8376         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
8377         DT_MIPS_RLD_MAP_REL.
8379 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
8381         [BZ #16559]
8382         [BZ #18602]
8383         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
8384         round-to-nearest internally then recompute results that
8385         underflowed to zero in the original rounding mode.
8386         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8387         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8388         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8389         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
8390         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
8391         * sysdeps/i386/fpu/libm-test-ulps: Update.
8392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8394 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
8396         * NEWS: Fixed description of link with vector math library.
8398 2015-06-25  Andreas Schwab  <schwab@suse.de>
8400         [BZ #18549]
8401         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
8402         * libio/test-fmemopen.c (do_test): Add test for it.
8404 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
8406         [BZ #17841]
8407         * Makeconfig (no-pie-ldflag): New.
8408         (+link): Set to $(+link-pie) if default to PIE.
8409         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
8410         * config.make.in (build-pie-default): New.
8411         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
8412         is default.  AC_SUBST.
8413         * configure: Regenerated.
8414         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
8416 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8418         * nptl/descr.h (struct pthread): Change type of field setxid_futex
8419         to 'unsigned int'.
8421         * resolv/gai_misc.h (struct waitlist): Change type of field
8422         counterp to 'volatile unsigned int *'.
8423         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
8424         FUTEXADDR and OLDVAL.
8425         * resolv/getaddrinfo_a.c (getaddrinfo_a):
8426         Give local variable TOTAL type 'volatile unsigned int'.
8427         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8428         * resolv/gai_suspend.c (gai_suspend):
8429         Give local variable CNTR type 'unsigned int'.
8431         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
8432         counterp to 'volatile unsigned int *'.
8433         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
8434         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
8435         (aio_suspend): Give local variable CNTR type 'unsigned int'.
8436         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
8437         Give local variable TOTAL type 'volatile unsigned int'.
8438         (struct async_waitlist): Change type of field counter to 'unsigned int'.
8440 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8442         [BZ #18383]
8443         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
8444         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
8445         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
8446         comment for i386/x86-64.
8447         (test-xfail-tst-tlsalign-extern-static): Removed.
8449 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8451         * math/test-double.h: New file.
8452         * math/test-float.h: Likewise.
8453         * math/test-ldouble.h: Likewise.
8454         * math/test-math-inline.h: Likewise.
8455         * math/test-math-no-inline.h: Likewise.
8456         * math/test-math-scalar.h: Likewise.
8457         * math/test-math-vector.h: Likewise.
8458         * math/test-vec-loop.h: Remove file.  Contents moved into
8459         test-math-vector.h.
8460         * math/libm-test.inc (MATHCONST): Do not document macro.
8461         * math/test-double.c: Include test-double.h, test-math-no-inline.h
8462         and test-math-scalar.h.
8463         (FUNC): Remove macro.
8464         (FUNC_TEST): Likewise.
8465         (FLOAT): Likewise.
8466         (MATHCONST): Likewise.
8467         (PRINTF_EXPR): Likewise.
8468         (PRINTF_XEXPR): Likewise.
8469         (PRINTF_NEXPR): Likewise.
8470         (TEST_DOUBLE): Likewise.
8471         (TEST_MATHVEC): Likewise.
8472         (__NO_MATH_INLINES): Likewise.
8473         * math/test-float.c: Include test-float.h, test-math-no-inline.h
8474         and test-math-scalar.h.
8475         (FUNC): Remove macro.
8476         (FUNC_TEST): Likewise.
8477         (FLOAT): Likewise.
8478         (MATHCONST): Likewise.
8479         (PRINTF_EXPR): Likewise.
8480         (PRINTF_XEXPR): Likewise.
8481         (PRINTF_NEXPR): Likewise.
8482         (TEST_FLOAT): Likewise.
8483         (TEST_MATHVEC): Likewise.
8484         (__NO_MATH_INLINES): Likewise.
8485         * math/test-idouble.c: Include test-double.h, test-math-inline.h
8486         and test-math-scalar.h.
8487         (FUNC): Remove macro.
8488         (FUNC_TEST): Likewise.
8489         (FLOAT): Likewise.
8490         (MATHCONST): Likewise.
8491         (PRINTF_EXPR): Likewise.
8492         (PRINTF_XEXPR): Likewise.
8493         (PRINTF_NEXPR): Likewise.
8494         (TEST_DOUBLE): Likewise.
8495         (TEST_MATHVEC): Likewise.
8496         (TEST_INLINE): Likewise.
8497         (__NO_MATH_INLINES): Likewise.
8498         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
8499         test-math-scalar.h.
8500         (FUNC): Remove macro.
8501         (FUNC_TEST): Likewise.
8502         (FLOAT): Likewise.
8503         (MATHCONST): Likewise.
8504         (PRINTF_EXPR): Likewise.
8505         (PRINTF_XEXPR): Likewise.
8506         (PRINTF_NEXPR): Likewise.
8507         (TEST_FLOAT): Likewise.
8508         (TEST_MATHVEC): Likewise.
8509         (TEST_INLINE): Likewise.
8510         (__NO_MATH_INLINES): Likewise.
8511         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
8512         and test-math-scalar.h.
8513         (FUNC): Remove macro.
8514         (FUNC_TEST): Likewise.
8515         (FLOAT): Likewise.
8516         (MATHCONST): Likewise.
8517         (PRINTF_EXPR): Likewise.
8518         (PRINTF_XEXPR): Likewise.
8519         (PRINTF_NEXPR): Likewise.
8520         (TEST_LDOUBLE): Likewise.
8521         (TEST_MATHVEC): Likewise.
8522         (TEST_INLINE): Likewise.
8523         (__NO_MATH_INLINES): Likewise.
8524         * math/test-ldouble.c: Include test-ldouble.h,
8525         test-math-no-inline.h and test-math-scalar.h.
8526         (FUNC): Remove macro.
8527         (FUNC_TEST): Likewise.
8528         (FLOAT): Likewise.
8529         (MATHCONST): Likewise.
8530         (PRINTF_EXPR): Likewise.
8531         (PRINTF_XEXPR): Likewise.
8532         (PRINTF_NEXPR): Likewise.
8533         (TEST_LDOUBLE): Likewise.
8534         (TEST_MATHVEC): Likewise.
8535         (__NO_MATH_INLINES): Likewise.
8536         * math/test-double-vlen2.h: Include test-double.h,
8537         test-math-no-inline.h and test-math-vector.h.
8538         (FLOAT): Remove macro.
8539         (FUNC): Likewise.
8540         (MATHCONST): Likewise.
8541         (PRINTF_EXPR): Likewise.
8542         (PRINTF_XEXPR): Likewise.
8543         (PRINTF_NEXPR): Likewise.
8544         (TEST_DOUBLE): Likewise.
8545         (TEST_MATHVEC): Likewise.
8546         (__NO_MATH_INLINES): Likewise.
8547         (CNCT): Likewise.
8548         (CONCAT): Likewise.
8549         (WRAPPER_NAME): Likewise.
8550         (WRAPPER_DECL): Likewise.
8551         (WRAPPER_DECL_ff): Likewise.
8552         (WRAPPER_DECL_fFF): Likewise.
8553         (VECTOR_WRAPPER): Likewise.
8554         (VECTOR_WRAPPER_ff): Likewise.
8555         (VECTOR_WRAPPER_fFF): Likewise.
8556         (VEC_LEN): New macro.
8557         * math/test-double-vlen4.h: Include test-double.h,
8558         test-math-no-inline.h and test-math-vector.h.
8559         (FLOAT): Remove macro.
8560         (FUNC): Likewise.
8561         (MATHCONST): Likewise.
8562         (PRINTF_EXPR): Likewise.
8563         (PRINTF_XEXPR): Likewise.
8564         (PRINTF_NEXPR): Likewise.
8565         (TEST_DOUBLE): Likewise.
8566         (TEST_MATHVEC): Likewise.
8567         (__NO_MATH_INLINES): Likewise.
8568         (CNCT): Likewise.
8569         (CONCAT): Likewise.
8570         (WRAPPER_NAME): Likewise.
8571         (WRAPPER_DECL): Likewise.
8572         (WRAPPER_DECL_ff): Likewise.
8573         (WRAPPER_DECL_fFF): Likewise.
8574         (VECTOR_WRAPPER): Likewise.
8575         (VECTOR_WRAPPER_ff): Likewise.
8576         (VECTOR_WRAPPER_fFF): Likewise.
8577         (VEC_LEN): New macro.
8578         * math/test-double-vlen8.h: Include test-double.h,
8579         test-math-no-inline.h and test-math-vector.h.
8580         (FLOAT): Remove macro.
8581         (FUNC): Likewise.
8582         (MATHCONST): Likewise.
8583         (PRINTF_EXPR): Likewise.
8584         (PRINTF_XEXPR): Likewise.
8585         (PRINTF_NEXPR): Likewise.
8586         (TEST_DOUBLE): Likewise.
8587         (TEST_MATHVEC): Likewise.
8588         (__NO_MATH_INLINES): Likewise.
8589         (CNCT): Likewise.
8590         (CONCAT): Likewise.
8591         (WRAPPER_NAME): Likewise.
8592         (WRAPPER_DECL): Likewise.
8593         (WRAPPER_DECL_ff): Likewise.
8594         (WRAPPER_DECL_fFF): Likewise.
8595         (VECTOR_WRAPPER): Likewise.
8596         (VECTOR_WRAPPER_ff): Likewise.
8597         (VECTOR_WRAPPER_fFF): Likewise.
8598         (VEC_LEN): New macro.
8599         * math/test-float-vlen4.h: Include test-float.h,
8600         test-math-no-inline.h and test-math-vector.h.
8601         (FLOAT): Remove macro.
8602         (FUNC): Likewise.
8603         (MATHCONST): Likewise.
8604         (PRINTF_EXPR): Likewise.
8605         (PRINTF_XEXPR): Likewise.
8606         (PRINTF_NEXPR): Likewise.
8607         (TEST_FLOAT): Likewise.
8608         (TEST_MATHVEC): Likewise.
8609         (__NO_MATH_INLINES): Likewise.
8610         (CNCT): Likewise.
8611         (CONCAT): Likewise.
8612         (WRAPPER_NAME): Likewise.
8613         (WRAPPER_DECL): Likewise.
8614         (WRAPPER_DECL_ff): Likewise.
8615         (WRAPPER_DECL_fFF): Likewise.
8616         (VECTOR_WRAPPER): Likewise.
8617         (VECTOR_WRAPPER_ff): Likewise.
8618         (VECTOR_WRAPPER_fFF): Likewise.
8619         (VEC_LEN): New macro.
8620         * math/test-float-vlen8.h: Include test-float.h,
8621         test-math-no-inline.h and test-math-vector.h.
8622         (FLOAT): Remove macro.
8623         (FUNC): Likewise.
8624         (MATHCONST): Likewise.
8625         (PRINTF_EXPR): Likewise.
8626         (PRINTF_XEXPR): Likewise.
8627         (PRINTF_NEXPR): Likewise.
8628         (TEST_FLOAT): Likewise.
8629         (TEST_MATHVEC): Likewise.
8630         (__NO_MATH_INLINES): Likewise.
8631         (CNCT): Likewise.
8632         (CONCAT): Likewise.
8633         (WRAPPER_NAME): Likewise.
8634         (WRAPPER_DECL): Likewise.
8635         (WRAPPER_DECL_ff): Likewise.
8636         (WRAPPER_DECL_fFF): Likewise.
8637         (VECTOR_WRAPPER): Likewise.
8638         (VECTOR_WRAPPER_ff): Likewise.
8639         (VECTOR_WRAPPER_fFF): Likewise.
8640         (VEC_LEN): New macro.
8641         * math/test-float-vlen16.h: Include test-float.h,
8642         test-math-no-inline.h and test-math-vector.h.
8643         (FLOAT): Remove macro.
8644         (FUNC): Likewise.
8645         (MATHCONST): Likewise.
8646         (PRINTF_EXPR): Likewise.
8647         (PRINTF_XEXPR): Likewise.
8648         (PRINTF_NEXPR): Likewise.
8649         (TEST_FLOAT): Likewise.
8650         (TEST_MATHVEC): Likewise.
8651         (__NO_MATH_INLINES): Likewise.
8652         (CNCT): Likewise.
8653         (CONCAT): Likewise.
8654         (WRAPPER_NAME): Likewise.
8655         (WRAPPER_DECL): Likewise.
8656         (WRAPPER_DECL_ff): Likewise.
8657         (WRAPPER_DECL_fFF): Likewise.
8658         (VECTOR_WRAPPER): Likewise.
8659         (VECTOR_WRAPPER_ff): Likewise.
8660         (VECTOR_WRAPPER_fFF): Likewise.
8661         (VEC_LEN): New macro.
8662         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
8663         test-vec-loop.h.
8664         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8665         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8666         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8667         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8668         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8669         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8670         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8672 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8674         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
8675         (__getlogin_r): ... this.
8677 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8679         [BZ #18594]
8680         * math/s_ccosh.c (__ccosh): Compare with least normal value
8681         instead of comparing class with FP_SUBNORMAL.
8682         * math/s_ccoshf.c (__ccoshf): Likewise.
8683         * math/s_ccoshl.c (__ccoshl): Likewise.
8684         * math/s_cexp.c (__cexp): Likewise.
8685         * math/s_cexpf.c (__cexpf): Likewise.
8686         * math/s_cexpl.c (__cexpl): Likewise.
8687         * math/s_csin.c (__csin): Likewise.
8688         * math/s_csinf.c (__csinf): Likewise.
8689         * math/s_csinh.c (__csinh): Likewise.
8690         * math/s_csinhf.c (__csinhf): Likewise.
8691         * math/s_csinhl.c (__csinhl): Likewise.
8692         * math/s_csinl.c (__csinl): Likewise.
8693         * math/s_ctan.c (__ctan): Likewise.
8694         * math/s_ctanf.c (__ctanf): Likewise.
8695         * math/s_ctanh.c (__ctanh): Likewise.
8696         * math/s_ctanhf.c (__ctanhf): Likewise.
8697         * math/s_ctanhl.c (__ctanhl): Likewise.
8698         * math/s_ctanl.c (__ctanl): Likewise.
8699         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
8700         csin, csinh, ctan and ctanh.
8701         * math/auto-libm-test-out: Regenerated.
8702         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
8703         * sysdeps/i386/fpu/libm-test-ulps: Update.
8704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8706 2015-06-24  Roland McGrath  <roland@hack.frob.com>
8708         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
8709         return value is wrong, print the expected value too.
8711 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
8713         [BZ #18585]
8714         * elf/readlib.c (is_gdb_python_file): New.
8715         (process_file): Don't issue errors on filenames with -gdb.py
8716         suffix.
8718 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
8720         * math/auto-libm-test-in: Add more tests of csin and csinh.
8721         * math/auto-libm-test-out: Regenerated.
8722         * math/libm-test.inc (csin_test_data): Remove tests moved to
8723         auto-libm-test-in.
8724         (csinh_test_data): Likewise.
8726         [BZ #18593]
8727         * math/s_csin.c (__csin): Negate before rather than after possibly
8728         overflowing multiplication.
8729         * math/s_csinf.c (__csinf): Likewise.
8730         * math/s_csinh.c (__csinh): Likewise.
8731         * math/s_csinhf.c (__csinhf): Likewise.
8732         * math/s_csinhl.c (__csinhl): Likewise.
8733         * math/s_csinl.c (__csinl): Likewise.
8734         * math/auto-libm-test-in: Add some tests of csin and csinh.
8735         * math/auto-libm-test-out: Regenerated.
8736         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
8737         (csinh_test_data): Likewise.
8738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8740         [BZ #18586]
8741         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
8742         underflow exception for small results.
8744 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8746         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
8747         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
8748         variable and included header.
8749         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
8750         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
8751         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
8752         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
8753         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
8754         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8755         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8756         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
8757         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
8758         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
8759         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
8760         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
8761         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
8762         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
8763         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
8764         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
8766 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8768         [BZ #16526]
8769         [BZ #16538]
8770         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
8771         (__sin): Force underflow exception for arguments with small
8772         absolute value.
8773         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
8774         (__kernel_sinf): Force underflow exception for arguments with
8775         small absolute value.
8776         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
8777         (__kernel_sincosl): Force underflow exception for arguments with
8778         small absolute value.
8779         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
8780         (__kernel_sinl): Force underflow exception for arguments with
8781         small absolute value.
8782         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
8783         (__kernel_sincosl): Force underflow exception for arguments with
8784         small absolute value.
8785         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
8786         (__kernel_sinl): Force underflow exception for arguments with
8787         small absolute value.
8788         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
8789         (__kernel_sinl): Force underflow exception for arguments with
8790         small absolute value.
8791         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
8792         (__kernel_sinf): Force underflow exception for arguments with
8793         small absolute value.
8794         * math/auto-libm-test-in: Add more tests of sin and sincos.
8795         * math/auto-libm-test-out: Regenerated.
8797         [BZ #18245]
8798         [BZ #18583]
8799         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
8800         (__kernel_standard_l): Use feholdexcept and fesetenv around
8801         conversion to double instead of special-casing overflow and
8802         underflow.
8803         * math/libm-test.inc (fmod_test_data): Add more tests.
8804         (remainder_test_data): Likewise.
8805         (sqrt_test_data): Likewise.
8807 2015-06-23  Torvald Riegel  <triegel@redhat.com>
8809         [BZ #17403]
8810         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
8811         atomic_read_barrier, atomic_write_barrier): Define.
8812         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
8813         atomic_read_barrier, atomic_write_barrier): Define.
8815 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8817         * math/Makefile [$(PERL) != no]
8818         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
8819         dependency on libm-test.stmp below the inclusion of Rules.
8821 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
8823         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
8824         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
8825         and included header.
8826         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
8827         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
8828         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
8829         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
8830         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
8831         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
8832         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8833         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8834         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
8835         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
8836         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
8837         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
8838         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
8839         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
8840         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
8841         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
8842         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
8843         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
8844         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
8846 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
8848         [BZ #18371]
8849         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
8850         intermediate but not final result might underflow.
8851         * math/s_csqrtf.c (__csqrtf): Likewise.
8852         * math/s_csqrtl.c (__csqrtl): Likewise.
8853         * math/auto-libm-test-in: Add more tests of csqrt.
8854         * math/auto-libm-test-out: Regenerated.
8855         * sysdeps/i386/fpu/libm-test-ulps: Update.
8857         [BZ #18219]
8858         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
8859         threshold on absolute value of exponent for which scaling is used.
8860         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8861         * math/auto-libm-test-in: Add more tests of exp2.
8862         * math/auto-libm-test-out: Regenerated.
8864 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
8866         [BZ #17977]
8867         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
8868         when initializing interface list, based on the bug analysis
8869         and the patch proposed by Eric Newton.
8870         * resolv/tst-res_hconf_reorder.c: New test.
8871         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
8872         tst-res_hconf_reorder.
8873         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
8874         and $(shared-thread-library).
8875         (tst-res_hconf_reorder-ENV): New variable.
8877         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
8878         in comment.
8880 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
8882         [BZ #16353]
8883         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
8884         (__expm1): Force underflow exception for arguments with small
8885         absolute value.
8886         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
8887         (__expm1f): Force underflow exception for arguments with small
8888         absolute value.
8889         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
8890         (__expm1): Force underflow exception for arguments with small
8891         absolute value.
8892         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
8893         (__expm1f): Force underflow exception for arguments with small
8894         absolute value.
8895         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
8896         Check for small arguments before calling __expm1.
8897         * math/auto-libm-test-in: Do not mark underflow exceptions as
8898         possibly missing for bug 16353.
8899         * math/auto-libm-test-out: Regenerated.
8901 2015-06-22  Andreas Schwab  <schwab@suse.de>
8903         [BZ #18513]
8904         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
8905         PTR queries.
8907 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
8909         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
8911         * string/strcoll_l.c: Remove unused struct element idxnow.
8913 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
8915         [BZ #18569]
8916         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
8917         underflow and return argument in case of subnormal argument.
8918         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8919         Likewise.
8920         * math/auto-libm-test-in: Add more tests of expm1.
8921         * math/auto-libm-test-out: Regenerated.
8923         [BZ #16361]
8924         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8925         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8926         tiny results.
8927         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
8928         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
8929         tiny results.
8930         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
8931         mark underflow exceptions as possibly missing for bug 16361.
8932         * math/auto-libm-test-out: Regenerated.
8934 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
8936         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
8937         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
8938         Remove variable.
8939         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8940         (test-xfail-XOPEN2K8/utmpx.h/conform).
8942         * conform/conformtest.pl ($xerrors): New variable.
8943         (note_error): New function.
8944         (compiletest): New argument $xfail.  Use not_error.
8945         (runtest): Likewise.
8946         (top level): Handle xfail- lines.  Update calls to compiletest and
8947         runtest.  Handle xfail- and optional- in headers listed with
8948         allow-header.
8949         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
8950         (O_EXEC): Likewise.
8951         (O_SEARCH): Likewise.
8952         * conform/data/stropts.h-data (ioctl): Likewise.
8953         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
8954         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
8955         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
8956         (msghdr.msg_controllen): Likewise.
8957         (cmsghdr.cmsg_len): Likewise.
8958         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
8959         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
8960         variable.
8961         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8962         (test-xfail-XPG4/stropts.h/conform): Likewise.
8963         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8964         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8965         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8966         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8967         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8968         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8969         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8970         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8971         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8972         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8973         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8974         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8975         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8976         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8977         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8978         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8979         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8980         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8981         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8983 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8985         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
8986         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
8987         definitions for proper unfolding of __MATHDECL_VEC.
8989 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8991         * benchtests/bench-strcoll.c:
8992         Include string.h.
8993         (main): Remove unused variable res.
8995 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8997         * timezone/Makefile (%/UTC %/Universal):
8998         Generate test-result files for UTC and Universal.
9000 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9002         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9004 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
9006         [BZ #16350]
9007         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
9008         for arguments with small absolute value.
9009         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
9010         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
9011         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
9012         (__asinh): Force underflow exception for arguments with small
9013         absolute value.
9014         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
9015         (__asinhf): Force underflow exception for arguments with small
9016         absolute value.
9017         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
9018         (__asinhl): Force underflow exception for arguments with small
9019         absolute value.
9020         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
9021         (__asinhl): Force underflow exception for arguments with small
9022         absolute value.
9023         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
9024         (__asinhl): Force underflow exception for arguments with small
9025         absolute value.
9026         * math/auto-libm-test-in: Do not mark underflow exceptions as
9027         possibly missing for bug 16350.
9028         * math/auto-libm-test-out: Regenerated.
9030         * include/bits/ipc.h: Remove file.
9031         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
9032         variable.
9033         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
9034         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
9035         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
9036         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
9037         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
9038         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
9039         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
9040         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
9041         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
9043         * math/auto-libm-test-in: Remove spurious underflow allowance for
9044         tests of cexp.
9045         * math/auto-libm-test-out: Regenerated.
9047         [BZ #18558]
9048         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9049         unconditional definition.
9050         (MCAST_BLOCK_SOURCE): Likewise.
9051         (MCAST_UNBLOCK_SOURCE): Likewise.
9052         (MCAST_LEAVE_GROUP): Likewise.
9053         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9054         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9055         (MCAST_MSFILTER): Likewise.
9056         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
9057         Remove variable.
9058         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
9059         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
9060         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
9061         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
9062         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
9064 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
9066         * NEWS: Mention addition of x86_64 vector sincosf.
9067         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
9068         * math/test-float-vlen4.h: Likewise.
9069         * math/test-float-vlen8.h: Likewise.
9070         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9071         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
9072         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9073         * sysdeps/x86_64/fpu/Versions: New versions added.
9074         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9075         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9076         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9077         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
9078         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9079         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
9080         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9081         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
9082         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9083         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
9084         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
9085         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
9086         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
9087         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
9088         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
9089         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
9090         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
9091         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9092         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9093         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9094         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9095         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9096         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9097         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9099         * NEWS: Mention addition of x86_64 vector sincos.
9100         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
9101         * math/math.h (__MATHDECL_VEC): New macro.
9102         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
9103         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
9104         declaration under condition.
9105         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
9106         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
9107         TEST_VEC_LOOP change.
9108         * math/test-double-vlen4.h: Likewise.
9109         * math/test-double-vlen8.h: Likewise.
9110         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
9111         * math/test-float-vlen4.h: Likewise.
9112         * math/test-float-vlen8.h: Likewise.
9113         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9114         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
9115         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9116         * sysdeps/x86_64/fpu/Versions: New versions added.
9117         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9118         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9119         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9120         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
9121         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
9122         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
9123         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
9124         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
9125         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
9126         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
9127         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
9128         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
9129         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
9130         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
9131         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
9132         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
9133         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
9134         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9135         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9136         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9137         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9138         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9139         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9140         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9142         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9143         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9144         redirections for powf.
9145         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9146         * sysdeps/x86_64/fpu/Versions: New versions added.
9147         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9148         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9149         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9150         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
9151         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
9152         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
9153         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
9154         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
9155         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
9156         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
9157         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
9158         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
9159         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
9160         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
9161         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
9162         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
9163         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
9164         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9165         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9166         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9167         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9168         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9169         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9170         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9171         * math/test-float-vlen16.h: Fixed 2 argument macro.
9172         * math/test-float-vlen4.h: Likewise.
9173         * math/test-float-vlen8.h: Likewise.
9174         * NEWS: Mention addition of x86_64 vector powf.
9176 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
9178         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9179         and redefine.
9180         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9181         and redefine.
9182         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
9183         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9184         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9186         [BZ #18553]
9187         * resource/getpriority.c (getpriority): Rename to __getpriority
9188         and define as weak alias of __getpriority.
9189         * resource/setpriority.c (setpriority): Rename to __setpriority
9190         and define as weak alias of __setpriority.
9191         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
9192         __getpriority and define as weak alias of __getpriority.
9193         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
9194         __setpriority and define as weak alias of __setpriority.
9195         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
9196         strong name.
9197         (setpriority): Use __setpriority as strong name.
9198         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
9199         __getpriority and define as weak alias of __getpriority.
9200         * include/sys/resource.h (__getpriority): Declare.  Use
9201         libc_hidden_proto.
9202         (__setpriority): Likewise.
9203         (getpriority): Don't use libc_hidden_proto.
9204         (setpriority): Likewise.
9205         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
9206         getpriority.  Call __setpriority instead of setpriority.
9207         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
9208         Remove variable.
9210         [BZ #18547]
9211         * misc/getttyent.c (getttynam): Rename to __getttynam and define
9212         as weak alias of __getttynam.  Use prototype function definition.
9213         Call __setttyent, __getttyent and __endttyent instead of
9214         setttyent, getttyent and endttyent.
9215         (getttyent): Rename to __getttyent and define as weak alias of
9216         __getttyent.  Call __setttyent instead of setttyent.  Call
9217         __fgets_unlocked instead of fgets_unlocked.
9218         (setttyent): Rename to __setttyent and define as weak alias of
9219         __setttyent.
9220         (endttyent): Rename to __endttyent and define as weak alias of
9221         __endttyent.
9222         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
9223         (__setttyent): Likewise.
9224         (__endttyent): Likewise.
9225         (getttyent): Don't use libc_hidden_proto.
9226         (setttyent): Likewise.
9227         (endttyent): Likewise.
9228         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
9229         __endttyent instead of setttyent, getttyent and endttyent.
9230         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
9231         Remove variable.
9233         [BZ #18546]
9234         * socket/recv.c (__recv): Use libc_hidden_def.
9235         * socket/socket.c (__socket): Likewise.
9236         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9237         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9238         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
9239         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
9240         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
9241         libc_hidden_def.
9242         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
9243         libc_hidden_weak.
9244         * include/sys/socket.h (__socket): Do not use attribute_hidden.
9245         Use libc_hidden_proto.
9246         (__recv): Likewise.
9247         * socket/Versions (libc): Export __recv and __socket at version
9248         GLIBC_PRIVATE.
9249         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
9250         instead of recv.
9251         (init_mq_netlink): Call __socket instead of socket.
9252         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
9253         Remove variable.
9255         [BZ #18545]
9256         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
9257         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
9258         hidden_weak.
9259         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
9260         define as alias of __mq_timedsend.  Use hidden_weak.
9261         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
9262         __mq_timedsend as strong name.
9263         (mq_timedreceive): Use __mq_timedreceive as strong name.
9264         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
9265         (__mq_timedreceive): Likewise.
9266         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
9267         __mq_timedreceive instead of mq_timedreceive.
9268         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
9269         instead of mq_timedsend.
9270         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
9271         Remove variable.
9273         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
9274         hidden_def and hidden_weak instead of libc_hidden_def and
9275         libc_hidden_weak.
9276         (top level): Refer to hidden_def in comment.
9277         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
9278         macro.  Use it instead of libc_hidden_def.
9279         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
9280         specify __GI_* name explicitly.
9281         (mq_timedreceive): Likewise.
9282         (mq_setattr): Likewise.
9284         [BZ #18544]
9285         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
9286         __pthread_barrier_init and define as weak alias of
9287         __pthread_barrier_init.
9288         * sysdeps/sparc/nptl/pthread_barrier_init.c
9289         (pthread_barrier_init): Likewise.
9290         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
9291         __pthread_barrier_wait and define as weak alias of
9292         __pthread_barrier_wait.
9293         * sysdeps/sparc/nptl/pthread_barrier_wait.c
9294         (pthread_barrier_wait): Likewise.
9295         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9296         (pthread_barrier_wait): Likewise.
9297         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
9298         (pthread_barrier_wait): Likewise.
9299         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
9300         (pthread_barrier_wait): Likewise.
9301         * nptl/Versions (libpthread): Export __pthread_barrier_init and
9302         __pthread_barrier_wait at version GLIBC_PRIVATE.
9303         * include/pthread.h (__pthread_barrier_init): Declare.
9304         (__pthread_barrier_wait): Likewise.
9305         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
9306         Call __pthread_barrier_wait instead of pthread_barrier_wait.
9307         (helper_thread): Likewise.
9308         (init_mq_netlink): Call __pthread_barrier_init instead of
9309         pthread_barrier_init.
9311         [BZ #18542]
9312         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
9313         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
9314         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
9315         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
9316         vswscanf.
9317         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
9318         Remove variable.
9320         [BZ #18540]
9321         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
9322         strong alias of _IO_fflush.  Use libc_hidden_def.
9323         * libio/iofflush_u.c (fflush_unlocked): Rename to
9324         __fflush_unlocked and define as weak alias of __fflush_unlocked.
9325         Use libc_hidden_weak.
9326         * include/stdio.h (__fflush_unlocked): Declare.  Use
9327         libc_hidden_proto.
9328         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
9329         fflush_unlocked.
9330         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
9331         Remove variable.
9333         [BZ #18539]
9334         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
9335         define as weak alias of __addseverity.
9336         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
9337         Remove variable.
9338         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9339         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9340         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9342         [BZ #18536]
9343         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
9344         (__tfind): Likewise.
9345         (__tdelete): Likewise.
9346         (__twalk): Likewise.
9347         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
9348         __twalk to GLIBC_PRIVATE.
9349         * include/search.h (__tsearch): Use libc_hidden_proto.
9350         (__tfind): Likewise.
9351         (__tdelete): Likewise.
9352         (__twalk): Likewise.
9353         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
9354         Call __tdelete instead of tdelete.
9355         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
9356         tfind.  Call __tsearch instead of tsearch.
9357         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
9358         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
9359         Remove variable.
9360         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9362         [BZ #18534]
9363         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
9364         (dprintf): Define as a weak alias of __dprintf, not a strong
9365         alias.
9366         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
9367         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
9368         dprintf.
9369         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
9370         Remove variable.
9371         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9372         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9374         [BZ #18533]
9375         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
9376         not a strong alias.
9377         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
9378         Remove variable.
9380         [BZ #18532]
9381         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
9382         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
9383         (in6addr_loopback): Rename to __in6addr_loopback and define as
9384         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
9385         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
9386         libc_hidden_proto.
9387         (__in6addr_any): Likewise.
9388         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
9389         in6addr_any.
9390         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
9391         variable.
9392         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9394 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9396         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
9397         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
9398         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9399         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9400         redirections for pow.
9401         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9402         * sysdeps/x86_64/fpu/Versions: New versions added.
9403         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9404         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9405         build of SSE, AVX2 and AVX512 IFUNC versions.
9406         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
9407         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
9408         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
9409         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
9410         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
9411         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
9412         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
9413         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
9414         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
9415         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
9416         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
9417         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
9418         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
9419         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
9420         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9421         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9422         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9423         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9424         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9425         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9426         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9427         * NEWS: Mention addition of x86_64 vector pow.
9429         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9430         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9431         redirections for expf.
9432         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9433         * sysdeps/x86_64/fpu/Versions: New versions added.
9434         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9435         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9436         build of SSE, AVX2 and AVX512 IFUNC versions.
9437         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
9438         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
9439         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
9440         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
9441         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
9442         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
9443         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
9444         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
9445         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
9446         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
9447         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
9448         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
9449         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
9450         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9451         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9452         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9453         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9454         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9455         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9456         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9457         * NEWS: Mention addition of x86_64 vector expf.
9459         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
9460         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
9461         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9462         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9463         redirections for exp.
9464         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9465         * sysdeps/x86_64/fpu/Versions: New versions added.
9466         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9467         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9468         build of SSE, AVX2 and AVX512 IFUNC versions.
9469         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
9470         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
9471         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
9472         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
9473         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
9474         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
9475         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
9476         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
9477         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
9478         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
9479         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
9480         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
9481         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
9482         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9483         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9484         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9485         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9486         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9487         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9488         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9489         * NEWS: Mention addition of x86_64 vector exp.
9491         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9492         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9493         redirections for logf.
9494         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9495         * sysdeps/x86_64/fpu/Versions: New versions added.
9496         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9497         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9498         build of SSE, AVX2 and AVX512 IFUNC versions.
9499         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
9500         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
9501         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
9502         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
9503         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
9504         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
9505         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
9506         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
9507         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
9508         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
9509         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
9510         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
9511         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
9512         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9513         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9514         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9515         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9516         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9517         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9518         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9519         * NEWS: Mention addition of x86_64 vector logf.
9521         * bits/libm-simd-decl-stubs.h: Added stubs for log.
9522         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
9523         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9524         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
9525         redirections for log.
9526         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9527         * sysdeps/x86_64/fpu/Versions: New versions added.
9528         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9529         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9530         build of SSE, AVX2 and AVX512 IFUNC versions.
9531         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
9532         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
9533         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
9534         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
9535         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
9536         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
9537         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
9538         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
9539         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
9540         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
9541         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
9542         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
9543         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
9544         test.
9545         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9546         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9547         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9548         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9549         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9550         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9551         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9552         * NEWS: Mention addition of x86_64 vector log.
9554 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9556         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
9557         cfi_adjust_cfa_offset argument.
9558         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
9559         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
9561         [BZ #18034]
9562         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
9563         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
9564         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
9565         ordering using ldar.
9566         (_dl_tlsdesc_dynamic): Likewise.
9567         (_dl_tlsdesc_return_lazy): Likewise.
9568         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
9569         relaxed atomics instead of volatile and synchronize with release store.
9570         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
9571         volatile.
9572         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9574 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
9576         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
9577         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
9578         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9579         * sysdeps/x86_64/fpu/Versions: New versions added.
9580         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9581         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
9582         build of SSE, AVX2 and AVX512 IFUNC versions.
9583         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
9584         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
9585         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
9586         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
9587         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
9588         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
9589         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
9590         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
9591         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
9592         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
9593         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
9594         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
9595         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
9596         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
9597         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9598         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
9599         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9600         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
9601         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9602         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
9603         * NEWS: Mention addition of x86_64 vector sinf.
9605 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
9607         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
9608         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
9609         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
9610         Remove variable.
9611         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9612         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9614 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
9616         [BZ #18530]
9617         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
9618         strong alias of _IO_fputs.  Use libc_hidden_def.
9619         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
9620         and define as weak alias of __fputs_unlocked.  Use
9621         libc_hidden_weak.
9622         * include/stdio.h (__fputs_unlocked): Declare.  Use
9623         libc_hidden_proto.
9624         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
9625         fputs_unlocked.
9627         [BZ #18529]
9628         * resolv/netdb.h [__USE_POSIX]: Change condition to
9629         [__USE_XOPEN2K].
9630         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
9631         not expect.
9632         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
9633         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
9634         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
9635         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
9636         [XPG4 || UNIX98] (AI_ALL): Likewise.
9637         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
9638         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
9639         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
9640         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
9641         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
9642         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
9643         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
9644         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
9645         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
9646         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
9647         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
9648         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
9649         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
9650         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
9651         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
9652         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
9653         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
9654         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
9655         [XPG4 || UNIX98] (gai_strerror): Likewise.
9656         [XPG4 || UNIX98] (getaddrinfo): Likewise.
9657         [XPG4 || UNIX98] (getnameinfo): Likewise.
9659         [BZ #18528]
9660         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
9661         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
9662         __USE_XOPEN2K8].
9663         (getgrent): Likewise.
9664         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
9665         expect.
9666         [XPG3 || POSIX2008] (endgrent): Likewise.
9667         [XPG3] (setgrent): Likewise.
9668         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
9669         variable.
9670         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9672         [BZ #18527]
9673         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
9674         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
9675         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
9676         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
9677         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
9678         * include/unistd.h (__getlogin_r): Declare.  Use
9679         libc_hidden_proto.
9680         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
9681         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
9682         variable.
9683         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9684         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9685         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9687 2015-06-12  Martin Sebor  <msebor@redhat.com>
9689         [BZ #18512]
9690         * Makerules (check-install-supported): New target.
9691         (install): Add check-install-supported as a dependency.
9692         * manual/install.texi (Installing the C Library): Document
9693         that overriding prefix and exec_prefix is not supported.
9694         Mention DESTDIR.
9695         * INSTALL: Regenerate from the above.
9697 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
9699         [BZ #18519]
9700         * posix/Versions (libc): Export __libc_pread at version
9701         GLIBC_PRIVATE.
9702         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
9703         instead of pread.
9704         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
9705         variable.
9707         [BZ #18522]
9708         * misc/efgcvt_r.c
9709         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
9710         (cvt_symbol): Use weak_alias instead of strong_alias.
9711         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
9712         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
9713         Remove variable.
9714         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9715         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9717         [BZ #18520]
9718         * inet/herrno.c (h_errno): Rename to __h_errno.
9719         (__libc_h_errno): Define as alias of __h_errno not h_errno.
9720         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
9721         to __h_errno instead of h_errno.
9722         * nptl/herrno.c (h_errno): Rename to __h_errno.
9723         (__h_errno_location): Refer to __h_errno not h_errno.
9724         * resolv/Versions (h_errno): Rename to __h_errno.
9725         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
9726         Remove variable.
9727         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9729 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
9731         * configure.ac: More strict check for AVX512 assembler support.
9732         * configure: Regenerated.
9734         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
9735         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
9736         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9737         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
9738         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9739         * sysdeps/x86_64/fpu/Versions: New versions added.
9740         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9741         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9742         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9743         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
9744         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
9745         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
9746         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
9747         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
9748         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
9749         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
9750         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
9751         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
9752         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
9753         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
9754         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
9755         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
9756         test.
9757         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
9758         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9759         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
9760         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9761         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
9762         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9763         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
9764         * NEWS: Mention addition of x86_64 vector sin.
9766 2015-06-11  Florian Weimer  <fweimer@redhat.com>
9768         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
9769         comment.
9771 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9773         [BZ #18479]
9774         * nptl/pt-interp.c: New file.
9775         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
9776         Add pt-interp.
9777         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
9778         $(common-objpfx)runtime-linker.h.
9780 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
9782         * Makeconfig (+interp): Remove unused variable.
9783         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
9784         only.  Depend on $(common-objpfx)runtime-linker.h instead of
9785         $(elf-objpfx)runtime-linker.h.
9786         ($(elf-objpfx)runtime-linker.h): Rename to
9787         $(common-objpfx)runtime-linker.h and move ...
9788         * Makerules [$(build-shared) = yes]: ... here.
9789         * elf/interp.c: Include <runtime-linker.h> instead of
9790         <elf/runtime-linker.h>.
9792 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9794         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
9795         (__gettimeofday_syscall): Remove vsyscall fallback.
9796         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
9797         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
9798         Add syscall fallback function.
9799         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
9800         if vDSO is not present.
9801         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
9802         fallback function.
9803         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
9804         present.
9805         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
9806         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
9808 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
9810         [BZ #18497]
9811         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
9812         of wcscmp.
9813         (wcscmp): Define as weak alias of WCSCMP.
9814         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
9815         wcscoll.
9816         (USE_HIDDEN_DEF): Define.
9817         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
9818         __wcscoll.  Don't use libc_hidden_weak.
9819         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
9820         wcscmp.
9821         * sysdeps/i386/i686/multiarch/wcscmp-c.c
9822         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
9823         __GI_wcscmp.
9824         (weak_alias): Undefine and redefine.
9825         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
9826         __wcscmp and define as weak alias of __wcscmp.
9827         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
9828         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
9829         (__wcscoll): Likewise.
9830         (wcscmp): Don't use libc_hidden_proto.
9831         (wcscoll): Likewise.
9832         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
9833         wcscoll.
9834         * posix/regexec.c (check_node_accept_bytes): Likewise.
9835         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
9836         variable.
9837         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9838         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9840         [BZ #18507]
9841         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
9842         __fstatvfs and define as weak alias of __fstatvfs.  Use
9843         libc_hidden_weak.
9844         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
9845         and define as weak alias of __statvfs.  Use libc_hidden_weak.
9846         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
9847         Define as alias of __fstatvfs, not fstatvfs.
9848         (fstatvfs64): Likewise.
9849         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
9850         Define as alias of __statvfs, not statvfs.
9851         (statvfs64): Likewise.
9852         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
9853         Remove variable.
9855 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9858         (HAVE_GETCPU_VSYSCALL): Define.
9859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9860         (HAVE_GETCPU_VSYSCALL): Likewise.
9861         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
9862         * sysdeps/unix/sysv/linux/sched_getcpu.c
9863         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
9864         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
9865         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
9866         prototype.
9867         * sysdeps/unix/sysv/linux/x86_64/init-first.c
9868         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
9869         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
9870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
9871         Define.
9872         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
9873         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9874         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
9875         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9877 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
9879         * sysdeps/x86_64/fpu/Makefile: New file.
9880         * sysdeps/x86_64/fpu/Versions: New file.
9881         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
9882         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
9883         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
9884         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
9885         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
9886         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
9887         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
9888         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
9889         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
9890         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
9891         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
9892         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
9893         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
9894         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9895         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9896         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
9897         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
9898         * sysdeps/x86_64/configure.ac: Options for libmvec build.
9899         * sysdeps/x86_64/configure: Regenerated.
9900         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
9901         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
9902         * manual/install.texi (Configuring and compiling): Document
9903         --disable-mathvec.
9904         * INSTALL: Regenerated.
9905         * NEWS: Mention addition of libmvec and x86_64 vector cos.
9907         * math/Makefile: Added rules for vector tests.
9908         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
9909         declaration under condition.
9910         * math/test-double-vlen2.h: New file.
9911         * math/test-double-vlen4.h: New file.
9912         * math/test-double-vlen8.h: New file.
9913         * math/test-vec-loop.h: Added initialization macro.
9914         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
9915         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
9916         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
9917         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
9918         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
9919         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
9920         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
9921         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
9922         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
9923         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
9924         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
9926         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
9927         * sysdeps/x86_64/fpu/Versions: New versions added.
9928         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
9929         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
9930         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
9931         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
9932         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
9933         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
9934         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
9935         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
9936         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
9937         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
9938         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
9939         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
9940         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
9941         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
9942         Added build of SSE, AVX2 and AVX512 IFUNC versions.
9943         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
9944         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
9945         * NEWS: Mention addition of x86_64 vector cosf.
9947         * math/Makefile: Added CFLAGS for new tests.
9948         * math/test-float-vlen16.h: New file.
9949         * math/test-float-vlen4.h: New file.
9950         * math/test-float-vlen8.h: New file.
9951         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
9952         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
9953         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9954         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
9955         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
9956         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
9957         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
9958         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
9959         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
9960         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
9961         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
9963 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
9965         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
9966         * locale/programs/ld-ctype.c: Likewise.
9968 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
9970         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
9971         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
9972         bit_ZMM16_31_state): New macro.
9973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9974         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
9976 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
9978         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
9980 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
9982         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
9984 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
9986         [BZ #18498]
9987         * libio/memstream.c (open_memstream): Rename to __open_memstream
9988         and define as weak alias of __open_memstream.
9989         * include/stdio.h (__open_memstream): Declare.  Use
9990         libc_hidden_proto.
9991         (open_memstream): Don't use libc_hidden_proto.
9992         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
9993         open_memstream.
9994         * posix/getopt.c (_getopt_internal_r): Likewise.
9995         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
9996         variable.
9997         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9998         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9999         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
10001         [BZ #18496]
10002         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
10003         instead of wcrtomb.
10005         [BZ #18483]
10006         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
10007         [__USE_XOPEN2K8].  Remove redundant #endif.
10008         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
10009         Remove redundant #if.
10010         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
10011         Remove variable.
10012         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
10013         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
10015         [BZ #18495]
10016         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
10017         (__iswlower): Likewise.
10018         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
10019         (__iswlower): Likewise.
10020         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
10021         instead of towlower.
10022         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
10023         instead of iswlower.  Call __towupper instead of towupper.
10024         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
10025         instead of iswalnum.
10027 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10029         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
10030         errors to stderr.
10032 2015-06-05  Florian Weimer  <fweimer@redhat.com>
10034         [BZ #15661]
10035         [BZ #17322]
10036         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10037         Check for overflow properly.  Check for O_APPEND.  Ignore large
10038         file system block sizes.  Add comments about problems.
10039         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
10040         * manual/filesys.texi (Storage Allocation): New node.
10042 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10044         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
10045         cancellable syscalls.
10046         (SYS_ify): Add guard to no redefine it.
10047         (INLINE_SYSCALL): Likewise.
10048         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
10049         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
10050         SYSCALL_CANCEL instead.
10051         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
10052         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10053         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10054         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10055         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10056         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
10057         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
10058         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
10059         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
10060         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10061         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
10062         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
10063         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
10064         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
10065         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
10066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10067         Likewise.
10068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10069         (__libc_pread64): Likewise.
10070         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
10071         (__libc_preadv): Likewise.
10072         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
10073         (__libc_readv64): Likewise.
10074         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10075         (__libc_pwrite): Likewise.
10076         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10077         (__libc_pwrite64): Likewise.
10078         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
10079         (__libc_pwritev): Likewise.
10080         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
10081         (__libc_pwritev64): Likewise.
10082         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
10083         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10084         (sync_file_range): Likewise.
10085         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
10086         Likewise.
10087         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
10088         Likewise.
10089         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10090         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10091         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10092         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10093         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10094         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10095         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10096         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
10097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10098         Likewise.
10099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10100         (__libc_read64): Likewise.
10101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
10102         Likewise.
10103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
10104         Likewise.
10105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
10106         Likewise.
10107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
10108         Likewise.
10109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
10110         (__libc_pread64): Likewise.
10111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
10112         Likewise.
10113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
10114         (__libc_pwrite64): Likewise.
10115         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
10116         (sync_file_range): Likewise.
10117         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
10118         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10119         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10120         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
10121         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
10122         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10123         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10124         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
10125         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
10126         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10127         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10128         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10129         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10130         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10131         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
10132         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10133         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10134         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10135         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10136         Likewise.
10137         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
10138         Likewise.
10139         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
10140         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
10141         Likewise.
10142         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
10143         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
10144         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
10145         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
10146         Likewise.
10147         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
10148         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
10149         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
10150         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
10151         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
10153 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
10155         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
10156         Include dl-vdso.
10157         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
10158         Use VDSO routines for gettimeofday, clock_gettime if
10159         available.
10160         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
10161         Declare VDSO symbols.
10162         * sysdeps/unix/sysv/linux/arm/sysdep.h:
10163         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
10164         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10165         * sysdeps/unix/sysv/linux/arm/Versions: Add
10166         __vdso_clock_gettime.
10168 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10170         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
10171         be an inline implementation regardless of library is built within.
10172         (open_not_cancel_2): Likewise.
10173         (__read_nocancel): Likewise.
10174         (__write_nocancel): Likewise.
10175         (openat_not_cancel): Likewise.
10176         (openat_not_cancel_3): Likewise.
10177         (openat64_not_cancel): Likewise.
10178         (openat64_not_cancel_3): Likewise.
10179         (__close_nocancel): Likewise.
10180         (pause_not_cancel): Likewise.
10181         (nanosleep_not_cancel): Likewise.
10182         (sigsuspend_not_cancel): Likewise.
10184 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10186         [BZ #14958]
10187         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
10188         wake-up.
10189         (__pthread_rwlock_rdlock_slow): Likewise.
10190         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10191         Likewise.
10192         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
10193         Likewise.
10194         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
10195         * nptl/tst-rwlock16.c: New file.
10196         * nptl/Makefile (tests): Add new test.
10198 2015-06-04  Torvald Riegel  <triegel@redhat.com>
10200         [BZ #18324]
10201         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
10202         missing wake-up of readers.
10203         * nptl/tst-rwlock15.c: New file.
10204         * nptl/Makefile (tests): Add new test.
10206 2015-06-03  Roland McGrath  <roland@hack.frob.com>
10208         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
10209         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
10210         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
10211         and __nacl_supply_interface_rtld.
10212         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
10213         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
10214         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
10215         Add __nacl_supply_interface_rtld.
10216         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
10218 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10220         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
10221         isfinite.
10222         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10223         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
10225 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
10227         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
10228         __signbit* with standard C99 macros.
10229         * math/e_exp10l.c: Likewise.
10230         * math/e_exp2l.c: Likewise.
10231         * math/e_scalb.c: Likewise.
10232         * math/e_scalbf.c: Likewise.
10233         * math/e_scalbl.c: Likewise.
10234         * math/s_ldexp.c: Likewise.
10235         * math/s_ldexpf.c: Likewise.
10236         * math/s_ldexpl.c: Likewise.
10237         * math/w_atan2.c: Likewise.
10238         * math/w_atan2f.c: Likewise.
10239         * math/w_atan2l.c: Likewise.
10240         * math/w_cosh.c: Likewise.
10241         * math/w_coshf.c: Likewise.
10242         * math/w_coshl.c: Likewise.
10243         * math/w_exp10.c: Likewise.
10244         * math/w_exp10f.c: Likewise.
10245         * math/w_exp10l.c: Likewise.
10246         * math/w_exp2.c: Likewise.
10247         * math/w_exp2f.c: Likewise.
10248         * math/w_exp2l.c: Likewise.
10249         * math/w_fmod.c: Likewise.
10250         * math/w_fmodf.c: Likewise.
10251         * math/w_fmodl.c: Likewise.
10252         * math/w_hypot.c: Likewise.
10253         * math/w_hypotf.c: Likewise.
10254         * math/w_hypotl.c: Likewise.
10255         * math/w_jnl.c: Likewise.
10256         * math/w_lgamma.c: Likewise.
10257         * math/w_lgamma_r.c: Likewise.
10258         * math/w_lgammaf.c: Likewise.
10259         * math/w_lgammaf_r.c: Likewise.
10260         * math/w_lgammal.c: Likewise.
10261         * math/w_lgammal_r.c: Likewise.
10262         * math/w_pow.c: Likewise.
10263         * math/w_powf.c: Likewise.
10264         * math/w_powl.c: Likewise.
10265         * math/w_remainder.c: Likewise.
10266         * math/w_remainderf.c: Likewise.
10267         * math/w_remainderl.c: Likewise.
10268         * math/w_scalb.c: Likewise.
10269         * math/w_scalbf.c: Likewise.
10270         * math/w_scalbl.c: Likewise.
10271         * math/w_scalbln.c: Likewise.
10272         * math/w_scalblnf.c: Likewise.
10273         * math/w_scalblnl.c: Likewise.
10274         * math/w_sinh.c: Likewise.
10275         * math/w_sinhf.c: Likewise.
10276         * math/w_sinhl.c: Likewise.
10277         * math/w_tgamma.c: Likewise.
10278         * math/w_tgammaf.c: Likewise.
10279         * math/w_tgammal.c: Likewise.
10280         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10281         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
10282         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10283         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10284         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10285         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10286         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10287         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10288         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10289         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10290         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10291         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10292         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10293         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10294         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10295         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10296         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10297         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10298         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10299         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10300         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10301         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10302         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10304         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10305         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10306         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
10307         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10308         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10309         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10310         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
10311         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
10312         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
10313         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
10314         * stdio-common/printf_fp.c: Likewise.
10315         * stdio-common/printf_fphex.c: Likewise.
10316         * stdio-common/printf_size.c: Likewise.
10318 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
10320         [BZ #18470]
10321         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
10322         strnlen.
10323         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
10324         Remove variable.
10325         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
10326         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
10327         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
10328         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
10329         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
10330         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
10331         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
10332         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
10333         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
10334         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
10336         [BZ #18468]
10337         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
10338         weak alias of __wmemchr.  Use libc_hidden_weak.
10339         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
10340         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
10341         instead of wmemchr.
10343 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10345         [BZ #18383]
10346         * elf/tst-tlsalign-extern.c: New file.
10347         * elf/tst-tlsalign-extern-static.c: New file.
10348         * elf/tst-tlsalign-vars.c: New file.
10349         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
10350         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
10351         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
10352         ($(objpfx)tst-tlsalign-extern-static): Likewise.
10353         (test-xfail-tst-tlsalign-extern-static): New variable.
10355 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
10357         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
10358         Use variable name _sc_err instead of err.
10359         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
10360         instead of ret.
10361         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
10362         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
10363         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
10364         (INLINE_SYSCALL): Likewise.
10366         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
10367         * include/string.h (__strnlen): Use libc_hidden_proto.
10368         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
10369         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
10370         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
10371         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
10372         (libc_hidden_def): Undefine and redefine.
10373         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
10374         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
10375         __GI_strnlen.
10376         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
10377         libc_hidden_def.
10378         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
10380         [BZ #18469]
10381         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
10382         weak alias of __towlower.  Use libc_hidden_weak.
10383         (towupper): Rename to __towupper and define as weak alias of
10384         __towupper.  Use libc_hidden_weak.
10385         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
10386         (__towupper): Likewise.
10387         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
10388         __towlower instead of towlower.
10390 2015-06-02  Roland McGrath  <roland@hack.frob.com>
10392         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
10393         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
10395 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10397         * sysdeps/aarch64/libm-test-ulps: Update.
10399 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10401         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
10402         Define.
10403         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10405         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10406         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10407         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
10408         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
10409         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
10411 2015-06-01  Martin Sebor  <msebor@redhat.com>
10413         [BZ #18116]
10414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10415         (__setcontext): Use extended four-operand version of mtsf whenever
10416         possible.
10417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10418         (__novec_swapcontext): Likewise.
10420 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10422         * benchtests/scripts/compare_bench.py: New file.
10423         * benchtests/scripts/import_bench.py (mean): New function.
10424         (split_list): Likewise.
10425         (do_for_all_timings): Likewise.
10426         (compress_timings): Likewise.
10428         * benchtests/scripts/import_bench.py: New file.
10429         * benchtests/scripts/validate_benchout.py: Import import_bench
10430         instead of jsonschema.
10431         (validate_bench): Remove function.
10432         (main): Use import_bench.
10434 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
10436         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
10437         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
10439 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10443 2015-05-28  Roland McGrath  <roland@hack.frob.com>
10445         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
10446         set THREAD_SELF->tid to a magic value and futex-wake it.
10447         Pass its address to the thread_exit system call.
10448         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
10449         bit is clear.
10450         * sysdeps/nacl/lowlevellock.h: New file.
10451         * sysdeps/nacl/lll_timedwait_tid.c: New file.
10453         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
10454         Add TIMEOUT to current time, don't subtract it.
10456 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
10458         [BZ #2981]
10459         [BZ #18422]
10460         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
10461         ($(objpfx)tst-audit2.out): Also depend on
10462         $(objpfx)tst-auditmod9b.so.
10463         * elf/tst-audit2.c: Include <dlfcn.h>.
10464         (calloc_called): New.
10465         (calloc): Allow to be called more than once.
10466         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
10468 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
10470         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
10471         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
10473 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
10475         * stdlib/monetary.h: Fix comment.
10477 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
10479         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
10480         Avoid using variables in #defines that might cause shadowing.
10481         (INTERNAL_VSYSCALL_CALL): Likewise.
10483 2015-05-26  Roland McGrath  <roland@hack.frob.com>
10485         * sysdeps/nacl/lll_timedlock_wait.c: New file.
10487         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
10488         * nptl/lll_timedlock_wait.c: ... to this new file.
10489         * nptl/Makefile (libpthread-routines): Add it.
10490         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
10491         * nptl/lll_timedwait_tid.c: ... to this new file.
10492         * nptl/Makefile (libpthread-routines): Add it.
10493         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
10494         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
10495         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
10496         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
10497         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
10498         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
10499         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
10500         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
10501         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
10502         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
10504 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10506         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
10507         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
10508         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
10509         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
10510         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
10511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10512         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10514         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10515         * sysdeps/unix/sysv/linux/tile/sysdep.h
10516         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
10517         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
10518         using vDSO syscall macro.
10520 2015-05-26  Andriy Rysin  <arysin@gmail.com>
10522         [BZ #17293]
10523         * uk_UA: Fix sorting order for Ukrainian locale
10525 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
10527         * stdlib/monetary.h: Fix comment.
10529 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10531         [BZ #18234]
10532         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
10533         st_mtim and st_ctim members.
10534         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
10535         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
10536         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
10537         (struct stat64): Likewise.
10538         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
10539         (struct stat64): Likewise.
10540         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
10541         (struct stat64): Likewise.
10543 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10545         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
10546         Define and include sysdep-vdso.h.
10547         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
10548         Likewise.
10549         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
10550         Likewise.
10551         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
10552         Define with VDSO_SYMBOL and use PTR_MANGLE.
10553         (__vdso_clock_gettime): Likewise.
10554         (__vdso_clock_getres): Likewise.
10555         (_libc_vdso_platform_setup): Likewise.
10556         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10557         Likewise.
10558         (_libc_vdso_platform_setup): Likewise.
10559         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
10560         Likewise.
10561         (__vdso_clock_gettime): Likewise.
10562         (__vdso_clock_getres): Likewise.
10563         (__vdso_get_tbfreq): Likewise.
10564         (__vdso_getcpu): Likewise.
10565         (__vdso_time): Likewise.
10566         (__vdso_sigtramp_rt64): Likewise.
10567         (__vdso_signtramp32): Likewise.
10568         (__vdso_sigtramp_rt32): Likewise.
10569         (_libc_vdso_platform_setup): Likewise.
10570         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
10571         Likewise.
10572         (__vdso_clock_gettime): Likewise.
10573         (__vdso_clock_getres): Likewise.
10574         (_libc_vdso_platform_setup): Likewise.
10575         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
10576         Likewise.
10577         (__vdso_clock_gettime): Likewise.
10578         (_libc_vdso_platform_setup): Likewise.
10579         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
10580         Likewise.
10581         (__vdso_getcpu): Likewise.
10582         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
10583         Use VDSO_SYMBOL macro to define.
10584         (__vdso_clock_gettime): Likewise.
10585         (__vdso_clock_getres): Likewise.
10586         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
10587         Likewise.
10588         (__vdso_clock_gettime): Likewise.
10589         (__vdso_clock_getres): Likewise.
10590         (__vdso_get_tbfreq): Likewise.
10591         (__vdso_getcpu): Likewise.
10592         (__vdso_time): Likewise.
10593         (__vdso_sigtramp_rt64): Likewise.
10594         (__vdso_signtramp32): Likewise.
10595         (__vdso_sigtramp_rt32): Likewise.
10596         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
10597         Likewise.
10598         (__vdso_clock_gettime): Likewise.
10599         (__vdso_clock_getres): Likewise.
10600         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
10601         Likewise.
10602         (__vdso_clock_gettime): Likewise.
10603         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10604         Likewise.
10605         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
10606         macro.
10607         (INTERNAL_VSYSCALL): Likewise.
10608         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
10609         Remove macro.
10610         (INTERNAL_VSYSCALL): Likewise.
10611         (INTERNAL_VSYSCALL_NCS): Likewise.
10612         (INTERNAL_VSYSCALL_CALL): New macro.
10613         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
10614         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
10615         Likewise.
10616         (INTERNAL_VSYSCALL): Likewise.
10617         (INTERNAL_VSYSCALL_NCS): Likewise.
10618         (INTERNAL_VSYSCALL_CALL): New macro.
10619         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
10620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10621         (INLINE_VSYSCALL): Remove macro.
10622         (INTERNAL_VSYSCALL): Remove macro.
10623         (INTERNAL_VSYSCALL_NCS): Remove macro.
10624         (INTERNAL_VSYSCALL_CALL): New macro.
10625         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
10626         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
10627         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
10628         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
10629         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
10630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10631         (INLINE_VSYSCALL): Remove macro.
10632         (INTERNAL_VSYSCALL): Likewise.
10633         (INTERNAL_VSYSCALL_NCS): Likewise.
10634         (INTERNAL_VSYSCALL_CALL): New macro.
10635         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
10636         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
10637         PTR_DEMANGLE on vDSO pointer.
10638         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
10639         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
10640         macro.
10641         (INTERNAL_SYSCALL): Likewise.
10642         (INTERNAL_VSYSCALL_NCS): Remove macro.
10643         (INTERNAL_VSYSCALL_CALL): New macro.
10644         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
10645         Remove macro.
10646         (INTERNAL_VSYSCALL): Likewise.
10647         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
10648         sysdep-vdso.h instead of libc-vdso.h.
10649         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
10650         definition.
10651         (INLINE_VSYSCALL): Likewise.
10652         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
10653         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
10654         definition.
10655         (INLINE_VSYSCALL): Likewise.
10656         (INTERNAL_VSYSCALL): Likewise.
10657         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10658         * sysdeps/unix/sysv/linux/timespec_get.c
10659         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
10660         (timespec_get): Use ANSI prototype.
10661         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
10662         and definition for Linux.
10664 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
10666         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
10667         * include/libc-symbols.h: libmvec_hidden_* macro series added.
10669 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
10671         [BZ #2981]
10672         [BZ #18410]
10673         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
10674         for missing DT_PLTRELSZ.
10676 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
10678         Remove obsolete aliases that broke 'locale -a'
10679         [BZ #18412]
10680         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
10681         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
10682         breaking some applications that use 'locale -a' output.
10683         Change the encoding of this file from Latin-1 to ASCII to avoid
10684         other potential problems with people grepping this file.
10686 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10688         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
10689         -fasynchronous-unwind-tables.
10690         (CFLAGS-sendto.c): Likewise.
10691         (CFLAGS-sendmsg.c): Likewise.
10692         (CFLAGS-connect.c): Likewise.
10693         (CFLAGS-recvmsg.c): Likewise.
10694         (CFLAGS-recvfrom.c): Likewise.
10695         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
10696         (SOCKETCALL): New macro: non-cancellable socketcall.
10697         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
10698         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
10699         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
10700         * sysdeps/unix/sysv/linux/accept.c: New file.
10701         * sysdeps/unix/sysv/linux/bind.c: Likewise.
10702         * sysdeps/unix/sysv/linux/connect.c: Likewise.
10703         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
10704         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
10705         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
10706         * sysdeps/unix/sysv/linux/listen.c: Likewise.
10707         * sysdeps/unix/sysv/linux/recv.c: Likewise.
10708         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
10709         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
10710         * sysdeps/unix/sysv/linux/send.c: Likewise.
10711         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
10712         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
10713         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
10714         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
10715         * sysdeps/unix/sysv/linux/socket.c: Likewise.
10716         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
10717         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
10718         prototype.
10719         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
10720         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10721         instead of __internal_xxx function.
10722         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
10723         prototype.
10724         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
10725         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10726         instead of __internal_xxx function.
10727         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
10728         prototype.
10729         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
10730         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
10731         instead of __internal_xxx function.
10732         * sysdeps/unix/sysv/linux/accept.S: Remove file.
10733         * sysdeps/unix/sysv/linux/bind.S: Likewise.
10734         * sysdeps/unix/sysv/linux/connect.S: Likewise.
10735         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
10736         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
10737         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
10738         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
10739         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
10740         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
10741         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
10742         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
10743         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10744         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
10745         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
10746         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
10747         * sysdeps/unix/sysv/linux/listen.S: Likewise.
10748         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
10749         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
10750         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
10751         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
10752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
10753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
10754         * sysdeps/unix/sysv/linux/recv.S: Likewise.
10755         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
10756         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
10757         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
10758         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
10759         * sysdeps/unix/sysv/linux/send.S: Likewise.
10760         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
10761         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
10762         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
10763         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
10764         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
10765         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
10766         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
10767         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
10768         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
10769         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
10770         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
10771         socketcall is implemented in GLIBC.
10773 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
10775         * soft-fp/fmadf4.c: Include <libc-internal.h>.
10776         (__fma): Ignore uninitialized warnings around packing.
10777         * soft-fp/fmasf4.c: Include <libc-internal.h>.
10778         (__fmaf): Ignore uninitialized warnings around packing.
10779         * soft-fp/fmatf4.c: Include <libc-internal.h>.
10780         (__fmal): Ignore uninitialized warnings around packing.
10782         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
10783         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10784         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
10785         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10787         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
10788         switch statement into default case.
10789         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
10791         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
10792         a conditional in forcing "inexact".
10793         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10794         Likewise.
10796 2015-05-22  Roland McGrath  <roland@hack.frob.com>
10798         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10799         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
10800         for each INTERNAL_SYSCALL use.
10802 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
10804         [BZ #438]
10805         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
10806         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
10807         variable.
10809         [BZ #18444]
10810         * string/basename.c (basename): Rename to __basename and define as
10811         weak alias of __basename.  Use libc_hidden_weak.
10812         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
10813         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
10814         __basename instead of basename.
10815         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
10816         Remove variable.
10817         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10819 2015-05-18  Florian Weimer  <fweimer@redhat.com>
10821         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
10822         (_IO_JUMPS_FILE_plus): New.
10823         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
10824         _IO_CAST_FIELD_ACCESS.
10825         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
10826         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
10827         * libio/freopen.c (freopen): Likewise.
10828         * libio/freopen64.c (freopen64): Likewise.
10829         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
10830         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
10831         * libio/iofwide.c (_IO_fwide): Likewise.
10832         * libio/memstream.c (open_memstream): Likewise.
10833         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10834         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10835         * libio/oldiopopen.c (_IO_old_popen): Likewise.
10837 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
10839         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
10840         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
10841         NADJ.
10842         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
10843         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
10844         NADJ.
10845         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
10846         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
10847         NADJ.
10849         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
10850         (p == 4) case.
10852         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
10853         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
10854         Remove variable.
10855         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
10856         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
10857         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
10859 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10861         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
10862         Adjust jump table label generation macros.
10864 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10866         * stdio-common/vfprintf.c (vfprintf): Move local variables
10867         args_malloced, specs, specs_malloced, and the code after
10868         do_positional to the printf_positional function.
10869         (printf_positional): New function.
10871 2015-05-21  Florian Weimer  <fweimer@redhat.com>
10873         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
10874         function.
10875         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
10876         STEP4_TABLE, process_arg): Move macro definitions
10877         out of the vfprintf function.  (Cosmetic change only.)
10879 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
10881         * benchtests/Makefile (stdio-common-bench): Define.
10882         (benchset): Add stdio-common-bench.
10883         * sprintf-inputs: New file.
10884         * sprintf-source.c: New file.
10886 2015-05-21  Andreas Schwab  <schwab@suse.de>
10888         [BZ #13028]
10889         [BZ #17053]
10890         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
10891         of struct __res_state.
10892         * resolv/res_send.c (__libc_res_nsend): Likewise.
10893         (get_nsaddr): New function.
10894         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
10895         statp directly.
10897 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
10899         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
10900         -D_POSIX_C_SOURCE=199506L.
10902         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
10904         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
10905         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
10906         Do not mention otherwise.
10907         [POSIX] (_XOPEN_VERSION): Do not expect.
10908         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
10909         [POSIX] (_POSIX2_C_BIND): Likewise.
10910         [POSIX] (_POSIX2_VERSION): Likewise.
10911         [POSIX] (_XOPEN_XPG2): Likewise.
10912         [POSIX] (_XOPEN_XPG3): Likewise.
10913         [POSIX] (_XOPEN_XPG4): Likewise.
10914         [POSIX] (_XOPEN_UNIX): Likewise.
10915         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
10916         [POSIX] (_POSIX_BARRIERS): Likewise.
10917         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
10918         [POSIX] (_POSIX_CPUTIME): Likewise.
10919         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
10920         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
10921         [POSIX] (_POSIX_SHELL): Likewise.
10922         [POSIX] (_POSIX_SPAWN): Likewise.
10923         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
10924         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
10925         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
10926         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
10927         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
10928         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
10929         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
10930         [POSIX] (_XBS5_LP64_OFF64): Likewise.
10931         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
10932         [POSIX] (_POSIX_TIMEOUTS): Likewise.
10933         [POSIX] (_POSIX2_PBS): Likewise.
10934         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
10935         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
10936         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
10937         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
10938         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
10939         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
10940         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
10941         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
10942         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
10943         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
10944         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
10945         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
10946         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
10947         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
10948         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
10949         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
10950         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
10951         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
10952         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
10953         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
10954         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
10955         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
10956         [POSIX] (_SC_2_C_BIND): Likewise.
10957         [POSIX] (_SC_2_C_VERSION): Likewise.
10958         [POSIX] (_SC_2_PBS): Likewise.
10959         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
10960         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
10961         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
10962         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
10963         [POSIX] (_SC_2_PBS_TRACK): Likewise.
10964         [POSIX] (_SC_ATEXIT_MAX): Likewise.
10965         [POSIX] (_SC_BARRIERS): Likewise.
10966         [POSIX] (_SC_BASE): Likewise.
10967         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
10968         [POSIX] (_SC_DEVICE_IO): Likewise.
10969         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
10970         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
10971         [POSIX] (_SC_FD_MGMT): Likewise.
10972         [POSIX] (_SC_FIFO): Likewise.
10973         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
10974         [POSIX] (_SC_FILE_LOCKING): Likewise.
10975         [POSIX] (_SC_FILE_SYSTEM): Likewise.
10976         [POSIX] (_SC_IOV_MAX): Likewise.
10977         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
10978         [POSIX] (_SC_NETWORKING): Likewise.
10979         [POSIX] (_SC_PAGE_SIZE): Likewise.
10980         [POSIX] (_SC_PASS_MAX): Likewise.
10981         [POSIX] (_SC_PIPE): Likewise.
10982         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
10983         [POSIX] (_SC_REGEXP): Likewise.
10984         [POSIX] (_SC_SHELL): Likewise.
10985         [POSIX] (_SC_SIGNALS): Likewise.
10986         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
10987         [POSIX] (_SC_SPIN_LOCKS): Likewise.
10988         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
10989         [POSIX] (_SC_USER_GROUPS): Likewise.
10990         [POSIX] (_SC_USER_GROUPS_R): Likewise.
10991         [POSIX] (_SC_STREAMS): Likewise.
10992         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
10993         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
10994         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
10995         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
10996         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
10997         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
10998         [POSIX] (_PC_FILESIZEBITS): Likewise.
10999         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
11000         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
11001         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
11002         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
11003         [POSIX] (uid_t): Likewise.
11004         [POSIX] (gid_t): Likewise.
11005         [POSIX] (off_t): Likewise.
11006         [POSIX] (pid_t): Likewise.
11007         [POSIX] (cuserid): Allow.
11008         (_SC_2_CHAR_TERM): Require constant.
11009         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
11010         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
11011         variable.
11013 2015-05-20  Roland McGrath  <roland@hack.frob.com>
11015         * sysdeps/nacl/pthread-pids.h: New file.
11016         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
11017         (create_thread): Use __nacl_get_tid to initialize PD->tid.
11019         * nptl/pthread-pids.h: New file.
11020         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
11021         * nptl/nptl-init.c: Include <pthread-pids.h>.
11022         (__pthread_initialize_minimal_internal):
11023         Call __pthread_initialize_pids instead of set_tid_address syscall.
11025         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
11026         * sysdeps/posix/usleep.c: ... here.
11028 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11030         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
11031         call_pselect6 object.
11032         [$(subdir) = io]: Remove call_sync_file_range object.
11033         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
11034         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
11035         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
11036         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
11038 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
11040         * math/s_cproj.c: Add include "math_private.h".
11041         * math/s_cprojf.c: Likewise.
11042         * math/s_cprojl.c: Likewise.
11044 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
11046         [BZ #18244]
11047         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
11048         high mantissa bit when testing whether P is a NaN.
11049         * math/libm-test.inc (remainder_test_data): Add more tests.
11050         (remquo_test_data): Likewise.
11052         [BZ #18049]
11053         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
11054         below -32, return the argument, with underflow if subnormal.
11055         * math/auto-libm-test-in: Add more tests of atanh.
11056         * math/auto-libm-test-out: Regenerated.
11058 2015-05-19  Roland McGrath  <roland@hack.frob.com>
11060         [BZ #18434]
11061         * nptl/tst-sem15.c: New file.
11062         * nptl/Makefile (tests): Add it.
11063         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
11064         s/<</>>/ to fix typo in EOVERFLOW check.
11065         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
11067 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11069         * manual/strings.texi (envz_remove): Fix typo in safety
11070         annotations.
11072 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
11073             Steve Ellcey  <sellcey@imgtec.com>
11075         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
11076         in order to avoid strict alias warnings.
11077         (iruserok_af): Ditto for ra.
11079 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
11081         [BZ #17581]
11082         * malloc/hooks.c
11083         (magicbyte): Convert to a function and avoid returning 0x01.
11084         (mem2mem_check): Avoid using a length byte equal to the magic byte.
11085         (mem2chunk_check): Fix unsigned comparisons to zero.
11086         Hoist defs of sz and magic.
11088 2015-05-19  Richard Henderson  <rth@redhat.com>
11090         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
11092         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11094 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11096         [BZ #16159]
11097         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
11098         * malloc/arena.c (arena_lock): Check if arena is corrupt.
11099         (reused_arena): Find a non-corrupt arena.
11100         (heap_trim): Pass arena to unlink.
11101         * malloc/hooks.c (malloc_check_get_size): Pass arena to
11102         malloc_printerr.
11103         (top_check): Likewise.
11104         (free_check): Likewise.
11105         (realloc_check): Likewise.
11106         * malloc/malloc.c (malloc_printerr): Add arena argument.
11107         (unlink): Likewise.
11108         (munmap_chunk): Adjust.
11109         (ARENA_CORRUPTION_BIT): New macro.
11110         (arena_is_corrupt): Likewise.
11111         (set_arena_corrupt): Likewise.
11112         (sysmalloc): Use mmap if there are no usable arenas.
11113         (_int_malloc): Likewise.
11114         (__libc_malloc): Don't fail if arena_get returns NULL.
11115         (_mid_memalign): Likewise.
11116         (__libc_calloc): Likewise.
11117         (__libc_realloc): Adjust for additional argument to
11118         malloc_printerr.
11119         (_int_free): Likewise.
11120         (malloc_consolidate): Likewise.
11121         (_int_realloc): Likewise.
11122         (_int_memalign): Don't touch corrupt arenas.
11123         * malloc/tst-malloc-backtrace.c: New test case.
11125         * Makefile (summarize-tests): Fix return value on success.
11127         * manual/string.texi (Envz Functions): Add envz_remove.
11129 2015-05-18  Roland McGrath  <roland@hack.frob.com>
11131         * sysdeps/posix/opendir.c: Include <stdbool.h>.
11132         (invalid_name): New function, broken out of ...
11133         (__opendirat): ... here.  Call it.
11134         (need_isdir_precheck): New function, broken out of ...
11135         (__opendirat): ... here.  Call it.
11136         Use __fxstatat64, not __xstatat64.
11137         (opendir_oflags): New function, broken out of ...
11138         (__opendirat): ... here.  Call it.
11139         (opendir_tail): New function, broken out of ...
11140         (__opendirat): ... here.  Call it.
11141         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
11142         opendir_tail, rather than punting to __opendirat.
11143         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
11145 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11147         * .gitignore: Ignore generated *.pyc.
11149 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
11151         * include/stdio.h: Define __need_wint_t.
11152         * test-skeleton.c: Avoid `for' loop initial declaration.
11153         * nptl/tst-initializers1.c: Use test-skeleton.c.
11155 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11157         [BZ #18418]
11158         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
11160 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11162         [BZ #16352]
11163         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
11164         (__ieee754_atanh): Force underflow exception for results with
11165         small absolute value.
11166         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
11167         (__ieee754_atanhf): Force underflow exception for results with
11168         small absolute value.
11169         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
11170         (__ieee754_atanh): Force underflow exception for results with
11171         small absolute value.
11172         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
11173         (__ieee754_atanhf): Force underflow exception for results with
11174         small absolute value.
11175         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
11176         (__ieee754_atanhl): Force underflow exception for results with
11177         small absolute value.
11178         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
11179         (__ieee754_atanhl): Force underflow exception for results with
11180         small absolute value.
11181         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
11182         (__ieee754_atanhl): Force underflow exception for results with
11183         small absolute value.
11184         * math/auto-libm-test-in: Do not allow missing underflow
11185         exceptions from atanh.
11186         * math/auto-libm-test-out: Regenerated.
11188         [BZ #18221]
11189         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
11190         2**-28 as threshold for returning x or +/- 1/x.
11191         * math/auto-libm-test-in: Add more tests of tan.
11192         * math/auto-libm-test-out: Regenerated.
11194         [BZ #18220]
11195         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
11196         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
11197         * math/auto-libm-test-in: Add another test of lgamma.
11198         * math/auto-libm-test-out: Regenerated.
11200 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
11202         * stdio-common/printf_fp.c (___printf_fp): Use abs.
11203         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
11204         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
11205         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
11206         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
11207         (ADD2A): Use fabs.  (SUB2A): Use fabs.
11208         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
11209         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
11210         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
11211         (log1): Use fabs.  (my_log2): Use fabs.
11212         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
11213         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
11214         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
11215         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
11216         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
11217         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
11218         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
11219         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
11220         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
11221         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
11222         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
11224 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
11226         [BZ #18217]
11227         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
11228         as threshold for returning 1 - x.
11229         * math/auto-libm-test-in: Add more tests of erfc.
11230         * math/auto-libm-test-out: Regenerated.
11232 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
11234         [BZ #18196]
11235         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
11236         threshold for large arguments.
11237         * math/auto-libm-test-in: Add another test of atan.
11238         * math/auto-libm-test-out: Regenerated.
11240         [BZ #16339]
11241         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
11242         (__log1p): Force underflow exception for results with small
11243         absolute value.
11244         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
11245         (__log1pf): Force underflow exception for results with small
11246         absolute value.
11247         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
11248         (__log1p): Force underflow exception for results with small
11249         absolute value.
11250         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
11251         (__log1pf): Force underflow exception for results with small
11252         absolute value.
11253         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
11254         (__log1pl): Force underflow exception for results with small
11255         absolute value.
11256         * math/auto-libm-test-in: Do not allow missing underflow
11257         exceptions from log1p.
11258         * math/auto-libm-test-out: Regenerated.
11260 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
11261             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11263         [BZ #16704]
11264         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
11266 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
11268         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
11269         (libmvec): New variable.
11270         * configure.ac: Added option for mathvec build.
11271         * configure: Regenerated.
11272         * mathvec/Depend: New file.
11273         * mathvec/Makefile: New file.
11274         * shlib-versions: Added libmvec.
11275         * math/Makefile: Added rule for libm.so installation.
11277         * bits/math-vector.h: New file.
11278         * bits/libm-simd-decl-stubs.h: New header.
11279         * math/Makefile (headers): Added new header
11280         libm-simd-decl-stubs.h.
11281         * math/math.h (__MATHCALL_VEC): New macro.
11283         * math/gen-libm-have-vector-test.sh: Script generates series of macros
11284         for conditions in testing functions.
11285         * math/Makefile: Added call of libm-have-vector-test.sh.
11286         * math/libm-test.inc (HAVE_VECTOR): New macros.
11288         * math/libm-test.inc: START refactored.
11289         * math/test-double.c (TEST_MATHVEC): Add define.
11290         * math/test-float.c: Likewise.
11291         * math/test-idouble.c: Likewise.
11292         * math/test-ifloat.c: Likewise.
11293         * math/test-ildoubl.c: Likewise.
11294         * math/test-ldouble.c: Likewise.
11295         * sysdeps/generic/math-tests-arch.h
11296         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
11297         architecture check.
11299         * math/test-double.c (FUNC_TEST): New macro.
11300         * math/test-float.c: Likewise.
11301         * math/test-idouble.c: Likewise.
11302         * math/test-ifloat.c: Likewise.
11303         * math/test-ildoubl.c: Likewise.
11304         * math/test-ldouble.c: Likewise.
11305         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
11307 2015-05-13  Roland McGrath  <roland@hack.frob.com>
11309         * sysdeps/nacl/fdopendir.c: New file.
11311         * dirent/scandir-tail.c: New file.
11312         * dirent/scandir64-tail.c: New file.
11313         * dirent/Makefile (routines): Add them.
11314         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
11315         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
11316         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
11317         [!SCANDIR] (SCANDIR_TAIL): New macro.
11318         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
11319         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
11320         (SCANDIRAT): Macro removed.
11321         (SCANDIR_TAIL): New macro.
11322         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
11323         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
11324         (SCANDIRAT): Just call __opendirat and __scandir_tail.
11325         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
11326         (READDIR): Macro removed.
11327         (SCANDIR_TAIL): New macro.
11328         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
11329         (SCANDIR_TAIL): New macro.
11331         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
11332         * dirent/scandir-cancel.c: ... to this new file.
11333         * dirent/Makefile (routines): Add it.
11334         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
11335         * sysdeps/unix/sysv/linux/i386/scandir64.c
11336         (SKIP_SCANDIR_CANCEL): Macro removed.
11337         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
11339         * dirent/tst-scandir.c: New file.
11340         * dirent/tst-scandir64.c: New file.
11341         * dirent/Makefile (tests): Add them.
11343 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11345         [BZ #18409]
11346         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
11348 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11350         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
11351         list.
11353 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
11355         * benchtests/bench-strcoll.c: New benchmark.
11356         * benchtests/Makefile: Generate locales and run benchmark.
11357         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
11358         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11359         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
11360         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
11361         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
11362         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
11363         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
11364         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
11365         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
11366         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
11367         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
11368         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
11369         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
11370         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
11371         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
11372         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
11373         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
11374         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
11375         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
11376         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
11377         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
11378         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
11379         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
11380         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
11382 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
11384         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
11385         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11387 2015-05-12  Roland McGrath  <roland@hack.frob.com>
11389         * posix/uname-values.h: New file.
11390         * posix/uname.c: Include that instead of <config-name.h>.
11391         * sysdeps/nacl/uname-values.h: New file.
11392         * sysdeps/arm/nacl/uname-values.h: New file.
11394 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
11396         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
11397         splitting into fields.
11399 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
11401         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
11402         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
11403         * locale/localeinfo.h: Add enum collation_encoding_type.
11404         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
11405         * programs/ld-collate.c (collate_output): Add encoding type info.
11406         * string/strcoll_l.c (STRDIFF): New function.
11407         * (STRCOLL): Use STRDIFF to skip over equal prefix.
11408         * wcsmbs/wcscoll_l.c: Define STRDIFF.
11410 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
11412         [BZ #18397]
11413         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
11414         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
11415         <fpu_control.h> instead of <math/fpu_control.c>.
11416         * sysdeps/mips/mips32/fpu/Makefile: New file.
11418 2015-05-11  Andreas Schwab  <schwab@suse.de>
11420         [BZ #18007]
11421         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
11422         nss_endgrent.
11423         (_nss_compat_endgrent): Call nss_endgrent.
11424         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
11425         nss_endpwent.
11426         (_nss_compat_endpwent): Call nss_endpwent.
11427         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
11428         needent, call nss_setspent only if non-zero.
11429         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
11430         (internal_endspent): Don't call nss_endspent.
11431         (_nss_compat_endspent): Call nss_endspent.
11432         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
11433         Remove.  All uses removed.
11434         (internal_setent): Remove parameter stayopen, add parameter
11435         stream.  Use it instead of global variable.
11436         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
11437         (internal_endent, internal_getent): Add parameter stream.  Use it
11438         instead of global variable.
11439         (CONCAT(_nss_files_end,ENTNAME))
11440         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
11441         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
11442         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
11443         uses removed.
11444         (internal_setent, internal_endent): Add parameter stream.  Use it
11445         instead of global variable.
11446         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
11447         stream.
11448         (get_next_alias): Add parameter stream.
11449         (_nss_files_getaliasent_r): Pass global stream.
11450         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
11451         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
11452         (_nss_files_gethostbyname4_r): Pass local stream to
11453         internal_setent, internal_getent and internal_endent.  Remove
11454         locking.
11456 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11458         * tst-strfmon1.c (tests): Update expected currency symbol.
11460 2015-05-08  Roland McGrath  <roland@hack.frob.com>
11462         * sysdeps/nacl/gethostname.c: New file.
11464 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
11466         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
11467         and sinh.
11468         * math/auto-libm-test-out: Regenerated.
11469         * sysdeps/i386/fpu/libm-test-ulps: Update.
11470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11472 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
11474         [BZ #18125]
11475         * stdlib/tst-setcontext3.c: New file.
11476         * stdlib/tst-setcontext3.sh: New file.
11477         * stdlib/Makefile (tests): Add tst-setcontext3.
11478         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
11479         to verify test program created output file.
11480         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
11481         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
11482         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
11483         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
11485 2015-05-06  Roland McGrath  <roland@hack.frob.com>
11487         [BZ #18383]
11488         * elf/tst-tlsalign.c: New file.
11489         * elf/tst-tlsalign-static.c: New file.
11490         * elf/tst-tlsalign-lib.c: New file.
11491         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
11492         (tests-static): Add tst-tlsalign-static.
11493         (modules-names): Add tst-tlsalign-lib.
11494         (test-xfail-tst-tlsalign): New variable.
11495         (test-xfail-tst-tlsalign-static): New variable.
11497         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
11498         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
11500 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
11502         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
11503         csqrt, erfc, sin and sincos.
11504         * math/auto-libm-test-out: Regenerated.
11505         * sysdeps/i386/fpu/libm-test-ulps: Update.
11506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11508 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11510         * sysdeps/aarch64/libm-test-ulps: Update.
11512 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
11514         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
11515         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
11516         * math/auto-libm-test-out: Regenerated.
11517         * sysdeps/i386/fpu/libm-test-ulps: Update.
11518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11520 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
11522         [BZ #18265]
11523         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
11524         (wcsncpy): Likewise.
11526 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11528         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11529         Assume __ASSUME_FALLOCATE is always true.
11530         * sysdeps/unix/sysv/linux/posix_fallocate64.c
11531         (__posix_fallocate64_l64): Likweise.
11532         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
11533         (posix_fallocate): Likewise.
11534         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
11535         (__posix_fallocate64_l64): Likewise.
11536         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11537         [!__ASSUME_FALLOCATE]: Add comment.
11539 2015-05-05  Florian Weimer  <fweimer@redhat.com>
11541         * sysdeps/unix/sysv/linux/i386/Makefile
11542         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
11543         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
11544         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
11545         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11546         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11547         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
11548         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
11550 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
11552         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
11553         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
11554         tgamma.
11555         * math/auto-libm-test-out: Regenerated.
11556         * sysdeps/i386/fpu/libm-test-ulps: Update.
11557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11559 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
11561         * math/auto-libm-test-in: Add more tests of tgamma.
11562         * math/auto-libm-test-out: Regenerated.
11563         * sysdeps/i386/fpu/libm-test-ulps: Update.
11564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11566         * math/auto-libm-test-in: Add more tests of tanh.
11567         * math/auto-libm-test-out: Regenerated.
11568         * sysdeps/i386/fpu/libm-test-ulps: Update.
11569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11571         * math/auto-libm-test-in: Add more tests of tan.
11572         * math/auto-libm-test-out: Regenerated.
11573         * sysdeps/i386/fpu/libm-test-ulps: Update.
11574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11576         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
11577         * math/auto-libm-test-out: Regenerated.
11578         * sysdeps/i386/fpu/libm-test-ulps: Update.
11579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11581         * math/auto-libm-test-in: Add another test of pow.
11582         * math/auto-libm-test-out: Regenerated.
11583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11585         * math/auto-libm-test-in: Add more tests of lgamma.
11586         * math/auto-libm-test-out: Regenerated.
11587         * sysdeps/i386/fpu/libm-test-ulps: Update.
11588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11590         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
11591         log1p.
11592         * math/auto-libm-test-out: Regenerated.
11593         * sysdeps/i386/fpu/libm-test-ulps: Update.
11594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11596 2015-05-01  Mark Wielaard  <mjw@redhat.com>
11598         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
11599         Elf64_Chdr structs and ELFCOMPRESS constants.
11601 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
11603         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
11604         expm1.
11605         * math/auto-libm-test-out: Regenerated.
11606         * sysdeps/i386/fpu/libm-test-ulps: Update.
11607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11609         * math/auto-libm-test-in: Add more tests of erf and erfc.
11610         * math/auto-libm-test-out: Regenerated.
11611         * sysdeps/i386/fpu/libm-test-ulps: Update.
11612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11614 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11616         * config.h.in (HAVE_AARCH64_BE): Add.
11618 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
11620         * math/auto-libm-test-in: Add more tests of csqrt.
11621         * math/auto-libm-test-out: Regenerated.
11622         * sysdeps/i386/fpu/libm-test-ulps: Update.
11623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11625         * math/auto-libm-test-in: Add more tests of cosh and sinh.
11626         * math/auto-libm-test-out: Regenerated.
11627         * sysdeps/i386/fpu/libm-test-ulps: Update.
11628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11630         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
11632 2015-04-29  Roland McGrath  <roland@hack.frob.com>
11634         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
11635         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
11637         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
11638         (euidaccess, eaccess): Define as weak aliases.
11640         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
11641         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
11642         but __suseconds_t is often 'long int' so some sources assume that
11643         type is being used (e.g. they use %ld to print tv_usec).
11645 2015-04-29  Florian Weimer  <fweimer@redhat.com>
11647         [BZ #18007]
11648         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
11649         (CVE-2014-8121)
11650         * nss/tst-nss-getpwent.c: New file.
11651         * nss/Makefile (tests): Add new test.
11653 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
11655         [BZ #18346]
11656         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
11657         exponents less than 48 as cases where high part of mantissa needs
11658         examining to determine whether argument is integral.
11659         * math/libm-test.inc (round_test_data): Add more tests.
11661 2015-04-28  Mark Wielaard  <mjw@redhat.com>
11663         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
11665 2015-04-27  David S. Miller  <davem@davemloft.net>
11667         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
11668         __tls_get_addr.
11669         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
11671 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
11673         [BZ#18333]
11674         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
11676 2015-04-27  Florian Weimer  <fweimer@redhat.com>
11678         [BZ#18333]
11679         * time/tzset.c (parse_tzname): Return error on memory allocation
11680         failure.
11681         * test-skeleton.c (struct temp_name_list): Change type of name
11682         member to non-const.
11683         (add_temp_file): Create a copy of the file name.
11684         (delete_temp_files): Deallocate memory.
11685         (create_temp_file): Add comment.
11687 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11689         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
11690         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
11692 2015-04-24  Roland McGrath  <roland@hack.frob.com>
11694         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
11695         * sysdeps/arm/configure: Regenerated.
11697 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11699         [BZ #17715]
11700         * time/tzfile.c (__tzfile_read): Check for large values of
11701         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
11702         * time/tzset.c (__tzstring_len): New function, based on the old
11703         __tzstring function.
11704         (__tzstring): Call __tzstring_len.
11705         (parse_tzname): New helper function extracted from
11706         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
11707         the input string.
11708         (parse_offset): New helper function extracted from
11709         __tzset_parse_tz.  Replace switch with fallthrough with
11710         initialization before sscanf.
11711         (parse_rule): Likewise.
11712         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
11713         new-style function definition.
11714         * timezone/Makefile (tests): Add tst-tzset.
11715         (tst-tzset.out): Dependencies on time zone files.
11716         (tst-tzset-ENV): Set TZDIR.
11717         (testdata/XT%): Copy crafted time zone files.
11718         * timezone/README: Mention crafted time zone files.
11719         * timezone/testdata/XT1, timezone/testdata/XT2,
11720         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
11721         files.
11722         * timezone/tst-tzset.c: New test.
11724 2015-04-24  Florian Weimer  <fweimer@redhat.com>
11726         * Makeconfig (+gccwarn): Remove -Winline.
11728 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11730         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
11732 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11734         * NEWS: Mention sysconf() cache information support for s390.
11735         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
11737 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
11739         * math/k_casinh.c (__kernel_casinh): Use __copysign.
11740         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
11741         (__nearbyint): Likewise.
11742         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
11743         (copysignl): Likewise.
11745 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
11747         [BZ #18287]
11748         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
11749         based on padding.  (CVE-2015-1781)
11751 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11753         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
11754         libc-vdso.h.
11755         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
11756         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
11757         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
11758         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11759         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11760         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
11761         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
11762         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11763         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11764         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
11765         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11766         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11767         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11768         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
11769         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11770         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
11771         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
11772         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
11773         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
11774         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
11775         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
11776         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
11777         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
11779 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
11781         * stdlib/setenv.c (__add_to_environ):
11782         Dump core quickly if setenv (..., NULL, ...) is called.
11783         This time, do it the right way, and pacify GCC with a pragma.
11785 2015-04-17  Roland McGrath  <roland@hack.frob.com>
11787         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
11788         IMAP->l_prev cannot be null, and #if out the code for the contrary
11789         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
11790         believe that NS (&_dl_ns[NSID]) could point outside the array.
11792         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
11793         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
11794         before using NSID as an index.
11796 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
11798         [BZ #17825]
11799         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
11800         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
11801         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11803 2015-04-17  Roland McGrath  <roland@hack.frob.com>
11805         Add preliminary port to Google Native Client on ARM.
11806         * abi-tags (.*-.*-nacl.*): New entry.
11807         * sysdeps/arm/nacl: New directory.
11808         * sysdeps/nacl: New directory.
11810 2015-04-16  David S. Miller  <davem@davemloft.net>
11812         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
11813         lowlevellock-futex.h
11815 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
11817         * sysdeps/tile/configure.ac: New file.
11818         * sysdeps/tile/configure: Regenerated.
11820 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11822         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
11823         conditionals for weak_alias and libc_hidden_weak.
11824         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
11825         libc_hidden_weak and weak_alias.
11826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
11827         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
11828         and weak_alias for static one.
11830 2015-04-15  David S. Miller  <davem@davemloft.net>
11832         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11834 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11836         [BZ #18206]
11837         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
11838           Use signed comparision instead of substraction to avoid
11839           overflow bug.
11840         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
11841           Take the sign of ret.
11842         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
11843           Do not expect precise return values. Only the sign matters.
11844         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
11845         * wcsmbs/test-wcsncmp.c: New File.
11846         * string/test-strncmp.c: Add wcsncmp support.
11848 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11850         [BZ #6792]
11851         * math/w_log1p.c: New file.
11852         * math/w_log1pf.c: Likewise.
11853         * math/w_log1pl.c: Likewise.
11854         * math/Makefile (libm-calls): Add w_log1p.
11855         * math/s_log1pl.c (log1pl): Remove weak_alias.
11856         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
11857         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
11858         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
11859         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
11860         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
11861         [NO_LONG_DOUBLE] (log1pl): Likewise.
11862         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
11863         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
11864         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
11865         (log1p): Remove long_double_symbol.
11866         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
11867         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
11868         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
11869         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
11870         remove weak_alias for corresponding log1p function.
11871         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
11872         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
11873         * sysdeps/ia64/fpu/w_log1p.c: New file.
11874         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
11875         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
11876         * math/libm-test.inc (log1p_test_data): Add errno expectations.
11878 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
11880         [BZ #18247]
11881         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
11882         decimal exponent by 1.
11883         * stdlib/tst-strtod-round-data: Add more tests.
11884         * stdlib/tst-strtod-round.c (tests): Regenerated.
11886 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
11888         * math/auto-libm-test-in: Add more tests of clog and clog10.
11889         * math/auto-libm-test-out: Regenerated.
11890         * sysdeps/i386/fpu/libm-test-ulps: Update.
11891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11893 2015-04-09  Roland McGrath  <roland@hack.frob.com>
11895         * Makeconfig (module-cppflags): Exclude all .v.i files.
11896         (skip-module-cppflags): Variable removed.
11898         * configure.ac (libc_config_ok): Initialize before reading
11899         preconfigure scripts, not after.
11900         * configure: Regenerated.
11902         * test-skeleton.c (TIMEOUT): Move #define to top level.
11903         (main): Grok environment variable TEST_DIRECT.  If set, print
11904         test expectation details into that file and then behave as if
11905         given --direct.
11907 2015-04-09  Florian Weimer  <fweimer@redhat.com>
11909         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
11910         warning on 32-bit.
11912 2015-04-08  David S. Miller  <davem@davemloft.net>
11914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11916 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11918         * math/auto-libm-test-in: Add more tests of atanh.
11919         * math/auto-libm-test-out: Regenerated.
11920         * sysdeps/i386/fpu/libm-test-ulps: Update.
11921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11923         * math/auto-libm-test-in: Add more tests of atan.
11924         * math/auto-libm-test-out: Regenerated.
11925         * sysdeps/i386/fpu/libm-test-ulps: Update.
11926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11928 2015-04-08  Florian Weimer  <fweimer@redhat.com>
11930         * elf/pldd.c (main): Rewrite to use struct
11931         scratch_buffer instead of extend_alloca.
11932         * elf/pldd-xx.c (find_maps): Likewise.
11933         * grp/initgroups.c: Include <scratch_buffer.h> instead of
11934         <alloca.h>.
11935         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
11936         scratch_buffer instead of extend_alloca.
11937         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
11938         grp/compat-initgroups.c.
11939         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
11940         Rewrite to use struct scratch_buffer instead of extend_alloca.
11941         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
11942         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
11944 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
11946         * math/auto-libm-test-in: Add more tests of cbrt.
11947         * math/auto-libm-test-out: Regenerated.
11948         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11950         * math/auto-libm-test-in: Add more tests of cabs.
11951         * math/auto-libm-test-out: Regenerated.
11952         * sysdeps/i386/fpu/libm-test-ulps: Update.
11953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11955         [BZ #18210]
11956         [BZ #18211]
11957         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
11958         (__ieee754_atan2): Set FE_TONEAREST mode for internal
11959         computations.
11960         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
11961         clog10.
11962         * math/auto-libm-test-out: Regenerated.
11963         * sysdeps/i386/fpu/libm-test-ulps: Update.
11964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11966         [BZ #18197]
11967         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
11968         (atan): Set FE_TONEAREST mode for internal computations.
11969         * math/auto-libm-test-in: Add more tests of atan.
11970         * math/auto-libm-test-out: Regenerated.
11972 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
11974         [BZ #17930]
11975         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
11977 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11979         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
11981 2015-04-07  Florian Weimer  <fweimer@redhat.com>
11983         * include/scratch_buffer.h: New file.
11984         * malloc/scratch_buffer_grow.c: Likewise.
11985         * malloc/scratch_buffer_grow_preserve.c: Likewise.
11986         * malloc/scratch_buffer_set_array_size.c: Likewise.
11987         * malloc/tst-scratch_buffer.c: Likewise.
11988         * malloc/Makefile (routines): Add scratch_buffer_grow.
11989         (tests): Add test case.
11990         * malloc/Versions (GLIBC_PRIVATE): Export
11991         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
11992         __libc_scratch_buffer_set_array_size.
11994 2015-04-06  Richard Henderson  <rth@redhat.com>
11996         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
11997         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11999         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
12000         unsigned int before printing.
12002 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12004         [BZ #17596]
12005         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
12006         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
12008 2015-04-02  Florian Weimer  <fweimer@redhat.com>
12010         * include/libc-internal.h (libc_max_align_t): Define.
12012 2015-04-02  Andreas Schwab  <schwab@suse.de>
12014         [BZ #16850]
12015         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
12017 2015-04-02  Mel Gorman  <mgorman@suse.de>
12019         [BZ #17195]
12020         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
12021         as well as the main arena.
12023 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12025         [BZ #18185]
12026         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
12027         sharing L2 cache to 2 for Silvermont/Knights Landing.
12029 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12031         [BZ #17711]
12032         * config.make.in (have-protected-data): New.
12033         * configure.ac: Check linker support for protected data symbol.
12034         * configure: Regenerated.
12035         * elf/Makefile (modules-names): Add tst-protected1moda and
12036         tst-protected1modb if $(have-protected-data) is yes.
12037         (tests): Add tst-protected1a and tst-protected1b if
12038         $(have-protected-data) is yes.
12039         ($(objpfx)tst-protected1a): New.
12040         ($(objpfx)tst-protected1b): Likewise.
12041         (tst-protected1modb.so-no-z-defs): Likewise.
12042         * elf/tst-protected1a.c: New file.
12043         * elf/tst-protected1b.c: Likewise.
12044         * elf/tst-protected1mod.h: Likewise.
12045         * elf/tst-protected1moda.c: Likewise.
12046         * elf/tst-protected1modb.c: Likewise.
12048 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
12050         [BZ #17711]
12051         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
12052         indicates it is called from do_lookup_x on relocation against
12053         protected data, skip the data definion in the executable from
12054         copy reloc.
12055         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
12056         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
12057         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
12058         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
12059         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
12060         otherwise to 0.
12061         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12062         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
12063         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
12064         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
12065         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
12066         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
12068 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
12070         * sysdeps/nptl/pthread.h: Remove duplicate definition of
12071         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
12073 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
12075         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
12076         THREAD_SETMEM_NC.
12077         * sysdeps/x86_64/nptl/tls.h: Ditto.
12079 2015-03-27  Roland McGrath  <roland@hack.frob.com>
12081         * dlfcn/tststatic.c (main): Converted to ...
12082         (do_test): ... this.
12083         (TEST_FUNCTION): New macro.
12084         Include test-skeleton.c.
12086 2015-03-26  Alan Modra  <amodra@gmail.com>
12088         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
12089         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
12090         zero for undefined weak.
12091         (elf_machine_plt_conflict): Similarly.
12093 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12095         * math/auto-libm-test-in: Add more tests of acosh, asinh and
12096         atanh.
12097         * math/auto-libm-test-out: Regenerated.
12098         * sysdeps/i386/fpu/libm-test-ulps: Update.
12099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12101         * math/auto-libm-test-in: Add another test of asin.
12102         * math/auto-libm-test-out: Regenerated.
12103         * sysdeps/i386/fpu/libm-test-ulps: Update.
12104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12106         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
12107         Remove macro.
12108         (LLL_EBX_REG): Likewise.
12109         (LLL_ENTER_KERNEL): Likewise.
12111         * math/auto-libm-test-in: Add more tests of asin.
12112         * math/auto-libm-test-out: Regenerated.
12113         * sysdeps/i386/fpu/libm-test-ulps: Update.
12114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12116         [BZ #18138]
12117         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
12118         libc_do_syscall_args): New structure.
12119         (INTERNAL_SYSCALL_MAIN_0): New macro.
12120         (INTERNAL_SYSCALL_MAIN_1): Likewise.
12121         (INTERNAL_SYSCALL_MAIN_2): Likewise.
12122         (INTERNAL_SYSCALL_MAIN_3): Likewise.
12123         (INTERNAL_SYSCALL_MAIN_4): Likewise.
12124         (INTERNAL_SYSCALL_MAIN_5): Likewise.
12125         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
12126         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
12127         Replace conditional definitions by conditional definitions of ....
12128         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
12129         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
12130         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
12131         (libpthread-sysdep_routines): Add libc-do-syscall.
12132         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
12133         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
12134         to __NR_futex not 240.
12136 2015-03-25  Alan Modra  <amodra@gmail.com>
12138         * NEWS: Advertise TLS optimization.
12139         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
12140         (DT_PPC_NUM): Increment.
12141         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
12142         (CHECK_STATIC_TLS): Use here.
12143         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
12144         TLS descriptors.
12145         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12146         * sysdeps/powerpc/dl-tls.c: New file.
12147         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
12148         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
12149         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
12150         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
12151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
12152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
12153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
12155 2015-03-25  Alan Modra  <amodra@gmail.com>
12157         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
12158         for overlapping .opd entries" to "support...".
12159         * sysdeps/powerpc/powerpc64/configure: Regenerate
12161 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
12163         * math/auto-libm-test-in: Add more tests of acos.
12164         * math/auto-libm-test-out: Regenerated.
12165         * sysdeps/i386/fpu/libm-test-ulps: Update.
12166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12168         * math/auto-libm-test-in: Add more tests of expm1.
12169         * math/auto-libm-test-out: Regenerated.
12170         * sysdeps/i386/fpu/libm-test-ulps: Update.
12171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12173 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
12175         * math/auto-libm-test-in: Add more tests of cosh and sinh.
12176         * math/auto-libm-test-out: Regenerated.
12177         * sysdeps/i386/fpu/libm-test-ulps: Update.
12178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12180         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12183         * math/auto-libm-test-in: Add more tests of log2.
12184         * math/auto-libm-test-out: Regenerated.
12185         * sysdeps/i386/fpu/libm-test-ulps: Update.
12186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12188 2015-03-23  Roland McGrath  <roland@hack.frob.com>
12190         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
12191         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
12192         _IO_IS_APPENDING bit in READ_WRITE instead.
12194 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12196         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12197         (__determine_cpumask_size): Replace extend_alloca with a
12198         variable-length array.  Do not treat res == 0 as an error.
12200 2015-03-23  Florian Weimer  <fweimer@redhat.com>
12202         [BZ #18100]
12203         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
12204         and integer overflow.
12205         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
12206         (main): Add integer overflow tests.
12207         * manual/pattern.texi (Calling Wordexp): Document additional use
12208         for WRDE_SYNTAX.
12210 2015-03-23  Alan Modra  <amodra@gmail.com>
12212         * config.h.in: Remove HAVE_ASM_PPC_REL16.
12213         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
12214         and false branch of conditional.
12215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12216         Likewise.
12218 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
12220         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
12221         libc-modules.h
12222         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
12223         unused declaration of _hurd_intr_rpc_msg_in_trap.
12224         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
12225         defined instead of whether it is non-zero.
12226         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
12227         input constraint instead of both input and output constraint.  Use ecx
12228         clobber instead of %ecx.
12229         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
12230         mutex_unlock): Use a statement expression instead of an expression list.
12231         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
12232         type to vm_size_t instead of vm_address_t.
12233         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
12234         defined instead of whether it is non-zero.
12235         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
12236         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
12237         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
12238         comparisons with mapaddr.
12239         * nscd/nscd-client.h: Include <time.h>.
12240         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
12241         9th parameter to __vm_region instead of int.
12242         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
12243         * scripts/check-local-headers.sh (exclude): Add device/,
12244         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
12245         cthreads.h.
12247 2015-03-19  Roland McGrath  <roland@hack.frob.com>
12249         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
12250         to account for alignment padding.
12251         * sysdeps/arm/memmove.S: Likewise.
12253 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
12255         * sysdeps/unix/sysv/linux/generic/README: New file.
12257 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
12259         [BZ #18138]
12260         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
12261         (futex_abstimed_wait)
12262         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
12263         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
12264         of lll_futex_timed_wait.
12266 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
12268         [BZ #17542]
12269         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
12271 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
12273         [BZ #17090]
12274         [BZ #17620]
12275         [BZ #17621]
12276         [BZ #17628]
12277         * NEWS: Update.
12278         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
12279         entries with Static TLS too.  Skip entries past the end of the
12280         allocated DTV, from Alan Modra.
12281         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
12282         Static TLS DTV entry set up from...
12283         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
12284         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
12285         * nptl/allocatestack.c (init_one_static_tls): ... and here...
12286         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
12287         for Static TLS.
12288         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
12289         that the slot we find is associated with the given map before
12290         using its generation count.
12291         * nptl_db/db_info.c: Include ldsodefs.h.
12292         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
12293         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
12294         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
12295         (link_map::l_tls_offset): New struct field.
12296         (dtv_t::counter): Likewise.
12297         (rtld_global): New struct.
12298         (_rtld_global): New rtld variable.
12299         (dl_tls_dtv_slotinfo_list): New rtld global field.
12300         (dtv_slotinfo_list): New struct.
12301         (dtv_slotinfo): Likewise.
12302         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
12303         (td_lookup): Rename to...
12304         (td_mod_lookup): ... this.  Use new mod parameter instead of
12305         LIBPTHREAD_SO.
12306         * nptl_db/td_thr_tlsbase.c: Include link.h.
12307         (dtv_slotinfo_list, dtv_slotinfo): New functions.
12308         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
12309         addresses even if the DTV is out of date or missing them.
12310         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
12311         index zero-length arrays.
12312         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
12313         (td_lookup): Make it a macro implemented in terms of...
12314         (td_mod_lookup): ... this declaration.
12315         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
12316         (DB_MAIN_VARIABLE): Likewise.
12318 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12320         [BZ #18134]
12321         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
12323 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
12325         * stdlib/setenv.c (__add_to_environ): Revert previous change.
12327 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12329         [BZ #18128]
12330         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
12331         (atomic_add, atomic_increment_and_test)
12332         (atomic_decrement_and_test): Fix 64-bit arithmetic.
12334 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
12336         * stdlib/setenv.c (__add_to_environ):
12337         Dump core quickly if setenv (..., NULL, ...) is called.
12339 2015-03-13  Roland McGrath  <roland@hack.frob.com>
12341         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
12342         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
12343         all the necessary asm magic in one place.
12344         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
12345         using those.
12347 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
12349         [BZ #14906]
12350         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
12351         traced file mtime. Use consistent log message.
12352         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
12353         (register_traced_file): Call install_watches. Always set mtime.
12354         (invalidate_cache): Iterate over all trace files. Call install_watches.
12355         (inotify_check_files): Don't inline. Handle watching parent
12356         directories and configuration file movement in and out.
12357         (handle_inotify_events): New function.
12358         (main_loop_poll): Call handle_inotify_events.
12359         (main_loop_epoll): Likewise.
12360         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
12361         (struct traced_file): Use array of inotify fds. Add parent directory,
12362         and basename.
12363         (struct database_dyn): Remove unused file_mtime.
12364         (init_traced_file): New inline function.
12365         (define_traced_file): New macro.
12366         * nss/nss_db/db-init.c: Use define_traced_file.
12367         (_nss_db_init): Use init_traced_file.
12368         * nss/nss_files/files-init.c: Use define_traced_file.
12369         (_nss_files_init): Use init_traced_file.
12371 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
12373         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
12374         [_LIBC]: Do not include <stdlib.h>.
12375         [!_LIBC] (abort): Remove declaration.
12376         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
12377         _FP_STATIC_ASSERT instead of conditionally calling abort.
12378         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
12379         (_FP_EXTEND_CNAN): Likewise.
12380         (FP_TRUNC): Likewise.
12381         (__FP_CLZ): Likewise.
12382         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
12384 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
12386         * manual/string.texi (XPG basename): Fix prototype.
12388 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12390         [BZ #18080]
12391         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
12392         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12393         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
12394         (__setcontext): Likewise.
12395         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
12396         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
12397         Call rt_sigprocmask syscall one time to set new signal mask
12398         and retrieve the current signal mask instead of two calls.
12399         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
12400         (__swapcontext): Likewise.
12401         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
12402         * stdlib/tst-setcontext2.c: New file.
12404 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12406         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12408 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
12410         [BZ #18093]
12411         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
12412         the wrong size.
12414 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12416         [BZ #18043]
12417         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
12419 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12421         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
12422         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
12423         Remove define.
12424         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
12425         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
12426         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
12427         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
12428         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
12429         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
12430         define.
12431         * nptl_db/td_symbol_list.c (td_lookup): Remove
12432         HAVE_ASM_GLOBAL_DOT_NAME code.
12433         * sysdeps/powerpc/powerpc64/configure.ac: Remove
12434         HAVE_ASM_GLOBAL_DOT_NAME check.
12435         * sysdeps/powerpc/powerpc64/configure: Regenerate.
12436         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
12437         (DOT_LABEL): Remove define.
12438         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
12439         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
12440         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
12441         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
12442         (__TLS_GET_ADDR): Likewise.
12443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
12444         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
12446 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
12448         [BZ #18111]
12449         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
12450         (_FPU_SETCW): Initialize cw from fpsr before storing.
12451         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
12452         (fesetexceptflag): Rewrite using fpu_control.h.
12453         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
12455 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
12457         [BZ #18110]
12458         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
12459         asms.
12460         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
12462 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
12464         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
12465         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
12466         abort.
12467         (_FP_FMA): Likewise.
12468         (_FP_DIV): Likewise.
12470 2015-03-10  Roland McGrath  <roland@hack.frob.com>
12472         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
12473         with 0 in that case.
12474         * Makefile (summarize-tests): New canned sequence, factored out of
12475         commands for targets tests and xtests.  Display summary lines that
12476         don't start with PASS: or XFAIL: rather than ones that do start with
12477         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
12478         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
12479         do start with ERROR: or FAIL:.
12480         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
12481         (except for [$(build-shared) = yes]).
12482         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
12483         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
12484         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
12485         * nptl/Makefile: Revert 2015-03-04 changes.
12486         [$(CXX) empty] (tests-unsupported): New variable.
12487         * debug/Makefile: Likewise.
12489         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
12490         gnulib file.  Replace __attribute with __attribute__ throughout.
12492 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
12494         * sysdeps/hppa/fpu/libm-test-ulps: Update.
12496 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12498         [BZ #18104]
12499         * math/auto-libm-test-in: Add another test of pow.
12500         * math/auto-libm-test-out: Regenerated.
12502 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12504         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
12505         $(config-cflags-nofma).
12507 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
12509         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
12510         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
12511         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
12512         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
12513         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
12514         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
12515         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
12516         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
12517         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
12518         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
12519         Add comment on closing #endif.
12521 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12523         * posix/wordexp.c (CHAR_IN_SET): New macro.
12524         (parse_param): Use it.
12526 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12528         * sysdeps/powerpc/fpu/libm-test-ulps: update.
12530 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12532         [BZ #18043]
12533         * posix/wordexp.c (parse_param): Fix buffer overflow.
12534         * posix/wordexp-test.c (test_case): Add test case.
12536 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12538         [BZ #18042]
12539         * posix/wordexp.c (parse_backtick): Fix off-by-one.
12540         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
12542 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12544         [BZ #18043]
12545         * posix/wordexp-test.c (test_case): Add test for BZ #18043
12546         (do_bz18043): Delete.
12547         (at_page_end): New.
12548         (testit): Refactor to have words at the edge of unreadable page.
12550 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12552         [BZ #16734]
12553         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
12554         Cleanup read-only streams as well.
12555         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
12557 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12559         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
12560         <bits/libc-lockP.h>
12562 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
12564         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
12565         on [__KERNEL__].
12566         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
12567         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
12568         * soft-fp/op-common.h (_FP_DECL): Likewise.
12570 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12572         * elf/ifuncdep2.c (global): Replace
12573         __attribute__((visibility("protected"))) with
12574         asm (".protected global").
12575         * elf/ifuncmod1.c (global): Likewise.
12576         * elf/ifuncmod5.c (global): Likewise.
12578 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
12580         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
12581         <asm/sfp-machine.h> instead of <sfp-machine.h>.
12583 2015-03-06  Roland McGrath  <roland@hack.frob.com>
12585         * manual/install.texi (Configuring and compiling):
12586         Document test-wrapper-env-only.
12587         * INSTALL: Regenerated.
12589 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12591         [BZ #18043]
12592         * posix/wordexp.c (parse_param): Fix buffer overflow.
12593         * posix/wordexp-test.c (do_bz18043): Add test case.
12595 2015-03-06  Vincent Bernat  <vincent@bernat.im>
12597         * time/tst-strptime2.c (do_test): Ensure failing tests are
12598         reported correctly.
12599         * time/tst-strptime3.c (do_test): Likewise.
12601 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
12603         Fix aio_error thread-safety.
12604         * sysdeps/pthread/aio_error.c: New file
12605         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
12606         synchronization.
12608 2015-03-06  Florian Weimer  <fweimer@redhat.com>
12610         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
12611         (group_number, vfprintf): Use it.
12612         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
12613         (JUMP, REF): Use it.
12614         (WORK_BUFFER_SIZE): New enum constant.
12615         (process_arg, vfprintf): Use it.
12617 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
12619         * manual/errno.texi (Error Messages): Complete example function
12620         by adding missing #define.
12621         (program_invocation_name): Add statement indicating GNU
12622         extension and reference which header file declares the variable.
12623         (program_invocation_short_name): Likewise.
12625 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
12627         * manual/errno.texi (Error Messages): Delete strerror ISO C89
12628         compatibility note.
12630 2015-03-05  Roland McGrath  <roland@hack.frob.com>
12632         * Makeconfig (test-wrapper-env-only): New variable.
12633         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
12634         then use that with $(test-wrapper-env-only) rather than using
12635         $(test-wrapper-env) $(run-program-env) $($*-ENV).
12637 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
12639         [BZ #18082]
12640         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
12641         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
12642         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
12643         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
12644         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
12645         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
12646         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
12647         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
12648         Likewise.
12649         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
12650         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
12651         Likewise.
12652         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
12653         Likewise.
12654         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
12655         Likewise.
12656         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
12657         Likewise.
12658         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
12659         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
12660         Likewise.
12661         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
12662         Likewise.
12663         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
12664         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
12666 2015-03-04  Roland McGrath  <roland@hack.frob.com>
12668         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
12669         (ETH_ALEN): New macro.
12670         (struct ether_addr): Use it for length of ether_addr_octet.
12672         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
12673         (setdb): Don't call __nss_configure_lookup for "rpc".
12674         (do_test): Don't call test_rpc.
12675         (output_rpcent, test_rpc): Functions moved ...
12676         * sunrpc/test-rpcent.c: ... to this new file.
12677         * sunrpc/Makefile (tests): Add it.
12679         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
12680         __xpg_sigpause.
12681         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
12682         * nptl/tst-signal6.c: Likewise.
12683         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
12684         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
12686         * configure.ac (libc_cv_cxx_link_ok): New check.
12687         Reset CXX to empty if it fails to link.
12688         * configure: Regenerated.
12689         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
12690         bug-atexit3-lib only if $(CXX) is nonempty.
12691         * nptl/Makefile (tests): Likewise for tst-cancel24.
12692         (tests, tests-static): Likewise for tst-cancel24-static.
12693         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
12694         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
12695         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
12696         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
12698 2015-03-04  Andreas Schwab  <schwab@suse.de>
12700         [BZ #17631]
12701         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
12702         for non-GCC compilers.
12703         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12704         Likewise.
12706 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
12708         [BZ #17776]
12709         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
12710         integer before bitwise and assembly operations.
12711         (feclearexcept): Likewise.
12712         * math/test-fenvinline.c: New file.
12713         * math/Makefile: Add test-fenvinline test.
12715 2015-03-03  Alan Modra  <amodra@gmail.com>
12717         [BZ #16512]
12718         * scripts/localplt.awk: Strip off symbol version.
12719         * NEWS: Mention bug fix.
12721 2015-03-02  Roland McGrath  <roland@hack.frob.com>
12723         * sysdeps/pthread/timer_routines.c
12724         (timer_free_list, thread_free_list, thread_active_list): Make static.
12726 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
12728         [BZ #17779]
12729         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12730         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12731         Undefine.
12732         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12733         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12734         Likewise.
12735         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12736         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
12737         Likewise.
12739 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
12741         [BZ #18036]
12742         * posix/fnmatch_loop.c (END): Detect invalid pattern.
12743         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
12745 2015-03-02  Andreas Schwab  <schwab@suse.de>
12747         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
12748         variable name.
12750 2015-03-02  Florian Weimer  <fweimer@redhat.com>
12752         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
12753         Return error status.
12755 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
12757         [BZ #15969]
12758         * locale/findlocale.c (_nl_find_locale): Introduce const
12759         version of loc_name and drop unsafe type casts.
12761 2015-02-27  Roland McGrath  <roland@hack.frob.com>
12763         * dlfcn/tststatic2.c (main): Converted to ...
12764         (do_test): ... this.
12765         (TEST_FUNCTION): New macro.
12766         Include test-skeleton.c.
12768 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
12770         [BZ #17711]
12771         * elf/Makefile (tests): Add vismain only if PIE is enabled.
12772         (tests-pie): Add vismain.
12773         (CFLAGS-vismain.c): New.
12774         * elf/vismain.c: Add comments for PIE requirement.
12776 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
12778         [BZ #18046]
12779         [BZ #18047]
12780         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
12781         0x1p-56L as threshold for just returning the argument.
12782         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
12783         0x1p-32L as threshold for just returning the argument.
12784         * math/auto-libm-test-in: Add more tests of atanh.
12785         * math/auto-libm-test-out: Regenerated.
12786         * sysdeps/i386/fpu/libm-test-ulps: Update.
12787         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
12789 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
12791         * string/bcopy.c (bcopy): Call memmove for performance.
12793 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
12795         * string/bzero.c (__bzero): Call memset for performance.
12797 2015-02-27  John David Anglin  <dave.anglin@bell.net>
12799         [BZ #18068]
12800         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
12801         to 00100000.
12803 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
12805         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
12807 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12809         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
12810         (__kernel_standard): Use CSTR macro when setting exc.name.
12811         * sysdeps/ieee754/Makefile [$(subdir) = math]
12812         (CFLAGS-k_standard.c): Remove variable.
12814         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
12815         setting p and q from "else if" to "else".
12816         (qzero): Likewise.
12817         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
12818         (qone): Likewise.
12819         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
12820         (qzerof): Likewise.
12821         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
12822         (qonef): Likewise.
12823         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
12824         (qzero): Likewise.
12825         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
12826         (qone): Likewise.
12828         [BZ #18038]
12829         [BZ #18039]
12830         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
12831         return pi/2 for arguments below 0x1p-113L.
12832         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
12833         return pi/2 for arguments below 0x1p-106L.
12834         * math/auto-libm-test-in: Add more tests of acos.
12835         * math/auto-libm-test-out: Regenerated.
12837         [BZ #16351]
12838         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
12839         (MO): New macro.
12840         (__ieee754_asin): Force underflow exception for results with small
12841         absolute value.
12842         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
12843         (MO): New macro.
12844         (__ieee754_asinf): Force underflow exception for results with
12845         small absolute value.
12846         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
12847         (__ieee754_asin): Force underflow exception for results with small
12848         absolute value.
12849         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
12850         (__ieee754_asinf): Force underflow exception for results with
12851         small absolute value.
12852         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
12853         (__ieee754_asinl): Force underflow exception for results with
12854         small absolute value.
12855         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
12856         (__ieee754_asinl): Force underflow exception for results with
12857         small absolute value.
12858         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
12859         (__ieee754_asinl): Force underflow exception for results with
12860         small absolute value.
12861         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12862         Include <math.h>.
12863         * math/auto-libm-test-in: Do not mark underflow exceptions as
12864         possibly missing for bug 16351.
12865         * math/auto-libm-test-out: Regenerated.
12867         [BZ #18030]
12868         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
12869         of power of 2 down when low part has opposite sign.
12870         * math/libm-test.inc (logb_test_data): Add more tests.
12872 2015-02-26  Andreas Schwab  <schwab@suse.de>
12874         [BZ #18032]
12875         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
12876         over collating symbol inside a bracket expression.  Minor cleanup.
12877         * posix/tst-fnmatch3.c (do_test): Add test case.
12879 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
12881         [BZ #18029]
12882         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
12883         Adjust exponent of power of 2 down when low part has opposite
12884         sign.
12885         * math/libm-test.inc (ilogb_test_data): Add more tests.
12887 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
12889         [BZ #15969]
12890         * locale/findlocale.c (_nl_find_locale): Fix constness error in
12891         the previous change.
12893         [BZ #15969]
12894         * locale/findlocale.c (_nl_find_locale): Retry archive search
12895         after alias expansion.
12897 2015-02-25  Roland McGrath  <roland@hack.frob.com>
12899         * iconv/tst-iconv3.c (main): Converted to ...
12900         (do_test): ... this.
12901         (TEST_FUNCTION): New macro.
12902         Include test-skeleton.c.
12904         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
12905         (convert): Make function static.
12906         (test_unalign): Likewise.  Add const to argument pointee types.
12907         (main): Replace with static function do_test.
12908         Print "Succeeded." only if RET is zero.
12909         (TEST_FUNCTION): New macro.
12910         Include test-skeleton.c.
12912         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
12913         returns a null pointer.
12915 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12917         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
12918         to __memcpy_ppc only for static builds.
12920 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
12922         [BZ #18020]
12923         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
12924         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
12925         * math/auto-libm-test-in: Add more tests of asinh.
12926         * math/auto-libm-test-out: Regenerated.
12927         * sysdeps/i386/fpu/libm-test-ulps: Update.
12928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12930 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
12932         [BZ #15850]
12933         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
12934         and ip6_mtuinfo definitions here.
12935         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
12936         in this define too.  Update comment.
12938 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
12940         * elf/sprof.c (load_shobj): Tweak error message to match others.
12942 2015-02-24  Kevin Easton  <kevin@guarana.org>
12944         [BZ #16145] (partial fix)
12945         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
12946         to reduce lock contention.
12948 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
12950         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
12951         (struct timex): Update time comment.
12952         (ADJ_SETOFFSET): Define.
12954 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12956         [BZ #18019]
12957         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12958         2**56 not 2**28 as threshold for log (2x) formula.
12959         * math/auto-libm-test-in: Add more tests of acosh.
12960         * math/auto-libm-test-out: Regenerated.
12961         * sysdeps/i386/fpu/libm-test-ulps: Update.
12962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12964 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
12966         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
12967         parenthesis around the buf assignment.
12968         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
12970 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
12972         [BZ #16783]
12973         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
12974         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
12975         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
12976         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12977         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12978         * math/libm-test.inc (scalb_test_data): Add more tests.
12980 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12982         [BZ #17916]
12983         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
12984         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
12986 2015-02-24  Eric Rannaud  <e@nanocritical.com>
12988         [BZ #17523]
12989         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
12990         * io/bits/fcntl2.h (open): Use it.
12991         (openat): Likewise.
12992         * io/open.c (__libc_open): Likewise.
12993         * io/open64.c (__libc_open64): Likewise.
12994         * io/open64_2.c (__open64_2): Likewise.
12995         * io/open_2.c (__open_2): Likewise.
12996         * io/openat.c (__openat): Likewise.
12997         * io/openat64.c (__openat64): Likewise.
12998         * io/openat64_2.c (__openat64_2): Likewise.
12999         * io/openat_2.c (__openat_2): Likewise.
13000         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
13001         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13002         * sysdeps/posix/open64.c (__libc_open64): Likewise.
13003         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13004         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13005         (__open_nocancel): Likewise.
13006         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13007         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13008         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
13010 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13012         [BZ #14841]
13013         * resolv/gethnamaddr.c (getanswer): Skip logging if
13014         RES_USE_DNSSEC is set.
13015         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13017 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
13019         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
13021 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
13023         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
13024         201304L, for Unicode 7.
13026 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
13028         [BZ #17836]
13029         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
13030         shared library.  Add gmon-start.os otherwise.
13031         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
13032         $(objpfx)gmon-start.os if builing shared library.
13033         ($(objpfx)g$(static-start-installed-name)): Likewise.
13035 2015-02-23  Andreas Schwab  <schwab@suse.de>
13037         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
13039 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
13041         [BZ #17269]
13042         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
13043         (enlarge_userbuf): Likewise.
13045 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
13047         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
13048         * math/atest-exp.c (TIMEOUT): Adjust to 200.
13049         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
13050         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
13052 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
13054         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
13055         expression inside statement expression.
13057 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13059         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
13060         <sysdeps/nptl/lowlevellock.h> and remove macros and
13061         functions that are now defined there.
13062         (SYS_futex): Remove.
13063         (lll_compare_and_swap): Remove.
13064         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
13066 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
13068         [BZ #17999]
13069         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
13070         instead of scandirat.
13071         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
13072         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
13073         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
13074         __scandirat.
13075         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
13076         (__scandirat): Declare.  Use libc_hidden_proto.
13077         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
13078         Remove variable.
13079         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13081 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13083         [BZ #15319]
13084         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
13085         (MO): New macro.
13086         (__ieee754_atan2): For results with small absolute value, force
13087         underflow exception and remove excess range and precision from
13088         return value.
13089         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
13090         (MO): New macro.
13091         (__ieee754_atan2f): For results with small absolute value, force
13092         underflow exception and remove excess range and precision from
13093         return value.
13094         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
13095         (MO): New macro.
13096         (__atan): For results with small absolute value, force underflow
13097         exception and remove excess range and precision from return value.
13098         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
13099         (MO): New macro.
13100         (__atanf): For results with small absolute value, force underflow
13101         exception and remove excess range and precision from return value.
13102         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
13103         <math.h>.
13104         (__ieee754_atan2): Force underflow exception for results with
13105         small absolute value.
13106         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
13107         <math_private.h>.
13108         (atan): Force underflow exception for results with small absolute
13109         value.
13110         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
13111         (__atanf): Force underflow exception for results with small
13112         absolute value.
13113         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
13114         <math.h>.
13115         (__atanl): Force underflow exception for results with small
13116         absolute value.
13117         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
13118         (__atanl): Force underflow exception for results with small
13119         absolute value.
13120         * sysdeps/x86/fpu/bits/mathinline.h
13121         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
13122         (__ieee754_atan2): Only define inline for long double.
13123         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13124         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
13125         * math/auto-libm-test-in: Do not mark underflow exceptions as
13126         possibly missing for bug 15319.  Add more tests of atan2.
13127         * math/auto-libm-test-out: Regenerated.
13128         * math/libm-test.inc (casin_test_data): Do not mark underflow
13129         exceptions as possibly missing for bug 15319.
13130         (casinh_test_data): Likewise.
13131         * sysdeps/i386/fpu/libm-test-ulps: Update.
13133 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
13135         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
13136         * sysdeps/mips/bits/endian.h: Fix comments.
13138 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
13140         [BZ #17996]
13141         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
13142         (hdestroy_r): Likewise.
13143         (hsearch_r): Likewise.
13144         (__hcreate_r): Declare and use libc_hidden_proto.
13145         (__hdestroy_r): Likewise.
13146         (__hsearch_r): Likewise.
13147         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
13148         (hcreate): Call __hcreate_r instead of hcreate_r.
13149         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
13150         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
13151         as weak alias of __hcreate_r.
13152         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
13153         __hdestroy_r.
13154         (hsearch_r): Rename to __hsearch_r and define as weak alias of
13155         __hsearch_r.
13156         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
13157         Remove variable.
13158         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13159         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13160         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13161         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13163 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13165         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
13166         arena_lock into a single arena_get.
13168 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
13170         * dl-reloc.c: Inlucde libc-internal.h.
13171         (_dl_try_allocate_static_tls): Call ALIGN_UP.
13172         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
13173         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
13174         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
13175         (grow_heap): Likewise.
13176         * malloc/malloc.c: Include libc-internal.h.
13177         (do_check_malloc): Call powerof2.
13178         (sysmalloc): Use pagesize. Call ALIGN_UP.
13179         (systrim): Use pagesize.
13180         (mremap_chunk): Use pagesize. Call ALIGN_UP.
13181         (__libc_valloc): Use pagesize.
13182         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
13184 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13186         [BZ #17991]
13187         * include/sys/resource.h (__getrlimit64): Declare.  Use
13188         libc_hidden_proto.
13189         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
13190         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
13191         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
13192         getrlimit64.
13193         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
13194         __getrlimit64.
13195         [!getrlimit64] (getrlimit64): Define as weak alias of
13196         __getrlimit64.  Use libc_hidden_weak.
13197         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
13198         using __getrlimit64 not __new_getrlimit64.
13199         (__GI_getrlimit64): Likewise.
13200         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
13201         Likewise.
13202         (__GI_getrlimit64): Likewise.
13203         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
13204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
13205         (getrlimit): Add __getrlimit64 alias.
13206         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
13207         Likewise.
13208         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
13209         Remove variable.
13210         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13211         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13213 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
13215         * libio/fileops.c: Add missing sys/mman.h
13216         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
13218 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
13220         * manual/math.texi (Errors in Math Functions): Clarify goals
13221         regarding inexact and underflow exceptions.
13223 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13225         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
13226         * sysdeps/mips/memset.S: Ditto.
13228 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
13230         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
13232 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
13234         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
13235         (__v1longjmp): Remove versioned symbol.
13236         (__v1siglongjmp): Remove alias and versioned symbol.
13237         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
13238         (__v2siglongjmp): Likewise.
13240 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13242         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
13244 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
13246         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
13248 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13250         [BZ #17987]
13251         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
13252         zero result does not depend on the sign resulting from
13253         subtraction.
13254         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13255         Likewise.
13256         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13257         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13258         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13259         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13260         * math/libm-test.inc (remquo_test_data): Add more tests.
13262 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
13264         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
13265         Problem reported by J William Piggott.
13267 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
13269         [BZ #17978]
13270         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
13271         products 4 * y and 2 * y where those would overflow.
13272         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13273         Likewise.
13274         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
13275         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
13276         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13277         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
13278         * math/libm-test.inc (remquo_test_data): Add more tests.
13280         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
13282         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
13283         [defined _COMPILING_NEWLIB].
13284         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
13285         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
13287         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
13288         [!defined __mips_isa_rev || __mips_isa_rev < 6].
13290 2015-02-16  Torvald Riegel  <triegel@redhat.com>
13292         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
13293         acquired.
13295 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
13297         [BZ #17792]
13298         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
13299         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
13300         HOST_STACK_END_ADDR): Likewise.
13302 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
13304         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
13305         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
13306         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
13308 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13310         * sysdeps/generic/c++-types.data: New file.
13311         * sysdeps/generic/ld.abilist: New file.
13312         * sysdeps/generic/libBrokenLocale.abilist: New file.
13313         * sysdeps/generic/libanl.abilist: New file.
13314         * sysdeps/generic/libc.abilist: New file.
13315         * sysdeps/generic/libcrypt.abilist: New file.
13316         * sysdeps/generic/libdl.abilist: New file.
13317         * sysdeps/generic/libm.abilist: New file.
13318         * sysdeps/generic/libpthread.abilist: New file.
13319         * sysdeps/generic/libresolv.abilist: New file.
13320         * sysdeps/generic/librt.abilist: New file.
13322 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13324         [BZ #17569]
13325         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
13326         Compute absolute value of x as modified by fmod, not original
13327         value of x.
13328         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
13329         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
13330         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
13331         RUN_TEST_ffI_f1_mod8.
13332         (remquo_test_data): Add more tests.
13334 2015-02-13  Roland McGrath  <roland@hack.frob.com>
13336         * sysdeps/init_array/pt-crti.S: New file.
13338 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
13340         [BZ #17967]
13341         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
13342         __builtin_fmaf instead of relying on contraction of a * b + c.
13344 2015-02-12  J William Piggott  <elseifthen@gmx.com>
13346         [BZ #17969]
13347         * manual/time.texi: correct the zoneinfo path in the TZ Variable
13348         node.
13350 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13352         [BZ #17964]
13353         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
13354         __builtin_fma instead of relying on contraction of a * b + c.
13356 2015-02-12  Roland McGrath  <roland@hack.frob.com>
13358         * Makeconfig (ASFLAGS): Add -Werror=undef.
13359         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
13360         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
13361         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
13363         * Makeconfig (after-link): New variable.
13364         (+link-pie, +link-pie-tests): Use it.
13365         (+link-static, +link-static-tests): Likewise.
13366         (+link, +link-tests): Likewise.
13367         * Makerules (build-module, build-module-asneeded): Likewise.
13368         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
13369         Likewise.
13370         * elf/Makefile ($(objpfx)ld.so): Likewise.
13372 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
13374         [BZ #17965]
13375         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
13376         both struct timeval and struct timespec.
13378 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
13380         [BZ #16560]
13381         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13382         and redefine.
13383         (__ieee754_exp2l): Do not multiply small fractional parts by
13384         M_LN2l.
13385         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
13386         small argument.
13387         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13388         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13389         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
13390         * math/auto-libm-test-in: Add more tests of exp2.
13391         * math/auto-libm-test-out: Regenerated.
13393 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13395         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
13396         unaligned path.
13398 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13400         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
13401         little endian.
13403 2015-02-12  Andreas Schwab  <schwab@suse.de>
13405         [BZ #15790]
13406         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13407         Filter out elision flags from value returned in kind.
13408         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
13409         * nptl/tst-pthread-mutexattr.c: New file.
13411 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13413         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
13414         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
13415         into gnu-gnu, and update comment to refer to abi-tags.
13417 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
13419         [BZ #15467]
13420         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
13421         (__sincos): Set errno to EDOM for infinite argument.
13422         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
13423         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
13424         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
13425         (__sincosl): Set errno to EDOM for infinite argument.
13426         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
13427         (__sincosl): Set errno to EDOM for infinite argument.
13428         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13429         (__sincosl): Set errno to EDOM for infinite argument.
13430         * math/libm-test.inc (sincos_test_data): Test errno setting.
13432 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
13434         * string/strxfrm_l.c: Remove #define STRCMP.
13435         * string/strcoll_l.c: Remove #define STRLEN.
13436         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
13437         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
13439 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
13441         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
13442         * sysdeps/mips/mips32/sfp-machine.h: ... here.
13443         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13444         * sysdeps/mips/mips64/Makefile: ... here.
13445         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
13446         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
13447         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
13448         * sysdeps/mips/mips64/sfp-machine.h: ... here.
13449         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
13450         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
13451         * sysdeps/mips/mips64/n64/Implies: Likewise.
13453 2015-02-10  Roland McGrath  <roland@hack.frob.com>
13455         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
13456         <sys/time.h>, <string.h>, and <errno.h>.
13457         (dest_offset, dest_address, value, zero): Remove unused variables.
13458         (ldouble): Remove typedef.
13459         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
13460         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
13461         1).  Fix code style.
13462         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
13463         (check): Function removed.
13464         (CHECK): New macro.
13465         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
13466         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
13467         Don't call set_sigaction_FP and remove_sigaction_FP here.
13468         (ldouble_test): Just use 'long double' as macro argument, no need for
13469         the 'ldouble' typedef.
13470         (do_test): Set up SIGFPE handler at start, using plain signal rather
13471         than sigaction.  Fix code style.
13473 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
13475         [BZ #17949]
13476         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
13477         jump label.
13479 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13481         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
13482         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13484         * sysdeps/powerpc/configure.ac: Remove file.
13485         * sysdeps/powerpc/configure: Likewise.
13487         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13488         [sysdep_routines]: Remove wordcopy-power6 object.
13489         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13490         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
13491         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
13492         (__memmove_ppc32): Likewise.
13493         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
13494         file.
13495         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
13496         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
13497         Remove preprocessor.
13499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
13500         [sysdep_routines]: Remove wide chars objects.
13501         [wcsmbs]: New rule for wide char objects.
13503         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13504         Remove wordcopy-power6 obejct.
13505         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
13506         Use local call for wordcopy and memcpy symbols.
13507         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
13508         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
13509         implementation for loader.
13510         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
13512         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13513         Remove wordcopy-power7 object.
13514         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
13515         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
13516         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
13517         (_wordcopy_fwd_dest_aligned): Likewise.
13518         (_wordcopy_bwd_aligned): Likewise.
13519         (_wordcopy_bwd_dest_aligned): Likewise.
13521         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
13522         Rewrite to call __memmove_ppc instead of include default
13523         implementation.
13525         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13526         Remove wide chars objects.
13527         [wcsmbs]: New rule for wide char objects.
13529 2015-02-09  Andreas Schwab  <schwab@suse.de>
13531         [BZ #17912]
13532         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13533         in terms of __O_DIRECTORY.
13535 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13537         * time/getdate.c: Include <stdbool.h>.
13538         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
13539         call PTR_MANGLE.
13540         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
13541         PTR_DEMANGLE.
13543 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
13545         Add ersatz _Static_assert on older C hosts
13546         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
13547         pre-C11 C platform that is not known to support _Static_assert.
13549 2015-02-07  Richard Braun  <rbraun@sceen.net>
13551         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
13552         sigstate.
13553         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
13555 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13557         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
13558         priority against unexistent AIO_PRIO_DELTA_MAX.
13559         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
13560         instead of int.
13561         * misc/fchflags.c (fchflags): Likewise.
13562         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
13563         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
13564         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
13565         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
13566         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
13567         Declare macros.
13568         [__USE_MISC] (chflags, fchflags): Declare functions.
13569         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
13570         EINVAL when nfds is greater than FD_SETSIZE.
13571         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
13572         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
13573         45.
13574         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
13575         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
13576         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
13577         MACH_RCV_TIMED_OUT.
13578         * hurd/hurd/signal.h (_hurd_self_sigstate,
13579         _hurd_critical_section_lock, _hurd_critical_section_unlock):
13580         Explicit casts from void *.
13581         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
13582         * abi-tags: Rename gnu-gnu os into gnu.
13584         [BZ #4719]
13585         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
13586         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
13587         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
13588         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
13589         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
13590         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
13592         [BZ #17944]
13593         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
13594         duplicates ADDR->sun_path with sockaddr LEN limitation.
13595         * sysdeps/mach/hurd/connect.c: Include <string.h>
13596         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
13597         * sysdeps/mach/hurd/sendmsg.c: Likewise.
13598         * sysdeps/mach/hurd/sendto.c: Likewise.
13599         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
13600         implementing it by hand.
13602 2015-02-06  Roland McGrath  <roland@hack.frob.com>
13604         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
13605         Use sfi_breg on ldr.
13606         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
13607         Likewise.
13609         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
13610         it's defined.
13611         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
13612         Test SIGSETXID only if it's defined.
13614         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
13616         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
13617         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
13619         * nptl/tst-align2.c: Moved ...
13620         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
13621         * nptl/Makefile (tests): Remove tst-align2.
13622         * sysdeps/unix/sysv/linux/Makefile
13623         [$(subdir) = nptl] (tests): Add tst-align-clone.
13624         * nptl/tst-getpid1.c: Moved ...
13625         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
13626         * nptl/tst-getpid2.c: Moved ...
13627         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
13628         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
13629         * sysdeps/unix/sysv/linux/Makefile
13630         [$(subdir) = nptl] (tests): ... here.
13631         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
13632         * sysdeps/unix/sysv/linux/Makefile
13633         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
13635         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
13636         Drop trailing \n from perror argument.  Use return rather than exit.
13638         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
13639         on [SA_SIGINFO].
13640         * nptl/tst-cancel21.c (do_test): Likewise.
13641         * debug/tst-backtrace6.c: Include <signal.h> first thing.
13642         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
13643         [!SA_SIGINFO]: Make it a stub test.
13645         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
13646         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
13648         * posix/tst-getlogin.c: Move to ...
13649         * login/tst-getlogin.c: ... here.
13650         * posix/Makefile (tests): Move tst-getlogin to ...
13651         * login/Makefile (tests): ... here.
13653         * libio/tst-atime.c (do_test): Move local variables SV and E
13654         inside [ST_NOATIME] conditional.
13656         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
13658         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
13660         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
13661         (wait_code): New function replaces macro.
13662         Call nanosleep rather than syscall.
13664         * nptl/pt-system.c: Rewritten.  Put everything under
13665         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13666         Use IFUNC to redirect when possible.
13668         * nptl/pt-longjmp.c: Rewritten.  Put everything under
13669         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13670         Use IFUNC to redirect when possible.
13672         * nptl/pt-fork.c: Rewritten.  Put everything under
13673         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
13674         Use IFUNC to redirect when possible.
13675         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
13677         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
13678         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
13679         unconditionally nowadays.  This included the only reference to
13680         __vdso_clock_gettime that appears outside libc proper.
13681         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
13682         Remove version set (containing only __vdso_clock_gettime).
13683         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13684         Add attribute_hidden.
13685         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13686         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
13687         libc_hidden_data_def.
13688         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13689         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13691         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
13692         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
13693         setrpcent, and getrpcport to ...
13694         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
13695         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
13696         getrpcbynumber_r, and getrpcent_r to ...
13697         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
13698         * inet/getrpcbyname.c: Moved ...
13699         * sunrpc/getrpcbyname.c: ... here.
13700         * inet/getrpcbyname_r.c: Moved ...
13701         * sunrpc/getrpcbyname_r.c: ... here.
13702         * inet/getrpcbynumber.c: Moved ...
13703         * sunrpc/getrpcbynumber.c: ... here.
13704         * inet/getrpcbynumber_r.c: Moved ...
13705         * sunrpc/getrpcbynumber_r.c: ... here.
13706         * inet/getrpcent.c: Moved ...
13707         * sunrpc/getrpcent.c: ... here.
13708         * inet/getrpcent_r.c: Moved ...
13709         * sunrpc/getrpcent_r.c: ... here.
13710         * inet/Makefile (routines): Move those to ...
13711         * sunrpc/Makefile (routines): ... here.
13712         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
13713         the $(subdirs) list.
13714         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
13715         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
13716         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
13717         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
13719         * elf/Makefile (routines): Include $(all-dl-routines), not just
13720         $(dl-routines).
13721         (rtld-routines): Likewise.  Use = rather than :=.
13722         * sysdeps/aarch64/Makefile [$(subdir) = elf]
13723         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
13724         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
13725         * sysdeps/arm/Makefile: Likewise.
13726         * sysdeps/i386/Makefile: Likewise.
13727         * sysdeps/x86_64/Makefile: Likewise.
13728         * sysdeps/hppa/Makefile [$(subdir) = elf]
13729         (sysdep_routines, sysdep-rtld-routines): Don't add
13730         $(sysdep-dl-routines) to these.
13731         * sysdeps/ia64/Makefile: Likewise.
13732         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
13733         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
13734         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
13735         Don't add dl-static to these; sysdep-dl-routines alone is enough.
13736         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
13737         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
13738         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
13739         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
13740         * sysdeps/powerpc/Makefile [$(subdir) = elf]
13741         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
13742         these; sysdep-dl-routines alone is enough.
13744 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
13746         [BZ #17932]
13747         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
13748         where multiplication results in zero and third argument is finite
13749         and nonzero.
13750         * math/auto-libm-test-in: Add more tests of fma.
13751         * math/auto-libm-test-out: Regenerated.
13753         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
13754         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
13755         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
13756         (_FP_CMP_EQ): Likewise.
13757         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
13759         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
13760         extra argument CHECK_NAN.  Redefine as wrapper around
13761         _FP_EXTEND_CNAN.
13763 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
13765         * version.h (RELEASE): Set to "stable".
13766         (VERSION): Set to "2.21"
13767         * include/features.h (__GLIBC_MINOR__): Set to 21.
13769         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
13771 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13772             Paul Eggert  <eggert@cs.ucla.edu>
13774         [BZ #16618]
13775         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
13776         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
13777         size in bytes. Store needed elements in wpmax. Use needed size
13778         in bytes for extend_alloca.
13780 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
13782         * manual/install.texi: Latest tested versions are GCC 4.9.2,
13783         binutls 2.25, and texinfo 5.2.
13784         * INSTALL: Regenerate.
13785         * sysdeps/nios2/configure: Regenerate.
13786         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
13787         * manual/contrib.texi: Update.
13788         * po/be.po: Update.
13789         * po/bg.po: Update.
13790         * po/ca.po: Update.
13791         * po/cs.po: Update.
13792         * po/da.po: Update.
13793         * po/de.po: Update.
13794         * po/el.po: Update.
13795         * po/eo.po: Update.
13796         * po/es.po: Update.
13797         * po/fi.po: Update.
13798         * po/fr.po: Update.
13799         * po/gl.po: Update.
13800         * po/hr.po: Update.
13801         * po/hu.po: Update.
13802         * po/ia.po: Update.
13803         * po/id.po: Update.
13804         * po/it.po: Update.
13805         * po/ja.po: Update.
13806         * po/ko.po: Update.
13807         * po/lt.po: Update.
13808         * po/nb.po: Update.
13809         * po/nl.po: Update.
13810         * po/pl.po: Update.
13811         * po/pt_BR.po: Update.
13812         * po/ru.po: Update.
13813         * po/rw.po: Update.
13814         * po/sk.po: Update.
13815         * po/sl.po: Update.
13816         * po/sv.po: Update.
13817         * po/tr.po: Update.
13818         * po/uk.po: Update.
13819         * po/vi.po: Update.
13820         * po/zh_CN.po: Update.
13821         * po/zh_TW.po: Update.
13823         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
13824         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
13825         * sysdeps/hppa/dl-irel.h: Remove #warning.
13826         * sysdeps/hppa/entry.h: Provide prototype for
13827         __canonicalize_funcptr_for_compare and cast argument.
13828         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
13829         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
13830         * sysdeps/hppa/sotruss-lib.c: New file.
13831         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
13832         (atomic_compare_and_exchange_val_acq): Use __typeof__.
13833         (atomic_compare_and_exchange_bool_acq): Likewise.
13834         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
13835         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
13837         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
13838         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
13839         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
13841 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
13843         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
13844         called function in non-PIC case.
13846 2015-01-31  David S. Miller  <davem@davemloft.net>
13848         * sysdeps/sparc/sparc32/bits/atomic.h
13849         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
13850         unlock not after it.
13851         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
13852         volatile register usage warnings from the compiler.
13854         * sysdeps/sparc/nptl/sem_init.c: Delete.
13855         * sysdeps/sparc/nptl/sem_post.c: Delete.
13856         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
13857         * sysdeps/sparc/nptl/sem_wait.c: Delete.
13858         * sysdeps/sparc/sparc32/sem_init.c: New file.
13859         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
13860         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
13861         padding explicitly initialized.
13862         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
13863         padding for in-semaphore spinlock.
13864         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
13865         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
13866         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
13867         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
13868         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
13869         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
13870         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
13871         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
13872         version.
13873         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
13874         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
13876 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
13878         [BZ #17801]
13879         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13880         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
13881         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
13882         New.
13883         (index_AVX_Fast_Unaligned_Load): Likewise.
13884         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
13885         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
13886         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
13887         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
13888         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
13889         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
13890         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
13891         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
13892         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
13894 2015-01-29  Andreas Schwab  <schwab@suse.de>
13896         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
13898 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
13900         [BZ #17892]
13901         * nscd/nscd_stat.c (send_stats): Initialize DATA.
13903 2015-01-28  Martin Sebor  <msebor@redhat.com>
13905         * math/README.libm-test: Clarify. Add "How to read the test output."
13907 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
13909         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
13910         Define to 0.
13912 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
13914         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
13915         (__HAVE_64B_ATOMICS): Define to 0.
13917 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13919         [BZ #17885]
13920         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
13921         value to set as new flag.
13923         [BZ #16576]
13924         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
13925         and use _ARCH_PPCSQ instead.
13926         (__ieee754_sqrt): Likewise.
13927         (__ieee754_sqrtf): Likewise.
13928         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
13929         _ARCH_PPCSQ is defined.
13930         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
13931         fsqrt instruction.
13932         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
13933         _ARCH_PPCSQ is defined.
13934         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
13935         fsqrts instruction.
13936         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
13938 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13940         * iconv/loop.c: Suppress array out of bound warning caused by GCC
13941         bug (GCC BZ #64739).
13943 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
13945         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
13946         Mark _retval as used.
13947         (lll_futex_wake_unlock): Likewise.
13948         (lll_futex_timed_wait_requeue_pi): Likewise.
13950         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13951         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
13952         register variables.
13954         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
13955         libm_hidden_def.
13957         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
13958         (__bswap_64): Mark as __always_inline.
13960 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
13962         [BZ #15378]
13963         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
13964         when none of the search directories exist.
13966 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13968         [BZ #17869]
13969         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
13970         power8 in .machine directive.
13972         [BZ #17868]
13973         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
13974         set dependency from opd value.
13976 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13979         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
13980         architecture.
13982 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
13984         [BZ #17870]
13985         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
13986         with uint64_t.
13987         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
13988         (uint64_t) 1.
13989         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
13990         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
13991         Replace 1UL with (uint64_t) 1.
13992         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
13993         int with uint64_t.
13995 2015-01-23  Roland McGrath  <roland@hack.frob.com>
13997         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
13998         (if_freenameindex): Likewise.
14000         * resource/getrlimit64.c: Add missing libc_hidden_def.
14002 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
14004         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
14005         __label__.
14006         (_FP_FMA): Likewise.
14007         (_FP_TO_INT_ROUND): Likewise.
14008         (_FP_FROM_INT): Likewise.
14010 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14012         [BZ #16418]
14013         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
14014         Make code racy and cancel safe.
14016 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
14018         * sysdeps/arm/unwind-resume.h: Fix copyright year.
14019         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
14020         attribution.
14022         * pwd/tst-getpw.c: Rewrite.
14024         [BZ #17702]
14025         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
14026         (modules-names): Add moddummy1 and moddummy2.
14027         ($(objpfx)tst-rec-dlopen): Define.
14028         * dlfcn/moddummy1.c: New file.
14029         * dlfcn/moddummy2.c: New file.
14030         * dlfcn/tst-rec-dlopen.c: New file.
14031         * elf/dl-cache.c (_dl_load_cache_lookup):
14032         Return char*. Copy result with alloca/strcpy/strdup.
14033         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
14034         returns char*. Free cached. If not saving realname
14035         free cached.
14036         * elf/dl-open.c (dl_open_worker): Do not assert that
14037         _r_debug->r_state is RT_CONSISTENT.
14038         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
14039         returns char*.
14041 2015-01-21  Torvald Riegel  <triegel@redhat.com>
14042             Carlos O'Donell  <carlos@redhat.com>
14044         [BZ #12674]
14045         * nptl/sem_waitcommon.c: New file.
14046         * nptl/sem_wait.c: Include sem_waitcommon.c.
14047         (__sem_wait_cleanup, do_futex_wait): Remove.
14048         (__new_sem_wait): Adapt.
14049         (__new_sem_trywait): New function.
14050         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
14051         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
14052         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
14053         (sem_timedwait): Adapt.
14054         * nptl/sem_post.c (__new_sem_post): Adapt.
14055         (futex_wake): New function.
14056         (__old_sem_post): Add release MO fence.
14057         * nptl/sem_open.c (sem_open): Adapt.
14058         * nptl/sem_init.c (__new_sem_init): Adapt.
14059         (futex_private_if_supported): New function.
14060         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
14061         (__old_sem_getvalue): Add using previous code.
14062         * sysdeps/nptl/internaltypes.h: Adapt.
14063         * nptl/tst-sem13.c (do_test): Adapt.
14064         * nptl/tst-sem11.c (main): Adapt.
14065         * nptl/sem_trywait.c: Remove.
14066         * nptl/DESIGN-sem.txt: Remove.
14067         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
14068         (gen-as-const-headers): Remove structsem.sym.
14069         * nptl/structsem.sym: Remove.
14070         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
14071         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
14072         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
14073         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
14074         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
14075         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
14076         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
14077         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
14078         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
14079         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
14080         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
14081         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
14082         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
14083         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
14084         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
14085         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
14086         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
14087         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
14088         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
14089         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
14090         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
14091         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
14093 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
14095         * INSTALL: Regenerated.
14097         * po/libc.pot: Regenerated.
14099 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
14100             Sandra Loosemore  <sandra@codesourcery.com>
14101             Andrew Jenner  <andrew@codesourcery.com>
14102             Joseph Myers  <joseph@codesourcery.com>
14103             Nathan Sidwell  <nathan@codesourcery.com>
14105         * NEWS: Mention new Nios II port.
14106         * sysdeps/nios2/Implies: New file.
14107         * sysdeps/nios2/Makefile: New file.
14108         * sysdeps/nios2/Subdirs: New file.
14109         * sysdeps/nios2/Versions: New file.
14110         * sysdeps/nios2/__longjmp.S: New file.
14111         * sysdeps/nios2/abort-instr.h: New file.
14112         * sysdeps/nios2/backtrace.c: New file.
14113         * sysdeps/nios2/bits/endian.h: New file.
14114         * sysdeps/nios2/bits/fenv.h: New file.
14115         * sysdeps/nios2/bits/link.h: New file.
14116         * sysdeps/nios2/bits/setjmp.h: New file.
14117         * sysdeps/nios2/bsd-_setjmp.S: New file.
14118         * sysdeps/nios2/bsd-setjmp.S: New file.
14119         * sysdeps/nios2/configure: New generated file.
14120         * sysdeps/nios2/configure.ac: New file.
14121         * sysdeps/nios2/crti.S: New file.
14122         * sysdeps/nios2/crtn.S: New file.
14123         * sysdeps/nios2/dl-init.c: New file.
14124         * sysdeps/nios2/dl-machine.h: New file.
14125         * sysdeps/nios2/dl-sysdep.h: New file.
14126         * sysdeps/nios2/dl-tls.h: New file.
14127         * sysdeps/nios2/dl-trampoline.S: New file.
14128         * sysdeps/nios2/gccframe.h: New file.
14129         * sysdeps/nios2/gmp-mparam.h: New file.
14130         * sysdeps/nios2/jmpbuf-offsets.h: New file.
14131         * sysdeps/nios2/jmpbuf-unwind.h: New file.
14132         * sysdeps/nios2/ldsodefs.h: New file.
14133         * sysdeps/nios2/libc-tls.c: New file.
14134         * sysdeps/nios2/libm-test-ulps: New file.
14135         * sysdeps/nios2/machine-gmon.h: New file.
14136         * sysdeps/nios2/math-tests.h: New file.
14137         * sysdeps/nios2/math_private.h: New file.
14138         * sysdeps/nios2/memusage.h: New file.
14139         * sysdeps/nios2/nptl/Makefile: New file.
14140         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
14141         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
14142         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
14143         * sysdeps/nios2/nptl/pthreaddef.h: New file.
14144         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
14145         * sysdeps/nios2/nptl/tls.h: New file.
14146         * sysdeps/nios2/preconfigure: New file.
14147         * sysdeps/nios2/s_fma.c: New file.
14148         * sysdeps/nios2/s_fmaf.c: New file.
14149         * sysdeps/nios2/setjmp.S: New file.
14150         * sysdeps/nios2/sfp-machine.h: New file.
14151         * sysdeps/nios2/sotruss-lib.c: New file.
14152         * sysdeps/nios2/stackguard-macros.h: New file.
14153         * sysdeps/nios2/stackinfo.h: New file.
14154         * sysdeps/nios2/start.S: New file.
14155         * sysdeps/nios2/sysdep.h: New file.
14156         * sysdeps/nios2/tls-macros.h: New file.
14157         * sysdeps/nios2/tst-audit.h: New file.
14158         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
14159         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
14160         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
14161         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
14162         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
14163         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
14164         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
14165         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
14166         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
14167         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
14168         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
14169         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
14170         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
14171         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
14172         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
14173         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
14174         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
14175         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
14176         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
14177         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
14178         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
14179         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
14180         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
14181         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
14182         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
14183         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
14184         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
14185         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
14186         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
14187         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
14188         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
14189         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
14190         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
14191         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
14192         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
14193         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
14194         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
14195         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
14196         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
14197         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
14198         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
14199         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
14200         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
14201         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
14203 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14205         [BZ #17844]
14206         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
14207         (getutent): Use weak_alias in non SHARED case
14208         and default_symbol_version in SHARED case.
14209         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
14210         (getutent_r, pututline): Likewise.
14211         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
14212         (getutid): Likewise.
14213         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
14214         (getutid_r): Likewise.
14215         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
14216         (getutline): Likewise.
14217         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
14218         (getutline_r): Likewise.
14219         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
14220         (updwtmp): Likewise.
14222 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14224         [BZ #17848]
14225         * sysdeps/s390/s390-32/memcmp.S
14226         (memcmp_g5): Rename to __memcmp_g5.
14227         * sysdeps/s390/s390-32/memcpy.S
14228         (memcpy_g5): Rename to __memcpy_g5.
14229         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14230         (memcpy_mvcle) Rename to __memcpy_mvcle.
14231         * sysdeps/s390/s390-32/memset.S
14232         (memset_g5): Rename to __memset_g5.
14233         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14234         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14235         and use prefixed functions.
14236         * sysdeps/s390/s390-32/multiarch/memcmp.S
14237         (memcmp_z196): Rename to __memcmp_z196.
14238         (memcmp_z10): Rename to __memcmp_z10.
14239         (memcmp): Set alias to __memcmp_g5.
14240         (bcmp): Set alias to __memcmp_g5.
14241         * sysdeps/s390/s390-32/multiarch/memcpy.S
14242         (memcpy_z196): Rename to __memcpy_z196.
14243         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14244         (memcpy_z10): Rename to __memcpy_z10.
14245         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14246         (memcpy): Set alias to __memcpy_g5.
14247         * sysdeps/s390/s390-32/multiarch/memset.S
14248         (memset_z196): Rename to __memset_z196.
14249         Jump to __memset_mvcle instead of memset_mvcle.
14250         (memset_z10): Rename to __memset_z10.
14251         Jump to __memset_mvcle instead of memset_mvcle.
14252         (memset_mvcle) Rename to __memset_mvcle.
14253         (memset): Set alias to __memset_g5.
14254         * sysdeps/s390/s390-64/memcmp.S
14255         (memcmp_z900): Rename to __memcmp_z900.
14256         * sysdeps/s390/s390-64/memcpy.S
14257         (memcpy_z900): Rename to __memcpy_z900.
14258         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14259         (memcpy_mvcle) Rename to __memcpy_mvcle.
14260         * sysdeps/s390/s390-64/memset.S
14261         (memset_z900): Rename to __memset_z900.
14262         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
14263         (IFUNC_RESOLVE): Prefix ifunc-resolve function
14264         and use prefixed functions.
14265         * sysdeps/s390/s390-64/multiarch/memcmp.S
14266         (memcmp_z196): Rename to __memcmp_z196.
14267         (memcmp_z10): Rename to __memcmp_z10.
14268         (memcmp): Set alias to __memcmp_z900.
14269         (bcmp): Set alias to __memcmp_z900.
14270         * sysdeps/s390/s390-64/multiarch/memcpy.S
14271         (memcpy_z196): Rename to __memcpy_z196.
14272         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14273         (memcpy_z10): Rename to __memcpy_z10.
14274         Jump to __memcpy_mvcle instead of memcpy_mvcle.
14275         (memcpy): Set alias to __memcpy_z900.
14276         * sysdeps/s390/s390-64/multiarch/memset.S
14277         (memset_z196): Rename to __memset_z196.
14278         Jump to __memset_mvcle instead of memset_mvcle.
14279         (memset_z10): Rename to __memset_z10.
14280         Jump to __memset_mvcle instead of memset_mvcle.
14281         (memset_mvcle) Rename to __memset_mvcle.
14282         (memset): Set alias to __memset_z900.
14284 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
14286         [BZ #17748]
14287         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
14288         __fesetenv instead of fesetenv.
14290 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14292         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
14293         macro.
14295 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14297         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
14298         regression on LE.
14300         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
14301         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
14302         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14303         strncmp-power8 object.
14304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14305         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
14306         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
14307         * NEWS: Update.
14309 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14310             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14312         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
14313         trailing byte check.
14315 2015-01-13  David S. Miller  <davem@davemloft.net>
14317         * include/signal.h (__sigreturn): Guard with __USE_MISC.
14319 2015-01-13  Roland McGrath  <roland@hack.frob.com>
14321         * login/logout.c (logout): Use memset rather than bzero.
14322         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
14323         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
14324         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
14325         (_gethtbyaddr): Likewise.
14326         * locale/programs/simple-hash.c (bcopy): Macro removed.
14328 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14330         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14331         Add strcmp-power8 object.
14332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14333         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
14334         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
14335         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
14336         __strcmp_power8 implementation.
14337         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
14338         * NEWS: Update.
14340         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14341         Add strncpy-power8 and stpncpy-power8 objects.
14342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14343         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
14344         implementations.
14345         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
14346         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
14347         __stpncpy_power8 implementation.
14348         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
14349         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
14350         __strncpy_power8 implementation.
14351         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
14352         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
14353         * NEWS: Update.
14355         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
14356         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
14357         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
14359         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14360         strncat-power8 object.
14361         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
14362         __strcat_power8 implementation.
14363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14364         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
14365         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
14366         optimized strcat for power8.
14368         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
14369         strcpy-power8 and stpcpy-power8 objects.
14370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14371         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
14372         implementations.
14373         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
14374         multiarch stpcpy implementation for POWER8.
14375         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
14376         multiarch strcpy implementation for POWER8.
14377         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
14378         __strcpy_power8 function.
14379         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
14380         stpcpy for POWER8.
14381         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
14382         strcpy for POWER8.
14383         * NEWS: Update.
14385 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
14387         [BZ #16009]
14388         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
14389         weights and rules. Use do_xfrm_cached if data fits in cache,
14390         do_xfrm otherwise.  Moved former main loop to...
14391         * (do_xfrm_cached): New function.
14392         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
14393         find_idx, find_position and stack_push.
14394         * (find_idx): New function.
14395         * (find_position): Likewise.
14396         * localedata/sort-test.sh: Added test run for do_xfrm.
14397         * localedata/xfrm-test.c (main): Added command line option
14398         -nocache to run the test with strings that are too large for
14399         the STRXFRM cache.
14401 2015-01-13  Torvald Riegel  <triegel@redhat.com>
14403         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
14404         variable to lll_futex_wake call, not the value itself.
14406 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
14408         [BZ #17803]
14409         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
14410         twom64.  Adjust value to 0x1p-64L.
14411         (__scalblnl): Only return standard underflowing result for K <=
14412         -64 not K <= -63; adjust exponent for underflowing result by 64
14413         not 63.
14414         * math/libm-test.inc (scalbn_test_data): Add more tests.
14415         (scalbln_test_data): Likewise.
14417         [BZ #17834]
14418         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
14419         0x1p63L.
14420         (__scalblnl): Get new exponent of adjusted subnormal value from ES
14421         not HX.
14422         * math/libm-test.inc (scalbn_test_data): Add more tests.
14423         (scalbln_test_data): Likewise.
14425 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14426             Stefani Seibold  <stefani@seibold.net>
14428         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
14429         (sysdep_routines): Add dl-vdso here, ...
14430         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
14431         (sysdep_routines): ... not here.
14432         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
14433         fallback when vDSO is not presented.
14434         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
14435         Define with libc_hidden_proto/libc_hidden_data_def definitions.
14436         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
14437         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
14438         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
14439         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
14440         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
14441         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
14442         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
14443         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
14444         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
14445         fallback configurable symbol when vDSO is not available.
14446         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
14447         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
14448         be able to redefine fallback symbol when vDSO is not available.
14449         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
14450         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
14452 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14454         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
14455         (TLS_INIT_TP): Add tm_capable initialization.
14456         (TLS_DEFINE_INIT_TP): Likewise.
14457         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
14458         TCB.
14459         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
14460         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
14461         calculation.
14462         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
14463         transactoion is lock elision is built and TCB tm_capable is set.
14464         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
14465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14466         (INTERNAL_SYSCALL_NCS): Likewise.
14467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14468         (INTERNAL_SYSCALL_NCS): Likewise.
14469         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
14471         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
14472         for powerpc.
14473         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14474         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
14475         and remove it for 32 bits case.
14476         [pthread_rwlock_t] (__rwelision): New field for lock elision.
14477         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
14478         initialization.
14479         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
14480         Disable lock elision with rdlocks if elision is not available.
14482         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
14483         (sysdep_routines): Add lock elision objects.
14484         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14485         [pthread_mutex_t] (__spins): Rework to add lock elision field.
14486         [pthread_mutex_t] (__elision): Add field.
14487         [__PTHREAD_SPINS]: Adjust to init lock elision field.
14488         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
14489         elision definitions for powerpc.
14490         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
14491         implementation of lock elision for powerpc.
14492         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
14493         implementation of timed lock elision for powerpc.
14494         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
14495         implementation of trylock with lock elision for powerpc.
14496         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
14497         implementaion of unlock for lock elision for powerpc.
14498         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
14499         automatic enable lock elision for mutexes.
14500         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
14501         transaction execution definitions for powerpc.
14502         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
14503         definitions.
14504         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
14505         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
14506         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
14507         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
14508         * NEWS: Update.
14510 2015-01-09  Roland McGrath  <roland@hack.frob.com>
14512         * sysdeps/posix/shm-directory.c: Use <> rather than ""
14513         for #include of <shm-directory.h>.
14515 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
14517         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
14518         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
14520 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
14522         [BZ #17791]
14523         * NEWS: Mention bug fix.
14524         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
14525         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
14526         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
14528 2015-01-09  Torvald Riegel <triegel@redhat.com>
14530         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
14532 2015-01-09  Torvald Riegel <triegel@redhat.com>
14534         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
14536 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14538         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
14539         pointer and cast to uintptr_t.
14541 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14543         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
14544         removed.
14545         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
14547 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
14549         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
14550         of 0.
14552 2015-01-08  Roland McGrath  <roland@hack.frob.com>
14554         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
14555         <nptl/pthreadP.h> instead.
14556         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
14558         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
14559         already defined.
14560         [__SIGRTMIN] (init): Function removed.
14561         [__SIGRTMIN] (initialized): Variable removed.
14562         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
14563         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
14564         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
14565         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
14566         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
14567         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
14568         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
14569         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
14570         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
14571         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
14572         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
14573         * sysdeps/nptl/allocrtsig.c: New file.
14574         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
14575         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
14576         * sysdeps/generic/testrtsig.h: File removed.
14578         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
14579         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
14581         * nptl/nptl-init.c (pthread_functions): Conditionalize
14582         .ptr__nptl_setxid initialization on [SIGSETXID].
14584         * sysdeps/nptl/sys/procfs.h: New file.
14585         * nptl_db/Makefile (headers): Add it.
14586         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
14588         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
14589         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
14590         * nptl/pthread_attr_setaffinity.c: Include it.
14591         * nptl/pthread_setattr_default_np.c: Likewise.
14592         * nptl/check-cpuset.h: New file.
14594 2015-01-08  Richard Henderson  <rth@redhat.com>
14596         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
14597         (CFLAGS-tst-execstack-prog.c): Likewise.
14598         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
14600 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
14601             Sandra Loosemore  <sandra@codesourcery.com>
14602             Andrew Jenner  <andrew@codesourcery.com>
14603             Joseph Myers  <joseph@codesourcery.com>
14604             Nathan Sidwell  <nathan@codesourcery.com>
14606         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
14607         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
14608         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
14609         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
14610         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
14611         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
14612         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
14613         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
14614         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
14615         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
14616         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
14617         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
14618         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
14619         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
14620         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
14621         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
14622         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
14624 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14626         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
14627         timespec struct member in syscall macro.
14628         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14629         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
14630         first timeval struct member in syscall macro.
14631         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
14633 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
14635         [BZ #17748]
14636         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
14637         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
14638         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
14639         __feupdateenv and define as weak alias of __feupdateenv.  Use
14640         libm_hidden_weak.
14641         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
14642         libm_hidden_def.
14643         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
14644         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
14645         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
14646         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
14647         libm_hidden_def.
14648         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
14649         __feupdateenv and define as weak alias of __feupdateenv.  Use
14650         libm_hidden_weak.
14651         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
14652         libm_hidden_def.
14653         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
14654         __feupdateenv and define as weak alias of __feupdateenv.  Use
14655         libm_hidden_weak.
14656         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
14657         libm_hidden_def.
14658         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14659         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
14660         (__feupdateenv): Likewise.
14661         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
14662         __feupdateenv and define as weak alias of __feupdateenv.  Use
14663         libm_hidden_weak.
14664         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14665         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
14666         libm_hidden_def.
14667         * sysdeps/tile/math_private.h (__feupdateenv): New inline
14668         function.
14669         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
14670         libm_hidden_def.
14671         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
14672         __feupdateenv instead of feupdateenv.
14673         (default_libc_feupdateenv_test): Likewise.
14674         (libc_feresetround_ctx): Likewise.
14676 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14678         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
14679         prototype.
14681 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
14683         * posix/regcomp.c (parse_bracket_exp): Initialize type to
14684         COLL_SYM in a couple of places to avoid uninitialized variable
14685         wanings on tilegx gcc 4.8.2.
14687 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
14689         * sysdeps/aarch64/strcpy.S: New file.
14690         * sysdeps/aarch64/stpcpy.S: New file.
14691         * NEWS: Updated.
14693 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
14695         * sysdeps/aarch64/strrchr.S: New file.
14696         * NEWS: Updated.
14698 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
14700         [BZ #17658]
14701         * stdlib/setenv.c: Fix memory leak when setting large,
14702         duplicate string.
14704 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
14706         [BZ #17273]
14707         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
14708         and tabs from buffer before parsing fstab entry.
14709         * misc/tst-mntent.c (main): Add test for mount entry with
14710         trailing spaces and tabs.
14712 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
14714         [BZ #17748]
14715         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
14716         * math/fesetround.c (fesetround): Rename to __fesetround and
14717         define as weak alias of __fesetround.  Use libm_hidden_weak.
14718         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
14719         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
14720         * sysdeps/arm/fesetround.c (fesetround): Likewise.
14721         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
14722         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
14723         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
14724         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
14725         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
14726         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
14727         __fesetround_inline.
14728         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
14729         __fesetround_inline instead of __fesetround.
14730         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
14731         __fesetround and define as weak alias of __fesetround.  Use
14732         libm_hidden_weak.  Call __fesetround_inline instead of
14733         __fesetround.
14734         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
14735         __fesetround and define as weak alias of __fesetround.  Use
14736         libm_hidden_weak.
14737         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
14738         Likewise.
14739         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
14740         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
14741         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
14742         * sysdeps/tile/math_private.h (__fesetround): New inline function.
14743         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
14744         __fesetround and define as weak alias of __fesetround.  Use
14745         libm_hidden_weak.
14746         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
14747         __fesetround instead of fesetround.
14748         (default_libc_feholdexcept_setround): Likewise.
14749         (libc_feholdsetround_ctx): Likewise.
14750         (libc_feholdsetround_noex_ctx): Likewise.
14752         [BZ #17748]
14753         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
14754         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
14755         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
14756         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
14757         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14758         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
14759         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14760         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14761         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14762         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14763         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14764         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14765         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14766         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14767         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
14768         libm_hidden_def.
14769         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
14770         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
14771         Likewise.
14772         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
14773         define as weak alias of __fesetenv.  Use libm_hidden_weak.
14774         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
14775         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
14776         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
14777         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
14778         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
14779         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
14780         __fesetenv instead of fesetenv.
14781         (libc_feresetround_noex_ctx): Likewise.
14782         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
14783         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
14784         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
14785         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
14786         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
14787         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
14788         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14789         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
14790         (__feupdateenv): Likewise.
14791         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14792         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14793         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14794         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
14796 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
14798         [BZ #17806]
14799         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
14800         addresses have been freed.
14802 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
14804         * resolv/res_init.c (__res_vinit): Improve comments about nserv
14805         and nservall.
14807 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
14809         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
14810         Clean up check_pf allocation pattern. addresses
14812 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14814         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
14815         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
14816         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
14817         * nptl/pthread_exit.c (__pthread_exit): Likewise.
14818         * nptl/pthread_join.c (pthread_join): Likewise.
14819         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
14820         * sysdeps/posix/waitid.c (__waitid): Likewise.
14821         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
14822         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
14823         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
14824         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
14825         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
14826         Likewise.
14827         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
14828         (__libc_pread64): Likewise.
14829         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
14830         (__libc_pwrite): Likewise.
14831         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
14832         (__libc_pwrite64): Likewsie.
14833         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
14834         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
14835         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
14836         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
14837         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
14838         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
14839         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
14841         Likewise.
14842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14843         (__libc_pread64): Likewise.
14844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
14845         Likewise.
14846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14847         (__libc_pwrite64): Likewise.
14848         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
14849         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
14850         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
14851         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14852         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14853         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14854         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
14855         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
14856         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
14857         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
14858         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
14859         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
14860         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
14861         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
14862         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
14863         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
14864         Likewise.
14866 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
14868         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
14869         (CFLAGS-test-double.c): Likewise.
14870         (CFLAGS-test-ldouble.c): Likewise.
14871         (CPPFLAGS-test-ifloat.c): Likewise.
14872         (CPPFLAGS-test-idouble.c): Likewise.
14873         (CPPFLAGS-test-ildoubl.c): Likewise.
14874         (CFLAGS-test-test-fenv.c): Remove variable.
14875         (CFLAGS-test-misc.c): Likewise.
14877 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
14879         [BZ #17797]
14880         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
14881         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
14882         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
14883         CLOCKS_PER_SEC == 1000000.
14884         * time/clocktest.c (main): Replace %ld with %jd and cast to
14885         intmax_t.
14887 2015-01-05  Roland McGrath  <roland@hack.frob.com>
14889         * sysdeps/generic/unwind-resume.h: New file.
14890         * sysdeps/gnu/unwind-resume.c: Include it.
14891         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
14892         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
14893         argument list.
14894         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
14895         global rather than static.
14896         (_Unwind_Resume): Update user.
14897         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
14898         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
14899         rather than static.  Add __attribute__ ((cold)).
14900         (_Unwind_Resume, __gcc_personality_v0): Update callers.
14901         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
14902         * sysdeps/arm/arm-unwind-resume.S: New file.
14903         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
14904         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
14905         * sysdeps/arm/Makefile [$(subdir) = csu]
14906         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
14907         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14908         Add rt-arm-unwind-resume.
14909         [$(subdir) = nptl]
14910         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14911         Add pt-arm-unwind-resume.
14912         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
14913         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
14915 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14917         [BZ #17748]
14918         * include/fenv.h (__feholdexcept): Declare.  Use
14919         libm_hidden_proto.
14920         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
14921         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
14922         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14923         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
14924         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
14925         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
14926         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
14927         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14928         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
14929         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
14930         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14931         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
14932         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
14933         (feholdexcept): Likewise.
14934         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14935         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
14936         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14937         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
14938         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
14939         __feholdexcept instead of feholdexcept.
14940         (default_libc_feholdexcept_setround): Likewise.
14942 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14944         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
14945         to avoid using stl/str to align destination.
14947 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14949         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
14951 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14953         [BZ #17796]
14954         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
14955         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
14956         Define as weak alias not strong alias.
14958 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
14960         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
14961         bltzal with addiupc.
14962         (RTLD_START): Ditto.
14964 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
14966         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
14967         for __vdso_* functions in declarations.
14968         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
14969         definitions.
14970         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
14971         INTERNAL_VSYSCALL): Use struct return types to check for error.
14973         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
14974         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
14975         function with cast from llround().
14976         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
14977         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14978         Define.
14980 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
14982         [BZ #17793]
14983         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
14984         Define as weak alias not strong alias.
14986         [BZ #17635]
14987         * ctype/ctype-c99.c: New file.  isblank implementation moved from
14988         ...
14989         * ctype/ctype-extn.c: ... here.
14990         (__isblank_l): Move to ...
14991         * ctype/ctype-c99_l.c: ... here.  New file.
14992         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
14993         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
14994         Remove variable.
14995         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14996         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14997         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14998         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14999         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
15001         [BZ #17777]
15002         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
15003         (posix_fadvise64): Define as weak alias not strong alias.
15004         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15005         (posix_fallocate64): Likewise.
15006         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
15007         Remove variable.
15008         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
15009         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
15010         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
15011         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
15012         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
15014 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
15016         [BZ #16191]
15017         * NEWS: Mention bug fix.
15018         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
15019         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
15020         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
15021         (HOST_STACK_END_ADDR): Likewise.
15023 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15025         [BZ #17748]
15026         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
15027         * math/fegetround.c (fegetround): Rename to __fegetround and
15028         define as weak alias of __fegetround.  Use libm_hidden_weak.
15029         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
15030         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
15031         * sysdeps/arm/fegetround.c (fegetround): Likewise.
15032         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
15033         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
15034         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
15035         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
15036         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
15037         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
15038         Undefine after rather than before function definition; use
15039         parentheses around function name in definition.
15040         (__fegetround): Also undefine macro after function definition.
15041         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
15042         __fegetround and define as weak alias of __fegetround.  Use
15043         libm_hidden_weak.  Do not undefine as macro.
15044         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
15045         Likewise.
15046         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
15047         __fegetround and define as weak alias of __fegetround.  Use
15048         libm_hidden_weak.
15049         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15050         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
15051         * sysdeps/tile/math_private.h (__fegetround): New inline function.
15052         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
15053         __fegetround and define as weak alias of __fegetround.  Use
15054         libm_hidden_weak.
15055         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
15056         __fegetround instead of fegetround.
15058         [BZ #17782]
15059         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
15060         Condition macro definition on [__USE_MISC].
15062         [BZ #17781]
15063         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
15064         (struct sigaction): Change type of sa_flags field to int.
15066         [BZ #17780]
15067         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
15068         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
15069         __glibc_reserved0.
15071         * nptl/version.c (banner): Use single year in copyright notice.
15073         * NEWS: Update copyright dates.
15074         * catgets/gencat.c (print_version): Likewise.
15075         * csu/version.c (banner): Likewise.
15076         * debug/catchsegv.sh: Likewise.
15077         * debug/pcprofiledump.c (print_version): Likewise.
15078         * debug/xtrace.sh (do_version): Likewise.
15079         * elf/ldconfig.c (print_version): Likewise.
15080         * elf/ldd.bash.in: Likewise.
15081         * elf/pldd.c (print_version): Likewise.
15082         * elf/sotruss.sh: Likewise.
15083         * elf/sprof.c (print_version): Likewise.
15084         * iconv/iconv_prog.c (print_version): Likewise.
15085         * iconv/iconvconfig.c (print_version): Likewise.
15086         * locale/programs/locale.c (print_version): Likewise.
15087         * locale/programs/localedef.c (print_version): Likewise.
15088         * login/programs/pt_chown.c (print_version): Likewise.
15089         * malloc/memusage.sh (do_version): Likewise.
15090         * malloc/memusagestat.c (print_version): Likewise.
15091         * malloc/mtrace.pl: Likewise.
15092         * manual/libc.texinfo: Likewise.
15093         * nptl/version.c (banner): Likewise.
15094         * nscd/nscd.c (print_version): Likewise.
15095         * nss/getent.c (print_version): Likewise.
15096         * nss/makedb.c (print_version): Likewise.
15097         * posix/getconf.c (main): Likewise.
15098         * scripts/test-installation.pl: Likewise.
15099         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15101 2015-01-02  Will Newton  <will.newton@linaro.org>
15103         * sysdeps/arm/armv7/configure: Removed.
15104         * sysdeps/arm/armv7/configure.ac: Likewise.
15106 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
15108         * All files with FSF copyright notices: Update copyright dates
15109         using scripts/update-copyrights.
15110         * intl/plural.c: Regenerated.
15111         * locale/programs/charmap-kw.h: Likewise.
15112         * locale/programs/locfile-kw.h: Likewise.
15114 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15116         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
15118 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15120         [BZ #17748]
15121         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
15122         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
15123         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15124         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15125         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15126         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
15127         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15128         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
15129         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15130         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15131         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15132         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15133         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15134         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15135         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
15136         libm_hidden_def.
15137         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
15138         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
15139         Likewise.
15140         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
15141         define as weak alias of __fegetenv.  Use libm_hidden_weak.
15142         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15143         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
15144         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
15145         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
15146         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
15147         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
15148         __fegetenv instead of fegetenv.
15149         (libc_feholdsetround_noex_ctx): Likewise.
15151 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
15153         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
15154         (Elf_MIPS_ABIFlags_v0): New structure.
15155         (EF_MIPS_FP64): Define.
15156         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
15157         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
15158         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
15159         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
15160         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
15161         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
15162         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
15163         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
15164         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
15165         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
15166         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
15167         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
15168         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
15169         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
15170         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
15171         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
15172         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
15173         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
15174         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
15175         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
15176         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
15177         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
15178         field.
15179         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
15180         EF_MIPS_FP64.
15181         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
15182         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
15183         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
15184         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
15185         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
15186         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
15187         * sysdeps/mips/tst-abi-interlink.c: Likewise.
15188         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
15189         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
15190         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
15191         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
15192         record the current FP ABI extension.
15193         (mips-mode-switch): Define to show if kernel headers support mode
15194         switching.
15195         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15196         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
15197         supported SYSV ABI version to 3.
15198         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
15199         feature.
15201 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15202             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15204         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
15205         path.
15206         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
15208 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
15210         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
15211         __fegetround and redefine to call __fegetround.  Remove condition
15212         on [!__NO_MATH_INLINES].
15213         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
15214         function.
15215         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
15216         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
15217         Remove macro.
15218         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
15219         instead of <fenv_libc.h>.
15220         (__llrintl): Call fegetround instead of __fegetround.
15221         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
15222         instead of <fenv_libc.h>.
15223         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
15224         (__lrintl): Call fegetround instead of __fegetround.
15225         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
15226         instead of <fenv_libc.h>.
15227         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
15228         (__rintl): Call fegetround instead of __fegetround.
15230 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15232         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
15233         arrays.
15235 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15237         [BZ #17775]
15238         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
15239         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
15240         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
15242 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15244         * sysdeps/i386/tls-macros.h: Include <features.h>.
15245         (TLS_LE): Use non-PIC version for GCC >= 5.0.
15246         (TLS_IE): Likewise.
15247         (TLS_LD): Likewise.
15248         (TLS_GD): Likewise.
15249         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
15250         define for GCC >= 5.0.
15252 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
15254         * math/test-fenv.c (test_single_exception, set_single_exc,
15255         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
15256         feexcp_mask_test, feenable_test, fe_single_test): Add
15257         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
15258         case where they are not used.
15259         * math/libm-test.inc: Likewise.
15260         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
15261         unused in the absence of FP rounding/exception support.
15262         * stdio-common/tst-printf-round.c: Likewise.
15263         * stdlib/tst-strtod-round.c: Likewise.
15264         * stdlib/tst-strtod-underflow.c: Likewise.
15266 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
15268         [BZ #17723]
15269         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
15270         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
15271         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15272         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15273         libm_hidden_weak.
15274         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
15275         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15276         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
15277         libm_hidden_def.
15278         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15279         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15280         libm_hidden_weak.
15281         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
15282         Likewise.
15283         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
15284         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15285         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15286         libm_hidden_weak.
15287         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15288         libm_hidden_def.
15289         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
15290         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
15291         (__feraiseexcept): Likewise.
15292         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
15293         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15294         libm_hidden_weak.
15295         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
15296         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
15297         libm_hidden_def.
15298         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
15299         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
15300         Use libm_hidden_def.
15301         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
15302         libm_hidden_def.
15303         (feraiseexcept): Define as weak not strong alias.  Use
15304         libm_hidden_weak.
15305         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
15306         New inline function.  Factored out of ...
15307         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
15308         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
15309         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
15310         feraiseexcept.
15311         * math/w_acos.c (__acos): Likewise.
15312         * math/w_asin.c (__asin): Likewise.
15313         * math/w_ilogb.c (__ilogb): Likewise.
15314         * math/w_j0.c (y0): Likewise.
15315         * math/w_j1.c (y1): Likewise.
15316         * math/w_jn.c (yn): Likewise.
15317         * math/w_log.c (__log): Likewise.
15318         * math/w_log10.c (__log10): Likewise.
15319         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
15320         * sysdeps/aarch64/fpu/math_private.h
15321         (libc_feupdateenv_test_aarch64): Likewise.
15322         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
15323         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
15324         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
15325         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
15326         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
15327         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
15328         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
15329         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15330         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15331         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
15333 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
15335         [BZ #17732]
15336         * io/test-utime.c (main): Replace %ld with %jd and cast to
15337         intmax_t.
15338         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
15339         * nptl/tst-mutex5.c: Include <stdint.h>.
15340         (do_test): Replace %ld with %jd and cast to intmax_t.
15341         * posix/tst-regex.c (run_test): Likewise.
15342         (run_test_backwards): Likewise.
15343         * rt/tst-clock.c: Include <stdint.h>.
15344         (clock_test): Replace %ld with %jd and cast to intmax_t.
15345         * rt/tst-cpuclock1.c: Include <stdint.h>.
15346         (do_test): Replace %lu with %ju and cast to uintmax_t.
15347         * rt/tst-cpuclock2.c: Include <stdint.h>.
15348         (do_test): Replace %lu with %ju and cast to uintmax_t.
15349         * rt/tst-mqueue1.c: Include <stdint.h>.
15350         (check_attrs): Replace %ld with %jd and cast to intmax_t.
15351         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
15352         intmax_t.
15353         * rt/tst-mqueue4.c (do_test): Likewise.
15354         * rt/tst-timer4.c: Include <stdint.h>.
15355         (check_ts): Replace %ld with %jd and cast to intmax_t.
15356         (do_test): Likewise.
15357         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
15358         and cast to intmax_t.
15359         * sysdeps/pthread/tst-timer.c (main): Likewise.
15360         * time/clocktest.c (main): Likewise.
15361         * time/tst-posixtz.c (do_test): Likewise.
15362         * timezone/tst-timezone.c (main): Likewise.
15364 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
15365             H.J. Lu  <hongjiu.lu@intel.com>
15367         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
15368         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
15369         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
15370         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
15371         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
15372         version if bit_Fast_Unaligned_Load is set.
15373         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15374         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15375         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15376         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15377         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15378         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15379         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15380         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
15381         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
15382         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
15383         to 4.
15384         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
15385         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
15386         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
15387         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
15389 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
15391         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
15392         instead of #if to avoid a Wundef warning.
15393         * stdlib/tst-limits.c (do_test): Likewise.
15395         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
15396         parallel other exception macros.
15397         (fegetenv): Convert from macro to extern inline so that it applies
15398         retroactively to inline functions already seen by the compiler.
15399         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
15401         * posix/Makefile (before-compile): Use $(objpfx) for
15402         posix-conf-vars-def.h.
15404 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15406         * posix/getconf.c (main): Use size_t for type of I.
15407         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
15408         NSPEC.
15410         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
15411         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
15412         * posix/posix-envs.def: Likewise.
15413         * sysdeps/posix/sysconf.c: Likewise.
15414         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
15415         (specs): Remove array.
15416         * scripts/gen-posix-conf-vars.awk: Support generation of specs
15417         array.
15419         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
15420         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
15421         (__sysconf): Use CONF_IS_* macros.
15423         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
15424         ($(objpfx)posix-conf-vars-def.h): New target.
15425         * posix/posix-conf-vars.list: New file.
15426         * posix/posix-conf-vars.h: New file.
15427         * posix/confstr.c: Include posix-conf-vars.h.
15428         (confstr): Use CONF_IS_* macros.
15429         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
15430         CONF_IS_* macros.
15431         * scripts/gen-posix-conf-vars.awk: New file.
15433 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
15435         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
15436         fegetround): Add no-op macros to avoid linknamespace issues.
15438         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
15439         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
15441         * sysdeps/unix/sysv/linux/tile/sysdep.h
15442         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
15443         assembly-specific section to avoid a redefinition warning.
15445         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
15446         long before casting to pointer to avoid a cast warning.
15448 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
15450         * sysdeps/tile/tilegx/Implies: New file.
15452 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
15454         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
15456 2014-12-23  Florian Weimer  <fweimer@redhat.com>
15458         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
15460 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15462         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
15463         not define.
15464         * sysdeps/unix/sysv/linux/utimes.c: Do not include
15465         <kernel-features.h>.
15466         (__utimes) [__NR_utimes]: Make code unconditional.
15467         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
15468         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15469         (__ASSUME_UTIMES): Do not undefine.
15470         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15471         (__ASSUME_UTIMES): Likewise.
15472         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15473         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
15474         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
15475         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
15477 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15479         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
15481 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
15483         [BZ #17747]
15484         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
15485         alias to weak alias for j0l, y0l.
15486         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
15487         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
15489         [BZ #17746]
15490         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
15491         conversion.
15493 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
15495         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
15496         to zero if not already defined.
15498 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15500         [BZ #17724]
15501         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
15502         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
15503         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
15504         (char *) casts added.
15505         * sysdeps/ieee754/k_standardf.c: New file.
15506         * sysdeps/ieee754/k_standardl.c: Likewise.
15507         * math/Makefile (libm-support): Remove k_standard.
15508         (libm-calls): Add k_standard.
15510 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15512         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15513         Optimize to avoid an unnecessary FPCR read.
15515 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15517         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15518         Optimize to reduce FPCR/FPSR accesses.
15520 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15522         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
15523         Call libc_fetestexcept_aarch64.
15525 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
15527         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
15528         Call libc_fesetround_aarch64.
15530 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
15532         [BZ #17733]
15533         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
15534         (__bind): Do not define as weak alias.
15535         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
15536         define.
15537         (__getsockname): Do not define as weak alias.
15539 2014-12-22  Will Newton  <will.newton@linaro.org>
15541         * manual/install.texi: Document that we require bison 2.7
15542         or above.
15543         * INSTALL: Regenerate.
15544         * configure.ac: Use AC_CHECK_PROG_VER instead of
15545         AC_PATH_PROG when checking for bison and check for
15546         version 2.7 or above.
15547         * configure: Regenerate.
15549 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
15551         [BZ #17745]
15552         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
15553         * sysdeps/tile/ffsll.c (ffsll): To here.
15555         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
15557 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
15559         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
15560         if not defined.
15561         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
15562         definition.
15563         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
15564         hidden ___tls_get_addr.
15565         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
15566         hidden __tls_get_addr.
15567         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
15568         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
15569         Likewise.
15571 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
15573         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
15574         _dl_init call.
15576 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
15578         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
15579         from "call _dl_init@PLT".
15580         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
15582 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
15584         * manual/search.texi: (Array Sort Function): Clarify stable sorting
15585         guarantees.
15587 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
15589         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
15591 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
15593         [BZ #17744]
15594         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
15595         strnlen.
15597 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
15599         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
15600         of multu on MIPSr6.
15601         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
15602         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
15603         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
15604         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
15605         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
15607 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
15609         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
15610         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
15611         (PTR_SUBU): Use subu for mips32r6/mips64r6.
15612         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
15613         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
15614         mips32r6/mips64r6.
15615         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
15617 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
15619         * string/strncat.c (STRNCAT): Simplify implementation.
15621 2014-12-19  David S. Miller  <davem@davemloft.net>
15623         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
15624         access the quad as both a long double and as a series of 4 words.
15626         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
15627         link_map->l_info array access.
15629 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
15631         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
15633         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
15634         * math/atest-exp2.c (TIMEOUT): Likewise.
15635         * math/atest-sincos.c (TIMEOUT): Likewise.
15637 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15639         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
15640         -Wno-error with -fno-builtin-lround.
15642 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15644         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
15645         Contains futex constants and functions moved over from ...
15646         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
15647         <lowlevellock-futex.h>.
15648         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
15649         (lll_timedwait_tid): Add comments and parentheses around macro
15650         arguments.
15652 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15654         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
15655         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
15656         (__lll_private_flag): Remove.
15657         (lll_futex_wait): Likewise.
15658         (lll_futex_timed_wait): Likewise.
15659         (lll_futex_wake): Likewise.
15660         (lll_futex_requeue): Likewise.
15661         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
15662         (__lll_timedwait_tid): Spell out argument names.
15663         (lll_timedwait_tid): Add comments and parentheses around macro
15664         arguments.
15665         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
15666         LLL_SHARED and LLL_PRIVATE usable from assembly code.
15668 2014-12-19  Torvald Riegel  <triegel@redhat.com>
15670         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
15671         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
15672         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
15673         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
15674         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
15675         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
15676         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
15677         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
15678         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
15679         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
15680         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
15681         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
15682         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
15683         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
15684         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
15685         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
15686         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
15687         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
15688         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
15690 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15692         * sysdeps/x86_64/x32/Makefile: New file.
15694 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
15696         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
15697         1L with (mp_limb_t) 1.
15699 2014-12-17  Roland McGrath  <roland@hack.frob.com>
15701         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
15702         * nptl/libc_pthread_init.c: ... here.
15703         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
15704         * nptl/register-atfork.c: ... here.
15706         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
15707         Use pthread_sigmask rather than INTERNAL_SYSCALL.
15708         Use assert_perror to check its return value.
15709         (__gai_create_helper_thread): Likewise.
15711         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
15713         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
15715 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
15717         [BZ #17725]
15718         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
15719         __profil_counter.
15720         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
15721         Likewise.
15722         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
15723         Likewise.
15724         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
15725         Likewise.
15726         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
15727         (profil_counter): Likewise.
15728         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
15729         (profil_counter): Likewise.
15730         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
15731         Likewise.
15732         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
15733         Likewise.
15734         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
15735         (profil_counter): Likewise.
15736         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
15737         Likewise.
15738         [!__profil_counter] (profil_counter): Define as weak alias of
15739         __profil_counter.
15740         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
15741         (profil_counter): Rename to __profil_counter.
15742         [!__profil_counter] (profil_counter): Define as weak alias of
15743         __profil_counter.
15744         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
15745         (profil_counter): Rename to __profil_counter.
15746         [!__profil_counter] (profil_counter): Define as weak alias of
15747         __profil_counter.
15748         * sysdeps/posix/profil.c: Update comment referring to
15749         profil_counter.
15750         (__profil): Use __profil_counter instead of profil_counter.
15751         * sysdeps/posix/sprofil.c (profil_counter): Rename to
15752         __profil_counter.  Use __profil_counter_ushort and
15753         __profil_counter_uint in definitions.
15754         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
15755         instead of profil_counter_uint and profil_counter_ushort.
15757         [BZ #17722]
15758         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
15759         define as weak alias of __inet_makeaddr.
15760         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
15761         as weak alias of __inet_addr.
15762         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
15763         as weak alias of __inet_pton.  Use libc_hidden_weak.
15764         * include/arpa/inet.h (__inet_pton): Declare.  Use
15765         libc_hidden_proto.
15766         (inet_makeaddr): Don't use libc_hidden_proto.
15767         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
15768         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
15769         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
15770         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
15771         Remove variable.
15772         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
15773         (test-xfail-POSIX/time.h/linknamespace): Likewise.
15775 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
15777         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
15779 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15781         * stdio-common/bug-vfprintf-nargs.c (do_test):
15782         Cast value to intptr_t to avoid format warning
15783         for usage with PRIdPTR printing macro.
15785 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15787         * libio/tst-widetext.c (do_test):
15788         Use format type %td instead of %Zd for ptrdiff_t
15789         in order to avoid format warning.
15791 2014-12-17  Andreas Schwab  <schwab@suse.de>
15793         * nscd/mem.c (gc): Add size_t cast to match printf format.
15795 2014-12-16  Roland McGrath  <roland@hack.frob.com>
15797         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
15798         (init): Apply PTR_MANGLE to pointers before storing them.
15799         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
15800         before using them.
15802 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
15804         [BZ #17719]
15805         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
15806         define as weak alias of __memrchr.
15807         (__memrchr): Do not define as strong alias of memrchr.
15808         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
15809         Remove variable.
15810         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
15811         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
15812         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
15814         [BZ #17717]
15815         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
15816         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
15817         (if_indextoname): Rename to __if_indextoname and define as weak
15818         alias of __if_indextoname.  Use libc_hidden_weak.
15819         (if_freenameindex): Rename to __if_freenameindex and define as
15820         weak alias of __if_freenameindex.
15821         (if_nameindex): Rename to __if_nameindex and define as weak alias
15822         of __if_nameindex.
15823         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
15824         __if_nametoindex and define as weak alias of __if_nametoindex.
15825         Use libc_hidden_weak.
15826         (if_freenameindex): Rename to __if_freenameindex and define as
15827         weak alias of __if_freenameindex.
15828         (if_nameindex): Rename to __if_nameindex and define as weak alias
15829         of __if_nameindex.
15830         (if_indextoname): Rename to __if_indextoname and define as weak
15831         alias of __if_indextoname.  Use libc_hidden_weak.
15832         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
15833         __if_nametoindex and define as weak alias of __if_nametoindex.
15834         Use libc_hidden_weak.
15835         (if_freenameindex): Rename to __if_freenameindex and define as
15836         weak alias of __if_freenameindex.  Use libc_hidden_weak.
15837         (if_nameindex_netlink): Use __if_freenameindex instead of
15838         if_freenameindex.
15839         (if_nameindex): Rename to __if_nameindex and define as weak alias
15840         of __if_nameindex.  Use libc_hidden_weak.
15841         (if_indextoname): Rename to __if_indextoname and define as weak
15842         alias of __if_indextoname.  Use libc_hidden_weak.
15843         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
15844         libc_hidden_proto.
15845         [!_ISOMAC] (__if_freenameindex): Likewise.
15846         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
15847         if_nametoindex.
15848         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
15849         variable.
15850         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
15851         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
15852         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
15853         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
15854         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
15855         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
15856         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
15858         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
15859         Remove variable.
15860         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
15861         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
15863 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15865         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
15866         subscript above bounds'
15868         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
15869         bounds.
15871 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
15873         * libio/tst-fopenloc.c: Use test-skeleton.c.
15875         * stdlib/tst-bsearch.c: Use test-skeleton.c.
15876         (entry): Rename to ITEM.
15877         (do_test, comp): Adjust.
15879         * stdio-common/tst-fseek.c: Use test-skeleton.c.
15881 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15883         * string/tester.c: Include <libc-internal.h>.
15884         (test_memset): Ignore -Wmemset-transposed-args.
15886 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15888         * misc/tst-mntent2.c (do_test): Fix warning.
15890 2014-12-16  Torvald Riegel  <triegel@redhat.com>
15892         * elf/tst-unique4lib.cc(a): Mark as used.
15894 2014-12-16  Florian Weimer  <fweimer@redhat.com>
15896         [BZ #17630]
15897         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
15898         names.
15900 2014-12-16  Allan McRae  <allan@archlinux.org>
15902         * stdio-common/Makefile (tests): Re-add bug26.
15904 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
15906         [BZ #17657]
15907         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
15908         static array.
15910 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
15912         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
15913         (__lll_lock_wait): Likewise.
15914         (__lll_timedlock_wait): Likewise.
15915         (__lll_timedwait_tid): Likewise.
15916         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
15917         (__lll_robust_timedlock_wait): Likewise.
15918         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
15919         (lll_cond_trylock): Likewise.
15920         (__lll_lock): Likewise.
15921         (__lll_robust_lock): Likewise.
15922         (__lll_cond_lock): Likewise.
15923         (lll_robust_cond_lock): Likewise.
15924         (__lll_timedlock): Likewise.
15925         (__lll_robust_timedlock): Likewise.
15926         (__lll_unlock): Likewise.
15927         (__lll_robust_unlock): Likewise.
15928         (lll_wait_tid): Likewise.
15929         (lll_timedwait_tid): Likewise.
15931 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15933         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
15935 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15937         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
15939 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
15941         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
15942         * stdio-common/tst-sprintf.c: Likewise.
15944 2014-12-15  Torvald Riegel  <triegel@redhat.com>
15946         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
15948 2014-12-15  Jeff Law  <law@redhat.com>
15950         [BZ #16617]
15951         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
15952         on the heap.  (CVE-2012-3406)
15953         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
15954         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
15955         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
15957 2014-12-15  Will Newton  <will.newton@linaro.org>
15959         * manual/install.texi: Bump required version of texinfo
15960         to 4.7 from 4.5.
15961         * INSTALL: Regenerated.
15962         * configure.ac: Check for makeinfo version 4.7 and above.
15963         * configure: Regenerated.
15965 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15967         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
15968         PREFIX, string constant to insert between directory and name.
15969         * sysdeps/posix/shm_open.c: Update caller.
15970         * sysdeps/posix/shm_unlink.c: Likewise.
15971         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
15972         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
15973         (SEM_SHM_PREFIX): New macro.
15974         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
15975         [$(have-thread-library) = no].
15976         * nptl/Makefile (libpthread-routines): Add shm-directory.
15977         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
15978         * sysdeps/nptl/shm-directory.h: New file.
15979         * sysdeps/posix/shm-directory.c
15980         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
15981         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15982         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
15983         INTERNAL_SYSCALL.
15984         (__where_is_shmfs): Function removed.
15985         (mountpoint, defaultmount, defaultdir, __namedsem_once):
15986         Variables removed.
15987         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
15988         Use SHM_GET_NAME.
15989         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
15991         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
15992         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
15993         unconditional for use inside libpthread.
15994         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
15996 2014-12-12  Roland McGrath  <roland@hack.frob.com>
15998         * nptl/pthread_getaffinity.c: New file.
15999         * nptl/pthread_setaffinity.c: New file.
16000         * nptl/pthread_getname.c: New file.
16001         * nptl/pthread_setname.c: New file.
16003         * nptl/pthread_create.c (START_THREAD_DEFN)
16004         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
16006 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16007             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16009         * resolv/res_send.c (send_vc): Disable warning resplen may
16010         be used uninitialized.
16012 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16014         * nptl/tst-mutex6.c
16015         (ATTR_NULL): New define checks ATTR against NULL.
16016         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
16017         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
16019 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
16021         [BZ #17581]
16022         * malloc/hooks.c
16023         (mem2mem_check): Revert my previous change.
16024         (malloc_check_get_size): Revert my previous change.
16025         (mem2chunk_check): Revert my previous change.
16027 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16029         * sysdeps/posix/shm-directory.c: New file.
16030         * sysdeps/posix/shm-directory.h: New file.
16031         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
16032         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
16033         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
16034         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
16035         Transmute EPERM to EACCES.
16036         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
16037         from ...
16038         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
16039         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
16041 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16043         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
16044         pointer and cast to uintptr_t.
16045         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
16046         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
16047         Add cast to avoid warning.
16048         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
16050 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16052         * nptl/semaphore.h: Move to ...
16053         * sysdeps/pthread/semaphore.h: ... here.
16054         * Makefile (installed-headers): Change nptl/semaphore.h to
16055         sysdeps/pthread/semaphore.h.
16057 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16059         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
16060         generated error format strings.
16062         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
16063         -Wformat-extra-args warnings for scanf formats.
16064         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
16065         test of zero-length format (duh).
16066         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
16067         corner-case scanf format test.
16068         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
16069         generated fprintf format string.
16070         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
16071         corner-case sprintf format tests.
16072         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
16073         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
16074         -Wformat-extra-args warnings throughout.
16075         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
16076         (CFLAGS-scanf4.c): Likewise.
16077         (CFLAGS-scanf7.c): Likewise.
16078         (CFLAGS-tst-sprintf.c): Likewise.
16079         (CFLAGS-tst-printf.c): Likewise.
16080         (CFLAGS-tst-printfsz.c): Likewise.
16082 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
16084         * include/cpio.h: New file.
16085         * include/fmtmsg.h: Likewise.
16087         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
16088         corresponding format argument to size_t.
16089         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
16090         arguments.
16091         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
16092         corresponding format argument to size_t.
16093         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
16094         arguments.
16095         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
16096         corresponding format argument to size_t.
16097         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
16098         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
16099         (CFLAGS-tst-mbswcs2.c): Likewise.
16100         (CFLAGS-tst-mbswcs3.c): Likewise.
16101         (CFLAGS-tst-mbswcs4.c): Likewise.
16102         (CFLAGS-tst-mbswcs5.c): Likewise.
16103         (CFLAGS-tst-trans.c): Likewise
16105 2014-12-11  Roland McGrath  <roland@hack.frob.com>
16107         * posix/regexbug1.c (main): Use "%s" format with regerror results,
16108         rather than assuming they won't contain any '%'s.
16110 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
16112         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
16113         inhibit_loop_to_libcall to avoid recursive calls.
16114         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
16115         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
16117 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
16119         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
16120         prototype.
16122 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16124         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
16125         integer value instead of boolean.
16127 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
16129         * malloc/malloc.c: Fix powerof2 check.
16131 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16133         * locale/programs/locfile.h (maybe_swap_uint32):
16134         Remove inline and add unused attribute.
16136 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16138         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
16139         Truncating assembler expression to a .long expression.
16141 2014-12-11  Andreas Schwab  <schwab@suse.de>
16143         * elf/rtld.c (struct map_args): Constify str member.
16144         (do_preload): Constify fname argument.
16146 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16148         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
16149         constants definition.
16151 2014-12-11  Andreas Schwab  <schwab@suse.de>
16153         [BZ #16657]
16154         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
16155         FORCE_ELISION instead of DO_ELISION.
16156         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
16157         Remove.
16158         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
16159         Likewise.
16161         * iconvdata/gconv-modules: Remove duplicate entry.
16163 2014-12-11  Will Newton  <will.newton@linaro.org>
16165         Merge gettext 0.19.3 into intl/.
16167         This involves a number of cosmetic changes to comments
16168         and ANSI function definitions and prototypes throughout
16169         all the files. The gettext copyright header is used but
16170         with the date ranges taken from the glibc copy.
16172         * NEWS: Add gettext merge to 2.21.
16173         * intl/bindtextdom.c: Switch to gettext copyright.
16174         Use ANSI definitions and prototypes.
16175         Use gl_* locking primitives rather than __libc_* ones.
16176         Use __builtin_expect rather than __glibc_likely/unlikely.
16177         * intl/dcgettext.c: Switch to gettext copyright.
16178         Use ANSI definitions and prototypes.
16179         * intl/dcigettext.c: Switch to gettext copyright.
16180         Use ANSI definitions and prototypes.
16181         (INTDIV0_RAISES_SIGFPE): New define.
16182         Use gl_* locking primitives rather than __libc_* ones.
16183         Include eval-plural.h instead of plural-eval.c.
16184         Use __builtin_expect rather than __glibc_likely/unlikely.
16185         * intl/dcngettext.c: Switch to gettext copyright.
16186         Use ANSI definitions and prototypes.
16187         * intl/dgettext.c: Likewise.
16188         * intl/dngettext.c: Likewise.
16189         * intl/plural-eval.c: Renamed to...
16190         * intl/eval-plural.h: ...this.
16191         * intl/explodename.c: Switch to gettext copyright.
16192         Use ANSI definitions and prototypes.
16193         (_nl_explode_name): Use strchr instead of __rawmemchr.
16194         * intl/finddomain.c: Switch to gettext copyright.
16195         Use ANSI definitions and prototypes.
16196         Use gl_* locking primitives rather than __libc_* ones.
16197         (_nl_find_domain): Use malloc rather than alloca for
16198         allocation of temporary locale name.
16199         * intl/gettext.c: Switch to gettext copyright.
16200         Use ANSI definitions and prototypes.
16201         * intl/gettextP.h: Switch to gettext copyright.
16202         Use ANSI definitions and prototypes.
16203         Use gl_* locking primitives rather than __libc_* ones.
16204         * intl/gmo.h: Switch to gettext copyright.
16205         (struct sysdep_string): Move struct segment_pair outside of
16206         struct definition.
16207         * intl/hash-string.c: Use ANSI definitions and prototypes.
16208         * intl/hash-string.h: Switch to gettext copyright.
16209         Use ANSI definitions and prototypes.
16210         * intl/l10nflist.c: Switch to gettext copyright.
16211         Use ANSI definitions and prototypes.
16212         (_nl_normalize_codeset): Avoid integer overflow.
16213         * intl/loadinfo.h: Switch to gettext copyright.
16214         Use ANSI definitions and prototypes.
16215         (LIBINTL_DLL_EXPORTED): New define.
16216         (PATH_SEPARATOR): New define.
16217         * intl/loadmsgcat.c: Switch to gettext copyright.
16218         * intl/localealias.c: Switch to gettext copyright.
16219         Use ANSI definitions and prototypes.
16220         (_nl_expand_alias): Use PATH_SEPARATOR.
16221         * intl/ngettext.c: Switch to gettext copyright.
16222         Use ANSI definitions and prototypes.
16223         * intl/plural-exp.c: Likewise.
16224         * intl/plural-exp.h: Switch to gettext copyright.
16225         Use ANSI definitions and prototypes.
16226         (struct expression): Move definition of enum operator outside
16227         of struct definition.
16228         * intl/plural.c: Regenerate.
16229         * intl/plural.y: Switch to gettext copyright.
16230         Use ANSI definitions and prototypes.
16231         Port to bison 3.0.
16232         * intl/textdomain.c: Switch to gettext copyright.
16233         Use ANSI definitions and prototypes.
16234         Use gl_* locking primitives rather than __libc_* ones.
16236 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
16238         * debug/warning-nop.c: Add used atrribute.
16240 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16242         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
16244         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
16245         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
16246         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
16248 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16249             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16251         [BZ #17634]
16252         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
16253         Undefine after defining function.  Define as weak alias of
16254         __wcschr.  Use libc_hidden_weak.
16255         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
16256         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
16257         (libc_hidden_def): Also define __GI___wcschr alias.
16258         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
16259         __wcschr and define as weak alias of __wcschr.
16260         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
16261         __wcschr.
16262         [!WCSCHR] (DEFAULT_WCSCHR): Define.
16263         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
16264         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
16265         libc_hidden_weak.  Do not use libc_hidden_def.
16266         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
16267         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
16268         __GI___wcschr alias.
16269         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
16270         [IS_IN (libc)] (wcschr): Define as macro expanding to
16271         __redirect_wcschr.
16272         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
16273         [IS_IN (libc)] (__wcschr_power6): Likewise.
16274         [IS_IN (libc)] (__wcschr_power7): Likewise.
16275         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
16276         instead of wcschr.
16277         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
16278         __libc_wcschr.
16279         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
16280         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
16281         __wcschr and define as weak alias of __wcschr.  Use
16282         libc_hidden_builtin_def.
16283         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
16284         as weak alias of __wcschr.  Use libc_hidden_weak.
16285         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
16286         wcschr.
16287         * time/era.c (_nl_init_era_entries): Likewise.
16288         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
16289         variable.
16290         (test-xfail-XPG3/time.h/linknamespace): Likewise.
16291         (test-xfail-XPG4/time.h/linknamespace): Likewise.
16293 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16295         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
16296         format for long int variable.
16298 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
16300         [BZ #10672]
16301         * manual/search.texi: (Array Sort Function): Remove claim how to make
16302         qsort stable.
16304 2014-12-10  Andreas Schwab  <schwab@suse.de>
16306         [BZ #12847]
16307         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
16308         user-controlled locks.
16310 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
16312         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
16313         register.
16315 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
16317         * configure.ac (--disable-werror): New configure option.
16318         (enable_werror): New AC_SUBST.
16319         * configure: Regenerated.
16320         * config.make.in (enable-werror): New variable.
16321         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
16322         -Wno-error=undef.
16323         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
16324         * manual/install.texi (Configuring and compiling): Document
16325         --disable-werror.
16326         * INSTALL: Regenerated.
16327         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
16328         (CFLAGS-tst-chk2.c): Likewise.
16329         (CFLAGS-tst-chk3.c): Likewise.
16330         (CFLAGS-tst-chk4.cc): Likewise.
16331         (CFLAGS-tst-chk5.cc): Likewise.
16332         (CFLAGS-tst-chk6.cc): Likewise.
16333         (CFLAGS-tst-lfschk1.c): Likewise.
16334         (CFLAGS-tst-lfschk2.c): Likewise.
16335         (CFLAGS-tst-lfschk3.c): Likewise.
16336         (CFLAGS-tst-lfschk4.cc): Likewise.
16337         (CFLAGS-tst-lfschk5.cc): Likewise.
16338         (CFLAGS-tst-lfschk6.cc): Likewise.
16340         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
16341         (main): Disable -Wdeprecated-declarations around calls to
16342         register_printf_function.
16344         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
16345         (do_test): Disable -Wdiv-by-zero around some calls to
16346         fwrite_unlocked and fread_unlocked.
16348         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
16349         (DIAG_POP_NEEDS_COMMENT): Likewise.
16350         (_DIAG_STR1): Likewise.
16351         (_DIAG_STR): Likewise.
16352         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
16353         * stdio-common/bug21.c: Include <libc-internal.h>.
16354         (do_test): Disable -Wformat around call to sscanf.
16355         * stdio-common/scanf14.c: Include <libc-internal.h>.
16356         (main): Disable -Wformat around some calls to scanf functions.
16358 2014-12-09  Torvald Riegel  <triegel@redhat.com>
16360         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
16362 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16364         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
16365         stack variable alignment.
16367 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
16369         [BZ #17682]
16370         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
16371         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
16372         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
16373         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
16374         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
16375         __getrlimit instead of getrlimit.
16376         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
16377         __gettimeofday instead of gettimeofday.
16378         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16379         Likewise.
16380         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16381         Likewise.
16382         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
16383         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
16384         Remove variable.
16385         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
16386         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
16388 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16390         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
16391         for wide-character tests.
16393 2014-12-04  Roland McGrath  <roland@hack.frob.com>
16395         * io/openat64.c: #include <libc-internal.h>
16396         (__openat64): Prototypify.  Use ignore_value on MODE.
16397         * io/openat.c: Likewise.
16398         * misc/reboot.c: #include <libc-internal.h>
16399         (reboot): Prototypify.  Use ignore_value on HOWTO.
16400         * misc/ptrace.c: #include <libc-internal.h>
16401         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
16403 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
16405         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
16406         XPG4, UNIX98 and XOPEN2K.
16407         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
16408         Remove variable.
16409         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
16411 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16413         * libio/fileops.c: Use ISO C style for function definitions.
16414         * libio/iofopen.c: Likewise.
16415         * libio/wfileops.c: Likewise.
16417         [BZ #17653]
16418         * libio/fileops.c (_IO_new_file_underflow): Unset cached
16419         offset on EOF.
16420         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16421         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
16422         (fgets_func): Function pointer to fgets and fgetws.
16423         (do_ftell_test): Add test to verify ftell value after read
16424         EOF.
16425         (do_test): Set fgets_func.
16427         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
16428         O_TRUNC flag for w and w+ modes.
16429         (do_rewind_test): Likewise.
16430         (do_ftell_test): Likewise.
16431         (do_write_test): Likewise.
16433         [BZ #17647]
16434         * libio/fileops.c (do_ftell): Seek only when there are
16435         unflushed writes.
16436         * libio/wfileops.c (do_ftell_wide): Likewise.
16437         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
16438         test case.
16439         (do_one_test): Call it.
16441 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
16443         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
16444         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
16445         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
16446         Remove variable.
16447         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
16448         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
16449         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
16451 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16453         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
16454         Remove variable.
16455         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
16457         [BZ #17668]
16458         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
16459         as weak alias of __getifaddrs.  Use libc_hidden_weak.
16460         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16461         __freeifaddrs.  Use libc_hidden_weak.
16462         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
16463         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
16464         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16465         __freeifaddrs.  Use libc_hidden_weak.
16466         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
16467         __getifaddrs and define as weak alias of __getifaddrs.  Use
16468         libc_hidden_weak.
16469         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
16470         __freeifaddrs.  Use libc_hidden_weak.
16471         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
16472         Remove variable.
16473         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
16474         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
16476 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16478         [BZ #17601]
16479         * sysdeps/mips/start.S (__start): Use indirect jump to call
16480         __libc_start_main.
16482 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
16484         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
16486         * nptl/tst-mutex1.c: Include <stdbool.h>.
16487         [!ATTR] (ATTR_NULL): New macro.
16488         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
16489         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
16490         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
16492         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
16493         to char *.
16495         [BZ #17665]
16496         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
16497         Change conditional to [__USE_MISC].
16499         [BZ #17664]
16500         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
16501         fgets_unlocked.
16502         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
16503         __fgets_unlocked.
16504         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
16505         fgets_unlocked.
16506         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
16507         Remove variable.
16508         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
16509         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
16510         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
16511         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
16512         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
16513         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
16514         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
16515         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
16516         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
16518         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
16520 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16522         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16523         Remove strpbrk objects.
16524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16525         (__libc_ifunc_impl_list): Remove strpbrk implementation.
16526         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
16527         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
16528         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
16529         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
16531         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16532         Remove strcspn objects.
16533         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16534         (__libc_ifunc_impl_list): Remove strcspn implementation.
16535         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
16536         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
16537         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
16538         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
16540         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16541         Remove strspn objetcs.
16542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16543         (__libc_ifunc_impl_list): Remove strspn implementation.
16544         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
16545         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
16546         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
16547         * sysdeps/powerpc/powerpc64/strspn.S: New file.
16549 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
16551         [BZ #17581]
16552         * malloc/hooks.c
16553         (mem2mem_check): Add a terminator to the chain of checking blocks.
16554         (malloc_check_get_size): Use it here.
16555         (mem2chunk_check): Ditto.
16557 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16559         * sysdeps/powerpc/powerpc64/strtok.S: New file.
16560         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
16562 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
16564         * bits/ioctl-types.h: Indent preprocessor directives correctly.
16566         * nptl/nptl-init.c: Include libc-internal.h.
16567         (__pthread_initialize_minimal_internal): Use ROUND_UP.
16569         * elf/ldconfig.c (search_dir): Expand comment.
16571 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
16573         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
16574         variable.
16575         (linknamespace-symlist-stdlibs-tests): Likewise.
16576         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
16577         instead of $(objpfx)symlist-stdlibs.
16578         (linknamespace-libs-isoc): New variable.
16579         (linknamespace-libs): Use $(linknamespace-libs-isoc).
16580         (linknamespace-libs-ISO): New variable.
16581         (linknamespace-libs-ISO99): Likewise.
16582         (linknamespace-libs-ISO11): Likewise.
16583         (linknamespace-libs-XPG3): Likewise.
16584         (linknamespace-libs-XPG4): Likewise.
16585         (linknamespace-libs-POSIX): Likewise.
16586         (linknamespace-libs-UNIX98): Likewise.
16587         (linknamespace-libs-XOPEN2K): Likewise.
16588         (linknamespace-libs-POSIX2008): Likewise.
16589         (linknamespace-libs-XOPEN2K8): Likewise.
16590         ($(objpfx)symlist-stdlibs): Replace by
16591         $(linknamespace-symlist-stdlibs-tests).  Use
16592         $(linknamespace-libs-$*) as set of libraries.
16593         ($(linknamespace-header-tests)): Update dependencies.  Use
16594         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
16595         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
16596         * conform/linknamespace.pl: Remove comment about considering
16597         definitions of symbols from irrelevant libraries.
16599 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
16601         [BZ #13862]
16602         * elf/dl-tls.c: Include <atomic.h>.
16603         (oom): Remove #ifdef SHARED/#endif.
16604         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
16605         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
16606         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
16607         big enough.
16608         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
16609         * nptl/Makefile (tests): Add tst-stack4.
16610         (modules-names): Add tst-stack4mod.
16611         ($(objpfx)tst-stack4): New.
16612         (tst-stack4mod.sos): Likewise.
16613         ($(objpfx)tst-stack4.out): Likewise.
16614         ($(tst-stack4mod.sos)): Likewise.
16615         (clean): Likewise.
16616         * nptl/tst-stack4.c: New file.
16617         * nptl/tst-stack4mod.c: Likewise.
16619 2014-11-27  J. Brown  <jb999@gmx.de>
16621         * sysdeps/x86/bits/string.h: Add recent CPUs.
16623 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
16625         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
16626         sigblock.
16628         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
16629         feof.
16631         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
16632         variable.
16634 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16636         * nscd/connections.c: Include libc-internal.h because of macro
16637         usage ignore_value.
16639 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16641         * string/bits/string3.h (__warn_memset_zero_len): Don't
16642         declare for gcc newer than 5.0.
16643         (memset): Don't test for zero-length __LEN for gcc newer than
16644         5.0.
16646 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
16648         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
16649         size_t for %zu format.
16651         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
16652         difference, not %ju.
16654 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
16656         * include/libc-internal.h (ignore_value): New macro.
16657         * nscd/connections.c (restart): Wrap calls to setuid and setgid
16658         with ignore_value.
16660         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
16661         definition.
16663         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
16664         pthread_cleanup_push to void *.
16666         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
16667         Undefine.
16669         [BZ #16619]
16670         [BZ #16740]
16671         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
16672         instead of 1L << 52.
16674         * libio/bug-rewind.c (do_test): Check fwscanf return values.
16675         * libio/bug-rewind2.c (do_test): Likewise.
16677         * debug/test-stpcpy_chk-ifunc.c: Remove file.
16678         * debug/test-strcpy_chk-ifunc.c: Likewise.
16679         * wcsmbs/test-wcschr-ifunc.c: Likewise.
16680         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16681         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16682         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16683         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16684         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16685         * Rules [$(multi-arch) = no] (tests): Do not filter out
16686         $(tests-ifunc).
16687         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
16688         * debug/Makefile (tests-ifunc): Remove variable.
16689         (tests): Do not add $(tests-ifunc).
16690         * wcsmbs/Makefile (tests-ifunc): Remove variable.
16691         (tests): Do not add $(tests-ifunc).
16692         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
16693         [TEST_IFUNC]: Remove conditionals.
16694         * string/test-string.h (TEST_IFUNC): Remove macro.
16695         [TEST_IFUNC]: Remove conditionals.
16697         * string/test-strchr.c [!WIDE] (L): New macro.
16698         [WIDE] (L): Likewise.
16699         (check1): Use CHAR instead of char.  Use L on string and character
16700         constants.
16702 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
16704         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
16705         tests.
16706         * sysdeps/powerpc/bits/atomic.h
16707         (__arch_atomic_exchange_and_add_32_acq): Add definition.
16708         (__arch_atomic_exchange_and_add_32_rel): Likewise.
16709         (atomic_exchange_and_add_acq): Likewise.
16710         (atomic_exchange_and_add_rel): Likewise.
16711         * sysdeps/powerpc/powerpc32/bits/atomic.h
16712         (__arch_atomic_exchange_and_add_64_acq): Add definition.
16713         (__arch_atomic_exchange_and_add_64_rel): Likewise.
16714         * sysdeps/powerpc/powerpc64/bits/atomic.h
16715         (__arch_atomic_exchange_and_add_64_acq): Add definition.
16716         (__arch_atomic_exchange_and_add_64_rel): Likewise.
16718 2014-11-26  Torvald Riegel  <triegel@redhat.com>
16720         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
16721         Change synchronization of __sched_fifo_min_prio and
16722         __sched_fifo_max_prio.
16723         * nptl/pthread_mutexattr_getprioceiling.c
16724         (pthread_mutexattr_getprioceiling): Likewise.
16725         * nptl/pthread_mutexattr_setprioceiling.c
16726         (pthread_mutexattr_setprioceiling): Likewise.
16727         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
16728         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
16729         Likewise.
16731 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
16733         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
16734         void.
16736 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
16738         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
16739         third argument const.
16741 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
16743         fnmatch: work around GCC compiler warning bug with uninit var
16744         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
16745         This works around a bug with x86-64 GCC 4.9.2 and earlier
16746         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
16747         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
16748         used uninitialized in this function [-Wmaybe-uninitialized]".
16750 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
16752         * posix/bug-regex31.c (main): Return RES not 0.
16754 2014-11-25  Anton Blanchard <anton@samba.org>
16756         * sysdeps/powerpc/bits/atomic.h
16757         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
16759 2014-11-24  Sterling Augustine  <saugustine@google.com>
16761         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
16763 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
16765         [BZ #17608]
16766         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
16768 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
16770         [BZ #17633]
16771         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
16772         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
16773         variable.
16774         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
16775         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
16777 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
16779         * string/strncpy.c (strncpy): Improve performance by using memset.
16781 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
16783         * string/strcpy.c (strcpy):
16784         Improve performance by using strlen and memcpy.
16786 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
16788         * string/strcoll_l.c (get_next_seq): __always_inline.
16789         * string/strcoll_l.c (do_compare): __always_inline.
16791 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16793         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
16794         defined.
16795         * include/mqueue.h: Likewise.
16796         * include/stdlib.h: Likewise.
16798         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
16799         (get_null_defines): Adjust.
16800         * sunrpc/Makefile: Adjust comment.
16801         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
16802         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
16803         (CFLAGS-interp.c): Likewise.
16804         (CFLAGS-ldconfig.c): Likewise.
16805         (CPPFLAGS-.os): Likewise.
16806         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16807         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
16808         * extra-modules.mk (extra-modules.mk): Likewise.
16809         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
16810         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
16811         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
16812         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
16813         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
16814         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
16815         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
16816         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
16817         * iconvdata/Makefile (CPPFLAGS): Likewise.
16818         (cpp-srcs-left): Add libof for all iconvdata routines.
16819         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
16820         * include/assert.h: Likewise.
16821         * include/ctype.h: Likewise.
16822         * include/errno.h: Likewise.
16823         * include/libc-symbols.h: Likewise.
16824         * include/math.h: Likewise.
16825         * include/netdb.h: Likewise.
16826         * include/resolv.h: Likewise.
16827         * include/stdio.h: Likewise.
16828         * include/stdlib.h: Likewise.
16829         * include/string.h: Likewise.
16830         * include/sys/stat.h: Likewise.
16831         * include/wctype.h: Likewise.
16832         * intl/l10nflist.c: Likewise.
16833         * libidn/idn-stub.c: Likewise.
16834         * libio/libioP.h: Likewise.
16835         * nptl/libc_multiple_threads.c: Likewise.
16836         * nptl/pthreadP.h: Likewise.
16837         * posix/regex_internal.h: Likewise.
16838         * resolv/res_hconf.c: Likewise.
16839         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
16840         * sysdeps/arm/memmove.S: Likewise.
16841         * sysdeps/arm/sysdep.h: Likewise.
16842         * sysdeps/generic/_itoa.h: Likewise.
16843         * sysdeps/generic/symbol-hacks.h: Likewise.
16844         * sysdeps/gnu/errlist.awk: Likewise.
16845         * sysdeps/gnu/errlist.c: Likewise.
16846         * sysdeps/i386/i586/memcpy.S: Likewise.
16847         * sysdeps/i386/i586/memset.S: Likewise.
16848         * sysdeps/i386/i686/memcpy.S: Likewise.
16849         * sysdeps/i386/i686/memmove.S: Likewise.
16850         * sysdeps/i386/i686/mempcpy.S: Likewise.
16851         * sysdeps/i386/i686/memset.S: Likewise.
16852         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16853         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16854         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
16855         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
16856         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16857         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16858         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
16859         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16860         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16861         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16862         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16863         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16864         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16865         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16866         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16867         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16868         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
16869         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
16870         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
16871         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16872         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16873         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16874         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16875         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16876         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16877         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16878         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
16879         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16880         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
16881         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
16882         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16883         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16884         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16885         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16886         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16887         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
16888         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16889         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16890         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
16891         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
16892         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16893         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16894         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
16895         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
16896         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16897         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16898         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
16899         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
16900         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16901         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
16902         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16903         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
16904         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
16905         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16906         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
16907         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
16908         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16909         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
16910         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
16911         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16912         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
16913         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16914         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
16915         * sysdeps/nptl/bits/libc-lock.h: Likewise.
16916         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
16917         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
16918         * sysdeps/posix/closedir.c: Likewise.
16919         * sysdeps/posix/opendir.c: Likewise.
16920         * sysdeps/posix/readdir.c: Likewise.
16921         * sysdeps/posix/rewinddir.c: Likewise.
16922         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
16923         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
16924         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16925         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16926         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16927         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
16928         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
16929         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
16930         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16931         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
16932         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16933         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16934         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16935         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
16936         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
16937         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
16938         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16939         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16940         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
16941         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
16942         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16943         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
16944         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
16945         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16946         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
16947         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
16948         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
16949         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16950         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16951         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
16952         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
16953         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
16954         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
16955         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
16956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
16957         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
16958         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16959         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16960         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
16961         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
16962         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
16963         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
16964         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16965         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
16966         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
16967         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
16968         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
16969         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16970         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
16971         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
16972         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
16973         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16974         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16975         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16976         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16977         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
16978         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
16979         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16980         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16981         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
16982         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
16983         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16984         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16985         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16986         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
16987         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
16988         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
16989         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
16990         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
16991         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
16992         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
16993         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16994         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
16995         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16996         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16997         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
16998         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
16999         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
17000         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17001         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
17002         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
17003         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17004         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
17005         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
17006         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
17007         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
17008         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
17009         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17010         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17011         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17012         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
17013         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
17014         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
17015         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17016         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17017         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
17018         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17019         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17020         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
17021         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
17022         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17023         * sysdeps/unix/alpha/sysdep.S: Likewise.
17024         * sysdeps/unix/alpha/sysdep.h: Likewise.
17025         * sysdeps/unix/make-syscalls.sh: Likewise.
17026         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17027         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17028         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17029         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
17030         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17031         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
17032         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
17033         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17034         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17035         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
17036         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17037         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17038         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17039         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17040         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17041         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
17042         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17043         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17044         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17045         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17046         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
17047         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17048         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17049         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17050         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17051         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17052         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17055         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
17056         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17057         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17058         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
17059         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17060         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17062         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
17063         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17064         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17065         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17066         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17067         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17068         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17069         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17070         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17071         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17072         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17073         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17074         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17075         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17076         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17077         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17078         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17079         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17080         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
17081         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17082         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17084         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
17085         * sysdeps/x86_64/memcpy.S: Likewise.
17086         * sysdeps/x86_64/memmove.c: Likewise.
17087         * sysdeps/x86_64/memset.S: Likewise.
17088         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
17089         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17090         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17091         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
17092         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17093         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17094         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17095         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17096         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17097         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17098         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17099         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17100         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
17101         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17102         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17103         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
17104         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17105         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17106         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
17107         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17108         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
17109         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17110         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17111         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
17112         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17113         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17114         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17115         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
17116         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17117         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17118         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
17119         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17120         * sysdeps/x86_64/strcmp.S: Likewise.
17122         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
17124         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
17125         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
17126         * elf/rtld-Rules: Likewise.
17127         * elf/setup-vdso.h: Likewise.
17128         * include/assert.h: Likewise.
17129         * include/bits/stdlib-float.h: Likewise.
17130         * include/errno.h: Likewise.
17131         * include/sys/stat.h: Likewise.
17132         * include/unistd.h: Likewise.
17133         * sysdeps/aarch64/setjmp.S: Likewise.
17134         * sysdeps/alpha/setjmp.S: Likewise.
17135         * sysdeps/arm/__longjmp.S: Likewise.
17136         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
17137         * sysdeps/arm/setjmp.S: Likewise.
17138         * sysdeps/arm/sysdep.h: Likewise.
17139         * sysdeps/generic/_itoa.h: Likewise.
17140         * sysdeps/generic/dl-sysdep.h: Likewise.
17141         * sysdeps/generic/ldsodefs.h: Likewise.
17142         * sysdeps/i386/dl-tls.h: Likewise.
17143         * sysdeps/i386/setjmp.S: Likewise.
17144         * sysdeps/m68k/setjmp.c: Likewise.
17145         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
17146         * sysdeps/mach/hurd/opendir.c: Likewise.
17147         * sysdeps/posix/getcwd.c: Likewise.
17148         * sysdeps/posix/opendir.c: Likewise.
17149         * sysdeps/posix/profil.c: Likewise.
17150         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17151         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17152         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17153         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17154         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17155         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
17156         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17157         * sysdeps/s390/dl-tls.h: Likewise.
17158         * sysdeps/s390/s390-32/setjmp.S: Likewise.
17159         * sysdeps/s390/s390-64/setjmp.S: Likewise.
17160         * sysdeps/sh/sh3/setjmp.S: Likewise.
17161         * sysdeps/sh/sh4/setjmp.S: Likewise.
17162         * sysdeps/unix/alpha/sysdep.h: Likewise.
17163         * sysdeps/unix/arm/sysdep.S: Likewise.
17164         * sysdeps/unix/i386/sysdep.S: Likewise.
17165         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17166         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17167         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17168         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17169         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17170         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
17171         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17172         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17173         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
17174         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
17175         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17176         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17177         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17180         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17182         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17183         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17184         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17185         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17186         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17187         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17188         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17189         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17190         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17191         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17192         * sysdeps/unix/x86_64/sysdep.S: Likewise.
17193         * sysdeps/x86_64/setjmp.S: Likewise.
17195         * include/math.h: Use IS_IN instead of IS_IN_libm.
17196         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
17197         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17198         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17199         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17200         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17201         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17202         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17203         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17204         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17205         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17206         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
17207         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
17208         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
17209         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
17210         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
17211         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
17212         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
17213         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
17214         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
17215         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
17216         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
17217         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
17218         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
17219         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
17220         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
17221         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17222         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
17223         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
17224         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
17225         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
17226         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
17227         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
17228         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
17230         Likewise.
17231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
17232         Likewise.
17233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
17234         Likewise.
17235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
17236         Likewise.
17237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
17238         Likewise.
17239         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
17240         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
17241         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
17242         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17243         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17244         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
17246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
17247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
17248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
17249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
17250         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
17251         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
17252         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17253         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17254         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17255         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17256         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17257         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17258         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
17259         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
17260         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
17261         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
17262         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
17263         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
17264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17265         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
17267         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
17268         * nptl/pthreadP.h: Likewise.
17269         * nptl_db/structs.def: Likewise.
17270         * sysdeps/arm/sysdep.h: Likewise.
17271         * sysdeps/nptl/bits/libc-lock.h: Likewise.
17272         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
17273         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
17274         * sysdeps/unix/alpha/sysdep.h: Likewise.
17275         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17276         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17277         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17278         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17279         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17280         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17281         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17282         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17283         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17284         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17285         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17286         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17287         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17288         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
17290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
17291         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17292         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17293         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17294         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17295         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17296         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17297         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17298         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17299         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
17300         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17302         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
17303         * nptl/pthreadP.h: Likewise.
17304         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
17305         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
17306         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
17307         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
17308         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
17309         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
17310         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17311         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
17312         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
17313         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
17314         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
17315         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17317         Likewise.
17318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17319         Likewise.
17320         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
17321         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
17322         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
17323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
17324         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
17325         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
17326         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
17327         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
17329         * dlfcn/dladdr.c: Use IS_IN.
17330         * dlfcn/dladdr1.c: Likewise.
17331         * dlfcn/dlclose.c: Likewise.
17332         * dlfcn/dlerror.c: Likewise.
17333         * dlfcn/dlinfo.c: Likewise.
17334         * dlfcn/dlmopen.c: Likewise.
17335         * dlfcn/dlopen.c: Likewise.
17336         * dlfcn/dlsym.c: Likewise.
17337         * dlfcn/dlvsym.c: Likewise.
17339         * include/ifaddrs.h: Use IS_IN.
17340         * inet/check_pf.c: Likewise.
17341         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17342         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17344         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
17345         IS_IN_ldconfig.
17346         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
17347         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
17349         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
17350         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
17351         IS_IN (libc).
17353         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
17355         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
17356         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17357         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
17358         * include/libc-symbols.h (IS_IN_LIB): New macro.
17359         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
17360         * include/netdb.h: Likewise.
17361         * include/stap-probe.h: Remove all uses of IN_LIB.
17363         * Makeconfig (module-cppflags-real): Define MODULE_NAME
17364         instead of IN_MODULE.
17365         * include/libc-symbols.h (IN_MODULE): Define using
17366         MODULE_NAME.
17367         (PASTE_NAME, PASTE_NAME1): New macros.
17368         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
17369         of IN_LIB.
17370         (STAP_PROBE_ASM): Likewise.
17372 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17374         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
17375         __mach_init in dlopened libc.
17377 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
17379         * sysdeps/arm/preconfigure.ac: Delete EABI check.
17380         * sysdeps/arm/preconfigure: Regenerate.
17382 2014-11-21  Roland McGrath  <roland@hack.frob.com>
17384         * nptl/pthread_create.c (__pthread_create_2_1): Set
17385         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
17386         when copying values from IATTR into PD.
17388 2014-11-21  Will Newton  <will.newton@linaro.org>
17389             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
17391         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
17392         Refactor inline-asm.  Also add comment.
17394         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
17395         ElfW macro instead of hardcoded Elf64 types.
17396         (la_aarch64_gnu_pltenter): Likewise.
17397         * sysdeps/aarch64/dl-machine.h
17398         (elf_machine_runtime_setup): Use ElfW(Addr).
17400         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
17401         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
17402         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
17403         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
17404         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
17405         (R_AARCH64_TLS_DTPMOD64): Rename to ..
17406         (R_AARCH64_TLS_DTPMOD): This.
17407         (R_AARCH64_TLS_DTPREL64): Rename to ...
17408         (R_AARCH64_TLS_DTPREL): This.
17409         (R_AARCH64_TLS_TPREL64): Rename to ...
17410         (R_AARCH64_TLS_TPREL): This.
17411         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
17412         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
17413         R_AARCH64_TLS_TPREL64.
17414         (elf_machine_rela): Likewise.
17416 2014-11-21  Torvald Riegel  <triegel@redhat.com>
17418         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
17419         by setting it to 0.  64b atomics are not supported currently.
17421 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17423         [BZ #16469]
17424         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
17425         search domain names.
17427 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17429         [BZ #16469]
17430         * NEWS: Update.
17431         * resolv/res_query.c (__libc_res_nquerydomain): Retain
17432         trailing dot.
17433         * posix/tst-getaddrinfo5.c: New.
17434         * posix/Makefile (tests): Add it.
17436 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17438         [BZ #14498]
17439         * NEWS: Fixed.
17440         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
17441         after parsing line but before break_if_match.
17442         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
17443         if there is a protocol mismatch.
17445 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
17447         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
17448         because the potential race is on the user-supplied stream.
17450 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17452         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
17453         string literal if not passed a buffer.
17454         * manual/job.texi (ctermid): Update reasoning, note deviation
17455         from posix, suggest mtasurace when not passed a buffer, for
17456         future non-preliminary safety notes.
17458 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17460         * manual/users.texi (cuserid): Fix MT-Safety note for the case
17461         of not passing it a buffer.
17462         Reported by Peng Haitao.
17464 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
17466         * manual/Makefile ($(objpfx)stamp-summary): Require
17467         check-safety.sh to pass.
17468         * manual/check-safety.sh: Wish for verification that every
17469         @deftypefn and @deftypefun is followed by a @safety remark.
17471 2014-11-20  Roland McGrath  <roland@hack.frob.com>
17473         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
17475         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
17476         PTHREAD_CANCEL_ASYNCHRONOUS.
17477         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
17478         send SIGCANCEL.
17480         * nptl/default-sched.h: New file.
17481         * sysdeps/unix/sysv/linux/default-sched.h: New file.
17482         * nptl/pthread_create.c: Include it.
17483         (__pthread_create_2_1): Use collect_default_sched instead of making
17484         Linux syscalls here directly.
17486 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17488         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
17489         __pthread_once): Use C11 atomics.
17491 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17493         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
17495 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17497         * include/atomic.h (__atomic_link_error, __atomic_check_size,
17498         atomic_thread_fence_acquire, atomic_thread_fence_release,
17499         atomic_thread_fence_seq_cst, atomic_load_relaxed,
17500         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
17501         atomic_compare_exchange_weak_relaxed,
17502         atomic_compare_exchange_weak_acquire,
17503         atomic_compare_exchange_weak_release,
17504         atomic_exchange_acquire, atomic_exchange_release,
17505         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
17506         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
17507         atomic_fetch_and_acquire,
17508         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
17510 2014-11-20  Torvald Riegel  <triegel@redhat.com>
17512         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
17513         USE_ATOMIC_COMPILER_BUILTINS): Define.
17514         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
17515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17516         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
17517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17518         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
17519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17520         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
17521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17522         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
17523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17524         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
17525         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17526         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
17527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17528         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
17529         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17530         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17531         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17532         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17533         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17534         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
17535         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17536         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
17537         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17538         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
17539         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17540         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
17541         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17542         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
17543         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17544         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
17545         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17546         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
17547         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17548         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17549         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17550         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
17551         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17552         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
17553         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
17555 2014-11-19  Roland McGrath  <roland@hack.frob.com>
17557         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
17558         the sched_priority value here.  It was already checked when the user
17559         called pthread_attr_setschedparam.
17561         * nptl/tst-bad-schedattr.c: New file.
17562         * nptl/Makefile (tests): Add it.
17564 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
17565             Florian Weimer  <fweimer@redhat.com>
17566             Joseph Myers  <joseph@codesourcery.com>
17567             Adam Conrad  <adconrad@0c3.net>
17568             Andreas Schwab  <schwab@suse.de>
17569             Brooks  <bmoses@google.com>
17571         [BZ #17625]
17572         * wordexp-test.c (__dso_handle): Add prototype.
17573         (__register_atfork): Likewise.
17574         (__app_register_atfork): New function.
17575         (registered_forks): New global.
17576         (register_fork): New function.
17577         (test_case): Add 3 new tests for WRDE_CMDSUB.
17578         (main): Call __app_register_atfork.
17579         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
17580         fork count is non-zero fail the test.
17581         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
17582         is set.
17583         (parse_dollars): Remove check for WRDE_NOCMD.
17584         (parse_dquote): Likewise.
17586 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17588         * Makeconfig (built-modules): List non-library modules to be
17589         built.
17590         (module-cppflags): Include libc-modules.h for
17591         everything except shlib-versions.v.i.
17592         (CPPFLAGS): Use it.
17593         (before-compile): Add libc-modules.h.
17594         ($(common-objpfx)libc-modules.h,
17595         $(common-objpfx)libc-modules.stmp): New targets.
17596         (common-generated): Add libc-modules.h and libc-modules.stmp.
17597         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
17598         * include/libc-symbols.h: Don't include libc-modules.h.
17599         * include/libc-modules.h: Remove file.
17600         * scripts/gen-libc-modules.awk: New script to generate
17601         libc-modules.h.
17602         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
17603         Depend on libc-modules.stmp.
17605         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
17607         * Makeconfig (in-module): Get value of libof set for the
17608         translation unit.
17609         (CPPFLAGS): Use $(in-module).
17610         * Makerules: Don't suffix routine names for nonlib.
17611         * include/libc-modules.h: New file.
17612         * include/libc-symbols.h: Include libc-modules.h
17613         (IS_IN): New macro to replace IS_IN_* macros.
17614         * elf/Makefile: Set libof-* for each routine.
17615         * elf/rtld-Rules: Likewise.
17616         * extra-modules.mk: Likewise.
17617         * iconv/Makefile: Likewise.
17618         * iconvdata/Makefile: Likewise.
17619         * locale/Makefile: Likewise.
17620         * malloc/Makefile: Likewise.
17621         * nss/Makefile: Likewise.
17622         * sysdeps/gnu/Makefile: Likewise.
17623         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
17624         * sysdeps/unix/sysv/linux/Makefile: Likewise.
17625         * sysdeps/s390/s390-64/Makefile: Likewise.
17626         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
17627         CPPFLAGS for nscd instead of nonlib.
17629 2014-11-18  Roland McGrath  <roland@hack.frob.com>
17631         * nptl/createthread.c: New file.
17633         * nptl/createthread.c: Moved ...
17634         * sysdeps/unix/sysv/linux/createthread.c: ... here.
17636         * nptl/createthread.c: Add proper top-line comment.
17637         (do_clone): Folded into ...
17638         (create_thread): ... here.  Take new arguments STOPPED_START and
17639         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
17640         increment __nptl_threads, do event-reporting logic, do
17641         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
17642         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
17643         resource cleanup if sched_setaffinity or sched_setscheduler fails,
17644         just send SIGCANCEL.
17645         * nptl/pthread_create.c: Forward-declare create_thread before
17646         including createthread.c.
17647         (start_thread): Use new macro START_THREAD_DEFN to replace defining
17648         declaration, and new macro START_THREAD_SELF to replace argument.
17649         Remove return statement.
17650         (report_thread_creation): New function.
17651         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
17652         synchronization logic, and __nptl_nthreads increment here, around
17653         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
17654         PD->parent_cancelhandling here, before create_thread.  When
17655         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
17656         __deallocate_stack, and ENOMEM translation here.
17658 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
17660         [BZ #17616]
17661         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
17662         (mptwo): Rename to __mptwo.
17663         (__inv): Use __mptwo instead of mptwo.
17664         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
17665         (mptwo): Rename to __mptwo.
17666         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
17667         of mpone and __mptwo instead of mptwo.
17668         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
17669         instead of mpone.
17670         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17671         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
17672         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
17673         of mpone and __mptwo instead of mptwo.
17674         (__mpranred): Use __mpone instead of mpone.
17675         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
17676         variable.
17677         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
17678         (test-xfail-ISO99/math.h/linknamespace): Likewise.
17679         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17680         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17681         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17682         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17683         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17684         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17685         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17686         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17687         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17688         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17689         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17690         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17691         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17692         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17693         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17694         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
17695         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
17697 2014-11-18  Tom de Vries  <tom@codesoucery.com>
17699         * manual/signal.texi (Primitives Interrupted by Signals): In section,
17700         replace BSD Handler xref with BSD Signal Handling.
17702 2014-11-17  Richard Henderson  <rth@redhat.com>
17704         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
17705         (_FP_PACK_RAW_2): Remove.
17706         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
17707         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
17708         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
17709         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
17710         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
17711         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
17712         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
17713         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
17714         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
17715         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
17716         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
17717         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
17718         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
17719         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
17720         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
17721         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
17723 2014-11-14  Roland McGrath  <roland@hack.frob.com>
17725         * signal/signal.h [__USE_MISC]
17726         (struct sigvec): Remove type.
17727         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
17728         (sigvec): Remove declaration.
17729         * sysdeps/posix/sigvec.c: Moved ...
17730         * signal/sigvec.c: ... here, replacing old file.
17731         (struct sigvec): New type, copied from old signal.h definition.
17732         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
17733         (__sigvec): Convert definition to prototype.
17734         (sigvec): Replace weak_alias with compat_symbol.
17735         * signal/Versions (libc: GLIBC_2.21): New version set.
17736         * include/signal.h: Remove __sigvec declaration.
17737         * sysdeps/unix/bsd/sigvec.c: Remove file.
17738         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
17739         * manual/signal.texi (BSD Handler): Remove subsection.
17740         Move siginterrupt up to ...
17741         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
17742         (Blocking in BSD): Fold subsection into its parent.
17743         * NEWS: Mention sigvec removal.
17745 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
17747         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
17748         (DLA_FMS): Make definition conditional only on [__FMA4__].
17749         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
17750         definition.
17752         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
17753         Make definition conditional only on [PROF].
17754         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
17755         definition.
17756         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
17757         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
17759         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
17760         !__GNUC__].
17761         * include/signal.h (__sigpause): Move declaration above call to
17762         libc_hidden_proto.
17763         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
17764         variable.
17765         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17766         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17768 2014-11-14  David S. Miller  <davem@davemloft.net>
17770         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
17771         Define before including <string/memcpy.c> and <string/mempcpy.c>.
17773 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
17775         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
17776         * configure: Regenerated.
17777         * manual/install.texi (Tools for Compilation): Document a
17778         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
17779         compiler verified to work.
17780         * INSTALL: Regenerated.
17782         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
17783         redeclare with asm name.
17784         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
17785         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
17786         including <string.h>.
17787         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17788         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
17789         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17790         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
17791         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17792         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
17793         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
17795 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
17797         * stdlib/strtol.c (__strtol): Use prototype definition.
17799         [BZ #17594]
17800         * stdlib/strtol.c (SYM__): New macro.
17801         (SYM__1): Likewise.
17802         (__strtol): Likewise.
17803         (strtol): Rename to __strtol and define as weak alias of
17804         __strtol.  Use libc_hidden_weak.
17806 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17808         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
17809         Use numbered labels in inline assembly.
17811 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17813         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
17814         Add setjmp LIBC_PROBE.
17815         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
17816         Likewise.
17817         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
17818         Add longjmp, longjmp_target LIBC_PROBE.
17819         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
17820         Likewise.
17822 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17824         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17825         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
17826         to get rid of unused variable warning.
17828 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17830         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
17831         Check for unwind_backtrace ==  NULL only in SHARED case.
17832         (__backchain_backtrace): Compile only in SHARED case.
17833         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
17834         Likewise.
17835         (__backchain_backtrace): Declare as static.
17837 2014-11-12  Roland McGrath  <roland@hack.frob.com>
17839         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
17840         (__libc_multiple_threads_ptr): Variable moved ...
17841         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
17843 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
17845         * conform/GlibcConform.pm: New file.
17846         * conform/conformtest.pl: Use GlibcConform module.
17847         * conform/linknamespace.pl: New file.
17848         * conform/list-header-symbols.pl: Likewise.
17849         * conform/Makefile (linknamespace-symlists-base): New variable.
17850         (linknamespace-symlists-tests): Likewise.
17851         (linknamespace-header-base): Likewise.
17852         (linknamespace-header-tests): Likewise.
17853         (tests-special): Add new tests.
17854         ($(linknamespace-symlists-tests)): New rule.
17855         (linknamespace-libs): New variable.
17856         ($(objpfx)symlist-stdlibs): New rule.
17857         ($(linknamespace-header-tests)): Likewise.
17858         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
17859         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
17860         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
17861         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
17862         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
17863         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
17864         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
17865         (test-xfail-ISO/math.h/linknamespace): Likewise.
17866         (test-xfail-ISO/signal.h/linknamespace): Likewise.
17867         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
17868         (test-xfail-ISO/time.h/linknamespace): Likewise.
17869         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
17870         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
17871         (test-xfail-ISO99/math.h/linknamespace): Likewise.
17872         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
17873         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
17874         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
17875         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
17876         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
17877         (test-xfail-ISO11/math.h/linknamespace): Likewise.
17878         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
17879         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
17880         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
17881         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
17882         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
17883         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
17884         (test-xfail-XPG3/math.h/linknamespace): Likewise.
17885         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
17886         (test-xfail-XPG3/search.h/linknamespace): Likewise.
17887         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
17888         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17889         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
17890         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17891         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
17892         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
17893         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
17894         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17895         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
17896         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
17897         (test-xfail-XPG4/math.h/linknamespace): Likewise.
17898         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
17899         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17900         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17901         (test-xfail-XPG4/search.h/linknamespace): Likewise.
17902         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
17903         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
17904         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
17905         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
17906         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
17907         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17908         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
17909         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17910         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
17911         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
17912         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
17913         (test-xfail-POSIX/math.h/linknamespace): Likewise.
17914         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
17915         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
17916         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17917         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17918         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
17919         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17920         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17921         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
17922         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
17923         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17924         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
17925         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17926         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
17927         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
17928         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17929         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17930         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
17931         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
17932         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17933         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17934         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17935         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
17936         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17937         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
17938         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
17939         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
17940         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17941         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17942         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17943         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17944         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17945         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
17946         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
17947         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
17948         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
17949         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
17950         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
17951         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17952         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
17953         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
17954         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
17955         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17956         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
17957         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
17958         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
17959         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
17960         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
17961         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17962         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
17963         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
17964         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17965         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
17966         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
17967         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17968         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17969         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17970         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
17971         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17972         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
17973         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17974         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
17975         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17976         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
17977         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
17978         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
17979         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
17980         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
17981         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
17982         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17983         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
17984         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
17985         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17986         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17987         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17988         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
17989         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17990         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
17991         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17992         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17993         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
17994         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17995         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
17996         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17997         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
17998         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
17999         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18000         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18001         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
18002         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
18003         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
18004         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18005         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18006         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18007         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
18008         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18009         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18010         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18011         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
18012         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18013         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18014         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18015         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
18016         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
18017         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
18018         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18020         [BZ #17589]
18021         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
18022         of fgets_unlocked.
18024         [BZ #17585]
18025         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
18026         (memmem): Rename to __memmem and define as weak alias of
18027         __memmem.  Use libc_hidden_weak.
18028         (__memmem): Use libc_hidden_def.
18029         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
18030         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
18031         memmem.
18033         [BZ #17582]
18034         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
18035         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
18036         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
18037         and define as weak alias of __fgets_unlocked.  Use
18038         libc_hidden_weak.
18039         (__fgets_unlocked): Use libc_hidden_def.
18040         * include/stdio.h (__fgets_unlocked): Declare.  Use
18041         libc_hidden_proto.
18042         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
18043         __fgets_unlocked instead of fgets_unlocked.
18044         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
18045         (GET_NPROCS_CONF_PARSER): Likewise.
18046         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
18047         (GET_NPROCS_CONF_PARSER): Likewise.
18049         [BZ #17574]
18050         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
18051         weak alias of __wmemset.  Use libc_hidden_weak.
18052         (__wmemset): Use libc_hidden_def.
18053         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
18054         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
18055         of wmemset.
18057         [BZ #17573]
18058         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
18059         with asm name __mempcpy.
18060         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
18062         [BZ #17572]
18063         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
18064         and define as weak alias of __rawmemchr.
18065         (__rawmemchr): Do not define as strong alias of rawmemchr.
18067         [BZ #17571]
18068         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
18069         alias of __qsort_r.
18070         (qsort): Call __qsort_r instead of qsort_r.
18071         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
18072         (__qsort_r): Declare.  Call libc_hidden_proto.
18073         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
18074         instead of qsort_r.
18075         * nscd/gai.c (__qsort_r): Define to qsort_r.
18076         * posix/tst-rfc3484.c (__qsort_r): Likewise.
18077         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
18078         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
18080         [BZ #17570]
18081         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
18082         define as weak alias of __malloc_info.
18084         [BZ #17584]
18085         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
18086         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18087         (__rewinddir): Use libc_hidden_def.
18088         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
18089         as weak alias of __rewinddir.  Don't use libc_hidden_def.
18090         (__rewinddir): Use libc_hidden_def.
18091         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
18092         weak alias of __rewinddir.  Don't use libc_hidden_def.
18093         (__rewinddir): Use libc_hidden_def.
18094         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
18095         (__rewinddir): Use libc_hidden_proto.
18096         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
18097         rewinddir.
18098         (__getcwd): Use __rewinddir instead of rewinddir.
18100         [BZ #17583]
18101         * libio/fileno.c (fileno): Rename to __fileno and define as weak
18102         alias of __fileno.  Use libc_hidden_weak.
18103         (__fileno): Use libc_hidden_def.
18104         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
18105         * libio/ftello.c (ftello): Rename to __ftello and define as weak
18106         alias of __ftello.
18107         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
18108         __ftello.
18109         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
18110         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
18111         libc_hidden_def.
18112         (fread_unlocked): Don't use libc_hidden_ver.
18113         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
18114         and define as weak alias of __fread_unlocked.  Don't use
18115         libc_hidden_def.
18116         (__fread_unlocked): Use libc_hidden_def.
18117         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
18118         (ftello): Don't use libc_hidden_proto.
18119         (__ftello): Declare.  Use libc_hidden_proto.
18120         (fread_unlocked): Don't use libc_hidden_proto.
18121         (__fread_unlocked): Declare.  Use libc_hidden_proto.
18122         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
18123         and __ftello instead of fileno, fread_unlocked and ftello.
18125 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18127         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
18128         GOT12.
18129         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
18130         Likewise.
18131         (_dl_start_user): Likewise.
18132         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
18134 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
18135             Siddhesh Poyarekar  <siddhesh@redhat.com>
18137         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
18138         Move argv and envp down instead of moving argc up.
18139         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
18141 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
18143         [BZ #17506]
18144         * test-skeleton.c (main): Return successful if one of
18145         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
18146         * string/tst-strcoll-overflow.c: Define expected status.
18148 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
18150         [BZ #17475]
18151         * locale/iso-639.def: Define Bhili and Tulu language codes.
18153 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
18155         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
18157 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
18159         [BZ #17555]
18160         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
18162 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18164         * configure.ac: Updated check of minimal required version to
18165         2.22.
18166         * manual/install.texi (Tools for Compilation): Updated version
18167         number.
18168         * configure: Regenerated.
18169         * INSTALL: Likewise.
18171 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
18173         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
18174         __tls_get_addr.
18176 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
18178         * include/sys/wait.h (__libc_waitpid): Remove declaration.
18179         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
18180         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18181         libc_hidden_weak.
18182         (waitpid): Define as alias of __waitpid.
18183         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
18184         __waitpid.
18185         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18186         libc_hidden_weak.
18187         (waitpid): Define as alias of __waitpid.
18188         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
18189         __libc_waitpid alias.
18190         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
18191         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
18192         Likewise.
18193         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
18194         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
18195         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
18196         alias.
18197         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
18198         __waitpid.
18199         (__waitpid): Don't define as alias.  Use libc_hidden_def not
18200         libc_hidden_weak.
18201         (waitpid): Define as alias of __waitpid.
18203 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
18205         * manual/llio.texi: Add comment that write safety has been
18206         fixed in Linux.
18208         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
18209         (localplt-build-dso): Add elf/ld.so.
18210         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
18211         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
18212         and free for ld.so.
18213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
18214         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
18215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
18216         Likewise.
18217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18218         Likewise.
18219         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18220         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
18221         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
18222         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18223         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
18224         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
18225         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
18226         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
18227         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
18228         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
18229         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
18231 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
18233         [BZ #14132]
18234         * include/libc-symbols.h (INTUSE): Remove macro.
18235         (INTDEF): Likewise.
18236         (INTVARDEF): Likewise.
18237         (_INTVARDEF): Likewise.
18238         (INTDEF2): Likewise.
18239         (INTVARDEF2): Likewise.
18240         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
18241         rtld_hidden_def instead of INTVARDEF.
18242         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
18243         (_dl_starting_up_internal): Remove declaration.
18244         (_dl_starting_up): Use rtld_hidden_proto.
18245         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
18246         declaration.
18247         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
18248         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
18249         _dl_starting_up.
18250         * elf/dl-writev.h (_dl_writev): Likewise.
18251         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
18252         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
18253         _dl_starting_up_internal.
18255 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18257         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18258         test-skeleton.c.
18260 2014-11-05  Will Newton  <will.newton@linaro.org>
18262         * benchtests/Makefile: (bench-malloc): Add malloc thread
18263         scalability benchmark.
18264         * benchtests/bench-malloc-threads.c: New file.
18266 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
18268         * sysdeps/aarch64/strchrnul.S: New file.
18270 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18272         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
18273         definition.
18274         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18275         Likwise.
18276         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18277         Likewise.
18278         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18279         Likewise.
18280         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18281         Likewise.
18282         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18283         Likewise.
18285 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
18287         * catgets/test-gencat.c: Use test-skeleton.c.
18288         * catgets/tst-catgets.c: Likewise.
18289         * csu/tst-empty.c: Likewise.
18290         * elf/tst-audit2.c: Likewise.
18291         * elf/tst-global1.c: Likewise.
18292         * elf/tst-pathopt.c: Likewise.
18293         * elf/tst-piemod1.c: Likewise.
18294         * elf/tst-tls10.c: Likewise.
18295         * elf/tst-tls11.c: Likewise.
18296         * elf/tst-tls12.c: Likewise.
18297         * gnulib/tst-gcc.c: Likewise.
18298         * iconvdata/tst-e2big.c: Likewise.
18299         * iconvdata/tst-loading.c: Likewise.
18300         * iconv/tst-iconv1.c: Likewise.
18301         * iconv/tst-iconv2.c: Likewise.
18302         * inet/test-inet6_opt.c: Likewise.
18303         * inet/tst-gethnm.c: Likewise.
18304         * inet/tst-network.c: Likewise.
18305         * inet/tst-ntoa.c: Likewise.
18306         * intl/tst-codeset.c: Likewise.
18307         * intl/tst-gettext2.c: Likewise.
18308         * intl/tst-gettext3.c: Likewise.
18309         * intl/tst-ngettext.c: Likewise.
18310         * intl/tst-translit.c: Likewise.
18311         * io/test-stat.c: Likewise.
18312         * libio/test-fmemopen.c: Likewise.
18313         * libio/tst-freopen.c: Likewise.
18314         * libio/tst-sscanf.c: Likewise.
18315         * libio/tst-ungetwc1.c: Likewise.
18316         * libio/tst-ungetwc2.c: Likewise.
18317         * libio/tst-widetext.c: Likewise.
18318         * localedata/tst-ctype.c: Likewise.
18319         * localedata/tst-digits.c: Likewise.
18320         * localedata/tst-leaks.c: Likewise.
18321         * localedata/tst-mbswcs1.c: Likewise.
18322         * localedata/tst-mbswcs2.c: Likewise.
18323         * localedata/tst-mbswcs3.c: Likewise.
18324         * localedata/tst-mbswcs4.c: Likewise.
18325         * localedata/tst-mbswcs5.c: Likewise.
18326         * localedata/tst-setlocale.c: Likewise.
18327         * localedata/tst-trans.c: Likewise.
18328         * localedata/tst-wctype.c: Likewise.
18329         * localedata/tst-xlocale1.c: Likewise.
18330         * login/tst-grantpt.c: Likewise.
18331         * malloc/tst-calloc.c: Likewise.
18332         * malloc/tst-malloc.c: Likewise.
18333         * malloc/tst-mallocstate.c: Likewise.
18334         * malloc/tst-mcheck.c: Likewise.
18335         * malloc/tst-mtrace.c: Likewise.
18336         * malloc/tst-obstack.c: Likewise.
18337         * math/atest-exp2.c: Likewise.
18338         * math/atest-exp.c: Likewise.
18339         * math/atest-sincos.c: Likewise.
18340         * math/test-matherr.c: Likewise.
18341         * math/test-misc.c: Likewise.
18342         * math/test-powl.c: Likewise.
18343         * math/tst-definitions.c: Likewise.
18344         * misc/tst-dirname.c: Likewise.
18345         * misc/tst-efgcvt.c: Likewise.
18346         * misc/tst-fdset.c: Likewise.
18347         * misc/tst-hsearch.c: Likewise.
18348         * misc/tst-mntent2.c: Likewise.
18349         * nptl/tst-sem7.c: Likewise.
18350         * nptl/tst-sem8.c: Likewise.
18351         * nptl/tst-sem9.c: Likewise.
18352         * nss/test-netdb.c: Likewise.
18353         * posix/tst-fnmatch.c: Likewise.
18354         * posix/tst-getlogin.c: Likewise.
18355         * posix/tst-gnuglob.c: Likewise.
18356         * posix/tst-mmap.c: Likewise.
18357         * pwd/tst-getpw.c: Likewise.
18358         * resolv/tst-inet_ntop.c: Likewise.
18359         * rt/tst-timer.c: Likewise.
18360         * stdio-common/test-fseek.c: Likewise.
18361         * stdio-common/test-popen.c: Likewise.
18362         * stdio-common/test-vfprintf.c: Likewise.
18363         * stdio-common/tst-cookie.c: Likewise.
18364         * stdio-common/tst-fileno.c: Likewise.
18365         * stdio-common/tst-gets.c: Likewise.
18366         * stdio-common/tst-obprintf.c: Likewise.
18367         * stdio-common/tst-perror.c: Likewise.
18368         * stdio-common/tst-sprintf2.c: Likewise.
18369         * stdio-common/tst-sprintf3.c: Likewise.
18370         * stdio-common/tst-sprintf.c: Likewise.
18371         * stdio-common/tst-swprintf.c: Likewise.
18372         * stdio-common/tst-tmpnam.c: Likewise.
18373         * stdio-common/tst-unbputc.c: Likewise.
18374         * stdio-common/tst-wc-printf.c: Likewise.
18375         * stdlib/tst-environ.c: Likewise.
18376         * stdlib/tst-fmtmsg.c: Likewise.
18377         * stdlib/tst-limits.c: Likewise.
18378         * stdlib/tst-rand48-2.c: Likewise.
18379         * stdlib/tst-rand48.c: Likewise.
18380         * stdlib/tst-random2.c: Likewise.
18381         * stdlib/tst-random.c: Likewise.
18382         * stdlib/tst-strtol.c: Likewise.
18383         * stdlib/tst-strtoll.c: Likewise.
18384         * stdlib/tst-tls-atexit.c: Likewise.
18385         * stdlib/tst-xpg-basename.c: Likewise.
18386         * string/test-ffs.c: Likewise.
18387         * string/tst-bswap.c: Likewise.
18388         * string/tst-inlcall.c: Likewise.
18389         * string/tst-strtok.c: Likewise.
18390         * string/tst-strxfrm.c: Likewise.
18391         * sysdeps/x86_64/tst-audit10.c: Likewise.
18392         * sysdeps/x86_64/tst-audit3.c: Likewise.
18393         * sysdeps/x86_64/tst-audit4.c: Likewise.
18394         * sysdeps/x86_64/tst-audit5.c: Likewise.
18395         * time/tst-ftime_l.c: Likewise.
18396         * time/tst-getdate.c: Likewise.
18397         * time/tst-mktime3.c: Likewise.
18398         * time/tst-mktime.c: Likewise.
18399         * time/tst-posixtz.c: Likewise.
18400         * time/tst-strptime2.c: Likewise.
18401         * time/tst-strptime3.c: Likewise.
18402         * wcsmbs/tst-btowc.c: Likewise.
18403         * wcsmbs/tst-mbrtowc.c: Likewise.
18404         * wcsmbs/tst-mbsrtowcs.c: Likewise.
18405         * wcsmbs/tst-wchar-h.c: Likewise.
18406         * wcsmbs/tst-wcpncpy.c: Likewise.
18407         * wcsmbs/tst-wcrtomb.c: Likewise.
18408         * wcsmbs/tst-wcsnlen.c: Likewise.
18409         * wcsmbs/tst-wcstof.c: Likewise.
18411 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
18413         [BZ #14132]
18414         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
18415         INTDEF.
18416         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
18417         declaration.
18418         (_dl_mcount): Use rtld_hidden_proto.
18419         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
18420         _dl_mcount.
18421         * elf/rtld.c (_rtld_global_ro): Likewise.
18423         [BZ #14132]
18424         * elf/dl-init.c (_dl_init): Don't use INTDEF.
18425         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
18426         of _dl_init_internal.
18427         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
18428         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
18429         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
18430         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
18431         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
18432         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
18433         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
18434         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
18435         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
18436         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
18437         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
18438         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
18439         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18440         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18441         * sysdeps/tile/dl-start.S (_start): Likewise.
18442         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
18443         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
18445         [BZ #14132]
18446         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
18447         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
18448         (rtld_progname): Make macro definition unconditional.
18449         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
18450         INTDEF.
18451         (dlmopen_doit): Do not use INTUSE with _dl_argv.
18452         (dl_main): Likewise.
18453         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18454         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
18455         instead of _dl_argv_internal.
18456         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18457         __GI__dl_argv instead of INTUSE(_dl_argv).
18458         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
18459         __GI__dl_argv instead of _dl_argv_internal.
18461         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
18462         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
18463         macro.
18464         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
18465         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
18466         New macro.
18467         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
18468         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
18469         macro.
18470         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
18471         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
18473 2014-11-04  Andreas Schwab  <schwab@suse.de>
18475         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
18477 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18479         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
18480         mtvsrd instruction in binary form.
18482 2014-11-03  Andreas Schwab  <schwab@suse.de>
18484         [BZ #17522]
18485         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
18486         for less than MB_LEN_MAX use a local buffer of that size.
18487         * libio/tst-fputws.c: New file.
18488         * libio/Makefile (tests): Add tst-fputws.
18490 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
18492         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
18493         the size of the fpu_fr.fpu_dregs[] array.
18495 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
18497         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
18498         (__nanosleep): Do not define as alias.
18499         (nanosleep): Define as alias of __nanosleep.
18500         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
18501         __libc_nanosleep name.
18503 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18505         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
18506         install.texi in comment.
18508 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18510         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
18511         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
18512         ... add here and use lwsync or sync ...
18513         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
18514         ... and add here using lwsync.
18516 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18518         * elf/dl-machine-reject-phdr.h: New file.
18519         * elf/dl-load.c: #include that.
18520         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
18521         if that returned true.
18523 2014-10-31  Roland McGrath  <roland@hack.frob.com>
18525         [BZ #17496]
18526         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
18527         gen-as-const-headers chunk.  Add a big scare comment after the last
18528         safe place to touch before-compile.
18530 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
18532         * manual/install.texi (Tools for Compilation): Update autoconf
18533         version requirements.
18534         * INSTALL: Regenerated.
18536         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
18537         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
18538         (__libc_pselect): Likewise.
18540         [BZ #14138]
18541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
18542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18546 2014-10-31  Torvald Riegel  <triegel@redhat.com>
18548         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
18549         correct barrier instruction.
18550         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
18551         Likewise.
18552         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
18553         Likewise.
18555 2014-10-30  Roland McGrath  <roland@hack.frob.com>
18557         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
18558         after defining inlines.  Instead, just use parens to defeat macro
18559         expansion of __isctype in its declaration.
18561 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
18563         * include/sys/uio.h (__libc_readv): Remove declaration.
18564         (__libc_writev): Likewise.
18565         * misc/readv.c (__libc_readv): Rename to __readv.
18566         (__readv): Do not define as alias.
18567         (readv): Define as alias of __readv.
18568         * misc/writev.c (__libc_writev): Rename to __writev.
18569         (__writev): Do not define as alias.
18570         (writev): Define as alias of __writev.
18571         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
18572         (__readv): Do not define as alias.
18573         (readv): Define unconditionally as alias of __readv.
18574         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
18575         (__writev): Do not define as alias.
18576         (writev): Define unconditionally as alias of __writev.
18577         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
18578         name.
18579         (writev): Do not define __libc_writev name.
18581 2014-10-30  Roland McGrath  <roland@hack.frob.com>
18583         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
18584         (convert_charseq): New function, broken out of ...
18585         (use_from_charmap): ... here.  Call it.
18586         (use_to_charmap): Use convert_charseq and free instead of duplicating
18587         its code with a variable-length stack struct.
18589 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
18591         * include/fcntl.h (__libc_creat): Remove declaration.
18592         * io/creat.c (__libc_creat): Rename to creat.
18593         (creat): Do not define as alias.
18594         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
18595         of creat instead of __libc_creat.
18596         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
18597         to creat.
18598         (creat): Do not define as alias.
18599         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
18600         __libc_creat.
18601         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
18602         __libc_creat name.
18603         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
18604         Likewise.
18606 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
18608         * manual/llio.texi: Add comments discussing why write() may be
18609         considered MT-unsafe on Linux.
18611 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
18613         * dl-load.c (local_strdup): Remove.
18614         (expand_dynamic_string_token): Use __strdup.
18615         (decompose_rpath): Likewise.
18616         (_dl_map_object): Likewise.
18618 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
18620         [BZ #14132]
18621         * sysdeps/generic/unwind-dw2-fde.c
18622         (__register_frame_info_bases_internal): Do not declare.
18623         (__register_frame_info_table_bases_internal): Likewise.
18624         (__deregister_frame_info_bases_internal): Likewise.
18625         (__register_frame_info_bases): Declare and use hidden_proto before
18626         definition.  Use hidden_def instead of INTDEF.
18627         (__register_frame_info_table_bases): Likewise.
18628         (__deregister_frame_info_bases): Likewise.
18629         (__register_frame_info): Do not use INTUSE.
18630         (__register_frame): Likewise.
18631         (__register_frame_info_table): Likewise.
18632         (__register_frame_table): Likewise.
18633         (__deregister_frame_info): Likewise.
18634         (__deregister_frame): Likewise.
18636 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
18638         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18639         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
18640         not undefine.
18641         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
18642         Likewise.
18643         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
18644         Likewise.
18646 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
18648         [BZ #14138]
18649         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
18650         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
18651         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
18652         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
18653         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
18654         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
18655         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
18656         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
18657         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
18658         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
18659         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
18660         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
18661         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
18662         syscall.
18663         (setfsuid): Likewise.
18664         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
18665         (setfsuid): Likewise.
18666         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
18667         (setfsuid): Likewise.
18668         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
18669         Likewise.
18670         (setfsuid): Likewise.
18671         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
18672         (setfsuid): Likewise.
18673         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
18674         Likewise.
18675         (setfsuid): Likewise.
18677 2014-10-27  Andreas Schwab  <schwab@suse.de>
18679         [BZ #17501]
18680         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
18681         check for Slow_SSE4_2 feature bit.
18682         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
18683         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
18684         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
18685         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
18687 2014-10-24  Roland McGrath  <roland@hack.frob.com>
18689         * configure.ac: Validate compiler version with a empirical test of
18690         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
18691         $CC -v output.
18692         * configure: Regenerated.
18694         * inet/htons.c (htons): Prototypify.
18695         * inet/htonl.c (htonl): Likewise.
18697 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18699         * string/strncat.c (strncat): Improve performance by using strlen.
18701 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18703         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
18705 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18707         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
18708         Call libc_fetestexcept_aarch64.
18710 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18712         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
18713         Call libc_feholdexcept_aarch64.
18715 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18717         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
18718         Call get_rounding_mode.
18720 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18722         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18723         Simplify logic.
18725 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
18727         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
18728         Simplify logic.
18730 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
18732         [BZ #14138]
18733         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
18734         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
18735         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
18736         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
18737         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
18738         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
18739         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
18740         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
18741         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
18742         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
18743         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18744         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
18745         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
18746         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
18747         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
18748         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
18749         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
18750         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
18751         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
18752         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
18753         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
18754         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
18755         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
18756         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
18757         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
18758         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
18759         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
18760         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
18761         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
18762         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
18763         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
18764         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
18765         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
18766         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
18767         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
18768         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
18769         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
18770         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
18771         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
18772         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
18773         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
18774         syscall.
18775         (geteuid): Likewise.
18776         (getgid): Likewise.
18777         (getuid): Likewise.
18778         (getresgid): Likewise.
18779         (getresuid): Likewise.
18780         (getgroups): Likewise.
18781         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
18782         (geteuid): Likewise.
18783         (getgid): Likewise.
18784         (getuid): Likewise.
18785         (getresgid): Likewise.
18786         (getresuid): Likewise.
18787         (getgroups): Likewise.
18788         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
18789         (geteuid): Likewise.
18790         (getgid): Likewise.
18791         (getuid): Likewise.
18792         (getresgid): Likewise.
18793         (getresuid): Likewise.
18794         (getgroups): Likewise.
18795         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
18796         Likewise.
18797         (geteuid): Likewise.
18798         (getgid): Likewise.
18799         (getuid): Likewise.
18800         (getresgid): Likewise.
18801         (getresuid): Likewise.
18802         (getgroups): Likewise.
18803         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
18804         (geteuid): Likewise.
18805         (getgid): Likewise.
18806         (getuid): Likewise.
18807         (getresgid): Likewise.
18808         (getresuid): Likewise.
18809         (getgroups): Likewise.
18810         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
18811         Likewise.
18812         (geteuid): Likewise.
18813         (getgid): Likewise.
18814         (getuid): Likewise.
18815         (getgroups): Likewise.
18817         [BZ #14138]
18818         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
18819         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
18820         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
18821         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
18822         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
18823         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
18824         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
18825         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
18826         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
18827         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
18828         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
18829         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
18830         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
18831         __chown.
18832         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
18833         (lchown): Likewise.
18834         (fchown): Likewise.
18835         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
18836         Likewise.
18837         (lchown): Likewise.
18838         (fchown): Likewise.
18839         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
18840         (lchown): Likewise.
18841         (fchown): Likewise.
18842         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
18843         Likewise.
18844         (lchown): Likewise.
18845         (fchown): Likewise.
18847 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18849         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
18850         Simplify logic.
18852 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18854         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
18855         Cleanup logic.
18857 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18859         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
18860         Remove unused include.
18862 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
18864         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
18865         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
18866         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
18867         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
18869 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
18870             Helge Deller <deller@gmx.de>
18872         [BZ #17508]
18873         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
18874         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
18875         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
18877 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
18879         [BZ #14132]
18880         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
18881         Remove macro definition.
18882         (__ashrdi3_v_glibc20): Likewise.
18883         (__lshrdi3_v_glibc20): Likewise.
18884         (__cmpdi2_v_glibc20): Likewise.
18885         (__ucmpdi2_v_glibc20): Likewise.
18886         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
18887         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18888         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18889         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18890         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18891         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
18893 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18895         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
18896         old GNU extension [0] syntax.
18897         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
18898         alloca rather than an array member with variable length.
18899         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
18900         * nscd/nscd.c (invalidate_db): New function, broken out of ...
18901         (parse_opt): ... here.  Likewise use alloca there.
18902         Validate the -i argument before checking for rootness.
18903         (send_shutdown): New function, broken out of ...
18904         (parse_opt): ... here.
18906 2014-10-22  Roland McGrath  <roland@hack.frob.com>
18908         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
18909         macro to get at the _rt_local_ro field.
18910         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
18911         ([PIC] case) or _dl_hwcap ([!PIC] case).
18912         * sysdeps/arm/setjmp.S: Likewise.
18914         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
18915         * sysdeps/arm/configure.ac: New check to define it.
18916         * sysdeps/arm/configure: Regenerated.
18917         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
18918         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
18919         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
18920         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
18921         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
18922         Use move/movt pair instead of a load.
18923         (LDST_GLOBAL): Macro removed.
18924         (LDR_GLOBAL): New macro replaces it.
18925         (LDR_HIDDEN): New macro.
18926         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
18927         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
18929         * setjmp/tst-setjmp-static.c: New file.
18930         * setjmp/Makefile (tests): Add it.
18931         (tests-static): New variable.
18933 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
18935         [BZ #17485]
18936         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
18938 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
18940         [BZ #14132]
18941         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
18943 2014-10-21  Roland McGrath  <roland@hack.frob.com>
18945         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
18947 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18949         * io/fts.c (dirent_not_directory): New function.
18950         (fts_build): Call it.
18952 2014-10-20  Roland McGrath  <roland@hack.frob.com>
18954         * nptl/version.c (__nptl_main): Use normal __write rather than
18955         INTERNAL_SYSCALL.
18956         (banner): Update copyright years.
18958         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
18959         gettimeofday.
18960         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18961         * nptl/pthread_cond_timedwait.c: Likewise.
18962         * nptl/pthread_mutex_timedlock.c: Likewise.
18963         * nptl/sem_timedwait.c: Likewise.
18965         * sysdeps/nptl/bits/libc-lock.h
18966         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18967         (__libc_lock_init_recursive): Return void, not 0.
18968         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
18969         (__libc_rwlock_init): Likewise.
18970         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
18972 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18974         [BZ #15215]
18975         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
18976         (__pthread_once_slow): ... here.
18977         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
18978         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
18980 2014-10-20  Torvald Riegel  <triegel@redhat.com>
18982         [BZ #15215]
18983         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
18984         __PTHREAD_ONCE_FORK_GEN_INCR): New.
18985         * sysdeps/nptl/fork.c (__libc_fork): Use them.
18986         * nptl/pthread_once.c (__pthread_once): Likewise.
18987         Update comments.
18989 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
18991         [BZ #14138]
18992         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
18993         name.
18994         (writev): Use __libc_writev as strong name.
18995         * sysdeps/unix/sysv/linux/readv.c: Remove file.
18996         * sysdeps/unix/sysv/linux/writev.c: Likewise.
18998 2014-10-17  Roland McGrath  <roland@hack.frob.com>
19000         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
19002         * sysdeps/i386/nptl/tls.h
19003         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
19004         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
19005         New macros.
19006         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
19007         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
19008         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
19009         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
19010         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
19011         Call CHECK_THREAD_SYSINFO instead of doing an assert.
19013         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19014         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
19015         on [__NR_futex].
19016         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
19017         broken out of ...
19018         (__pthread_mutex_init): ... here.  Call it.
19019         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
19020         Conditionalize PI cases on [__NR_futex].
19021         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
19022         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
19023         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19025         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
19026         conditional on [SIGSETXID].
19027         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
19028         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
19029         is defined.  Likewise for SIGSETXID.
19030         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
19031         Conditionalize definitions on [SIGSETXID].
19032         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
19033         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
19034         unblocking on [SIGCANCEL].
19036         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
19037         [__NR_set_robust_list].
19039 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19041         * string/strcoll_l.c (get_next_seq): Fix up formatting.
19042         (do_compare): Likewise.
19044 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
19046         [BZ #15884]
19047         * string/strcoll_l.c: Don't include stdio.h.
19048         (coll_seq): Remove members idxarr and rulearr.
19049         (get_next_seq_cached): Remove function.
19050         (get_next_seq): Likewise.
19051         (get_next_seq_nocache): Rename to get_next_seq.
19052         (do_compare): Remove function.
19053         (do_compare_nocache): Rename to do_compare.
19054         (STRCOLL): Remove weight and rules cache.
19056 2014-10-16  Roland McGrath  <roland@hack.frob.com>
19058         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
19059         * sysdeps/arm/sfp-machine.h: ... to here.
19060         * sysdeps/arm/Implies: Remove arm/soft-fp.
19062 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
19064         * conform/data/sys/utsname.h-data (*_t): Allow.
19065         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
19066         [POSIX] (WEXITED): Do not expect constant.
19067         [POSIX] (WSTOPPED): Likewise.
19068         [POSIX] (WNOHANG): Likewise.
19069         [POSIX] (WNOWAIT): Likewise.
19070         [POSIX] (siginfo_t): Do not expect type or elements.
19071         [POSIX] (pid_t): Do not expect type.
19072         [POSIX] (signal.h): Do not allow header.
19073         [POSIX] (sys/resource.h): Likewise.
19074         [POSIX] (si_*): Do not allow pattern.
19075         [POSIX] (W*): Likewise.
19076         [POSIX] (P_*): Likewise.
19077         [POSIX] (BUS_*): Likewise.
19078         [POSIX] (CLD_*): Likewise.
19079         [POSIX] (FPE_*): Likewise.
19080         [POSIX] (ILL_*): Likewise.
19081         [POSIX] (POLL_*): Likewise.
19082         [POSIX] (SEGV_*): Likewise.
19083         [POSIX] (SI_*): Likewise.
19084         [POSIX] (TRAP_*): Likewise.
19085         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
19086         variable.
19088 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19090         [BZ #12926]
19091         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
19092         infinite loop when __recvmsg returns 0.
19094 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
19096         * CANCEL-FCT-WAIVE: Remove file.
19097         * CANCEL-FILE-WAIVE: Likewise.
19099         [BZ #14132]
19100         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
19101         instead of INTVARDEF.
19102         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19103         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
19104         rtld_hidden_data_def instead of INTVARDEF.
19105         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
19106         * elf/dl-deps.c (expand_dst): Likewise.
19107         * elf/dl-load.c (_dl_dst_count): Likewise.
19108         (_dl_dst_substitute): Likewise.
19109         (decompose_rpath): Likewise.
19110         (_dl_init_paths): Likewise.
19111         (open_path): Likewise.
19112         (_dl_map_object): Likewise.
19113         * elf/rtld.c (dl_main): Likewise.
19114         (process_dl_audit): Likewise.
19115         (process_envvars): Likewise.
19116         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
19117         Remove declaration.
19118         (__libc_enable_secure): Use rtld_hidden_proto.
19120 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19122         * elf/dl-load.c
19123         (add_path): New function broken out of _dl_rtld_di_serinfo.
19124         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
19126 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19128         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
19129         parentheses around macro arguments.
19130         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
19131         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
19132         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
19133         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
19134         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
19135         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19136         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19137         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
19138         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
19139         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
19140         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
19141         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
19142         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
19143         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
19144         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
19145         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
19146         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
19147         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
19148         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
19149         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
19150         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
19151         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
19152         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
19153         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
19154         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
19155         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
19156         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
19157         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
19158         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
19159         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
19160         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
19161         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
19162         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
19163         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
19164         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
19165         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
19166         Likewise.
19167         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
19168         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19169         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19170         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
19171         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
19172         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
19173         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
19174         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
19175         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
19176         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
19177         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
19178         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
19179         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
19180         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
19181         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
19182         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
19183         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
19184         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
19185         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
19186         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
19187         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
19188         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
19189         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
19190         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
19191         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
19192         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
19193         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
19194         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
19195         (_FP_FRAC_SRS_1): Likewise.
19196         (_FP_FRAC_CLZ_1): Likewise.
19197         (_FP_MUL_MEAT_1_imm): Likewise.
19198         (_FP_MUL_MEAT_1_wide): Likewise.
19199         (_FP_MUL_MEAT_1_hard): Likewise.
19200         (_FP_SQRT_MEAT_1): Likewise.
19201         (_FP_FRAC_ASSEMBLE_1): Likewise.
19202         (_FP_FRAC_DISASSEMBLE_1): Likewise.
19203         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
19204         (__FP_CLZ_2): Likewise.
19205         (_FP_MUL_MEAT_2_wide): Likewise.
19206         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
19207         (_FP_MUL_MEAT_2_gmp): Likewise.
19208         (_FP_MUL_MEAT_2_120_240_double): Likewise.
19209         (_FP_SQRT_MEAT_2): Likewise.
19210         (_FP_FRAC_ASSEMBLE_2): Likewise.
19211         (_FP_FRAC_DISASSEMBLE_2): Likewise.
19212         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
19213         (_FP_FRAC_CLZ_4): Likewise.
19214         (_FP_MUL_MEAT_4_wide): Likewise.
19215         (_FP_MUL_MEAT_4_gmp): Likewise.
19216         (_FP_SQRT_MEAT_4): Likewise.
19217         (_FP_FRAC_ASSEMBLE_4): Likewise.
19218         (_FP_FRAC_DISASSEMBLE_4): Likewise.
19219         * soft-fp/op-common.h (_FP_CMP): Likewise.
19220         (_FP_CMP_EQ): Likewise.
19221         (_FP_CMP_UNORD): Likewise.
19222         (_FP_TO_INT): Likewise.
19223         (_FP_FROM_INT): Likewise.
19224         [!__FP_CLZ] (__FP_CLZ): Likewise.
19225         (_FP_DIV_HELP_imm): Likewise.
19226         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
19227         Likewise.
19228         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
19229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
19230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
19231         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
19232         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
19233         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19234         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19235         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
19236         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
19237         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
19238         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
19239         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
19240         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
19241         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
19242         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
19243         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
19244         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
19245         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
19246         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
19247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
19248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
19249         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
19250         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
19251         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
19252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
19253         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
19254         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
19255         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
19256         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
19257         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
19258         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
19259         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
19260         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
19261         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
19262         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
19263         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
19264         (FP_UNPACK_RAW_SP): Likewise.
19265         (FP_PACK_RAW_S): Likewise.
19266         (FP_PACK_RAW_SP): Likewise.
19267         (FP_UNPACK_S): Likewise.
19268         (FP_UNPACK_SP): Likewise.
19269         (FP_UNPACK_SEMIRAW_S): Likewise.
19270         (FP_UNPACK_SEMIRAW_SP): Likewise.
19271         (FP_PACK_S): Likewise.
19272         (FP_PACK_SP): Likewise.
19273         (FP_PACK_SEMIRAW_S): Likewise.
19274         (FP_PACK_SEMIRAW_SP): Likewise.
19275         (_FP_SQRT_MEAT_S): Likewise.
19276         (FP_CMP_S): Likewise.
19277         (FP_CMP_EQ_S): Likewise.
19278         (FP_CMP_UNORD_S): Likewise.
19279         (FP_TO_INT_S): Likewise.
19280         (FP_FROM_INT_S): Likewise.
19282         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
19284         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
19285         (FP_EX_INVALID_IMZ): Likewise.
19286         (FP_EX_INVALID_IMZ_FMA): Likewise.
19287         (FP_EX_INVALID_ISI): Likewise.
19288         (FP_EX_INVALID_ZDZ): Likewise.
19289         (FP_EX_INVALID_IDI): Likewise.
19290         (FP_EX_INVALID_SQRT): Likewise.
19291         (FP_EX_INVALID_CVI): Likewise.
19292         (FP_EX_INVALID_VC): Likewise.
19293         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
19294         "invalid" exceptions.
19295         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
19296         (_FP_ADD_INTERNAL): Likewise.
19297         (_FP_MUL): Likewise.
19298         (_FP_FMA): Likewise.
19299         (_FP_DIV): Likewise.
19300         (_FP_CMP_CHECK_NAN): Likewise.
19301         (_FP_SQRT): Likewise.
19302         (_FP_TO_INT): Likewise.
19303         (FP_EXTEND): Likewise.
19305 2014-10-09  Allan McRae  <allan@archlinux.org>
19307         * po/fr.po: Update French translation from translation project.
19309 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
19311         [BZ #14132]
19312         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
19313         of INTDEF.
19314         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
19315         (__cxa_atexit): Use libc_hidden_proto.
19316         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
19318         [BZ #14132]
19319         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
19320         declaration.
19321         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
19322         [!_ISOMAC] (__iswspace_l_internal): Likewise.
19323         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
19324         [!_ISOMAC] (__iswctype_internal): Likewise.
19325         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
19326         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
19327         alias.
19328         (fcntl): Remove __fcntl_internal alias.
19329         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
19330         __connect_internal alias.
19331         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
19332         Likewise.
19334         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
19335         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
19336         FP_DENORM_ZERO.
19337         (_FP_CHECK_FLUSH_ZERO): New macro.
19338         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
19339         (_FP_CMP): Likewise.
19340         (_FP_CMP_EQ): Likewise.
19341         (_FP_TO_INT): Do not set inexact for subnormal arguments if
19342         FP_DENORM_ZERO.
19343         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
19344         (FP_TRUNC): Likewise.
19346         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
19347         treated as invalid conversion, not as normal exponent.
19349         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
19350         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
19351         (_FP_CMP_EQ): Likewise.
19352         (_FP_CMP_UNORD): Likewise.
19353         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
19354         (FP_CMP_EQ_D): Likewise.
19355         (FP_CMP_UNORD_D): Likewise.
19356         * soft-fp/extended.h (FP_CMP_E): Likewise.
19357         (FP_CMP_EQ_E): Likewise.
19358         (FP_CMP_UNORD_E): Likewise.
19359         * soft-fp/quad.h (FP_CMP_Q): Likewise.
19360         (FP_CMP_EQ_Q): Likewise.
19361         (FP_CMP_UNORD_Q): Likewise.
19362         * soft-fp/single.h (FP_CMP_S): Likewise.
19363         (FP_CMP_EQ_S): Likewise.
19364         (FP_CMP_UNORD_S): Likewise.
19365         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
19366         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
19367         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
19368         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
19369         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
19370         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
19371         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
19372         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
19373         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
19374         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
19375         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
19376         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
19377         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
19378         to FP_CMP_Q.
19379         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
19380         FP_CMP_Q.
19381         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
19382         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
19383         FP_CMP_EQ_Q.
19384         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
19385         FP_CMP_Q.
19386         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
19387         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
19388         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
19389         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
19390         FP_CMP_EQ_Q.
19391         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
19392         FP_CMP_Q.
19393         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
19394         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
19395         FP_CMP_EQ_Q.
19396         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
19397         FP_CMP_Q.
19398         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
19399         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
19400         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
19401         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
19402         FP_CMP_EQ_Q.
19404         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
19405         a subnormal result, set the underflow exception if trapping on
19406         underflow is enabled.
19407         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
19408         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
19409         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
19410         redefine to 0.
19411         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
19412         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19413         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
19414         * soft-fp/extendxftf2.c (__extendxftf2): Use
19415         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
19417         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
19418         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
19419         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19420         FP_HANDLE_EXCEPTIONS.
19421         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
19422         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19423         FP_HANDLE_EXCEPTIONS.
19424         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
19425         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19426         FP_HANDLE_EXCEPTIONS.
19427         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
19428         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
19429         FP_HANDLE_EXCEPTIONS.
19431 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
19433         [BZ #14132]
19434         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
19435         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
19436         use INTUSE.
19437         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
19438         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
19439         Remove alias.
19440         (__adjtimex): Define using libc_hidden_ver.
19441         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
19442         Remove declaration.
19443         (ntp_gettime): Call __adjtimex directly.
19444         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
19445         Remove declaration.
19446         (ntp_gettimex): Call __adjtimex directly.
19447         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
19448         __adjtimex_internal alias.
19450 2014-10-08  Roland McGrath  <roland@hack.frob.com>
19452         [BZ #17460]
19453         * nscd/nscd.c (more_help): Rewrite list of tables collection
19454         using xstrdup and asprintf.
19456         * nscd/nscd_conf.c: Remove local xstrdup declaration.
19458 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19459             Roland McGrath  <roland@hack.frob.com>
19461         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
19462         (do_lookup_unique): ... local function 'enter' here; update callers.
19464 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
19466         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
19467         compat_symbol calls on [SHARED].
19468         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
19469         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
19470         Remove.
19471         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19472         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
19473         (oldsetrlimit): Remove.
19474         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19476         (lchown): New syscall entry.
19477         (oldsetrlimit): Remove.
19478         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19479         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
19480         (oldsetrlimit): Remove.
19481         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
19483         [BZ #14138]
19484         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
19485         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
19486         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
19487         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
19488         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19489         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
19490         (fchown): Likewise.
19491         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
19492         (fchown): Likewise.
19493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
19494         Likewise.
19496 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19498         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
19499         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
19500         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
19501         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
19502         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
19503         Likewise.
19504         (__old_sem_post): Likewise.
19506 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
19508         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
19509         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
19510         HAVE_CLOCK_GETTIME_VSYSCALL macros.
19511         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
19512         Use INLINE_VSYSCALL macro.
19513         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
19514         __vdso_clock_gettime.
19515         * sysdeps/unix/sysv/linux/tile/init-first.c
19516         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
19517         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
19518         __vdso_clock_gettime.
19520         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
19521         to set up frame more cleanly.
19523         * sysdeps/tile/memcmp.c: New file.
19525         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
19527         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
19528         * sysdeps/tile/tilegx/strcasestr.c: New file.
19529         * sysdeps/tile/tilegx/strnlen.c: New file.
19530         * sysdeps/tile/tilegx/strstr.c: New file.
19532         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
19534 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
19536         * nptl/tst-setuid3.c: Write errors to stdout.
19538 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19540         * elf/dl-deps.c
19541         (preload): New functions broken out of _dl_map_object_deps.
19542         (_dl_map_object_deps):  Remove a nested function. Update call sites.
19544 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
19546         [BZ #14138]
19547         * sysdeps/unix/sysv/linux/execve.c: Remove file.
19548         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
19550 2014-10-01  Steve Ellcey  <sellcey@mips.com>
19552         * sysdeps/mips/strcmp.S: New.
19554 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
19556         [BZ #14138]
19557         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
19558         (linkat): Likewise.
19559         (mkdirat): Likewise.
19560         (readlinkat): Likewise.
19561         (renameat): Likewise.
19562         (symlinkat): Likewise.
19563         (unlinkat): Likewise.
19564         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
19565         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
19566         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
19567         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
19568         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
19569         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
19570         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
19572 2014-09-30  Will Newton  <will.newton@linaro.org>
19574         * math/math.h: Define long double math functions if
19575         _LIBC_TEST is defined.
19576         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
19578         * localedata/Makefile: Move assignment to tests-special
19579         into an ifdef testing run-built-tests.
19580         * timezone/Makefile: Likewise.
19582 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
19584         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
19585         with $(BASH) not $(SHELL).
19587 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
19588             Matthew LeGendre  <legendre1@llnl.gov>
19590         [BZ #17411]
19591         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
19592         l_reloc_result.
19594 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19596         * stdio-common/printf_fp.c
19597         (hack_digit): New function, broken out of ...
19598         (__printf_fp): ... local function here.  Update call sites.
19599         hack_digit now takes an additional parameter that is a pointer
19600         to a struct of the referenced locals.  Those locals moved inside
19601         the struct and references updated.
19603 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
19605         * aclocal.m4: Require autoconf 2.69.
19606         * configure: Regenerated.
19607         * sysdeps/aarch64/configure: Likewise.
19608         * sysdeps/alpha/configure: Likewise.
19609         * sysdeps/arm/armv7/configure: Likewise.
19610         * sysdeps/arm/configure: Likewise.
19611         * sysdeps/ia64/configure: Likewise.
19612         * sysdeps/mach/configure: Likewise.
19613         * sysdeps/mips/configure: Likewise.
19614         * sysdeps/s390/configure: Likewise.
19615         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
19616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
19618         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
19619         file.
19620         * sysdeps/ia64/configure.ac: Likewise.
19622 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
19624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
19625         specify symbol version for ld.so.  Do not include entry for
19626         libpthread.
19627         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19628         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19629         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19631         [BZ #14171]
19632         * Makeconfig [$(build-shared) = yes]
19633         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
19634         makefiles.
19635         [$(build-shared) = yes && $(soversions.mk-done) = t]
19636         ($(common-objpfx)gnu/lib-names.h): Remove rule.
19637         [$(build-shared) = yes && $(soversions.mk-done) = t]
19638         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
19639         to Makerules.
19640         [$(build-shared) = yes && $(soversions.mk-done) = t]
19641         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
19642         here.
19643         [$(build-shared) = yes && $(soversions.mk-done) = t]
19644         (common-generated): Don't append gnu/lib-names.h and
19645         gnu/lib-names.stmp here.
19646         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
19647         (lib-names-h-abi): New variable.
19648         [$(build-shared) = yes && $(soversions.mk-done) = t]
19649         (lib-names-stmp-abi): Likewise.
19650         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19651         abi-variants] (before-compile): Append
19652         $(common-objpfx)$(lib-names-h-abi).
19653         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19654         abi-variants] (common-generated): Append gnu/lib-names.h.
19655         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19656         abi-variants] (install-others-nosubdir): Depend on
19657         $(inst_includedir)/$(lib-names-h-abi).
19658         [$(build-shared) = yes && $(soversions.mk-done) = t &&
19659         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
19660         [$(build-shared) = yes && $(soversions.mk-done) = t]
19661         ($(common-objpfx)$(lib-names-h-abi)): New rule.
19662         [$(build-shared) = yes && $(soversions.mk-done) = t]
19663         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
19664         [$(build-shared) = yes && $(soversions.mk-done) = t]
19665         (common-generated): Append $(lib-names-h-abi) and
19666         $(lib-names-stmp-abi).
19667         * scripts/lib-names.awk: Do not handle multi being set.
19668         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
19669         Remove variable.
19670         (abi-lp64_be-ld-soname): Likewise.
19671         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
19672         Likewise.
19673         (abi-hard-ld-soname): Likewise.
19674         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
19675         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
19676         Remove variable.
19677         (abi-o32_hard-ld-soname): Likewise.
19678         (abi-o32_soft_2008-ld-soname): Likewise.
19679         (abi-o32_hard_2008-ld-soname): Likewise.
19680         (abi-n32_soft-ld-soname): Likewise.
19681         (abi-n32_hard-ld-soname): Likewise.
19682         (abi-n32_soft_2008-ld-soname): Likewise.
19683         (abi-n32_hard_2008-ld-soname): Likewise.
19684         (abi-n64_soft-ld-soname): Likewise.
19685         (abi-n64_hard-ld-soname): Likewise.
19686         (abi-n64_soft_2008-ld-soname): Likewise.
19687         (abi-n64_hard_2008-ld-soname): Likewise.
19688         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
19689         Likewise.
19690         (abi-64-v2-ld-soname): Likewise.
19691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
19692         ld.so entries.
19693         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
19694         variable.
19695         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
19696         entry.
19697         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
19698         variable.
19699         (abi-64-ld-soname): Likewise.
19700         (abi-x32-ld-soname): Likewise.
19701         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
19702         entry.
19703         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19705 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
19707         [BZ #14138]
19708         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
19709         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
19710         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
19711         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
19712         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
19713         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
19714         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
19715         syscall entry for GLIBC_2.2 symbol version.
19716         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
19717         Likewise.
19718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
19719         (setrlimit): Likewise.
19720         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
19721         Likewise.
19723 2014-09-23  Will Newton  <will.newton@linaro.org>
19725         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
19726         _LINUX_ARM_SYSDEP_H include guard too.
19727         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
19728         define.
19730 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19732         * sysdeps/unix/sysv/linux/eventfd.c:
19733         Make first argument unsigned.
19734         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
19735         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
19737 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
19739         * socket/recvmmsg.c (recvmmsg): Drop const argument.
19740         * socket/sys/socket.h: Likewise
19741         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
19743 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19745         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
19747 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
19749         * time/tst-ftime.c: New test.
19750         * time/Makefile (tests): Add tst-ftime.
19752 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
19754         * soft-fp/extended.h: Fix comment formatting.
19755         * soft-fp/op-1.h: Likewise.
19756         * soft-fp/op-2.h: Likewise.
19757         * soft-fp/op-4.h: Likewise.
19758         * soft-fp/op-8.h: Likewise.
19759         * soft-fp/op-common.h: Likewise.
19760         * soft-fp/soft-fp.h: Likewise.
19762         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
19764 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
19766         [BZ #6652]
19767         * Makeconfig (soversions-default-setname): Remove variable.
19768         ($(common-objpfx)soversions.i): Don't pass default_setname to
19769         soversions.awk.
19770         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
19771         oldest_abi to abi-versions.awk.
19772         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
19773         * config.make.in (oldest-abi): Remove variable.
19774         * configure.ac (--enable-oldest-abi): Remove configure option.
19775         * configure: Regenerated.
19776         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
19777         text.
19778         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
19779         * scripts/soversions.awk: Do not handle default_setname variable.
19780         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
19781         variable.
19782         * sysdeps/mach/hurd/configure: Regenerated.
19783         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
19784         variable.
19785         * sysdeps/unix/sysv/linux/configure: Regenerated.
19787 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19789         * elf/Makefile (CFLAGS-interp.c): Remove.
19790         ($(elf-objpfx)runtime-linker.h): Generate header with linker
19791         path string.
19792         * elf/interp.c: Include generated runtime-linker.h
19794         * Makerules (lib%.so): Don't include $(+interp) in
19795         prerequisites.
19796         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
19797         * dlfcn/eval.c: Remove file.
19799         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
19800         macros.
19802         [BZ #17266]
19803         * misc/sys/cdefs.h: Define __extern_always_inline for clang
19804         4.2 and newer.
19806         [BZ #17370]
19807         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
19809 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19810             Jakub Jelinek  <jakub@redhat.com>
19812         [BZ #17266]
19813         * libio/stdio.h: Check definition of __fortify_function
19814         instead of __extern_always_inline to include bits/stdio2.h.
19815         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
19816         check if __extern_always_inline is defined.
19817         [__USE_MISC || __USE_XOPEN]: Likewise.
19818         [__USE_ISOC99] Likewise.
19819         * misc/sys/cdefs.h (__fortify_function): Define only if
19820         __extern_always_inline is defined.
19821         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
19822         __extern_always_inline and __extern_inline only for g++-4.3
19823         and newer or a compatible gcc.
19825 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
19827         [BZ #17371]
19828         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19829         last change to handle zero prefix length.
19831 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19833         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
19834         _SC_REGEX_VERSION.
19836         * posix/getconf.c (vars): Add _POSIX_IPV6 and
19837         _POSIX_RAW_SOCKETS.
19839 2014-09-13  Allan McRae  <allan@archlinux.org>
19841         * po/ru.po: Update Russian translation from translation project.
19843 2014-09-12  Roland McGrath  <roland@hack.frob.com>
19845         * locale/programs/locale.c (show_locale_vars): Inline local function
19846         into its sole call site.  Clean up some style nits.
19847         (print_item): New function, broken out of ...
19848         (show_info): ... local function here.  Clean up style nits.
19850         * locale/programs/ld-ctype.c (set_one_default): New function, broken
19851         out of ...
19852         (set_class_defaults): ... local function set_default here.
19853         Define set_default as a macro locally to pass constant parameters.
19854         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
19855         rather than a shared local.
19857         * stdlib/rpmatch.c (try): New function, broken out of ...
19858         (rpmatch): ... local function here.  Also, prototypify definition.
19860 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
19862         * scripts/soversions.awk: Do not handle configuration names.
19863         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
19864         vendor and os variables to soversions.awk.
19865         * configure.ac: Do not modify gnu-* host_os.
19866         * configure: Regenerated
19867         * shlib-versions: Remove first column with configuration names.
19868         * nptl/shlib-versions: Likewise.
19869         * nptl_db/shlib-versions: Likewise.
19870         * sysdeps/hppa/shlib-versions: Likewise.
19871         * sysdeps/m68k/shlib-versions: Likewise.
19872         * sysdeps/mach/hurd/shlib-versions: Likewise.
19873         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
19874         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
19875         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
19876         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
19877         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
19878         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
19879         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
19880         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
19881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19882         Likewise.
19883         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19884         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19885         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19886         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19887         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19888         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
19889         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
19890         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
19892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19893         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
19894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
19895         Regenerated.
19896         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
19897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
19898         Condition symbol version definitions on [HAVE_ELFV2_ABI].
19900         * shlib-versions: Remove OS-specific entries.  Moved to files in
19901         sysdeps.
19902         * sysdeps/mach/hurd/shlib-versions: New file.
19903         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
19905         * nptl/shlib-versions: Remove architecture-specific entries.
19906         Moved to files in sysdeps.
19907         * shlib-versions: Likewise.
19908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
19909         file.
19910         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
19911         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
19912         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
19913         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
19915         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
19916         (UDP_NO_CHECK6_RX): Likewise.
19918 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19920         * sysdeps/posix/sysconf.c (__sysconf): Spell
19921         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
19923 2014-08-12  Florian Weimer  <fweimer@redhat.com>
19925         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
19926         loading.
19927         * iconv/Versions (__gconv_transliterate): Export for use from
19928         gconv modules.
19929         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
19930         (struct __gconv_trans_data, __gconv_trans_fct,
19931         __gconv_trans_context_fct, __gconv_trans_query_fct,
19932         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
19933         definitions.
19934         (struct __gconv_step_data): Remove __trans member.
19935         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
19936         longer hidden.  Remove unused trans_data argument.
19937         * iconv/gconv_int.h (struct trans_struct): Remove definition.
19938         (__gconv_translit_find): Remove declaration.
19939         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
19940         prototype.
19941         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
19942         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
19943         trans_data argument.  Add hidden definition.
19944         (__gconv_translit_find): Remove.
19945         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
19946         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
19947         * iconv/skeleton.c: Remove transliteration initialization.
19948         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
19949         __gconv_step_data initialization.
19950         * libio/iofwide.c (__libio_translit_): Remove.
19951         (_IO_fwide): Adjust struct __gconv_step_data initialization.
19952         * wcsmbs/btowc.c (__btowc): Likewise.
19953         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19954         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19955         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
19956         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
19957         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
19958         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
19959         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
19960         * wcsmbs/wctob.c (wctob): Likewise.
19962 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19964         [BZ #16194]
19965         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
19966         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
19967         register usage.
19968         * sysdeps/x86/Makefile: Adjust.
19970 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19971             Roland McGrath  <roland@hack.frob.com>
19973         * locale/weight.h: Add include guard.
19974         (findidx): Make static rather than auto; take new parameters
19975         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
19976         * locale/weightwc.h: Likewise.
19977         * posix/fnmatch_loop.c
19978         (FCT): Change type of EXTRA from int32_t to wint_t.
19979         Don't include either header inside the function.
19980         Call FINDIDX rather than findidx, and pass new arguments.
19981         #undef FINDIDX at the end of the file.
19982         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
19983         FINDIDX before including fnmatch_loop.c for the non-wide version.
19984         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
19985         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
19986         for the wide version.
19987         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
19988         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
19989         Pass new arguments to findidx.
19990         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
19991         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
19992         Don't #include it inside the function.  Pass new arguments to findidx.
19993         * posix/regex_internal.h
19994         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
19995         (re_string_elem_size_at): Don't #include it inside the function.
19996         Pass new arguments to findidx.
19997         * string/strcoll_l.c: #include WEIGHT_H at top level.
19998         (get_next_seq): Don't #include it inside the function.
19999         Pass new arguments to findidx.
20000         (get_next_seq_nocache): Likewise.
20001         * string/strxfrm_l.c: #include WEIGHT_H at top level.
20002         (STRXFRM): Don't #include it inside the function.
20003         Pass new arguments to findidx.
20005 2014-09-11  Florian Weimer  <fweimer@redhat.com>
20007         [BZ #17344]
20008         * malloc/malloc.c (unlink): Turn asserts into a call to
20009         malloc_printerr.
20011 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
20013         [BZ #17370]
20014         * libio/wfileops (do_ftell_wide): Free OUT.
20016 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
20018         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
20020 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20022         [BZ #17363]
20023         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
20024         group if the current group is empty.
20026 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20028         * benchtests/bench-memset.c (test_main): Add more test from size
20029         from 32 to 512 bytes.
20030         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20031         Add POWER8 memset object.
20032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20033         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
20034         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
20035         implementation.
20036         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
20037         Likewise.
20038         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
20039         multiarch POWER8 memset optimization.
20040         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
20041         POWER8 memset optimization.
20043         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
20044         Remove bzero multiarch objects.
20045         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
20046         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
20047         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
20048         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
20049         Remove define.
20050         [__bzero]: Redefine to specific name.
20051         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
20052         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
20053         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
20054         define.
20055         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20056         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20058 2014-09-10  Florian Weimer  <fweimer@redhat.com>
20060         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
20061         warnings into errors.
20063         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
20064         __cxa_thread_atexit_impl prototype.
20066 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20068         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
20069         Fix capitalization of error message.
20071 2014-09-09  Steve Ellcey  <sellcey@mips.com>
20073         * sysdeps/mips/preconfigure: Modify ABI tests.
20075 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
20077         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
20079 2014-09-07  Roland McGrath  <roland@hack.frob.com>
20080             Carlos O'Donell  <carlos@systemhalted.org>
20082         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
20083         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
20084         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
20085         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
20086         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
20087         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
20088         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
20089         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
20090         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
20091         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
20092         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
20093         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
20094         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
20095         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
20096         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
20097         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
20098         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
20099         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
20100         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
20101         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
20102         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
20103         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
20104         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
20105         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
20106         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
20107         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
20108         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
20109         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
20110         Deconditionalize the code that was previously under [RESET_PID].
20111         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
20112         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
20113         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
20114         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
20115         include sysdep.h.
20117 2014-09-08  Allan McRae  <allan@archlinux.org>
20119         * version.h (RELEASE): Set to "development".
20120         (VERSION): Set to "2.20.90"
20122 2014-09-07  Allan McRae  <allan@archlinux.org
20124         * version.h (RELEASE): Set to "stable".
20125         (VERSION): Set to "2.20"
20126         * include/features.h (__GLIBC_MINOR__): Set to 20.
20128         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
20129         Liebler.
20131         * po/ko.po: Update Korean translation from translation project.
20133 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
20135         [BZ #17354]
20136         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
20137         macro for handling signed relocations.
20139 2014-09-03  Florian Weimer  <fweimer@redhat.com>
20141         [BZ #17325]
20142         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
20143         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
20144         assert.
20145         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
20146         * iconvdata/ibm935.c (BODY): Likewise.
20147         * iconvdata/ibm937.c (BODY): Likewise.
20148         * iconvdata/ibm939.c (BODY): Likewise.
20149         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
20150         assert.
20151         * iconvdata/Makefile (iconv-test.out): Pass module list to test
20152         script.
20153         * iconvdata/run-iconv-test.sh: New test loop for checking for
20154         decoder crashers.
20156 2014-09-02  Khem Raj  <raj.khem@gmail.com>
20158         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
20159         libm_hidden_ver.
20161 2014-09-01  Allan McRae  <allan@archlinux.org>
20163         * po/eo.po: Update Esperanto translation from translation project.
20165         * po/ca.po: Update Catalan translation from translation project.
20167 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20169         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
20170         __proc_dostop call.
20172 2014-08-27  Mark Wielaard  <mjw@redhat.com>
20174         [BZ #17319]
20175         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
20176         to call set_thread_area instead of hand written asm.
20177         (__NR_set_thread_area): Removed define.
20178         (TLS_FLAG_WRITABLE): Likewise.
20179         (__ASSUME_SET_THREAD_AREA): Remove check.
20180         (TLS_EBX_ARG): Remove define.
20181         (TLS_LOAD_EBX): Likewise.
20183 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20185         Simplify atomicity of socket creation in bind.
20187         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
20188         looking up the name after linking the file.
20190 2014-08-27  Allan McRae  <allan@archlinux.org>
20192         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
20194 2014-08-26  Florian Weimer  <fweimer@redhat.com>
20196         [BZ #17187]
20197         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
20198         trans_compare, open_translit, __gconv_translit_find):
20199         Remove module loading code.
20201 2014-08-26  Allan McRae  <allan@archlinux.org>
20203         * po/vi.po: Update Vietnamese translation from translation project.
20205         * po/uk.po: Update Ukrainian translation from translation project.
20207         * po/fr.po: Update French translation from translation project.
20209         * po/ru.po: Update Russian translation from translation project.
20211         * po/pl.po: Update Polish translation from translation project.
20213         * po/cs.po: Update Czech translation from translation project.
20215         * po/de.po: Update German translation from translation project.
20217         * po/bg.po: Update Bulgarian translation from translation project.
20219         * po/sv.po: Update Sweedish translation from translation project.
20221         * po/nl.po: Update Dutch translation from translation project.
20223         * po/es.po: Update Spanish translation from translation project.
20225 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20227         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
20229         * catgets/Makefile (CPPFLAGS-gencat): Remove.
20230         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
20231         (CPPFLAGS-iconvconfig): Likewise.
20232         * timezone/Makefile (CPPFLAGS-zic): Likewise.
20234         * include/libc-symbols.h: Remove unnecessary check for
20235         NOT_IN_libc.
20236         * nptl/pthreadP.h: Likewise.
20237         * sysdeps/aarch64/setjmp.S: Likewise.
20238         * sysdeps/alpha/setjmp.S: Likewise.
20239         * sysdeps/arm/sysdep.h: Likewise.
20240         * sysdeps/i386/setjmp.S: Likewise.
20241         * sysdeps/m68k/setjmp.c: Likewise.
20242         * sysdeps/posix/getcwd.c: Likewise.
20243         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20244         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20245         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20246         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20247         * sysdeps/sh/sh3/setjmp.S: Likewise.
20248         * sysdeps/sh/sh4/setjmp.S: Likewise.
20249         * sysdeps/unix/alpha/sysdep.h: Likewise.
20250         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20251         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20252         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20253         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20257         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20258         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20259         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20260         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20261         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20263         * sysdeps/x86_64/setjmp.S: Likewise.
20265 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
20267         [BZ #17263]
20268         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
20269         <stdint.h>.
20270         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
20271         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
20273 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20275         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
20277         [BZ #17262]
20278         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
20279         and __x86_64__ when disabling x87 inline functions.
20281 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
20283         [BZ #17259]
20284         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
20285         asm statement with __cpuid_count.
20287 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
20289         * configure.ac: Change __ehdr_start code to dereference the struct.
20290         Run readelf on the output to look for relocations.
20291         * configure: Regenerated.
20293 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
20295         [BZ #17261]
20296         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
20297         value to 0.
20298         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
20300 2014-08-12  Roland McGrath  <roland@hack.frob.com>
20302         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
20304 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
20306         [BZ #16892]
20307         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
20308         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
20310 2014-08-12  Sean Anderson  <seanga2@gmail.com>
20312         * malloc/malloc.c: Fix typo in comment.
20314 2014-08-09  Allan McRae  <allan@archlinux.org>
20316         * Regenerate libc.po.
20318 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
20320         * intl/tst-gettext2.sh: Check every lang file for creation.
20322 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20324         * sysdeps/aarch64/fpu/math_private.h
20325         (libc_feholdsetround_noex_aarch64_ctx): New function.
20327 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
20329         * sysdeps/arm/armv6/strcpy.S (strcpy):
20330         Fix performance issue in misaligned cases.
20332 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20334         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
20335         Move definition from termios.h.
20336         (struct termio): Likewise.
20337         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20338         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20339         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20340         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20341         Likewise.
20342         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
20343         Move definition to ioctl-types.h
20344         (struct termio): Likewise.
20345         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20346         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
20347         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
20348         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
20349         Likewise.
20351 2014-08-05  Richard Henderson  <rth@redhat.com>
20353         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
20354         exceptions.
20355         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
20356         Add fraiseexcpt.
20357         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
20358         Use __feraiseexcept.
20359         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
20360         Protect libm symbols with IS_IN_libm.
20362         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
20364 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
20366         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
20368 2014-08-04  Will Newton  <will.newton@linaro.org>
20370         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
20371         file.
20373 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
20375         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
20376         variants for each function.
20378 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20380         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
20381         appended ...
20382         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
20383         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
20384         appended ...
20385         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
20386         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
20387         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
20388         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
20389         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
20390         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
20391         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
20392         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
20393         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
20394         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
20395         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
20396         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
20397         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
20398         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
20399         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
20400         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
20401         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
20402         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
20403         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
20404         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
20405         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
20406         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
20407         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
20408         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
20409         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
20410         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
20411         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
20412         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
20413         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
20414         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
20415         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
20416         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
20417         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
20418         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
20419         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
20420         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
20421         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
20422         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
20423         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
20424         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
20425         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
20426         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
20427         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
20428         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
20429         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
20430         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
20431         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
20432         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
20433         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
20434         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
20435         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
20436         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
20437         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
20438         Update #include.
20439         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
20440         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
20442 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20444         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
20445         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
20446         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
20447         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
20448         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
20449         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
20451 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20453         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
20454         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
20455         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
20456         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
20458 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20460         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
20461         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
20462         (__libc_vfork): Define function under this name.
20463         (__vfork): Define as an alias.
20464         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
20465         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
20467 2014-08-04  Roland McGrath  <roland@hack.frob.com>
20469         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
20470         that was previously under [RESET_PID].
20471         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
20473 2014-08-04  Andreas Schwab  <schwab@suse.de>
20475         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
20477 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
20479         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
20480         (main): Likewise.
20482 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20484         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
20486 2014-08-01  Richard Henderon  <rth@redhat.com>
20488         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
20489         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
20490         typo in exact zero test.
20491         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20492         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20493         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20495 2014-08-01  Roland McGrath  <roland@hack.frob.com>
20497         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
20498         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
20499         * sysdeps/arm/sysdep.h: ... here.
20500         [!__ASSEMBLER__]: Include <stdint.h>.
20502 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20504         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
20505         (HAVE_WCTYPE_H): Likewise.
20506         (HAVE_ISWCTYPE): Likewise.
20507         (ENABLE_NLS): Likewise.
20508         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
20509         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
20511         * posix/regex_internal.c: Check if DEBUG is defined and is
20512         set.
20514         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
20515         (HAVE_MBSRTOWCS): Likewise.
20516         * posix/fnmatch.c: Include string.h unconditionally.
20518 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20520         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
20521         reversal.
20523 2014-07-31  Roland McGrath  <roland@hack.frob.com>
20525         * sysdeps/generic/safe-fatal.h: New file.
20526         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
20527         * nptl/forward.c: Include it.
20528         (__pthread_unwind): Use __safe_fatal as default action, rather
20529         than a bogus use of INTERNAL_SYSCALL that could never work.
20531         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
20532         * configure.ac (libc_cv_builtin_trap): New test.
20533         * configure: Regenerated.
20534         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
20535         (ABORT_INSTRUCTION): Define using __builtin_trap.
20537         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
20538         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
20539         * sysdeps/nptl/nptl-signals.h: New file.
20540         * nptl/pthreadP.h: Include <nptl-signals.h>.
20542 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20544         * sysdeps/s390/s390-64/utf16-utf32-z9.c
20545         (ONE_DIRECTION): Define.
20546         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20547         (ONE_DIRECTION): Define.
20548         * sysdeps/s390/s390-64/utf8-utf32-z9.c
20549         (ONE_DIRECTION): Define.
20551 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20553         * sysdeps/s390/Makefile: Delete file.
20554         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
20555         * sysdeps/s390/__longjmp.c: Delete file.
20556         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
20557         Remove fields __flags and __reserved.
20558         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
20559         and add versioning.
20560         * sysdeps/s390/rtld-__longjmp.c: Delete file.
20561         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
20562         * sysdeps/s390/rtld-setjmp.S: Likewise.
20563         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
20564         * sysdeps/s390/s390-32/__longjmp.c: ... here.
20565         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
20566         * sysdeps/s390/s390-32/setjmp.S: ... here.
20567         Add versioning.
20568         (__sigsetjmp): Remove setting __flags field.
20569         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
20570         * sysdeps/s390/s390-64/__longjmp.c: ... here.
20571         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
20572         * sysdeps/s390/s390-64/setjmp.S: ... here.
20573         Add versioning.
20574         (__sigsetjmp): Remove setting __flags field.
20575         * sysdeps/s390/setjmp.S: Delete file.
20576         * sysdeps/s390/sigjmp.c: Likewise.
20577         * sysdeps/s390/v1-longjmp.c: Likewise.
20578         * sysdeps/s390/v1-setjmp.h: Likewise.
20579         * sysdeps/s390/v1-sigjmp.c: Likewise.
20580         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
20581         Remove v1-longjmp_chk.
20582         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
20583         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
20584         Include debug/longjmp_chk.c and add versioning.
20585         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
20586         Include nptl/pt-longjmp.c and add versioning.
20587         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
20588         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
20589         Include __longjmp.c.
20590         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20591         Move to ...
20592         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
20593         (__getcontext): Remove setting __flags field.
20594         Add versioning.
20595         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20596         Don't restore upper high grps.
20597         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
20598         Likewise.
20599         (__swapcontext): Remove setting uc_flags field.
20600         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
20601         Delete file.
20602         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20603         Include __longjmp.c.
20604         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20605         Move to ...
20606         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
20607         (__getcontext): Remove setting __flags field.
20608         Add versioning.
20609         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
20610         (__swapcontext): Remove setting uc_flags field.
20611         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
20612         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
20613         Remove fields uc_high_gprs and __reserved.
20614         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
20615         New file with reverted content.
20616         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
20617         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
20618         Regenerated.
20619         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
20620         Regenerated.
20622 2014-07-31  Andreas Schwab  <schwab@suse.de>
20624         * config.h.in (HAVE_IFUNC): Define to 0.
20625         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
20626         definedness.
20628 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
20630         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20631         memmove-avx-unaligned, memcpy-avx-unaligned and
20632         mempcpy-avx-unaligned.
20633         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20634         Add tests for AVX memcpy functions.
20635         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
20636         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
20637         memcpy_chk.
20638         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
20639         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
20640         memmove_chk.
20641         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
20642         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
20643         mempcpy_chk.
20644         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
20645         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
20646         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
20648 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20650         [BZ #17213]
20651         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
20652         powerpc64le.
20654 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
20656         [BZ #16839]
20657         * manual/llio.texi: Add section about open file description locks.
20658         * manual/examples/ofdlocks.c: Example of open file description
20659         lock usage.
20660         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
20661         F_OFD_SETLK, and F_OFD_SETLKW.
20663 2014-07-23  Allan McRae  <allan@archlinux.org>
20665         * po/es.po: Update Spanish translation from translation project.
20667 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
20669         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
20671 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
20673         [BZ #17078]
20674         * sysdeps/arm/dl-machine.h (elf_machine_rela)
20675         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
20676         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
20678 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
20680         [BZ #17088]
20681         * math/fesetenv.c (__fesetenv)
20682         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
20683         * math/feupdateenv.c (__feupdateenv)
20684         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
20686         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
20687         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20688         (__ASSUME_SOCKETCALL): Do not define.
20690         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
20691         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
20692         (__ASSUME_SOCKETCALL): Do not define.
20693         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
20694         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
20695         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20696         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
20697         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20698         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
20699         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20700         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20702         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
20703         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
20704         (__ASSUME_SOCKETCALL): Do not define.
20705         (__ASSUME_IPC64): Define unconditionally.
20706         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
20707         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20708         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
20709         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20710         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
20711         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20712         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
20713         Likewise.
20715         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
20716         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
20717         (__ASSUME_SOCKETCALL): Do not define.
20718         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
20719         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20720         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20721         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20722         (__ASSUME_REQUEUE_PI): Define unconditionally.
20723         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
20724         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20725         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20726         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
20727         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20728         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20730         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
20731         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
20732         (__ASSUME_SOCKETCALL): Do not define.
20733         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
20734         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20735         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20736         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
20737         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20738         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20740         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
20741         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
20742         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20743         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
20744         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20745         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
20746         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20747         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
20748         (__ASSUME_GETCPU_SYSCALL): Likewise.
20750         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
20751         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
20752         cases for individual architectures.
20753         * sysdeps/gnu/configure: Regenerated.
20754         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
20755         LIBC_SLIBDIR_RTLDDIR.
20756         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
20757         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
20758         LIBC_SLIBDIR_RTLDDIR.
20759         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
20760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
20761         LIBC_SLIBDIR_RTLDDIR.
20762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
20763         Regenerated.
20764         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
20765         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
20766         file.
20767         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
20768         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
20769         file.
20770         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
20771         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
20772         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
20773         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
20775         * sysdeps/aarch64/shlib-versions: Move to ...
20776         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
20777         * sysdeps/alpha/shlib-versions: Move to ...
20778         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
20779         * sysdeps/arm/shlib-versions: Move to ...
20780         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
20781         * sysdeps/hppa/shlib-versions: Move all contents except for
20782         libgcc_s entry to ...
20783         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
20784         entry from ...
20785         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
20786         * sysdeps/ia64/shlib-versions: Move to ...
20787         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
20788         entry from ...
20789         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
20790         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
20791         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
20792         * sysdeps/microblaze/shlib-versions: Move to ...
20793         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
20794         * sysdeps/mips/shlib-versions: Move to ...
20795         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
20796         entry from ...
20797         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
20798         * sysdeps/tile/shlib-versions: Move to ...
20799         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
20800         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
20801         from ...
20802         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
20803         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
20804         entry from ...
20805         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
20807 2014-07-17  Will Newton  <will.newton@linaro.org>
20809         * sysdeps/arm/bits/atomic.h
20810         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
20811         (__arch_compare_and_exchange_bool_16_int): Likewise.
20812         (__arch_compare_and_exchange_bool_64_int): Likewise.
20814         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
20815         into an #else block.
20817 2014-07-16  Roland McGrath  <roland@hack.frob.com>
20819         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
20820         just Linux configurations.  Test empirically that the compiler sets
20821         __ARM_EABI__, rather than using the tuple to decide.
20822         * sysdeps/arm/preconfigure: Regenerated.
20823         * sysdeps/unix/sysv/linux/arm/configure: File removed.
20824         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
20825         contents appended ...
20826         * sysdeps/arm/configure.ac: ... here.
20827         * sysdeps/arm/configure: Regenerated.
20829 2014-07-15  Roland McGrath  <roland@hack.frob.com>
20831         * nptl/pthread_kill.c: New file.
20832         * nptl/pthread_sigmask.c: New file.
20833         * nptl/pthread_sigqueue.c: New file.
20835         * sysdeps/nptl/lowlevellock.h: New file.
20836         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
20837         * sysdeps/nptl/lowlevellock-futex.h: New file.
20839         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
20840         Remove dead declarations.
20842 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
20844         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
20845         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
20846         config-cflags-avx2.
20847         * sysdeps/x86_64/configure.ac: Likewise.
20848         * sysdeps/i386/configure: Regenerated.
20849         * sysdeps/x86_64/configure: Likewise.
20850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20851         memset-avx2 only if config-cflags-avx2 is yes.
20852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20853         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
20854         defined.
20855         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
20856         only if HAVE_AVX2_SUPPORT is defined.
20857         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20859 2014-07-14  Alan Modra  <amodra@gmail.com>
20861         [BZ #17153]
20862         * elf/elf.h (DT_PPC64_NUM): Correct value.
20863         * NEWS: Add to fixed bug list.
20865 2014-07-13  Jim Meyering  <meyering@fb.com>
20867         [BZ 17150]
20868         regex: don't deref NULL upon heap allocation failure
20869         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
20870         failure in one more place.
20871         To trigger the segfault, configure grep -with-included-regex,
20872         build it, and run these commands:
20873         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
20875 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
20877         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20879 2014-07-11  Richard Henderson  <rth@redhat.com>
20881         * sysdeps/aarch64/libm-test-ulps: Update.
20883 2014-07-10  Florian Weimer  <fweimer@redhat.com>
20885         [BZ #17135]
20886         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
20887         * nptl/allocatestack.c (__nptl_setxid_error): New function.
20888         (__nptl_setxid): Initialize error member.  Call
20889         __nptl_setxid_error.
20890         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
20891         * nptl/descr.h (struct xid_command): Add error member.
20892         * nptl/tst-setuid3.c: New file.
20893         * nptl/Makefile (tests): Add it.
20895 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20897         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
20898         New define.
20899         (__lll_trylock): Use __lll_base_trylock.
20900         (__lll_cond_trylock): Likewise.
20902 2014-07-10  Roland McGrath  <roland@hack.frob.com>
20904         * nptl/pthread_create.c (start_thread): Use atomic_or and
20905         lll_futex_wake directly rather than lll_robust_dead.
20906         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20907         (lll_robust_dead): Macro removed.
20908         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
20909         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20910         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20911         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20912         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20913         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20914         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20915         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20916         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20917         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20918         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20919         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20920         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20921         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20922         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20924         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20925         Use atomic_compare_and_exchange_val_acq directly rather than
20926         lll_robust_trylock.
20927         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
20928         (__lll_robust_trylock, lll_robust_trylock): Removed.
20929         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
20930         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
20931         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20932         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20933         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
20934         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
20935         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20936         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
20937         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20938         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20939         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20940         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20941         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20942         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20944 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20946         * manual/locale.texi (Locale Names): New section documenting
20947         locale name syntax.  Adjust menu and node chaining accordingly.
20948         (Choosing Locale): Reference Locale Names, Locale Categories.
20949         Mention setting LC_ALL=C.  Reflect that name syntax is now
20950         documented.
20951         (Locale Categories): New section title.  Reference Locale Names.
20952         LC_ALL is an environment variable, but not a category.
20953         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
20954         description, now in Locale Name.  Reference that section.  Locale
20955         name syntax is now documented.
20957 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20959         [BZ #17137]
20960         * locale/findlocale.c (name_present, valid_locale_name): New
20961         functions.
20962         (_nl_find_locale): Use the loc_name variable to store name
20963         candidates.  Call name_present and valid_locale_name to check and
20964         validate locale names.  Return an error if the locale is invalid.
20966 2014-07-02  Florian Weimer  <fweimer@redhat.com>
20968         * locale/setlocale.c (setlocale): Use strdup for allocating
20969         composite name copy.
20971 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20973         Sync up with gnulib.
20974         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
20975         [!_LIBC && ENABLE_NLS]: Include gettext.h.
20976         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
20977         and _GL_ARG_NONNULL.
20978         [USE_UNLOCKED_IO]: Include unlocked-io.h.
20979         [!_LIBC]: Include code for Windows and Cygwin.
20980         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
20981         Include prototype for int strerror_r.
20982         [!_LIBC] (is_open): New function.
20983         (flush_stdout): New function.
20984         (print_errno_message): Use it.
20985         (error): Likewise.
20986         (error_at_line): Likewise.
20987         (error_tail) Add function attribute macros.  Use
20988         __builtin_expect.
20990         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
20992         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
20994         * io/ftw.c: Include sys/param.h unconditionally.
20996         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
20998         [BZ #17125]
20999         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
21000         libc_freeres_ptr.
21001         (freecache): New function to free CACHE on exit.
21003         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
21004         initialization.
21006 2014-07-09  David S. Miller  <davem@davemloft.net>
21008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21010         * sysdeps/sparc/nptl/internaltypes.h: Delete.
21011         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
21012         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
21013         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
21014         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
21015         * sysdeps/sparc/nptl/sem_init.c: Likewise.
21016         * sysdeps/sparc/nptl/sem_post.c: Likewise.
21017         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
21018         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
21019         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
21020         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
21021         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
21022         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
21024 2014-07-09  Andreas Schwab  <schwab@suse.de>
21026         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
21027         output.
21028         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
21029         (do_test): Likewise.
21031         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21033 2014-07-09  Will Newton  <will.newton@linaro.org>
21035         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
21036         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
21037         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
21038         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
21039         * sysdeps/hppa/start.S (_start): Likewise.
21041 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21043         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
21045         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
21046         defined.
21048 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21050         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
21051         after checking that it is non-NULL.
21053         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
21055 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21057         * sysdeps/powerpc/memmove.c: Remove file.
21058         * sysdeps/powerpc/powerpc32/power4/memcopy.h
21059         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
21060         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21061         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
21062         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
21063         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
21064         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
21065         string memmove instead of removed powerpc one.
21067         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21068         [weak_alias]: Fix compiler warning due trailing data.
21069         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
21070         [weak_alias]: Likewise.
21071         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
21072         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
21074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21075         (__libc_ifunc_impl_list): Add memmove functions.
21077 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21079         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
21080         Remove code.
21081         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
21082         Likewise
21083         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
21084         Likewise
21085         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
21086         Likewise
21087         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
21088         Likewise
21089         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
21090         Likewise
21091         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
21092         Likewise
21093         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
21094         Likewise
21095         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
21096         Likewise
21097         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
21098         Likewise
21099         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
21100         Likewise
21101         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
21102         Likewise
21103         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
21104         Likewise
21105         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
21106         Likewise
21107         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
21108         Likewise
21109         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
21110         Likewise
21111         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
21112         Likewise
21114 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21116         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
21117         to avoid alignment traps in non-cacheable memory.
21118         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21120         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
21121         multiarch objects.
21122         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
21123         file: multiarch power7 memmove.
21124         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
21125         multiarch default memmove.
21126         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
21127         multiarch memove for powerpc32/power4.
21129         * string/bcopy.c: Use full path to include memmove.c.
21130         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
21131         multiarch objects.
21132         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
21133         bcopy for powerpc64.
21134         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
21135         bcopy for powerpc64.
21136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
21137         and memmove implementations.
21138         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
21139         optimized multiarch memmove for POWER7/powerpc64.
21140         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
21141         default multiarch memmove for powerpc64.
21142         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
21143         multiarch for powerpc64.
21144         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
21145         for POWER7/powerpc64.
21146         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
21147         memmove for POWER7/powerpc64.
21149         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
21150         glibc default one.
21152         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
21153         __ELF_NATIVE_CLASS equal to 64.
21155 2014-07-07  Roland McGrath  <roland@hack.frob.com>
21157         * sysdeps/nptl/lowlevellock.h: File removed.
21159         * NEWS: NPTL is no longer an add-on!
21160         * nptl/internaltypes.h: Moved ...
21161         * sysdeps/nptl/internaltypes.h: ... here.
21162         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
21163         * sysdeps/nptl/fork.c: Likewise.
21164         * sysdeps/nptl/gai_misc.h: Likewise.
21165         * sysdeps/nptl/librt-cancellation.c: Likewise.
21166         * sysdeps/nptl/jmp-unwind.c: Likewise.
21167         * sysdeps/nptl/setxid.h: Likewise.
21168         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
21169         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
21170         * sysdeps/unix/sysv/linux/arm/Implies: New file.
21171         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
21172         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
21173         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
21174         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
21175         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
21176         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
21177         * sysdeps/unix/sysv/linux/mips/Implies: New file.
21178         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
21179         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
21180         * sysdeps/unix/sysv/linux/sh/Implies: New file.
21181         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
21182         * sysdeps/unix/sysv/linux/tile/Implies: New file.
21183         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
21184         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
21185         * nptl/Makeconfig: Moved ...
21186         * sysdeps/nptl/Makeconfig: ... here.
21187         * nptl/configure: File removed.
21188         * nptl/ANNOUNCE: File removed.
21189         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
21190         * sysdeps/unix/sysv/linux/configure: Regenerated.
21192         * nptl/Makefile (routines): Add libc_pthread_init,
21193         libc_multiple_threads, register-atfork and unregister-atfork.
21194         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
21195         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
21196         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
21197         pthread-pi-defines.sym, structsem.sym.
21198         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
21199         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
21200         [$(subdir) = nptl] (tests): Add tst-setgetname.
21201         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
21202         * sysdeps/unix/sysv/linux/sigaction.c: Just include
21203         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
21204         [!LIBC_SIGACTION]: Remove aliases.
21205         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
21206         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
21207         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
21208         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
21209         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
21210         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
21211         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21212         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21213         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
21214         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
21215         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
21216         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
21217         __libc_allocate_rtsig_private.
21218         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
21219         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
21220         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
21221         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
21222         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
21223         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
21224         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
21225         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
21226         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
21227         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
21228         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
21229         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
21230         * nptl/internaltypes.h: ... here.
21231         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
21232         * sysdeps/nptl/jmp-unwind.c: ... here.
21233         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
21234         * nptl/libc-lowlevellock.c: ... here.
21235         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
21236         * nptl/libc_multiple_threads.c: ... here.
21237         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
21238         * nptl/libc_pthread_init.c: ... here.
21239         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
21240         * nptl/lowlevelbarrier.sym: ... here.
21241         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
21242         * nptl/lowlevelcond.sym: ... here.
21243         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
21244         * nptl/lowlevellock.c: ... here.
21245         * nptl/lowlevellock.h: Moved ...
21246         * sysdeps/nptl/lowlevellock.h: ... here.
21247         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
21248         * nptl/lowlevelrobustlock.c: ... here.
21249         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
21250         * nptl/lowlevelrobustlock.sym: ... here.
21251         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
21252         * nptl/lowlevelrwlock.sym: ... here.
21253         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
21254         * nptl/pt-fork.c: ... here.
21255         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
21256         * nptl/pthread-pi-defines.sym: ... here.
21257         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
21258         * nptl/pthread_attr_getaffinity.c: ... here.
21259         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
21260         * nptl/pthread_attr_setaffinity.c: ... here.
21261         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
21262         * nptl/pthread_mutex_cond_lock.c: ... here.
21263         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21264         Update #include.
21265         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
21266         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
21267         * nptl/pthread_once.c: ... here, replacing old file.
21268         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
21269         * nptl/pthread_yield.c: ... here.
21270         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
21271         * nptl/register-atfork.c: ... here.
21272         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
21273         * nptl/sem_post.c: ... here.
21274         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
21275         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
21276         * nptl/sem_timedwait.c: ... here.
21277         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
21278         * nptl/sem_trywait.c: ... here.
21279         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
21280         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
21281         * nptl/sem_wait.c: ... here.
21282         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
21283         * nptl/structsem.sym: ... here.
21284         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
21285         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
21286         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
21287         * nptl/unregister-atfork.c: ... here.
21288         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
21289         * nptl/unwindbuf.sym: ... here.
21290         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
21291         * sysdeps/nptl/fork.c: ... here.
21292         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
21293         * sysdeps/nptl/fork.h: ... here.
21294         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
21295         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
21296         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
21297         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
21298         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
21299         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
21300         * sysdeps/unix/sysv/linux/getpid.c: ... here.
21301         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
21302         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
21303         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
21304         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
21305         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
21306         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
21307         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
21308         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
21309         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
21310         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
21311         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
21312         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
21313         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
21314         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
21315         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
21316         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
21317         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
21318         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
21319         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
21320         * sysdeps/unix/sysv/linux/raise.c: ... here.
21321         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
21322         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
21323         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
21324         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
21325         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
21326         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
21327         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
21328         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
21329         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
21330         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
21331         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
21332         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
21333         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
21334         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
21335         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
21337 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21339         * sysdeps/generic/memcopy.h: Add comment for
21340         MEMCPY_OK_FOR_FWD_MEMMOVE.
21342 2014-07-04  Will Newton  <will.newton@linaro.org>
21344         * string/memchr.c: Merge from gnulib.
21345         [_LIBC]: Remove conditionals.
21346         (__ptr_t): Remove define.
21347         (LONG_MAX_32_BITS): Likewise.
21348         (LONG_MAX): Likewise.
21349         (MEMCHR): Use ANSI prototype and optimize algorithm.
21351         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
21353 2014-07-03  Roland McGrath  <roland@hack.frob.com>
21355         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
21356         (lll_futex_timed_wait_bitset): Fix syscall argument count.
21358         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
21359         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
21360         in a bare environment with no <stdlib.h> installed.
21361         * sysdeps/nptl/configure: Regenerated.
21363         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
21365         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
21366         AC_EGREP_CPP for kernel header checks, so they only succeed if
21367         including <linux/version.h> actually works right.
21368         * sysdeps/unix/sysv/linux/configure: Regenerated.
21370         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
21371         value so it's not diagnosed as unused.
21373         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
21374         thing) with "ifeq ($(subdir),rt)".
21376 2014-07-03  Richard Henderson  <rth@redhat.com>
21378         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
21379         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
21380         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
21382         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
21383         (math_force_eval): New.
21385         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
21386         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
21388         * sysdeps/alpha/fpu/s_round.c: Remove file.
21389         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
21391         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
21392         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
21393         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
21394         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
21395         (_dl_start, print_statistics): Likewise.
21396         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
21397         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
21399         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21400         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21401         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21402         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21403         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21404         (HP_SMALL_TIMING_AVAIL): Define.
21405         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21406         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21407         (HP_SMALL_TIMING_AVAIL): Define.
21408         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21409         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
21411         * sysdeps/aarch64/hp-timing.h: New file.
21413         * sysdeps/generic/hp-timing.h: Remove dead comment.
21414         * sysdeps/generic/hp-timing-common.h: New file.
21415         * sysdeps/alpha/hp-timing.h: Include it.
21416         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
21417         * sysdeps/i386/i686/hp-timing.h: Likewise.
21418         * sysdeps/ia64/hp-timing.h: Likewise.
21419         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21420         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21421         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21422         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21423         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
21424         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
21425         (hp_timing_t): New.
21427         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
21428         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
21429         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
21430         * elf/rtld.c (_dl_start_final): Likewise.
21431         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
21432         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21433         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21434         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21435         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21436         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21437         (HP_TIMING_DIFF_INIT): Remove.
21438         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21439         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
21440         (HP_TIMING_DIFF_INIT): Remove.
21441         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
21442         * sysdeps/i386/i686/hp-timing.c: Remove file.
21443         * sysdeps/x86_64/hp-timing.c: Remove file.
21444         * sysdeps/ia64/hp-timing.c: Remove file.
21445         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
21446         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
21447         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
21448         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
21450         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
21451         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
21452         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
21453         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21454         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
21455         (HP_TIMING_ACCUM): Remove.
21456         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21457         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
21458         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
21460         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
21461         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
21462         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
21463         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
21464         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
21465         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21466         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
21467         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
21469         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
21471 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
21473         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
21475 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21477         Sync up with gettext.
21478         * intl/loadmsgcat.c: Define O_BINARY if not defined.
21479         [_MSC_VER]: Include malloc.h
21480         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
21481         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
21482         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
21483         TEMP_FAILURE_RETRY.  Cast return of alloca.
21484         [!_LIBC] Call gl_rwlock_init.
21485         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
21487 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21489         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
21490         before checking its value.
21492 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21494         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
21496         * debug/memcpy_chk.c: Don't include pagecopy.h.
21497         * debug/mempcpy_chk.c: Likewise.
21498         * string/memcpy.c: Likewise.
21499         * string/memmove.c: Likewise.
21500         * sysdeps/powerpc/memmove.c: Likewise.
21501         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
21502         definition of PAGE_COPY_FWD_MAYBE here...
21503         * sysdeps/generic/pagecopy.h: ... from here.
21504         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
21506 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21507             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21509         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
21510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
21511         optimizations.
21512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21513         (__libc_ifunc_impl_list): Likewise.
21514         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
21515         multiarch strcat for PPC64.
21516         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
21517         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
21519 2014-07-02  Roland McGrath  <roland@hack.frob.com>
21521         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
21523 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21525         * intl/loadmsgcat.c: Remove declaration of
21526         get_sysdep_segment_value.
21527         (get_sysdep_segment_value): Use ISO C style.
21528         (_nl_load_domain): Use ISO C style.  Get rid of redundant
21529         semicolon.  Fix typo and formatting in comment.
21530         (_nl_unload_domain): Use ISO C style.
21532         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
21534 2014-07-02  Will Newton  <will.newton@linaro.org>
21536         * malloc/obstack.c: Merge from gnulib master.
21537         [HAVE_CONFIG_H]: Remove conditional code.
21538         [!_LIBC]: Include config.h.
21539         [!ELIDE_CODE]: Don't include inttypes.h, include
21540         stdint.h unconditionally.
21541         (print_and_abort): Mark as _Noreturn.
21542         (_obstack_allocated_p): Mark as __attribute_pure__.
21543         (obstack_free): Rename to __obstack_free.
21544         [!__attribute__]: Remove conditional code.
21545         * malloc/obstack.h: Merge from gnulib master.
21546         [__cplusplus]: Move conditional down.
21547         [!__attribute_pure__]: Define __attribute_pure__ here
21548         if it is not already defined.
21549         (_obstack_memory_used): Mark as __attribute_pure__.
21550         [!__obstack_free]: Define as obstack_free.
21551         [__GNUC__]: Remove check for ancient NeXT gcc.
21553 2014-07-02  Will Newton  <will.newton@linaro.org>
21554             Paul Eggert  <eggert@cs.ucla.edu>
21556         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
21558 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21560         * resolv/gethnamaddr.c: Add comment warning that the file is
21561         not maintained.
21563 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
21565         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
21566         entries.
21568         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
21569         entry for aio_cancel and aio_cancel64.
21570         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
21571         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
21572         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
21573         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
21574         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
21575         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
21576         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
21577         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
21578         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
21579         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
21580         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
21581         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
21582         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
21584 2014-07-01  Roland McGrath  <roland@hack.frob.com>
21586         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
21587         * nptl/pthread_mutex_lock.c: Likewise.
21588         * nptl/pthread_mutex_timedlock.c: Likewise.
21589         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
21591 2014-07-01  Richard henderson  <rth@redhat.com>
21593         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
21594         (__isnan, __isnanl): Remove.
21595         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
21597         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21599 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21601         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21603 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21605         * resolv/nss_dns/dns-host.c (getanswer_r)
21606         [MULTI_PTRS_ARE_ALIASES]: Remove code.
21608 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
21610         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21611         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
21612         undefine.
21613         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
21614         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
21616 2014-07-01  Roland McGrath <roland@hack.frob.com>
21618         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
21619         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
21621         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
21622         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
21624         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
21625         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
21626         ... here.
21627         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
21628         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
21630         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
21631         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
21632         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
21633         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
21635         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
21636         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
21637         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
21638         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
21639         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
21640         Moved ...
21641         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
21642         ... here.
21643         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
21644         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
21645         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
21646         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
21647         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
21648         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
21649         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
21650         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
21651         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
21652         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
21653         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
21654         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
21655         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
21656         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
21657         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
21658         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
21659         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
21660         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
21661         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
21662         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
21663         ... here.
21664         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
21665         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
21666         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
21667         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
21668         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
21669         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
21670         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
21671         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
21673 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
21675         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
21676         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
21677         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
21678         Add sysdep.
21680 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21684 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
21686         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21687         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21689         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21691         * sysdeps/arm/libm-test-ulps: Regenerated.
21693 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
21694             Roland McGrath <roland@hack.frob.com>
21696         * test-skeleton.c (signal_handler): Kill the whole process group
21697         before killing the child individually.
21698         (main): Report any failure on `setpgid'.
21700 2014-06-30  Roland McGrath  <roland@hack.frob.com>
21702         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
21703         from _TLS_H to _ARM_NPTL_TLS_H.
21704         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
21705         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
21707 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
21709         [BZ #16539]
21710         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
21711         (__expm1l): Return argument unchanged when small but not
21712         subnormal.
21714         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
21715         include macro name.
21716         (_FP_UNPACK_RAW_1_P): Likewise.
21717         (_FP_PACK_RAW_1): Likewise.
21718         (_FP_PACK_RAW_1_P): Likewise.
21719         (_FP_MUL_MEAT_1_wide): Likewise.
21720         (_FP_MUL_MEAT_DW_1_hard): Likewise.
21721         (_FP_MUL_MEAT_1_hard): Likewise.
21722         (_FP_DIV_MEAT_1_imm): Likewise.
21723         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
21724         (_FP_DIV_MEAT_1_udiv): Likewise.
21725         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
21726         (_FP_UNPACK_RAW_2): Likewise.
21727         (_FP_UNPACK_RAW_2_P): Likewise.
21728         (_FP_PACK_RAW_2): Likewise.
21729         (_FP_PACK_RAW_2_P): Likewise.
21730         (_FP_MUL_MEAT_DW_2_wide): Likewise.
21731         (_FP_MUL_MEAT_2_wide): Likewise.
21732         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
21733         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
21734         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
21735         (_FP_MUL_MEAT_2_gmp): Likewise.
21736         (_FP_DIV_MEAT_2_udiv): Likewise.
21737         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
21738         (_FP_FRAC_SRL_4): Likewise.
21739         (_FP_FRAC_SRST_4): Likewise.
21740         (_FP_FRAC_SRS_4): Likewise.
21741         (_FP_UNPACK_RAW_4): Likewise.
21742         (_FP_UNPACK_RAW_4_P): Likewise.
21743         (_FP_PACK_RAW_4): Likewise.
21744         (_FP_PACK_RAW_4_P): Likewise.
21745         (_FP_MUL_MEAT_DW_4_wide): Likewise.
21746         (_FP_MUL_MEAT_4_wide): Likewise.
21747         (_FP_MUL_MEAT_4_gmp): Likewise.
21748         (umul_ppppmnnn): Likewise.
21749         (_FP_DIV_MEAT_4_udiv): Likewise.
21750         (__FP_FRAC_ADD_4): Likewise.
21751         (__FP_FRAC_SUB_3): Likewise.
21752         (__FP_FRAC_SUB_4): Likewise.
21753         (__FP_FRAC_DEC_3): Likewise.
21754         (__FP_FRAC_DEC_4): Likewise.
21755         (__FP_FRAC_ADDI_4): Likewise.
21756         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
21757         (_FP_FRAC_SRL_8): Likewise.
21758         (_FP_FRAC_SRS_8): Likewise.
21760         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
21761         include macro name.
21762         (FP_UNPACK_RAW_EP): Likewise.
21763         (FP_PACK_RAW_E): Likewise.
21764         (FP_PACK_RAW_EP): Likewise.
21765         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
21766         (_FP_ISSIGNAN): Likewise.
21767         (_FP_ADD_INTERNAL): Likewise.
21768         (_FP_FMA): Likewise.
21769         (_FP_CMP): Likewise.
21770         (_FP_SQRT): Likewise.
21771         (_FP_TO_INT): Likewise.
21772         (_FP_FROM_INT): Likewise.
21773         (FP_EXTEND): Likewise.
21774         (_FP_DIV_MEAT_N_loop): Likewise.
21776 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
21778         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
21779         throughout.
21781 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
21783         [BZ #17097]
21784         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
21785         result with correct sign in case of exponents that produce
21786         overflow except for X very close to 1.
21788 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
21790         mktime: merge #if/#ifdef usage from glibc
21791         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
21792         as that works with both Glibc's and Gnulib's style.
21793         See thread starting at Siddhesh Poyarekar's bug report at:
21794         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
21796 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21798         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
21799         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
21800         * sysdeps/tile/tilegx/memmove.c: Remove file.
21802 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21804         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
21805         abi-name definition.
21806         * scripts/soversions.awk: Do not handle or generate ABI lines.
21807         * shlib-versions: Remove ABI entries.
21808         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
21809         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
21811 2014-06-27  Roland McGrath  <roland@hack.frob.com>
21813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
21814         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
21815         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
21816         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
21817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
21818         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
21819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
21820         Moved ...
21821         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
21822         ... here.
21823         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
21824         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
21825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
21826         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
21827         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
21828         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
21829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
21830         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
21831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
21832         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
21833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
21834         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
21835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
21836         Moved ...
21837         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
21838         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
21839         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
21840         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
21841         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
21842         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
21843         Moved ...
21844         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
21845         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
21846         Moved ...
21847         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
21848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
21849         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
21850         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
21851         Moved ...
21852         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
21853         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
21854         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
21855         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
21856         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
21857         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
21858         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
21859         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
21860         Moved ...
21861         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
21862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
21863         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
21864         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
21865         Moved ...
21866         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
21867         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
21868         Moved ...
21869         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
21870         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
21871         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
21872         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
21873         Moved ...
21874         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
21875         ... here.
21876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
21877         Identical file removed.
21878         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
21879         Moved ...
21880         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
21881         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
21882         Identical file removed.
21883         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
21884         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
21885         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
21886         Moved ...
21887         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
21888         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
21889         Identical file removed.
21890         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
21891         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
21892         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
21893         Identical file removed.
21894         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
21895         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
21896         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
21897         Identical file removed.
21898         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
21899         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
21900         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
21901         Identical file removed.
21902         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
21903         Moved ...
21904         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
21905         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
21906         Identical file removed.
21907         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
21908         Moved ...
21909         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
21910         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
21911         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
21912         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
21913         Identical file removed.
21914         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
21915         Moved ...
21916         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
21917         ... here.
21918         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
21919         Identical file removed.
21920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
21921         Moved ...
21922         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
21923         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
21924         Identical file removed.
21925         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
21926         Moved ...
21927         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
21928         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
21929         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
21930         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
21931         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
21932         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
21933         Moved ...
21934         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
21935         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
21936         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
21938         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
21939         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
21940         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
21941         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
21942         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
21944 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
21946         [BZ #17092]
21947         * nscd/nscd.c (monitor_child): Return exit status of child
21948         instead of return value from wait syscall.
21950 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
21952         * configure.ac (libc_commonpagesize): Remove variable.
21953         (libc_relro_required): Likewise.
21954         (libc_cv_z_relro): Remove configure test.
21955         * configure: Regenerated.
21956         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
21957         variable.
21958         (libc_relro_required): Likewise.
21959         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
21960         (libc_relro_required): Likewise.
21961         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
21962         (libc_relro_required): Likewise.
21963         * sysdeps/arm/preconfigure: Regenerated.
21964         * sysdeps/ia64/preconfigure: Remove file.
21965         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
21966         variable.
21967         (libc_relro_required): Likewise.
21969         [BZ #16561]
21970         [BZ #16562]
21971         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
21972         (__ieee754_yn): Set FE_TONEAREST mode internally and then
21973         recompute overflowing results in original rounding mode.
21974         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
21975         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
21976         recompute overflowing results in original rounding mode.
21977         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
21978         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21979         recompute overflowing results in original rounding mode.
21980         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
21981         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21982         recompute overflowing results in original rounding mode.
21983         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
21984         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
21985         recompute overflowing results in original rounding mode.
21986         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
21987         (libc_feholdsetround_ctx): New macro.
21988         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
21989         * sysdeps/i386/fpu/libm-test-ulps: Update.
21990         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
21992 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
21994         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
21995         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
21996         corresponding .cpsetup call.
21998 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22000         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
22001         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
22002         * sysdeps/arm/Makefile [$(subdir) = csu]
22003         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
22004         (static-only-routines): Add aeabi_read_tp here.
22005         (shared-only-routines): Add libc-aeabi_read_tp here.
22006         (CFLAGS-libc-start.c): Add -fexceptions here.
22007         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
22008         (sysdep_routines, static-only-routines, shared-only-routines):
22009         Don't add to these here.
22010         (CFLAGS-libc-start.c): Likewise.
22012         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
22013         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
22014         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
22015         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
22016         * sysdeps/arm/Makefile [$(subdir) = rt]
22017         (librt-sysdep_routines, librt-shared-only-routines):
22018         Append rt-aeabi_unwind_cpp_pr1 here.
22019         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
22020         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
22021         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
22022         (libpthread-sysdep_routines, libpthread-shared-only-routines):
22023         Append nptl-aeabi_unwind_cpp_pr1 here.
22024         (tests): Filter out tst-cleanupx4 here.
22025         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
22026         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
22027         Don't do those here.
22029 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22031         * scripts/list-sources.sh: Do not handle ports specially.
22033 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22035         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
22036         * sysdeps/arm/feupdateenv.c: Likewise.
22038         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
22040 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22042         * manual/texinfo.tex: Update to version 2014-05-05.10 with
22043         trailing whitespace removed.
22044         * scripts/config.guess: Update to version 2014-03-23.
22045         * scripts/config.sub: Update to version 2014-05-01
22046         * scripts/install-sh: Update to version 2013-12-25.23.
22047         * scripts/move-if-change: Update from gnulib.
22049 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22051         * debug/memmove_chk.c: Remove pagecopy.h include.
22053 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
22055         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
22056         identical to gnulib mktime.
22058 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
22060         * configure.ac: Do not test for machine being rs6000.  Do not test
22061         for powerpc*-*soft.
22062         * configure: Regenerated.
22064         [BZ #11505]
22065         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
22066         test.
22067         * configure: Regenerated.
22068         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
22069         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
22070         Remove configure test.
22071         * sysdeps/arm/configure: Regenerated.
22072         * sysdeps/nptl/configure.ac: Do not check
22073         libc_cv_asm_cfi_directives.
22074         * sysdeps/nptl/configure: Regenerated.
22075         * sysdeps/x86_64/nptl/configure.ac: Remove file.
22076         * sysdeps/x86_64/nptl/configure: Remove generated file.
22077         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
22078         unconditional.
22079         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
22081 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22083         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
22084         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
22085         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
22086         it is defined.
22088         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
22089         instead of whether it is defined.
22090         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
22091         * sysdeps/hppa/dl-machine.h: Likewise.
22092         * sysdeps/ia64/dl-machine.h: Likewise.
22093         * sysdeps/m68k/dl-machine.h: Likewise.
22094         * sysdeps/microblaze/dl-machine.h: Likewise.
22095         * sysdeps/mips/dl-machine.: Likewise.
22096         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22097         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22098         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22099         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22100         * sysdeps/sh/dl-machine.h: Likewise.
22101         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22102         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22103         * sysdeps/tile/dl-machine.h: Likewise.
22104         * sysdeps/x86_64/dl-machine.h: Likewise.
22106         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
22107         code.
22108         (verify_persistent_db): Likewise.
22110 2014-06-26  Roland McGrath  <roland@hack.frob.com>
22112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
22113         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
22114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
22115         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
22116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22117         Moved ...
22118         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
22119         ... here.
22120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
22121         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
22122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
22123         Identical file removed.
22124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
22125         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
22126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
22127         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
22128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
22129         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
22130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
22131         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
22132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
22133         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
22134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22135         Moved ...
22136         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
22137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
22138         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
22139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
22140         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
22141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22142         Moved ...
22143         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
22144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
22145         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
22146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
22147         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
22148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22149         Identical file removed.
22150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
22151         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
22152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
22153         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
22154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22155         Moved ...
22156         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
22157         ... here.
22158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
22159         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
22160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
22161         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
22162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
22163         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
22164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
22165         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
22166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
22167         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
22168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22169         Moved ...
22170         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
22171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
22172         Moved ...
22173         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
22174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
22175         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
22176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22177         Moved ...
22178         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
22179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
22180         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
22182         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
22183         folded into ...
22184         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
22185         * sysdeps/unix/sysv/linux/s390/Versions
22186         (libpthread: GLIBC_2.19): New version set.
22187         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
22188         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
22189         (librt: GLIBC_2.3.3): New version set.
22190         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
22191         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
22192         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
22193         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
22194         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
22195         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
22196         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
22197         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
22198         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
22199         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
22200         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
22201         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
22202         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
22203         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
22204         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
22205         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
22206         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
22207         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
22208         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
22209         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
22210         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
22211         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
22212         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
22213         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
22214         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
22215         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
22216         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
22217         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
22218         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
22219         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
22220         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
22221         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
22222         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
22223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
22224         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
22225         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
22226         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
22227         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
22228         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
22229         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
22230         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
22231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
22232         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
22233         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
22234         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
22236         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
22237         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
22238         (__libc_vfork): Define the function under this name.
22239         [!NOT_IN_libc] (__vfork): Make this an alias.
22240         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22241         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
22242         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
22243         (__libc_vfork): Define the function under this name.
22244         [!NOT_IN_libc] (__vfork): Make this an alias.
22245         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
22246         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
22247         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
22248         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
22249         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
22250         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22252         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
22253         code that was previously under [RESET_PID].
22254         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
22255         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
22256         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
22258         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
22259         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
22260         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
22261         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
22262         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
22263         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
22264         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
22265         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
22266         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
22267         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
22268         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
22269         Moved ...
22270         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
22271         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
22272         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
22273         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
22274         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
22275         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
22276         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
22277         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
22278         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
22279         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
22280         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
22281         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
22282         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
22283         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
22284         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
22285         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
22286         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
22287         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
22288         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
22289         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
22290         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
22291         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
22292         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
22293         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
22294         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
22295         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
22296         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
22297         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
22298         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
22300 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22302         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
22303         that was previously under [RESET_PID].
22304         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
22306 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22308         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
22309         not undefine and redefine.
22310         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
22311         [O_CLOEXEC]: Make code unconditional.
22312         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
22313         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
22314         <kernel-features.h>.
22315         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
22316         conditional variable definition.
22317         (shm_open) [O_CLOEXEC]: Make code unconditional.
22318         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
22319         code.
22321         * configure.ac (USE_REGPARMS): Don't define here.
22322         * configure: Regenerated.
22323         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
22324         * sysdeps/i386/configure: Regenerated.
22326         * nptl/createthread.c: Don't include kernel-features.h.
22327         * nptl/pthread_cancel.c: Likewise.
22328         * nptl/pthread_condattr_setclock.c: Likewise.
22329         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
22330         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
22331         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
22332         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
22333         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
22334         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
22335         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22336         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
22337         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22338         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
22339         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
22340         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
22341         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
22342         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
22343         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
22344         * nscd/gai.c: Likewise.
22345         * nss/nss_db/db-open.c: Likewise.
22346         * sysdeps/generic/ldsodefs.h: Likewise.
22347         * sysdeps/sh/nptl/tls.h: Likewise.
22348         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22349         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
22350         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
22351         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
22352         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
22353         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22354         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
22355         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22356         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22357         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22358         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22359         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22360         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
22361         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
22362         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
22363         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
22364         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
22365         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
22366         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
22367         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
22368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22369         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22370         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
22371         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
22372         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22373         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22374         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
22375         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
22376         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22377         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
22378         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
22379         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
22380         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
22381         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
22382         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22383         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22384         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
22385         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
22386         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
22387         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
22388         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22389         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
22390         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
22391         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22392         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
22393         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
22394         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
22395         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
22396         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
22397         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22398         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22399         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22400         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22401         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22402         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
22403         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22404         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22405         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
22406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
22408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
22409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
22410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
22411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
22417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
22418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
22419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
22420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
22426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
22427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
22428         * sysdeps/unix/sysv/linux/pread.c: Likewise.
22429         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
22430         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
22431         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
22432         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
22433         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
22434         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
22435         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
22436         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
22437         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22438         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
22439         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22440         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
22441         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
22442         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
22443         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
22444         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22445         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
22446         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
22447         * sysdeps/unix/sysv/linux/system.c: Likewise.
22448         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
22449         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22450         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22451         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22452         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22453         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22454         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22456         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
22457         * configure: Regenerated.
22458         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
22460         * configure.ac (base_machine): Do not set specially for particular
22461         machines here.
22462         * configure: Regenerated.
22463         * sysdeps/powerpc/preconfigure: Move machine and base_machine
22464         settings from configure.ac.
22465         * sysdeps/i386/preconfigure: New file.
22466         * sysdeps/s390/preconfigure: Likewise.
22467         * sysdeps/sh/preconfigure: Likewise.
22468         * sysdeps/sparc/preconfigure: Likewise.
22470 2014-06-25  Roland McGrath  <roland@hack.frob.com>
22472         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
22473         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
22474         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
22475         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
22476         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
22477         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
22478         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
22479         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
22480         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
22481         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
22482         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
22483         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
22484         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
22485         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
22486         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
22487         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
22488         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
22489         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
22490         * sysdeps/sparc/sparc64/Makefile: ... appended here.
22492         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
22493         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
22494         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
22495         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
22496         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
22497         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
22498         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
22499         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
22500         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
22501         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
22502         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
22503         * sysdeps/sparc/sparc32/sem_post.c: ... here.
22504         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
22505         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
22506         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
22507         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
22508         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
22509         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
22510         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
22511         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
22512         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
22513         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
22514         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
22515         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
22516         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
22517         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
22518         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
22519         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
22520         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
22521         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
22522         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
22523         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
22524         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
22525         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
22526         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
22527         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
22528         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
22529         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
22531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
22532         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
22533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
22534         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
22535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22536         Moved ...
22537         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
22538         ... here.
22539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
22540         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
22541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
22542         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
22543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
22544         Moved ...
22545         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
22546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
22547         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
22548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
22549         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
22550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
22551         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
22552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22553         Moved ...
22554         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
22555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22556         Moved ...
22557         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
22558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
22559         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
22560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22561         Moved ...
22562         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
22563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
22564         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
22565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
22566         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
22567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
22568         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
22569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
22570         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
22571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22572         Moved ...
22573         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
22574         ... here.
22575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
22576         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
22577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
22578         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
22579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
22580         Moved ...
22581         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
22582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
22583         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
22584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
22585         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
22586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
22587         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
22588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22589         Moved ...
22590         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
22591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22592         Moved ...
22593         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
22594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
22595         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
22596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22597         Moved ...
22598         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
22599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
22600         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
22601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
22602         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
22604 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22606         * timezone/checktab.awk: Update from tzcode 2014e.
22607         * timezone/private.h: Likewise.
22608         * timezone/tzfile.h: Likewise.
22609         * timezone/zdump.c: Likewise.
22610         * timezone/zic.c: Likewise.
22612         * sysdeps/unix/sysv/linux/kernel-features.h
22613         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
22614         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
22615         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
22616         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22617         Remove conditional code.
22619 2014-06-25  Will Newton  <will.newton@linaro.org>
22621         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
22622         (_dl_arm_cap_flags): Add HWCAP2 values.
22623         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
22624         (_DL_HWCAP_COUNT): Increase to 37.
22625         (_DL_HWCAP_LAST): New define.
22626         (_DL_HWCAP2_LAST): New define.
22627         (_dl_procinfo): Add support for printing
22628         AT_HWCAP2 entries.
22629         (_dl_string_hwcap): Use _dl_hwcap_string.
22631 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22635 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
22637         * README: Do not mention ports directory.
22639         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
22640         Remove macro.
22641         * sysdeps/unix/sysv/linux/futimes.c: Do not include
22642         <kernel-features.h>.
22643         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
22644         conditional variable definition.
22645         (__futimes): Update comment.
22646         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
22647         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
22649         [BZ #16560]
22650         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
22651         arguments close to 0.
22652         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
22653         Likewise.
22654         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
22655         Likewise.
22656         * math/auto-libm-test-in: Add more tests of exp10.
22657         * math/auto-libm-test-out: Regenerated.
22658         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22660         * sysdeps/unix/sysv/linux/kernel-features.h
22661         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
22662         * sysdeps/unix/sysv/linux/readv.c: Do not include
22663         <kernel-features.h>.
22664         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
22665         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
22666         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
22667         unconditional.
22668         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
22669         conditional code.
22670         * sysdeps/unix/sysv/linux/writev.c: Do not include
22671         <kernel-features.h>.
22672         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
22673         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
22674         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
22675         unconditional.
22676         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
22677         conditional code.
22679 2014-06-25  Will Newton  <will.newton@linaro.org>
22681         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
22682         comment changes throughout the file.  Remove checks
22683         for HAVE_*_H definitions that are not required.
22684         (__gen_tempname): Call abort if an unknown kind value is
22685         passed.
22687 2014-06-25  Andreas Schwab  <schwab@suse.de>
22689         [BZ #17086]
22690         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
22691         scalbln, scalblnf, scalblnl in libc.
22693 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22695         [BZ #17086]
22696         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
22697         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
22698         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
22700 2014-06-24  Roland McGrath  <roland@hack.frob.com>
22702         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
22703         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
22704         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
22705         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
22706         Update #include.
22707         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
22708         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
22709         Update #include.
22710         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
22711         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
22712         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
22713         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
22714         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
22715         * sysdeps/x86/bits/pthreadtypes.h: ... here.
22716         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
22717         * sysdeps/x86/bits/semaphore.h: ... here.
22718         * sysdeps/x86/nptl/elide.h: Moved ...
22719         * sysdeps/x86/elide.h: ... here.
22720         * sysdeps/x86_64/nptl/Implies: File removed.
22721         * sysdeps/i386/nptl/Implies: File removed.
22723 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
22725         [BZ #16539]
22726         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
22727         return the argument for normal arguments with exponent below -64.
22728         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22729         Likewise.
22730         * math/auto-libm-test-in: Add another test of expm1.
22731         * math/auto-libm-test-out: Regenerated.
22733         [BZ #16287]
22734         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
22735         calling __erfcl for arguments at least 16.
22736         * math/auto-libm-test-in: Add more tests of erf.
22737         * math/auto-libm-test-out: Regenerated.
22739         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
22740         individual architectures.
22741         * sysdeps/unix/sysv/linux/configure: Regenerated.
22742         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
22743         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
22744         * sysdeps/unix/sysv/linux/powerpc/configure.ac
22745         (ldd_rewrite_script): Define variable.
22746         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
22748         file.
22749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
22750         generated file.
22751         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
22752         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
22753         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
22754         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
22755         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
22756         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
22757         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
22758         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
22760 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22762         [BZ #17084]
22763         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
22764         Rename member __data.d to __data.__elision_data.
22766 2014-06-24  Wilco  <wdijkstr@arm.com>
22768         * NEWS: Add 16918 to fixed bug list.
22770 2014-06-24  Wilco  <wdijkstr@arm.com>
22772         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
22774 2014-06-24  Wilco  <wdijkstr@arm.com>
22776         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
22777         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
22778         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
22779         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
22780         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
22781         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
22782         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
22783         Use _FPU_MASK_RM.
22785 2014-06-24  Wilco  <wdijkstr@arm.com>
22787         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
22789 2014-06-24  Wilco  <wdijkstr@arm.com>
22791         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
22792         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
22793         * sysdeps/arm/fesetround.c (fesetround): Remove space.
22794         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
22796 2014-06-24  Wilco  <wdijkstr@arm.com>
22798         [BZ #16918]
22799         * sysdeps/arm/feupdateenv.c (feupdateenv):
22800         Rewrite to reduce FPSCR accesses and fix return value.
22802 2014-06-24  Wilco  <wdijkstr@arm.com>
22804         * sysdeps/arm/fclrexcpt.c (feclearexcept):
22805         Optimize to avoid unnecessary FPSCR writes.
22806         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
22807         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
22808         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
22809         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
22811 2014-06-24  Wilco  <wdijkstr@arm.com>
22813         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
22814         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
22815         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
22816         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
22817         Call libc_fetestexcept_vfp.
22818         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
22819         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
22820         __SOFTFP__ ifdef so that they can be built for softfp.
22822 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22824         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
22825         argument type signed char.
22827         * Makerules (check-abi): Dump diff of symlist if the test
22828         fails.
22830 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22832         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
22833         using abort.
22835         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
22836         Remove unused variable ST.
22838 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
22840         [BZ #16354]
22841         [BZ #17061]
22842         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
22843         small arguments before calling __expm1.
22844         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
22845         small arguments before calling __expm1f.
22846         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
22847         small arguments before calling __expm1l.
22848         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22849         Likewise.
22850         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
22851         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
22852         spurious underflow for some cosh tests.
22853         * math/auto-libm-test-out: Regenerated.
22854         * sysdeps/i386/fpu/libm-test-ulps: Update.
22856         [BZ #17050]
22857         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
22858         (__ieee754_y1): Set errno if return value overflows.
22859         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
22860         (__ieee754_y1f): Set errno if return value overflows.
22861         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
22862         (__ieee754_y1l): Set errno if return value overflows.
22863         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
22864         (__ieee754_y1l): Set errno if return value overflows.
22865         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
22866         * math/auto-libm-test-out: Regenerated.
22868         * math/gen-auto-libm-tests.c: Document use of
22869         ignore-zero-inf-sign.
22870         (input_flag_type): Add value flag_ignore_zero_inf_sign.
22871         (input_flags): Add ignore-zero-inf-sign.
22872         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
22873         * math/gen-libm-test.pl (generate_testfile): Handle
22874         ignore-zero-inf-sign.
22875         * math/auto-libm-test-in: Mark some cpow tests with
22876         ignore-zero-inf-sign and some with xfail-rounding.
22877         * math/auto-libm-test-out: Regenerated.
22878         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
22879         * sysdeps/i386/fpu/libm-test-ulps: Update.
22880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22882         [BZ #16315]
22883         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
22884         overflowing or underflowing operations take place with sign of
22885         result.
22886         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22887         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22888         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
22889         (__ieee754_pow): Recompute overflowing and underflowing results in
22890         original rounding mode.
22891         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
22892         (__powl_helper): Allow negative argument X and scale negated value
22893         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
22894         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
22895         overflowing or underflowing operations take place with sign of
22896         result.
22897         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
22898         Include <math.h>.
22899         * math/auto-libm-test-in: Add more tests of pow.
22900         * math/auto-libm-test-out: Regenerated.
22901         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
22902         (pow_tonearest_test_data): Remove.
22903         (pow_test_tonearest): Likewise.
22904         (pow_towardzero_test_data): Likewise.
22905         (pow_test_towardzero): Likewise.
22906         (pow_downward_test_data): Likewise.
22907         (pow_test_downward): Likewise.
22908         (pow_upward_test_data): Likewise.
22909         (pow_test_upward): Likewise.
22910         (main): Don't call removed functions.
22911         * sysdeps/i386/fpu/libm-test-ulps: Update.
22912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22914 2014-06-23  Roland McGrath  <roland@hack.frob.com>
22916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
22917         Moved ...
22918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
22919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22920         Moved ...
22921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
22922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22923         Moved ...
22924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
22925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22926         Moved ...
22927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
22928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22929         File removed.
22930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22931         File removed.
22932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
22933         File removed.
22934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
22935         File removed.
22936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
22937         File removed.
22938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
22939         File removed.
22940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
22941         File removed.
22942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22943         File removed.
22944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
22945         File removed.
22946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22947         File removed.
22948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
22949         File removed.
22950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
22951         File removed.
22952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
22953         Moved ...
22954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
22955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
22956         Moved ...
22957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
22958         ... here.
22959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
22960         Moved ...
22961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
22962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
22963         Moved ...
22964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
22965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
22966         Moved ...
22967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
22968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
22969         Moved ...
22970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
22971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
22972         Moved ...
22973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
22974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
22975         Moved ...
22976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
22977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
22978         Moved ...
22979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
22980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
22981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
22982         ... here.
22983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
22984         Moved ...
22985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
22986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22987         Moved ...
22988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22989         ... here.
22990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
22991         Moved ...
22992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22993         ... here.
22994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22995         Moved ...
22996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
22997         ... here.
22998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22999         Moved ...
23000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
23001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23002         Moved ...
23003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
23004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
23005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
23006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23007         Moved ...
23008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
23009         ... here.
23010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23011         Moved ...
23012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
23013         ... here.
23014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23015         Moved ...
23016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
23017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23018         Moved ...
23019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
23020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23021         Moved ...
23022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
23023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23024         Moved ...
23025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
23026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23027         Moved ...
23028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
23029         ... here.
23030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23031         Moved ...
23032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
23033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23034         Moved ...
23035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
23036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23037         Moved ...
23038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
23039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23040         Moved ...
23041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
23042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
23043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
23044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23045         Moved ...
23046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
23047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23048         Moved ...
23049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
23050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23051         Moved ...
23052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
23053         ... here.
23054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23055         Moved ...
23056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
23057         ... here.
23058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23059         Moved ...
23060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
23061         ... here.
23062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23063         Moved ...
23064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
23065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23066         Moved ...
23067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
23068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23069         Moved ...
23070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
23071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23072         Moved ...
23073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
23074         ... here.
23075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23076         Moved ...
23077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
23078         ... here.
23079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23080         Moved ...
23081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
23082         ... here.
23083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23084         Moved ...
23085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
23086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23087         Moved ...
23088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
23090 2014-06-23  Will Newton  <will.newton@linaro.org>
23091             Wilco  <wdijkstr@arm.com>
23093         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
23094         implementation.  Include get-rounding-mode.h.
23095         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
23096         [!libc_feholdsetround_noex_ctx]: Define
23097         libc_feholdsetround_noex_ctx.
23098         [!libc_feholdsetround_noexf_ctx]: Define
23099         libc_feholdsetround_noexf_ctx.
23100         [!libc_feholdsetround_noexl_ctx]: Define
23101         libc_feholdsetround_noexl_ctx.
23102         (libc_feholdsetround_ctx): New function.
23103         (libc_feresetround_ctx): New function.
23104         (libc_feholdsetround_noex_ctx): New function.
23105         (libc_feresetround_noex_ctx): New function.
23107 2014-06-23  Roland McGrath  <roland@hack.frob.com>
23109         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
23110         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
23111         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
23112         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
23113         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
23114         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
23116         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
23117         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
23118         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
23119         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
23120         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
23121         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
23122         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
23123         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
23124         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
23125         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
23126         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
23127         Moved ...
23128         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
23129         ... here.
23130         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
23131         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
23132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
23133         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
23134         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
23135         Moved ...
23136         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
23137         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
23138         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
23139         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
23140         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
23141         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
23142         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
23143         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
23144         Moved ...
23145         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
23146         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
23147         Moved ...
23148         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
23149         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
23150         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
23151         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
23152         Moved ...
23153         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
23154         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
23155         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
23156         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
23157         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
23158         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
23159         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
23160         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
23161         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
23162         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
23163         Moved ...
23164         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
23165         ... here.
23166         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
23167         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
23168         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
23169         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
23170         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
23171         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
23172         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
23173         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
23174         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
23175         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
23176         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
23177         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
23178         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
23179         Moved ...
23180         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
23181         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
23182         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
23183         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
23184         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
23185         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
23186         Moved ...
23187         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
23188         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
23189         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
23190         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
23191         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
23193         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
23194         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
23195         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
23196         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
23197         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
23198         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
23199         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
23200         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
23201         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
23202         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
23203         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
23204         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
23205         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
23206         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
23207         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
23208         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
23209         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
23210         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
23211         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
23212         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23213         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
23214         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
23215         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
23216         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
23217         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
23218         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
23219         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
23220         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
23222 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
23224         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
23225         (FALLOC_FL_COLLAPSE_RANGE): New macro.
23226         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
23227         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
23228         (IPV6_PMTUDISC_INTERFACE): Likewise.
23229         (IPV6_PMTUDISC_OMIT): Likewise.
23231 2014-06-23  Andreas Schwab  <schwab@suse.de>
23233         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
23234         Remove unused errout label.
23236 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23238         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
23239         macro: hardware supports Vector Crypto instructions.
23241 2014-06-23  Will Newton  <will.newton@linaro.org>
23243         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
23244         rather than __builtin_expect.
23246         * elf/dl-lookup.c (undefined_msg): Remove variable.
23247         (_dl_lookup_symbol_x): Replace undefined_msg with string
23248         literal.
23250         * elf/dl-lookup.c (do_lookup_unique): New function.
23251         (do_lookup_x): Move STB_GNU_UNIQUE handling code
23252         to a separate function.
23254 2014-06-23  Andreas Schwab  <schwab@suse.de>
23256         [BZ #17079]
23257         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
23258         before reading the next line.
23260 2014-06-23  Will Newton  <will.newton@linaro.org>
23262         * test-skeleton.c (signal_handler): Use printf and %m
23263         rather than perror.  Use printf rather than fprintf to
23264         stderr.  Use puts rather than fputs to stderr.
23265         (main): Likewise.
23267 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
23269         * nscd/nscd.c (thread_info_t): Remove typedef.
23270         (thread_info): Remove variable.
23272 2014-06-21  Allan McRae  <allan@archlinux.org>
23274         * NEWS: Mention CVE-2014-4043.
23276 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23278         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
23279         * nptl/smp.h: ... here.
23281         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
23283         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
23284         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
23285         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
23286         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
23288         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23289         * nptl/stack-aliasing.h: New file.
23290         * sysdeps/i386/i686/stack-aliasing.h: New file.
23291         * sysdeps/i386/i686/nptl/Makefile: File removed.
23292         * sysdeps/x86_64/stack-aliasing.h: New file.
23293         * sysdeps/x86_64/nptl/Makefile
23294         (CFLAGS-pthread_create.c): Variable removed.
23296         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
23297         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
23298         old file.
23299         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
23300         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
23301         old file.
23303 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
23305         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23306         (__ASSUME_SIGFRAME_V2): Remove macro.
23307         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
23308         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
23309         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
23310         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
23311         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
23312         Declare as function.  Remove conditional macro definitions.
23313         (__default_rt_sa_restorer): Likewise.
23314         (__default_sa_restorer_v1): Remove declaration.
23315         (__default_sa_restorer_v2): Likewise.
23316         (__default_rt_sa_restorer_v1): Likewise.
23317         (__default_rt_sa_restorer_v2): Likewise.
23318         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
23319         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
23320         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
23322 2014-06-20  Roland McGrath  <roland@hack.frob.com>
23324         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
23325         (libpthread-routines): Add sysdep.
23326         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
23327         * sysdeps/unix/sysv/linux/sparc/Versions
23328         (libpthread: GLIBC_2.3.3): New version set.
23329         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
23330         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
23331         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
23332         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
23333         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
23334         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
23335         Moved ...
23336         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
23337         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
23338         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
23339         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
23340         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
23341         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
23342         * sysdeps/sparc/nptl/sem_init.c: ... here.
23343         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
23344         * sysdeps/sparc/nptl/sem_post.c: ... here.
23345         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
23346         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
23347         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
23348         * sysdeps/sparc/nptl/sem_wait.c: ... here.
23349         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
23350         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
23351         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
23352         (libpthread-routines): Add cpu_relax.
23353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
23354         File removed.
23355         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
23356         (librt: GLIBC_2.3.3): New version set.
23357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
23358         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
23359         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
23360         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
23361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
23362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
23363         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
23364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
23365         Moved ...
23366         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
23367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
23368         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
23369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
23370         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
23371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
23372         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
23373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
23374         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
23375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
23376         Moved ...
23377         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
23378         Update #include.
23379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
23380         Moved ...
23381         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
23382         Update #include.
23383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
23384         Moved ...
23385         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
23386         Update #include.
23387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
23388         Moved ...
23389         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
23390         Update #include.
23391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
23392         Moved ...
23393         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
23394         Update #include.
23395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
23396         Moved ...
23397         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
23398         Update #include.
23399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
23400         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
23401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
23402         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
23403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
23404         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
23405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
23406         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
23407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
23408         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
23409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
23410         Moved ...
23411         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
23412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
23413         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
23414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
23415         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
23417 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23419         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
23420         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
23421         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
23422         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
23423         * nscd/nscd.c: Likewise.
23424         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
23425         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
23426         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
23427         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
23429         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
23430         <kernel-features.h>.
23431         (init_mq_netlink): Remove conditional have_sock_cloexec
23432         definitions.  Remove code conditional on have_sock_cloexec < 0.
23433         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
23434         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
23435         * sysdeps/unix/sysv/linux/opensock.c: Do not include
23436         <kernel-features.h>.
23437         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
23438         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
23440 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23442         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23443         Add tests for memset_chk and memset.
23445         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
23446         with AVX2_Usable.
23448 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23450         [BZ #16046]
23451         * elf/tst-dl-iter-static.c: New file.
23452         * elf/Makefile (tests-static): Add tst-dl-iter-static.
23454         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
23455         error.
23457 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23459         * sysdeps/unix/sysv/linux/kernel-features.h
23460         (__ASSUME_F_GETOWN_EX): Remove macro.
23461         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
23462         <kernel-features.h>.
23463         (miss_F_GETOWN_EX): Remove variable or macro.
23464         (do_fcntl): Do not check miss_F_GETOWN_EX.
23465         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
23467         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
23468         Remove macro.
23469         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
23470         [!__ASSUME_AT_RANDOM]: Remove conditional code.
23471         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
23473         * sysdeps/unix/sysv/linux/kernel-features.h
23474         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
23475         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
23476         [ADJ_OFFSET_SS_READ]: Make code unconditional.
23477         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
23479 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
23481         [BZ #17075]
23482         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
23483         Fix calculation of the symbol's value.
23484         * sysdeps/arm/tst-armtlsdescloc.c: New file.
23485         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
23486         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
23487         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
23488         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
23489         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
23490         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
23491         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
23492         (modules-names): Add `tst-armtlsdescmod',
23493         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
23494         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
23495         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23496         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
23497         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
23498         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
23499         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
23500         ($(objpfx)tst-armtlsdescloc): New dependency.
23501         ($(objpfx)tst-armtlsdescextnow): Likewise.
23502         ($(objpfx)tst-armtlsdescextlazy): Likewise.
23503         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
23504         TLS scheme support.
23505         * sysdeps/arm/configure: Regenerate.
23507 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
23509         * include/fcntl.h (__atfct_seterrno): Remove prototype.
23510         (__atfct_seterrno_2): Likewise.
23511         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
23512         <kernel-features.h>.
23513         (__ASSUME_ATFCTS): Do not undefine and redefine.
23514         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
23515         (__have_atfcts): Remove conditional definition.
23516         (__fxstatat([__NR_fstatat64]: Make code unconditional.
23517         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
23518         unreachable if [__ASSUME_ATFCTS].
23519         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
23520         not undefine and redefine.
23521         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
23522         <kernel-features.h>.
23523         (faccessat) [__NR_faccessat]: Make code unconditional.
23524         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
23525         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
23526         <kernel-features.h>.
23527         (fchmodat) [__NR_fchmodat]: Make code unconditional.
23528         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23529         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
23530         <kernel-features.h>.
23531         (fchownat) [__NR_fchownat]: Make code unconditional.
23532         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
23533         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
23534         <kernel-features.h>.
23535         (futimesat) [__NR_futimesat]: Make code unconditional.
23536         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
23537         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23538         <kernel-features.h>.
23539         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23540         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23541         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23542         <kernel-features.h>.
23543         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
23544         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
23545         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
23546         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23547         <kernel-features.h>.
23548         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
23549         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23550         * sysdeps/unix/sysv/linux/linkat.c: Do not include
23551         <kernel-features.h>.
23552         (linkat) [__NR_linkat]: Make code unconditional.
23553         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23554         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
23555         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
23556         <kernel-features.h>.
23557         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
23558         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
23559         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
23560         <kernel-features.h>.
23561         (mkdirat) [__NR_mkdirat]: Make code unconditional.
23562         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
23563         * sysdeps/unix/sysv/linux/openat.c: Do not include
23564         <kernel-features.h>.
23565         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
23566         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
23567         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
23568         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
23569         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
23570         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
23571         <kernel-features.h>.
23572         (readlinkat) [__NR_readlinkat]: Make code unconditional.
23573         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
23574         result of INLINE_SYSCALL directly, not via int variable.
23575         * sysdeps/unix/sysv/linux/renameat.c: Do not include
23576         <kernel-features.h>.
23577         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
23578         (renameat) [__NR_renameat]: Make code unconditional.
23579         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
23580         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
23581         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
23582         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
23583         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
23584         (__ASSUME_ATFCTS): Do not undefine and redefine.
23585         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
23586         <kernel-features.h>.
23587         (symlinkat) [__NR_symlinkat]: Make code unconditional.
23588         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23589         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
23590         <kernel-features.h>.
23591         (unlinkat) [__NR_unlinkat]: Make code unconditional.
23592         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
23593         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
23594         (__ASSUME_ATFCTS): Do not undefine and redefine.
23595         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23596         <kernel-features.h>.
23597         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
23598         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
23599         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23600         <kernel-features.h>.
23601         (__xmknodat) [__NR_mknodat]: Make code unconditional.
23602         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
23604 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
23606         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
23608 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
23610         [BZ #17069]
23611         * posix/regcomp.c (parse_reg_exp): Deallocate partially
23612         constructed tree before returning error.
23613         * posix/bug-regexp36.c: Expand test case.
23615 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23617         [BZ #6803]
23618         * math/libm-test.inc (scalbln_test_date):
23619         Add errno expectations.
23620         * math/w_scalblnf.c: New File.
23621         Add wrapper which checks for setting errno to ERANGE.
23622         Add weak_alias for corresponding scalbln function.
23623         * math/w_scalbln.c: Likewise.
23624         * math/w_scalblnl.c: Likewise.
23625         * math/Makefile (libm-calls): Add w_scalbln.
23626         * sysdeps/ieee754/flt-32/s_scalblnf.c:
23627         Remove weak_alias for corresponding scalbln function.
23628         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23629         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23630         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23631         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23632         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
23633         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
23634         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
23635         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
23636         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
23637         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
23638         Remove long_double_symbol for scalblnl function in libm, libc.
23639         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
23640         Add wrapper which checks for setting errno to ERANGE.
23641         Add long_double_symbol for scalblnl function in libm, libc.
23642         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
23643         Remove long_double_symbol for scalblnl in libm.
23644         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
23645         Add wrapper which checks for setting errno to ERANGE.
23646         Add long_double_symbol for scalblnl function in libm.
23647         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
23648         Do not use wrapper because of own implementation.
23650 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
23652         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
23653         3 bytes for __pad1 for x32.
23654         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
23656 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
23657             H.J. Lu  <hongjiu.lu@intel.com>
23659         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
23660         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
23661         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23662         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23663         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
23665 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
23667         [BZ #17069]
23668         * posix/regcomp.c (parse_expression): Deallocate partially
23669         constructed tree before returning error.
23670         * posix/Makefile.c (tests): Add bug-regex36.
23671         (generated): Add bug-regex36.mtrace.
23672         (tests-special): Add $(objpfx)bug-regex36-mem.out
23673         (bug-regex36-ENV): New variable.
23674         ($(objpfx)bug-regex36-mem.out): New rule.
23675         * posix/bug-regex36.c: New file.
23677 2014-06-19  Will Newton  <will.newton@linaro.org>
23679         * malloc/malloc.c (systrim): If extra is zero then return
23680         early.
23682 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23684         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
23686 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
23688         * sysdeps/aarch64/strchr.S: New file.
23690 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
23692         [BZ #17022]
23693         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
23694         from arguments -2 or below.
23695         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23696         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
23698 2014-06-18  Andreas Schwab  <schwab@suse.de>
23700         [BZ #17062]
23701         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
23702         of a bracket expr not to run off the end of the string.
23703         * posix/Makefile (tests): Add tst-fnmatch3.
23704         * posix/tst-fnmatch3.c: New file.
23706 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
23708         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
23709         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
23710         [$(cross-compiling) = no]: Likewise.
23711         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
23712         [$(cross-compiling) = no]: Likewise.
23714 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23716         [BZ #17031]
23717         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
23718         double, adjusted for any remainder from the high double.
23719         * math/libm-test.inc (nearbyint): Add tests.
23720         (rint): Likewise.
23722 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23724         * nptl/sysdeps/powerpc/Makefile: Moved ...
23725         * sysdeps/powerpc/nptl/Makefile: ... here.
23726         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
23727         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
23728         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
23729         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
23730         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
23731         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
23732         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
23733         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
23734         * nptl/sysdeps/powerpc/tls.h: Moved ...
23735         * sysdeps/powerpc/nptl/tls.h: ... here.
23737 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
23739         [BZ #16681]
23740         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
23741         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
23742         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
23743         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
23744         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
23745         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
23746         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
23747         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
23748         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
23750 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
23752         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23754 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
23756         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
23757         defined operator.
23759         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
23760         $TIMEOUTFACTOR.
23762 2014-06-16  Florian Weimer  <fweimer@redhat.com>
23764         [BZ #17058]
23765         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
23766         non-executed part of the test.
23768 2014-06-16  Andreas Schwab  <schwab@suse.de>
23770         * string/bits/string2.h (strdup, strndup): Update feature guard.
23772 2014-06-14  David S. Miller  <davem@davemloft.net>
23774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23776 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
23778         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
23779         that was previously under [RESET_PID].
23780         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
23782         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
23783         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
23784         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
23785         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
23786         (__libc_vfork): New strong alias.
23787         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
23789 2014-06-14 Andi Kleen  <ak@linux.intel.com>
23791         * sysdeps/generic/elide.h: New file.
23793 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23795         * Makefile (installed-headers): Adjust path of pthread.h header.
23797 2014-06-13  Roland McGrath  <roland@hack.frob.com>
23799         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
23800         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
23801         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
23802         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
23804         * nptl/sysdeps/s390/Makefile: Moved ...
23805         * sysdeps/s390/nptl/Makefile: ... here.
23806         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
23807         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
23808         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
23809         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
23810         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
23811         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
23812         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
23813         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
23814         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
23815         * sysdeps/s390/nptl/pthreaddef.h: ... here.
23816         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
23817         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
23818         * nptl/sysdeps/s390/tls.h: Moved ...
23819         * sysdeps/s390/nptl/tls.h: ... here.
23821         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
23822         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
23824 2014-06-13  David S. Miller  <davem@davemloft.net>
23826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
23827         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
23828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
23829         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
23830         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
23831         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
23832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
23833         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
23834         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
23835         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
23836         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
23837         Remove RESET_PID cpp guards.
23838         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
23839         Remove RESET_PID cpp guards.
23840         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
23842 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
23844         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
23845         __sp to uintptr_t.
23847 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23849         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
23850         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
23851         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
23852         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
23853         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
23854         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
23855         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
23856         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
23857         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
23858         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
23859         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
23860         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
23861         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
23862         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
23863         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
23864         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
23865         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
23866         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
23867         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
23868         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
23870         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
23871         (pthread_rwlock_rdlock): Add elision.
23872         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
23873         (pthread_rwlock_wrlock): Add elision.
23874         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
23875         (pthread_rwlock_trywrlock): Add elision.
23876         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
23877         (pthread_rwlock_tryrdlock): Add elision.
23878         * nptl/pthread_rwlock_unlock.c: Include elide.h.
23879         (pthread_rwlock_tryrdlock): Add elision unlock.
23880         * nptl/sysdeps/pthread/pthread.h:
23881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
23882         (PTHREAD_RWLOCK_INITIALIZER,
23883         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
23884         Handle new elision field.
23885         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
23886         * sysdeps/arm/nptl/bits/pthreadtypes.h
23887         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23888         * sysdeps/sh/nptl/bits/pthreadtypes.h
23889         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23890         * sysdeps/tile/nptl/bits/pthreadtypes.h
23891         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23892         * sysdeps/a/nptl/bits/pthreadtypes.h
23893         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23894         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
23895         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23896         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
23897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23898         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
23899         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23900         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
23901         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23902         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
23903         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23904         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
23905         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23906         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
23907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23908         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
23909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23910         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
23911         (elision_init): Set try_xbegin to zero when no RTM.
23912         * sysdeps/x86/nptl/bits/pthreadtypes.h
23913         (pthread_rwlock_t): Change __pad1 to __rwelision.
23914         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
23916 2014-06-13  Andi Kleen  <ak@linux.intel.com>
23918         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
23919         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
23920         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
23921         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
23923 2014-06-13  Meador Inge  <meadori@codesourcery.com>
23925         [BZ #16996]
23926         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
23927         that the cached result has been set before returning it.
23929 2014-06-12  Roland McGrath  <roland@hack.frob.com>
23931         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
23932         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
23933         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
23934         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
23935         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
23936         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
23938         * nptl/sysdeps/sparc/Makefile: Moved ...
23939         * sysdeps/sparc/nptl/Makefile: ... here.
23940         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
23941         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
23942         * nptl/sysdeps/sparc/tls.h: Moved ...
23943         * sysdeps/sparc/nptl/tls.h: ... here.
23944         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
23945         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
23946         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
23947         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
23948         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
23949         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
23950         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
23951         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
23952         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
23953         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
23954         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
23955         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
23956         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
23957         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
23958         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
23959         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
23960         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
23961         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
23962         Update #include.
23963         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
23964         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
23965         Update #include.
23966         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
23967         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
23968         Update #include.
23969         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
23970         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
23971         Update #include.
23973         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
23975         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
23976         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
23978         * sysdeps/pthread/posix-timer.h: Include <list.h>.
23979         (struct list_links): Type removed.
23980         (struct thread_node, struct timer_node): Replace struct list_links
23981         with struct list_head.
23982         (list_unlink_ip): Likewise.
23983         * sysdeps/pthread/timer_routines.c
23984         (timer_free_list, thread_free_list, thread_active_list): Likewise.
23985         (list_append, list_insbefore): Likewise.
23986         (list_init): Function removed.
23987         (thread_init, init_module): Use INIT_LIST_HEAD instead.
23988         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
23989         * sysdeps/pthread/Makefile: ... here, new file.
23991         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
23992         * sysdeps/nptl/Implies: ... here.
23993         * sysdeps/unix/sysv/linux/Implies: Add nptl.
23994         * nptl/sysdeps/pthread/list.h: Moved ...
23995         * include/list.h: ... here.
23996         * nptl/sysdeps/pthread/createthread.c: Moved ...
23997         * nptl/createthread.c: ... here.
23998         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
23999         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
24000         * nptl/pt-longjmp.c: ... here.
24001         * nptl/sysdeps/pthread/Makefile: Moved ...
24002         * sysdeps/nptl/Makefile: ... here.
24003         * nptl/sysdeps/pthread/Subdirs: Moved ...
24004         * sysdeps/nptl/Subdirs: ... here.
24005         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
24006         * sysdeps/nptl/aio_misc.h: ... here.
24007         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
24008         * sysdeps/nptl/bits/libc-lock.h: ... here.
24009         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
24010         * sysdeps/nptl/bits/libc-lockP.h: ... here.
24011         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
24012         * sysdeps/nptl/bits/stdio-lock.h: ... here.
24013         * nptl/sysdeps/pthread/configure: Moved ...
24014         * sysdeps/nptl/configure: ... here.
24015         * nptl/sysdeps/pthread/configure.ac: Moved ...
24016         * sysdeps/nptl/configure.ac: ... here.
24017         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
24018         * sysdeps/nptl/gai_misc.h: ... here.
24019         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
24020         * sysdeps/nptl/librt-cancellation.c: ... here.
24021         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
24022         * sysdeps/nptl/malloc-machine.h: ... here.
24023         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
24024         * sysdeps/nptl/pthread-functions.h: ... here.
24025         * nptl/sysdeps/pthread/pthread.h: Moved ...
24026         * sysdeps/nptl/pthread.h: ... here.
24027         * nptl/sysdeps/pthread/setxid.h: Moved ...
24028         * sysdeps/nptl/setxid.h: ... here.
24029         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
24030         * sysdeps/nptl/sigfillset.c: ... here.
24031         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
24032         * sysdeps/nptl/tcb-offsets.h: ... here.
24033         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
24034         * sysdeps/nptl/tst-mqueue8x.c: ... here.
24035         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
24036         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
24037         * nptl/sysdeps/pthread/allocalim.h: Moved ...
24038         * sysdeps/pthread/allocalim.h: ... here.
24039         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
24040         * sysdeps/pthread/bits/sigthread.h: ... here.
24041         * nptl/sysdeps/pthread/flockfile.c: Moved ...
24042         * sysdeps/pthread/flockfile.c: ... here.
24043         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
24044         * sysdeps/pthread/ftrylockfile.c: ... here.
24045         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
24046         * sysdeps/pthread/funlockfile.c: ... here.
24047         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
24048         * sysdeps/pthread/posix-timer.h: ... here.
24049         * nptl/sysdeps/pthread/timer_create.c: Moved ...
24050         * sysdeps/pthread/timer_create.c: ... here.
24051         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
24052         * sysdeps/pthread/timer_delete.c: ... here.
24053         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
24054         * sysdeps/pthread/timer_getoverr.c: ... here.
24055         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
24056         * sysdeps/pthread/timer_gettime.c: ... here.
24057         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
24058         * sysdeps/pthread/timer_routines.c: ... here.
24059         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
24060         * sysdeps/pthread/timer_settime.c: ... here.
24061         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
24062         * sysdeps/pthread/tst-timer.c: ... here.
24063         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
24064         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
24066         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
24067         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
24069         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
24070         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
24071         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
24072         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
24073         Update #include target.
24074         * nptl/sysdeps/i386/i686/Makefile: Moved ...
24075         * sysdeps/i386/i686/nptl/Makefile: ... here.
24076         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
24077         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
24078         Update #include target.
24079         * nptl/sysdeps/i386/i686/tls.h: Moved ...
24080         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
24081         * nptl/sysdeps/i386/Makefile: Moved ...
24082         * sysdeps/i386/nptl/Makefile: ... here.
24083         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
24084         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
24085         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
24086         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
24087         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
24088         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
24089         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
24090         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
24091         * sysdeps/i386/nptl/pthreaddef.h: ... here.
24092         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
24093         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
24094         * nptl/sysdeps/i386/tls.h: Moved ...
24095         * sysdeps/i386/nptl/tls.h: ... here.
24097         * sysdeps/sh/Makefile [$(subdir) = csu]
24098         (gen-as-const-headers): Add tcb-offsets.sym.
24099         * nptl/sysdeps/sh/Makefile: File removed.
24100         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
24101         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
24102         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
24103         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
24104         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
24105         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
24106         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
24107         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
24108         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
24109         * sysdeps/sh/nptl/pthreaddef.h: ... here.
24110         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
24111         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
24112         * nptl/sysdeps/sh/tls.h: Moved ...
24113         * sysdeps/sh/nptl/tls.h: ... here.
24114         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
24115         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
24116         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
24117         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
24118         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
24119         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
24120         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
24121         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
24122         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
24123         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
24124         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
24125         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
24126         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
24127         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
24128         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
24129         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
24130         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
24131         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
24132         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
24133         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
24134         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
24135         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
24136         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
24137         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
24138         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
24139         Moved ...
24140         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
24141         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
24142         Moved ...
24143         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
24144         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
24145         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
24146         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
24147         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
24148         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
24149         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
24150         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
24151         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
24152         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
24153         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
24154         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
24155         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
24156         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
24157         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
24158         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
24159         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
24160         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
24161         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
24163 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24165         * posix/spawn_faction_addopen.c: Include string.h.
24167 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24169         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
24170         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
24171         * nptl/sysdeps/x86_64/Makefile: Moved ...
24172         * sysdeps/x86_64/nptl/Makefile: ... here.
24173         * nptl/sysdeps/x86_64/configure: Moved ...
24174         * sysdeps/x86_64/nptl/configure: ... here.
24175         * nptl/sysdeps/x86_64/configure.ac: Moved ...
24176         * sysdeps/x86_64/nptl/configure.ac: ... here.
24177         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
24178         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
24179         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
24180         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
24181         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
24182         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
24183         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
24184         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
24185         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
24186         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
24187         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
24188         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
24189         * nptl/sysdeps/x86_64/tls.h: Moved ...
24190         * sysdeps/x86_64/nptl/tls.h: ... here.
24191         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
24192         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
24193         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
24194         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
24196         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
24198 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24202 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
24204         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
24205         type.
24206         [POSIX] (off_t): Likewise.
24207         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
24208         [POSIX] (S_ISBLK): Require macro.
24209         [POSIX] (S_ISCHR): Likewise.
24210         [POSIX] (S_ISDIR): Likewise.
24211         [POSIX] (S_ISFIFO): Likewise.
24212         [POSIX] (S_ISREG): Likewise.
24213         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
24214         optional-macro.
24215         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
24216         type.
24217         [POSIX] (time_t): Likewise.
24218         [POSIX] (timer_t): Likewise.
24220 2014-06-11  Florian Weimer  <fweimer@redhat.com>
24222         [BZ #17048]
24223         * posix/spawn_int.h (struct __spawn_action): Make the path string
24224         non-const to support deallocation.
24225         * posix/spawn_faction_addopen.c
24226         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
24227         * posix/spawn_faction_destroy.c
24228         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
24229         path in all spawn_do_open actions.
24230         * posix/tst-spawn.c (do_test): Exercise the copy operation in
24231         posix_spawn_file_actions_addopen.
24233 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
24235         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
24236         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
24237         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
24238         conditional code always true.
24239         (__libc_vfork): New alias.
24241 2014-06-11  Roland McGrath  <roland@hack.frob.com>
24243         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24244         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
24246         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
24248         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24249         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
24251         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
24252         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
24254         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24255         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
24257 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24259         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
24260         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
24261         multiarch strcmp for PPC64.
24262         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
24263         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
24264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
24265         multiarch optimizations.
24266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24267         (__libc_ifunc_impl_list): Likewise.
24269 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24271         * benchtests/scripts/validate_benchout.py: New script.
24272         * benchtests/Makefile (bench-func): Call it.
24273         * benchtests/scripts/benchout.schema.json: New file.
24275 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
24277         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
24278         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
24279         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
24280         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
24281         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
24282         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
24283         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
24284         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
24285         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
24286         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
24287         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
24288         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
24289         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
24290         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
24291         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
24292         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
24293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
24294         Moved ...
24295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
24296         ... here.
24297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
24298         Moved ...
24299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
24300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
24301         Moved ...
24302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
24303         ... here.
24304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
24305         Moved ...
24306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
24307         ... here.
24308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
24309         Moved ...
24310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
24311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
24312         Moved ...
24313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
24314         ... here.
24315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
24316         Moved ...
24317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
24318         ... here.
24319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
24320         Moved ...
24321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
24322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
24323         Moved ...
24324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
24325         ... here.
24326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
24327         Moved ...
24328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
24329         ... here.
24330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
24331         Moved ...
24332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
24333         ... here.
24334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
24335         Moved ...
24336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
24337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
24338         Moved ...
24339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
24340         ... here.
24341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
24342         Moved ...
24343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
24344         ... here.
24345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
24346         Moved ...
24347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
24348         ... here.
24349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
24350         Moved ...
24351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
24352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
24353         Moved ...
24354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
24355         ... here.
24356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
24357         Moved ...
24358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
24359         ... here.
24360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
24361         Moved ...
24362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
24363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
24364         Moved ...
24365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
24366         ... here.
24367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
24368         Moved ...
24369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
24370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
24371         Moved ...
24372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
24373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
24374         Moved ...
24375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
24376         ... here.
24377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
24378         Moved ...
24379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
24380         ... here.
24381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
24382         Moved ...
24383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
24384         ... here.
24385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
24386         Moved ...
24387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
24388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
24389         Moved ...
24390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
24391         ... here.
24392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
24393         Moved ...
24394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
24395         ... here.
24396         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
24397         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
24398         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
24399         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
24400         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
24401         Moved ...
24402         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
24403         ... here.
24404         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
24405         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
24406         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
24407         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
24408         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
24409         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
24410         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
24411         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
24412         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
24413         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
24414         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
24415         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
24416         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
24417         Moved ...
24418         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
24419         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
24420         Moved ...
24421         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
24422         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
24423         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
24424         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
24425         Moved ...
24426         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
24427         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
24428         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
24429         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
24430         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
24431         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
24432         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
24434 2014-06-10  Wilco  <wdijkstr@arm.com>
24436         * math/test-fenv-return.c: New file.
24437         * math/Makefile: Add new test test-fenv-return.
24439 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
24441         [BZ #17042]
24442         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
24443         when x - 1 is zero.
24444         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
24445         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
24446         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
24447         0.0L for an argument of 1.0L.
24448         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24449         Likewise.
24450         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
24451         value when x - 1 is zero.
24452         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
24453         * sysdeps/i386/fpu/libm-test-ulps: Update.
24454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24456 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
24458         [BZ #15119]
24459         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
24461 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24463         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
24464         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
24466 2014-06-09  Roland McGrath  <roland@hack.frob.com>
24468         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24469         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
24471         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24472         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
24474         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24475         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
24477         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
24478         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
24480         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
24481         if not already defined.
24482         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
24483         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
24484         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
24485         (TLS_INIT_TP): Use it.
24486         (TLS_DEFINE_INIT_TP): New macro.
24487         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
24489 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
24491         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
24492         constant.
24493         [POSIX] (IXANY): Likewise.
24494         [POSIX] (OLCUC): Likewise.
24495         [POSIX || POSIX2008] (CBAUD): Do not allow.
24496         [POSIX || POSIX2008] (DEFECHO): Likewise.
24497         [POSIX || POSIX2008] (ECHOCTL): Likewise.
24498         [POSIX || POSIX2008] (ECHOKE): Likewise.
24499         [POSIX || POSIX2008] (ECHOPRT): Likewise.
24500         [POSIX || POSIX2008] (EXTA): Likewise.
24501         [POSIX || POSIX2008] (EXTB): Likewise.
24502         [POSIX || POSIX2008] (FLUSHO): Likewise.
24503         [POSIX || POSIX2008] (LOBLK): Likewise.
24504         [POSIX || POSIX2008] (PENDIN): Likewise.
24505         [POSIX || POSIX2008] (SWTCH): Likewise.
24506         [POSIX || POSIX2008] (VDISCARD): Likewise.
24507         [POSIX || POSIX2008] (VDSUSP): Likewise.
24508         [POSIX || POSIX2008] (VLNEXT): Likewise.
24509         [POSIX || POSIX2008] (VREPRINT): Likewise.
24510         [POSIX || POSIX2008] (VSTATUS): Likewise.
24511         [POSIX || POSIX2008] (VWERASE): Likewise.
24512         (B*): Change to B[0123456789]*.
24513         * conform/data/time.h-data [POSIX || UNIX98]
24514         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
24515         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24516         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
24517         [POSIX] (tm_*): Do not allow.
24519 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
24521         * Makefile (install): Don't set LANGUAGE.
24522         * Makefile.in (install): Likewise.
24523         * assert/Makefile (test-assert-ENV): Remove variable.
24524         (test-assert-perr-ENV): Likewise.
24525         * elf/Makefile (neededtest4-ENV): Likewise.
24526         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
24527         [$(cross-compiling) = no]: Don't set LANGUAGE.
24528         * io/ftwtest-sh (LANG): Remove variable.
24529         * libio/Makefile (tst-widetext-ENV): Likewise.
24530         * manual/install.texi (Running make install): Don't refer to
24531         environment settings for make install.
24532         * INSTALL: Regenerated.
24533         * nptl/tst-tls6.sh: Don't set LANG.
24534         * posix/globtest.sh (LANG): Remove variable.
24535         * string/Makefile (tester-ENV): Likewise.
24536         (inl-tester-ENV): Likewise.
24537         (noinl-tester-ENV): Likewise.
24538         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
24539         [$(cross-compiling) = no]: Don't set LANGUAGE.
24540         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
24541         without explicit environment settings.
24543 2014-06-06  Roland McGrath  <roland@hack.frob.com>
24545         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
24546         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
24547         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
24548         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
24550 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
24552         * crypt/crypt-private.h [DOS]: Add some includes taken from the
24553         other files in the crypt directory.
24554         * crypt/crypt.c: Remove duplicate includes.
24555         * crypt/crypt-entry.c: Likewise.
24556         * crypt/crypt_util.c: Likewise.
24558 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
24560         * Makeconfig (run-program-env): New variable.
24561         (run-program-prefix-before-env): Likewise.
24562         (run-program-prefix-after-env): Likewise.
24563         (run-program-prefix): Define in terms of new variables.
24564         (built-program-cmd-before-env): New variable.
24565         (built-program-cmd-after-env): Likewise.
24566         (built-program-cmd): Define in terms of new variables.
24567         (test-program-prefix-before-env): New variable.
24568         (test-program-prefix-after-env): Likewise.
24569         (test-program-prefix): Define in terms of new variables.
24570         (test-program-cmd-before-env): New variable.
24571         (test-program-cmd-after-env): Likewise.
24572         (test-program-cmd): Define in terms of new variables.
24573         * Rules (make-test-out): Use $(run-program-env).
24574         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
24575         (help): Do not mention environment variables.  Mention
24576         --timeoutfactor option.
24577         (timeoutfactor): New variable.
24578         (blacklist_exports): Remove function.
24579         (exports): Remove variable.
24580         (command): Do not include ${exports}.
24581         * manual/install.texi (Configuring and compiling): Do not mention
24582         test wrappers preserving environment variables.  Mention that last
24583         assignment to a variable must take precedence.
24584         * INSTALL: Regenerated.
24585         * benchtests/Makefile (run-bench): Use $(run-program-env).
24586         * catgets/Makefile ($(objpfx)test1.cat): Use
24587         $(built-program-cmd-before-env), $(run-program-env) and
24588         $(built-program-cmd-after-env).
24589         ($(objpfx)test2.cat): Do not specify environment variables
24590         explicitly.
24591         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
24592         $(run-program-env) and $(built-program-cmd-after-env).
24593         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
24594         $(run-program-env) and $(test-program-cmd-after-env).
24595         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
24596         explicitly.
24597         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
24598         run_program_env and test_program_cmd_after_env arguments.
24599         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
24600         * elf/tst-pathopt.sh: Use run_program_env argument.
24601         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
24602         $(test-wrapper-env) and $(run-program-env).
24603         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
24604         run_program_env arguments.
24605         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
24606         * intl/Makefile ($(objpfx)tst-gettext.out): Use
24607         $(test-program-prefix-before-env), $(run-program-env) and
24608         $(test-program-prefix-after-env).
24609         ($(objpfx)tst-gettext2.out): Likewise.
24610         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
24611         run_program_env and test_program_prefix_after_env arguments.
24612         * intl/tst-gettext2.sh: Likewise.
24613         * intl/tst-gettext4.sh: Do not set environment variables
24614         explicitly.
24615         * intl/tst-gettext6.sh: Likewise.
24616         * intl/tst-translit.sh: Likewise.
24617         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
24618         $(test-program-prefix-before-env), $(run-program-env) and
24619         $(test-program-prefix-after-env).
24620         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
24621         run_program_env and test_program_prefix_after_env arguments.
24622         * math/Makefile (run-regen-ulps): Use $(run-program-env).
24623         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
24624         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
24625         explicitly with each use of ${test_wrapper_env}.
24626         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
24627         $(test-program-prefix-before-env), $(run-program-env) and
24628         $(test-program-prefix-after-env).
24629         * posix/tst-getconf.sh: Do not set environment variables
24630         explicitly.
24631         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
24632         run_program_env and test_program_prefix_after_env arguments.
24633         * stdio-common/tst-printf.sh: Do not set environment variables
24634         explicitly.
24635         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
24636         $(test-program-prefix-before-env), $(run-program-env) and
24637         $(test-program-prefix-after-env).
24638         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
24639         run_program_env and test_program_prefix_after_env arguments.
24640         Split $test calls into $test_pre and $test.
24641         * timezone/Makefile (build-testdata): Use
24642         $(built-program-cmd-before-env), $(run-program-env) and
24643         $(built-program-cmd-after-env).
24645 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24647         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
24648         strlen for non SHARED builds.
24650 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24652         * nptl/allocatestack.c (check_list): Inlined function...
24653         (__reclaim_stacks): ... here.
24655 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
24657         [BZ #15698]
24658         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24659         memory overrun.
24661 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
24663         * Rules (make-test-out): Include
24664         LOCPATH=$(common-objpfx)localedata in default environment.
24665         * debug/Makefile (tst-chk1-ENV): Remove variable.
24666         (tst-chk2-ENV): Likewise.
24667         (tst-chk3-ENV): Likewise.
24668         (tst-chk4-ENV): Likewise.
24669         (tst-chk5-ENV): Likewise.
24670         (tst-chk6-ENV): Likewise.
24671         (tst-lfschk1-ENV): Likewise.
24672         (tst-lfschk2-ENV): Likewise.
24673         (tst-lfschk3-ENV): Likewise.
24674         (tst-lfschk4-ENV): Likewise.
24675         (tst-lfschk5-ENV): Likewise.
24676         (tst-lfschk6-ENV): Likewise.
24677         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
24678         (tst-iconv7-ENV): Likewise.
24679         * intl/Makefile (LOCPATH-ENV): Likewise.
24680         (tst-codeset-ENV): Likewise.
24681         (tst-gettext3-ENV): Likewise.
24682         (tst-gettext5-ENV): Likewise.
24683         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
24684         (tst-fopenloc-ENV): Likewise.
24685         (tst-fgetws-ENV): Remove variable.
24686         (tst-ungetwc1-ENV): Likewise.
24687         (tst-ungetwc2-ENV): Likewise.
24688         (bug-ungetwc2-ENV): Likewise.
24689         (tst-swscanf-ENV): Likewise.
24690         (bug-ftell-ENV): Likewise.
24691         (tst-fgetwc-ENV): Likewise.
24692         (tst-fseek-ENV): Likewise.
24693         (tst-ftell-partial-wide-ENV): Likewise.
24694         (tst-ftell-active-handler-ENV): Likewise.
24695         (tst-ftell-append-ENV): Likewise.
24696         * posix/Makefile (tst-fnmatch-ENV): Likewise.
24697         (tst-regexloc-ENV): Likewise.
24698         (bug-regex1-ENV): Likewise.
24699         (tst-regex-ENV): Likewise.
24700         (tst-regex2-ENV): Likewise.
24701         (bug-regex5-ENV): Likewise.
24702         (bug-regex6-ENV): Likewise.
24703         (bug-regex17-ENV): Likewise.
24704         (bug-regex18-ENV): Likewise.
24705         (bug-regex19-ENV): Likewise.
24706         (bug-regex20-ENV): Likewise.
24707         (bug-regex22-ENV): Likewise.
24708         (bug-regex23-ENV): Likewise.
24709         (bug-regex25-ENV): Likewise.
24710         (bug-regex26-ENV): Likewise.
24711         (bug-regex30-ENV): Likewise.
24712         (bug-regex32-ENV): Likewise.
24713         (bug-regex33-ENV): Likewise.
24714         (bug-regex34-ENV): Likewise.
24715         (bug-regex35-ENV): Likewise.
24716         (tst-rxspencer-ENV): Likewise.
24717         (tst-rxspencer-no-utf8-ENV): Likewise.
24718         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
24719         (tst-sscanf-ENV): Likewise.
24720         (tst-swprintf-ENV): Likewise.
24721         (tst-swscanf-ENV): Likewise.
24722         (test-vfprintf-ENV): Likewise.
24723         (scanf13-ENV): Likewise.
24724         (bug14-ENV): Likewise.
24725         (tst-grouping-ENV): Likewise.
24726         * stdlib/Makefile (tst-strtod-ENV): Likewise.
24727         (tst-strtod3-ENV): Likewise.
24728         (tst-strtod4-ENV): Likewise.
24729         (tst-strtod5-ENV): Likewise.
24730         (testmb2-ENV): Likewise./
24731         * string/Makefile (tst-strxfrm-ENV): Likewise.
24732         (tst-strxfrm2-ENV): Likewise.
24733         (bug-strcoll1-ENV): Likewise.
24734         (test-strcasecmp-ENV): Likewise.
24735         (test-strncasecmp-ENV): Likewise.
24736         * time/Makefile (tst-strptime-ENV): Likewise.
24737         (tst-ftime_l-ENV): Likewise.
24738         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
24739         (tst-mbrtowc-ENV): Likewise.
24740         (tst-wcrtomb-ENV): Likewise.
24741         (tst-mbrtowc2-ENV): Likewise.
24742         (tst-c16c32-1-ENV): Likewise.
24743         (tst-mbsnrtowcs-ENV): Likewise.
24745 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
24747         * manual/resource.texi (How to get information about the memory
24748         subsystem?): Fix typo.
24749         Reported by Peon de la Parra Ivan <peon@keba.com>
24751 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
24753         [BZ #16882]
24754         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
24755         (pthread_spin_lock): Branch out of spin loop to proper location.
24756         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
24757         (pthread_spin_lock): Likewise.
24759         * nptl/tst-spin4.c: New test.
24760         * nptl/Makefile (tests): Add tst-spin4.
24762 2014-06-03  Andreas Schwab  <schwab@suse.de>
24764         [BZ #15946]
24765         * resolv/res_send.c (send_dg): Reload file descriptor after
24766         calling reopen.
24768 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
24770         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24772 2014-06-03  Richard Henderson  <rth@redhat.com>
24774         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
24775         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
24776         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
24777         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
24778         in the SAVE_PID block.
24779         (__libc_vfork): New alias.
24780         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
24782         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
24783         child in registers, not on the stack.  Remove RESET_PID conditionals.
24784         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
24786 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24788         * sysdeps/aarch64/libm-test-ulps: Regenerate.
24790 2014-06-03  Wilco  <wdijkstr@arm.com>
24792         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
24793         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
24794         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
24795         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
24796         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
24797         Likewise.
24799 2014-06-03  Wilco  <wdijkstr@arm.com>
24801         * sysdeps/aarch64/fpu/math_private.h
24802         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
24803         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
24804         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
24805         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
24806         Fix declarations.
24808 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24810         * crypt/crypt-private.h: Include ufc-crypt.h.
24811         (__b64_from_24bit): Declare extern.
24812         * crypt/crypt_util.c(__b64_from_24bit): New function.
24813         (b64t): New static const variable.
24814         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
24815         (b64t): Remove variable.
24816         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
24817         * crypt/sha256-crypt.c: Include crypt-private.h.
24818         (b64t): Remove variable.
24819         (__sha256_crypt_r): Remove b64_from_24bit and replace
24820         with __b64_from_24bit.
24821         * crypt/sha512-crypt.c: Likewise.
24823 2014-06-02  Roland McGrath  <roland@hack.frob.com>
24825         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
24826         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
24827         Label the code __libc_vfork rather than __vfork.
24828         [!NOT_IN_libc] (vfork): Define as weak alias.
24829         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
24830         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
24831         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
24833 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24835         * malloc/malloc.c (malloc_info): Fix format specifier for
24836         n_mmaps.
24838 2014-06-02  Wilco  <wdijkstr@arm.com>
24840         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
24841         FPCR write.
24843 2014-06-02  Wilco  <wdijkstr@arm.com>
24845         [BZ #17009]
24846         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
24847         Rewrite to reduce FPCR/FPSR accesses.
24849 2014-06-01  David S. Miller  <davem@davemloft.net>
24851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24853 2014-05-31  David S. Miller  <davem@davemloft.net>
24855         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
24856         to occur in round to nearest mode when |x| >= 2.0
24858 2014-05-30  Richard Henderson  <rth@twiddle.net>
24860         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
24861         (PSEUDO_RET_NOERRNO): Remove.
24862         (ret): Don't redefine.
24863         (ret_NOERRNO): Define in terms of ret.
24864         (ret_ERRVAL): Likewise.
24866         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
24867         use of PSEUDO_RET; perform the error check directly.
24869 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
24871         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
24872         with __int128_t.
24874 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24876         * malloc/malloc (malloc_info): Fix formatting.
24878 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24879             Roland McGrath  <roland@hack.frob.com>
24881         * malloc/malloc (malloc_info): Also print mmapped statistics.
24883 2014-05-30  Roland McGrath  <roland@hack.frob.com>
24885         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
24886         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
24888 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
24890         * malloc/malloc.c (malloc_info): Inline mi_arena.
24892 2014-05-29  Richard Henderson  <rth@twiddle.net>
24894         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
24895         Remove comma before expanding ASM_ARGS_##nr.
24896         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
24897         Make _x0 a strict output; make _x8 a strict input; adjust expansion
24898         of ASM_ARGS_##nr.
24899         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
24900         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
24901         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
24902         (ASM_ARGS_1): Add leading comma.
24904         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
24905         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
24906         to __errno_location.
24907         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
24908         Remove the expected plt for __errno_location.
24910         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24911         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
24912         call to __read_tp.
24914         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24915         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
24916         it and break it down.
24917         (DOCARGS_0, DOCARGS_1): Do nothing.
24918         (DOCARGS_2): Update to store into the new stack frame.
24919         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
24920         (UNDOCARGS_1): Update to restore from the new stack frame.
24921         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
24922         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
24924         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
24925         (SINGLE_THREAD_P): New parameter for result regno.
24926         (PSEUDO): Update to match; use cbz instead of beq.
24928         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
24929         Use ENTRY to define the _nocancel entry point.  Share the syscall
24930         and syscall error check paths with the cancel path.
24931         (PSEUDO_END): New.
24933         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
24934         whitespace; tabs before and after asm mnemonics.
24936 2014-05-29  Eric Wong  <normalperson@yhbt.net>
24938         [BZ #15132]
24939         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24940         Call fstat64 or stat64 internally, depending on arguments passed.
24941         Replace stat buffer argument with file descriptor argument.
24942         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
24943         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24944         Pass fd to __internal_statvfs instead of calling fstat64.
24945         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
24946         Pass fd to __internal_statvfs64 instead of calling fstat64.
24947         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
24948         Pass -1 to __internal_statvfs instead of calling stat64.
24949         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
24950         Pass -1 to __internal_statvfs64 instead of calling stat64.
24952 2014-05-28  Roland McGrath  <roland@hack.frob.com>
24954         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
24955         that was previously under [RESET_PID].
24956         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
24958         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
24959         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
24961 2014-05-27  Roland McGrath  <roland@hack.frob.com>
24963         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
24965         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
24966         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
24968 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
24970         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
24972 2014-05-27  Andreas Schwab  <schwab@suse.de>
24974         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
24975         TLS_INIT_TP macro.
24976         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
24977         * elf/rtld.c (init_tls, dl_main): Likewise.
24978         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
24979         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
24980         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
24981         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
24982         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
24983         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
24984         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
24985         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
24986         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
24987         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
24988         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
24989         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
24990         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
24991         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
24992         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
24993         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
24994         * sysdeps/generic/tls.h: Update description.
24996 2014-05-27  Will Newton  <will.newton@linaro.org>
24998         [BZ #16990]
24999         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
25000         and restore r2 rather than just restoring.
25002 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25004         [BZ #16724]
25005         * libio/tst-ftell-append.c: New test case.
25006         * libio/Makefile (tests): Add test case.
25007         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
25008         append mode.
25009         * libio/wfileops.c (do_ftell_wide): Likewise.
25011 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25015         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
25016         ...
25017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
25018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25019         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
25020         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
25021         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
25022         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
25023         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
25024         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
25025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25026         Moved ...
25027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
25028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25029         Moved ...
25030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
25031         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
25032         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
25033         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
25034         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
25035         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
25036         ...
25037         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
25038         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
25039         Moved ...
25040         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
25041         here.
25042         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
25043         ...
25044         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
25045         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
25046         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
25048         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
25049         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
25050         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
25051         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
25053         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
25054         merge into ...
25055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
25056         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
25057         ...
25058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
25059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
25060         ...
25061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
25062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25063         Moved ...
25064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
25065         here.
25066         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25067         Moved ...
25068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
25069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25070         Moved ...
25071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
25073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
25074         conditional [RESET_PID].
25075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
25076         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
25077         removed.
25078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
25079         removed.
25081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
25082         <tcb-offsets.h>.
25083         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25084         (__libc_vfork): New strong alias.
25085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
25086         removed.
25087         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
25088         Removed.
25090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
25091         <tcb-offsets.h>.
25092         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
25093         (__libc_vfork): New strong alias.
25094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
25095         removed.
25096         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
25097         removed.
25099 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
25101         * malloc/malloc.c (mi_arena): New function.
25102         (malloc_info): Remove nested function mi_arena. Call non-nosted
25103         function mi_arena.
25105 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25107         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
25108         by insrwi.
25109         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
25110         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
25111         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
25112         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
25113         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
25114         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
25115         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
25117 2014-05-26  Andreas Schwab  <schwab@suse.de>
25119         [BZ #16984]
25120         * locale/programs/repertoire.c (repertoire_read): Add slash
25121         between I18NPATH element and file name.
25122         * locale/programs/locfile.c (locfile_read): Likewise.
25124 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25126         * nptl/pthread_mutexattr_settype.c
25127         (__pthread_mutexattr_settype):
25128         Disable lock elision for PTHREAD_MUTEX_NORMAL.
25130 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25132         * nptl/tst-mutex5 (do_test):
25133         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
25135 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25137         * benchtests/README: Document 'init' directive.
25138         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
25139         BENCH_INIT.
25140         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
25141         (parse_file): Recognize 'init' directive.
25143 2014-05-26  Kyle McMartin  <kyle@redhat.com>
25145         [BZ #16796]
25146         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
25147         alignment of struct pthread.
25149 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25151         [BZ #16878]
25152         * nscd/netgroupcache.c (addgetnetgrentX): Look for
25153         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25154         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
25155         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
25157 2014-05-25  Richard Henderson  <rth@twiddle.net>
25159         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25160         (SINGLE_THREAD_P_PIC): Remove.
25161         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
25162         (SINGLE_THREAD_P_PIC): Remove.
25164         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
25165         branch to syscall error ...
25166         (PSEUDO): ... here.
25167         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
25168         from __local_syscall_error to .Lsyscall_error.
25169         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
25170         (SYSCALL_ERROR): Update label name.
25172         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25173         Do not use DOARGS/UNDOARGS.
25174         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
25175         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
25176         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
25177         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
25178         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
25180         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
25181         block comment.
25183         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
25184         define if !NOT_IN_libc.
25185         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
25186         define with non-default symbol versions.
25188 2014-05-23  Richard Henderson  <rth@twiddle.net>
25190         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
25191         (vfork, __vfork): Define via compat_symbol.
25193         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
25194         [!HAVE_IFUNC] (vfork_compat): Remove.
25195         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
25197 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25199         [BZ #16978]
25200         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
25201         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
25202         variable.
25204 2014-05-23  Richard Henderson  <rth@twiddle.net>
25206         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
25207         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
25208         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
25209         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
25211         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
25212         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
25213         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
25214         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
25215         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
25216         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
25217         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
25218         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
25219         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
25220         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
25221         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
25222         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
25223         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
25224         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
25225         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
25226         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
25227         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
25228         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
25229         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
25230         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
25231         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
25232         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
25233         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
25234         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
25235         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
25236         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
25237         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
25238         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
25239         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
25240         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
25241         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
25242         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
25243         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
25244         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
25245         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
25246         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
25247         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
25248         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
25249         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
25250         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
25251         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
25252         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
25253         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
25254         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
25255         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
25256         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
25257         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
25258         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
25259         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
25260         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
25261         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
25262         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
25263         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
25264         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
25265         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
25266         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
25268         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
25269         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
25270         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
25271         before exiting on error.
25272         (__libc_vfork): New strong alias.
25273         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
25274         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
25276         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
25277         that was previously under [RESET_PID].
25278         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
25280         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
25282 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
25284         [BZ #16977]
25285         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
25286         value when x - 1 is zero.
25287         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
25288         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
25289         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
25290         0.0L for an argument of 1.0L.
25291         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
25292         Likewise.
25293         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
25294         value when x - 1 is zero.
25295         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
25296         * sysdeps/i386/fpu/libm-test-ulps: Update.
25297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25299 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25301         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25302         alphasort and versionsort.
25304 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25306         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
25307         macro.
25308         [copysignf]: Likewise.
25310 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25312         * crypt/md5-crypt.c: Fix formatting.
25314 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25316         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
25317         (b64_from_24bit): New function.
25319 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25321         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
25322         libc_hidden_builtin_def to ifunc.
25323         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25324         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
25326 2014-05-21  Roland McGrath  <roland@hack.frob.com>
25328         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
25329         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
25331 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
25333         * nscd/Depend (linuxthreads): Remove.
25334         (nptl): Add.
25335         * resolv/Depend (linuxthreads): Remove.
25336         * rt/Depend (linuxthreads): Remove.
25338         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
25339         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
25340         $(common-objpfx)elf/.
25341         (link-libc-before-gnulib): Likewise.
25342         (elfobjdir): Remove variable.
25343         * Makefile (install): Use $(elf-objpfx) instead of
25344         $(common-objpfx)elf/.
25345         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
25346         $(elfobjdir)/.
25347         (link-libc-deps): Likewise.
25348         ($(common-objpfx)libc.so): Likewise.
25349         ($(common-objpfx)linkobj/libc.so): Likewise.
25350         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
25351         instead of $(common-objpfx)elf/.
25352         (symbolic-link-list): Likewise.
25353         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25354         [$(cross-compiling) = no]: Likewise.
25355         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
25356         $(elfobjdir)/.
25357         (static-gnulib-arch): Likewise.
25358         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25359         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
25360         $(common-objpfx)elf/.
25362 2014-05-21  Richard Henderson  <rth@redhat.com>
25364         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
25365         (SINGLE_THREAD_P): Use the correct width load.  Fold
25366         into the ldr offset.
25368         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
25369         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
25371 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
25373         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
25374         (libgcc_s_resume): Use __attribute_used__.
25375         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
25376         Likewise.
25378 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25380         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
25381         optimization when used with float constants.
25383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25385 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
25387         [BZ #16915]
25388         * locale/nl_langinfo_l.c: Make direct reference to every
25389         _nl_current_CATEGORY symbol.
25390         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
25391         (tests-static): Add tst-langinfo-static.
25392         (tests-special): Add tst-langinfo-static.out.
25393         ($(objpfx)tst-langinfo.out): Redirect output.
25394         ($(objpfx)tst-langinfo-static.out): New.
25395         * localedata/tst-langinfo.sh: Send output to stdout.
25396         * localedata/tst-langinfo-static.c: New file.
25398         [BZ #16965]
25399         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
25400         when the shift amount is modulo the limb size.
25402 2014-05-20  Richard Henderson  <rth@redhat.com>
25404         [BZ #16967]
25405         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
25406         Change type of sa_flags from unsigned int to int.
25408         [BZ #16966]
25409         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
25411         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
25413 2014-05-20  Will Newton  <will.newton@linaro.org>
25415         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25416         Test the return value of the system call in the nocancel case.
25418 2014-05-20  Will Newton  <will.newton@linaro.org>
25419             Yvan Roux  <yvan.roux@linaro.org>
25421         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
25422         #include of asm/ptrace.h.
25423         (PTRACE_GET_THREAD_AREA): Remove #undef.
25424         (PTRACE_GETHBPREGS): Likewise.
25425         (PTRACE_SETHBPREGS): Likewise.
25426         (struct user_regs_struct): New structure.
25427         (struct user_fpsimd_struct): New structure.
25428         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
25429         #include of asm/ptrace.h and second #include of sys/user.h.
25430         (PTRACE_GET_THREAD_AREA): Remove #undef.
25431         (PTRACE_GETHBPREGS): Likewise.
25432         (PTRACE_SETHBPREGS): Likewise.
25433         (ELF_NGREG): Use new struct user_regs_struct.
25434         (elf_fpregset_t): Use new struct user_fpsimd_struct.
25436 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25438         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
25439         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
25441 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
25443         [BZ #16958]
25444         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
25445         membar to avoid block loads/stores to overlap previous stores.
25447 2014-05-17  Richard Henderson  <rth@redhat.com>
25449         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
25450         Create the __##syscall_name##_nocancel entry point.
25451         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
25452         Remove; let the sysdep-cancel.h code create it.
25454 2014-05-17  David S. Miller  <davem@davemloft.net>
25456         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
25457         Protect with __USE_GNU.
25458         (TIOCSET_TEMPT): Likewise.
25459         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25460         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
25461         these are already provided in bits/ioctl-types.h
25463 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25465         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
25466         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
25468         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
25469         Use wait4 regardless of [__NR_waitpid].
25471 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25473         PR libgcc/60166
25474         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25475         (_FP_NANSIGN_Q): Set the quiet bit.
25477 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
25479         * benchtests/Makefile
25480         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
25481         not $(common-objpfx)math/libm.so.
25482         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
25483         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
25484         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
25485         $(common-objpfx)dlfcn/libdl.so.
25486         ($(objpfx)tst-audit8): Depend on $(libm), not
25487         $(common-objpfx)math/libm.so.
25488         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
25489         not $(common-objpfx)dlfcn/libdl.so.
25490         * math/Makefile
25491         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25492         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
25493         [$(build-shared) = yes].
25494         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
25495         $(common-objpfx)nptl/libpthread.so.
25496         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
25497         $(common-objpfx)math/libm.so$(libm.so-version) or
25498         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
25499         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
25500         $(common-objpfx)dlfcn/libdl.so.
25501         * setjmp/Makefile (link-libm): Remove variable.
25502         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
25503         * stdio-common/Makefile (link-libm): Remove variable.
25504         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
25505         * stdlib/Makefile (link-libm): Remove variable.
25506         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
25507         ($(objpfx)tst-strtod-round): Likewise.
25508         ($(objpfx)tst-tininess): Likewise.
25509         ($(objpfx)tst-strtod-underflow): Likewise.
25510         ($(objpfx)tst-strtod6): Likewise.
25511         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
25512         $(libdl), not $(common-objpfx)nptl/libpthread.so and
25513         $(common-objpfx)dlfcn/libdl.so.
25515 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25517         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
25518         BSD terminal modes definitions.
25520 2014-05-16  Roland McGrath  <roland@hack.frob.com>
25522         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
25523         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
25525         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
25526         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
25527         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
25528         Don't do #include_next.
25529         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
25530         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
25531         Don't do #include_next.
25532         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
25533         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
25534         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
25535         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
25537 2014-05-16  Allan McRae  <allan@archlinux.org>
25539         * po/sv.po: Update Swedish translation from translation project.
25541         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
25542         in sed expression.
25544 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
25546         [BZ #16917]
25547         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
25548         errno if the TIOCGPTN ioctl fails with an error different than
25549         EINVAL.
25550         * login/tst-ptsname.c: New file.
25551         * login/Makefile (tests): Add tst-ptsname.
25553         [BZ #16943]
25554         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
25555         and prlimit64.
25557 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25559         [BZ #16849]
25560         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
25561         herrno to return EAI_AGAIN.
25563 2014-05-14  Roland McGrath  <roland@hack.frob.com>
25565         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
25566         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
25567         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
25568         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
25569         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
25570         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
25571         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
25572         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
25573         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
25574         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
25575         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
25576         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
25577         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
25578         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
25579         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
25580         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
25581         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
25582         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
25583         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
25584         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
25585         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
25586         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
25587         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
25588         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
25589         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
25590         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
25591         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
25592         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
25593         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
25594         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
25595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
25596         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
25597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
25598         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
25599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25600         Moved ...
25601         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
25602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
25603         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
25604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
25605         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
25606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
25607         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
25608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
25609         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
25610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
25611         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
25612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
25613         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
25614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
25615         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
25616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
25617         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
25618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
25619         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
25620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
25621         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
25622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
25623         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
25624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
25625         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
25626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
25627         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
25628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25629         Moved ...
25630         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
25631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
25632         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
25633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
25634         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
25635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
25636         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
25637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
25638         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
25639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
25640         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
25641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
25642         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
25643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
25644         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
25645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
25646         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
25647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
25648         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
25649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25650         Moved ...
25651         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
25652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
25653         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
25655         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
25656         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
25657         (libpthread-sysdep_routines): Add elision-related stuff here instead.
25658         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
25659         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
25660         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
25661         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
25662         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
25663         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
25664         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
25665         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
25666         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
25667         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
25668         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
25669         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
25670         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
25671         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
25672         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
25673         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
25674         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
25675         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
25676         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
25677         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
25678         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
25679         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
25680         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
25681         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
25682         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
25683         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
25684         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
25685         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
25687         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
25688         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
25690         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
25691         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
25692         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
25693         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
25694         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
25695         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
25696         Moved ...
25697         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
25698         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
25699         Moved ...
25700         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
25701         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
25702         Moved ...
25703         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
25704         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
25705         Moved ...
25706         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
25707         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
25708         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
25709         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
25710         Moved ...
25711         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
25712         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
25713         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
25714         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
25715         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
25716         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
25717         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
25718         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
25719         Moved ...
25720         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
25721         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
25722         Moved ...
25723         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
25724         ... here.
25725         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
25726         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
25727         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
25728         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
25729         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
25730         Moved ...
25731         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
25732         ... here.
25733         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
25734         Moved ...
25735         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
25736         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
25737         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
25738         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
25739         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
25740         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
25741         Moved ...
25742         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
25743         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
25744         Moved ...
25745         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
25746         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
25747         Moved ...
25748         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
25749         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
25750         Moved ...
25751         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
25752         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
25753         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
25754         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
25755         Moved ...
25756         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
25757         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
25758         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
25759         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
25760         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
25761         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
25762         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
25763         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
25764         Moved ...
25765         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
25766         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
25767         Moved ...
25768         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
25769         ... here.
25770         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
25771         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
25772         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
25773         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
25774         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
25775         Moved ...
25776         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
25777         ... here.
25778         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
25779         Moved ...
25780         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
25781         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
25782         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
25783         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
25784         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
25785         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
25786         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
25787         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
25788         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
25789         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
25790         Moved ...
25791         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
25792         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
25793         Moved ...
25794         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
25795         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
25796         Moved ...
25797         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
25798         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
25799         Moved ...
25800         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
25801         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
25802         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
25803         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
25804         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
25805         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
25806         Moved ...
25807         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
25808         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
25809         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
25810         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
25811         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
25812         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
25813         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
25814         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
25815         Moved ...
25816         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
25817         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
25818         Moved ...
25819         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
25820         ... here.
25821         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
25822         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
25823         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
25824         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
25825         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
25826         Moved ...
25827         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
25828         ... here.
25829         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
25830         Moved ...
25831         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
25832         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
25833         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
25834         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
25835         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
25836         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
25837         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
25838         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
25839         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
25840         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
25841         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
25843         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
25844         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
25846         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
25847         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
25849         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
25850         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
25851         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
25852         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
25853         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
25854         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
25855         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
25856         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
25857         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
25858         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
25859         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
25860         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
25861         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
25862         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
25863         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
25864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
25865         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
25866         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
25867         Moved ...
25868         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
25869         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
25870         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
25871         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
25872         Moved ...
25873         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
25874         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
25875         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
25876         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
25877         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
25878         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
25879         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
25880         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
25881         Moved ...
25882         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
25883         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
25884         Moved ...
25885         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
25886         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
25887         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
25888         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
25889         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
25890         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
25891         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
25892         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
25893         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
25894         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
25895         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
25896         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
25897         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
25898         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
25899         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
25900         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
25901         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
25903         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
25904         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
25905         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
25906         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
25907         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
25909         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
25910         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
25911         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
25912         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
25913         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
25914         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
25915         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
25916         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
25917         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
25918         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
25920         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
25921         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
25923         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
25924         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
25925         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
25926         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
25927         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
25928         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
25929         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
25930         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
25931         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
25932         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
25933         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
25934         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
25935         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
25936         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
25937         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
25938         Update #include.
25939         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
25940         Likewise.
25941         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
25942         Likewise.
25943         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
25944         Likewise.
25945         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
25946         Likewise.
25947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
25948         Likewise.
25949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
25950         Likewise.
25951         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
25952         Likewise.
25953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
25954         Likewise.
25955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
25956         Likewise.
25957         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
25958         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
25959         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
25960         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
25961         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
25962         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
25963         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
25964         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
25965         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
25966         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
25967         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
25968         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
25969         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
25970         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
25971         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
25973         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
25974         that was previously under [RESET_PID].
25975         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25976         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
25977         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
25979         * sysdeps/i386/nptl/Implies: New file.
25980         * sysdeps/x86_64/nptl/Implies: New file.
25981         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
25982         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
25983         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
25984         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
25986         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
25987         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25988         (__libc_vfork): New strong alias.
25989         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
25990         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
25992         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
25993         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25994         (__libc_vfork): New strong alias.
25995         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
25996         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
25998         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
25999         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26000         (__libc_vfork): New strong alias.
26001         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
26002         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
26003         * nptl/pt-vfork.c: New file.
26004         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
26005         (libpthread: GLIBC_2.20): New version set (empty).
26007 2014-05-14  Will Newton  <will.newton@linaro.org>
26009         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
26010         rather than #if.
26012 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26014         [BZ #16564]
26015         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
26016         arguments with exponent 65 or above.
26017         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
26018         arguments 0x1p113L or above.
26019         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
26020         to arguments 0x1p107L or above.
26021         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
26022         positive arguments with exponent 65 or above.
26023         * math/auto-libm-test-in: Add more tests of log1p.
26024         * math/auto-libm-test-out: Regenerated.
26026         [BZ #16928]
26027         * math/s_cacos.c (__cacos): Ensure zero real part of result from
26028         non-finite arguments is +0.
26029         * math/s_cacosf.c (__cacosf): Likewise.
26030         * math/s_cacosl.c (__cacosl): Likewise.
26031         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
26032         * sysdeps/i386/fpu/libm-test-ulps: Update.
26033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26035         [BZ #16927]
26036         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
26037         value.
26038         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
26039         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
26040         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
26041         for explicit high bit of mantissa when testing for argument equal
26042         to 1.
26043         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
26044         * sysdeps/i386/fpu/libm-test-ulps: Update.
26045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26047         [BZ #16516]
26048         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
26049         (__erf): Scale by 16 instead of 8 in potentially underflowing
26050         case.  Ensure exception if result actually underflows.
26051         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
26052         (__erff): Scale by 16 instead of 8 in potentially underflowing
26053         case.  Ensure exception if result actually underflows.
26054         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
26055         (efx8): Remove variable.
26056         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26057         case.  Ensure exception if result actually underflows.
26058         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
26059         (efx8): Remove variable.
26060         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26061         case.  Ensure exception if result actually underflows.
26062         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
26063         (efx8): Remove variable.
26064         (__erfl): Scale by 16 instead of 8 in potentially underflowing
26065         case.  Ensure exception if result actually underflows.
26066         * math/auto-libm-test-in: Add more tests of erf.
26067         * math/auto-libm-test-out: Regenerated.
26069 2014-05-14  Andreas Schwab  <schwab@suse.de>
26071         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
26072         Remove code conditionalized on USE___THREAD.
26074         * config.h.in (HAVE_PT_CHOWN): Define as 0.
26075         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
26076         not definedness.
26078 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
26080         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
26081         Define unconditionally.
26082         (__ASSUME_O_CLOEXEC): Likewise.
26083         (__ASSUME_SOCK_CLOEXEC): Likewise.
26084         (__ASSUME_IN_NONBLOCK): Likewise.
26085         (__ASSUME_PIPE2): Likewise.
26086         (__ASSUME_EVENTFD2): Likewise.
26087         (__ASSUME_SIGNALFD4): Likewise.
26088         (__ASSUME_DUP3): Likewise.
26089         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26090         (__ASSUME_DUP3): Do not define.
26091         (__ASSUME_EVENTFD2): Likewise.
26092         (__ASSUME_IN_NONBLOCK): Likewise.
26093         (__ASSUME_O_CLOEXEC): Likewise.
26094         (__ASSUME_PIPE2): Likewise.
26095         (__ASSUME_SIGNALFD4): Likewise.
26096         (__ASSUME_SOCK_CLOEXEC): Likewise.
26097         (__ASSUME_UTIMES): Undefine.
26098         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26099         (__ASSUME_UTIMES): Do not define.
26100         (__ASSUME_O_CLOEXEC): Likewise.
26101         (__ASSUME_SOCK_CLOEXEC): Likewise.
26102         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
26103         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
26104         0x020621].
26105         (__ASSUME_PIPE2): Likewise.
26106         (__ASSUME_EVENTFD2): Likewise.
26107         (__ASSUME_SIGNALFD4): Likewise.
26108         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
26109         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
26110         Do not define.
26111         (__ASSUME_EVENTFD2): Likewise.
26112         (__ASSUME_SIGNALFD4): Likewise.
26113         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26114         (__ASSUME_32BITUIDS): Likewise.
26115         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26116         (__ASSUME_IPC64): Likewise.
26117         (__ASSUME_ST_INO_64_BIT): Likewise.
26118         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
26119         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
26120         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26121         (__ASSUME_UTIMES): Do not define.
26122         (__ASSUME_PSELECT): Likewise.
26123         (__ASSUME_PPOLL): Likewise.
26124         (__ASSUME_O_CLOEXEC): Likewise.
26125         (__ASSUME_SOCK_CLOEXEC): Likewise.
26126         (__ASSUME_IN_NONBLOCK): Likewise.
26127         (__ASSUME_PIPE2): Likewise.
26128         (__ASSUME_EVENTFD2): Likewise.
26129         (__ASSUME_SIGNALFD4): Likewise.
26130         (__ASSUME_DUP3): Likewise.
26131         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26132         (__ASSUME_UTIMES): Likewise.
26133         (__ASSUME_O_CLOEXEC): Likewise.
26134         (__ASSUME_SOCK_CLOEXEC): Likewise.
26135         (__ASSUME_IN_NONBLOCK): Likewise.
26136         (__ASSUME_PIPE2): Likewise.
26137         (__ASSUME_EVENTFD2): Likewise.
26138         (__ASSUME_SIGNALFD4): Likewise.
26139         (__ASSUME_DUP3): Likewise.
26140         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26141         (__ASSUME_UTIMES): Likewise.
26142         (__ASSUME_O_CLOEXEC): Likewise.
26143         (__ASSUME_SOCK_CLOEXEC): Likewise.
26144         (__ASSUME_IN_NONBLOCK): Likewise.
26145         (__ASSUME_PIPE2): Likewise.
26146         (__ASSUME_EVENTFD2): Likewise.
26147         (__ASSUME_SIGNALFD4): Likewise.
26148         (__ASSUME_DUP3): Likewise.
26149         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
26150         Likewise.
26151         (__ASSUME_UTIMES): Likewise.
26152         (__ASSUME_EVENTFD2): Likewise.
26153         (__ASSUME_SIGNALFD4): Likewise.
26154         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26155         (__ASSUME_O_CLOEXEC): Likewise.
26156         (__ASSUME_SOCK_CLOEXEC): Likewise.
26157         (__ASSUME_IN_NONBLOCK): Likewise.
26158         (__ASSUME_PIPE2): Likewise.
26159         (__ASSUME_EVENTFD2): Likewise.
26160         (__ASSUME_SIGNALFD4): Likewise.
26161         (__ASSUME_DUP3): Likewise.
26162         (__ASSUME_UTIMES): Undefine.
26164         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
26165         feclearexcept.  Remove symbol versioning code.
26166         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
26167         symbol versioning code.
26168         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
26169         symbol versioning code.
26170         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
26171         feupdateenv.  Remove symbol versioning code.
26172         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
26173         fegetexceptflag.  Remove symbol versioning code.
26174         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
26175         fesetexceptflag.  Remove symbol versioning code.
26176         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
26177         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
26178         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
26179         (__posix_fadvise64_l32): Remove prototype.
26180         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
26181         code.
26183 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26185         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
26186         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
26187         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
26188         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
26190 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
26192         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
26193         current working directory
26195 2014-05-13  Roland McGrath  <roland@hack.frob.com>
26197         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
26198         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
26199         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
26200         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
26201         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
26202         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
26203         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
26204         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
26205         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
26206         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
26207         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
26208         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
26209         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
26210         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
26211         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
26212         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
26213         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
26214         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
26215         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
26216         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
26217         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
26218         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
26219         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
26220         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
26221         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
26222         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
26223         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
26224         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
26225         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
26226         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
26227         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
26228         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
26229         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
26230         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
26231         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
26232         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
26233         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
26234         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
26235         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
26236         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
26237         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
26238         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
26240         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
26241         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
26243         * sysdeps/unix/sysv/linux/arm/Makefile
26244         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26245         Add rt-aeabi_unwind_cpp_pr1.
26246         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
26247         Add nptl-aeabi_unwind_cpp_pr1.
26248         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
26249         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
26250         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
26251         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
26252         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
26253         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
26255         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
26256         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
26257         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
26258         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
26260         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
26261         Deconditionalize the code that was previously under [RESET_PID].
26262         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
26264         * sysdeps/generic/exit-thread.h: New file.
26265         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
26266         * include/unistd.h (__exit_thread): Remove declaration.
26267         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
26268         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
26269         * csu/libc-start.c: Include <exit-thread.h>.
26270         (LIBC_START_MAIN): Pass no argument to __exit_thread.
26271         * nptl/pthread_create.c: Include <exit-thread.h>.
26272         (start_thread): Call __exit_thread in place of __exit_thread_inline.
26273         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
26274         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
26275         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
26276         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
26277         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
26278         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
26279         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
26280         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
26281         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
26282         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
26283         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
26284         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
26285         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
26286         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
26287         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
26288         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
26290 2014-05-13  Andreas Schwab  <schwab@suse.de>
26292         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
26294 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
26296         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26297         (__ASSUME_UTIMES): Do not condition on kernel version.
26298         (__ASSUME_PSELECT): Define unconditionally.
26299         (__ASSUME_PPOLL): Likewise.
26300         (__ASSUME_ATFCTS): Likewise.
26301         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
26302         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
26303         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
26304         (__ASSUME_UTIMENSAT): Define unconditionally.
26305         (__ASSUME_PRIVATE_FUTEX): Likewise.
26306         (__ASSUME_FALLOCATE): Likewise.
26307         (__ASSUME_O_CLOEXEC): Likewise.
26308         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
26309         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
26310         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
26311         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
26312         (__ASSUME_IN_NONBLOCK): Likewise.
26313         (__ASSUME_PIPE2): Likewise.
26314         (__ASSUME_EVENTFD2): Likewise.
26315         (__ASSUME_SIGNALFD4): Likewise.
26316         (__ASSUME_DUP3): Likewise.
26317         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26318         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
26319         (__ASSUME_AT_RANDOM): Likewise.
26320         (__ASSUME_PREADV): Likewise.
26321         (__ASSUME_PWRITEV): Likewise.
26322         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
26323         (__ASSUME_F_GETOWN_EX): Define unconditionally.
26324         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
26325         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26326         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
26327         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
26328         (__ASSUME_O_CLOEXEC): Define unconditionally.
26329         (__ASSUME_PSELECT): Do not undefine conditionally.
26330         (__ASSUME_PPOLL): Likewise.
26331         (__ASSUME_ATFCTS): Likewise.
26332         (__ASSUME_SET_ROBUST_LIST): Likewise.
26333         (__ASSUME_UTIMENSAT): Likewise.
26334         (__ASSUME_FDATASYNC): Define unconditionally.
26335         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26336         (__ASSUME_SIGFRAME_V2): Likewise.
26337         )__ASSUME_EVENTFD2): Likewise.
26338         (__ASSUME_SIGNALFD4): Likewise.
26339         (__ASSUME_PSELECT): Do not undefine conditionally.
26340         (__ASSUME_PPOLL): Likewise.
26341         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
26342         (__ASSUME_PSELECT): Define unconditionally.
26343         (__ASSUME_PPOLL): Likewise.
26344         (__ASSUME_O_CLOEXEC): Likewise.
26345         (__ASSUME_SOCK_CLOEXEC): Likewise.
26346         (__ASSUME_IN_NONBLOCK): Likewise.
26347         (__ASSUME_PIPE2): Likewise.
26348         (__ASSUME_EVENTFD2): Likewise.
26349         (__ASSUME_SIGNALFD4): Likewise.
26350         (__ASSUME_DUP3): Likewise.
26351         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
26352         (__ASSUME_O_CLOEXEC): Likewise.
26353         (__ASSUME_SOCK_CLOEXEC): Likewise.
26354         (__ASSUME_IN_NONBLOCK): Likewise.
26355         (__ASSUME_PIPE2): Likewise.
26356         (__ASSUME_EVENTFD2): Likewise.
26357         (__ASSUME_SIGNALFD4): Likewise.
26358         (__ASSUME_DUP3): Likewise.
26359         * sysdeps/unix/sysv/linux/mips/kernel-features.h
26360         (__ASSUME_EVENTFD2): Likewise.
26361         (__ASSUME_SIGNALFD4): Likewise.
26362         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
26364 2014-05-12  Andreas Schwab  <schwab@suse.de>
26366         [BZ #16932]
26367         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
26368         (_nss_nis_gethostbyname4_r): Return error if item length is larger
26369         than maximum RPC packet size.
26370         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
26371         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
26372         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
26373         (_nss_nis_getservbyport_r): Likewise.
26375 2014-05-12  Will Newton  <will.newton@linaro.org>
26377         * malloc/Makefile (tests): Add tst-mallopt.
26378         * malloc/tst-mallopt.c: New file.
26380 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26382         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
26383         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
26385 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26387         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
26388         (tst-tlsmod6.so): Likewise.
26390 2014-05-09  Roland McGrath  <roland@hack.frob.com>
26392         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
26394 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
26396         [BZ #16064]
26397         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
26398         and <dl-procinfo.h>.
26399         (__fegetenv): Save SSE state in envp->__eip if supported.
26400         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
26401         envp->__eip if supported.
26402         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
26403         and <dl-procinfo.h>.
26404         (__fesetenv): Always set __eip, __cs_selector, __opcode,
26405         __data_offset and __data_selector in environment to 0.  Set SSE
26406         state if supported.
26407         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26408         test-fenv-sse.
26409         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
26410         -mfpmath=sse.
26411         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
26413 2014-05-09  Will Newton  <will.newton@linaro.org>
26415         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
26416         and libc_relro_required for ARM.
26417         * sysdeps/arm/preconfigure: Regenerate.
26419 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
26420             Stefan Liebler  <stli@linux.vnet.ibm.com>
26422         * config.make.in (enable-lock-elision): New Makefile variable.
26423         * configure.ac: Likewise.
26424         * configure: Regenerate.
26425         * sysdeps/s390/configure.ac:
26426         Add check for gcc transactions support.
26427         * sysdeps/s390/configure: Regenerate.
26428         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
26429         Build elision files if enabled.
26430         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
26431         Add lock elision support for s390.
26432         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
26433         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
26434         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
26435         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26436         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
26437         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
26438         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26439         Likewise.
26440         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
26441         Likewise.
26442         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
26443         Likewise.
26444         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
26445         Likewise.
26446         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
26447         (__lll_timedlock_elision, __lll_lock_elision)
26448         (__lll_unlock_elision, __lll_trylock_elision)
26449         (lll_timedlock_elision, lll_lock_elision)
26450         (lll_unlock_elision, lll_trylock_elision): Add.
26451         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
26452         (pthread_mutex_t): Add lock elision support for s390.
26454 2014-05-14  Wilco  <wdijkstr@arm.com>
26456         * sysdeps/arm/fclrexcpt.c: Cleanup.
26457         * sysdeps/arm/fedisblxcpt.c: Cleanup.
26458         * sysdeps/arm/feenablxcpt.c: Cleanup.
26459         * sysdeps/arm/fegetenv.c: Cleanup.
26460         * sysdeps/arm/fegetexcept.c: Cleanup.
26461         * sysdeps/arm/fegetround.c: Cleanup.
26462         * sysdeps/arm/feholdexcpt.c: Cleanup.
26463         * sysdeps/arm/fesetenv.c: Cleanup.
26464         * sysdeps/arm/fesetround.c: Cleanup.
26465         * sysdeps/arm/feupdateenv.c: Cleanup.
26466         * sysdeps/arm/fgetexcptflg.c: Cleanup.
26467         * sysdeps/arm/fraiseexcpt.c: Cleanup.
26468         * sysdeps/arm/fsetexcptflg.c: Cleanup.
26469         * sysdeps/arm/ftestexcept.c: Cleanup.
26470         * sysdeps/arm/get-rounding-mode.h: Cleanup.
26471         * sysdeps/arm/setfpucw.c: Cleanup.
26473 2014-05-09  Will Newton  <will.newton@linaro.org>
26475         * sysdeps/arm/armv7/strcmp.S: New file.
26476         * NEWS: Mention addition of ARMv7 optimized strcmp.
26478 2014-05-08  Roland McGrath  <roland@hack.frob.com>
26480         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
26481         look for %.ac rather than %.in.
26483         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
26484         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
26485         * sysdeps/mach/hurd/configure: Regenerated.
26486         * sysdeps/unix/sysv/linux/configure: Regenerated.
26488         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
26490 2014-05-07  Steve Ellcey  <sellcey@mips.com>
26492         [BZ# 16922]
26493         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
26494         (LONG_SUB): Ditto.
26495         (PTR_SUB): Ditto.
26497 2014-05-07  Andreas Schwab  <schwab@suse.de>
26499         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
26500         when skipping over non-matching result from nscd.
26502 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
26504         [BZ #16876]
26505         * nptl/sockperf.c (client): Check socket return value.
26507         [BZ #16877]
26508         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
26509         nscd security class.
26511 2014-05-06  Roland McGrath  <roland@hack.frob.com>
26513         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
26514         * sysdeps/arm/unwind.h: ... here.
26516 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
26518         [BZ# 16916]
26519         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
26520         Define.
26522 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26524         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
26525         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
26526         multiarch strncpy for PPC64.
26527         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
26528         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
26529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
26530         multiarch optimizations.
26531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26532         (__libc_ifunc_impl_list): Likewise.
26533         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
26534         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
26535         multiarch stpncpy for PPC64.
26536         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
26537         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
26539 2014-05-06  Andreas Schwab  <schwab@suse.de>
26541         [BZ #16912]
26542         * gmon/mcount.c (_MCOUNT_DECL): Use
26543         atomic_compare_and_exchange_bool_acq instead of
26544         catomic_compare_and_exchange_bool_acq.
26546 2014-05-05  Roland McGrath  <roland@hack.frob.com>
26548         * elf/Makefile (others, install-bin): Remove pldd.
26549         (pldd-modules): Variable removed.
26550         ($(objpfx)pldd): Target removed.
26551         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
26552         (others, install-bin): Append pldd here.
26553         ($(objpfx)pldd): New target.
26555         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
26556         to 0, so the first #if test emitted later doesn't see it undefined.
26557         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
26558         * sysdeps/gnu/errlist.c: Regenerated.
26560 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26562         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26563         [libc_hidden_builtin_def]: Define to empty value.
26564         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
26565         [libc_hidden_builtin_def]: Likewise.
26566         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
26567         [libc_hidden_builtin_def]: Likewise.
26568         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
26569         [libc_hidden_builtin_def]: Likewise.
26570         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
26571         __redirect_memcpy and define ifunc as default hidden symbol.
26572         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
26573         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
26575 2014-05-04  Adam Conrad  <adconrad@0c3.net>
26577         * locale/iso-4217.def: Reintroduce XDR currency.
26579 2014-05-04  Allan McRae  <allan@archlinux.org>
26581         * po/eo.po: Update Esperanto translation from translation project.
26583 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
26585         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
26586         and FEATURE_INDEX_MAX to 1.
26587         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
26589 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26591         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
26592         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
26593         * iconvdata/big5.c (ONE_DIRECTION): Define.
26594         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
26595         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
26596         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
26597         * iconvdata/cp932.c (ONE_DIRECTION): Define.
26598         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
26599         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
26600         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
26601         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
26602         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
26603         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
26604         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
26605         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
26606         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
26607         * iconvdata/gbk.c (ONE_DIRECTION): Define.
26608         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
26609         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
26610         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
26611         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
26612         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
26613         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
26614         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
26615         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
26616         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
26617         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
26618         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
26619         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
26620         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
26621         * iconvdata/iso646.c (ONE_DIRECTION): Define.
26622         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
26623         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
26624         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
26625         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
26626         * iconvdata/johab.c (ONE_DIRECTION): Define.
26627         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
26628         * iconvdata/sjis.c (ONE_DIRECTION): Define.
26629         * iconvdata/t.61.c (ONE_DIRECTION): Define.
26630         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
26631         * iconvdata/tscii.c (ONE_DIRECTION): Define.
26632         * iconvdata/uhc.c (ONE_DIRECTION): Define.
26633         * iconvdata/unicode.c (ONE_DIRECTION): Define.
26634         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
26635         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
26636         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
26638 2014-05-01  Roland McGrath  <roland@hack.frob.com>
26640         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
26641         (_IO_JUMPS_OFFSET): Define to 0.
26643         * nptl/sysdeps/pthread/bits/libc-lock.h
26644         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
26645         (__libc_lock_define_initialized_recursive): Always define using
26646         initializer.  Modern compilers treat uninitialized (implicit zero) and
26647         explicit zero initializers the same (i.e. put the datum in bss).
26649 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26651         * nscd/nscd-client.h: Include <string.h>.
26653 2014-05-01  David S. Miller  <davem@davemloft.net>
26655         [BZ #16885]
26656         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
26657         multiple zero bytes exist at the end of a string.
26658         Reported by Aurelien Jarno <aurelien@aurel32.net>
26660         * string/test-strcmp.c (check): Add explicit test for situations where
26661         there are multiple zero bytes after the first.
26663 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26665         [BZ #16890]
26666         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
26667         when compiling wprintf.
26668         * stdio-common/tstdiomisc.c (t3): New function.
26669         (main): Call it.
26671 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26673         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
26674         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
26675         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
26676         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
26678 2014-05-01  Steve Ellcey  <sellcey@mips.com>
26680         * stdlib/longlong.h: Updated from GCC.
26682 2014-05-01  Will Newton  <will.newton@linaro.org>
26683             Bernard Ogden  <bernie.ogden@linaro.org>
26685         * NEWS: Update fixed bug list.
26687         [BZ #15119]
26688         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
26690 2014-04-30  David S. Miller  <davem@davemloft.net>
26692         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
26693         (libc_feholdexcept_setround_sparc_ctx): New function.
26694         (libc_fesetenv_sparc_ctx): Likewise.
26695         (libc_feupdateenv_sparc_ctx): Likewise.
26696         (libc_feholdsetround_sparc_ctx): Likewise.
26697         (libc_feholdexcept_setround_ctx): Define.
26698         (libc_feholdexcept_setroundf_ctx): Likewise.
26699         (libc_feholdexcept_setroundl_ctx): Likewise.
26700         (libc_fesetenv_ctx): Likewise.
26701         (libc_fesetenvf_ctx): Likewise.
26702         (libc_fesetenvl_ctx): Likewise.
26703         (libc_feupdateenv_ctx): Likewise.
26704         (libc_feupdateenvf_ctx): Likewise.
26705         (libc_feupdateenvl_ctx): Likewise.
26706         (libc_feresetround_ctx): Likewise.
26707         (libc_feresetroundf_ctx): Likewise.
26708         (libc_feresetroundl_ctx): Likewise.
26709         (libc_feholdsetround_ctx): Likewise.
26710         (libc_feholdsetroundf_ctx): Likewise.
26711         (libc_feholdsetroundl_ctx): Likewise.
26713         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
26714         with __USE_GNU instead of XOPEN cpp guards.
26716         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
26717         0.
26719         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
26720         with XOPEN cpp guards.
26722 2014-04-30  Julian Brown  <julian@codesourcery.com>
26724         [BZ #16888]
26725         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
26726         handling.
26728 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
26730         [BZ #9894]
26731         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
26732         Change to 2.6.32.
26733         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
26734         * sysdeps/unix/sysv/linux/configure: Regenerated.
26735         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
26736         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
26737         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
26738         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
26739         * README: Update reference to required Linux kernel version.
26740         * manual/install.texi (Linux): Update reference to required Linux
26741         kernel headers version.
26742         * INSTALL: Regenerated.
26744         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
26745         header inclusion.
26746         [POSIX] (limits.h): Likewise.
26747         [POSIX] (math.h): Likewise.
26748         [POSIX] (sys/wait.h): Likewise.
26749         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
26750         function.
26751         [POSIX] (stddef.h): Do not allow header inclusion.
26753 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26755         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
26757 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
26759         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
26760         Return immediately after lll_futex_wake.
26762 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26764         [BZ #16791]
26765         * nscd/nscd-client.h (datahead_init_common): Initialize entire
26766         structure.
26767         (datahead_init_pos): Call datahead_init_common early.
26768         (datahead_init_neg): Likewise.
26770         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
26771         datahead_init_neg): New functions.
26772         * nscd/aicache.c (addhstaiX): Use them.
26773         * nscd/grpcache.c (cache_addgr): Likewise.
26774         * nscd/hstcache.c (cache_addhst): Likewise.
26775         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26776         * nscd/netgroupcache.c (do_notfound): Likewise.
26777         (addgetnetgrentX): Likewise.
26778         (addinnetgrX): Likewise.
26779         * nscd/pwdcache.c (cache_addpw): Likewise.
26780         * nscd/servicescache.c (cache_addserv): Likewise.
26782 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26783             Atsushi Onoe  <atsushi@onoe.org>
26785         [BZ #14308]
26786         [BZ #12994]
26787         [BZ #13651]
26788         * resolv/res_query.c (__libc_res_nsearch): Return if at least
26789         one response is valid.
26790         * resolv/res_send.c (send_dg): Check for validity of other
26791         response if the current response is a referral.
26793 2014-04-29  Steve Ellcey  <sellcey@mips.com>
26795         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
26797 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
26799         [BZ #16823]
26800         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
26801         Always divide by positive zero when computing -Inf result.
26802         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26803         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
26805 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26807         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
26808         FPSCR if value do not change.
26809         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26810         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
26811         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26812         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26813         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
26814         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
26815         function.
26817 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
26819         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
26820         * sysdeps/unix/sysv/linux/hppa: Move directory from
26821         ports/systeps/unix/sysv/linux/hppa.
26822         * README: Update listing for hppa-*-linux-gnu.
26824 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
26826         [BZ #16754]
26827         * manual/stdio.texi (Hook functions): Fix types of stream hook
26828         functions.
26829         [BZ #16854]
26830         * socket/sys/socket.h: Fix typo in comment.
26832 2014-04-28  Wilco  <wdijkstr@arm.com>
26834         * sysdeps/arm/fenv_private.h: New file.
26835         * sysdeps/arm/math_private.h: New file.
26836         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
26838 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
26840         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
26841         with __int128_t.
26842         (La_x86_64_retval): Likewise.
26844 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
26846         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
26847         fpsr if value didn't change.
26848         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
26849         to fpcr if value didn't change.
26850         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
26851         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
26852         fpsr or fpcr if value didn't change.
26853         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
26854         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
26855         fpcr if value didn't change.
26856         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
26857         to fpsr if value didn't change.
26859 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26861         * nptl/tst-sem3.c: Use test-skeleton.c
26862         (main): Rename to do_test.  Use return instead of
26863         exit.
26864         * nptl/tst-sem4.c: Use test-skeleton.c
26865         (main): Rename to do_test.
26867 2014-04-22  David S. Miller  <davem@davemloft.net>
26869         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
26870         (struct sigaction): New struct member __glibc_reserved0, change
26871         type of sa_flags to int.
26873 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
26875         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
26876         (COUNT_LEADING_ZEROS_0): Define for AArch64.
26878 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26880         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
26881         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
26883 2014-04-22  Will Newton  <will.newton@linaro.org>
26884             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
26886         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
26887         (__longjmp): Add longjmp and longjmp_target SystemTap
26888         probes.
26889         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
26890         (__sigsetjmp): Add setjmp SystemTap probe.
26892 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
26894         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
26895         match manual order.
26897 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26899         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
26901         * sysdeps/powerpc/fpu/fenv_private.h
26902         (libc_feholdexcept_setroundl_ctx): Define to
26903         libc_feholdexcept_setround_ppc_ctx.
26904         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
26905         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
26906         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
26907         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
26909 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26911         * sysdeps/aarch64/math-tests.h: New file.
26913 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
26915         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
26916         New.
26917         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26918         Check and set bit_AVX2_Usable.
26919         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
26920         macro.
26921         (bit_AVX2): Likewise.
26922         (index_AVX2_Usable): Likewise.
26923         (CPUID_AVX2): Likewise.
26924         (HAS_AVX2): Likewise.
26926 2014-04-17  Will Newton  <will.newton@linaro.org>
26928         * manual/setjmp.texi (System V contexts): Add note that
26929         calling setcontext on a context created by a call to a
26930         signal handler is undefined.  Update text to note that
26931         setcontext from a signal handler is possible but not
26932         recommended.
26934         [BZ #16629]
26935         * stdlib/tst-setcontext.c: Include signal.h.
26936         (main): Check that the signal stack before and
26937         after swapcontext is the same.
26939         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
26940         Re-implement to restore registers in user code and avoid
26941         rt_sigreturn system call.
26943 2014-04-17  Wilco  <wdijkstr@arm.com>
26945         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
26946         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
26947         * math/test-fenv.c: Skip exception trap tests on targets which only
26948         support non-stop mode.
26950 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
26951             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26953         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
26954         (libc_feholdsetround_aarch64_ctx)
26955         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
26956         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
26957         (libc_feresetround_ctx, libc_feresetroundf_ctx)
26958         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
26959         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
26960         (libc_feresetround_noexl_ctx): Define.
26962 2014-04-16  Richard Henderson  <rth@redhat.com>
26964         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
26966         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
26967         unwind tables.
26969         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
26970         const from the non-libc, non-ldso copy.
26972         * sysdeps/alpha/libm-test-ulps: Regenerate.
26974 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
26975             Wilco Dijkstra  <wilco.dijkstra@arm.com>
26977         * sysdeps/aarch64/fpu/math_private.h: New file.
26979 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26981         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26983 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
26985         [BZ #16275]
26986         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
26987         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
26988         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
26989         Intel MPX bound registers before _dl_profile_fixup.
26990         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
26991         registers after _dl_profile_fixup.  Save and restore bound
26992         registers bnd0/bnd1 when calling _dl_call_pltexit.
26993         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
26994         (LR_BND_OFFSET): Likewise.
26995         (LRV_BND0_OFFSET): Likewise.
26996         (LRV_BND1_OFFSET): Likewise.
26998 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27000         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
27001         to...
27002         * sysdeps/mach/hurd/i386/tls.h: ... here.
27003         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
27004         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
27005         fields.
27007 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27009         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
27011 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27013         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27015 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27017         [BZ #14770]
27018         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
27019         * sysdeps/s390/configure: Regenerate.
27021         [BZ #16824]
27022         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
27023         Set round-to-nearest internally to reduce error accumulation.
27025 2014-04-16  Alan Modra  <amodra@gmail.com>
27027         [BZ #16740]
27028         [BZ #16619]
27029         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
27030         * math/libm-test.inc (frexp_test_data): Add tests.
27031         * NEWS: Update fixed bug list.
27033 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27035         * benchtests/Makefile: Depend on libraries in build directory.
27036         (bench-math): Separate out math tests.
27037         (bench-pthread): Separate out pthread tests.
27038         (bench): Include math and pthread tests.
27040 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
27042         [BZ #16831]
27043         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
27044         _dl_debug_initialize.
27046         * configure.ac: Remove SELinux header check.
27047         * configure: Regenerate.
27048         * nscd/selinux.c (perms): Array of const char* to permission names.
27049         (nscd_request_avc_has_perm): Call security_deny_unknown to find
27050         default policy. Call string_to_security_class and string_to_av_perm to
27051         translate strings. Enforce default policy and call avs_has_perm with
27052         results of translated strings.
27054 2014-04-13  David S. Miller  <davem@davemloft.net>
27056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27058 2014-04-12  Allan McRae  <allan@archlinux.org>
27060         [BZ #16838]
27061         * manual/string.texi (Collation Functions): Fix qsort argument
27062         order in example.
27063         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
27065 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
27067         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
27068         Make the test a no-op if there are no exceptions defined.
27070 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27072         * elf/Makefile (tests): make tst-dlopen-aout conditional on
27073         enable-hardcoded-path-in-tests
27075 2014-04-11  Will Newton  <will.newton@linaro.org>
27077         * benchtests/Makefile (extra-objs): Add json-lib.o.
27078         (bench-func): Tidy up JSON output.
27079         * benchtests/bench-skeleton.c: Include json-lib.h.
27080         (main): Use JSON library functions to do output of
27081         benchmark results.
27082         * benchtests/bench-timing-type.c (main): Output the
27083         timing type simply, leaving formatting to the user.
27084         * benchtests/json-lib.c: New file.
27085         * benchtests/json-lib.h: Likewise.
27087 2014-04-11  Torvald Riegel  <triegel@redhat.com>
27089         [BZ #15215]
27090         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
27091         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
27092         memory barriers.  Add comments.
27093         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
27094         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
27095         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
27096         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
27097         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
27098         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
27100 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27102         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
27103         * sysdeps/s390/s390-64/configure.ac: ... this ...
27104         * sysdeps/s390/configure.ac: ... to here.
27105         * sysdeps/s390/s390-32/configure: Delete file.
27106         * sysdeps/s390/s390-64/configure: Delete file.
27107         * sysdeps/s390/configure: Regenerate.
27109 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
27111         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
27113 2014-04-11  Will Newton  <will.newton@linaro.org>
27115         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
27116         to zero if it is not defined elsewhere.  (mtrim): Test
27117         the value of MALLOC_DEBUG with #if rather than #ifdef.
27119 2014-04-10 Torvald Riegel  <triegel@redhat.com>
27121         * benchtests/pthread_once-inputs: New file.
27122         * benchtests/pthread_once-source.c: New file.
27123         * benchtests/README: Update documentation.
27125 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27126             H.J. Lu  <hongjiu.lu@intel.com>
27128         [BZ #16275]
27129         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
27130         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
27131         * sysdeps/x86_64/configure: Regenerated.
27132         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
27133         macro.
27134         (REGISTER_SAVE_RAX): Likewise.
27135         (REGISTER_SAVE_RCX): Likewise.
27136         (REGISTER_SAVE_RDX): Likewise.
27137         (REGISTER_SAVE_RSI): Likewise.
27138         (REGISTER_SAVE_RDI): Likewise.
27139         (REGISTER_SAVE_R8): Likewise.
27140         (REGISTER_SAVE_R9): Likewise.
27141         (REGISTER_SAVE_BND0): Likewise.
27142         (REGISTER_SAVE_BND1): Likewise.
27143         (REGISTER_SAVE_BND2): Likewise.
27144         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
27145         bound registers when calling _dl_fixup.
27147 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27149         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
27150         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
27151         of its definition.
27152         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
27153         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
27154         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
27155         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
27156         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
27157         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
27158         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
27160 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
27162         [BZ #15514]
27163         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
27164         pathconf(_PC_NAME_MAX).
27166 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27168         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
27169         Remove macro usage.
27170         (__PTHREAD_SPINS): Move definition to ...
27171         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27172         (__PTHREAD_SPINS): ... here.
27173         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27174         (__PTHREAD_SPIN): Likewise.
27175         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
27176         (__PTHREAD_SPIN): Likewise.
27177         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
27178         (__PTHREAD_SPIN): Likewise.
27179         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
27180         (__PTHREAD_SPIN): Likewise.
27181         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27182         (__PTHREAD_SPIN): Likewise.
27183         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27184         (__PTHREAD_SPIN): Likewise.
27185         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
27186         (__PTHREAD_SPIN): Likewise.
27187         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27188         (__PTHREAD_SPIN): Likewise.
27189         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27190         (__PTHREAD_SPIN): Likewise.
27191         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27192         (__PTHREAD_SPIN): Likewise.
27193         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27194         (__PTHREAD_SPIN): Likewise.
27195         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
27196         (__PTHREAD_SPIN): Likewise.
27198         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
27199         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
27200         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
27201         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
27202         imply folder.
27203         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
27204         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
27205         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
27206         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
27207         correct imply path.
27208         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
27209         strlen symbol for non multi-arch builds.
27210         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
27211         missing hidden_def and weak_alias.
27213 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
27215         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
27217 2014-04-07  Will Newton  <will.newton@linaro.org>
27219         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
27220         and contents.  [!_LIBC] Remove #ifndef and contents.
27221         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
27222         * string/memccpy.c (__memccpy): Use ANSI prototype.
27223         * string/memfrob.c (memfrob): Likewise.
27224         * string/strcoll.c (STRCOLL): Likewise.
27225         * string/strlen.c (strlen): Likewise.
27226         * string/strtok.c (STRTOK): Likewise.
27227         * string/strcat.c: Remove unused #include of memcopy.h.
27228         (strcat): Use ANSI prototype.
27229         * string/strchr.c: Remove unused #include of memcopy.h.
27230         (strchr): Use ANSI prototype.
27231         * string/strcmp.c: Remove unused #include of memcopy.h.
27232         (strcmp): Use ANSI prototype.
27233         * string/strcpy.c: Remove unused #include of memcopy.h.
27234         (strcpy): Use ANSI prototype.
27236 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27238         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
27239         * config.make.in (config-extra-cppflags): Set it from
27240         libc_extra_cppflags.
27241         * configure.ac (libc_extra_cflags): Make it accumulate over
27242         configure fragments.
27243         (libc_extra_cppflags): New flag.
27244         * configure. Regenerate.
27245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
27246         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
27247         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
27248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
27250         [BZ #16815]
27251         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
27252         result for FE_DOWNWARD rounding mode.
27253         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
27254         Likewise.
27255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27257 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
27259         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
27260         in function argument name.
27262 2014-04-03  David Svoboda  <svoboda@cert.org>
27264         [BZ #5666]
27265         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
27266         explicitly.
27268 2014-04-03  Roland McGrath  <roland@hack.frob.com>
27270         * elf/dl-unmap-segments.h: New file.
27271         * sysdeps/generic/ldsodefs.h
27272         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
27273         * elf/dl-close.c: Include <dl-unmap-segments.h>.
27274         * elf/dl-fptr.c: Likewise.
27275         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
27276         * sysdeps/aarch64/tlsdesc.c: Likewise.
27277         * sysdeps/arm/tlsdesc.c: Likewise.
27278         * sysdeps/i386/tlsdesc.c: Likewise.
27279         * sysdeps/tile/dl-runtime.c: Likewise.
27280         * sysdeps/x86_64/tlsdesc.c: Likewise.
27281         * elf/dl-load.h: New file.
27282         * elf/dl-load.c: Include it.
27283         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
27284         Macros moved to dl-load.h.
27285         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
27286         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
27287         Use _dl_unmap_segments in place of __munmap.
27288         Break out segment-mapping loop into ...
27289         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
27291 2014-04-03  Will Newton  <will.newton@linaro.org>
27293         * elf/dl-lookup.c (do_lookup_x): Remove comment
27294         referring to nested function and move variable
27295         declarations down to before first use.
27297 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
27299         [BZ #16799]
27300         [BZ #16800]
27301         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
27302         with 0 numerator.
27303         * math/s_catanf.c (__catanf): Likewise.
27304         * math/s_catanh.c (__catanh): Likewise.
27305         * math/s_catanhf.c (__catanhf): Likewise.
27306         * math/s_catanhl.c (__catanhl): Likewise.
27307         * math/s_catanl.c (__catanl): Likewise.
27308         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
27309         by positive zero when computing -Inf result.
27310         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
27311         (catanh_test): Likewise.
27312         * sysdeps/i386/fpu/libm-test-ulps: Update.
27313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27315         [BZ #16789]
27316         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
27317         instead of using underflowing value in computing result.
27318         * math/s_clog10.c (__clog10): Likewise.
27319         * math/s_clog10f.c (__clog10f): Likewise.
27320         * math/s_clog10l.c (__clog10l): Likewise.
27321         * math/s_clogf.c (__clogf): Likewise.
27322         * math/s_clogl.c (__clogl): Likewise.
27323         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
27324         (clog10_test): Likewise.
27325         * sysdeps/i386/fpu/libm-test-ulps: Update.
27326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27328 2014-04-02  Alan Modra  <amodra@gmail.com>
27330         [BZ #16739]
27331         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
27332         output when value is near a power of two.  Use int64_t for lx and
27333         remove casts.  Use decimal rather than hex exponent constants.
27334         Don't use long double multiplication when double will suffice.
27335         * math/libm-test.inc (nextafter_test_data): Add tests.
27336         * NEWS: Add 16739 and 16786 to bug list.
27338         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
27340         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
27342 2014-04-01  Will Newton  <will.newton@linaro.org>
27344         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
27345         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
27347 2014-04-01  Florian Weimer  <fweimer@redhat.com>
27349         [BZ #13347]
27350         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
27351         * nptl/tst-setuid2.c: New file.
27352         * nptl/Makefile (xtests): Add tst-setuid2.
27354 2014-04-01  Alan Modra  <amodra@gmail.com>
27356         [BZ #16786]
27357         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
27359 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27361         [BZ #6803]
27362         [BZ #6804]
27363         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
27364         set errno as appropriate.
27365         * math/w_scalbf.c (__scalbf): Likewise.
27366         * math/w_scalbl.c (__scalbl): Likewise.
27367         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
27368         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
27369         * math/libm-test.inc (scalb_test_data): Add errno expectations.
27370         Add more NaN tests.
27372         [BZ #16349]
27373         * math/w_atan2.c: Include <errno.h>.
27374         (__atan2): Set errno for result underflowing to zero.
27375         * math/w_atan2f.c: Include <errno.h>.
27376         (__atan2f): Set errno for result underflowing to zero.
27377         * math/w_atan2l.c: Include <errno.h>.
27378         (__atan2l): Set errno for result underflowing to zero.
27379         * math/auto-libm-test-in: Don't allow missing errno for some atan2
27380         tests.
27381         * math/auto-libm-test-out: Regenerated.
27383 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27385         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27386         Encode instruction correctly in little endian.
27387         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27388         Likewise.
27389         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27390         Likewise.
27391         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27392         Likewise.
27393         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27394         Likewise.
27396 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
27398         [BZ #9894]
27399         * sysdeps/unix/sysv/linux/kernel-features.h
27400         [__sparc__ && !__arch64__ && !__sparc_v9__]
27401         (__ASSUME_SET_ROBUST_LIST): Do not define.
27402         [__sparc__ && !__arch64__ && !__sparc_v9__]
27403         (__ASSUME_FUTEX_LOCK_PI): Likewise.
27404         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
27405         Likewise.
27406         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27407         (__ASSUME_FUTEX_LOCK_PI): Undefine.
27408         (__ASSUME_REQUEUE_PI): Likewise.
27409         (__ASSUME_SET_ROBUST_LIST): Likewise.
27410         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27411         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
27412         Undefine.
27413         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27414         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
27415         Likewise.
27416         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
27417         Likewise.
27418         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
27419         Likewise.
27420         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27421         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
27422         Undefine.
27423         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
27424         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
27425         Likewise.
27427         [BZ #16648]
27428         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27429         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
27430         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
27432 2014-03-31  Will Newton  <will.newton@linaro.org>
27434         * benchtests/Makefile (bench): Add ffs and ffsll to list
27435         of tests.
27436         * benchtests/ffs-inputs: New file.
27437         * benchtests/ffsll-inputs: Likewise.
27439 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
27441         [BZ #16770]
27442         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
27443         too large before casting to int.
27444         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
27445         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
27446         * math/libm-test.inc (scalb_test_data): Add more tests.
27448 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27450         * benchtests/Makefile (DETAILED_OPT): New make option.
27451         (bench-func): Run benchmark program with -d if DETAILED_OPT is
27452         set.
27453         * benchtests/bench-skeleton.c: Include stdbool.h.
27454         (main): Store and print timings per input.
27455         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
27456         member to each argument value.
27457         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
27458         (_print_arg_data): Initialize per-input timing to 0.
27460         * benchtests/Makefile (timing-type): New binary.
27461         (bench-clean): Also remove bench-timing-type.
27462         (bench): New target for timing-type.
27463         (bench-func): Print output in JSON format.
27464         * benchtests/bench-skeleton.c (main): Print output in JSON
27465         format.
27466         * benchtests/bench-timing-type.c: New file.
27467         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
27468         (TIMING_PRINT_STATS): Remove.
27469         * benchtests/scripts/bench.py (_print_arg_data): Store variant
27470         name separately.
27472         * benchtests/bench-modf.c: Remove.
27473         * benchtests/modf-inputs: New inputs file.
27475 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
27477         [BZ #16362]
27478         * math/s_clog10.c (M_PI_LOG10E): New macro.
27479         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
27480         imaginary parts are 0.
27481         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
27482         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
27483         imaginary parts are 0.
27484         * math/s_clog10l.c (M_PI_LOG10El): New macro.
27485         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
27486         imaginary parts are 0.
27487         * math/libm-test.inc (clog10_test_data): Update expected results
27488         for when real and imaginary parts are 0.
27490 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
27492         * elf/dl-load.c: Finish conversion of __builtin_expect into
27493         __glibc_{un}likely.
27495 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
27497         [BZ #16348]
27498         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
27499         1+x for argument with exponent below -67.
27500         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
27501         Likewise.
27502         * math/auto-libm-test-in: Add more tests of exp.
27503         * math/auto-libm-test-out: Regenerated.
27505 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27507         [BZ #16759]
27508         * inet/getnetgrent_r.c (get_nonempty_val): New function.
27509         (nscd_getnetgrent): Use it.
27511         [BZ #16760]
27512         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
27513         of stpcpy.
27515 2014-03-27  Andi Kleen  <ak@linux.intel.com>
27517         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
27518         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27519         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27520         (lll_robust_unlock): Remove out of line section. Use cfi
27521         intrinsics.
27522         (LLL_STUB_UNWIND_INFO*): Remove.
27523         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
27524         (lll_robust_lock, lll_cond_lock, lll_timedlock)
27525         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
27526         (lll_robust_unlock): Remove out of line section. Use cfi
27527         intrinsics.
27528         (LLL_STUB_UNWIND_INFO*): Remove.
27530 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27532         [BZ #16758]
27533         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
27534         blank values.
27536 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27538         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
27540 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
27542         [BZ #16198]
27543         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
27544         fnstenv.
27545         * math/test-fenv-preserve.c: New file.
27546         * math/Makefile (tests): Add test-fenv-preserve.
27548 2014-03-26  Will Newton <will.newton@linaro.org>
27550         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
27552 2014-03-25  Roland McGrath  <roland@hack.frob.com>
27554         * scripts/versionlist.awk: Partition the version sets and emit all
27555         GLIBC_* (sorted) before all others (sorted).
27557 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
27559         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
27560         GLIBC_2.2.5 version.
27562 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27564         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
27565         calls.
27567         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
27568         previous change.
27570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27572 2014-03-25  Andreas Schwab  <schwab@suse.de>
27574         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
27575         label to be used after in6ailist is initialized.
27577 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27579         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27580         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27582 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
27584         [BZ #16357]
27585         [BZ #16599]
27586         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
27587         min_plus_half.
27588         (fp_formats): Update initializers.
27589         (init_fp_formats): Initialize new field.
27590         (output_for_one_input_case): Allow underflow for results up to
27591         min_plus_half.
27592         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
27593         * math/auto-libm-test-in: Don't mark some underflows from asin and
27594         atanh as spurious.
27595         * math/auto-libm-test-out: Regenerated.
27596         * sysdeps/i386/fpu/libm-test-ulps: Update.
27597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27599 2014-03-25  Andreas Schwab  <schwab@suse.de>
27601         * libio/Makefile (tst-ftell-partial-wide-ENV)
27602         (tst-ftell-active-handler-ENV): Define.
27604 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
27606         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
27608 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27610         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
27612 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
27614         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
27615         * sysdeps/x86_64/fpu/multiarch/e_exp.c
27616         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
27618 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
27620         [BZ #16634]
27621         * elf/dl-load.c (open_verify): Add mode parameter.
27622         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
27623         (open_path): Change from boolean 'secure' to complete flag 'mode'
27624         (_dl_map_object): Adjust.
27625         * elf/Makefile (tests): Add tst-dlopen-aout.
27626         * elf/tst-dlopen-aout.c: New test.
27628 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
27630         [BZ #16714]
27631         * sysdeps/unix/sysv/linux/s390/bits/stat.h
27632         (struct stat): Rename member pad0 to __glibc_reserved0.
27634         [BZ #16712]
27635         * sysdeps/s390/s390-32/bits/wordsize.h
27636         (__WORDSIZE32_SIZE_ULONG): New define.
27637         * sysdeps/s390/s390-64/bits/wordsize.h
27638         (__WORDSIZE32_SIZE_ULONG): Likewise.
27639         * sysdeps/generic/stdint.h (SIZE_MAX):
27640         Define as UL if __WORDSIZE32_SIZE_ULONG.
27642         [BZ #16713]
27643         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
27644         (__glibc_reserved0): New variable.
27645         (sa_flags): Change type to int.
27647         * posix/Makefile (before-compile): Use += before-compile instead
27648         of a :=.
27650         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27651         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
27653 2014-03-20  Andreas Schwab  <schwab@suse.de>
27655         [BZ #16743]
27656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
27657         non-matching result from nscd.
27659 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27661         * scripts/bench.py: Moved to ...
27662         * benchtests/scripts/bench.py: ... here.
27663         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
27665 2014-03-24  Andreas Schwab  <schwab@suse.de>
27667         [BZ #16002]
27668         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
27669         alloca_account and account alloca use for struct in6ailist.
27671 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
27673         [BZ #16284]
27674         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
27675         rounding mode to recompute results that overflow to infinity or
27676         underflow to zero.
27677         * math/auto-libm-test-in: Don't mark tests as expected to fail for
27678         bug 16284.
27679         * math/auto-libm-test-out: Regenerated.
27680         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
27681         (ccosh_test): Likewise.
27682         (csin_test_data): Use plus_oflow.
27683         (csin_test): Use ALL_RM_TEST.
27684         (csinh_test_data): Use plus_oflow.
27685         (csinh_test): Use ALL_RM_TEST.
27686         * sysdeps/i386/fpu/libm-test-ulps: Update.
27687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27689 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
27691         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
27692         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
27693         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
27695         [BZ #16731]
27696         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
27697         when x - 1 is zero.
27698         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
27699         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
27700         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27701         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
27702         argument is 1.
27703         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
27704         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
27705         zero.
27706         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
27707         * sysdeps/i386/fpu/libm-test-ulps: Update.
27708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27710 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27712         * scripts/bench.pl: Remove file.
27713         * scripts/bench.py: New benchmark script.
27714         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
27715         * benchtests/README: Mention python dependency.
27716         * scripts/pylintrc: New file.
27717         * scripts/pylint: New file.
27719         * bits/mathdef.h: Use #ifdef instead of #if.
27720         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
27721         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27722         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
27723         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27724         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
27725         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
27727 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27728             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27730         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
27731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
27732         and strpbrk-ppc64 objects.
27733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27734         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
27735         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
27736         multiarch strpbrk for POWER7.
27737         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
27738         multiarch strpbrk for PPC64.
27739         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
27740         ifunc selector.
27741         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
27742         strpbrk for POWER7.
27744 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
27746         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
27747         (atan_test): Likewise.
27748         (atanh_test_data): Use NO_TEST_INLINE for two tests.
27749         (atanh_test): Use ALL_RM_TEST.
27750         (atan2_test_data): Likewise.
27751         (cabs_test): Likewise.
27752         (cacosh_test): Likewise.
27753         (carg_test): Likewise.
27754         (casin_test): Likewise.
27755         (casinh_test): Likewise.
27756         (cbrt_test): Likewise.
27757         (csqrt_test): Likewise.
27758         (erf_test): Likewise.
27759         (erfc_test): Likewise.
27760         (pow10_test): Likewise.
27761         (exp2_test): Likewise.
27762         (hypot_test): Likewise.
27763         (j0_test): Likewise.
27764         (j1_test): Likewise.
27765         (lgamma_test): Likewise.
27766         (gamma_test): Likewise.
27767         (sincos_test): Likewise.
27768         (tanh_test): Likewise.
27769         (y0_test): Likewise.
27770         (y1_test): Likewise.
27771         * sysdeps/i386/fpu/libm-test-ulps: Update.
27772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27774 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27776         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
27777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
27778         and strcspn-ppc64 objects.
27779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27780         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
27781         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
27782         multiarch strcspn for POWER7.
27783         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
27784         multiarch strcspn for PPC64.
27785         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
27786         ifunc selector.
27787         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
27788         strcspn for POWER7.
27790 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
27792         * math/gen-libm-test.pl (generate_testfile): Expect only function
27793         name as argument to AUTO_TESTS_* and pass results for all rounding
27794         modes to parse_args.
27795         (parse_auto_input): Separate inputs of automatic tests from
27796         outputs before storing in %auto_tests.
27797         * math/libm-test.inc (acos_test_data): Update call to
27798         AUTO_TESTS_f_f.
27799         (acos_test): Use ALL_RM_TEST.
27800         (acos_tonearest_test_data): Remove.
27801         (acos_test_tonearest): Likewise.
27802         (acos_towardzero_test_data): Likewise.
27803         (acos_test_towardzero): Likewise.
27804         (acos_downward_test_data): Likewise.
27805         (acos_test_downward): Likewise.
27806         (acos_upward_test_data): Likewise.
27807         (acos_test_upward): Likewise.
27808         (acosh_test_data): Update call to AUTO_TESTS_f_f.
27809         (asin_test_data): Likewise.
27810         (asin_test): Use ALL_RM_TEST.
27811         (asin_tonearest_test_data): Remove.
27812         (asin_test_tonearest): Likewise.
27813         (asin_towardzero_test_data): Likewise.
27814         (asin_test_towardzero): Likewise.
27815         (asin_downward_test_data): Likewise.
27816         (asin_test_downward): Likewise.
27817         (asin_upward_test_data): Likewise.
27818         (asin_test_upward): Likewise.
27819         (asinh_test_data): Update call to AUTO_TESTS_f_f.
27820         (atan_test_data): Likewise.
27821         (atanh_test_data): Likewise.
27822         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
27823         (cabs_test_data): Update call to AUTO_TESTS_c_f.
27824         (carg_test_data): Likewise.
27825         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
27826         (ccos_test_data): Update call to AUTO_TESTS_c_c.
27827         (ccosh_test_data): Likewise.
27828         (cexp_test_data): Likewise.
27829         (clog_test_data): Likewise.
27830         (clog10_test_data): Likewise.
27831         (cos_test_data): Update call to AUTO_TESTS_f_f.
27832         (cos_test): Use ALL_RM_TEST.
27833         (cos_tonearest_test_data): Remove.
27834         (cos_test_tonearest): Likewise.
27835         (cos_towardzero_test_data): Likewise.
27836         (cos_test_towardzero): Likewise.
27837         (cos_downward_test_data): Likewise.
27838         (cos_test_downward): Likewise.
27839         (cos_upward_test_data): Likewise.
27840         (cos_test_upward): Likewise.
27841         (cosh_test_data): Update call to AUTO_TESTS_f_f.
27842         (cosh_test): Use ALL_RM_TEST.
27843         (cosh_tonearest_test_data): Remove.
27844         (cosh_test_tonearest): Likewise.
27845         (cosh_towardzero_test_data): Likewise.
27846         (cosh_test_towardzero): Likewise.
27847         (cosh_downward_test_data): Likewise.
27848         (cosh_test_downward): Likewise.
27849         (cosh_upward_test_data): Likewise.
27850         (cosh_test_upward): Likewise.
27851         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
27852         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
27853         (ctan_test_data): Likewise.
27854         (ctan_test): Use ALL_RM_TEST.
27855         (ctan_tonearest_test_data): Remove.
27856         (ctan_test_tonearest): Likewise.
27857         (ctan_towardzero_test_data): Likewise.
27858         (ctan_test_towardzero): Likewise.
27859         (ctan_downward_test_data): Likewise.
27860         (ctan_test_downward): Likewise.
27861         (ctan_upward_test_data): Likewise.
27862         (ctan_test_upward): Likewise.
27863         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
27864         (ctanh_test): Use ALL_RM_TEST.
27865         (ctanh_tonearest_test_data): Remove.
27866         (ctanh_test_tonearest): Likewise.
27867         (ctanh_towardzero_test_data): Likewise.
27868         (ctanh_test_towardzero): Likewise.
27869         (ctanh_downward_test_data): Likewise.
27870         (ctanh_test_downward): Likewise.
27871         (ctanh_upward_test_data): Likewise.
27872         (ctanh_test_upward): Likewise.
27873         (erf_test_data): Update call to AUTO_TESTS_f_f.
27874         (erfc_test_data): Likewise.
27875         (exp_test_data): Likewise.
27876         (exp_test): Use ALL_RM_TEST.
27877         (exp_tonearest_test_data): Remove.
27878         (exp_test_tonearest): Likewise.
27879         (exp_towardzero_test_data): Likewise.
27880         (exp_test_towardzero): Likewise.
27881         (exp_downward_test_data): Likewise.
27882         (exp_test_downward): Likewise.
27883         (exp_upward_test_data): Likewise.
27884         (exp_test_upward): Likewise.
27885         (exp10_test_data): Update call to AUTO_TESTS_f_f.
27886         (exp10_test): Use ALL_RM_TEST.
27887         (exp10_tonearest_test_data): Remove.
27888         (exp10_test_tonearest): Likewise.
27889         (exp10_towardzero_test_data): Likewise.
27890         (exp10_test_towardzero): Likewise.
27891         (exp10_downward_test_data): Likewise.
27892         (exp10_test_downward): Likewise.
27893         (exp10_upward_test_data): Likewise.
27894         (exp10_test_upward): Likewise.
27895         (exp2_test_data): Update call to AUTO_TESTS_f_f.
27896         (expm1_test_data): Likewise.
27897         (expm1_test): Use ALL_RM_TEST.
27898         (expm1_tonearest_test_data): Remove.
27899         (expm1_test_tonearest): Likewise.
27900         (expm1_towardzero_test_data): Likewise.
27901         (expm1_test_towardzero): Likewise.
27902         (expm1_downward_test_data): Likewise.
27903         (expm1_test_downward): Likewise.
27904         (expm1_upward_test_data): Likewise.
27905         (expm1_test_upward): Likewise.
27906         (fma_test_data): Update call to AUTO_TESTS_fff_f.
27907         (fma_test): Use ALL_RM_TEST.
27908         (fma_towardzero_test_data): Remove.
27909         (fma_test_towardzero): Likewise.
27910         (fma_downward_test_data): Likewise.
27911         (fma_test_downward): Likewise.
27912         (fma_upward_test_data): Likewise.
27913         (fma_test_upward): Likewise.
27914         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
27915         (j0_test_data): Update call to AUTO_TESTS_f_f.
27916         (j1_test_data): Likewise.
27917         (jn_test_data): Update call to AUTO_TESTS_if_f.
27918         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
27919         (log_test_data): Update call to AUTO_TESTS_f_f.
27920         (log10_test_data): Likewise.
27921         (log1p_test_data): Likewise.
27922         (log2_test_data): Likewise.
27923         (pow_test_data): Update call to AUTO_TESTS_ff_f.
27924         (pow_tonearest_test_data): Likewise.
27925         (sin_test_data): Update call to AUTO_TESTS_f_f.
27926         (sin_test): Use ALL_RM_TEST.
27927         (sin_tonearest_test_data): Remove.
27928         (sin_test_tonearest): Likewise.
27929         (sin_towardzero_test_data): Likewise.
27930         (sin_test_towardzero): Likewise.
27931         (sin_downward_test_data): Likewise.
27932         (sin_test_downward): Likewise.
27933         (sin_upward_test_data): Likewise.
27934         (sin_test_upward): Likewise.
27935         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
27936         (sinh_test_data): Update call to AUTO_TESTS_f_f.
27937         (sinh_test): Use ALL_RM_TEST.
27938         (sinh_tonearest_test_data): Remove.
27939         (sinh_test_tonearest): Likewise.
27940         (sinh_towardzero_test_data): Likewise.
27941         (sinh_test_towardzero): Likewise.
27942         (sinh_downward_test_data): Likewise.
27943         (sinh_test_downward): Likewise.
27944         (sinh_upward_test_data): Likewise.
27945         (sinh_test_upward): Likewise.
27946         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
27947         (sqrt_test): Use ALL_RM_TEST.
27948         (sqrt_tonearest_test_data): Remove.
27949         (sqrt_test_tonearest): Likewise.
27950         (sqrt_towardzero_test_data): Likewise.
27951         (sqrt_test_towardzero): Likewise.
27952         (sqrt_downward_test_data): Likewise.
27953         (sqrt_test_downward): Likewise.
27954         (sqrt_upward_test_data): Likewise.
27955         (sqrt_test_upward): Likewise.
27956         (tan_test_data): Update call to AUTO_TESTS_f_f.
27957         (tan_test): Use ALL_RM_TEST.
27958         (tan_tonearest_test_data): Remove.
27959         (tan_test_tonearest): Likewise.
27960         (tan_towardzero_test_data): Likewise.
27961         (tan_test_towardzero): Likewise.
27962         (tan_downward_test_data): Likewise.
27963         (tan_test_downward): Likewise.
27964         (tan_upward_test_data): Likewise.
27965         (tan_test_upward): Likewise.
27966         (tanh_test_data): Update call to AUTO_TESTS_f_f.
27967         (tgamma_test_data): Likewise.
27968         (y0_test_data): Likewise.
27969         (y1_test_data): Likewise.
27970         (yn_test_data): Update call to AUTO_TESTS_if_f.
27971         (main): Do not call removed functions.
27973 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27975         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
27976         (ldexp_test_data): Remove.
27977         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
27978         scalbn_test_data.
27979         (scalb_test): Use ALL_RM_TEST.
27981 2014-03-19  Andreas Schwab  <schwab@suse.de>
27983         * nscd/nscd.service: Also invalidate netgroup cache on reload.
27985 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
27987         [BZ #16649]
27988         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27989         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
27990         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
27991         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27992         (__ASSUME_PREADV): Undefine.
27993         (__ASSUME_PWRITEV): Likewise.
27995 2014-03-18  Roland McGrath  <roland@hack.frob.com>
27997         * bits/mman-linux.h: Add comment about non-Linux use.
27998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
27999         bits/mman-linux.h resting place.
28001         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
28002         * bits/mman-linux.h: ... here.
28004 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28006         * conform/conformtest.pl: Add standard definition when calling C
28007         preprocessor on data files.
28008         (checknamespace): Remove unused variable.
28010 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28012         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
28013         minus_oflow, plus_uflow and minus_uflow in expected results.
28014         * math/libm-test.inc (scalbn_test_data): Add more tests of
28015         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
28016         minus_uflow.
28017         (scalbn_test): Use ALL_RM_TEST.
28018         (scalbln_test_data): Add more tests of negative arguments.  Use
28019         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
28020         (scalbln_test): Use ALL_RM_TEST.
28022 2014-03-18  Roland McGrath  <roland@hack.frob.com>
28024         * scripts/abilist.awk: Ignore symbols marked with .hidden.
28026 2014-03-18  Will Newton  <will.newton@linaro.org>
28028         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
28029         inaccurate comment.
28031 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
28033         * Makerules [!subdir] (check-abi): Exit with error status if a
28034         test failed.
28036 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28038         * math/libm-test.inc (nearbyint_test_data): Include all tests used
28039         for rint.  Include results for all rounding modes.
28040         (nearbyint_test): Use ALL_RM_TEST.
28041         (rint_test_data): Include all tests used for nearbyint.
28043 2014-03-17  Will Newton  <will.newton@linaro.org>
28045         * nptl/sysdeps/pthread/pthread.h: Revert previous
28046         change.
28048         * sysdeps/generic/ldsodefs.h: Revert previous
28049         change.
28051         * libio/genops.c: Revert previous change.
28052         * libio/libioP.h: Likewise.
28053         * stdio-common/vfprintf.c: Likewise.
28055         * sysdeps/generic/math_private.h: Revert previous
28056         change.
28058         * sysdeps/generic/math_private.h: Check whether
28059         HAVE_RM_CTX is defined with #ifdef rather
28060         than #if.
28062         * argp/argp-fmtstream.h: Check whether
28063         __STRICT_ANSI__ is defined with #ifdef rather
28064         than #if.
28065         * argp/argp.h: Likewise.
28067         * libio/genops.c: Check whether
28068         _IO_JUMPS_OFFSET is defined with #ifdef rather
28069         than #if.
28070         * libio/libioP.h: Likewise.
28071         * stdio-common/vfprintf.c: Likewise.
28073         * sysdeps/generic/ldsodefs.h: Check whether
28074         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
28075         than #if.
28077         * nptl/sysdeps/pthread/pthread.h: Check
28078         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
28079         its value.
28081 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28083         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
28084         setting O_APPEND.
28085         * libio/tst-ftell-active-handler.c (do_append_test): Add a
28086         test case.
28088         [BZ #16680]
28089         * libio/fileops.c (_IO_file_open): Seek to end of file but
28090         don't cache the offset.
28091         (get_file_offset): Remove function.
28092         (do_ftell): Use cached offset when available.
28093         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
28094         don't cache the offset.
28095         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
28096         case.
28097         (do_one_test): Call it.
28098         (do_ftell_test): Fix up expected old offset for a+ mode.
28099         * libio/wfileops.c (do_ftell_wide): Used cached offset when
28100         available.
28102         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
28103         up test status with function return status.
28104         (do_write_test): Likewise.
28105         (do_append_test): Likewise.
28107         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
28108         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
28109         Remove.
28111 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
28113         * math/gen-libm-test.pl (parse_args): Handle results specified for
28114         each rounding mode separately.
28115         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
28116         tests and results from lrint_tonearest_test_data,
28117         lrint_towardzero_test_data, lrint_downward_test_data and
28118         lrint_upward_test_data.
28119         (lrint_test): Use ALL_RM_TEST.
28120         (lrint_tonearest_test_data): Remove.
28121         (lrint_test_tonearest): Likewise.
28122         (lrint_towardzero_test_data): Likewise.
28123         (lrint_test_towardzero): Likewise.
28124         (lrint_downward_test_data): Likewise.
28125         (lrint_test_downward): Likewise.
28126         (lrint_upward_test_data): Likewise.
28127         (lrint_test_upward): Likewise.
28128         (llrint_test_data): Merge in per-rounding-mode tests and results
28129         from llrint_tonearest_test_data, llrint_towardzero_test_data,
28130         llrint_downward_test_data and llrint_upward_test_data.
28131         (llrint_test): Use ALL_RM_TEST.
28132         (llrint_tonearest_test_data): Remove.
28133         (llrint_test_tonearest): Likewise.
28134         (llrint_towardzero_test_data): Likewise.
28135         (llrint_test_towardzero): Likewise.
28136         (llrint_downward_test_data): Likewise.
28137         (llrint_test_downward): Likewise.
28138         (llrint_upward_test_data): Likewise.
28139         (llrint_test_upward): Likewise.
28140         (rint_test_data): Merge in per-rounding-mode tests and results
28141         from rint_tonearest_test_data, rint_towardzero_test_data,
28142         rint_downward_test_data and rint_upward_test_data.  Add
28143         per-rounding-mode results for tests not in those arrays.
28144         (rint_test): Use ALL_RM_TEST.
28145         (rint_tonearest_test_data): Remove.
28146         (rint_test_tonearest): Likewise.
28147         (rint_towardzero_test_data): Likewise.
28148         (rint_test_towardzero): Likewise.
28149         (rint_downward_test_data): Likewise.
28150         (rint_test_downward): Likewise.
28151         (rint_upward_test_data): Likewise.
28152         (rint_test_upward): Likewise.
28153         (main): Don't call removed functions.
28155 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28157         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
28158         "Compiled on ..." crapola.  It is anti-useful.
28160 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
28162         * scripts/evaluate-test.sh: Handle fourth argument to determine
28163         whether test run should stop on failure.
28164         * Makeconfig (stop-on-test-failure): New variable.
28165         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
28166         $(stop-on-test-failure).
28167         * Makefile (tests): Give a summary of results from testing and
28168         exit with failure status if they include an ERROR or FAIL.
28169         (xtests): Likewise.
28170         * manual/install.texi (Configuring and compiling): Mention
28171         stop-on-test-failure=y.
28172         * INSTALL: Regenerated.
28174 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28176         * scripts/versionlist.awk: New file.
28177         * Makerules [$(build-shared) = yes]
28178         (postclean-generated): Add Versions.def, not Versions.def.v and
28179         Versions.def.v.i.
28180         ($(common-objpfx)Versions.def.v.i): Target removed.
28181         ($(common-objpfx)Versions.def): New target.
28182         ($(common-objpfx)Versions.all): Depend on that rather that
28183         $(common-objpfx)Versions.def.v.
28184         * Versions.def: File removed.
28186         * Makeconfig (+gccwarn): Add -Wundef.
28187         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
28188         a dl-sysdep.h breaking its contract.
28189         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
28190         * include/stackinfo.h: New file.
28191         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
28192         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
28193         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
28194         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
28195         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
28196         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
28197         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28198         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28199         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28200         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28201         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28202         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
28203         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28204         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28205         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28207 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28209         [BZ #16707]
28210         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
28211         implementation.
28212         * math/libm-test.inc (round_test_data): Add more tests.
28214         [BZ #16706]
28215         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
28216         implementation.
28217         * math/libm-test.inc (nearbyint_test_data): Add more tests.
28219         [BZ #16701]
28220         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
28221         implementation.
28222         * math/libm-test.inc (ceil_test_data): Add more tests.
28224         * math/libm-test.inc (trunc_test_data): Add more tests related to
28225         BZ#16414.
28227 2014-03-14  Roland McGrath  <roland@hack.frob.com>
28229         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
28230         with #if rather than #ifdef.
28231         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
28233 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
28235         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
28236         first.  Disable AVX-512 GCC support if assembler doesn't support
28237         it.
28238         * sysdeps/x86_64/configure: Regenerated.
28240 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
28242         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
28243         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
28244         (__old_pthread_attr_setstack): Likewise.
28245         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
28246         [!_STACK_GROWS_DOWN]: Likewise.
28248 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
28250         * config.make.in (have-bash2): Delete.
28251         * configure.ac (libc_cv_have_bash2): Delete.
28252         * configure: Regenerate.
28253         * elf/Makefile (common-ldd-rewrite): Rename to ...
28254         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
28255         (sh-ldd-rewrite): Delete.
28256         (bash-ldd-rewrite): Delete.
28257         (have-bash2): Delete checks.
28258         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
28259         ldd-rewrite.
28261         * config.make.in (have-ksh): Delete.
28262         (KSH): Delete.
28263         * configure.ac (libc_cv_have_ksh): Delete.
28264         * configure: Regenerate.
28266         * elf/Makefile: Delete $(have-ksh) check.
28267         ($(objpfx)sotruss): Change KSH to BASH.
28268         * elf/sotruss.ksh: Rename to ...
28269         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
28270         function style to match POSIX.  Drop ksh vim mode setting.
28272         * manual/time.texi (Specifying the Time Zone with TZ): Change
28273         Tuesday to Thursday.
28275         * debug/tst-longjmp_chk2.c: Update header comment.
28276         (stackoverflow_handler): Add comment.  Call assert on pass value.
28278 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
28280         [BZ #16194]
28281         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
28282         (HAVE_AVX512_ASM_SUPPORT): Likewise.
28283         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
28284         (La_x86_64_vector): Add zmm.
28285         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
28286         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
28287         ($(objpfx)tst-audit10): New target.
28288         ($(objpfx)tst-audit10.out): Likewise.
28289         (tst-audit10-ENV): New.
28290         (AVX512-CFLAGS): Likewise.
28291         (CFLAGS-tst-audit10.c): Likewise.
28292         (CFLAGS-tst-auditmod10a.c): Likewise.
28293         (CFLAGS-tst-auditmod10b.c): Likewise.
28294         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
28295         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
28296         * sysdeps/x86_64/configure: Regenerated.
28297         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
28298         AVX-512 zmm register support.
28299         (_dl_x86_64_save_sse): Likewise.
28300         (_dl_x86_64_restore_sse): Likewise.
28301         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
28302         size vector registers.
28303         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
28304         (ZMM_SIZE): Likewise.
28305         * sysdeps/x86_64/tst-audit10.c: New file.
28306         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
28307         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
28309 2014-03-13  Roland McGrath  <roland@hack.frob.com>
28311         * configure.ac (HAVE_EHDR_START): New check.
28312         * configure: Regenerated.
28313         * config.h.in (HAVE_EHDR_START): New #undef.
28314         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
28315         assuming the lowest-addressed segment maps the start of the file.
28317 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
28319         * INSTALL: Regenerated.
28321 2014-03-13  Will Newton  <will.newton@linaro.org>
28323         * manual/setjmp.texi (System V contexts): Improve
28324         clarity and grammar of documentation.
28326 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
28328         [BZ #16381]
28329         * elf/Makefile (tests): Add tst-pie2.
28330         (tests-pie): Add tst-pie2.
28331         * elf/tst-pie2.c: New file.
28332         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
28333         for ET_EXEC.
28334         * elf/rtld.c (map_doit): Load executable as lt_executable.
28335         (dl_main): Likewise.
28337 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
28339         [BZ #16642]
28340         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28341         (__ASSUME_PSELECT): Undefine.
28343 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28345         [BZ #16689]
28346         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
28347         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
28348         static build.
28349         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
28350         selector for static builds.
28352 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28354         [BZ #16695]
28355         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
28356         key in the buffer.
28358 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28360         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
28361         IFUNC selector for static builds.
28363 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
28365         * sysdeps/mips/math_private.h [__mips_hard_float]
28366         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
28367         libc_feresetround_mips_ctx.
28368         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
28369         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
28370         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
28372         [BZ #16677]
28373         * math/s_nextafter.c (__nextafter): Do not return value from
28374         overflowing computation.
28375         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
28376         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
28377         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
28378         Likewise.
28379         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
28380         Likewise.
28381         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
28382         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
28384 2014-03-11  Roland McGrath  <roland@hack.frob.com>
28386         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
28387         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
28388         Move sfi_sp use from the load-multiple (that no longer sets sp) to
28389         the new mov targetting sp.
28391 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28393         [BZ #16683]
28394         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
28395         Define it for static builds as well.
28396         (NO_BZERO_IMPL): Likewise.
28398 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28400         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
28401         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
28402         multiarch strspn for PPC64.
28403         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
28404         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
28405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28406         (__libc_ifunc_impl_list): Likewise.
28407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
28408         multiarch optimizations
28409         * string/strspn.c (strspn): Using macro to redefine symbol name.
28411 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28412             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28414         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
28415         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
28416         multiarch strncat for PPC64.
28417         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
28418         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
28419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28420         (__libc_ifunc_impl_list): Likewise.
28421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
28422         multiarch optimizations
28424 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28426         [BZ #16639]
28427         * nscd/nscd.service: Make service type forking.
28429 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28431         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
28432         sign in non default rounding modes.
28433         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
28435 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
28437         * math/libm-test.inc (ALL_RM_TEST): New macro.
28438         (ceil_test): Use ALL_RM_TEST.
28439         (cimag_test): Likewise.
28440         (conj_test): Likewise.
28441         (copysign_test): Likewise.
28442         (cproj_test): Likewise.
28443         (creal_test): Likewise.
28444         (fabs_test): Likewise.
28445         (floor_test): Likewise.
28446         (fmax_test): Likewise.
28447         (fmin_test): Likewise.
28448         (fmod_test): Likewise.
28449         (fpclassify_test): Likewise.
28450         (frexp_test): Likewise.
28451         (ilogb_test): Likewise.
28452         (isfinite_test): Likewise.
28453         (finite_test): Likewise.
28454         (isgreater_test): Likewise.
28455         (isgreaterequal_test): Likewise.
28456         (isinf_test): Likewise.
28457         (isless_test): Likewise.
28458         (islessequal_test): Likewise.
28459         (islessgreater_test): Likewise.
28460         (isnan_test): Likewise.
28461         (isnormal_test): Likewise.
28462         (issignaling_test): Likewise.
28463         (isunordered_test): Likewise.
28464         (logb_test): Likewise.
28465         (logb_downward_test_data): Remove.
28466         (logb_test_downward): Likewise.
28467         (lround_test): Use ALL_RM_TEST.
28468         (llround_test): Likewise.
28469         (modf_test): Likewise.
28470         (nexttoward_test): Likewise.
28471         (remainder_test): Likewise.
28472         (drem_test): Likewise.
28473         (remainder_tonearest_test_data): Likewise.
28474         (remainder_test_tonearest): Likewise.
28475         (drem_test_tonearest): Likewise.
28476         (remainder_towardzero_test_data): Likewise.
28477         (remainder_test_towardzero): Likewise.
28478         (drem_test_towardzero): Likewise.
28479         (remainder_downward_test_data): Likewise.
28480         (remainder_test_downward): Likewise.
28481         (drem_test_downward): Likewise.
28482         (remainder_upward_test_data): Likewise.
28483         (remainder_test_upward): Likewise.
28484         (drem_test_upward): Likewise.
28485         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
28486         (round_test): Use ALL_RM_TEST.
28487         (signbit_test): Likewise.
28488         (trunc_test): Likewise.
28489         (significand_test): Likewise.
28490         (main): Don't call removed functions.
28492 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28494         [BZ #16674]
28495         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
28496         || __USE_XOPEN2K8].
28497         (ILL_ILLOPN): Likewise.
28498         (ILL_ILLADR): Likewise.
28499         (ILL_ILLTRP): Likewise.
28500         (ILL_PRVOPC): Likewise.
28501         (ILL_PRVREG): Likewise.
28502         (ILL_COPROC): Likewise.
28503         (ILL_BADSTK): Likewise.
28504         (FPE_INTDIV): Likewise.
28505         (FPE_INTOVF): Likewise.
28506         (FPE_FLTDIV): Likewise.
28507         (FPE_FLTOVF): Likewise.
28508         (FPE_FLTUND): Likewise.
28509         (FPE_FLTRES): Likewise.
28510         (FPE_FLTINV): Likewise.
28511         (FPE_FLTSUB): Likewise.
28512         (SEGV_MAPERR): Likewise.
28513         (SEGV_ACCERR): Likewise.
28514         (BUS_ADRALN): Likewise.
28515         (BUS_ADRERR): Likewise.
28516         (BUS_OBJERR): Likewise.
28517         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28518         (TRAP_TRACE): Likewise.
28519         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28520         __USE_XOPEN2K8].
28521         (CLD_KILLED): Likewise.
28522         (CLD_DUMPED): Likewise.
28523         (CLD_TRAPPED): Likewise.
28524         (CLD_STOPPED): Likewise.
28525         (CLD_CONTINUED): Likewise.
28526         (POLL_IN): Likewise.
28527         (POLL_OUT): Likewise.
28528         (POLL_MSG): Likewise.
28529         (POLL_ERR): Likewise.
28530         (POLL_PRI): Likewise.
28531         (POLL_HUP): Likewise.
28532         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
28533         Likewise.
28534         (ILL_ILLOPN): Likewise.
28535         (ILL_ILLADR): Likewise.
28536         (ILL_ILLTRP): Likewise.
28537         (ILL_PRVOPC): Likewise.
28538         (ILL_PRVREG): Likewise.
28539         (ILL_COPROC): Likewise.
28540         (ILL_BADSTK): Likewise.
28541         (FPE_INTDIV): Likewise.
28542         (FPE_INTOVF): Likewise.
28543         (FPE_FLTDIV): Likewise.
28544         (FPE_FLTOVF): Likewise.
28545         (FPE_FLTUND): Likewise.
28546         (FPE_FLTRES): Likewise.
28547         (FPE_FLTINV): Likewise.
28548         (FPE_FLTSUB): Likewise.
28549         (SEGV_MAPERR): Likewise.
28550         (SEGV_ACCERR): Likewise.
28551         (BUS_ADRALN): Likewise.
28552         (BUS_ADRERR): Likewise.
28553         (BUS_OBJERR): Likewise.
28554         (BUS_MCEERR_AR): Likewise.
28555         (BUS_MCEERR_AO): Likewise.
28556         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28557         (TRAP_TRACE): Likewise.
28558         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28559         __USE_XOPEN2K8].
28560         (CLD_KILLED): Likewise.
28561         (CLD_DUMPED): Likewise.
28562         (CLD_TRAPPED): Likewise.
28563         (CLD_STOPPED): Likewise.
28564         (CLD_CONTINUED): Likewise.
28565         (POLL_IN): Likewise.
28566         (POLL_OUT): Likewise.
28567         (POLL_MSG): Likewise.
28568         (POLL_ERR): Likewise.
28569         (POLL_PRI): Likewise.
28570         (POLL_HUP): Likewise.
28571         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
28572         (ILL_ILLOPN): Likewise.
28573         (ILL_ILLADR): Likewise.
28574         (ILL_ILLTRP): Likewise.
28575         (ILL_PRVOPC): Likewise.
28576         (ILL_PRVREG): Likewise.
28577         (ILL_COPROC): Likewise.
28578         (ILL_BADSTK): Likewise.
28579         (FPE_INTDIV): Likewise.
28580         (FPE_INTOVF): Likewise.
28581         (FPE_FLTDIV): Likewise.
28582         (FPE_FLTOVF): Likewise.
28583         (FPE_FLTUND): Likewise.
28584         (FPE_FLTRES): Likewise.
28585         (FPE_FLTINV): Likewise.
28586         (FPE_FLTSUB): Likewise.
28587         (SEGV_MAPERR): Likewise.
28588         (SEGV_ACCERR): Likewise.
28589         (BUS_ADRALN): Likewise.
28590         (BUS_ADRERR): Likewise.
28591         (BUS_OBJERR): Likewise.
28592         (BUS_MCEERR_AR): Likewise.
28593         (BUS_MCEERR_AO): Likewise.
28594         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28595         (TRAP_TRACE): Likewise.
28596         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28597         __USE_XOPEN2K8].
28598         (CLD_KILLED): Likewise.
28599         (CLD_DUMPED): Likewise.
28600         (CLD_TRAPPED): Likewise.
28601         (CLD_STOPPED): Likewise.
28602         (CLD_CONTINUED): Likewise.
28603         (POLL_IN): Likewise.
28604         (POLL_OUT): Likewise.
28605         (POLL_MSG): Likewise.
28606         (POLL_ERR): Likewise.
28607         (POLL_PRI): Likewise.
28608         (POLL_HUP): Likewise.
28609         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
28610         Likewise.
28611         (ILL_ILLOPN): Likewise.
28612         (ILL_ILLADR): Likewise.
28613         (ILL_ILLTRP): Likewise.
28614         (ILL_PRVOPC): Likewise.
28615         (ILL_PRVREG): Likewise.
28616         (ILL_COPROC): Likewise.
28617         (ILL_BADSTK): Likewise.
28618         (ILL_BADIADDR): Likewise.
28619         (ILL_BREAK): Likewise.
28620         (FPE_INTDIV): Likewise.
28621         (FPE_INTOVF): Likewise.
28622         (FPE_FLTDIV): Likewise.
28623         (FPE_FLTOVF): Likewise.
28624         (FPE_FLTUND): Likewise.
28625         (FPE_FLTRES): Likewise.
28626         (FPE_FLTINV): Likewise.
28627         (FPE_FLTSUB): Likewise.
28628         (FPE_DECOVF): Likewise.
28629         (FPE_DECDIV): Likewise.
28630         (FPE_DECERR): Likewise.
28631         (FPE_INVASC): Likewise.
28632         (FPE_INVDEC): Likewise.
28633         (SEGV_MAPERR): Likewise.
28634         (SEGV_ACCERR): Likewise.
28635         (SEGV_PSTKOVF): Likewise.
28636         (BUS_ADRALN): Likewise.
28637         (BUS_ADRERR): Likewise.
28638         (BUS_OBJERR): Likewise.
28639         (BUS_MCEERR_AR): Likewise.
28640         (BUS_MCEERR_AO): Likewise.
28641         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28642         (TRAP_TRACE): Likewise.
28643         (TRAP_BRANCH): Likewise.
28644         (TRAP_HWBKPT): Likewise.
28645         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28646         __USE_XOPEN2K8].
28647         (CLD_KILLED): Likewise.
28648         (CLD_DUMPED): Likewise.
28649         (CLD_TRAPPED): Likewise.
28650         (CLD_STOPPED): Likewise.
28651         (CLD_CONTINUED): Likewise.
28652         (POLL_IN): Likewise.
28653         (POLL_OUT): Likewise.
28654         (POLL_MSG): Likewise.
28655         (POLL_ERR): Likewise.
28656         (POLL_PRI): Likewise.
28657         (POLL_HUP): Likewise.
28658         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
28659         (ILL_ILLOPN): Likewise.
28660         (ILL_ILLADR): Likewise.
28661         (ILL_ILLTRP): Likewise.
28662         (ILL_PRVOPC): Likewise.
28663         (ILL_PRVREG): Likewise.
28664         (ILL_COPROC): Likewise.
28665         (ILL_BADSTK): Likewise.
28666         (FPE_INTDIV): Likewise.
28667         (FPE_INTOVF): Likewise.
28668         (FPE_FLTDIV): Likewise.
28669         (FPE_FLTOVF): Likewise.
28670         (FPE_FLTUND): Likewise.
28671         (FPE_FLTRES): Likewise.
28672         (FPE_FLTINV): Likewise.
28673         (FPE_FLTSUB): Likewise.
28674         (SEGV_MAPERR): Likewise.
28675         (SEGV_ACCERR): Likewise.
28676         (BUS_ADRALN): Likewise.
28677         (BUS_ADRERR): Likewise.
28678         (BUS_OBJERR): Likewise.
28679         (BUS_MCEERR_AR): Likewise.
28680         (BUS_MCEERR_AO): Likewise.
28681         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28682         (TRAP_TRACE): Likewise.
28683         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28684         __USE_XOPEN2K8].
28685         (CLD_KILLED): Likewise.
28686         (CLD_DUMPED): Likewise.
28687         (CLD_TRAPPED): Likewise.
28688         (CLD_STOPPED): Likewise.
28689         (CLD_CONTINUED): Likewise.
28690         (POLL_IN): Likewise.
28691         (POLL_OUT): Likewise.
28692         (POLL_MSG): Likewise.
28693         (POLL_ERR): Likewise.
28694         (POLL_PRI): Likewise.
28695         (POLL_HUP): Likewise.
28696         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
28697         (ILL_ILLOPN): Likewise.
28698         (ILL_ILLADR): Likewise.
28699         (ILL_ILLTRP): Likewise.
28700         (ILL_PRVOPC): Likewise.
28701         (ILL_PRVREG): Likewise.
28702         (ILL_COPROC): Likewise.
28703         (ILL_BADSTK): Likewise.
28704         (FPE_INTDIV): Likewise.
28705         (FPE_INTOVF): Likewise.
28706         (FPE_FLTDIV): Likewise.
28707         (FPE_FLTOVF): Likewise.
28708         (FPE_FLTUND): Likewise.
28709         (FPE_FLTRES): Likewise.
28710         (FPE_FLTINV): Likewise.
28711         (FPE_FLTSUB): Likewise.
28712         (SEGV_MAPERR): Likewise.
28713         (SEGV_ACCERR): Likewise.
28714         (BUS_ADRALN): Likewise.
28715         (BUS_ADRERR): Likewise.
28716         (BUS_OBJERR): Likewise.
28717         (BUS_MCEERR_AR): Likewise.
28718         (BUS_MCEERR_AO): Likewise.
28719         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28720         (TRAP_TRACE): Likewise.
28721         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28722         __USE_XOPEN2K8].
28723         (CLD_KILLED): Likewise.
28724         (CLD_DUMPED): Likewise.
28725         (CLD_TRAPPED): Likewise.
28726         (CLD_STOPPED): Likewise.
28727         (CLD_CONTINUED): Likewise.
28728         (POLL_IN): Likewise.
28729         (POLL_OUT): Likewise.
28730         (POLL_MSG): Likewise.
28731         (POLL_ERR): Likewise.
28732         (POLL_PRI): Likewise.
28733         (POLL_HUP): Likewise.
28734         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
28735         (ILL_ILLOPN): Likewise.
28736         (ILL_ILLADR): Likewise.
28737         (ILL_ILLTRP): Likewise.
28738         (ILL_PRVOPC): Likewise.
28739         (ILL_PRVREG): Likewise.
28740         (ILL_COPROC): Likewise.
28741         (ILL_BADSTK): Likewise.
28742         (FPE_INTDIV): Likewise.
28743         (FPE_INTOVF): Likewise.
28744         (FPE_FLTDIV): Likewise.
28745         (FPE_FLTOVF): Likewise.
28746         (FPE_FLTUND): Likewise.
28747         (FPE_FLTRES): Likewise.
28748         (FPE_FLTINV): Likewise.
28749         (FPE_FLTSUB): Likewise.
28750         (SEGV_MAPERR): Likewise.
28751         (SEGV_ACCERR): Likewise.
28752         (BUS_ADRALN): Likewise.
28753         (BUS_ADRERR): Likewise.
28754         (BUS_OBJERR): Likewise.
28755         (BUS_MCEERR_AR): Likewise.
28756         (BUS_MCEERR_AO): Likewise.
28757         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28758         (TRAP_TRACE): Likewise.
28759         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28760         __USE_XOPEN2K8].
28761         (CLD_KILLED): Likewise.
28762         (CLD_DUMPED): Likewise.
28763         (CLD_TRAPPED): Likewise.
28764         (CLD_STOPPED): Likewise.
28765         (CLD_CONTINUED): Likewise.
28766         (POLL_IN): Likewise.
28767         (POLL_OUT): Likewise.
28768         (POLL_MSG): Likewise.
28769         (POLL_ERR): Likewise.
28770         (POLL_PRI): Likewise.
28771         (POLL_HUP): Likewise.
28772         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
28773         (ILL_ILLOPN): Likewise.
28774         (ILL_ILLADR): Likewise.
28775         (ILL_ILLTRP): Likewise.
28776         (ILL_PRVOPC): Likewise.
28777         (ILL_PRVREG): Likewise.
28778         (ILL_COPROC): Likewise.
28779         (ILL_BADSTK): Likewise.
28780         (ILL_DBLFLT): Likewise.
28781         (ILL_HARDWALL): Likewise.
28782         (FPE_INTDIV): Likewise.
28783         (FPE_INTOVF): Likewise.
28784         (FPE_FLTDIV): Likewise.
28785         (FPE_FLTOVF): Likewise.
28786         (FPE_FLTUND): Likewise.
28787         (FPE_FLTRES): Likewise.
28788         (FPE_FLTINV): Likewise.
28789         (FPE_FLTSUB): Likewise.
28790         (SEGV_MAPERR): Likewise.
28791         (SEGV_ACCERR): Likewise.
28792         (BUS_ADRALN): Likewise.
28793         (BUS_ADRERR): Likewise.
28794         (BUS_OBJERR): Likewise.
28795         (BUS_MCEERR_AR): Likewise.
28796         (BUS_MCEERR_AO): Likewise.
28797         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28798         (TRAP_TRACE): Likewise.
28799         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28800         __USE_XOPEN2K8].
28801         (CLD_KILLED): Likewise.
28802         (CLD_DUMPED): Likewise.
28803         (CLD_TRAPPED): Likewise.
28804         (CLD_STOPPED): Likewise.
28805         (CLD_CONTINUED): Likewise.
28806         (POLL_IN): Likewise.
28807         (POLL_OUT): Likewise.
28808         (POLL_MSG): Likewise.
28809         (POLL_ERR): Likewise.
28810         (POLL_PRI): Likewise.
28811         (POLL_HUP): Likewise.
28812         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
28813         (ILL_ILLOPN): Likewise.
28814         (ILL_ILLADR): Likewise.
28815         (ILL_ILLTRP): Likewise.
28816         (ILL_PRVOPC): Likewise.
28817         (ILL_PRVREG): Likewise.
28818         (ILL_COPROC): Likewise.
28819         (ILL_BADSTK): Likewise.
28820         (FPE_INTDIV): Likewise.
28821         (FPE_INTOVF): Likewise.
28822         (FPE_FLTDIV): Likewise.
28823         (FPE_FLTOVF): Likewise.
28824         (FPE_FLTUND): Likewise.
28825         (FPE_FLTRES): Likewise.
28826         (FPE_FLTINV): Likewise.
28827         (FPE_FLTSUB): Likewise.
28828         (SEGV_MAPERR): Likewise.
28829         (SEGV_ACCERR): Likewise.
28830         (BUS_ADRALN): Likewise.
28831         (BUS_ADRERR): Likewise.
28832         (BUS_OBJERR): Likewise.
28833         (BUS_MCEERR_AR): Likewise.
28834         (BUS_MCEERR_AO): Likewise.
28835         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
28836         (TRAP_TRACE): Likewise.
28837         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
28838         __USE_XOPEN2K8].
28839         (CLD_KILLED): Likewise.
28840         (CLD_DUMPED): Likewise.
28841         (CLD_TRAPPED): Likewise.
28842         (CLD_STOPPED): Likewise.
28843         (CLD_CONTINUED): Likewise.
28844         (POLL_IN): Likewise.
28845         (POLL_OUT): Likewise.
28846         (POLL_MSG): Likewise.
28847         (POLL_ERR): Likewise.
28848         (POLL_PRI): Likewise.
28849         (POLL_HUP): Likewise.
28850         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
28851         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
28853         [BZ #16670]
28854         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
28855         before #include of <time.h>.
28856         [!__USE_XOPEN2K] (__need_timespec): Likewise.
28857         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
28858         (test-xfail-UNIX98/sched.h/conform): Likewise.
28860 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28862         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
28863         error absence of trapping exception support.
28864         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28866 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
28868         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
28869         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
28870         * timezone/Makefile (testdata): Move definition above include of
28871         Rules.
28872         (test-zones): New variable.
28873         (tests-special): Add zone files.
28874         (build-testdata): Use $(evaluate-test).
28876         * elf/Makefile (tests-special): Rename tests to end with .out.
28877         ($(objpfx)noload-mem): Likewise.
28878         ($(objpfx)tst-leaks1-mem): Likewise.
28879         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
28880         * iconv/Makefile (xtests-special): Change test-iconvconfig to
28881         $(objpfx)test-iconvconfig.out.
28882         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
28883         set -e inside subshell and redirect output to file.
28884         * iconvdata/Makefile (generated): Rename tests to end with .out.
28885         Correct type.
28886         (tests-special): Rename tests to end with .out.
28887         ($(objpfx)mtrace-tst-loading): Likewise.
28888         * intl/Makefile (generated): Likewise.
28889         (tests-special): Likewise.
28890         ($(objpfx)mtrace-tst-gettext): Likewise.
28891         * misc/Makefile (generated): Likewise.
28892         (tests-special): Likewise.
28893         ($(objpfx)tst-error1-mem): Likewise.
28894         * nptl/Makefile (tests-special): Likewise.
28895         ($(objpfx)tst-stack3-mem): Likewise.
28896         (generated): Likewise.
28897         * posix/Makefile (generated): Likewise.
28898         (tests-special): Likewise.
28899         (xtests-special): Likewise.
28900         ($(objpfx)tst-fnmatch-mem): Likewise.
28901         ($(objpfx)bug-regex2-mem): Likewise.
28902         ($(objpfx)bug-regex14-mem): Likewise.
28903         ($(objpfx)bug-regex21-mem): Likewise.
28904         ($(objpfx)bug-regex31-mem): Likewise.
28905         ($(objpfx)tst-vfork3-mem): Likewise.
28906         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
28907         ($(objpfx)tst-pcre-mem): Likewise.
28908         ($(objpfx)tst-boost-mem): Likewise.
28909         ($(objpfx)bug-ga2-mem): Likewise.
28910         ($(objpfx)bug-glob2-mem): Likewise.
28911         * resolv/Makefile (generate): Likewise.
28912         (tests-special): Likewise.
28913         (xtests-special): Likewise.
28914         (generated): Likewise.
28915         ($(objpfx)mtrace-tst-leaks): Likewise.
28916         ($(objpfx)mtrace-tst-leaks2): Likewise.
28918         * scripts/merge-test-results.sh: New file.
28919         * Makefile (tests-special-notdir): New variable.
28920         (tests): Run merge-test-results.sh.
28921         (xtests): Likewise.
28922         * Rules (tests-special-notdir): New variable.
28923         (xtests-special-notdir): Likewise.
28924         (tests): Run merge-test-results.sh
28925         (xtests): Likewise.
28927         * Makeconfig (test-xfail-name): New variable.
28928         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
28929         compute variable name for expected failures.
28930         * conform/Makefile (conformtest-headers-data): New variable.
28931         (conformtest-standards): Likewise.
28932         (conformtest-headers-ISO): Likewise.
28933         (conformtest-headers-ISO99): Likewise.
28934         (conformtest-headers-ISO11): Likewise.
28935         (conformtest-headers-POSIX): Likewise.
28936         (conformtest-headers-XPG3): Likewise.
28937         (conformtest-headers-XPG4): Likewise.
28938         (conformtest-headers-UNIX98): Likewise.
28939         (conformtest-headers-XOPEN2K): Likewise.
28940         (conformtest-headers-POSIX2008): Likewise.
28941         (conformtest-headers-XOPEN2K8): Likewise.
28942         (conformtest-header-list-base): Likewise.
28943         (conformtest-header-list-tests): Likewise.
28944         (conformtest-header-base): Likewise.
28945         (conformtest-header-tests): Likewise.
28946         (tests-special): Add $(conformtest-header-list-tests).  If
28947         [$(fast-check) && !$(cross-compiling)], add
28948         $(conformtest-header-tests) instead of
28949         $(objpfx)run-conformtest.out.
28950         (generated): Add $(conformtest-header-list-base).  If
28951         [$(fast-check) && !$(cross-compiling)], add
28952         $(conformtest-header-base).  Remove previous setting.
28953         ($(conformtest-header-list-tests)): New target.
28954         (test-xfail-run-conformtest): Remove variable.
28955         ($(objpfx)run-conformtest.out): Remove target.
28956         (test-xfail-ISO11/complex.h/conform): New variable.
28957         (test-xfail-ISO11/stdalign.h/conform): Likewise.
28958         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
28959         (test-xfail-XPG3/varargs.h/conform): Likewise.
28960         (test-xfail-XPG4/varargs.h/conform): Likewise.
28961         (test-xfail-UNIX98/varargs.h/conform): Likewise.
28962         (test-xfail-XPG4/ndbm.h/conform): Likewise.
28963         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
28964         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
28965         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
28966         (test-xfail-XPG3/fcntl.h/conform): Likewise.
28967         (test-xfail-XPG3/ftw.h/conform): Likewise.
28968         (test-xfail-XPG3/grp.h/conform): Likewise.
28969         (test-xfail-XPG3/langinfo.h/conform): Likewise.
28970         (test-xfail-XPG3/limits.h/conform): Likewise.
28971         (test-xfail-XPG3/pwd.h/conform): Likewise.
28972         (test-xfail-XPG3/search.h/conform): Likewise.
28973         (test-xfail-XPG3/signal.h/conform): Likewise.
28974         (test-xfail-XPG3/stdio.h/conform): Likewise.
28975         (test-xfail-XPG3/stdlib.h/conform): Likewise.
28976         (test-xfail-XPG3/string.h/conform): Likewise.
28977         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
28978         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
28979         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28980         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28981         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
28982         (test-xfail-XPG3/sys/types.h/conform): Likewise.
28983         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
28984         (test-xfail-XPG3/termios.h/conform): Likewise.
28985         (test-xfail-XPG3/time.h/conform): Likewise.
28986         (test-xfail-XPG3/unistd.h/conform): Likewise.
28987         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
28988         (test-xfail-XPG4/fcntl.h/conform): Likewise.
28989         (test-xfail-XPG4/langinfo.h/conform): Likewise.
28990         (test-xfail-XPG4/netdb.h/conform): Likewise.
28991         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
28992         (test-xfail-XPG4/signal.h/conform): Likewise.
28993         (test-xfail-XPG4/stdio.h/conform): Likewise.
28994         (test-xfail-XPG4/stdlib.h/conform): Likewise.
28995         (test-xfail-XPG4/stropts.h/conform): Likewise.
28996         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28997         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28998         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28999         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29000         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29001         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
29002         (test-xfail-XPG4/sys/time.h/conform): Likewise.
29003         (test-xfail-XPG4/sys/types.h/conform): Likewise.
29004         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
29005         (test-xfail-XPG4/termios.h/conform): Likewise.
29006         (test-xfail-XPG4/ucontext.h/conform): Likewise.
29007         (test-xfail-XPG4/unistd.h/conform): Likewise.
29008         (test-xfail-XPG4/utmpx.h/conform): Likewise.
29009         (test-xfail-POSIX/sched.h/conform): Likewise.
29010         (test-xfail-POSIX/signal.h/conform): Likewise.
29011         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
29012         (test-xfail-POSIX/tar.h/conform): Likewise.
29013         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
29014         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
29015         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
29016         (test-xfail-UNIX98/netdb.h/conform): Likewise.
29017         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
29018         (test-xfail-UNIX98/sched.h/conform): Likewise.
29019         (test-xfail-UNIX98/signal.h/conform): Likewise.
29020         (test-xfail-UNIX98/stdio.h/conform): Likewise.
29021         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
29022         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29023         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29024         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29025         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29026         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29027         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29028         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
29029         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
29030         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
29031         (test-xfail-UNIX98/unistd.h/conform): Likewise.
29032         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
29033         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
29034         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
29035         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
29036         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
29037         (test-xfail-XOPEN2K/math.h/conform): Likewise.
29038         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
29039         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29040         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29041         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
29042         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
29043         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
29044         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
29045         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29046         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29047         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29048         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29049         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29050         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29051         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
29052         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
29053         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
29054         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
29055         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29056         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
29057         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29058         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
29059         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
29060         (test-xfail-POSIX2008/signal.h/conform): Likewise.
29061         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29062         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
29063         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
29064         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29065         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29066         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
29067         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
29068         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29069         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29070         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
29071         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
29072         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29073         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29074         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29075         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
29076         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29077         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29078         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29079         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29080         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
29081         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
29082         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
29083         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
29084         (conformtest-cc-flags): Likewise.
29085         ($(conformtest-header-tests): New target.
29086         * conform/check-header-lists.sh: New file.
29087         * conform/run-conformtest.sh: Remove.
29089         * conform/conformtest.pl: Allow ' and \ in values given for
29090         constants.
29091         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
29092         inclusion.
29093         [POSIX] (sys/types.h): Likewise.
29094         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
29095         inclusion.
29096         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
29097         inclusion.
29098         * conform/data/signal.h-data (SIGIO): Remove expectation.
29099         [XPG3] (SIGBUS): Do not expect.
29100         [POSIX || XPG3] (SIGPOLL): Likewise.
29101         [POSIX || XPG3] (SIGPROF): Likewise.
29102         [POSIX || XPG3] (SIGSYS): Likewise.
29103         [XPG3] (SIGTRAP): Likewise.
29104         [POSIX || XPG3] (SIGURG): Likewise.
29105         [POSIX || XPG3] (SIGVTALRM): Likewise.
29106         [POSIX || XPG3] (SIGXCPU): Likewise.
29107         [POSIX || XPG3] (SIGXFSZ): Likewise.
29108         [POSIX] (SA_SIGINFO): Expect.
29109         [XPG3] (siginfo_t): Do not expect type or contents.
29110         [POSIX] (si_pid): Do not expect element.
29111         [POSIX] (si_uid): Likewise.
29112         [POSIX] (si_addr): Likewise.
29113         [POSIX] (si_status): Likewise.
29114         [POSIX] (si_band): Likewise.
29115         [XPG4] (si_value): Likewise.
29116         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
29117         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
29118         [POSIX || XPG3] (ILL_ILLADR): Likewise.
29119         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
29120         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
29121         [POSIX || XPG3] (ILL_PRVREG): Likewise.
29122         [POSIX || XPG3] (ILL_COPROC): Likewise.
29123         [POSIX || XPG3] (ILL_BADSTK): Likewise.
29124         [POSIX || XPG3] (FPE_INTDIV): Likewise.
29125         [POSIX || XPG3] (FPE_INTOVF): Likewise.
29126         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
29127         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
29128         [POSIX || XPG3] (FPE_FLTUND): Likewise.
29129         [POSIX || XPG3] (FPE_FLTRES): Likewise.
29130         [POSIX || XPG3] (FPE_FLTINV): Likewise.
29131         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
29132         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
29133         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
29134         [POSIX || XPG3] (BUS_ADRALN): Likewise.
29135         [POSIX || XPG3] (BUS_ADRERR): Likewise.
29136         [POSIX || XPG3] (BUS_OBJERR): Likewise.
29137         [POSIX || XPG3] (CLD_EXITED): Likewise.
29138         [POSIX || XPG3] (CLD_KILLED): Likewise.
29139         [POSIX || XPG3] (CLD_DUMPED): Likewise.
29140         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
29141         [POSIX || XPG3] (CLD_STOPPED): Likewise.
29142         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
29143         [POSIX || XPG3] (POLL_IN): Likewise.
29144         [POSIX || XPG3] (POLL_OUT): Likewise.
29145         [POSIX || XPG3] (POLL_MSG): Likewise.
29146         [POSIX || XPG3] (POLL_ERR): Likewise.
29147         [POSIX || XPG3] (POLL_PRI): Likewise.
29148         [POSIX || XPG3] (POLL_HUP): Likewise.
29149         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
29150         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
29151         (SIG*): Do not allow.
29152         [XPG3] (si_*): Likewise.
29153         [XPG3] (SI_*): Likewise.
29154         [XPG3 || XPG4] (sigev_*): Likewise.
29155         [XPG3 || XPG4] (SIGEV_*): Likewise.
29156         [XPG3 || XPG4] (sival_*): Likewise.
29157         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
29158         [POSIX || XPG3] (BUS_*): Likewise.
29159         [POSIX || XPG3] (CLD_*): Likewise.
29160         [POSIX || XPG3] (FPE_*): Likewise.
29161         [POSIX || XPG3] (ILL_*): Likewise.
29162         [POSIX || XPG3] (POLL_*): Likewise.
29163         [POSIX || XPG3] (SEGV_*): Likewise.
29164         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
29165         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
29166         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
29167         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
29168         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
29169         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
29170         Specify type and value.
29171         (TVERSLEN): Likewise.
29172         (REGTYPE): Likewise.
29173         (AREGTYPE): Likewise.
29174         (LNKTYPE): Likewise.
29175         (SYMTYPE): Likewise.
29176         (CHRTYPE): Likewise.
29177         (BLKTYPE): Likewise.
29178         (DIRTYPE): Likewise.
29179         (FIFOTYPE): Likewise.
29180         (CONTTYPE): Likewise.
29181         (TSUID): Likewise.
29182         (TSGID): Likewise.
29183         (TSVTX): Likewise.
29184         (TUREAD): Likewise.
29185         (TUWRITE): Likewise.
29186         (TUEXEC): Likewise.
29187         (TGREAD): Likewise.
29188         (TGWRITE): Likewise.
29189         (TGEXEC): Likewise.
29190         (TOREAD): Likewise.
29191         (TOWRITE): Likewise.
29192         (TOEXEC): Likewise.
29193         [POSIX] (TSVTX): Expect constant.
29195 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
29197         * Makefile (tests): Change dependencies to ....
29198         (tests-special): ... additions to this variable.
29199         (tests): Depend on $(tests-special).
29200         * Makerules (check-abi-list): New variable.
29201         (check-abi): Depend on $(check-abi-list).
29202         [$(subdir) = elf] (tests-special): Add
29203         $(objpfx)check-abi-libc.out.
29204         [$(build-shared) = yes && subdir] (tests-special): Add
29205         $(check-abi-list).
29206         [$(build-shared) = yes && subdir] (tests): Do not depend on
29207         check-abi.
29208         * Rules (tests): Depend on $(tests-special).
29209         (xtests): Depend on $(xtests-special).
29210         * catgets/Makefile (tests): Change dependencies to ....
29211         (tests-special): ... additions to this variable.
29212         * conform/Makefile (tests): Change dependencies to ....
29213         (tests-special): ... additions to this variable.
29214         * elf/Makefile (tests): Change dependencies to ....
29215         (tests-special): ... additions to this variable.
29216         * grp/Makefile (tests): Change dependencies to ....
29217         (tests-special): ... additions to this variable.
29218         * iconv/Makefile (xtests): Change dependencies to ....
29219         (xtests-special): ... additions to this variable.
29220         * iconvdata/Makefile (tests): Change dependencies to ....
29221         (tests-special): ... additions to this variable.
29222         * intl/Makefile (tests): Change dependencies to ....
29223         (tests-special): ... additions to this variable.  Also add
29224         $(objpfx)tst-gettext.out.
29225         * io/Makefile (tests): Change dependencies to ....
29226         (tests-special): ... additions to this variable.
29227         * libio/Makefile (tests): Change dependencies to ....
29228         (tests-special): ... additions to this variable.
29229         * malloc/Makefile (tests): Change dependencies to ....
29230         (tests-special): ... additions to this variable.
29231         * misc/Makefile (tests): Change dependencies to ....
29232         (tests-special): ... additions to this variable.
29233         * nptl/Makefile (tests): Change dependencies to ....
29234         (tests-special): ... additions to this variable.
29235         * nptl_db/Makefile (tests): Change dependencies to ....
29236         (tests-special): ... additions to this variable.
29237         * posix/Makefile (tests): Change dependencies to ....
29238         (tests-special): ... additions to this variable.
29239         (xtests): Change dependencies to ....
29240         (xtests-special): ... additions to this variable.
29241         * resolv/Makefile (tests): Change dependencies to ....
29242         (tests-special): ... additions to this variable.
29243         (xtests): Change dependencies to ....
29244         (xtests-special): ... additions to this variable.
29245         * stdio-common/Makefile (tests): Change dependencies to ....
29246         (tests-special): ... additions to this variable.
29247         (do-tst-unbputc): Remove target.
29248         (do-tst-printf): Likewise.
29249         * stdlib/Makefile (tests): Change dependencies to ....
29250         (tests-special): ... additions to this variable.
29251         * string/Makefile (tests): Change dependencies to ....
29252         (tests-special): ... additions to this variable.
29253         * sysdeps/x86/Makefile (tests): Change dependencies to ....
29254         (tests-special): ... additions to this variable.
29256         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
29257         whole file.
29258         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
29259         whole file.
29260         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
29261         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
29263         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
29264         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
29265         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
29266         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
29267         * conform/data/libgen.h-data [XPG3]: Likewise.
29268         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
29269         * conform/data/ndbm.h-data [XPG3]: Likewise.
29270         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29271         * conform/data/netdb.h-data [XPG3]: Likewise.
29272         * conform/data/netinet/in.h-data [XPG3]: Likewise.
29273         * conform/data/poll.h-data [XPG3]: Likewise.
29274         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
29275         * conform/data/strings.h-data [XPG3]: Likewise.
29276         * conform/data/stropts.h-data [XPG3]: Likewise.
29277         * conform/data/sys/mman.h-data [XPG3]: Likewise.
29278         * conform/data/sys/resource.h-data [XPG3]: Likewise.
29279         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
29280         Likewise.
29281         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
29282         * conform/data/sys/time.h-data [XPG3]: Likewise.
29283         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
29284         * conform/data/sys/uio.h-data [XPG3]: Likewise.
29285         * conform/data/sys/un.h-data [XPG3]: Likewise.
29286         * conform/data/syslog.h-data [XPG3]: Likewise.
29287         * conform/data/ucontext.h-data [XPG3]: Likewise.
29288         * conform/data/utmpx.h-data [XPG3]: Likewise.
29289         * conform/data/varargs.h-data [UNIX98]: Enable file.
29291         * manual/Makefile (INSTALL_INFO): Remove variable setting.
29293         * math/libm-test.inc (struct test_f_f_data): Move expected results
29294         into structure for each rounding mode.
29295         (struct test_ff_f_data): Likewise.
29296         (struct test_ff_f_data_nexttoward): Likewise.
29297         (struct test_fi_f_data): Likewise.
29298         (struct test_fl_f_data): Likewise.
29299         (struct test_if_f_data): Likewise.
29300         (struct test_fff_f_data): Likewise.
29301         (struct test_c_f_data): Likewise.
29302         (struct test_f_f1_data): Likewise.
29303         (struct test_fF_f1_data): Likewise.
29304         (struct test_ffI_f1_data): Likewise.
29305         (struct test_c_c_data): Likewise.
29306         (struct test_cc_c_data): Likewise.
29307         (struct test_f_i_data): Likewise.
29308         (struct test_ff_i_data): Likewise.
29309         (struct test_f_l_data): Likewise.
29310         (struct test_f_L_data): Likewise.
29311         (struct test_fFF_11_data): Likewise.
29312         (RM_): New macro.
29313         (RM_FE_DOWNWARD): Likewise.
29314         (RM_FE_TONEAREST): Likewise.
29315         (RM_FE_TOWARDZERO): Likewise.
29316         (RM_FE_UPWARD): Likewise.
29317         (RUN_TEST_LOOP_f_f): Update references to expected results.
29318         (RUN_TEST_LOOP_2_f): Likewise.
29319         (RUN_TEST_LOOP_fff_f): Likewise.
29320         (RUN_TEST_LOOP_c_f): Likewise.
29321         (RUN_TEST_LOOP_f_f1): Likewise.
29322         (RUN_TEST_LOOP_fF_f1): Likewise.
29323         (RUN_TEST_LOOP_fI_f1): Likewise.
29324         (RUN_TEST_LOOP_ffI_f1): Likewise.
29325         (RUN_TEST_LOOP_c_c): Likewise.
29326         (RUN_TEST_LOOP_cc_c): Likewise.
29327         (RUN_TEST_LOOP_f_i): Likewise.
29328         (RUN_TEST_LOOP_f_i_tg): Likewise.
29329         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29330         (RUN_TEST_LOOP_f_b): Likewise.
29331         (RUN_TEST_LOOP_f_b_tg): Likewise.
29332         (RUN_TEST_LOOP_f_l): Likewise.
29333         (RUN_TEST_LOOP_f_L): Likewise.
29334         (RUN_TEST_LOOP_fFF_11): Likewise.
29335         * math/gen-libm-test.pl (parse_args): Output four copies of
29336         expected results for each test.
29338         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29339         (__ASSUME_UTIMES): Remove.
29340         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29341         (__ASSUME_UTIMES): Likewise.
29343         * math/gen-auto-libm-tests.c: Update comment on output format.
29344         (output_for_one_input_case): Generate before-rounding and
29345         after-rounding information as conditions on output flags not
29346         floating-point format.
29347         * math/auto-libm-test-out: Regenerated.
29348         * math/gen-libm-test.pl (cond_value): New function.
29349         (or_cond_value): Use cond_value.
29350         (generate_testfile): Handle conditional exceptions.
29352 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
29354         * math/libm-test.inc (max_valid_error): New variable.
29355         (init_max_error): Take new argument specifying whether function
29356         results are exactly determined.  Set max_valid_error and bound
29357         other variables for errors based on this argument.
29358         (set_max_error): Do not record results above max_valid_error.
29359         (check_float_internal): Only accept errors of up to 0.5ulps if
29360         also at most max_valid_error.
29361         (START): Take new argument EXACT and pass it to init_max_error.
29362         (acos_test): Update call to START.
29363         (acos_test_tonearest): Likewise.
29364         (acos_test_towardzero): Likewise.
29365         (acos_test_downward): Likewise.
29366         (acos_test_upward): Likewise.
29367         (acosh_test): Likewise.
29368         (asin_test): Likewise.
29369         (asin_test_tonearest): Likewise.
29370         (asin_test_towardzero): Likewise.
29371         (asin_test_downward): Likewise.
29372         (asin_test_upward): Likewise.
29373         (asinh_test): Likewise.
29374         (atan_test): Likewise.
29375         (atanh_test): Likewise.
29376         (atan2_test): Likewise.
29377         (cabs_test): Likewise.
29378         (cacos_test): Likewise.
29379         (cacosh_test): Likewise.
29380         (carg_test): Likewise.
29381         (casin_test): Likewise.
29382         (casinh_test): Likewise.
29383         (catan_test): Likewise.
29384         (catanh_test): Likewise.
29385         (cbrt_test): Likewise.
29386         (ccos_test): Likewise.
29387         (ccosh_test): Likewise.
29388         (ceil_test): Likewise.
29389         (cexp_test): Likewise.
29390         (cimag_test): Likewise.
29391         (clog_test): Likewise.
29392         (clog10_test): Likewise.
29393         (conj_test): Likewise.
29394         (copysign_test): Likewise.
29395         (cos_test): Likewise.
29396         (cos_test_tonearest): Likewise.
29397         (cos_test_towardzero): Likewise.
29398         (cos_test_downward): Likewise.
29399         (cos_test_upward): Likewise.
29400         (cosh_test): Likewise.
29401         (cosh_test_tonearest): Likewise.
29402         (cosh_test_towardzero): Likewise.
29403         (cosh_test_downward): Likewise.
29404         (cosh_test_upward): Likewise.
29405         (cpow_test): Likewise.
29406         (cproj_test): Likewise.
29407         (creal_test): Likewise.
29408         (csin_test): Likewise.
29409         (csinh_test): Likewise.
29410         (csqrt_test): Likewise.
29411         (ctan_test): Likewise.
29412         (ctan_test_tonearest): Likewise.
29413         (ctan_test_towardzero): Likewise.
29414         (ctan_test_downward): Likewise.
29415         (ctan_test_upward): Likewise.
29416         (ctanh_test): Likewise.
29417         (ctanh_test_tonearest): Likewise.
29418         (ctanh_test_towardzero): Likewise.
29419         (ctanh_test_downward): Likewise.
29420         (ctanh_test_upward): Likewise.
29421         (erf_test): Likewise.
29422         (erfc_test): Likewise.
29423         (exp_test): Likewise.
29424         (exp_test_tonearest): Likewise.
29425         (exp_test_towardzero): Likewise.
29426         (exp_test_downward): Likewise.
29427         (exp_test_upward): Likewise.
29428         (exp10_test): Likewise.
29429         (exp10_test_tonearest): Likewise.
29430         (exp10_test_towardzero): Likewise.
29431         (exp10_test_downward): Likewise.
29432         (exp10_test_upward): Likewise.
29433         (pow10_test): Likewise.
29434         (exp2_test): Likewise.
29435         (expm1_test): Likewise.
29436         (expm1_test_tonearest): Likewise.
29437         (expm1_test_towardzero): Likewise.
29438         (expm1_test_downward): Likewise.
29439         (expm1_test_upward): Likewise.
29440         (fabs_test): Likewise.
29441         (fdim_test): Likewise.
29442         (floor_test): Likewise.
29443         (fma_test): Likewise.
29444         (fma_test_towardzero): Likewise.
29445         (fma_test_downward): Likewise.
29446         (fma_test_upward): Likewise.
29447         (fmax_test): Likewise.
29448         (fmin_test): Likewise.
29449         (fmod_test): Likewise.
29450         (fpclassify_test): Likewise.
29451         (frexp_test): Likewise.
29452         (hypot_test): Likewise.
29453         (ilogb_test): Likewise.
29454         (isfinite_test): Likewise.
29455         (finite_test): Likewise.
29456         (isgreater_test): Likewise.
29457         (isgreaterequal_test): Likewise.
29458         (isinf_test): Likewise.
29459         (isless_test): Likewise.
29460         (islessequal_test): Likewise.
29461         (islessgreater_test): Likewise.
29462         (isnan_test): Likewise.
29463         (isnormal_test): Likewise.
29464         (issignaling_test): Likewise.
29465         (isunordered_test): Likewise.
29466         (j0_test): Likewise.
29467         (j1_test): Likewise.
29468         (jn_test): Likewise.
29469         (ldexp_test): Likewise.
29470         (lgamma_test): Likewise.
29471         (gamma_test): Likewise.
29472         (lrint_test): Likewise.
29473         (lrint_test_tonearest): Likewise.
29474         (lrint_test_towardzero): Likewise.
29475         (lrint_test_downward): Likewise.
29476         (lrint_test_upward): Likewise.
29477         (llrint_test): Likewise.
29478         (llrint_test_tonearest): Likewise.
29479         (llrint_test_towardzero): Likewise.
29480         (llrint_test_downward): Likewise.
29481         (llrint_test_upward): Likewise.
29482         (log_test): Likewise.
29483         (log10_test): Likewise.
29484         (log1p_test): Likewise.
29485         (log2_test): Likewise.
29486         (logb_test): Likewise.
29487         (logb_test_downward): Likewise.
29488         (lround_test): Likewise.
29489         (llround_test): Likewise.
29490         (modf_test): Likewise.
29491         (nearbyint_test): Likewise.
29492         (nextafter_test): Likewise.
29493         (nexttoward_test): Likewise.
29494         (pow_test): Likewise.
29495         (pow_test_tonearest): Likewise.
29496         (pow_test_towardzero): Likewise.
29497         (pow_test_downward): Likewise.
29498         (pow_test_upward): Likewise.
29499         (remainder_test): Likewise.
29500         (drem_test): Likewise.
29501         (remainder_test_tonearest): Likewise.
29502         (drem_test_tonearest): Likewise.
29503         (remainder_test_towardzero): Likewise.
29504         (drem_test_towardzero): Likewise.
29505         (remainder_test_downward): Likewise.
29506         (drem_test_downward): Likewise.
29507         (remainder_test_upward): Likewise.
29508         (drem_test_upward): Likewise.
29509         (remquo_test): Likewise.
29510         (rint_test): Likewise.
29511         (rint_test_tonearest): Likewise.
29512         (rint_test_towardzero): Likewise.
29513         (rint_test_downward): Likewise.
29514         (rint_test_upward): Likewise.
29515         (round_test): Likewise.
29516         (scalb_test): Likewise.
29517         (scalbn_test): Likewise.
29518         (scalbln_test): Likewise.
29519         (signbit_test): Likewise.
29520         (sin_test): Likewise.
29521         (sin_test_tonearest): Likewise.
29522         (sin_test_towardzero): Likewise.
29523         (sin_test_downward): Likewise.
29524         (sin_test_upward): Likewise.
29525         (sincos_test): Likewise.
29526         (sinh_test): Likewise.
29527         (sinh_test_tonearest): Likewise.
29528         (sinh_test_towardzero): Likewise.
29529         (sinh_test_downward): Likewise.
29530         (sinh_test_upward): Likewise.
29531         (sqrt_test): Likewise.
29532         (sqrt_test_tonearest): Likewise.
29533         (sqrt_test_towardzero): Likewise.
29534         (sqrt_test_downward): Likewise.
29535         (sqrt_test_upward): Likewise.
29536         (tan_test): Likewise.
29537         (tan_test_tonearest): Likewise.
29538         (tan_test_towardzero): Likewise.
29539         (tan_test_downward): Likewise.
29540         (tan_test_upward): Likewise.
29541         (tanh_test): Likewise.
29542         (tgamma_test): Likewise.
29543         (trunc_test): Likewise.
29544         (y0_test): Likewise.
29545         (y1_test): Likewise.
29546         (yn_test): Likewise.
29547         (significand_test): Likewise.
29549         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
29550         individual tests in comment.
29551         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
29552         (prev_max_error): New variable.
29553         (prev_real_max_error): Likewise.
29554         (prev_imag_max_error): Likewise.
29555         (compare_ulp_data): Don't refer to test names in comment.
29556         (find_test_ulps): Remove function.
29557         (find_function_ulps): Likewise.
29558         (find_complex_function_ulps): Likewise.
29559         (init_max_error): Take function name as argument.  Look up ulps
29560         for that function.
29561         (print_ulps): Remove function.
29562         (print_max_error): Use prev_max_error instead of calling
29563         find_function_ulps.
29564         (print_complex_max_error): Use prev_real_max_error and
29565         prev_imag_max_error instead of calling find_complex_function_ulps.
29566         (check_float_internal): Take max_ulp parameter instead of calling
29567         find_test_ulps.  Don't call print_ulps.
29568         (check_float): Update call to check_float_internal.
29569         (check_complex): Update calls to check_float_internal.
29570         (START): Pass argument to init_max_error.
29571         * math/gen-libm-test.pl (%results): Don't include "kind"
29572         information.
29573         (parse_ulps): Don't handle ulps of individual tests.
29574         (print_ulps_file): Likewise.
29575         (output_ulps): Likewise.
29576         * math/README.libm-test: Update.
29577         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
29578         individual tests.
29579         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
29580         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
29581         * sysdeps/arm/libm-test-ulps: Likewise.
29582         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
29583         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
29584         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
29585         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
29586         * sysdeps/microblaze/libm-test-ulps: Likewise.
29587         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
29588         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29589         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29590         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
29591         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29592         * sysdeps/sh/libm-test-ulps: Likewise.
29593         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29594         * sysdeps/tile/libm-test-ulps: Likewise.
29595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29597 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
29599         * math/libm-test.inc (print_complex_max_error): Check separately
29600         whether real and imaginary errors are within allowed range and
29601         pass 0 to print_complex_function_ulps instead of value within
29602         allowed range.
29604 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29606         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
29607         formatting.
29608         (get_handles_fopen): Likewise.
29609         (do_write_test): Likewise.
29611         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
29613         * libio/fileops.c (do_ftell): Use cached offset when
29614         available.
29615         * libio/iofwide.c (do_ftell_wide): Likewise.
29616         * libio/iofdopen.c (_IO_new_fdopen): Don't use
29617         _IO_file_attach.
29618         * libio/wfileops.c (_IO_fwide): Don't cache offset.
29620         [BZ #16532]
29621         * libio/libioP.h (get_file_offset): New function.
29622         * libio/fileops.c (get_file_offset): Likewise.
29623         (do_ftell): Likewise.
29624         (_IO_new_file_seekoff): Split out ftell logic.
29625         * libio/wfileops.c (do_ftell_wide): Likewise.
29626         (_IO_wfile_seekoff): Split out ftell logic.
29627         * libio/tst-ftell-active-handler.c: New test case.
29628         * libio/Makefile (tests): Add it.
29630 2014-03-03  Roland McGrath  <roland@hack.frob.com>
29632         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
29633         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
29635 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29637         [BZ #16639]
29638         * nscd/connections.c (nscd_init): Call do_exit.
29639         (start_threads): Call do_exit and notify_parent.
29640         (begin_drop_privileges): Call do_exit.
29641         (finish_drop_privileges): Likewise.
29642         * nscd/selinux.c (preserve_capabilities): Likewise.
29643         (install_real_capabilities): Likewise.
29644         (nscd_selinux_enabled): Likewise.
29645         (avc_create_thread): Likewise.
29646         (avc_alloc_lock): Likewise.
29647         (nscd_avc_init): Likewise.
29648         * nscd/nscd.c (parent_fd): New static variable.
29649         (main): Create a pipe between parent and child processes.
29650         Skip closing parent_fd.
29651         (monitor_child): New function.
29652         (do_exit): Likewise.
29653         (notify_parent): Likewise.
29654         * nscd/nscd.h (notify_parent): Likewise.
29655         (do_exit): Likewise.
29657 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
29659         * malloc/malloc.c (__libc_calloc): Revert last change.
29661 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29665 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29667         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
29668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
29669         implementation.
29670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29671         (__libc_ifunc_impl_list): Likewise.
29672         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
29673         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
29674         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
29675         * string/strrchr.c: Define STRRCHR.
29677 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
29679         * benchtest/bench-strtok.c (simple_strtok): Delete.
29680         (strtok_string): Use as benchmark.
29681         * string/strtok (STRTOK): New macro.
29683 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
29685         * manual/threads.texi: Add header and standard comments to all
29686         functions.
29688         * elf/dl-lookup.c (check_match): New function.
29689         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
29690         (do_lookup_x): Remove nested function check_match. Use non-nested
29691         function check_match.
29693 2014-02-28  Roland McGrath  <roland@hack.frob.com>
29695         * csu/Makefile (generated, before-compile): Use += rather than =.
29696         * catgets/Makefile (generated, generated-dirs): Likewise.
29697         * debug/Makefile (generated): Likewise.
29698         * dlfcn/Makefile (generated): Likewise.
29699         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
29700         * iconvdata/Makefile (before-compile, generated): Likewise.
29701         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
29702         * libio/Makefile (generated): Likewise.
29703         * malloc/Makefile (generated): Likewise.
29704         * manual/Makefile (generated, generated-dirs): Likewise.
29705         * misc/Makefile (generated): Likewise.
29706         * posix/Makefile (generated): Likewise.
29707         * resolv/Makefile (generated): Likewise.
29708         * sunrpc/Makefile (generated, generated-dirs): Likewise.
29709         * timezone/Makefile (generated, generated-dirs): Likewise.
29711         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
29713 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29716         power8 implementation.
29717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
29718         file: POWER8 llround ifunc implementation.
29719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
29720         (__lllround): Add POWER8 implementation.
29721         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
29722         POWER8 llround implementation.
29724         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
29725         power8 implementation.
29726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
29727         file: POWER8 llrint ifunc implementation.
29728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
29729         Add POWER8 implementation.
29730         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
29731         POWER8 llrint implementation.
29733         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
29734         power8 implementation.
29735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
29736         file: POWER8 finite ifunc implementation.
29737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
29738         Add POWER8 implementation.
29739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
29740         Likewise.
29741         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
29742         POWER8 finite implementation.
29743         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
29745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
29746         power8 implementation.
29747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
29748         file: POWER8 isinf ifunc implementation.
29749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
29750         POWER8 implementation.
29751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
29752         Likewise.
29753         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
29754         isinf implementation.
29755         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
29757         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
29758         (INIT_ARCH): Add hwcap2 initialization.
29759         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29760         power8 implementation.
29761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
29762         file: POWER8 isnan ifunc implementation.
29763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
29764         POWER8 implementation.
29765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
29766         Likewise.
29767         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
29768         isnan implementation.
29769         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
29771 2014-02-27  Joey Ye  <joey.ye@arm.com>
29773         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
29774         (_FP_NANFRAC_Q): Set to zero.
29776 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29778         [BZ #16623]
29779         * math/auto-libm-test-in: New test inputs.
29780         * math/auto-libm-test-out: Regenerate.
29781         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
29782         and DA.
29783         (__cos): Likewise.
29784         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29786 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
29788         * scripts/evaluate-test.sh: Take new argument indicating whether
29789         failure is expected.
29790         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
29791         indicating whether failure is expected.
29792         * conform/Makefile (test-xfail-run-conformtest): New variable.
29793         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
29794         level.
29795         * posix/Makefile (test-xfail-annexc): New variable.
29796         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
29798 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
29800         * argp/Makefile: Include Makeconfig immediately after defining
29801         subdir.
29802         * assert/Makefile: Likewise.
29803         * benchtests/Makefile: Likewise.
29804         * catgets/Makefile: Likewise.
29805         * conform/Makefile: Likewise.
29806         * crypt/Makefile: Likewise.
29807         * csu/Makefile: Likewise.
29808         (all): Remove target.
29809         * ctype/Makefile: Include Makeconfig immediately after defining
29810         subdir.
29811         * debug/Makefile: Likewise.
29812         * dirent/Makefile: Likewise.
29813         * dlfcn/Makefile: Likewise.
29814         * gmon/Makefile: Likewise.
29815         * gnulib/Makefile: Likewise.
29816         * grp/Makefile: Likewise.
29817         * gshadow/Makefile: Likewise.
29818         * hesiod/Makefile: Likewise.
29819         * hurd/Makefile: Likewise.
29820         (all): Remove target.
29821         * iconvdata/Makefile: Include Makeconfig immediately after
29822         defining subdir.
29823         * inet/Makefile: Likewise.
29824         * intl/Makefile: Likewise.
29825         * io/Makefile: Likewise.
29826         * libio/Makefile: Likewise.
29827         (all): Remove target.
29828         * locale/Makefile: Include Makeconfig immediately after defining
29829         subdir.
29830         * login/Makefile: Likewise.
29831         * mach/Makefile: Likewise.
29832         (all): Remove target.
29833         * malloc/Makefile: Include Makeconfig immediately after defining
29834         subdir.
29835         (all): Remove target.
29836         * manual/Makefile: Include Makeconfig immediately after defining
29837         subdir.
29838         * math/Makefile: Likewise.
29839         * misc/Makefile: Likewise.
29840         * nis/Makefile: Likewise.
29841         * nss/Makefile: Likewise.
29842         * po/Makefile: Likewise.
29843         (all): Remove target.
29844         * posix/Makefile: Include Makeconfig immediately after defining
29845         subdir.
29846         * pwd/Makefile: Likewise.
29847         * resolv/Makefile: Likewise.
29848         * resource/Makefile: Likewise.
29849         * rt/Makefile: Likewise.
29850         * setjmp/Makefile: Likewise.
29851         * shadow/Makefile: Likewise.
29852         * signal/Makefile: Likewise.
29853         * socket/Makefile: Likewise.
29854         * soft-fp/Makefile: Likewise.
29855         * stdio-common/Makefile: Likewise.
29856         * stdlib/Makefile: Likewise.
29857         * streams/Makefile: Likewise.
29858         * string/Makefile: Likewise.
29859         * sunrpc/Makefile: Likewise.
29860         (all): Remove target.
29861         * sysvipc/Makefile: Include Makeconfig immediately after defining
29862         subdir.
29863         * termios/Makefile: Likewise.
29864         * time/Makefile: Likewise.
29865         * timezone/Makefile: Likewise.
29866         (all): Remove target.
29867         * wcsmbs/Makefile: Include Makeconfig immediately after defining
29868         subdir.
29869         * wctype/Makefile: Likewise.
29871 2014-02-26  Steve Ellcey  <sellcey@mips.com>
29873         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
29874         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
29875         (libc_feholdexcept_setround_mips): Ditto.
29876         (libc_feholdsetround): New.
29877         (libc_feholdsetroundf): New.
29878         (libc_feholdsetroundl): New.
29879         (libc_feupdateenv_test_mips): New.
29880         (libc_feupdateenv_test): New.
29881         (libc_feupdateenv_testf): New.
29882         (libc_feupdateenv_testl): New.
29883         (libc_feresetround): New.
29884         (libc_feresetroundf): New.
29885         (libc_feresetroundl): New.
29886         (libc_fetestexcept_mips): New.
29887         (libc_fetestexcept): New.
29888         (libc_fetestexceptf): New.
29889         (libc_fetestexceptl): New.
29890         (HAVE_RM_CTX): New.
29891         (libc_feholdexcept_setround_mips_ctx): New.
29892         (libc_feholdexcept_setround_ctx): New.
29893         (libc_feholdexcept_setroundf_ctx): New.
29894         (libc_feholdexcept_setroundl_ctx): New.
29895         (libc_fesetenv_mips_ctx): New.
29896         (libc_fesetenv_ctx): New.
29897         (libc_fesetenv_ctxf): New.
29898         (libc_fesetenv_ctxl): New.
29899         (libc_feupdateenv_mips_ctx): New.
29900         (libc_feupdateenv_ctx): New.
29901         (libc_feupdateenvf_ctx): New.
29902         (libc_feupdateenvl_ctx): New.
29903         (libc_feholdsetround_mips_ctx): New.
29904         (libc_feholdsetround_ctx): New.
29905         (libc_feholdsetroundf_ctx): New.
29906         (libc_feholdsetroundl_ctx): New.
29907         (libc_feresetround_mips_ctx): New.
29908         (libc_feresetround_ctx): New.
29909         (libc_feresetroundf_ctx): New.
29910         (libc_feresetroundl_ctx): New.
29912 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
29914         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
29916         * manual/ipc.texi: New file.
29917         * manual/Makefile (chapters): Add ipc.
29918         * manual/job.texi: Add "Inter-Process Communication" to next.
29919         * manual/process.texi: Add "Inter-Process Communication" to prev.
29921 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29925 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
29927         * malloc/malloc.c (__libc_calloc): Simplify implementation.
29929         * manual/arith.texi: Fix spaces after sentences.
29930         * manual/charset.texi: Likewise.
29931         * manual/errno.texi: Likewise.
29932         * manual/install.texi: Likewise.
29933         * manual/llio.texi: Likewise.
29934         * manual/locale.texi: Likewise.
29935         * manual/maint.texi: Likewise.
29936         * manual/math.texi: Likewise.
29937         * manual/memory.texi: Likewise.
29938         * manual/message.texi: Likewise.
29939         * manual/probes.texi: Likewise.
29940         * manual/resource.texi: Likewise.
29941         * manual/signal.texi: Likewise.
29942         * manual/socket.texi: Likewise.
29943         * manual/stdio.texi: Likewise.
29944         * manual/string.texi: Likewise.
29945         * manual/time.texi: Likewise.
29946         * manual/users.texi: Likewise.
29948 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
29950         [BZ #16632]
29951         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
29952         _DEFAULT_SOURCE is defined.
29954 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
29955             Carlos O'Donell  <carlos@redhat.com>
29957         [BZ #16613]
29958         * elf/dl-tls.c (_dl_count_modids): New function.
29959         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
29960         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
29961         audit library and increment generation counter.
29962         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
29963         * elf/tst-audit9.c: New file.
29964         * elf/tst-auditmod9a.c: New file.
29965         * elf/tst-auditmod9b.c: New file.
29966         * elf/Makefile: Add rules to build and run tst-audit9.
29968 2014-02-25  Florian Weimer  <fweimer@redhat.com>
29970         [BZ #15347]
29971         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
29973 2014-02-25  Will Newton  <will.newton@linaro.org>
29975         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
29976         (__longjmp): Restore sp and lr before restoring callee
29977         saved registers.  Add longjmp and longjmp_target
29978         SystemTap probe point.
29979         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
29980         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
29981         Define to zero to match jmpbuf layout.
29982         * sysdeps/arm/setjmp.S: Include stap-probe.h.
29983         (__sigsetjmp): Save sp and lr before saving callee
29984         saved registers.  Add setjmp SystemTap probe point.
29986 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
29988         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29990 2014-02-24  Andreas Schwab  <schwab@suse.de>
29992         [BZ #15804]
29993         * elf/pldd.c (wait_for_ptrace_stop): New function.
29994         (main): Call it after attaching.
29996 2014-02-22  Roland McGrath  <roland@hack.frob.com>
29998         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
29999         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
30000         Versions files is now verboten.
30001         * hurd/Versions (libc: GLIBC_2.0):
30002         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
30003         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
30004         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
30005         * mach/Versions: Likewise.
30007         * csu/Versions: Remove unused %include.
30008         * resolv/Versions: Likewise.
30010 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
30012         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
30013         ($(objpfx)check-local-headers.out): Likewise.
30014         ($(objpfx)begin-end-check.out): Likewise.
30015         * Makerules (check-abi-%.out): Likewise.
30016         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
30017         ($(objpfx)test2.cat): Likewise.
30018         ($(objpfx)de/libc.cat): Likewise.
30019         ($(objpfx)test-gencat.out): Likewise.
30020         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
30021         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
30022         ($(objpfx)noload-mem): Likewise.
30023         ($(objpfx)tst-pathopt.out): Likewise.
30024         ($(objpfx)tst-rtld-load-self.out): Likewise.
30025         ($(objpfx)tst-array1-cmp.out): Likewise.
30026         ($(objpfx)tst-array1-static-cmp.out): Likewise.
30027         ($(objpfx)tst-array2-cmp.out): Likewise.
30028         ($(objpfx)tst-array3-cmp.out): Likewise.
30029         ($(objpfx)tst-array4-cmp.out): Likewise.
30030         ($(objpfx)tst-array5-cmp.out): Likewise.
30031         ($(objpfx)tst-array5-static-cmp.out): Likewise.
30032         ($(objpfx)check-textrel.out): Likewise.
30033         ($(objpfx)check-execstack.out): Likewise.
30034         ($(objpfx)check-localplt.out): Likewise.
30035         ($(objpfx)order2-cmp.out): Likewise.
30036         ($(objpfx)tst-leaks1-mem): Likewise.
30037         ($(objpfx)tst-leaks1-static-mem): Likewise.
30038         ($(objpfx)tst-initorder-cmp.out): Likewise.
30039         ($(objpfx)tst-initorder2-cmp.out): Likewise.
30040         ($(objpfx)tst-unused-dep.out): Likewise.
30041         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
30042         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
30043         * iconv/Makefile (test-iconvconfig): Likewise.
30044         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
30045         ($(objpfx)iconv-test.out): Likewise.
30046         ($(objpfx)tst-tables.out): Likewise.
30047         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
30048         ($(objpfx)tst-gettext.out): Likewise.
30049         ($(objpfx)tst-translit.out): Likewise.
30050         ($(objpfx)tst-gettext2.out): Likewise.
30051         ($(objpfx)tst-gettext4.out): Likewise.
30052         ($(objpfx)tst-gettext6.out): Likewise.
30053         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
30054         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
30055         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
30056         ($(objpfx)tst-fopenloc-mem.out): Likewise.
30057         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
30058         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
30059         * posix/Makefile ($(objpfx)globtest.out): Likewise.
30060         ($(objpfx)wordexp-tst.out): Likewise.
30061         ($(objpfx)annexc.out): Likewise.
30062         ($(objpfx)tst-fnmatch-mem): Likewise.
30063         ($(objpfx)bug-regex2-mem): Likewise.
30064         ($(objpfx)bug-regex14-mem): Likewise.
30065         ($(objpfx)bug-regex21-mem): Likewise.
30066         ($(objpfx)bug-regex31-mem): Likewise.
30067         ($(objpfx)tst-vfork3-mem): Likewise.
30068         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30069         ($(objpfx)tst-pcre-mem): Likewise.
30070         ($(objpfx)tst-boost-mem): Likewise.
30071         ($(objpfx)tst-getconf.out): Likewise.
30072         ($(objpfx)bug-ga2-mem): Likewise.
30073         ($(objpfx)bug-glob2-mem): Likewise.
30074         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
30075         ($(objpfx)mtrace-tst-leaks2): Likewise.
30076         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
30077         ($(objpfx)tst-printf.out): Likewise.
30078         ($(objpfx)tst-setvbuf1.out): Likewise.
30079         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
30080         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
30081         ($(objpfx)tst-fmtmsg.out): Likewise.
30082         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
30083         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
30085         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
30086         * bits/sigaction.h [__USE_MISC]: Likewise.
30087         * bits/waitstatus.h: Update #endif comments.
30088         * ctype/ctype.h: Likewise.
30089         * dirent/dirent.h: Likewise.
30090         [__USE_MISC]: Remove redundant conditionals.
30091         * grp/grp.h: Update #endif comments.
30092         [__USE_GNU]: Remove redundant conditionals.
30093         [__USE_MISC]: Likewise.
30094         * inet/netinet/in.h [__USE_GNU]: Likewise.
30095         * io/sys/stat.h [__USE_MISC]: Likewise.
30096         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
30097         * libio/bits/stdio.h: Update #endif comments.
30098         [__USE_MISC]: Remove redundant conditionals.
30099         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
30100         * libio/stdio.h: Update #endif comments.
30101         [__USE_MISC]: Remove redundant conditionals.
30102         * math/bits/math-finite.h [__USE_MISC]: Likewise.
30103         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
30104         * math/math.h: Update #else and #endif comments.
30105         [__USE_MISC]: Remove redundant conditionals.
30106         * misc/sys/uio.h: Update #endif comments.
30107         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
30108         * posix/glob.h [__USE_MISC]: Likewise.
30109         * posix/sys/types.h: Update #endif comments.
30110         [__USE_MISC]: Remove redundant conditionals.
30111         * posix/sys/wait.h: Update #endif comments.
30112         [__USE_MISC]: Remove redundant conditionals.
30113         * posix/unistd.h: Update #endif comments.
30114         [__USE_MISC]: Remove redundant conditionals.
30115         * pwd/pwd.h [__USE_GNU]: Likewise.
30116         [__USE_MISC]: Likewise.
30117         * resolv/netdb.h [__USE_GNU]: Likewise.
30118         * signal/signal.h: Update #endif comments.
30119         [__USE_MISC]: Remove redundant conditionals.
30120         * stdlib/stdlib.h: Update #else and #endif comments.
30121         [__USE_MISC]: Remove redundant conditionals.
30122         [__USE_GNU]: Likewise.
30123         * string/bits/string2.h [__USE_MISC]: Likewise.
30124         * string/string.h: Update #endif comments.
30125         [__USE_MISC]: Remove redundant conditionals.
30126         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
30127         Likewise.
30128         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
30129         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
30130         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
30131         Likewise.
30132         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
30133         Likewise.
30134         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
30135         comments.
30136         [__USE_MISC]: Remove redundant conditionals.
30137         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
30138         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
30139         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
30140         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
30141         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
30142         Likewise.
30143         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
30144         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
30145         Likewise.
30146         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
30147         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
30148         Likewise.
30149         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
30150         Likewise.
30151         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
30152         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
30153         Likewise.
30154         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
30155         Likewise.
30156         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
30157         * sysdeps/x86/bits/string.h: Update #endif comments.
30158         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
30159         conditionals.
30160         * time/sys/time.h: Update #endif comments.
30161         * time/time.h: Likewise.
30162         [__USE_MISC]: Remove redundant conditionals.
30164 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
30166         [BZ #16600]
30167         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
30169 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
30171         * Versions.def (librt): Add GLIBC_2.17.
30173 2014-02-21  Adam Conrad  <adconrad@0c3.net>
30175         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
30176         synonym for _SYS_AUXV_H to allow direct inclusion.
30177         * sysdeps/sparc/bits/hwcap.h: Likewise.
30178         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
30179         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
30180         * sysdeps/sparc/sysdep.h: Likewise.
30182 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30184         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
30186 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30188         * benchtests/bench-strrchr.c: Print length instead of position.
30190 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
30192         [BZ #16611]
30193         * sysdeps/unix/sysv/linux/kernel-features.h
30194         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
30195         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
30196         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
30197         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
30198         Likewise.
30199         [__i386__ || __powerpc__ || __sh__ || __sparc__]
30200         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30201         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
30202         (__ASSUME_SENDMMSG): Define instead of using previous
30203         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
30204         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30205         (__ASSUME_SENDMMSG_SYSCALL): Define.
30206         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30207         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
30208         Likewise.
30209         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30210         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30211         Likewise.
30212         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30213         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30214         Likewise.
30215         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
30216         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30217         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30218         [__ASSUME_SENDMMSG]: Change conditionals to
30219         [__ASSUME_SENDMMSG_SOCKETCALL].
30220         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30221         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
30222         Define.
30223         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30224         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
30225         Likewise.
30226         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
30227         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
30228         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
30229         [!__ASSUME_SENDMMSG]: Change conditional to
30230         [!__ASSUME_SENDMMSG_SOCKETCALL].
30231         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30232         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
30233         Define.
30235         [BZ #16610]
30236         * sysdeps/unix/sysv/linux/kernel-features.h
30237         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
30238         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
30239         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
30240         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
30241         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30242         [__i386__ || __sparc__]
30243         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30244         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
30245         (__ASSUME_RECVMMSG): Define instead of using previous
30246         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
30247         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30248         (__ASSUME_RECVMMSG_SYSCALL): Define.
30249         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30250         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30251         Likewise.
30252         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30253         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30254         Likewise.
30255         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30256         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30257         Likewise.
30258         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
30259         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30260         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30261         [__ASSUME_RECVMMSG]: Change condition to
30262         [__ASSUME_RECVMMSG_SOCKETCALL].
30263         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30264         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30265         Define.
30266         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30267         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30268         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
30269         Likewise.
30270         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
30271         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
30272         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
30273         [!__ASSUME_RECVMMSG]: Change condition to
30274         [!__ASSUME_RECVMMSG_SOCKETCALL].
30275         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30276         (__ASSUME_RECVMMSG_SYSCALL): Define.
30278         [BZ #16609]
30279         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
30280         __powerpc__ || __s390__ || __sh__ || __sparc__]
30281         (__ASSUME_SOCKETCALL): Define.
30282         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
30283         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
30284         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
30285         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
30286         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
30287         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30288         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
30289         (__ASSUME_ACCEPT4): Define instead of using previous
30290         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
30291         __powerpc__ || __sparc__ || __s390__)] condition.
30292         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30293         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30294         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
30295         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30296         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30297         [!__ASSUME_ACCEPT4]: Change condition to
30298         [!__ASSUME_ACCEPT4_SOCKETCALL].
30299         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30300         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
30301         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
30302         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30303         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
30304         __ASSUME_ACCEPT4_SYSCALL.
30305         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
30306         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
30307         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
30308         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
30309         __ASSUME_ACCEPT4_SYSCALL.
30310         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
30311         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
30312         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
30313         [__ASSUME_ACCEPT4]: Change condition to
30314         [__ASSUME_ACCEPT4_SOCKETCALL].
30315         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30316         (__ASSUME_SOCKETCALL): Define.
30317         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
30318         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30319         (__ASSUME_SOCKETCALL): Define.
30320         (__ASSUME_ACCEPT4): Remove.
30321         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
30322         Define.
30323         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30324         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
30325         Likewise.
30326         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30327         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
30329         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
30330         macro.
30331         (HWCAP_ARM_LPAE): Likewise.
30332         (HWCAP_ARM_EVTSTRM): Likewise.
30333         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
30334         Add vpfd32, lpae and evtstrm.
30335         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
30336         Increase to 22.
30338 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
30340         * math/auto-libm-test-in: Add tests of clog10.
30341         * math/auto-libm-test-out: Regenerated.
30342         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
30343         * sysdeps/i386/fpu/libm-test-ulps: Update.
30344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30346 2014-02-18  Andreas Schwab  <schwab@suse.de>
30348         [BZ #16574]
30349         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
30350         Store non-zero if the second buffer was newly allocated.
30351         (send_dg): Likewise.
30352         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
30353         to send_vc and send_dg.
30354         (res_nsend): Pass NULL for ansp2_malloced.
30355         * resolv/res_query.c (__libc_res_nquery): Add parameter
30356         answerp2_malloced and pass it down to __libc_res_nsend.
30357         (res_nquery): Pass additional NULL to __libc_res_nquery.
30358         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
30359         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
30360         second answer buffer if answerp2_malloced was set.
30361         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
30362         (__libc_res_nquerydomain): Add parameter
30363         answerp2_malloced and pass it down to __libc_res_nquery.
30364         (res_nquerydomain): Pass additional NULL to
30365         __libc_res_nquerydomain.
30366         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
30367         additional NULL to __libc_res_nsend and __libc_res_nquery.
30368         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
30369         additional NULL to __libc_res_nsearch.
30370         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
30371         parameter of __libc_res_nsearch to check for separately allocated
30372         second buffer.
30373         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
30374         __libc_res_nquery.
30375         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
30376         additional NULL to __libc_res_nquery.
30377         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
30378         __libc_res_nsearch.
30379         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
30380         * include/resolv.h: Update prototypes of __libc_res_nquery,
30381         __libc_res_nsearch, __libc_res_nsend.
30383 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
30385         * math/auto-libm-test-in: Add tests of fma.
30386         * math/auto-libm-test-out: Regenerated.
30387         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
30388         (fma_towardzero_test_data): Likewise.
30389         (fma_downward_test_data): Likewise.
30390         (fma_upward_test_data): Likewise.
30391         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
30392         mpc_mode.
30393         (rounding_modes): Add values for new field.
30394         (func_calc_method): Add value mpfr_fff_f.
30395         (func_calc_desc): Add mpfr_fff_f union field.
30396         (test_function): Add field exact_args.
30397         (FUNC): Add macro argument EXACT_ARGS.
30398         (FUNC_mpfr_f_f): Update call to FUNC.
30399         (FUNC_mpfr_f_f): Likewise.
30400         (FUNC_mpfr_ff_f): Likewise.
30401         (FUNC_mpfr_if_f): Likewise.
30402         (FUNC_mpc_c_f): Likewise.
30403         (FUNC_mpc_c_c): Likewise.
30404         (test_functions): Add fma.  Update calls to FUNC.
30405         (handle_input_arg): Add argument exact_args.
30406         (add_test): Update call to handle_input_arg.
30407         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
30408         (output_for_one_input_case): Update call to calc_generic_results.
30409         Recalculate exact zero results in each rounding mode.
30411         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
30412         non-negative before setting low bit.
30413         * math/auto-libm-test-in: Mark one asin test possibly having
30414         spurious underflow.
30415         * math/auto-libm-test-out: Regenerated.
30416         * sysdeps/i386/fpu/libm-test-ulps: Update.
30417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30419 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
30421         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
30422         * sysdeps/unix/sysv/linux/microblaze: Move directory from
30423         ports/sysdeps/unix/sysv/linux/microblaze.
30424         * README: Add missing listing for microblaze*-*-linux-gnu.
30426 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
30428         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
30429         duplicate code
30431 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
30433         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
30434         * sysdeps/unix/sysv/linux/ia64: Move directory from
30435         ports/sysdeps/unix/sysv/linux/ia64.
30436         * README: Update listing for ia64-*-linux-gnu.
30438 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
30439             Joseph Myers  <joseph@codesourcery.com>
30441         * Makeconfig (test-name): New variable.
30442         (evaluate-test): Likewise.
30443         * Makerules (do-test-clean): Remove .test-result files.
30444         (common-mostlyclean): Likewise.
30445         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
30446         * scripts/evaluate-test.sh: New file.
30448 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
30450         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
30451         separate $(objpfx)tst-fopenloc-cmp.out and
30452         $(objpfx)tst-fopenloc-mem.out targets.
30453         (tests): Update dependencies.
30454         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
30455         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
30456         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
30457         (tst-rxspencer-no-utf8-ARGS): New variable.
30458         (tst-rxspencer-no-utf8-ENV): Likewise.
30459         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
30460         instead of $(objpfx)tst-rxspencer-mem.
30461         ($(objpfx)tst-rxspencer-mem): Change target to
30462         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
30463         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
30464         * posix/tst-rxspencer-no-utf8.c: New file.
30466         * elf/Makefile ($(objpfx)order.out): Remove rule.
30467         [$(run-built-tests) = yes] (tests): Depend on
30468         $(objpfx)order-cmp.out.
30469         ($(objpfx)order-cmp.out): New rule.
30470         [$(run-built-tests) = yes] (tests): Depend on
30471         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
30472         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
30473         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
30474         $(objpfx)tst-array5-static-cmp.out.
30475         ($(objpfx)tst-array1.out): Remove rule.
30476         ($(objpfx)tst-array1-cmp.out): New rule.
30477         ($(objpfx)tst-array1-static.out): Remove rule.
30478         ($(objpfx)tst-array1-static-cmp.out): New rule.
30479         ($(objpfx)tst-array2.out): Remove rule.
30480         ($(objpfx)tst-array2-cmp.out): New rule.
30481         ($(objpfx)tst-array3.out): Remove rule.
30482         ($(objpfx)tst-array3-cmp.out): New rule.
30483         ($(objpfx)tst-array4.out): Remove rule.
30484         ($(objpfx)tst-array4-cmp.out): New rule.
30485         ($(objpfx)tst-array5.out): Remove rule.
30486         ($(objpfx)tst-array5-cmp.out): New rule.
30487         ($(objpfx)tst-array5-static.out): Remove rule.
30488         ($(objpfx)tst-array5-static-cmp.out): New rule.
30489         [$(run-built-tests) = yes] (tests): Depend on
30490         $(objpfx)order2-cmp.out.
30491         ($(objpfx)order2.out): Remove rule.
30492         ($(objpfx)order2-cmp.out): New rule.
30493         ($(objpfx)tst-initorder.out): Remove rule.
30494         [$(run-built-tests) = yes] (tests): Depend on
30495         $(objpfx)tst-initorder-cmp.out.
30496         ($(objpfx)tst-initorder-cmp.out): New rule.
30497         ($(objpfx)tst-initorder2.out): Remove rule.
30498         [$(run-built-tests) = yes] (tests): Depend on
30499         $(objpfx)tst-initorder2-cmp.out.
30500         ($(objpfx)tst-initorder2-cmp.out): New rule.
30501         [$(run-built-tests) = yes] (tests): Depend on
30502         $(objpfx)tst-unused-dep-cmp.out.
30503         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
30504         ($(objpfx)tst-unused-dep-cmp.out): New rule.
30505         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
30506         on $(objpfx)tst-setvbuf1-cmp.out.
30507         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
30508         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
30509         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
30510         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
30511         ($(objpfx)tst-svc.out): Remove rule.
30512         ($(objpfx)tst-svc-cmp.out): New rule.
30514 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
30516         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
30517         * ctype/ctype.h [__USE_MISC]: Likewise.
30518         * dirent/dirent.h [__USE_MISC]: Likewise.
30519         * grp/grp.h [__USE_MISC]: Likewise.
30520         * io/fcntl.h [__USE_MISC]: Likewise.
30521         * io/sys/stat.h [__USE_MISC]: Likewise.
30522         * libio/stdio.h [__USE_MISC]: Likewise.
30523         * posix/unistd.h [__USE_MISC]: Likewise.
30524         * pwd/pwd.h [__USE_MISC]: Likewise.
30525         * stdlib.h [__USE_MISC]: Likewise.
30526         * string/bits/string2.h [__USE_MISC]: Likewise.
30527         * string/string.h [__USE_MISC]: Likewise.
30528         * time/time.h [__USE_MISC]: Likewise.
30530 2014-02-13  Andreas Schwab  <schwab@suse.de>
30532         [BZ #16574]
30533         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
30534         second answer buffer if it was separately allocated.
30536 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
30538         * sysdeps/mips/math-tests.h: Include <features.h>.
30539         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30540         (ROUNDING_TESTS_long_double): Do not define.
30541         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
30542         (EXCEPTION_TESTS_long_double): Likewise.
30543         * sysdeps/mips/mips64/libm-test-ulps: Update.
30545         * include/features.h (__USE_BSD): Remove macro definitions.
30546         (__USE_SVID): Likewise.
30547         (_BSD_SOURCE): Likewise.
30548         (_SVID_SOURCE): Likewise.
30549         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
30550         from definition of _DEFAULT_SOURCE.
30551         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
30552         [_DEFAULT_SOURCE].
30553         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
30554         * bits/mman.h [__USE_BSD]: Likewise.
30555         * bits/termios.h [__USE_BSD]: Likewise.
30556         * bits/waitstatus.h [__USE_BSD]: Likewise.
30557         * ctype/ctype.h [__USE_SVID]: Likewise.
30558         * dirent/dirent.h [__USE_BSD]: Likewise.
30559         * grp/grp.h [__USE_SVID]: Likewise.
30560         [__USE_BSD]: Likewise.
30561         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
30562         * io/fcntl.h [__USE_BSD]: Likewise.
30563         * io/ftw.h [__USE_BSD]: Likewise.
30564         * io/sys/stat.h [__USE_BSD]: Likewise.
30565         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
30566         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
30567         * libio/stdio.h [__USE_SVID]: Likewise.
30568         [__USE_BSD]: Likewise.
30569         * math/math.h [__USE_SVID]: Likewise.
30570         [__USE_BSD]: Likewise.
30571         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
30572         * misc/bits/syslog.h [__USE_BSD]: Likewise.
30573         * misc/search.h [__USE_SVID]: Likewise.
30574         * misc/sys/mman.h [__USE_BSD]: Likewise.
30575         * misc/sys/syslog.h [__USE_BSD]: Likewise.
30576         * misc/sys/uio.h [__USE_BSD]: Likewise.
30577         * posix/bits/unistd.h [__USE_BSD]: Likewise.
30578         * posix/glob.h [__USE_BSD]: Likewise.
30579         * posix/regex.h [__USE_BSD]: Likewise.
30580         * posix/sys/types.h [__USE_BSD]: Likewise.
30581         [__USE_SVID]: Likewise.
30582         * posix/sys/utsname.h [__USE_SVID]: Likewise.
30583         * posix/sys/wait.h [__USE_BSD]: Likewise.
30584         [__USE_SVID]: Likewise.
30585         * posix/unistd.h [__USE_BSD]: Likewise.
30586         [__USE_SVID]: Likewise.
30587         * pwd/pwd.h [__USE_SVID]: Likewise.
30588         * resolv/netdb.h [__USE_BSD]: Likewise.
30589         * setjmp/setjmp.h [__USE_BSD]: Likewise.
30590         * signal/signal.h [__USE_BSD]: Likewise.
30591         [__USE_SVID]: Likewise.
30592         * socket/sys/socket.h [__USE_BSD]: Likewise.
30593         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
30594         * stdlib/stdlib.h [__USE_BSD]: Likewise.
30595         [__USE_SVID]: Likewise.
30596         * string/bits/string2.h [__USE_BSD]: Likewise.
30597         [__USE_SVID]: Likewise.
30598         * string/bits/string3.h [__USE_BSD]: Likewise.
30599         * string/endian.h [__USE_BSD]: Likewise.
30600         * string/string.h [__USE_SVID]: Likewise.
30601         [__USE_BSD]: Likewise.
30602         * string/strings.h [__USE_BSD]: Likewise.
30603         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
30604         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
30605         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
30606         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
30607         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
30608         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
30609         Likewise.
30610         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
30611         Likewise.
30612         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
30613         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
30614         Likewise.
30615         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
30616         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
30617         Likewise.
30618         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
30619         Likewise.
30620         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
30621         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
30622         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
30623         Likewise.
30624         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
30625         Likewise.
30626         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
30627         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
30628         * termios/termios.h [__USE_BSD]: Likewise.
30629         * time/sys/time.h [__USE_BSD]: Likewise.
30630         * time/time.h [__USE_BSD]: Likewise.
30631         [__USE_SVID]: Likewise.
30633         * Makefile (subdir_targets): Remove subdir_lint.out.
30635         * stdio-common/Makefile (do-tst-unbputc): Remove target.
30636         (do-tst-printf): Likewise.
30637         (tests): Depend directly on $(objpfx)tst-unbputc.out and
30638         $(objpfx)tst-printf.out.
30640         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
30642         * Makerules (check-abi-%): Change target to
30643         $(objpfx)check-abi-%.out.
30644         (check-abi target): Update dependencies.
30645         (check-abi-pattern variable): Redirect output of diff to $@.
30646         (check-abi variable): Likewise.
30647         * elf/Makefile (check-abi): Update dependencies.
30649         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
30650         unused.
30651         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
30652         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
30653         subnormal range.
30654         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
30655         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
30656         value has largest subnormal exponent.
30657         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
30658         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
30659         * sysdeps/aarch64/soft-fp/sfp-machine.h
30660         (_FP_TININESS_AFTER_ROUNDING): New macro.
30661         * sysdeps/alpha/soft-fp/sfp-machine.h
30662         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30663         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30664         Likewise.
30665         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
30666         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30667         * sysdeps/mips/soft-fp/sfp-machine.h
30668         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30669         * sysdeps/powerpc/soft-fp/sfp-machine.h
30670         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30671         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30672         Likewise.
30673         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30674         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30675         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30676         (_FP_TININESS_AFTER_ROUNDING): Likewise.
30677         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
30678         Likewise.
30680 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
30682         [BZ #16545]
30683         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
30684         model 1.
30686 2014-02-12  Richard Henderson  <rth@redhat.com>
30688         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
30689         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
30690         * sysdeps/unix/sysv/linux/alpha: Move directory from
30691         ports/sysdeps/unix/sysv/linux/alpha.
30692         * README: Update listing for alpha-*-linux-gnu.
30694 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
30696         * include/features.h: Update comment documenting feature test
30697         macros.
30698         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
30699         _DEFAULT_SOURCE.
30700         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
30701         (_SVID_SOURCE): Likewise.
30702         (_DEFAULT_SOURCE): Update description of default features.
30703         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
30704         with _GNU_SOURCE.
30705         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
30706         (S_ISVTX): Likewise.
30707         * manual/math.texi (Mathematical Constants): Likewise.
30708         * manual/signal.texi (Interrupted Primitives): Likewise.
30709         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
30710         * math/test-matherr.c (_SVID_SOURCE): Do not define.
30711         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
30712         Don't refer to _SVID_SOURCE in warning text.
30714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30716         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
30717         already defined.
30718         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
30719         * sysdeps/mips/dl-lookup.c: Remove.
30720         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
30722 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30724         [BZ #16447]
30725         * math/auto-libm-test-in: Add testcase for expl.
30726         * math/auto-libm-test-out: Regenerate.
30727         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
30728         calculation of unsafe.
30729         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
30731 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30733         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
30734         * sysdeps/unix/sysv/linux/aarch64: Move directory from
30735         ports/sysdeps/unix/sysv/linux/aarch64.
30736         * README: Update listing for aarch64*-*-linux-gnu.
30738 2014-02-11  Will Newton  <will.newton@linaro.org>
30740         * manual/probes.texi (Mathematical Function Probes): Use
30741         "triggered" instead of "hit".
30743         * manual/probes.texi (Internal Probes): Add documentation
30744         of setjmp, longjmp and longjmp_target probes.
30746         * include/stap-probe.h: Add comment about probe argument
30747         format.
30749         * malloc/mtrace.c (attribute_hidden): Remove unused macro
30750         definition.  (tr_where, tr_freehook, tr_mallochook,
30751         tr_reallochook, tr_memalignhook): Use ANSI protoype.
30753 2014-02-11  David S. Miller  <davem@davemloft.net>
30755         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
30756         processing int_tests.
30758 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
30760         * sysdeps/mips: Move directory from ports/sysdeps/mips.
30761         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
30762         * sysdeps/unix/sysv/linux/mips: Move directory from
30763         ports/sysdeps/unix/sysv/linux/mips.
30764         * README: Update listing for mips-*-linux-gnu and
30765         mips64-*-linux-gnu.
30767 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
30769         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
30770         * sysdeps/unix/sysv/linux/m68k: Move directory from
30771         ports/sysdeps/unix/sysv/linux/m68k.
30772         * README: Update listing for m68k-*-linux-gnu.
30774 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
30776         * sysdeps/tile: Move directory from ports/sysdeps/tile.
30777         * sysdeps/unix/sysv/linux/generic: Move directory from
30778         ports/sysdeps/unix/sysv/linux/generic.
30779         * sysdeps/unix/sysv/linux/tile: Move directory from
30780         ports/sysdeps/unix/sysv/linux/tile.
30781         * README: Update listing for tile*-*-linux-gnu.
30783 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
30785         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
30786         __builtin_expect.
30787         * benchtests/bench-memmem.c (simple_memmem): Likewise.
30788         * catgets/open_catalog.c (__open_catalog): Likewise.
30789         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
30790         * debug/confstr_chk.c: Likewise.
30791         * debug/fread_chk.c (__fread_chk): Likewise.
30792         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
30793         * debug/getgroups_chk.c: Likewise.
30794         * debug/mbsnrtowcs_chk.c: Likewise.
30795         * debug/mbsrtowcs_chk.c: Likewise.
30796         * debug/mbstowcs_chk.c: Likewise.
30797         * debug/memcpy_chk.c: Likewise.
30798         * debug/memmove_chk.c: Likewise.
30799         * debug/mempcpy_chk.c: Likewise.
30800         * debug/memset_chk.c: Likewise.
30801         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30802         * debug/strcat_chk.c (__strcat_chk): Likewise.
30803         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
30804         * debug/strncat_chk.c (__strncat_chk): Likewise.
30805         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
30806         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
30807         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
30808         * debug/wcpncpy_chk.c: Likewise.
30809         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30810         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
30811         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
30812         * debug/wcsncpy_chk.c: Likewise.
30813         * debug/wcsnrtombs_chk.c: Likewise.
30814         * debug/wcsrtombs_chk.c: Likewise.
30815         * debug/wcstombs_chk.c: Likewise.
30816         * debug/wmemcpy_chk.c: Likewise.
30817         * debug/wmemmove_chk.c: Likewise.
30818         * debug/wmempcpy_chk.c: Likewise.
30819         * debug/wmemset_chk.c: Likewise.
30820         * dirent/scandirat.c (SCANDIRAT): Likewise.
30821         * dlfcn/dladdr1.c (dladdr1): Likewise.
30822         * dlfcn/dladdr.c (dladdr): Likewise.
30823         * dlfcn/dlclose.c (dlclose_doit): Likewise.
30824         * dlfcn/dlerror.c (__dlerror): Likewise.
30825         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
30826         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
30827         * dlfcn/dlopen.c (dlopen_doit): Likewise.
30828         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
30829         * dlfcn/dlsym.c (dlsym_doit): Likewise.
30830         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
30831         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
30832         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
30833         Likewise.
30834         * elf/dl-conflict.c: Likewise.
30835         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
30836         * elf/dl-dst.h: Likewise.
30837         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
30838         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
30839         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
30840         * elf/dl-init.c (call_init, _dl_init): Likewise.
30841         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
30842         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
30843         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
30844         Likewise.
30845         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
30846         Likewise.
30847         * elf/dl-minimal.c (__libc_memalign): Likewise.
30848         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
30849         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30850         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
30851         * elf/dl-sym.c (do_sym): Likewise.
30852         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
30853         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
30854         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
30855         * elf/dl-writev.h (_dl_writev): Likewise.
30856         * elf/ldconfig.c (search_dir): Likewise.
30857         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
30858         (dl_main): Likewise.
30859         * elf/setup-vdso.h (setup_vdso): Likewise.
30860         * grp/compat-initgroups.c (compat_call): Likewise.
30861         * grp/fgetgrent.c (fgetgrent): Likewise.
30862         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
30863         * grp/putgrent.c (putgrent): Likewise.
30864         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30865         Likewise.
30866         * hurd/hurdinit.c: Likewise.
30867         * iconvdata/8bit-gap.c (struct): Likewise.
30868         * iconvdata/ansi_x3.110.c : Likewise.
30869         * iconvdata/big5.c : Likewise.
30870         * iconvdata/big5hkscs.c : Likewise.
30871         * iconvdata/cp1255.c: Likewise.
30872         * iconvdata/cp1258.c : Likewise.
30873         * iconvdata/cp932.c : Likewise.
30874         * iconvdata/euc-cn.c: Likewise.
30875         * iconvdata/euc-jisx0213.c : Likewise.
30876         * iconvdata/euc-jp.c: Likewise.
30877         * iconvdata/euc-jp-ms.c : Likewise.
30878         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
30879         * iconvdata/gb18030.c : Likewise.
30880         * iconvdata/gbbig5.c (const): Likewise.
30881         * iconvdata/gbgbk.c: Likewise.
30882         * iconvdata/gbk.c : Likewise.
30883         * iconvdata/ibm1364.c : Likewise.
30884         * iconvdata/ibm930.c : Likewise.
30885         * iconvdata/ibm932.c: Likewise.
30886         * iconvdata/ibm933.c : Likewise.
30887         * iconvdata/ibm935.c : Likewise.
30888         * iconvdata/ibm937.c : Likewise.
30889         * iconvdata/ibm939.c : Likewise.
30890         * iconvdata/ibm943.c: Likewise.
30891         * iconvdata/iso_11548-1.c: Likewise.
30892         * iconvdata/iso-2022-cn.c : Likewise.
30893         * iconvdata/iso-2022-cn-ext.c : Likewise.
30894         * iconvdata/iso-2022-jp-3.c: Likewise.
30895         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
30896         * iconvdata/iso-2022-kr.c : Likewise.
30897         * iconvdata/iso646.c (gconv_end): Likewise.
30898         * iconvdata/iso_6937-2.c : Likewise.
30899         * iconvdata/iso_6937.c : Likewise.
30900         * iconvdata/iso8859-1.c: Likewise.
30901         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
30902         * iconvdata/shift_jisx0213.c : Likewise.
30903         * iconvdata/sjis.c : Likewise.
30904         * iconvdata/t.61.c : Likewise.
30905         * iconvdata/tcvn5712-1.c : Likewise.
30906         * iconvdata/tscii.c: Likewise.
30907         * iconvdata/uhc.c : Likewise.
30908         * iconvdata/unicode.c (gconv_end): Likewise.
30909         * iconvdata/utf-16.c (gconv_end): Likewise.
30910         * iconvdata/utf-32.c (gconv_end): Likewise.
30911         * iconvdata/utf-7.c (base64): Likewise.
30912         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
30913         * iconv/gconv_close.c (__gconv_close): Likewise.
30914         * iconv/gconv_open.c (__gconv_open): Likewise.
30915         * iconv/gconv_simple.c (internal_ucs4_loop_single)
30916         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
30917         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
30918         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
30919         (ucs4le_internal_loop_single): Likewise.
30920         * iconv/iconv.c (iconv): Likewise.
30921         * iconv/iconv_close.c: Likewise.
30922         * iconv/loop.c (SINGLE): Likewise.
30923         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
30924         * include/atomic.h: Likewise.
30925         * inet/inet6_option.c (option_alloc): Likewise.
30926         * intl/bindtextdom.c (set_binding_values): Likewise.
30927         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
30928         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
30929         * intl/localealias.c (read_alias_file): Likewise.
30930         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30931         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
30932         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
30933         * libio/fmemopen.c (fmemopen): Likewise.
30934         * libio/iofgets.c (_IO_fgets): Likewise.
30935         * libio/iofgets_u.c (fgets_unlocked): Likewise.
30936         * libio/iofgetws.c (fgetws): Likewise.
30937         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
30938         * libio/iogetdelim.c (_IO_getdelim): Likewise.
30939         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
30940         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
30941         * locale/findlocale.c (_nl_find_locale): Likewise.
30942         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
30943         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
30944         Likewise.
30945         * locale/setlocale.c (setlocale): Likewise.
30946         * login/programs/pt_chown.c (main): Likewise.
30947         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
30948         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
30949         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
30950         (mmap, mmap64, mremap, munmap): Likewise.
30951         * math/e_exp2l.c: Likewise.
30952         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
30953         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
30954         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
30955         * math/s_catan.c (__catan): Likewise.
30956         * math/s_catanf.c (__catanf): Likewise.
30957         * math/s_catanh.c (__catanh): Likewise.
30958         * math/s_catanhf.c (__catanhf): Likewise.
30959         * math/s_catanhl.c (__catanhl): Likewise.
30960         * math/s_catanl.c (__catanl): Likewise.
30961         * math/s_ccosh.c (__ccosh): Likewise.
30962         * math/s_ccoshf.c (__ccoshf): Likewise.
30963         * math/s_ccoshl.c (__ccoshl): Likewise.
30964         * math/s_cexp.c (__cexp): Likewise.
30965         * math/s_cexpf.c (__cexpf): Likewise.
30966         * math/s_cexpl.c (__cexpl): Likewise.
30967         * math/s_clog10.c (__clog10): Likewise.
30968         * math/s_clog10f.c (__clog10f): Likewise.
30969         * math/s_clog10l.c (__clog10l): Likewise.
30970         * math/s_clog.c (__clog): Likewise.
30971         * math/s_clogf.c (__clogf): Likewise.
30972         * math/s_clogl.c (__clogl): Likewise.
30973         * math/s_csin.c (__csin): Likewise.
30974         * math/s_csinf.c (__csinf): Likewise.
30975         * math/s_csinh.c (__csinh): Likewise.
30976         * math/s_csinhf.c (__csinhf): Likewise.
30977         * math/s_csinhl.c (__csinhl): Likewise.
30978         * math/s_csinl.c (__csinl): Likewise.
30979         * math/s_csqrt.c (__csqrt): Likewise.
30980         * math/s_csqrtf.c (__csqrtf): Likewise.
30981         * math/s_csqrtl.c (__csqrtl): Likewise.
30982         * math/s_ctan.c (__ctan): Likewise.
30983         * math/s_ctanf.c (__ctanf): Likewise.
30984         * math/s_ctanh.c (__ctanh): Likewise.
30985         * math/s_ctanhf.c (__ctanhf): Likewise.
30986         * math/s_ctanhl.c (__ctanhl): Likewise.
30987         * math/s_ctanl.c (__ctanl): Likewise.
30988         * math/w_pow.c: Likewise.
30989         * math/w_powf.c: Likewise.
30990         * math/w_powl.c: Likewise.
30991         * math/w_scalb.c (sysv_scalb): Likewise.
30992         * math/w_scalbf.c (sysv_scalbf): Likewise.
30993         * math/w_scalbl.c (sysv_scalbl): Likewise.
30994         * misc/error.c (error_tail): Likewise.
30995         * misc/pselect.c (__pselect): Likewise.
30996         * nis/nis_callback.c (__nis_create_callback): Likewise.
30997         * nis/nis_call.c (__nisfind_server): Likewise.
30998         * nis/nis_creategroup.c (nis_creategroup): Likewise.
30999         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
31000         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
31001         * nis/nis_getservlist.c (nis_getservlist): Likewise.
31002         * nis/nis_lookup.c (nis_lookup): Likewise.
31003         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
31004         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
31005         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
31006         * nis/nis_xdr.c (xdr_endpoint): Likewise.
31007         * nis/nss_compat/compat-grp.c (getgrent_next_file)
31008         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
31009         * nis/nss_compat/compat-initgroups.c (add_group)
31010         (internal_getgrent_r): Likewise.
31011         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
31012         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
31013         * nis/nss_compat/compat-spwd.c (getspent_next_file)
31014         (internal_getspnam_r): Likewise.
31015         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
31016         (_nss_nis_getaliasbyname_r): Likewise.
31017         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
31018         (_nss_nis_getntohost_r): Likewise.
31019         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
31020         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
31021         (_nss_nis_getgrgid_r): Likewise.
31022         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
31023         (internal_nis_gethostent_r, internal_gethostbyname2_r)
31024         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
31025         (_nss_nis_gethostbyname4_r): Likewise.
31026         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
31027         (initgroups_netid): Likewise.
31028         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
31029         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
31030         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
31031         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
31032         (_nss_nis_getprotobynumber_r): Likewise.
31033         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
31034         (_nss_nis_getsecretkey): Likewise.
31035         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
31036         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
31037         (_nss_nis_getpwuid_r): Likewise.
31038         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
31039         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
31040         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
31041         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
31042         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
31043         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
31044         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
31045         Likewise.
31046         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
31047         (_nss_nisplus_getntohost_r): Likewise.
31048         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
31049         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
31050         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
31051         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
31052         Likewise.
31053         * nis/nss_nisplus/nisplus-initgroups.c
31054         (_nss_nisplus_initgroups_dyn): Likewise.
31055         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
31056         (_nss_nisplus_getnetbyaddr_r): Likewise.
31057         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
31058         (_nss_nisplus_getprotobynumber_r): Likewise.
31059         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
31060         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
31061         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
31062         Likewise.
31063         * nis/nss_nisplus/nisplus-service.c
31064         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
31065         (_nss_nisplus_getservbyport_r): Likewise.
31066         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
31067         (_nss_nisplus_getspnam_r): Likewise.
31068         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
31069         Likewise.
31070         * nscd/aicache.c (addhstaiX): Likewise.
31071         * nscd/cache.c (cache_search, prune_cache): Likewise.
31072         * nscd/connections.c (register_traced_file, send_ro_fd)
31073         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
31074         (main_loop_epoll): Likewise.
31075         * nscd/grpcache.c (addgrbyX): Likewise.
31076         * nscd/hstcache.c (addhstbyX): Likewise.
31077         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31078         * nscd/mem.c (gc, mempool_alloc): Likewise.
31079         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
31080         (addinnetgrX): Likewise.
31081         * nscd/nscd-client.h (__nscd_acquire_maplock)
31082         (__nscd_drop_map_ref): Likewise.
31083         * nscd/nscd_getai.c (__nscd_getai): Likewise.
31084         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31085         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
31086         Likewise.
31087         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31088         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31089         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
31090         (__nscd_get_map_ref): Likewise.
31091         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
31092         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
31093         Likewise.
31094         * nscd/pwdcache.c (addpwbyX): Likewise.
31095         * nscd/selinux.c (preserve_capabilities): Likewise.
31096         * nscd/servicescache.c (addservbyX): Likewise.
31097         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
31098         * posix/fnmatch.c (fnmatch): Likewise.
31099         * posix/getopt.c (_getopt_internal_r): Likewise.
31100         * posix/glob.c (glob, glob_in_dir): Likewise.
31101         * posix/wordexp.c (exec_comm_child): Likewise.
31102         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
31103         (getanswer_r, gaih_getanswer_slice): Likewise.
31104         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
31105         * resolv/res_init.c: Likewise.
31106         * resolv/res_mkquery.c (res_nmkquery): Likewise.
31107         * resolv/res_query.c (__libc_res_nquery): Likewise.
31108         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
31109         Likewise.
31110         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
31111         * stdio-common/perror.c (perror): Likewise.
31112         * stdio-common/printf_fp.c (___printf_fp): Likewise.
31113         * stdio-common/tmpnam.c (tmpnam): Likewise.
31114         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31115         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
31116         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
31117         Likewise.
31118         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
31119         * stdlib/putenv.c (putenv): Likewise.
31120         * stdlib/setenv.c (__add_to_environ): Likewise.
31121         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31122         * stdlib/strtol_l.c (INTERNAL): Likewise.
31123         * string/memmem.c (memmem): Likewise.
31124         * string/strerror.c (strerror): Likewise.
31125         * string/strnlen.c (__strnlen): Likewise.
31126         * string/test-memmem.c (simple_memmem): Likewise.
31127         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
31128         * sunrpc/pm_getport.c (__get_socket): Likewise.
31129         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
31130         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
31131         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
31132         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
31133         Likewise.
31134         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
31135         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31136         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
31137         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
31138         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
31139         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
31140         Likewise.
31141         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
31142         Likewise.
31143         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
31144         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
31145         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31146         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31147         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
31148         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
31149         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31150         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
31151         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
31152         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
31153         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31154         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
31155         Likewise.
31156         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
31157         Likewise.
31158         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
31159         Likewise.
31160         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
31161         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31162         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
31163         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
31164         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
31165         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
31166         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31167         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
31168         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
31169         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
31170         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
31171         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31172         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31173         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
31174         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31175         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31176         Likewise.
31177         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
31178         Likewise.
31179         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
31180         Likewise.
31181         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
31182         Likewise.
31183         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31184         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31185         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
31186         Likewise.
31187         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
31188         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
31189         * sysdeps/posix/opendir.c (__opendirat): Likewise.
31190         * sysdeps/posix/sleep.c: Likewise.
31191         * sysdeps/posix/tempname.c: Likewise.
31192         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
31193         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31194         Likewise.
31195         * sysdeps/powerpc/powerpc32/dl-machine.h
31196         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
31197         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31198         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31199         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
31200         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
31201         Likewise.
31202         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
31203         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
31204         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31205         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
31206         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
31207         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
31208         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
31209         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
31210         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31211         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
31212         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
31213         (elf_machine_lazy_rel): Likewise.
31214         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31215         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
31216         (elf_machine_lazy_rel): Likewise.
31217         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
31218         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
31219         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
31220         * sysdeps/unix/grantpt.c (grantpt): Likewise.
31221         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
31222         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
31223         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
31224         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31225         Likewise.
31226         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
31227         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
31228         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
31229         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
31230         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31231         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31232         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
31233         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
31234         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
31235         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31236         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31237         Likewise.
31238         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
31239         (__posix_fallocate64_l64): Likewise.
31240         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
31241         (posix_fallocate): Likewise.
31242         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
31243         Likewise.
31244         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31245         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
31246         (getifaddrs_internal): Likewise.
31247         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
31248         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
31249         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
31250         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31251         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31252         (__posix_fallocate64_l64): Likewise.
31253         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31254         Likewise.
31255         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
31256         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
31257         (__get_clockfreq): Likewise.
31258         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
31259         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
31260         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
31261         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31262         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31263         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
31264         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
31265         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
31266         Likewise.
31267         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
31268         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
31269         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
31270         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
31271         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31272         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
31273         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
31274         Likewise.
31275         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31276         (posix_fallocate): Likewise.
31277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31278         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
31279         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
31280         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
31281         (elf_machine_rela, elf_machine_rela_relative)
31282         (elf_machine_lazy_rel): Likewise.
31283         * time/asctime.c (asctime_internal): Likewise.
31284         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
31285         * time/tzset.c (__tzset_parse_tz): Likewise.
31286         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31287         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31288         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
31289         * wcsmbs/wcsmbsload.h: Likewise.
31291         [BZ #15894]
31292         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
31294         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
31295         (arena_get2): Remove THREAD_STATS conditionals.
31296         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
31297         (__malloc_stats, int): Likewise.
31299 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
31301         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
31302         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
31304         * manual/setjmp.texi: Fix typos/grammar errors.
31306         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
31307         Only return early when n is <= 0.  Delete unused return statement.
31309         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
31310         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
31311         * debug/tst-longjmp_chk3.c: New file.
31313         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
31314         (test_main): Replace code with set_fortify_handler call.
31315         * debug/test-strcpy_chk.c: Likewise.
31316         * debug/tst-chk1.c: Likewise.
31317         * debug/tst-longjmp_chk.c: Likewise.
31318         * test-skeleton.c: Include fcntl.h & paths.h
31319         (set_fortify_handler): Define.
31321         * debug/tst-longjmp_chk.c: Add header comment and include
31322         ../test-skeleton.c.
31323         (do_test): Mark static.
31324         (TEST_FUNCTION): Define.
31326         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
31327         (IP_PMTUDISC_INTERFACE): Likewise.
31328         (IP_MULTICAST_IF): Likewise.
31329         (IP_MULTICAST_TTL): Likewise.
31330         (IP_MULTICAST_LOOP): Likewise.
31331         (IP_ADD_MEMBERSHIP): Likewise.
31332         (IP_DROP_MEMBERSHIP): Likewise.
31333         (IP_UNBLOCK_SOURCE): Likewise.
31334         (IP_BLOCK_SOURCE): Likewise.
31335         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
31336         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
31337         (IP_MSFILTER): Likewise.
31338         (MCAST_JOIN_GROUP): Likewise.
31339         (MCAST_BLOCK_SOURCE): Likewise.
31340         (MCAST_UNBLOCK_SOURCE): Likewise.
31341         (MCAST_LEAVE_GROUP): Likewise.
31342         (MCAST_JOIN_SOURCE_GROUP): Likewise.
31343         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
31344         (MCAST_MSFILTER): Likewise.
31345         (IP_MULTICAST_ALL): Likewise.
31346         (IP_UNICAST_IF): Likewise.
31348         * timezone/Makefile: Delete $(have-ksh) check.
31349         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
31350         * timezone/tzselect.ksh: Add +x mode bits.
31352         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
31353         (ANON_INODE_FS_MAGIC): Likewise.
31354         (BDEVFS_MAGIC): Likewise.
31355         (BINFMTFS_MAGIC): Likewise.
31356         (BTRFS_TEST_MAGIC): Likewise.
31357         (CRAMFS_MAGIC_WEND): Likewise.
31358         (DEBUGFS_MAGIC): Likewise.
31359         (ECRYPTFS_SUPER_MAGIC): Likewise.
31360         (EXT3_SUPER_MAGIC): Likewise.
31361         (EXT4_SUPER_MAGIC): Likewise.
31362         (FUTEXFS_SUPER_MAGIC): Likewise.
31363         (HOSTFS_SUPER_MAGIC): Likewise.
31364         (HUGETLBFS_MAGIC): Likewise.
31365         (MINIX3_SUPER_MAGIC): Likewise.
31366         (MTD_INODE_FS_MAGIC): Likewise.
31367         (NILFS_SUPER_MAGIC): Likewise.
31368         (OPENPROM_SUPER_MAGIC): Likewise.
31369         (PIPEFS_MAGIC): Likewise.
31370         (PSTOREFS_MAGIC): Likewise.
31371         (QNX6_SUPER_MAGIC): Likewise.
31372         (RAMFS_MAGIC): Likewise.
31373         (REISERFS_SUPER_MAGIC_STRING): Likewise.
31374         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
31375         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
31376         (SECURITYFS_MAGIC): Likewise.
31377         (SELINUX_MAGIC): Likewise.
31378         (SMACK_MAGIC): Likewise.
31379         (SOCKFS_MAGIC): Likewise.
31380         (SQUASHFS_MAGIC): Likewise.
31381         (STACK_END_MAGIC): Likewise.
31382         (TMPFS_MAGIC): Likewise.
31383         (USBDEVICE_SUPER_MAGIC): Likewise.
31384         (V9FS_MAGIC): Likewise.
31385         (XENFS_SUPER_MAGIC): Likewise.
31386         (CRAMFS_MAGIC): Fix typo in comment.
31387         (EXT2_SUPER_MAGIC): Update comment.
31388         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
31390 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
31392         * sysdeps/arm: Move directory from ports/sysdeps/arm.
31393         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
31394         * sysdeps/unix/sysv/linux/arm: Move directory from
31395         ports/sysdeps/unix/sysv/linux/arm.
31396         * README: Update listing for arm-*-linux-gnueabi.
31398         * README: Remove mention of am33.
31400 2014-02-07  Roland McGrath  <roland@hack.frob.com>
31402         * bits/sigset.h (__sigemptyset): Use a statement expression rather
31403         than the comma operator, to avoid "rhs of comma has no effect"
31404         compiler warnings.
31405         (__sigfillset, __sigandset, __sigorset): Likewise.
31406         * include/signal.h (__sigemptyset): Likewise.
31407         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
31409 2014-02-07  Allan McRae  <allan@archlinux.org>
31411         * version.h (RELEASE): Set to "development".
31412         (VERSION): Set to "2.19.90"
31413         * NEWS: Add 2.20 section.
31415 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
31417         [BZ #16529]
31418         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
31420 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31422         * manual/contrib.texi: Update entry for Carlos O'Donell,
31423         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
31425 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
31427         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
31429         * sysdeps/unix/sysv/linux/kernel-features.h
31430         [__LINUX_KERNEL_VERSION >= 0x020621]
31431         (__ASSUME_PROC_PID_TASK_COMM): Define.
31433 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31435         [BZ #16398]
31436         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
31437         conversion when destination buffer does not have enough space.
31438         * libio/tst-ftell-partial-wide.c: New test case.
31439         * libio/Makefile (tests): Add tst-ftell-partial-wide.
31441         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
31442         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
31443         Leonard and Allan McRae.
31445 2014-02-04  David S. Miller  <davem@davemloft.net>
31447         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
31448         32-bit.
31450 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31453         New file
31454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31455         New file
31456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31457         New file.
31458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31459         New file.
31460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31461         New file.
31462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31463         New file.
31464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31465         New file.
31466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31467         New file.
31468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31469         New file.
31470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31471         New file.
31472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31473         New file.
31474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31475         New file.
31476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31477         New file.
31479 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31481         * nptl/shlib-versions: Change powerpc*le start to 2.17.
31482         * shlib-versions: Likewise.
31484 2014-02-04  Roland McGrath  <roland@hack.frob.com>
31485             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31487         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
31488         (abilist-pattern): New variable, set to %-le.abilist.
31490         * Makerules (abilist-pattern): New variable.
31491         (vpath): Use $(abilist-pattern) in place of %.abilist.
31492         (check-abi-% pattern rule): Likewise.
31493         (check-abi, update-abi): Likewise.
31495 2014-02-04  Eric Wong  <normalperson@yhbt.net>
31497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31499 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
31501         * manual/startup.texi: Add next, previous, and top entries for
31502         the `Program Arguments' and `Environment Variables' nodes.
31504 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
31506         * manual/macros.texi: Add comments before MTASC-safety macros.
31508         * manual/users.texi: Document MTASC-safety properties.
31510         * manual/threads.texi (pthread_key_create, pthread_key_delete)
31511         (pthread_getspecific, pthread_setspecific): Format with
31512         @deftypefun, and add @safety note.
31513         * manual/signal.texi: Move comments that analyze the above
31514         functions to their home place.
31516 2014-02-03  Allan McRae  <allan@archlinux.org>
31518         * po/sl.po: Update Slovenian translation from translation project.
31520 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
31522         * manual/time.texi (timegm): Add missing blank after @c.
31523         Reported by Joseph Myers <joseph@codesourcery.com>.
31525 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
31527         * manual/check-safety.sh: New.
31528         * manual/Makefile ($(objpfx)stamp-summary): Run it.
31530         * manual/terminal.texi: Document MTASC-safety properties.
31532         * manual/filesys.texi: Document MTASC-safety properties.
31534         * manual/errno.texi: Document MTASC-safety properties.
31536         * manual/intro.texi: Document safety identifiers and
31537         conditionals.
31539         * manual/string.texi (wcstok): Fix prototype.
31540         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
31542         * manual/time.texi: Document MTASC-safety properties.
31544         * manual/string.texi: Document MTASC-safety properties.
31546         * manual/threads.texi: Document MTASC-safety properties.
31548         * manual/stdio.texi: Document MTASC-safety properties.
31550         * manual/syslog.texi: Document MTASC-safety properties.
31552         * manual/sysinfo.texi: Document MTASC-safety properties.
31554         * manual/startup.texi: Document MTASC-safety properties.
31556         * manual/socket.texi: Document MTASC-safety properties.
31558         * manual/signal.texi: Document MTASC-safety properties.
31560 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
31562         * manual/setjmp.texi: Document MTASC-safety properties.
31564         * manual/search.texi: Document MTASC-safety properties.
31566         * manual/resource.texi: Document MTASC-safety properties.
31568         * manual/process.texi: Document MTASC-safety properties.
31570         * manual/platform.texi: Document MTASC-safety properties.
31572         * manual/pipe.texi: Document MTASC-safety properties.
31574         * manual/pattern.texi: Document MTASC-safety properties.
31576         * manual/message.texi: Document MTASC-safety properties.
31578         [BZ #12751]
31579         * manual/memory.texi: Document MTASC-safety properties.
31581         * manual/math.texi: Document MTASC-safety properties.
31583         * manual/locale.texi: Document MTASC-safety properties.
31585         * manual/llio.texi: Document MTASC-safety properties.
31587         * manual/libdl.texi: New.
31589         * manual/lang.texi: Document MTASC-safety properties.
31591         * manual/job.texi: Document MTASC-safety properties.
31593         * manual/getopt.texi: Document MTASC-safety properties.
31595         * manual/ctype.texi: Document MTASC-safety properties.
31597 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
31599         [BZ #16046]
31600         * csu/libc-tls.c (static_map): Remove variable.
31601         (__libc_setup_tls): Use main executable's link map for TLS data.
31602         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
31603         casing for LM_ID_BASE and GL(dl_nns).
31604         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
31605         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
31606         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
31607         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
31608         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
31609         member.
31610         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
31611         l_phnum members.
31613 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
31615         * manual/debug.texi: Document MTASC-safety properties.
31617 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
31619         [BZ #16510]
31620         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
31621         of __x86_64__ when disabling x87 inline functions.
31623 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
31625         * manual/charset.texi: Document MTASC-safety properties.
31627         * manual/crypt.texi: Document MTASC-safety properties.
31629         * manual/conf.texi: Document MTASC-safety properties.
31631         * manual/arith.texi: Document MTASC-safety properties.
31633         * manual/argp.texi: Document MTASC-safety properties.
31635         * manual/macros.texi: Introduce macros to document multi
31636         thread, asynchronous signal and asynchronous cancellation
31637         safety properties.
31638         * manual/intro.texi: Introduce the properties themselves.
31640 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31642         * sysdeps/sh/sh4/Makefile: New file.
31644 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
31646         * math/gen-libm-test.pl ($srcdir): New variable.
31647         ($auto_input): Use it.
31649 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31651         [BZ #16506]
31652         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
31653         access beyond array bounds when parsing netgroups file.
31655         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
31656         the old buffer before realloc.
31658 2014-01-27  Allan McRae  <allan@archlinux.org>
31660         * po/fr.po: Update French translation from translation project.
31662 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31664         * sysdeps/sh/libm-test-ulps: Regenerate.
31666 2014-01-24  David S. Miller  <davem@davemloft.net>
31668         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
31670 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31672         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
31673         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
31675 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31677         [BZ #16474]
31678         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
31679         string pointers after reallocation.
31681 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31683         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
31684         __SH4A__ instead of __SH_FPU_ANY__.
31686 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31688         * sysdeps/sh/fpu_control.h: New file.
31689         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
31690         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
31691         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
31692         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
31693         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
31694         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
31695         * sysdeps/sh/sys/ucontext.h: Remove.
31696         * sysdeps/sh/sys: Remove directory.
31698 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31700         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
31701         s390/sys/ucontext.h.
31702         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
31703         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
31705 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
31707         [BZ #15605]
31708         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
31710 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31712         [BZ#16431]
31713         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31714         Adjust the vDSO correctly for internal calls.
31715         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
31717 2014-01-20  Allan McRae  <allan@archlinux.org>
31719         * po/ca.po: Update Catalan translation from translation project.
31721 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
31723         * sysdeps/s390/sotruss-lib.c: New file.
31725 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31727         [BZ#16430]
31728         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
31729         (__GI___gettimeofday): Alias for a different internal symbol to avoid
31730         local calls issues by not having a PLT stub required for IFUNC calls.
31731         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
31733 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
31735         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
31736         * math/test-fpucw-static.c: Likewise.
31738 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31740         [BZ #16453]
31741         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
31743 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31745         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
31746         implementation for powerpc.
31748 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
31750         [BZ #14782]
31751         * sysdeps/posix/system.c (__libc_system): Do not enable
31752         asynchronous cancellation.
31754 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31756         [BZ #16427]
31757         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
31758         handling only for numbers special also in the IEEE case.
31760 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31762         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31764 2014-01-11  Allan McRae  <allan@archlinux.org>
31766         * po/bg.po: Update Bulgarian translation from translation project.
31768         * po/de.po: Update German translation from translation project.
31770 2014-01-10  Roland McGrath  <roland@hack.frob.com>
31772         * sysdeps/generic/gcc-compat.h: New file.
31774 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31776         * benchtests/asin-inputs: Correct slow inputs.
31777         * benchtests/acos-inputs: Likewise.
31779 2014-01-10  Allan McRae  <allan@archlinux.org>
31781         * po:sv.po: Update Swedish translation from translation project.
31783         * po/vi.po: Update Vietnamese translation from translation project.
31785         * po/eo.po: Update Esperanto translation from translation project.
31787         * po/cs.po: Update Czech translation from translation project.
31789         * po/nl.po: Update Dutch translation from translation project.
31791         * po/pl.po: Update Polish translation from translation project.
31793         * po/ru.po: Update Russian translation from translation project.
31795         * po/uk.po: Update Ukrainian translation from translation project.
31797 2014-01-08  Brooks Moses  <bmoses@google.com>
31799         * elf/dl-load.c: Fix comment typo.
31801 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
31803         * po/header.pot: Rename to...
31804         * po/pot.header: ... this.
31805         * po/Makefile: Use pot.header.
31807 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
31808             Maxim Kuvyrkov  <maxim@kugelworks.com>
31810         [BZ #16394]
31811         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
31812         SRC and DEST against LEN.
31814 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31816         [BZ #16414]
31817         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
31818         implementation.
31819         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
31821 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31825 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
31827         [BZ #16408]
31828         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
31829         for large positive arguments.
31831 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
31833         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31835         * math/auto-libm-test-in: Mark various tests with
31836         xfail-rounding:ldbl-128ibm.
31837         * math/auto-libm-test-out: Regenerated.
31839         [BZ #16407]
31840         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31841         Increase overflow threshold.
31843 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
31845         [BZ #14286]
31846         * stdio-common/vfprintf.c: Check for integer overflow.
31848 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31850         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
31851         the first argument and return value of __tls_get_addr_internal.
31853 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31855         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
31856         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
31858 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31860         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
31861         * sysdeps/s390/rtld-global-offsets.sym: New file.
31862         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
31863         GLIBC_2.19 symbol.
31864         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
31865         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
31866         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31867         ... this.
31868         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
31869         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31870         ... this.
31871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31872         Regenerate.
31873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31874         Regenerate.
31875         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
31876         halfs of GPRs for high_gprs contexts.
31877         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
31878         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
31879         field.
31880         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
31881         uc_flags field.
31882         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
31883         64 bit versions:
31884         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
31885         for high GPRs (uc_high_gprs) and for future extensions
31886         (__reserved).
31887         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
31888         for future extensions (__reserved).
31889         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
31890         64 bit versions:
31891         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
31892         SC_HIGHGPRS offset definition.
31893         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
31894         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
31896         * Versions.def: Add GLIBC_2.19 for libpthread.
31897         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
31898         siglongjmp for libpthread with GLIBC_2.19 symver.
31899         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
31900         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
31901         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
31902         * sysdeps/s390/__longjmp.c: New file.
31903         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
31904         * sysdeps/s390/longjmp.c: New file.
31905         * sysdeps/s390/setjmp.S: New file.
31906         * sysdeps/s390/sigjmp.S: New file.
31907         * sysdeps/s390/v1-longjmp.c: New file.
31908         * sysdeps/s390/v1-setjmp.h: New file.
31909         * sysdeps/s390/v1-sigjmp.c: New file.
31910         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
31911         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
31912         GLIBC_2.19 version.
31913         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
31914         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
31915         versioned symbols for ____longjmp_chk.
31916         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31917         Likewise.
31918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31919         Regenerate.
31920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31921         Regenerate.
31922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31923         Regenerate.
31924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31925         Regenerate.
31926         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
31927         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
31928         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
31929         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
31930         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
31931         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
31932         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
31933         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
31934         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
31935         * sysdeps/s390/rtld-__longjmp.c: New file.
31936         * sysdeps/s390/rtld-setjmp.S: New file.
31938 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
31940         [BZ #16400]
31941         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31942         Return -__logl (x) for small positive arguments without evaluating
31943         a polynomial.
31945 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
31947         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
31948         Rename to ...
31949         (__ptrace_peeksiginfo_args): ... this.
31950         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31951         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31952         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31954 2014-01-06  Allan McRae  <allan@archlinux.org>
31956         * inet/netinet/in.h: Fix typo in comment.
31958 2014-01-05  Andreas Jaeger  <aj@suse.de>
31960         * sysdeps/i386/fpu/libm-test-ulps: Update.
31962 2014-01-05  Allan McRae  <allan@archlinux.org>
31964         * po/libc.pot: Regenerated.
31966         * malloc/memusagestat.c: Fix gettext call formatting.
31968 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
31970         * nscd/nscd.c: Improve usage() output.
31972 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
31974         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
31975         * sysdeps/unix/sysv/linux/configure: Regenerated.
31976         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
31977         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
31979 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31981         [BZ #16390]
31982         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31983         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
31985 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31987         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
31988         extra tokens at end of #undef directive.
31989         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
31990         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
31991         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
31993 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
31995         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31997         * math/auto-libm-test-in: Mark various tests with
31998         xfail-rounding:ldbl-128ibm.
31999         * math/auto-libm-test-out: Regenerated.
32001 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
32003         [BZ #16386]
32004         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
32005         numbers with subnormal high part when calculating exponent.
32007         [BZ #16385]
32008         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
32009         fabs.
32011         [BZ #16384]
32012         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
32013         M_LN2l.
32014         (__ieee754_acoshl): Use __log1pl not __log1p.
32016 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
32018         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
32019         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
32020         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
32021         (grow_heap, heap_trim, _int_new_arena, get_free_list)
32022         (reused_arena, arena_get2): Convert to GNU style.
32023         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
32024         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
32025         (memalign_check, __malloc_set_state): Likewise.
32026         * malloc/mallocbug.c (main): Likewise.
32027         * malloc/malloc.c (__malloc_assert, malloc_init_state)
32028         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
32029         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
32030         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
32031         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
32032         (__posix_memalign, malloc_info): Likewise.
32033         * malloc/malloc.h: Likewise.
32034         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
32035         (mallochook, memalignhook, reallochook, mabort): Likewise.
32036         * malloc/mcheck.h: Likewise.
32037         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
32038         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
32039         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
32040         * malloc/morecore.c (__default_morecore): Likewise.
32041         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
32042         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
32043         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
32044         (print_and_abort): Likewise.
32045         * malloc/obstack.h: Likewise.
32046         * malloc/set-freeres.c (__libc_freeres): Likewise.
32047         * malloc/tst-mallocstate.c (main): Likewise.
32048         * malloc/tst-mtrace.c (main): Likewise.
32049         * malloc/tst-realloc.c (do_test): Likewise.
32051 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32053         [BZ #16366]
32054         * nscd/netgroupcache.c (do_notfound): New function.
32055         (addgetnetgrentX): Use it.
32057         [BZ # 16365]
32058         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
32059         NSS_STATUS_NOTFOUND.
32061 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
32063         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32066 2014-01-01  Allan McRae  <allan@archlinux.org>
32068         * scripts/update-copyrights: Update configure input file suffix.
32070         * NEWS: Update copyright year.
32071         * catgets/gencat.c: Likewise.
32072         * csu/version.c: Likewise.
32073         * debug/catchsegv.sh: Likewise.
32074         * debug/pcprofiledump.c: Likewise.
32075         * debug/xtrace.sh: Likewise.
32076         * elf/ldconfig.c: Likewise.
32077         * elf/ldd.bash.in: Likewise.
32078         * elf/pldd.c: Likewise.
32079         * elf/sotruss.ksh: Likewise.
32080         * elf/sprof.c: Likewise.
32081         * iconv/iconv_prog.c: Likewise.
32082         * iconv/iconvconfig.c: Likewise.
32083         * locale/programs/locale.c: Likewise.
32084         * locale/programs/localedef.c: Likewise.
32085         * login/programs/pt_chown.c: Likewise.
32086         * malloc/memusage.sh: Likewise.
32087         * malloc/memusagestat.c: Likewise.
32088         * malloc/mtrace.pl: Likewise.
32089         * manual/libc.texinfo: Likewise.
32090         * nscd/nscd.c: Likewise.
32091         * nss/getent.c: Likewise.
32092         * nss/makedb.c: Likewise.
32093         * posix/getconf.c: Likewise.
32094         * scripts/test-installation.pl: Likewise.
32096         * All files with FSF copyright notices: Update copyright dates
32097         using scripts/update-copyrights.
32098         * intl/plural.c: Regenerated.
32099         * locale/programs/charmap-kw.h: Likewise.
32100         * locale/programs/locfile-kw.h: Likewise.
32102 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
32104         * sysdeps/unix/sysv/linux/configure: Regenerated.
32105         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
32106         the linux/fanotify.h header.
32107         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
32108         HAVE_LINUX_FANOTIFY_H is defined.
32110 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
32112         * benchtests/cos-inputs: New inputs.
32113         * benchtests/sin-inputs: Likewise.
32115         * benchtests/atan-inputs: New inputs. Fix name of multiple
32116         precision fallback inputs.
32118         * benchtests/atanh-inputs: New inputs.
32119         * benchtests/tanh-inputs: Likewise.
32121         * benchtests/acosh-inputs: New inputs.
32122         * benchtests/asinh-inputs: Likewise.
32124         * benchtests/cosh-inputs: New inputs.
32125         * benchtests/sinh-inputs: Likewise.
32127         * benchtests/acos-inputs: Add more inputs.
32128         * benchtests/asin-inputs: Likewise.
32130 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
32132         [BZ #16375]
32133         * manual/arith.texi: Fix spelling.
32134         * manual/charset.texi: Likewise.
32135         * manual/errno.texi: Likewise.
32136         * manual/filesys.texi: Likewise.
32137         * manual/lang.texi: Likewise.
32138         * manual/llio.texi: Likewise.
32139         * manual/locale.texi: Likewise.
32140         * manual/message.texi: Likewise.
32141         * manual/resource.texi: Likewise.
32142         * manual/search.texi: Likewise.
32143         * manual/setjmp.texi: Likewise.
32144         * manual/stdio.texi: Likewise.
32145         * manual/string.texi: Likewise.
32146         * manual/sysinfo.texi: Likewise.
32147         * manual/time.texi: Likewise.
32149 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
32151         * po/sl.po: New file.
32153 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
32155         * .gitignore: Add core/.gdbinit/.gdb_history.
32157 2013-12-27  Allan McRae  <allan@archlinux.org>
32159         [BZ #16369]
32160         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
32161         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32163 2013-12-24  Brooks Moses  <bmoses@google.com>
32165         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
32166         all compilers that claim C++98 compliance, not just GCC.
32167         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32168         Likewise.
32170 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32172         * NEWS: Restore accidentally deleted bug-fix entries.
32174 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
32175             Ondřej Bílka  <neleai@seznam.cz>
32177         [BZ #15073]
32178         * malloc/malloc.c (_int_free): Perform sanity check only if we
32179         have_lock.
32181 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
32183         [BZ #12986]
32184         * manual/stdio.texi (String Input Conversions): Clarify that character
32185         classes are not supported.
32187 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32191 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
32193         [BZ #16337]
32194         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
32195         Calculate results for small negative arguments directly rather
32196         than using reflection formula with special underflow handling.
32198         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
32199         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
32200         sysdeps/unix/bsd/bsd4.4/syscalls.list.
32201         (fchflags): Likewise.
32202         (revoke): Likewise.
32203         (setlogin): Likewise.
32204         (sigaltstack): Likewise.
32205         (wait4): Likewise.
32206         (sigblock): Remove.
32207         (sigsetmask): Likewise.
32208         (wait3): Likewise.
32209         (waitpid): Likewise.
32210         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
32211         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
32212         file.
32213         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
32214         * sysdeps/unix/bsd/Makefile: ... here.
32215         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
32216         * sysdeps/unix/bsd/Versions: ... here.
32217         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
32218         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
32219         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
32220         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
32221         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
32222         * sysdeps/unix/bsd/sigblock.c: ... here.
32223         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
32224         * sysdeps/unix/bsd/sigsetmask.c: ... here.
32225         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
32226         * sysdeps/unix/bsd/sigvec.c: ... here.
32227         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
32228         * sysdeps/unix/bsd/tcdrain.c: ... here.
32229         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
32230         * sysdeps/unix/bsd/tcgetattr.c: ... here.
32231         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
32232         * sysdeps/unix/bsd/tcsetattr.c: ... here.
32233         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
32234         * sysdeps/unix/bsd/wait.c: ... here.
32235         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
32236         * sysdeps/unix/bsd/wait3.c: ... here.
32237         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
32238         * sysdeps/unix/bsd/waitpid.c: ... here.
32240 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
32242         [BZ #16356]
32243         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
32244         round-to-nearest for [!USE_AS_EXPM1L].
32245         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
32246         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
32247         more tests of exp and exp10.  Expect some exp10 tests to miss
32248         exceptions or fail in directed rounding modes.
32249         * math/auto-libm-test-out: Regenerated.
32250         * math/libm-test.inc (exp10_tonearest_test_data): New array.
32251         (exp10_test_tonearest): New function.
32252         (exp10_towardzero_test_data): New array.
32253         (exp10_test_towardzero): New function.
32254         (exp10_downward_test_data): New array.
32255         (exp10_test_downward): New function.
32256         (exp10_upward_test_data): New array.
32257         (exp10_test_upward): New function.
32258         (main): Call the new functions.
32259         * sysdeps/i386/fpu/libm-test-ulps: Update.
32260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32262 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
32264         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32265         asinh, atan, atan2, atanh, cbrt, cos and cosh.
32266         * math/auto-libm-test-out: Regenerated.
32267         * math/libm-test.inc (acosh_test_data): Add more tests.
32268         (atanh_test_data): Likewise.
32269         (ceil_test_data): Likewise.
32270         (copysign_test_data): Likewise.
32271         * sysdeps/i386/fpu/libm-test-ulps: Update.
32272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32274         * timezone/checktab.awk: Update from tzcode 2013i.
32275         * timezone/private.h: Likewise.
32276         * timezone/scheck.c: Likewise.
32277         * timezone/tzfile.h: Likewise.
32278         * timezone/tzselect.ksh: Likewise.
32279         * timezone/zdump.c: Likewise.
32280         * timezone/zic.c: Likewise.
32282         * math/auto-libm-test-in: Add tests of cpow.
32283         * math/auto-libm-test-out: Regenerated.
32284         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
32285         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32286         mpc_cc_c.
32287         (func_calc_desc): Add mpc_cc_c union field.
32288         (test_functions): Add cpow.
32289         (special_fill_2pi): New function.
32290         (special_real_inputs): Add 2pi.
32291         (calc_generic_results): Handle mpc_cc_c.
32292         * sysdeps/i386/fpu/libm-test-ulps: Update.
32293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32295         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
32296         csqrt, ctan and ctanh.
32297         * math/auto-libm-test-out: Regenerated.
32298         * math/libm-test.inc (TEST_COND_x86_64): New macro.
32299         (TEST_COND_x86): Likewise.
32300         (ccos_test_data): Use AUTO_TESTS_c_c.
32301         (ccosh_test_data): Likewise.
32302         (cexp_test_data): Likewise.
32303         (clog_test_data): Likewise.
32304         (csqrt_test_data): Likewise.
32305         (ctan_test_data): Likewise.
32306         (ctan_tonearest_test_data): Likewise.
32307         (ctan_towardzero_test_data): Likewise.
32308         (ctan_downward_test_data): Likewise.
32309         (ctan_upward_test_data): Likewise.
32310         (ctanh_test_data): Likewise.
32311         (ctanh_tonearest_test_data): Likewise.
32312         (ctanh_towardzero_test_data): Likewise.
32313         (ctanh_downward_test_data): Likewise.
32314         (ctanh_upward_test_data): Likewise.
32315         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32316         mpc_c_c.
32317         (func_calc_desc): Add mpc_c_c union field.
32318         (FUNC_mpc_c_c): New macro.
32319         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
32320         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
32321         ctanh.
32322         (special_fill_min_subnorm_p120): New function.
32323         (special_real_inputs): Add min_subnorm_p120.
32324         (calc_generic_results): Handle mpc_c_c.
32325         * sysdeps/i386/fpu/libm-test-ulps: Update.
32326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32328 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32330         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
32331         (do_sin_slow): New functions.
32332         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
32333         (cslow2, csloww1, csloww2): Use the new functions.
32335         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
32336         Use M to change sign of result instead of X.  Assume X is
32337         positive.
32338         (csloww1): Likewise.
32339         (__sin): Adjust.
32340         (__cos): Adjust.
32342         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
32343         arguments A and DA.
32344         (__sin): Adjust.
32345         (__cos): Likewise.
32347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
32348         (__cos): Likewise.
32349         (sloww1): Don't adjust sign of DX.
32350         (csloww1): Likewise.
32351         (sloww2): Use X directly and don't adjust sign of DX.
32352         (csloww2): Likewise.
32354 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32356         * math/auto-libm-test-in: Add tests of cabs and carg.
32357         * math/auto-libm-test-out: Regenerated.
32358         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
32359         (carg_test_data): Likewise.
32360         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32361         mpc_c_f.
32362         (func_calc_desc): Add mpc_c_f union field.
32363         (test_functions): Add cabs and carg.
32364         (calc_generic_results): Handle mpc_c_f.
32366         * sysdeps/powerpc/powerpc32/libgcc-compat.S
32367         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
32368         as a macro and a compat symbol.
32369         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32370         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32371         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32372         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32373         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
32374         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
32375         not use .hidden.
32376         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
32377         Likewise.
32378         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
32379         Likewise.
32380         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
32381         Likewise.
32382         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
32383         Likewise.
32384         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
32385         Likewise.
32386         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
32387         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
32388         from GLIBC_2.3.2.
32390 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32394 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32396         * manual/texinfo.tex: Update to version 2013-11-26.10 with
32397         trailing whitespace removed.
32398         * scripts/config.guess: Update to version 2013-11-29.
32399         * scripts/config.sub: Update to version 2013-10-01.
32401         * math/auto-libm-test-in: Add tests of sincos.
32402         * math/auto-libm-test-out: Regenerated.
32403         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
32404         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32405         mpfr_f_11.
32406         (func_calc_desc): Add mpfr_f_11 union field.
32407         (test_functions): Add sincos.
32408         (calc_generic_results): Handle mpfr_f_11.
32409         * sysdeps/i386/fpu/libm-test-ulps: Update.
32410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32412 2013-12-19  Andreas Schwab  <schwab@suse.de>
32414         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
32415         CALL_MCOUNT.
32416         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32417         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
32418         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
32420 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
32422         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
32423         * sysdeps/i386/fpu/libm-test-ulps: Update.
32424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32426         [BZ #16293]
32427         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
32428         round-to-nearest mode when using frndint.
32429         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
32430         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32431         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32432         Likewise.
32433         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
32434         sinh test to fail.
32435         * math/auto-libm-test-out: Regenerated.
32436         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
32437         (TEST_COND_x86): Likewise.
32438         (expm1_tonearest_test_data): New array.
32439         (expm1_test_tonearest): New function.
32440         (expm1_towardzero_test_data): New array.
32441         (expm1_test_towardzero): New function.
32442         (expm1_downward_test_data): New array.
32443         (expm1_test_downward): New function.
32444         (expm1_upward_test_data): New array.
32445         (expm1_test_upward): New function.
32446         (main): Run the new test functions.
32447         * sysdeps/i386/fpu/libm-test-ulps: Update.
32448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32450         * include/features.h: Update comment documenting feature test
32451         macros.  Mention _DEFAULT_SOURCE in comment.
32452         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
32453         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
32454         _BSD_SOURCE and _SVID_SOURCE.
32455         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
32456         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
32457         !_SVID_SOURCE]: Likewise.
32458         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32459         (__USE_POSIX_IMPLICITLY): Define.
32460         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32461         (_POSIX_SOURCE): Undefine and redefine.
32462         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
32463         (_POSIX_C_SOURCE): Likewise.
32464         * manual/creature.texi (_DEFAULT_SOURCE): Document.
32465         (Feature Test Macros): Update documentation of default features.
32467 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32469         * benchtests/Makefile: Add bench-strtok.
32470         * benchtests/bench-strtok.c: New file: strtok benchtest.
32472 2013-12-19  Allan McRae  <allan@archlinux.org>
32474         * manual/install.texi: Suppress menu for plain text output.
32475         * INSTALL: Regenerated.
32477 2013-12-18  Brooks Moses  <bmoses@google.com>
32479         [BZ #15846]
32480         * misc/getauxval.c: Include errno.h.
32481         (__getauxval): Set errno to ENOENT if the requested type is not
32482         found.
32483         * misc/sys/auxv.h (getauxval): Document that it may set errno;
32484         don't declare with __attribute_const__.
32485         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
32486         * manual/startup.texi: Document that getauxval sets errno.
32488 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32490         * math/auto-libm-test-in: Add tests of jn and yn.
32491         * math/auto-libm-test-out: Regenerated.
32492         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
32493         (yn_test_data): Likewise.
32494         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32495         mpfr_if_f.
32496         (func_calc_desc): Add mpfr_if_f union field.
32497         (FUNC_mpfr_if_f): New macro.
32498         (test_functions): Add jn and yn.
32499         (calc_generic_results): Assert type of second input for
32500         mpfr_ff_f.  Handle mpfr_if_f.
32501         (output_for_one_input_case): Disable all checking for arguments
32502         fitting floating-point types in case of an integer argument.
32503         * sysdeps/i386/fpu/libm-test-ulps: Update.
32504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32507         Don't expect fegetround reference in libm.so.
32509 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32511         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
32512         $(config-cflags-nofma).
32514 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
32516         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
32517         * math/auto-libm-test-out: Regenerated.
32519         [BZ #16338]
32520         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
32521         to determine exponent and adjust argument to have exponent of -1.
32522         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
32523         log2.
32524         * math/auto-libm-test-out: Regenerated.
32525         * sysdeps/i386/fpu/libm-test-ulps: Update.
32526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32528 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
32530         * manual/probes.texi: Remove cases when per-thread arenas are
32531         disabled.
32533 2013-12-18  Andreas Schwab  <schwab@suse.de>
32535         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
32536         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
32537         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
32538         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
32539         * sysdeps/i386/i686/multiarch/Makefile: Update.
32540         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
32542 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32544         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
32545         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
32547 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
32549         [BZ #15968]
32550         Support TZ transition times < 00:00:00.
32551         This is needed for version-3 tz-format files; it supports time
32552         stamps past 2037 for America/Godthab (the only entry in the tz
32553         database for which this change is relevant).
32554         * manual/time.texi (TZ Variable): Document transition times
32555         from -167:59:59 through -00:00:01.
32556         * time/tzset.c (tz_rule): Time of day is now signed.
32557         (__tzset_parse_tz): Parse negative time of day.
32559         Document TZ transition times >= 25:00:00.
32560         * manual/time.texi (TZ Variable): Document transition times from
32561         25:00:00 through 167:59:59.  These are already supported, and this
32562         support will help with version-3 tz-format files.
32564         * manual/time.texi (TZ Variable): Modernize North America example
32565         to reflect current (i.e., 2007-and-later) daylight saving rules.
32567         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
32569 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32571         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
32572         * sysdeps/unix/bsd/bits/stat.h: Likewise.
32573         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
32574         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32575         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
32576         * sysdeps/unix/bsd/bsdstat.h: Likewise.
32577         * sysdeps/unix/bsd/clock.c: Likewise.
32578         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
32579         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
32580         * sysdeps/unix/bsd/init-posix.c: Likewise.
32581         * sysdeps/unix/bsd/poll.c: Likewise.
32582         * sysdeps/unix/bsd/ptsname.c: Likewise.
32583         * sysdeps/unix/bsd/seekdir.c: Likewise.
32584         * sysdeps/unix/bsd/setegid.c: Likewise.
32585         * sysdeps/unix/bsd/seteuid.c: Likewise.
32586         * sysdeps/unix/bsd/setgid.c: Likewise.
32587         * sysdeps/unix/bsd/setrgid.c: Likewise.
32588         * sysdeps/unix/bsd/setruid.c: Likewise.
32589         * sysdeps/unix/bsd/setsid.c: Likewise.
32590         * sysdeps/unix/bsd/setuid.c: Likewise.
32591         * sysdeps/unix/bsd/sigaction.c: Likewise.
32592         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
32593         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
32594         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
32595         * sysdeps/unix/bsd/telldir.c: Likewise.
32596         * sysdeps/unix/bsd/times.c: Likewise.
32597         * sysdeps/unix/bsd/usleep.c: Likewise.
32599         * misc/Makefile (install-lib): Remove libbsd-compat.a.
32600         ($(objpfx)libbsd-compat.a): Remove rule.
32602         * include/features.h (__FAVOR_BSD): Do not define.
32603         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
32604         features conflicting with POSIX.
32605         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
32606         (_BSD_SOURCE): Remove description of not being a subset of other
32607         feature test macros.
32608         * manual/job.texi (getpgrp): Do not document BSD version.
32609         (getpgid): Do not document by reference to BSD getpgrp.
32610         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
32611         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
32612         * signal/signal.h [__FAVOR_BSD]: Likewise.
32613         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
32614         instead of making contents conditional on [__FAVOR_BSD].
32615         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
32617 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32621 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
32623         [BZ #16314]
32624         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
32625         values below 2**-450, not 2**-500.
32626         * math/auto-libm-test-in: Don't allow spurious underflow from
32627         hypot.
32628         * math/auto-libm-test-out: Regenerated.
32630         [BZ #16316]
32631         [BZ #16330]
32632         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
32633         values of ha and hb and sort them after adjusting subnormal
32634         arguments.
32635         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
32636         Likewise.
32637         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
32638         values of ea and eb and sort them after adjusting subnormal
32639         arguments.
32640         * math/auto-libm-test-in: Do not expect some hypot tests of
32641         subnormals to fail.  Add more hypot tests.
32642         * math/auto-libm-test-out: Regenerated.
32644 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32646         [BZ #13304]
32647         * sysdeps/sh/s_fma.c: New file.
32648         * sysdeps/sh/s_fmaf.c: New file.
32649         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
32650         version.
32651         * sysdeps/sh/Implies: Add sh/soft-fp.
32653 2013-12-16  Roland McGrath  <roland@hack.frob.com>
32655         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
32656         level of indirection to members `objname', `errstring', `malloced'.
32657         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
32658         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
32659         it as the __longjmp argument (just pass 1 instead).
32660         (_dl_catch_error): Initialize C with argument pointers and address of
32661         volatile local ERRCODE rather than copying values out of C at return.
32663 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
32665         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
32666         * math/auto-libm-test-out: Regenerated.
32667         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
32668         (hypot_test_data): Likewise.
32669         (pow_test_data): Likewise.
32670         (pow_tonearest_test_data): Likewise.
32671         * math/gen-auto-libm-tests.c (func_calc_method): Add value
32672         mpfr_ff_f.
32673         (func_calc_desc): Add mpfr_ff_f union field.
32674         (FUNC_mpfr_ff_f): New macro.
32675         (test_functions): Add atan2, hypot and pow.
32676         (special_fill_min): New function.
32677         (special_fill_minus_min): Likewise.
32678         (special_fill_min_subnorm): Likewise.
32679         (special_fill_minus_min_subnorm): Likewise.
32680         (special_real_inputs): Add min, -min, min_subnorm and
32681         -min_subnorm.
32682         (calc_generic_results): Handle mpfr_ff_f.
32683         * sysdeps/i386/fpu/libm-test-ulps: Update.
32684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32686 2013-12-16  Will Newton  <will.newton@linaro.org>
32688         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
32689         (Aligned Memory Blocks): Add documentation for aligned_alloc
32690         and suggest it as an alternative to posix_memalign.
32691         (Hooks for Malloc): Document __memalign_hook is also called
32692         for aligned_alloc.  (Summary of Malloc): Add summary for
32693         aligned alloc.  Document __memalign_hook is also called
32694         for aligned_alloc.
32696 2013-12-16  Will Newton  <will.newton@linaro.org>
32698         * manual/memory.texi (Malloc Examples): Clarify default
32699         alignment documentation.  Suggest posix_memalign rather
32700         than memalign or valloc.
32701         (Aligned Memory Blocks): Remove suggestion to use memalign
32702         or valloc.  Remove obsolete comment about BSD.
32703         Document memalign errno values and mark the function obsolete.
32704         Document posix_memalign returned error codes.  Mark valloc
32705         as obsolete.  (Hooks for Malloc): __memalign_hook is also
32706         called for posix_memalign and valloc.
32707         (Summary of Malloc): Add posix_memalign to function summary.
32708         __memalign_hook is also called for posix_memalign and valloc.
32710 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32712         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
32713         TAYLOR_SIN.
32714         (__sin): Adjust.
32715         (__cos): Likewise.
32716         (sloww): Use mynumber union.  Expand ternary operator into
32717         if-else statements.
32718         (cslow): use mynumber union.
32720 2013-12-16  Allan McRae  <allan@archlinux.org>
32722         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
32723         * configure: Regenerated.
32725         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
32727         [BZ #14120]
32728         * configure.ac: Added --enable-maintainer-mode. Check for
32729         autoconf when enabled.
32730         * configure: Regenerated.
32732         * nscd/nscd.service: New file.
32733         * nscd/nscd.tmpfiles: New file.
32735 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
32737         [BZ #12100]
32738         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
32739         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
32740         * sysdeps/x86_64/multiarch/strstr.c: ... here.
32741         (strstr): Add __strstr_sse2_unaligned ifunc.
32742         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
32743         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
32744         (strcasestr): Remove __strcasestr_sse42 ifunc.
32745         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
32746         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32749 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32751         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
32752         * sysdeps/sh/bits/fenv.h: ... here.
32753         * sysdeps/sh/sh4/fpu/bits: Remove directory.
32755 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32757         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
32759         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
32760         hypotf multiarch implementations.
32761         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
32762         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
32763         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
32764         multiarch hypot for PPC64.
32765         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
32766         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
32767         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
32768         multiarch hypotf for PPC64.
32770         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
32771         modff multiarch implementations.
32772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
32773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
32774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
32775         multiarch modf for PPC64.
32776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
32777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
32778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
32779         multiarch modff for PPC64.
32781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
32782         and logl multiarch implementations.
32783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
32784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
32785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
32786         multiarch logb for PPC64.
32787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
32788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
32789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
32790         multiarch logb for PPC64.
32791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
32792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
32793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
32794         multiarch logb for PPC64.
32796         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
32797         isinff multiarch implementation.
32798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
32799         file.
32800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
32801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
32802         multiarch isinf for PPC64.
32803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
32804         file.
32805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
32806         multiarch isinff for PPC64.
32808         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
32809         finitef multiarch implementation.
32810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
32811         file.
32812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
32813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
32814         multiarch finite for PPC64.
32815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
32816         file.
32817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
32818         multiarch finitef for PPC64.
32820         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
32821         lrint multiarch implementation.
32822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
32823         file.
32824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
32825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
32826         multiarch llrint for PPC64.
32827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
32828         multiarch lrint for PPC64.
32830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
32831         copysignf multiarch implementation.
32832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
32833         file.
32834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
32835         file.
32836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
32837         multiarch copysign for PPC64.
32838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
32839         multiarch copysignf for PPC64.
32841         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
32842         multiarch implementation.
32843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
32844         file.
32845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
32846         file.
32847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
32848         file.
32849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
32850         file.
32851         multiarch llround for PPC64.
32852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
32853         multiarch trunc for PPC64.
32854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
32855         multiarch truncf for PPC64.
32857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
32858         multiarch implementation.
32859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
32860         file.
32861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
32862         file.
32863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
32864         file.
32865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
32866         file.
32867         multiarch llround for PPC64.
32868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
32869         multiarch round for PPC64.
32870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
32871         multiarch roundf for PPC64.
32873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
32874         multiarch implementation.
32875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
32876         file.
32877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
32878         file.
32879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
32880         file.
32881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
32882         file.
32883         multiarch llround for PPC64.
32884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
32885         multiarch floor for PPC64.
32886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
32887         multiarch floorf for PPC64.
32889         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
32890         multiarch implementation.
32891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
32892         file.
32893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
32894         file.
32895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
32896         file.
32897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
32898         file.
32899         multiarch llround for PPC64.
32900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
32901         multiarch ceil for PPC64.
32902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
32903         multiarch ceilf for PPC64.
32905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
32906         multiarch implementation.
32907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
32908         file.
32909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
32910         file.
32911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
32912         file.
32913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
32914         multiarch llround for PPC64.
32915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
32916         multiarch lround for PPC64.
32918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
32919         multiarch implementation.
32920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
32921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
32922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
32923         file.
32924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
32925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
32926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
32927         multiarch isnan for PPC64.
32928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
32929         multiarch isnanf for PPC64.
32931         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
32932         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
32933         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
32934         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
32935         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
32936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
32938         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
32939         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32940         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32941         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
32944         multiarch implementations.
32945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32946         (__libc_ifunc_impl_list): Likewise.
32947         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32948         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
32949         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
32950         multiarch stpcpy for PPC64.
32952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
32953         multiarch implementations.
32954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32955         (__libc_ifunc_impl_list): Likewise.
32956         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
32957         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
32958         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
32959         multiarch strcpy for PPC64.
32961         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
32962         redefine function name.
32963         (_wordcopy_fwd_dest_aligned): Likewise.
32964         (_wordcopy_bwd_aligned): Likewise.
32965         (_wordcopy_bwd_dest_aligned): Likewise.
32966         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
32967         multiarch implementations.
32968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32969         (__libc_ifunc_impl_list): Likewise.
32970         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
32971         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
32972         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
32973         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
32974         multiarch wcscpy for PPC64.
32976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
32977         multiarch implementations.
32978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32979         (__libc_ifunc_impl_list): Likewise.
32980         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
32981         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
32982         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
32983         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
32984         multiarch wcscpy for PPC64.
32986         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
32987         multiarch implementations.
32988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32989         (__libc_ifunc_impl_list): Likewise.
32990         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
32991         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
32992         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
32993         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
32994         multiarch wcsrchr for PPC64.
32996         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
32997         multiarch implementations.
32998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32999         (__libc_ifunc_impl_list): Likewise.
33000         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
33001         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
33002         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
33003         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
33004         multiarch wcschr for PPC64.
33006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
33007         multiarch implementations.
33008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33009         (__libc_ifunc_impl_list): Likewise.
33010         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
33011         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
33012         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
33013         multiarch strchrnul for PPC64.
33015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
33016         implementations.
33017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33018         (__libc_ifunc_impl_list): Likewise.
33019         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
33020         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
33021         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
33022         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
33023         strchr for PPC64.
33025         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
33026         implementations.
33027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33028         (__libc_ifunc_impl_list): Likewise.
33029         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
33030         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
33031         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
33032         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
33033         strncmp for PPC64.
33035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
33036         multiarch implementations.
33037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33038         (__libc_ifunc_impl_list): Likewise.
33039         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
33040         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
33041         strncasecmp for PPC64.
33042         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
33043         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
33044         multiarch strncasecmp_l for PPC64.
33046         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
33047         multiarch implementations.
33048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33049         (__libc_ifunc_impl_list): Likewise.
33050         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
33051         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
33052         multiarch strcasecmp for PPC64.
33053         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
33054         file.
33055         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
33056         multiarch strcasecmp_l for PPC64.
33058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
33059         implementations.
33060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33061         (__libc_ifunc_impl_list): Likewise.
33062         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
33063         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
33064         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
33065         strnlen for PPC64.
33067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
33068         implementations.
33069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33070         (__libc_ifunc_impl_list): Likewise.
33071         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
33072         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
33073         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
33074         strlen for PPC64.
33076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
33077         implementations.
33078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33079         (__libc_ifunc_impl_list): Likewise.
33080         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
33081         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
33082         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
33083         rawmemrchr for PPC64.
33085         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
33086         implementation.
33087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33088         (__libc_ifunc_impl_list): Likewise.
33089         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
33090         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
33091         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
33092         memrchr for PPC64.
33094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
33095         implementation.
33096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33097         (__libc_ifunc_impl_list): Likewise.
33098         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
33099         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
33100         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
33101         memchr for PPC64.
33103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
33104         implementation.
33105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33106         (__libc_ifunc_impl_list): Likewise.
33107         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
33108         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
33109         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
33110         mempcpy for PPC64.
33112         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
33113         avoid cretion of __bzero symbol.
33114         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
33115         Likewise.
33116         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
33117         Likewise.
33118         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
33119         Likewise.
33120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
33121         multiarch implementations.
33122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33123         (__libc_ifunc_impl_list): Likewise.
33124         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
33125         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
33126         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
33127         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
33128         bzero for PPC32.
33129         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
33130         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
33131         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
33132         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
33133         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
33134         memset for PPC64.
33135         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
33137         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
33138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
33139         implementations.
33140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33141         (__libc_ifunc_impl_list): Likewise.
33142         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
33143         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
33144         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
33145         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
33146         memcmp for PPC64.
33148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
33149         multiarch for POWER/PPC64.
33150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33151         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
33152         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
33153         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
33154         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
33155         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
33156         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
33157         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
33158         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
33159         memcpy for PPC64.
33161         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
33162         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
33163         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
33164         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
33165         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
33166         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
33167         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
33168         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
33169         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
33170         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
33171         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
33172         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
33173         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
33174         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
33175         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
33176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
33177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
33178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
33179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
33180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
33182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
33184 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33186         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
33188 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33190         * benchtests/Makefile (bench): Add exp2 and log2.
33191         (LDLIBS-bench-exp2): Add -lm.
33192         (LDLIBS-bench-log2): Likewise.
33193         * benchtests/exp2-inputs: New inputs file.
33194         * benchtests/log2-inputs: New inputs file.
33195         * benchtests/log-inputs: Add new inputs.
33196         * benchtests/tan-inputs: Likewise.
33198 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33200         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
33201         definition...
33202         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
33203         (csloww2): ... from here.
33205         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
33206         instead of structures.
33207         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
33208         (POLYNOMIAL): Likewise.
33209         (TAYLOR_SLOW): Likewise.
33210         (__sin): Likewise.
33211         (__cos): Likewise.
33212         (slow1): Likewise.
33213         (slow2): Likewise.
33214         (sloww): Likewise.
33215         (sloww1); Likewise.
33216         (sloww2): Likewise.
33217         (bsloww1): Likewise.
33218         (bsloww2): Likewise.
33219         (cslow2): Likewise.
33220         (csloww): Likewise.
33221         (csloww1): Likewise.
33222         (csloww2): Likewise.
33224 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
33226         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
33227         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
33228         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
33229         * malloc/hooks.c (realloc_check): Likewise.
33231         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
33232         * malloc/arena.c: Remove PER_THREAD conditional.
33233         [!PER_THREAD]: Remove code.
33234         (ptmalloc_unlock_all2): Likewise.
33235         (ptmalloc_init): Likewise.
33236         (_int_new_arena): Likewise.
33237         (arena_get2): Likewise.
33238         * malloc/hooks.c (__malloc_get_state): Likewise.
33239         (__malloc_set_state): Likewise.
33240         * malloc/malloc.c: Likewise.
33241         (struct malloc_state): Likewise.
33242         (struct malloc_par): Likewise.
33243         (__libc_realloc): Likewise.
33244         (__libc_mallopt): Likewise.
33246 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33248         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
33250 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
33252         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
33253         macro to a function.  Check for zero perturb_byte.
33254         (_int_malloc, _int_free): Remove zero perturb_byte checks.
33256         * malloc/malloc.c: (force_reg): Remove.
33257         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
33258         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
33259         force_reg by atomic_forced_read.
33260         * malloc/arena.c (ptmalloc_init): Likewise.
33261         * malloc/hooks.c (top_check): Likewise.
33263 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33267 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
33269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33271 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
33273         * math/auto-libm-test-in: Add tests of lgamma.
33274         * math/auto-libm-test-out: Regenerated.
33275         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
33276         (M_LOG_2_SQRT_PIl): Likewise.
33277         (lgamma_test_data): Use AUTO_TESTS_f_f1.
33278         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33279         mpfr_f_f1.
33280         (func_calc_desc): Add mpfr_f_f1 union field.
33281         (ARGS1): New macro.
33282         (ARGS2): Likewise.
33283         (ARGS3): Likewise.
33284         (ARGS4): Likewise.
33285         (RET1): Likewise.
33286         (RET2): Likewise.
33287         (CALC): Likewise.
33288         (FUNC): Likewise.
33289         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
33290         (test_functions): Add lgamma.
33291         (calc_generic_results): Handle mpfr_f_f1.
33292         * sysdeps/i386/fpu/libm-test-ulps: Update.
33293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33295 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33297         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
33298         __mpn_add_n for PowerPC64/POWER7.
33299         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
33300         __mpn_sub_n for PowerPC64/POWER7.
33302         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
33303         __mpn_addmul_1 for PowerPC64.
33304         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
33305         __mpn_submul_1 for PowerPC64.
33306         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
33307         for PowerPC64.
33308         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
33309         for PowerPC64.
33311 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
33313         [BZ #15089]
33314         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
33316 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33318         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
33320         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
33321         add multiarch folders.
33322         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
33323         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
33324         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
33325         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
33326         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
33327         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
33328         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
33329         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
33330         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
33331         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
33332         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
33333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
33334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
33335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
33336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
33337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
33338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
33340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33341         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
33342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
33343         New file.
33344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
33345         New file.
33346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
33347         multiarch __ieee754_hypot for PowerPC32.
33348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
33349         New file.
33350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
33351         New file.
33352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
33353         multiarch __ieee754_hypotf for PowerPC32.
33355         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
33356         long_double_symbol only if __logbl is defined.
33357         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
33358         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
33359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
33360         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
33361         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
33362         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
33363         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
33364         path for implementation.
33365         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
33366         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
33367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
33368         logb, and logbl multiarch implementations for PowerPC32.
33369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
33370         file.
33371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
33372         file.
33373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
33374         multiarch logb for PowerPC32.
33375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
33376         file.
33377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
33378         file.
33379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
33380         multiarch logbf for PowerPC32.
33381         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
33382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
33383         file.
33384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
33385         multiarch logbl implementation for PowerPC32.
33387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
33388         and modff multiarch implementations.
33389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
33390         New file.
33391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
33392         New file.
33393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
33394         multiarch modf for PowerPC32.
33395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
33396         New file.
33397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
33398         New file.
33399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
33400         multiarch modff for PowerPC32.
33402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
33403         and lrintf multiarch implementations.
33404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
33405         New file.
33406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
33407         New file.
33408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
33409         multiarch lrint for PowerPC32.
33410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
33411         file: multiarch lrintf for PowerPC32.
33413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
33414         and lroundf multiarch implementations.
33415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
33416         New file.
33417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
33418         New file.
33419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
33420         New file.
33421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
33422         multiarch lround for PowerPC32.
33423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
33424         file: multiarch lroundf for PowerPC32.
33426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
33427         copysign and copysignf multiarch implementations.
33428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
33429         New file.
33430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
33431         New file.
33432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
33433         file: multiarch copysign for PowerPC32.
33434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
33435         file: multiarch copysignf for PowerPC32.
33437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
33438         and truncf multiarch implementations.
33439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
33440         New file.
33441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
33442         file.
33443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
33444         multiarch trunc for PowerPC32.
33445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
33446         New file.
33447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
33448         New file.
33449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
33450         multiarch truncf for PowerPC32.
33452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
33453         and roundf multiarch implementations.
33454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
33455         New file.
33456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
33457         file.
33458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
33459         multiarch round for PowerPC32.
33460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
33461         New file.
33462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
33463         New file.
33464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
33465         multiarch roundf for PowerPC32.
33467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
33468         and floorf multiarch implementations.
33469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
33470         New file.
33471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
33472         file.
33473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
33474         multiarch floor for PowerPC32.
33475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
33476         New file.
33477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
33478         New file.
33479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
33480         multiarch floorf for PowerPC32.
33482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
33483         and ceilf multiarch implementations.
33484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
33485         New file.
33486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
33487         file.
33488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
33489         multiarch ceil for PowerPC32.
33490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
33491         New file.
33492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
33493         file.
33494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
33495         multiarch ceilf for PowerPC32.
33497         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
33498         is defined.
33499         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
33500         FINITEF is defined.
33501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
33502         and finitef multiarch implementations.
33503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
33504         New file.
33505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
33506         file.
33507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
33508         multiarch finite for PowerPC32.
33509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
33510         New file.
33511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
33512         file: multiarch finitef for PowerPC32.
33514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
33515         and isinff multiarch implementations.
33516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
33517         file.
33518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
33519         file.
33520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
33521         multiarch isinf for PowerPC32.
33522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
33523         New file.
33524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
33525         multiarch isinff for PowerPC32.
33527         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
33528         alias when __isnan is defined.
33529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
33530         and isnanf multiarch implementations.
33531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
33532         file.
33533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
33534         file.
33535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
33536         file.
33537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
33538         file.
33539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
33540         multiarch isnan for PowerPC32.
33541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
33542         New file.
33543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
33544         New file.
33545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
33546         multiarch isnanf for PowerPC32.
33548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
33549         and sqrtf multiarch implementations.
33550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
33551         file.
33552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
33553         file.
33554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
33555         multiarch sqrt for PowerPC32.
33556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
33557         file.
33558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
33559         file.
33560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
33561         multiarch sqrtf for PowerPC32.
33563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
33564         and llroundf multiarch implementations.
33565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
33566         New file.
33567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
33568         New file.
33569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
33570         New file.
33571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
33572         file: multiarch llround for PowerPC32.
33573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
33574         file: multiarch llroundf for PowerPC32.
33576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
33577         multiarch PowerPC32 fpu implementations.
33578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
33579         New file.
33580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
33581         New file.
33582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
33583         multiarch llrint for PowerPC32.
33584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
33585         New file.
33586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
33587         New file.
33588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
33589         file.
33591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
33593         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
33594         file.
33595         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
33596         file.
33597         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
33598         file.
33599         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
33600         multiarch wordcopy for PPC32.
33601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
33602         wordcopy objects.
33603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33604         (__libc_ifunc_impl_list): Likewise.
33605         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
33606         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
33607         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
33608         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
33609         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
33610         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
33612         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
33613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
33614         file.
33615         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
33616         file.
33617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
33618         file.
33619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
33620         multiarch wcscpy for PPC32.
33621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
33622         multiarch objects.
33623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33624         (__libc_ifunc_impl_list): Likewise.
33625         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
33626         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
33627         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
33628         sysdeps/powerpc/power6/wcscpy.c.
33630         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
33631         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
33632         file.
33633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
33634         file.
33635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
33636         file.
33637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
33638         multiarch wcsrchr for PPC32.
33639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
33640         multiarch objects.
33641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33642         (__libc_ifunc_impl_list): Likewise.
33643         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
33644         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
33645         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
33646         sysdeps/powerpc/power6/wcsrchr.c.
33648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
33649         file.
33650         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
33651         file.
33652         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
33653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
33654         multiarch wcschr for PPc32.
33655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
33656         multiarch objects.
33657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33658         (__libc_ifunc_impl_list): Likewise.
33659         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
33660         * sysdeps/powerpc/power6/wcschr.c: ... to here.
33661         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
33662         sysdeps/powerpc/power6/wcschr.c.
33664         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
33665         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
33666         file.
33667         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
33668         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
33669         file: multiarch strchr for PPC32.
33670         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
33671         multiarch objects.
33672         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33673         (__libc_ifunc_impl_list): Likewise.
33675         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
33676         name.
33677         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
33678         file.
33679         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
33680         file.
33681         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
33682         multiarch strchrnul for PPC32.
33683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
33684         multiarch objects.
33685         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33686         (__libc_ifunc_impl_list): Likewise.
33688         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
33689         file.
33690         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
33691         multiarch strncasecmp for PPC32.
33692         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
33693         file.
33694         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
33695         multiarch strncasecmp_l for PPC32.
33696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
33697         strncasecmp multiarch objects.
33698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33699         (__libc_ifunc_impl_list): Likewise.
33701         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
33702         file.
33703         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
33704         multiarch strncasecmp for PPC32.
33705         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33706         New file.
33707         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
33708         multiarch strcasecmp_l for PPC32.
33709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
33710         multiarch objects.
33711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33712         (__libc_ifunc_impl_list): Likewise.
33714         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
33715         file.
33716         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
33717         file.
33718         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
33719         multiarch strncmp for PPC32.
33720         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
33721         multiarch objects.
33722         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33723         (__libc_ifunc_impl_list): Likewise.
33725         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
33726         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
33727         file.
33728         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
33729         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
33730         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
33731         multiarch objects.
33732         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33733         (__libc_ifunc_impl_list): Likewise.
33735         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
33736         file.
33737         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
33738         file.
33739         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
33740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
33741         multiarch objects.
33742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33743         (__libc_ifunc_impl_list): Likewise.
33745         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
33746         file.
33747         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
33748         file.
33749         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
33750         multiarch rawmemchr for PPC32.
33751         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
33752         multiarch objects.
33753         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33754         (__libc_ifunc_impl_list): Likewise.
33756         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
33757         file.
33758         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
33759         file.
33760         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
33761         file: memrchr multiarch for PPC32.
33762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
33763         multiarch objects.
33764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
33765         (__libc_ifunc_impl_list): Likewise.
33767         * string/memchr.c (__memchr): Using macro to redefine symbol name.
33768         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
33769         file.
33770         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
33771         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
33772         multiarch memchr for PPC32.
33773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
33774         multiarch objects.
33775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33776         (__libc_ifunc_impl_list): Likewise.
33778         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
33779         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
33780         file.
33781         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
33782         file.
33783         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
33784         file: multiarch mempcpy for PPC32.
33785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
33786         multiarch objects.
33787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33788         (__libc_ifunc_impl_list): Likewise.
33790         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
33791         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
33792         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
33793         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
33794         multiarch bzero for PPC32.
33795         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
33796         file.
33797         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
33798         file.
33799         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
33800         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
33801         file: multiarch memset for PPC32.
33802         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
33803         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
33804         memset multiarch objects.
33805         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33806         (__libc_ifunc_impl_list): Likewise.
33808         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
33809         file.
33810         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
33811         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
33812         memcmp for PPC32.
33813         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
33814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
33815         multiarch objects.
33816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33817         (__libc_ifunc_impl_list): Likewise.
33819         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
33820         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
33821         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
33822         file.
33823         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
33824         file.
33825         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
33826         file.
33827         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
33828         multiarch memcpy for PPC32.
33829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
33830         multiarch objects.
33831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33832         (__libc_ifunc_impl_list): Likewise.
33834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
33835         support multiarch for POWER/PPC32.
33836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
33837         Likewise.
33838         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
33840         Implies file to make multiarch folder appers before the fpu and
33841         default folder for power4 configuration.
33843 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33845         * scripts/bench.pl: Append volatile keyword to type.
33847 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33849         * sysdeps/sh/sotruss-lib.c: New file.
33850         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
33852 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33856 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
33858         [BZ #6810]
33859         * math/w_tgamma.c: Include <errno.h>.
33860         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
33861         * math/w_tgammaf.c: Include <errno.h>.
33862         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
33863         * math/w_tgammal.c: Include <errno.h>.
33864         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
33865         * math/auto-libm-test-in: Do not allow missing errno on tgamma
33866         underflow.  Add more tgamma tests.
33867         * math/auto-libm-test-out: Regenerated.
33868         * sysdeps/i386/fpu/libm-test-ulps: Update.
33869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33871         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
33872         sin, sinh, tan, tanh, tgamma, y0 and y1.
33873         * math/auto-libm-test-out: Regenerated.
33874         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33875         (TEST_COND_x86): Likewise.
33876         (M_E2l): Remove macro.
33877         (M_E3l): Likewise.
33878         (M_2_SQRT_PIl): Likewise.
33879         (M_SQRT_PIl): Likewise.
33880         (M_1_DIV_El): Likewise.
33881         (log_test_data): Use AUTO_TESTS_f_f.
33882         (log10_test_data): Likewise.
33883         (log1p_test_data): Likewise.
33884         (log2_test_data): Likewise.
33885         (sin_test_data): Likewise.
33886         (sin_tonearest_test_data): Likewise.
33887         (sin_towardzero_test_data): Likewise.
33888         (sin_downward_test_data): Likewise.
33889         (sin_upward_test_data): Likewise.
33890         (sinh_test_data): Likewise.
33891         (sinh_tonearest_test_data): Likewise.
33892         (sinh_towardzero_test_data): Likewise.
33893         (sinh_downward_test_data): Likewise.
33894         (sinh_upward_test_data): Likewise.
33895         (tan_test_data): Likewise.
33896         (tan_tonearest_test_data): Likewise.
33897         (tan_towardzero_test_data): Likewise.
33898         (tan_downward_test_data): Likewise.
33899         (tan_upward_test_data): Likewise.
33900         (tanh_test_data): Likewise.
33901         (tgamma_test_data): Likewise.
33902         (y0_test_data): Likewise.
33903         (y1_test_data): Likewise.
33904         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
33905         (special_real_inputs): Add pi/4.
33906         * sysdeps/i386/fpu/libm-test-ulps: Update.
33907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33909 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33911         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
33912         "longjmp_target" static probes.
33913         (__longjmp): Rename to __longjmp_symbol.
33914         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33915         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
33916         on which longjmp to generate.
33917         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33918         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
33919         probe.
33920         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33921         (__sigjmp_save): Rename to __sigjmp_save_symbol.
33922         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33923         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
33924         and __sigjmp_save_symbol based on which sigsetjmp to generated.
33925         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
33926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
33927         __longjmp_symbol based on which __longjmp to generate.
33928         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
33929         probe.
33930         (setjmp): Rename to setjmp_symbol.
33931         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33932         (_setjmp): Rename to _setjmp_symbol.
33933         (__sigsetjmp): Rename to __sigsetjmp_symbol.
33934         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
33935         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
33936         which setjmp to generate.
33937         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
33938         "longjmp_target" static probes.
33940 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33942         * benchtests/README: Add note about output arguments.
33943         * benchtests/bench-sincos.c: Remove file.
33944         * benchtests/sincos-inputs: New file.
33945         * scripts/bench.pl: Identify output arguments and define
33946         static variables for them.
33948         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
33950         [BZ #15941]
33951         * Makefile (INSTALL): Add install-plain.texi as the primary
33952         dependency.
33953         * manual/install-plain.texi: New file.
33954         * manual/install.texi: Include node directive only for
33955         non-plaintext output.
33957 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
33959         * stdlib/longlong.h: Update from GCC.
33961         [BZ #6807]
33962         [BZ #15901]
33963         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
33964         * math/w_j0f.c (y0f): Likewise.
33965         * math/w_j0l.c (__y0l): Likewise.
33966         * math/w_j1.c (y1): Likewise.
33967         * math/w_j1f.c (y1f): Likewise.
33968         * math/w_j1l.c (__y1l): Likewise
33969         * math/w_jn.c (yn): Likewise.
33970         * math/w_jnf.c (ynf): Likewise.
33971         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
33972         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
33973         value for Bessel function domain errors outside _SVID_ mode.
33974         Adjust sign of return value for yn (negative integer, 0).
33975         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
33976         by zero in return for negative x and set sign appropriately for
33977         negative n.
33978         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
33979         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
33980         * math/libm-test.inc (y0_test_data): Add more tests and adjust
33981         expectations in error cases.
33982         (y1_test_data): Likewise.
33983         (yn_test_data): Likewise.
33984         * sysdeps/i386/fpu/libm-test-ulps: Update.
33985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33987 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
33989         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
33990         "64" to "64-v1".  Add "64-v2".
33991         (abi-64-options): Rename to ...
33992         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
33993         (abi-64-condition): Rename to ...
33994         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
33995         (abi-64-ld-soname): Rename to ...
33996         (abi-64-v1-ld-soname): ... this.
33997         (abi-64-v2-options): Define.
33998         (abi-64-v2-condition): Likewise.
33999         (abi-64-v2-ld-soname): Likewise.
34000         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
34001         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
34002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
34003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
34004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
34006 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34007             Alan Modra  <amodra@gmail.com>
34009         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
34010         New versions for use with the ELFv2 ABI.
34011         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
34012         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
34013         declaration.
34014         (struct La_ppc64v2_retval): Likewise.
34015         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
34016         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
34017         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
34018         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
34019         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
34020         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34021         Do not save or restore CR.
34022         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
34023         (_dl_profile_resolve): Do no save or restore CR.  Support extended
34024         return values for ELFv2 ABI.  Fix location of FPR return registers.
34025         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
34026         updated values for _CALL_ELF == 2.
34027         (La_regs, La_retval, int_retval): Likewise.
34029 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34031         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
34032         (FRAME_MIN_SIZE_PARM): Likewise.
34033         (FRAME_BACKCHAIN): Likewise.
34034         (FRAME_CR_SAVE): Likewise.
34035         (FRAME_LR_SAVE): Likewise.
34036         (FRAME_TOC_SAVE): Likewise.
34037         (FRAME_PARM_SAVE): Likewise.
34038         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
34039         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
34040         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34041         (call_mcount_parm_offset): New macro.
34042         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
34043         (PROF): Use symbolic stack frame offsets.
34044         (TAIL_CALL_SYSCALL_ERROR): Likewise.
34045         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
34046         Redefine in terms of FRAME_MIN_SIZE.
34047         (_dl_runtime_resolve): Use symbolic stack frame offsets.
34048         (_dl_profile_resolve): Likewise.  Update comment.
34049         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
34050         symbols stack frame offsets.
34051         (__sigsetjmp): Likewise.
34052         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
34053         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
34054         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
34055         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
34057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
34058         (FRAME_BACKCHAIN): Remove.
34059         (FRAME_CR_SAVE): Likewise.
34060         (FRAME_LR_SAVE): Likewise.
34061         (FRAME_COMPILER_DW): Likewise.
34062         (FRAME_LINKER_DW): Likewise.
34063         (FRAME_TOC_SAVE): Likewise.
34064         (FRAME_PARM_SAVE): Likewise.
34065         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
34066         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
34067         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
34068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
34069         (CHECK_SP): Use symbolic stack frame offsets.
34070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
34071         zone" instead of caller's parameter save area for temp storage.
34072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34073         Likewise.  Also, use symbolic stack frame offsets.
34074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
34075         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
34076         our own stack frame instead of the caller's.
34077         (__socket): Use symbolic stack frame offsets.
34079 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34080             Alan Modra  <amodra@gmail.com>
34082         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
34083         Define.
34084         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
34085         (PPC64_LOCAL_ENTRY_OFFSET): Define.
34086         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
34087         New function.
34088         (elf_machine_fixup_plt): Call it.
34089         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
34090         reloc arguments.
34091         (elf_machine_rela): Update call to elf_machine_plt_conflict.
34092         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34093         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
34094         r2 before calling target.
34096 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34097             Alan Modra  <amodra@gmail.com>
34099         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
34100         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
34101         versions of macros to support ELFv2 ABI.
34102         (LOCALENTRY): New macro.
34103         (ENTRY, EALIGN): Use it.
34104         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
34105         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
34106         fall through into ENTRY entry point.
34107         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
34108         Only define if _CALL_ELF != 2.
34110         (elf_machine_matches_host): Verify ABI version matches.
34111         (RTLD_START): Use LOCALENTRY.
34112         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
34113         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
34114         (PLT_ENTRY_WORDS): New macro.
34115         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
34116         (elf_machine_runtime_setup): Support ELFv2 ABI.
34117         (elf_machine_fixup_plt): Likewise.
34118         (elf_machine_plt_conflict): Likewise.
34119         (resolve_ifunc): Likewise.
34120         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34121         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
34122         Likewise.
34123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
34124         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
34125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34126         (makecontext): Support ELFv2 ABI.
34127         * elf/elf.h (EF_PPC64_ABI): Define.
34129 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34131         * sysdeps/powerpc/powerpc64/sysdep.h
34132         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
34133         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
34134         (ENTRY) [ASSEMBLER]: ... but instead here ...
34135         (EALIGN) [ASSEMBLER]: ... and here.
34136         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
34137         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
34138         (ENTRY_2) [!ASSEMBLER]: Use it.
34139         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
34140         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
34141         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
34142         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
34143         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
34144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
34145         Use PPC64_LOAD_FUNCPTR.
34147         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
34149 2013-12-04  Alan Modra  <amodra@gmail.com>
34151         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
34152         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
34153         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
34154         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
34156         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
34157         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
34158         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
34159         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
34160         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
34161         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
34163 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
34165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34166         (__makecontext): Fix incorrect CFI when backtracing out of
34167         context created via makecontext.
34168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
34169         (__setcontext): Fix incorrect CFI during switch to new context.
34170         (__novec_setcontext): Likewise.
34172 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34174         [BZ #4772]
34175         * time/strptime_l.c (__strptime_internal): Allow modifiers
34176         in strptime.
34177         * time/tst-strptime.c (day_tests): Add testcase.
34179 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34181         * scripts/bench.pl: Skip over blank lines.
34183 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
34185         [BZ #926]
34186         * manual/time.texi (Calendar Time): Clarify what timezone functions
34187         use.
34189 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34193 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
34195         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
34196         implementation.
34197         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
34198         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
34199         * debug/memset_chk.c (__memset_chk): Likewise.
34200         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
34201         * debug/strncpy_chk.c: Likewise.
34203 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34205         [BZ #15268]
34206         [BZ #15425]
34207         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
34208         (__ieee754_exp): For possibly underflowing results, check size of
34209         result and force underflow exception if required.
34210         * math/auto-libm-test-in: Add more tests of exp.
34211         * math/auto-libm-test-out: Regenerated.
34212         * sysdeps/i386/fpu/libm-test-ulps: Update.
34213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34215         [BZ #16283]
34216         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
34217         * math/w_exp2f.c (__exp2f): Likewise.
34218         * math/w_exp2l.c (__exp2l): Likewise.
34219         * math/auto-libm-test-in: Do not allow missing errno on exp2
34220         underflow.
34221         * math/auto-libm-test-out: Regenerated.
34223 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
34225         [BZ #16274]
34226         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
34227         handle filename validation.
34228         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
34229         (do_open): Delete.
34231 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
34233         [BZ #6786]
34234         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
34235         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
34236         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
34237         <float.h>.
34238         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
34239         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
34240         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34241         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
34242         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34243         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
34244         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
34245         * math/auto-libm-test-in: Don't allow missing errno from erfc.
34246         Add more erfc tests.
34247         * math/auto-libm-test-out: Regenerated.
34248         * sysdeps/i386/fpu/libm-test-ulps: Update.
34249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34251         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
34252         exp2, expm1, j0 and j1.
34253         * math/auto-libm-test-out: Regenerated.
34254         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
34255         (erfc_test_data): Likewise.
34256         (exp_test_data): Likewise.
34257         (exp_tonearest_test_data): Likewise.
34258         (exp_towardzero_test_data): Likewise.
34259         (exp_downward_test_data): Likewise.
34260         (exp_upward_test_data): Likewise.
34261         (exp10_test_data): Likewise.
34262         (exp2_test_data): Likewise.
34263         (expm1_test_data): Likewise.
34264         (j0_test_data): Likewise.
34265         (j1_test_data): Likewise.
34266         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
34267         (input_flag_type): Add flag_xfail_rounding.
34268         (input_flags): Add xfail-rounding.
34269         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
34270         (output_for_one_input_case): Handle flag_xfail_rounding.
34271         * sysdeps/i386/fpu/libm-test-ulps: Update.
34272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34274 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
34276         [BZ #16289]
34277         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
34278         division by 0.
34280 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34282         [BZ #16195]
34283         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
34284         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
34285         (STAP_PROBE0): New macro.
34286         (STAP_PROBE1): Likewise.
34287         (STAP_PROBE2): Likewise.
34288         (STAP_PROBE3): Likewise.
34289         (STAP_PROBE4): Likewise.
34291 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
34293         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
34295 2013-12-02  Steve Ellcey  <sellcey@mips.com>
34297         * benchtests/Makefile (bench): Add sqrt.
34298         (LDLIBS-bench-sqrt): New.
34299         * benchtests/sqrt-input: New.
34301 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
34303         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
34304         (GAIH_EAI): Likewise.
34305         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
34306         (gaih_inet): Likewise.
34307         (getaddrinfo): Don't use GAIH_EAI.
34309         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
34310         (struct gaih): Remove definition.
34312 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34314         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
34315         Use HERRNOP directly.
34317 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34321 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
34323         * math/gen-auto-libm-tests.c (test_functions): Add more
34324         single-argument functions.
34325         (special_fill_pi_2): New function.
34326         (special_fill_minus_pi_2): Likewise.
34327         (special_fill_pi_6): Likewise.
34328         (special_fill_minus_pi_6): Likewise.
34329         (special_fill_pi_3): Likewise.
34330         (special_fill_2pi_3): Likewise.
34331         (special_fill_e): Likewise.
34332         (special_fill_1_e): Likewise.
34333         (special_fill_e_minus_1): Likewise.
34334         (special_real_inputs): Add more special inputs.
34335         (output_for_one_input_case): Do not require ERANGE on underflow to
34336         zero if round-to-nearest result does not underflow to zero, unless
34337         exact results required.
34338         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
34339         atan, atanh, cbrt, cos and cosh.
34340         * math/auto-libm-test-out: Regenerated.
34341         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
34342         (acos_tonearest_test_data): Likewise.
34343         (acos_towardzero_test_data): Likewise.
34344         (acos_downward_test_data): Likewise.
34345         (acos_upward_test_data): Likewise.
34346         (acosh_test_data): Likewise.
34347         (asin_test_data): Likewise.
34348         (asin_tonearest_test_data): Likewise.
34349         (asin_towardzero_test_data): Likewise.
34350         (asin_upward_test_data): Likewise.
34351         (asinh_test_data): Likewise.
34352         (atan_test_data): Likewise.
34353         (atanh_test_data): Likewise.
34354         (cbrt_test_data): Likewise.
34355         (cos_test_data): Likewise.
34356         (cos_tonearest_test_data): Likewise.
34357         (cos_towardzero_test_data): Likewise.
34358         (cos_downward_test_data): Likewise.
34359         (cos_upward_test_data): Likewise.
34360         (cosh_test_data): Likewise.
34361         (cosh_tonearest_test_data): Likewise.
34362         (cosh_towardzero_test_data): Likewise.
34363         (cosh_downward_test_data): Likewise.
34364         (cosh_upward_test_data): Likewise.
34365         * sysdeps/i386/fpu/libm-test-ulps: Update.
34366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34368 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
34370         [BZ #6787]
34371         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
34372         * math/w_exp10f.c (__exp10f): Likewise.
34373         * math/w_exp10l.c (__exp10l): Likewise.
34374         * math/libm-test.inc (exp10_test_data): Add more tests and expect
34375         errno settings in existing tests.
34377         [BZ #14032]
34378         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
34379         precision control set to double precision.
34380         * sysdeps/i386/fpu/w_sqrt.c: New file.
34381         * math/auto-libm-test-in: Add more tests.
34382         * math/auto-libm-test-out: Update.
34384         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
34385         (sqrt_test_tonearest): New function.
34386         (sqrt_towardzero_test_data): New variable.
34387         (sqrt_test_towardzero): New function.
34388         (sqrt_downward_test_data): New variable.
34389         (sqrt_test_downward): New function.
34390         (sqrt_upward_test_data): New variable.
34391         (sqrt_test_upward): New function.
34392         (main): Call the new functions.
34394         * math/gen-auto-libm-tests.c: New file.
34395         * math/auto-libm-test-in: Likewise.
34396         * math/auto-libm-test-out: New generated file.
34397         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
34398         variables.
34399         (%beautify): Add generated representations of zero.
34400         (top level): Set $auto_input and call parse_auto_input.
34401         (beautify): Remove trailing "f" from hex float constants.
34402         (parse_args): Handle XFAIL_TEST.
34403         (convert_condition): New function.
34404         (or_value): Likewise.
34405         (or_cond_value): Likewise.
34406         (generate_testfile): Handle AUTO_TESTS_* lines.
34407         (parse_auto_input): New function.
34408         * math/libm-test.inc (XFAIL_TEST): New macro.
34409         (ERRNO_UNCHANGED): Update value.
34410         (ERRNO_EDOM): Likewise.
34411         (ERRNO_ERANGE): Likewise.
34412         (IGNORE_RESULT): Likewise.
34413         (TEST_COND_flt_32): New macro.
34414         (TEST_COND_dbl_64): Likewise.
34415         (TEST_COND_ldbl_96_intel): Likewise.
34416         (TEST_COND_ldbl_96_m68k): Likewise.
34417         (TEST_COND_ldbl_128): Likewise.
34418         (TEST_COND_ldbl_128ibm): Likewise.
34419         (TEST_COND_long32): Likewise.
34420         (TEST_COND_long64): Likewise.
34421         (TEST_COND_before_rounding): Likewise.
34422         (TEST_COND_after_rounding): Likewise.
34423         (enable_test): Handle XFAIL_TEST flag.
34424         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
34425         with finite results.
34426         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
34427         auto-libm-test-out.
34429 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34430             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34432         [BZ #16214]
34433         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
34434         __tls_get_addr_internal instead of __tls_get_offset in order to
34435         avoid GOT pointer dependency.  Make rtld export
34436         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
34437         __tls_get_addr since we are a __tls_get_offset platform.
34438         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
34439         GOT pointer being set up before.
34440         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
34442 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
34444         * manual/math.texi (Errors in Math Functions): Document accuracy
34445         goals.
34447         [BZ #15004]
34448         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
34449         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
34450         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34451         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34452         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34453         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34454         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34455         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34456         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34457         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34458         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34459         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34460         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34461         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34462         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34463         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34465         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
34466         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
34467         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
34468         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
34469         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
34470         Likewise.
34471         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
34472         Likewise.
34473         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
34474         Likewise.
34475         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
34476         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
34477         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
34478         atomic-feupdateenv and flt-rounds.
34479         * sysdeps/powerpc/nofpu/Versions (libc): Add
34480         __atomic_feholdexcept, __atomic_feclearexcept,
34481         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
34482         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
34483         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
34484         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
34485         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
34486         here.
34487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34488         Update.
34490         * manual/arith.texi (FP Exceptions): Document that exceptions may
34491         not be raised when matherr is used.
34492         (Math Error Reporting): Document overflow in directed rounding
34493         modes.  Document that errno may not be set when finite values are
34494         returned on overflow.  Document intent to set errno on underflow
34495         only for underflow to zero.
34497         [BZ #16271]
34498         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
34499         round-to-nearest then adjust result for other rounding modes.
34500         * include/fenv.h (fegetround): Use libm_hidden_proto.
34501         * math/fegetround.c (fegetround): Use libm_hidden_def.
34502         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34503         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34504         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34505         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34506         Likewise.
34507         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
34508         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34509         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34510         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
34512 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34514         [BZ #16077]
34515         * nss/Versions (libnss_files): Add
34516         _nss_files_gethostbyname3_r.
34517         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
34518         New function.
34519         (HOST_DB_LOOKUP): Remove macro.
34520         (_nss_files_gethostbyname_r): Implement function without the
34521         HOST_DB_LOOKUP macro.
34522         (_nss_files_gethostbyname2_r): Likewise.
34524 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
34526         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
34528 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
34530         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
34531         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
34532         warning.
34534 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34536         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
34537         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
34538         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34539         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34540         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
34541         __fe_nomask_env_priv and attribute_hidden.
34542         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
34543         (libc_feupdateenv_test_ppc): Likewise.
34544         (libc_feresetround_ppc): Likewise.
34545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34546         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
34547         compat_symbol macro.
34548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34549         (__fe_nomask_env): Likewise.
34550         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
34552 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34554         * string/Makefile: Remove ifunc tests.
34555         * string/test-string.h: Define TEST_IFUNC.
34556         * string/test-bcopy-ifunc.c: Remove.
34557         * string/test-bzero-ifunc.c: Likewise.
34558         * string/test-memccpy-ifunc.c: Likewise.
34559         * string/test-memchr-ifunc.c: Likewise.
34560         * string/test-memcmp-ifunc.c: Likewise.
34561         * string/test-memcpy-ifunc.c: Likewise.
34562         * string/test-memmem-ifunc.c: Likewise.
34563         * string/test-memmove-ifunc.c: Likewise.
34564         * string/test-mempcpy-ifunc.c: Likewise.
34565         * string/test-memrchr-ifunc.c: Likewise.
34566         * string/test-memset-ifunc.c: Likewise.
34567         * string/test-rawmemchr-ifunc.c: Likewise.
34568         * string/test-stpcpy-ifunc.c: Likewise.
34569         * string/test-stpncpy-ifunc.c: Likewise.
34570         * string/test-strcasecmp-ifunc.c: Likewise.
34571         * string/test-strcasestr-ifunc.c: Likewise.
34572         * string/test-strcat-ifunc.c: Likewise.
34573         * string/test-strchr-ifunc.c: Likewise.
34574         * string/test-strchrnul-ifunc.c: Likewise.
34575         * string/test-strcmp-ifunc.c: Likewise.
34576         * string/test-strcpy-ifunc.c: Likewise.
34577         * string/test-strcspn-ifunc.c: Likewise.
34578         * string/test-strlen-ifunc.c: Likewise.
34579         * string/test-strncasecmp-ifunc.c: Likewise.
34580         * string/test-strncat-ifunc.c: Likewise.
34581         * string/test-strncmp-ifunc.c: Likewise.
34582         * string/test-strncpy-ifunc.c: Likewise.
34583         * string/test-strnlen-ifunc.c: Likewise.
34584         * string/test-strpbrk-ifunc.c: Likewise.
34585         * string/test-strrchr-ifunc.c: Likewise.
34586         * string/test-strspn-ifunc.c: Likewise.
34587         * string/test-strstr-ifunc.c: Likewise.
34589 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34591         * benchtests/Makefile: Remove ifunc tests.
34592         * benchtests/bench-string.h: Define TEST_IFUNC.
34593         * benchtests/bench-bcopy-ifunc.c: Remove.
34594         * benchtests/bench-bzero-ifunc.c: Likewise.
34595         * benchtests/bench-memccpy-ifunc.c: Likewise.
34596         * benchtests/bench-memchr-ifunc.c: Likewise.
34597         * benchtests/bench-memcmp-ifunc.c: Likewise.
34598         * benchtests/bench-memcpy-ifunc.c: Likewise.
34599         * benchtests/bench-memmem-ifunc.c: Likewise.
34600         * benchtests/bench-memmove-ifunc.c: Likewise.
34601         * benchtests/bench-mempcpy-ifunc.c: Likewise.
34602         * benchtests/bench-memrchr-ifunc.c: Likewise.
34603         * benchtests/bench-memset-ifunc.c: Likewise.
34604         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
34605         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
34606         * benchtests/bench-stpcpy-ifunc.c: Likewise.
34607         * benchtests/bench-stpncpy-ifunc.c: Likewise.
34608         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
34609         * benchtests/bench-strcasestr-ifunc.c: Likewise.
34610         * benchtests/bench-strcat-ifunc.c: Likewise.
34611         * benchtests/bench-strchr-ifunc.c: Likewise.
34612         * benchtests/bench-strchrnul-ifunc.c: Likewise.
34613         * benchtests/bench-strcmp-ifunc.c: Likewise.
34614         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
34615         * benchtests/bench-strcpy-ifunc.c: Likewise.
34616         * benchtests/bench-strcspn-ifunc.c: Likewise.
34617         * benchtests/bench-strlen-ifunc.c: Likewise.
34618         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
34619         * benchtests/bench-strncat-ifunc.c: Likewise.
34620         * benchtests/bench-strncmp-ifunc.c: Likewise.
34621         * benchtests/bench-strncpy-ifunc.c: Likewise.
34622         * benchtests/bench-strnlen-ifunc.c: Likewise.
34623         * benchtests/bench-strpbrk-ifunc.c: Likewise.
34624         * benchtests/bench-strrchr-ifunc.c: Likewise.
34625         * benchtests/bench-strsep-ifunc.c: Likewise.
34626         * benchtests/bench-strspn-ifunc.c: Likewise.
34627         * benchtests/bench-strstr-ifunc.c: Likewise.
34629 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34631         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
34633 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
34635         * resolv/netdb.h: Use __glibc_reserved instead __unused.
34636         * rt/aio.h: Likewise.
34637         * sysdeps/gnu/bits/utmp.h: Likewise.
34638         * sysdeps/gnu/bits/utmpx.h: Likewise.
34639         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34640         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
34641         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
34642         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
34643         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
34644         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
34645         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
34646         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
34647         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
34648         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
34649         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
34650         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
34651         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
34652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
34653         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34654         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
34655         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
34656         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
34657         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
34658         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
34659         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
34660         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
34661         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
34662         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
34663         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
34664         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34665         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
34666         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
34667         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
34668         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
34669         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
34670         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
34671         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
34672         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34673         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
34674         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
34675         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
34676         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
34677         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
34678         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
34679         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
34680         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34682 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
34684         [BZ #16245]
34685         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
34686         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
34688 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
34690         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
34691         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34692         Likewise.
34694 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34696         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
34697         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
34698         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
34699         (__fesetround): Remove define.
34700         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
34701         rounding and exceptions handling.
34702         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
34703         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
34704         (__fe_nomask_env): Likewise.
34705         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
34706         __fegetround instead of fegetround.
34707         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34708         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
34710 2013-11-21  Roland McGrath  <roland@hack.frob.com>
34712         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
34713         it's there.
34715         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
34717 2013-11-21  Meador Inge  <meadori@codesourcery.com>
34719         [BZ #11157]
34720         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
34721         (encrypt_r): Likewise.
34722         * malloc/obstack.h (obstack_free): Likewise.
34723         * posix/unistd.h (encrypt): Likewise.
34725 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
34727         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
34728         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
34729         DL_CALL_DT_FINI() that call the functions directly.
34730         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
34731         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
34732         * elf/dl-fini.c: Likewise.
34734 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
34736         * malloc/hooks.c (memalign_check): Add alignment rounding.
34737         * malloc/malloc.c (_mid_memalign): New function.
34738         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
34739         Implement by calling _mid_memalign.
34740         * manual/probes.texi (Memory Allocation Probes): Remove
34741         memory_valloc_retry and memory_pvalloc_retry.
34743 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34745         * locale/programs/locarchive.c (open_archive): Add const
34746         qualifier to ARCHIVEFNAME and copy default fname to
34747         DEFAULT_FNAME.
34749         [BZ #15601]
34750         * libio/tst-widetext.input: Rename Oriya to Odia.
34751         * locale/iso-639.def: Likewise.
34753         * manual/probes.texi (Mathematical Function Probes): Add
34754         documentation for sin, cos, asin and acos probes.
34755         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
34756         (__sin32): Add slowasin probe.
34757         (__cos32): Add slowacos probe.
34758         (__mpsin): Add slowsin probe.
34759         (__mpcos): Add slowcos probe.
34761 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
34763         [BZ #15483]
34764         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
34765         thread-local __sim_exceptions_thread and global
34766         __sim_exceptions_global.
34767         (__sim_disabled_exceptions): Change to thread-local
34768         __sim_disabled_exceptions_thread and global
34769         __sim_disabled_exceptions_global.
34770         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
34771         and global __sim_round_mode_global.
34772         (__simulate_exceptions): Use thread-local floating-point state and
34773         set global state from it as needed.
34774         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
34775         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
34776         __sim_round_mode_thread.
34777         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
34778         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
34779         and global __sim_exceptions_global.
34780         (__sim_disabled_exceptions): Change to thread-local
34781         __sim_disabled_exceptions_thread and global
34782         __sim_disabled_exceptions_global.
34783         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
34784         and global __sim_round_mode_global.
34785         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
34786         (SIM_SET_GLOBAL): Likewise.
34787         * sysdeps/powerpc/soft-fp/sfp-machine.h
34788         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
34789         __sim_round_mode_thread.
34790         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
34791         __sim_disabled_exceptions_thread.
34792         (__sim_exceptions): Change to __sim_exceptions_thread.
34793         (__sim_disabled_exceptions): Change to
34794         __sim_disabled_exceptions_thread.
34795         (__sim_round_mode): Change to __sim_round_mode_thread.
34796         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
34797         thread-local floating-point state and set global state from it as
34798         needed.
34799         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
34800         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
34801         (__sim_disabled_exceptions): Remove extern declaration.
34802         (feenableexcept): Use thread-local floating-point state and set
34803         global state from it as needed.
34804         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
34805         extern declaration.
34806         (__sim_disabled_exceptions): Likewise.
34807         (__sim_round_mode): Likewise.
34808         (__fegetenv): Use thread-local floating-point state.
34809         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
34810         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
34811         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
34812         floating-point state and set global state from it as needed.
34813         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
34814         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34815         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
34816         Likewise.
34817         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34818         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
34819         Likewise.
34820         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
34821         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
34822         Use __sim_round_mode_thread.
34823         * math/test-fenv-tls.c: New file.
34824         * math/Makefile (tests): Add test-fenv-tls.
34825         ($(objpfx)test-fenv-tls): Depend on
34826         $(common-objpfx)nptl/libpthread.so.
34828 2013-11-19  Andreas Schwab  <schwab@suse.de>
34830         * locale/programs/locale.c (show_info): Decode wordarray elements.
34831         * locale/categories.def (LC_MONETARY): Add element for
34832         _NL_MONETARY_CRNCYSTR.
34833         * locale/C-monetary.c (conversion_rate): New variable.
34834         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
34835         element.
34837 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
34839         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
34840         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
34842 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34844         * elf/Makefile (tst-auxv): New test.
34845         * elf/tst-auxv.c: New
34846         * elf/rtld.c (dl_main): Adjust AT_EXECFN
34848 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
34850         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
34851         (hidden_proto): Caller changed.
34852         (hidden_tls_proto): New macro.
34853         (libc_hidden_tls_proto): Likewise.
34854         (rtld_hidden_tls_proto): Likewise.
34855         (libm_hidden_tls_proto): Likewise.
34856         (libresolv_hidden_tls_proto): Likewise.
34857         (librt_hidden_tls_proto): Likewise.
34858         (libdl_hidden_tls_proto): Likewise.
34859         (libnss_files_hidden_tls_proto): Likewise.
34860         (libnsl_hidden_tls_proto): Likewise.
34861         (libnss_nisplus_hidden_tls_proto): Likewise.
34862         (libutil_hidden_tls_proto): Likewise.
34864 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
34866         [BZ #10253]
34867         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
34868         (decompose_rpath): Defer expansion to fillin_rpath.
34869         (_dl_init_paths): Pass linkmap to fillin_rpath.
34871 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34873         * benchtests/Makefile: Add strsep.
34874         * benchtests/bench-strsep.c: New file: strsep benchtest.
34875         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
34877 2013-11-18  Andreas Schwab  <schwab@suse.de>
34879         * locale/programs/locale.c (show_info) [case byte]: Check for
34880         '\377' instead of '\177'.
34881         * locale/C-monetary.c (not_available): Always use "\377".
34882         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
34883         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
34884         detect unavailable sign_posn locale elements.
34885         * locale/localeconv.c (__localeconv): For grouping and
34886         mon_grouping handle "\177" and "\377" like no grouping.
34887         (INT_ELEM): New macro.  Use it to set all numeric members.
34888         * locale/programs/ld-monetary.c (monetary_read)
34889         <tok_mon_grouping>: Normalize single -1 to the empty string.
34890         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
34891         Likewise.
34893 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
34895         [BZ #16055]
34896         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
34897         when we match (nil).
34898         * stdio-common/tst-sscanf.c (struct test): Add testcase.
34900 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
34902         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
34903         (NO_TEST_INLINE): Update value.
34904         (ERRNO_UNCHANGED): Likewise.
34905         (ERRNO_EDOM): Likewise.
34906         (ERRNO_ERANGE): Likewise.
34907         (IGNORE_RESULT): Likewise.
34908         (check_float_internal): Check signs of NaN results if
34909         TEST_NAN_SIGN used.
34910         (check_complex): Pass TEST_NAN_SIGN flag through to second
34911         check_float_internal call.
34912         (copysign_test_data): Add tests with quiet NaNs as second
34913         argument.  Use TEST_NAN_SIGN.
34914         (fabs_test_data): Add test of negative quiet NaN argument.  Use
34915         TEST_NAN_SIGN.
34916         (signbit_test_data): Add tests of quiet NaN argument.
34917         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
34919         * math/gen-libm-test.pl (show_exceptions): Take extra argument
34920         $ignore_result.
34921         (parse_args): Handle function results specified as IGNORE.
34922         * math/libm-test.inc (IGNORE_RESULT): New macro.
34923         (check_float_internal): Do not check numerical result if flag
34924         IGNORE_RESULT set.
34925         (check_complex): Pass through IGNORE_RESULT to second
34926         check_float_internal call.
34927         (check_int): Do not check numerical result if flag IGNORE_RESULT
34928         set.
34929         (check_long): Likewise.
34930         (check_bool): Likewise.
34931         (check_longlong): Likewise.
34932         (lrint_test_data): Add tests of infinite and NaN arguments.
34933         (lrint_tonearest_test_data): Likewise.
34934         (lrint_towardzero_test_data): Likewise.
34935         (lrint_downward_test_data): Likewise.
34936         (lrint_upward_test_data): Likewise.
34937         (llrint_test_data): Likewise.
34938         (llrint_tonearest_test_data): Likewise.
34939         (llrint_towardzero_test_data): Likewise.
34940         (llrint_downward_test_data): Likewise.
34941         (llrint_upward_test_data): Likewise.
34942         (lround_test_data): Likewise.
34943         (llround_test_data): Likewise.
34945         * math/libm-test.inc (NO_TEST_INLINE): New macro.
34946         (ERRNO_UNCHANGED): Update value.
34947         (ERRNO_EDOM): Likewise.
34948         (ERRNO_ERANGE): Likewise.
34949         (NO_TEST_INLINE_FLOAT): New macro.
34950         (NO_TEST_INLINE_DOUBLE): Likewise.
34951         (enable_test): New function.
34952         (RUN_TEST_f_f): Check enable_test before running test.
34953         (RUN_TEST_2_f): Likewise.
34954         (RUN_TEST_fff_f): Likewise.
34955         (RUN_TEST_c_f): Likewise.
34956         (RUN_TEST_f_f1): Likewise.
34957         (RUN_TEST_fF_f1): Likewise.
34958         (RUN_TEST_fI_f1): Likewise.
34959         (RUN_TEST_ffI_f1): Likewise.
34960         (RUN_TEST_c_c): Likewise.
34961         (RUN_TEST_cc_c): Likewise.
34962         (RUN_TEST_f_i): Likewise.
34963         (RUN_TEST_f_i_tg): Likewise.
34964         (RUN_TEST_ff_i_tg): Likewise.
34965         (RUN_TEST_f_b): Likewise.
34966         (RUN_TEST_f_b_tg): Likewise.
34967         (RUN_TEST_f_l): Likewise.
34968         (RUN_TEST_f_L): Likewise.
34969         (RUN_TEST_fFF_11): Likewise.
34970         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
34971         conditionals.
34972         (cosh_test_data): Likewise.
34973         (exp_test_data): Likewise.
34974         (expm1_test_data): Likewise.
34975         (hypot_test_data): Likewise.
34976         (pow_test_data): Likewise.
34977         (sinh_test_data): Likewise.
34978         (tanh_test_data): Likewise.
34979         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
34980         flags argument.
34982         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
34983         tests with quiet NaN input and output.
34984         (acosh_test_data): Likewise.
34985         (asin_test_data): Likewise.
34986         (asinh_test_data): Likewise.
34987         (atan_test_data): Likewise.
34988         (atanh_test_data): Likewise.
34989         (atan2_test_data): Likewise.
34990         (cbrt_test_data): Likewise.
34991         (cos_test_data): Likewise.
34992         (cosh_test_data): Likewise.
34993         (erf_test_data): Likewise.
34994         (erfc_test_data): Likewise.
34995         (exp_test_data): Likewise.
34996         (exp10_test_data): Likewise.
34997         (exp2_test_data): Likewise.
34998         (expm1_test_data): Likewise.
34999         (hypot_test_data): Likewise.
35000         (j0_test_data): Likewise.
35001         (j1_test_data): Likewise.
35002         (jn_test_data): Likewise.
35003         (lgamma_test_data): Likewise.
35004         (log_test_data): Likewise.
35005         (log10_test_data): Likewise.
35006         (log1p_test_data): Likewise.
35007         (log2_test_data): Likewise.
35008         (pow_test_data): Likewise.
35009         (scalb_test_data): Likewise.
35010         (sin_test_data): Likewise.
35011         (sincos_test_data): Likewise.
35012         (sinh_test_data): Likewise.
35013         (tan_test_data): Likewise.
35014         (tanh_test_data): Likewise.
35015         (tgamma_test_data): Likewise.
35016         (y0_test_data): Likewise.
35017         (y1_test_data): Likewise.
35018         (yn_test_data): Likewise.
35020         [BZ #16167]
35021         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
35022         argument being NaN and avoid computations with second argument in
35023         that case.
35024         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35025         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35026         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35028 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
35030         * locale/iso-639.def: Add Chitwani Tharu (the).
35032 2013-11-14  Andreas Schwab  <schwab@suse.de>
35034         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
35035         word instead of empty string.
35037 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35040         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
35041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35042         (__fe_nomask_env): Likewise.
35044 2013-11-13  Steve Ellcey  <sellcey@mips.com>
35046         * benchtests/bench-timing.h: Include time.h.
35048 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
35050         [BZ #15997]
35051         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35052         to 3.4.0 for x32.
35053         * sysdeps/unix/sysv/linux/configure: Regenerated.
35055 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
35057         [BZ #16151]
35058         * stdlib/strtod_l.c (round_and_return): Do not consider
35059         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
35060         exponent one less than half the least subnormal exponent.
35061         * stdlib/test-strtod-round-data: Add more tests.
35062         * stdlib/tst-strtod-round.c (tests): Regenerated.
35064 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35066         [BZ #14143]
35067         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
35068         (__fe_mask_env): Likewise.
35069         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
35070         libm_hidden_proto and add function prototype.
35071         (__fe_mask_env): Add function prototype.
35072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35073         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
35074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35075         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
35076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35077         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
35079 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35081         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
35082         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
35084 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35086         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
35087         of htab_find_slot().
35089 2013-11-11  David S. Miller  <davem@davemloft.net>
35091         [BZ #16150]
35092         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
35093         symbol in the non-vis3 case in static builds.
35094         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
35095         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
35096         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
35097         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
35099 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
35101         [BZ #387]
35102         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
35103         it is empty.
35105 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35107         * benchtests/Makefile: Add bench-strtod.
35108         * benchtests/bench-strtod.c: New file: strtod benchtest
35110 2013-11-11  Andreas Schwab  <schwab@suse.de>
35112         [BZ #16153]
35113         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
35114         terminating NUL in key length.
35116 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35118         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35119         Add artificial ODP entry for vDSO symbol for PPC64.
35120         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
35121         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35123 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
35125         [BZ #15374]
35126         * nss/getent.c (services_keys): Recognize services starting with digit.
35128 2013-11-06  David S. Miller  <davem@davemloft.net>
35130         [BZ #15985]
35131         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
35132         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
35134 2013-11-06  Will Newton  <will.newton@linaro.org>
35136         * manual/memory.texi (Malloc Examples): Remove register
35137         keyword from examples.
35139 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
35141         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
35143 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
35145         [BZ #6981]
35146         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
35147         depending on [__GCC_IEC_559 > 0].
35148         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
35149         depending on [__GCC_IEC_559_COMPLEX > 0].
35151 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
35153         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
35154         to iso-639.def.
35156 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
35158         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
35160 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
35162         [BZ #16112]
35163         * malloc/malloc (malloc_info): Do not handle first bin as
35164         special case.
35166 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
35168         * locale/iso-639.def: Add Central Nahuatl (nhn).
35170 2013-11-01  Bruno Haible  <bruno@clisp.org>
35172         [BZ #7003]
35173         * manual/math.texi (BSD Random): Specify range upper bound as
35174         in POSIX.
35176 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
35178         * locale/iso-639.def: Add Meadow Mari (mhr).
35180 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
35182         [BZ #14752], [BZ #15763]
35183         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
35184         Validate name.
35185         * rt/tst_shm.c: Add test for escaping directory.
35187 2013-10-31  Andreas Schwab  <schwab@suse.de>
35189         [BZ #15917]
35190         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
35191         followed by 'x' as part of digit sequence.
35192         * stdio-common/tst-sscanf.c (double_tests2): New tests.
35194 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
35196         [BZ #16037]
35197         * configure.ac: allow GNU Make 4.0 and greater.
35198         * configure: Regenerated.
35200 2013-10-30  Will Newton  <will.newton@linaro.org>
35202         [BZ #16038]
35203         * malloc/hooks.c (memalign_check): Limit alignment to the
35204         maximum representable power of two.
35205         * malloc/malloc.c (__libc_memalign): Likewise.
35206         * malloc/tst-memalign.c (do_test): Add test for very
35207         large alignment values.
35208         * malloc/tst-posix_memalign.c (do_test): Likewise.
35210 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35212         [BZ #11087]
35213         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
35214         (munmap_chunk): Likewise.
35215         (mremap_chunk): Likewise.
35217 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
35219         [BZ #15799]
35220         * stdlib/div.c (div): Remove obsolete code.
35221         * stdlib/ldiv.c (ldiv): Likewise.
35222         * stdlib/lldiv.c (lldiv): Likewise.
35224 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35226         [BZ #16071]
35227         * nss/nss_files/files-XXX.c (get_contents_ret): New
35228         enumerator.
35229         (get_contents): New function.
35230         (internal_getent): Use it.  Expand size of LINEBUFLEN.
35232 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
35234         * configure.in: Moved to ...
35235         * configure.ac: ... here. Change reference to configure.in
35236         to configure.ac.
35237         * sysdeps/arm/preconfigure.ac: ... here.
35238         configure.in to configure.ac.
35239         * sysdeps/gnu/configure.in: Moved to ...
35240         * sysdeps/gnu/configure.ac: ... here.
35241         * sysdeps/i386/configure.in: Moved to ...
35242         * sysdeps/i386/configure.ac: ... here.
35243         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
35244         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
35245         * sysdeps/mach/configure.in: Moved to ...
35246         * sysdeps/mach/configure.ac: ... here.
35247         * sysdeps/mach/hurd/configure.in: Moved to ...
35248         * sysdeps/mach/hurd/configure.ac: ... here.
35249         * sysdeps/powerpc/configure.in: Moved to ...
35250         * sysdeps/powerpc/configure.ac: ... here.
35251         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
35252         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
35253         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
35254         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
35255         * sysdeps/s390/s390-32/configure.in: Moved to ...
35256         * sysdeps/s390/s390-32/configure.ac: ... here.
35257         * sysdeps/s390/s390-64/configure.in: Moved to ...
35258         * sysdeps/s390/s390-64/configure.ac: ... here.
35259         * sysdeps/sh/configure.in: Moved to ...
35260         * sysdeps/sh/configure.ac: ... here.
35261         * sysdeps/sparc/configure.in: Moved to ...
35262         * sysdeps/sparc/configure.ac: ... here.
35263         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
35264         * sysdeps/unix/sysv/linux/configure.ac: ... here.
35265         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
35266         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
35267         * sysdeps/x86_64/configure.in: Moved to ...
35268         * sysdeps/x86_64/configure.ac: ... here.
35269         * sysdeps/x86_64/preconfigure.in: Moved to ...
35270         * sysdeps/x86_64/preconfigure.ac: ... here.
35271         * aclocal.m4: Change reference to configure.in to configure.ac.
35272         * config.h.in: Likewise.
35273         * manual/install.texi: Likewise.
35274         * manual/maint.texi: Likewise.
35275         * Makefile: Likewise.
35276         * malloc/Makefile: Likewise.
35277         * nscd/Makefile: Likewise.
35278         * Makeconfig: Change reference to configure.in and
35279         preconfigure.in to configure.ac and preconfigure.ac
35280         respectively.
35281         * INSTALL: Regenerated.
35282         * configure: Likewise.
35283         * sysdeps/gnu/configure: Likewise.
35284         * sysdeps/i386/configure: Likewise.
35285         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
35286         * sysdeps/mach/configure: Likewise.
35287         * sysdeps/mach/hurd/configure: Likewise.
35288         * sysdeps/powerpc/configure: Likewise.
35289         * sysdeps/powerpc/powerpc32/configure: Likewise.
35290         * sysdeps/powerpc/powerpc64/configure: Likewise.
35291         * sysdeps/s390/s390-32/configure: Likewise.
35292         * sysdeps/s390/s390-64/configure: Likewise.
35293         * sysdeps/sh/configure: Likewise.
35294         * sysdeps/sparc/configure: Likewise.
35295         * sysdeps/unix/sysv/linux/configure: Likewise.
35296         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
35297         * sysdeps/x86_64/configure: Likewise.
35298         * sysdeps/x86_64/preconfigure: Likewise.
35300 2013-10-29  Andreas Schwab  <schwab@suse.de>
35302         * stdio-common/Makefile (tst-swscanf-ENV): Define.
35304 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35306         * benchtests/pow-inputs: Add new inputs.
35308         * benchtests/exp-inputs: Add new inputs.
35310         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
35311         conditional check for return value.
35312         (__cos32): Likewise.
35314 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35316         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
35317         to provide a boost for large inputs with word alignment.
35318         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
35319         implementation based on optimized PPC64 strcpy.
35320         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
35321         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
35322         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
35323         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
35325 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35327         [BZ #2801]
35328         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
35330 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35332         [BZ #14876]
35333         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
35334         * time/tst-strptime.c (day_tests): Add testcase.
35336 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
35338         [BZ #14029]
35339         * manual/pattern.texi: Acknowledge that fnmatch can fail.
35341 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
35343         [BZ #16074]
35344         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
35345         MAP_FAILED on error.
35347 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35349         [BZ #16072]
35350         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
35351         heap for large requests.
35353 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
35355         [BZ #9954]
35356         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
35357         result if the result has no associated interface.
35358         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
35359         interface for all 127.X.Y.Z addresses.
35361 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
35363         * locale/iso-639.def: Add Ligurian (lij)
35365 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
35367         [BZ #15825]
35368         * sunrpc/rpc_main.c: Document rpcgen -5.
35370 2013-10-19  Michael Stahl  <mstahl@redhat.com>
35372         * elf/rtld.c (do_preload): Print the reason why preloading failed.
35374 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35376         [BZ #10278]
35377         * posix/glob.c: Match only directories when trailing slash is present.
35378         * posix/tst-gnuglob.c (my_opendir): Do not open files.
35379         (main): Add testcase.
35381 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
35383         [BZ #15670]
35384         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
35386 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
35388         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
35389         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
35390         AUTH_DES and cindex for FIPS 140-2.
35391         (DES Encryption): Add cindex FIPS 46-3.
35393         * locale/locarchive.h (struct locarhandle): Add fname.
35394         * locale/programs/localedef.c (main): Pass ARGV[remaining]
35395         if an optional argument was specified to --list-archive,
35396         otherwise NULL.
35397         * locale/programs/locarchive.c (show_archive_content): Take new
35398         argument fname and pass it via ah.fname to open_archive.
35399         * locale/programs/localedef.h: Update decl.
35400         (open_archive): If AH->fname is non-null, open that file
35401         rather than the default file name, and don't ignore ENOENT.
35402         (create_archive): Set AH.fname to NULL.
35403         (delete_locales_from_archive): Likewise.
35404         (add_locales_to_archive): Likewise.
35405         * locale/programs/locfile.c (write_all_categories): Likewise.
35407 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
35408             Aldy Hernandez  <aldyh@redhat.com>
35410         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
35411         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
35412         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
35413         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
35414         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
35415         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
35416         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
35417         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
35418         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
35419         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
35420         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
35421         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
35422         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
35423         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
35424         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
35425         Likewise.
35426         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
35427         Likewise.
35428         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
35429         Likewise.
35430         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
35431         Likewise.
35432         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
35433         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
35434         Likewise.
35435         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
35436         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
35437         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
35438         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
35439         Likewise.
35440         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
35441         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
35442         * sysdeps/powerpc/preconfigure: Likewise.
35443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
35444         Likewise.
35445         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
35446         Replace contents of file by #include of <fenv_libc.h>.
35447         * sysdeps/powerpc/soft-fp/sfp-machine.h
35448         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
35449         and <sys/prctl.h>.
35450         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
35451         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
35452         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
35453         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
35454         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
35455         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
35456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
35457         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
35458         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
35459         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
35460         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
35461         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
35462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35463         Allow copysignl PLT reference to be missing.
35465 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
35466             Joseph Myers  <joseph@codesourcery.com
35468         [BZ #15948]
35469         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
35470         single character.
35471         (add_to_tablewc): Assert sequence of wide characters is nonempty.
35473 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35475         * elf/tst-tls-dlinfo.c: Don't include tls.h.
35476         * elf/tst-tls1.c: Likewise.
35477         * elf/tst-tls10.h: Likewise.
35478         * elf/tst-tls14.c: Likewise.
35479         * elf/tst-tls2.c: Likewise.
35480         * elf/tst-tls3.c: Likewise.
35481         * elf/tst-tls4.c: Likewise.
35482         * elf/tst-tls5.c: Likewise.
35483         * elf/tst-tls6.c: Likewise.
35484         * elf/tst-tls7.c: Likewise.
35485         * elf/tst-tls8.c: Likewise.
35486         * elf/tst-tls9.c: Likewise.
35487         * elf/tst-tlsmod1.c: Likewise.
35488         * elf/tst-tlsmod13.c: Likewise.
35489         * elf/tst-tlsmod13a.c: Likewise.
35490         * elf/tst-tlsmod14a.c: Likewise.
35491         * elf/tst-tlsmod16a.c: Likewise.
35492         * elf/tst-tlsmod16b.c: Likewise.
35493         * elf/tst-tlsmod2.c: Likewise.
35494         * elf/tst-tlsmod3.c: Likewise.
35495         * elf/tst-tlsmod4.c: Likewise.
35496         * elf/tst-tlsmod5.c: Likewise.
35497         * elf/tst-tlsmod6.c: Likewise.
35499 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
35501         [BZ #12486]
35502         * malloc/malloc.c: remove checks for statistics.
35504 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35506         [BZ #15277]
35507         * inet/inet_net.c (inet_network): Detect additional invalid strings.
35508         * inet/tst-network.c: Add testcase.
35510 2013-10-17  Andreas Schwab  <schwab@suse.de>
35512         [BZ #15218]
35513         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
35514         to determine canonical name.
35516 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
35518         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
35519         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
35520         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35521         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35522         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35523         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35524         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35525         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35526         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35527         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35528         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35529         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35530         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35531         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35532         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35533         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35534         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35535         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35536         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35537         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35538         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35539         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35540         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35541         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
35542         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
35543         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35544         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35545         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
35546         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35547         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
35548         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35549         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35550         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35551         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35552         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35553         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35554         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35555         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35556         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35557         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35558         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35559         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35560         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35561         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35562         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35563         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35564         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35565         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35566         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35567         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35568         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35569         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35570         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35571         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35572         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35573         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35575         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35577 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
35579         [BZ #16041]
35580         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
35581         make result into a quiet NaN.
35583 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
35585         * soft-fp/adddf3.c: Fix horizontal whitespace.
35586         * soft-fp/addsf3.c: Likewise.
35587         * soft-fp/addtf3.c: Likewise.
35588         * soft-fp/divdf3.c: Likewise.
35589         * soft-fp/divsf3.c: Likewise.
35590         * soft-fp/divtf3.c: Likewise.
35591         * soft-fp/double.h: Likewise.
35592         * soft-fp/eqdf2.c: Likewise.
35593         * soft-fp/eqsf2.c: Likewise.
35594         * soft-fp/eqtf2.c: Likewise.
35595         * soft-fp/extenddftf2.c: Likewise.
35596         * soft-fp/extended.h: Likewise.
35597         * soft-fp/extendsfdf2.c: Likewise.
35598         * soft-fp/extendsftf2.c: Likewise.
35599         * soft-fp/extendxftf2.c: Likewise.
35600         * soft-fp/fixdfdi.c: Likewise.
35601         * soft-fp/fixdfsi.c: Likewise.
35602         * soft-fp/fixdfti.c: Likewise.
35603         * soft-fp/fixsfdi.c: Likewise.
35604         * soft-fp/fixsfsi.c: Likewise.
35605         * soft-fp/fixsfti.c: Likewise.
35606         * soft-fp/fixtfdi.c: Likewise.
35607         * soft-fp/fixtfsi.c: Likewise.
35608         * soft-fp/fixtfti.c: Likewise.
35609         * soft-fp/fixunsdfdi.c: Likewise.
35610         * soft-fp/fixunsdfsi.c: Likewise.
35611         * soft-fp/fixunsdfti.c: Likewise.
35612         * soft-fp/fixunssfdi.c: Likewise.
35613         * soft-fp/fixunssfsi.c: Likewise.
35614         * soft-fp/fixunssfti.c: Likewise.
35615         * soft-fp/fixunstfdi.c: Likewise.
35616         * soft-fp/fixunstfsi.c: Likewise.
35617         * soft-fp/fixunstfti.c: Likewise.
35618         * soft-fp/floatdidf.c: Likewise.
35619         * soft-fp/floatdisf.c: Likewise.
35620         * soft-fp/floatditf.c: Likewise.
35621         * soft-fp/floatsidf.c: Likewise.
35622         * soft-fp/floatsisf.c: Likewise.
35623         * soft-fp/floatsitf.c: Likewise.
35624         * soft-fp/floattidf.c: Likewise.
35625         * soft-fp/floattisf.c: Likewise.
35626         * soft-fp/floattitf.c: Likewise.
35627         * soft-fp/floatundidf.c: Likewise.
35628         * soft-fp/floatundisf.c: Likewise.
35629         * soft-fp/floatunditf.c: Likewise.
35630         * soft-fp/floatunsidf.c: Likewise.
35631         * soft-fp/floatunsisf.c: Likewise.
35632         * soft-fp/floatunsitf.c: Likewise.
35633         * soft-fp/floatuntidf.c: Likewise.
35634         * soft-fp/floatuntisf.c: Likewise.
35635         * soft-fp/floatuntitf.c: Likewise.
35636         * soft-fp/fmadf4.c: Likewise.
35637         * soft-fp/fmasf4.c: Likewise.
35638         * soft-fp/fmatf4.c: Likewise.
35639         * soft-fp/gedf2.c: Likewise.
35640         * soft-fp/gesf2.c: Likewise.
35641         * soft-fp/getf2.c: Likewise.
35642         * soft-fp/ledf2.c: Likewise.
35643         * soft-fp/lesf2.c: Likewise.
35644         * soft-fp/letf2.c: Likewise.
35645         * soft-fp/muldf3.c: Likewise.
35646         * soft-fp/mulsf3.c: Likewise.
35647         * soft-fp/multf3.c: Likewise.
35648         * soft-fp/negdf2.c: Likewise.
35649         * soft-fp/negsf2.c: Likewise.
35650         * soft-fp/negtf2.c: Likewise.
35651         * soft-fp/op-1.h: Likewise.
35652         * soft-fp/op-2.h: Likewise.
35653         * soft-fp/op-4.h: Likewise.
35654         * soft-fp/op-8.h: Likewise.
35655         * soft-fp/op-common.h: Likewise.
35656         * soft-fp/quad.h: Likewise.
35657         * soft-fp/single.h: Likewise.
35658         * soft-fp/soft-fp.h: Likewise.
35659         * soft-fp/sqrtdf2.c: Likewise.
35660         * soft-fp/sqrtsf2.c: Likewise.
35661         * soft-fp/sqrttf2.c: Likewise.
35662         * soft-fp/subdf3.c: Likewise.
35663         * soft-fp/subsf3.c: Likewise.
35664         * soft-fp/subtf3.c: Likewise.
35665         * soft-fp/truncdfsf2.c: Likewise.
35666         * soft-fp/trunctfdf2.c: Likewise.
35667         * soft-fp/trunctfsf2.c: Likewise.
35668         * soft-fp/trunctfxf2.c: Likewise.
35669         * soft-fp/unorddf2.c: Likewise.
35670         * soft-fp/unordsf2.c: Likewise.
35671         * soft-fp/unordtf2.c: Likewise.
35673 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
35675         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
35676         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
35678 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
35680         * elf/dl-libc.c: Clear initfini list after freeing.
35682 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
35684         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
35685         * soft-fp/addsf3.c: Likewise.
35686         * soft-fp/addtf3.c: Likewise.
35687         * soft-fp/divdf3.c: Likewise.
35688         * soft-fp/divsf3.c: Likewise.
35689         * soft-fp/divtf3.c: Likewise.
35690         * soft-fp/double.h: Likewise.
35691         * soft-fp/eqdf2.c: Likewise.
35692         * soft-fp/eqsf2.c: Likewise.
35693         * soft-fp/eqtf2.c: Likewise.
35694         * soft-fp/extenddftf2.c: Likewise.
35695         * soft-fp/extended.h: Likewise.
35696         * soft-fp/extendsfdf2.c: Likewise.
35697         * soft-fp/extendsftf2.c: Likewise.
35698         * soft-fp/extendxftf2.c: Likewise.
35699         * soft-fp/fixdfdi.c: Likewise.
35700         * soft-fp/fixdfsi.c: Likewise.
35701         * soft-fp/fixdfti.c: Likewise.
35702         * soft-fp/fixsfdi.c: Likewise.
35703         * soft-fp/fixsfsi.c: Likewise.
35704         * soft-fp/fixsfti.c: Likewise.
35705         * soft-fp/fixtfdi.c: Likewise.
35706         * soft-fp/fixtfsi.c: Likewise.
35707         * soft-fp/fixtfti.c: Likewise.
35708         * soft-fp/fixunsdfdi.c: Likewise.
35709         * soft-fp/fixunsdfsi.c: Likewise.
35710         * soft-fp/fixunsdfti.c: Likewise.
35711         * soft-fp/fixunssfdi.c: Likewise.
35712         * soft-fp/fixunssfsi.c: Likewise.
35713         * soft-fp/fixunssfti.c: Likewise.
35714         * soft-fp/fixunstfdi.c: Likewise.
35715         * soft-fp/fixunstfsi.c: Likewise.
35716         * soft-fp/fixunstfti.c: Likewise.
35717         * soft-fp/floatdidf.c: Likewise.
35718         * soft-fp/floatdisf.c: Likewise.
35719         * soft-fp/floatditf.c: Likewise.
35720         * soft-fp/floatsidf.c: Likewise.
35721         * soft-fp/floatsisf.c: Likewise.
35722         * soft-fp/floatsitf.c: Likewise.
35723         * soft-fp/floattidf.c: Likewise.
35724         * soft-fp/floattisf.c: Likewise.
35725         * soft-fp/floattitf.c: Likewise.
35726         * soft-fp/floatundidf.c: Likewise.
35727         * soft-fp/floatundisf.c: Likewise.
35728         * soft-fp/floatunsidf.c: Likewise.
35729         * soft-fp/floatunsisf.c: Likewise.
35730         * soft-fp/floatuntidf.c: Likewise.
35731         * soft-fp/floatuntisf.c: Likewise.
35732         * soft-fp/floatuntitf.c: Likewise.
35733         * soft-fp/fmadf4.c: Likewise.
35734         * soft-fp/fmasf4.c: Likewise.
35735         * soft-fp/fmatf4.c: Likewise.
35736         * soft-fp/gedf2.c: Likewise.
35737         * soft-fp/gesf2.c: Likewise.
35738         * soft-fp/getf2.c: Likewise.
35739         * soft-fp/ledf2.c: Likewise.
35740         * soft-fp/lesf2.c: Likewise.
35741         * soft-fp/letf2.c: Likewise.
35742         * soft-fp/muldf3.c: Likewise.
35743         * soft-fp/mulsf3.c: Likewise.
35744         * soft-fp/multf3.c: Likewise.
35745         * soft-fp/negdf2.c: Likewise.
35746         * soft-fp/negsf2.c: Likewise.
35747         * soft-fp/negtf2.c: Likewise.
35748         * soft-fp/op-1.h: Likewise.
35749         * soft-fp/op-2.h: Likewise.
35750         * soft-fp/op-4.h: Likewise.
35751         * soft-fp/op-8.h: Likewise.
35752         * soft-fp/op-common.h: Likewise.
35753         * soft-fp/quad.h: Likewise.
35754         * soft-fp/single.h: Likewise.
35755         * soft-fp/soft-fp.h: Likewise.
35756         * soft-fp/sqrtdf2.c: Likewise.
35757         * soft-fp/sqrtsf2.c: Likewise.
35758         * soft-fp/sqrttf2.c: Likewise.
35759         * soft-fp/subdf3.c: Likewise.
35760         * soft-fp/subsf3.c: Likewise.
35761         * soft-fp/subtf3.c: Likewise.
35762         * soft-fp/truncdfsf2.c: Likewise.
35763         * soft-fp/trunctfdf2.c: Likewise.
35764         * soft-fp/trunctfsf2.c: Likewise.
35765         * soft-fp/trunctfxf2.c: Likewise.
35766         * soft-fp/unorddf2.c: Likewise.
35767         * soft-fp/unordsf2.c: Likewise.
35768         * soft-fp/unordtf2.c: Likewise.
35770 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
35772         [BZ #15672]
35773         * misc/error.c (error_tail): Fix possible buffer overflow.
35775 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
35777         [BZ #13028]
35778         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
35779         address.
35781 2013-10-14  P. J. McDermott  <pj@pehjota.net>
35783         [BZ #832]
35784         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
35785         testing pipefail option.
35787 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
35789         * soft-fp/double.h: Indent preprocessor directives inside #if.
35790         * soft-fp/extended.h: Likewise.
35791         * soft-fp/op-2.h: Likewise.
35792         * soft-fp/op-4.h: Likewise.
35793         * soft-fp/op-common.h: Likewise.
35794         * soft-fp/quad.h: Likewise.
35795         * soft-fp/single.h: Likewise.
35796         * soft-fp/soft-fp.h: Likewise.
35798 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
35800         * iconv/iconv_prog.c: Fix typos.
35801         * stdio-common/psiginfo-data.h: Likewise.
35803 2013-10-12   Reuben Thomas <rrt@sc3d.org>
35805         [BZ #15764]
35806         * locale/setlocale.c: Fix typo.
35808 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
35810         [BZ #16036]
35811         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
35812         signaling NaN arguments.
35813         * soft-fp/unordsf2.c (__unordsf2): Likewise.
35814         * soft-fp/unordtf2.c (__unordtf2): Likewise.
35816         [BZ #14910]
35817         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
35818         unordered operands.
35819         * soft-fp/gesf2.c (__gesf2): Likewise.
35820         * soft-fp/getf2.c (__getf2): Likewise.
35821         * soft-fp/ledf2.c (__ledf2): Likewise.
35822         * soft-fp/lesf2.c (__lesf2): Likewise.
35823         * soft-fp/letf2.c (__letf2): Likewise.
35825         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
35826         * soft-fp/eqsf2.c (__eqsf2): Likewise.
35827         * soft-fp/eqtf2.c (__eqtf2): Likewise.
35828         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
35829         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
35830         * soft-fp/fixdfti.c (__fixdfti): Likewise.
35831         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
35832         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
35833         * soft-fp/fixsfti.c (__fixsfti): Likewise.
35834         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
35835         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
35836         * soft-fp/fixtfti.c (__fixtfti): Likewise.
35837         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
35838         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
35839         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
35840         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
35841         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
35842         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
35843         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
35844         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
35845         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
35846         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
35847         * soft-fp/floatdisf.c (__floatdisf): Likewise.
35848         * soft-fp/floatsisf.c (__floatsisf): Likewise.
35849         * soft-fp/floattidf.c (__floattidf): Likewise.
35850         * soft-fp/floattisf.c (__floattisf): Likewise.
35851         * soft-fp/floattitf.c (__floattitf): Likewise.
35852         * soft-fp/floatundidf.c (__floatundidf): Likewise.
35853         * soft-fp/floatundisf.c (__floatundisf): Likewise.
35854         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
35855         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
35856         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
35857         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
35858         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
35859         * soft-fp/gesf2.c (__gesf2): Likewise.
35860         * soft-fp/getf2.c (__getf2): Likewise.
35861         * soft-fp/ledf2.c (__ledf2): Likewise.
35862         * soft-fp/lesf2.c (__lesf2): Likewise.
35863         * soft-fp/letf2.c (__letf2): Likewise.
35865         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
35866         Undefine and redefine.
35867         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
35868         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
35869         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
35870         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
35871         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35872         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
35873         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35874         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
35875         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35876         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
35877         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35878         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
35879         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35880         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
35881         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
35883         [BZ #16032]
35884         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
35885         without decrementing exponent if mantissa >= that for the
35886         denominator, not >.
35887         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
35888         denominator, not >.  Decrement exponent in < case instead of
35889         incrementing in >= case.
35890         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
35891         without decrementing exponent if mantissa >= that for the
35892         denominator, not >.
35894         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
35895         computing saturated result for unsigned overflow.
35897 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35898             Jeff Law  <law@redhat.com>
35900         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
35901         (atan2Mp): Add systemtap probe marker.
35902         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
35903         (__ieee754_log): Add systemtap probe marker.
35904         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
35905         (atanMp): Add systemtap probe marker.
35906         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
35907         (tanMp): Add systemtap probe marker.
35908         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
35909         (__slowexp): Add systemtap probe marker.
35910         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
35911         (__slowpow): Add systemtap probe marker.
35912         * manual/probes.texi: Document probes.
35914 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
35916         [BZ #15362]
35917         * libio/fileops.c (_IO_new_file_write): Return count of bytes
35918         written.
35919         (_IO_new_file_xsputn): Don't return EOF if nothing has been
35920         written.
35921         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
35922         written to buffer but not flushed.
35923         * libio/iofwrite_u.c:  Likewise.
35924         * libio/iopadn.c:  Return bytes returned even if EOF was
35925         encountered.
35926         * libio/iowpadn.c:  Likewise.
35927         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
35928         if _IO_padn does not write the whole buffer.
35929         [!COMPILE_WPRINTF] (PAD): Likewise.
35931 2013-10-10  David S. Miller  <davem@davemloft.net>
35933         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
35934         directory block.
35936 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
35938         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
35939         instead of FSF address.
35940         * soft-fp/fixdfti.c: Likewise.
35941         * soft-fp/fixsfti.c: Likewise.
35942         * soft-fp/fixtfti.c: Likewise.
35943         * soft-fp/fixunsdfti.c: Likewise.
35944         * soft-fp/fixunssfti.c: Likewise.
35945         * soft-fp/fixunstfti.c: Likewise.
35946         * soft-fp/floattidf.c: Likewise.
35947         * soft-fp/floattisf.c: Likewise.
35948         * soft-fp/floattitf.c: Likewise.
35949         * soft-fp/floatuntidf.c: Likewise.
35950         * soft-fp/floatuntisf.c: Likewise.
35951         * soft-fp/floatuntitf.c: Likewise.
35952         * soft-fp/trunctfxf2.c: Likewise.
35954         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
35955         * soft-fp/fixdfti.c: Likewise.
35956         * soft-fp/fixsfti.c: Likewise.
35957         * soft-fp/fixtfti.c: Likewise.
35958         * soft-fp/fixunsdfti.c: Likewise.
35959         * soft-fp/fixunssfti.c: Likewise.
35960         * soft-fp/fixunstfti.c: Likewise.
35961         * soft-fp/floattidf.c: Likewise.
35962         * soft-fp/floattisf.c: Likewise.
35963         * soft-fp/floattitf.c: Likewise.
35964         * soft-fp/floatuntidf.c: Likewise.
35965         * soft-fp/floatuntisf.c: Likewise.
35966         * soft-fp/floatuntitf.c: Likewise.
35967         * soft-fp/trunctfxf2.c: Likewise.
35969 2013-10-10  David S. Miller  <davem@davemloft.net>
35971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35973 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
35975         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35976         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
35977         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
35978         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
35979         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
35980         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
35981         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
35983         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
35984         for NaNs before doing comparisons on argument.
35985         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
35986         Likewise.
35988 2013-10-10  Will Newton  <will.newton@linaro.org>
35990         * malloc/hooks.c (memalign_check): Ensure the value of bytes
35991         passed to _int_memalign does not overflow.
35993 2013-10-10  Torvald Riegel  <triegel@redhat.com>
35995         * scripts/bench.pl: Add include-sources directive.
35996         * benchtests/README: Update documentation.
35998 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
36000         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
36001         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
36002         instead of FP_INIT_ROUNDMODE.
36003         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
36004         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
36006         [BZ #16034]
36007         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
36008         copy class of input value.
36009         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
36010         not handle exceptions.
36011         * soft-fp/negsf2.c (__negsf2): Likewise.
36012         * soft-fp/negtf2.c (__negtf2): Likewise.
36013         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
36015 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
36017         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
36018         semicolon.  From Linux kernel.
36020 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
36022         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
36024 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
36026         [BZ #156]
36027         * manual/socket.texi: Added statement about buffer
36028         for gethostbyname2_r.
36030 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
36032         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
36033         Use .p2align directive instead, throughout.
36034         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36035         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36036         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
36037         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36038         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36039         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
36040         * sysdeps/x86_64/strchr.S: Likewise.
36041         * sysdeps/x86_64/strrchr.S: Likewise.
36043 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36045         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
36047         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
36049         * sysdeps/generic/math_private.h (__mpsin1): Remove
36050         declaration.
36051         (__mpcos1): Likewise.
36052         (__mpsin): New argument __range_reduce.
36053         (__mpcos): Likewise.
36054         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36055         (slow): Use __mpsin and __mpcos.
36056         (slow1): Likewise.
36057         (slow2): Likewise.
36058         (sloww): Likewise.
36059         (sloww1): Likewise.
36060         (sloww2): Likewise.
36061         (bsloww): Likewise.
36062         (bsloww1): Likewise.
36063         (bsloww2): Likewise.
36064         (cslow2): Likewise.
36065         (csloww): Likewise.
36066         (csloww1): Likewise.
36067         (csloww2): Likewise.
36068         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
36069         range_reduce.  Merge in __mpsin1.
36070         (__mpcos): Likewise.
36071         (__mpsin1): Remove.
36072         (__mpcos1): Likewise.
36074 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
36076         * locale/loadlocale.c (_nl_intern_locale_data): Use
36077         LOCFILE_ALIGNED_P.
36078         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
36079         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
36080         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
36081         obstack data is appropriately aligned.
36082         (obstack_int32_grow_fast): Likewise.
36083         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
36084         * locale/programs/locfile.c (add_locale_uint32): Likewise.
36085         (add_locale_uint32_array): Likewise.
36087 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
36089         * benchtests/Makefile: Remove ARGLIST and RET variables.
36090         ($(objpfx)bench-%.c): Pass only function name to the script.
36091         * benchtests/README: Update documentation.
36092         * benchtests/acos-inputs: Add new directives.
36093         * benchtests/acosh-inputs: Likewise.
36094         * benchtests/asin-inputs: Likewise.
36095         * benchtests/asinh-inputs: Likewise.
36096         * benchtests/atan-inputs: Likewise.
36097         * benchtests/atanh-inputs: Likewise.
36098         * benchtests/cos-inputs: Likewise.
36099         * benchtests/cosh-inputs: Likewise.
36100         * benchtests/exp-inputs: Likewise.
36101         * benchtests/log-inputs: Likewise.
36102         * benchtests/pow-inputs: Likewise.
36103         * benchtests/rint-inputs: Likewise.
36104         * benchtests/sin-inputs: Likewise.
36105         * benchtests/sinh-inputs: Likewise.
36106         * benchtests/tan-inputs: Likewise.
36107         * benchtests/tanh-inputs: Likewise.
36108         * scripts/bench.pl: Add support for new directives.
36110 2013-10-07  Alan Modra  <amodra@gmail.com>
36112         * README: Fix careless merge.
36114 2013-10-05  Alan Modra  <amodra@gmail.com>
36116         * NEWS: Mention powerpc64le support and bugs fixed.
36117         * README: Both big-endian and little-endian powerpc64 supported.
36119 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36121         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
36122         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
36123         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
36124         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
36126 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
36128         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
36129         match prototype.
36131 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
36133         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
36134         Move -mhard-float appending from
36135         ports/sysdeps/powerpc/powerpc32/Makefile.
36136         [$(with-fp) = yes] (ASFLAGS): Likewise.
36137         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
36138         * sysdeps/powerpc/nofpu: Move directory from
36139         ports/sysdeps/powerpc/nofpu.
36140         * sysdeps/powerpc/soft-fp: Move directory from
36141         ports/sysdeps/powerpc/soft-fp.
36142         * sysdeps/powerpc/powerpc32/405: Move directory from
36143         ports/sysdeps/powerpc/powerpc32/405.
36144         * sysdeps/powerpc/powerpc32/440: Move directory from
36145         ports/sysdeps/powerpc/powerpc32/440.
36146         * sysdeps/powerpc/powerpc32/464: Move directory from
36147         ports/sysdeps/powerpc/powerpc32/464.
36148         * sysdeps/powerpc/powerpc32/476: Move directory from
36149         ports/sysdeps/powerpc/powerpc32/476.
36150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
36151         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
36152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
36153         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
36154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
36155         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
36156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
36157         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
36158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
36159         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
36160         * README: Update for powerpc-*-linux-gnu software floating point
36161         support in libc.
36163         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
36164         case to powerpc/powerpc32*.
36165         * sysdeps/unix/sysv/linux/configure: Regenerated.
36167         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
36168         (_FPU_MASK_OM): Define as 0x04.
36169         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
36170         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
36171         0x00c10080.
36172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
36173         0x0000003c.
36174         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
36176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
36177         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36178         getcontext_e500.
36179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
36180         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
36181         setcontext_e500.
36182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
36183         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
36184         and setcontext_e500.
36186 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
36188         * locale/iso-3166.def: Update iso-1366.def and related occurrences
36190 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36192         * manual/threads.texi (Default Thread Attributes): Fix typo.
36194 2013-10-04  Will Newton  <will.newton@linaro.org>
36196         * malloc/Makefile: Add tst-memalign.
36197         * malloc/tst-memalign.c: New file.
36199         * malloc/tst-posix_memalign.c: Add comments.
36200         (do_test): Add comments and call free on all potentially
36201         allocated pointers. Add space after cast.
36203         * malloc/tst-pvalloc.c: Add comments.
36204         (do_test): Add comments and call free on all potentially
36205         allocated pointers. Remove duplicate check for NULL pointer.
36206         Add space after cast.
36208         * malloc/tst-valloc.c: Add comments.
36209         (do_test): Add comments and call free on all potentially
36210         allocated pointers. Remove duplicate check for NULL pointer.
36211         Add space after cast.
36213 2013-10-04  Alan Modra  <amodra@gmail.com>
36215         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36216         Use stdint types in rather than __attribute__((mode())).
36217         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36219 2013-10-04  Alan Modra  <amodra@gmail.com>
36221         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36222         Correct handling of unaligned relocs for little-endian.
36223         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36225 2013-10-04  Alan Modra  <amodra@gmail.com>
36227         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
36228         * configure: Regenerate.
36229         * nptl/shlib-versions: Powerpc*le starts at 2.18.
36230         * shlib-versions: Likewise.
36232 2013-10-04  Alan Modra  <amodra@gmail.com>
36234         * string/tester.c (test_memrchr): Increment reported test cycle.
36236 2013-10-04  Alan Modra  <amodra@gmail.com>
36238         * string/test-memcpy.c (do_one_test): When reporting errors, print
36239         string address and don't overrun end of string.
36241 2013-10-04  Alan Modra  <amodra@gmail.com>
36243         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
36244         insrdi.  Make better use of reg selection to speed exit slightly.
36245         Schedule entry path a little better.  Remove useless "are we done"
36246         checks on entry to main loop.  Handle wrapping around zero address.
36247         Correct main loop count.  Handle single left-over word from main
36248         loop inline rather than by using loop_small.  Remove extra word
36249         case in loop_small caused by wrong loop count.  Add little-endian
36250         support.
36251         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36252         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
36253         cache hint.
36254         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36255         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
36256         support.  Avoid rlwimi.
36257         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
36259 2013-10-04  Alan Modra  <amodra@gmail.com>
36261         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
36262         insrdi.  Formatting.
36263         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
36264         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36265         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36266         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36267         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36268         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
36270 2013-10-04  Alan Modra  <amodra@gmail.com>
36272         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
36273         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36274         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36275         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
36276         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36277         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36278         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36279         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36280         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
36281         use of regs.  Use power7 mtocrf.  Tidy function tails.
36283 2013-10-04  Alan Modra  <amodra@gmail.com>
36285         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
36286         Formatting.  Consistently use rXXX register defines or rN defines.
36287         Use early exit labels that avoid restoring unused non-volatile regs.
36288         Make cr field use more consistent with rWORDn compares.  Rename
36289         regs used as shift registers for unaligned loop, using rN defines
36290         for short lifetime/multiple use regs.
36291         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36292         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
36293         addi 1,1,64 to pop stack frame.  Simplify return value code.
36294         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36296 2013-10-04  Alan Modra  <amodra@gmail.com>
36298         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
36299         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
36300         rather than rlwimi.
36301         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
36302         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
36303         little-endian support.  Correct typos.
36304         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
36305         rather than rlwimi.
36306         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
36307         in loop and entry code to keep "and." results.
36308         (strchr): Add little-endian support.  Comment.  Move cntlzd
36309         earlier in tail.
36310         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
36312 2013-10-04  Alan Modra  <amodra@gmail.com>
36314         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
36315         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
36316         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
36317         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
36319 2013-10-04  Alan Modra  <amodra@gmail.com>
36321         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
36322         (rTMP): Define as r11.
36323         (strcmp): Add little-endian support.  Optimise tail.
36324         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
36325         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36326         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36327         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36328         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36329         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36330         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36332 2013-10-04  Alan Modra  <amodra@gmail.com>
36334         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
36335         little-endian support.  Remove unnecessary "are we done" tests.
36336         Handle "s" wrapping around zero and extremely large "size".
36337         Correct main loop count.  Handle single left-over word from main
36338         loop inline rather than by using small_loop.  Correct comments.
36339         Delete "zero" tail, use "end_max" instead.
36340         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
36342 2013-10-04  Alan Modra  <amodra@gmail.com>
36344         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
36345         support.  Don't branch over align.
36346         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
36347         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
36348         support.  Rearrange tmp reg use to suit.  Comment.
36349         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
36351 2013-10-04  Alan Modra  <amodra@gmail.com>
36353         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
36355 2013-10-04  Alan Modra  <amodra@gmail.com>
36357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
36358         conditional form of branch and link when obtaining pc.
36359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
36361 2013-10-04  Alan Modra  <amodra@gmail.com>
36363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
36364         HIWORD/LOWORD.
36365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
36366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
36368 2013-10-04  Alan Modra  <amodra@gmail.com>
36370         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
36371         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
36372         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36373         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
36374         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36375         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36376         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
36377         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36378         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36379         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
36381 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36382             Alistair Popple <alistair@ozlabs.au.ibm.com>
36383             Alan Modra <amodra@gmail.com>
36385         [BZ #15723]
36386         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
36387         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
36388         _dl_hwcap access for little-endian.
36389         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36390         destroy vmx regs when saving unaligned.
36391         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
36392         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
36393         destroy vmx regs when saving unaligned.
36395 2013-10-04  Alan Modra  <amodra@gmail.com>
36397         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
36398         Don't use a union to pack hi/low value.
36400 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36402         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36403         for little-endian.
36404         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36405         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
36406         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36407         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36408         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36410 2013-10-04  Alan Modra  <amodra@gmail.com>
36412         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
36413         constants to usual value for .cst8 section, and remove redundant
36414         high address load.
36415         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
36416         constant for 0x1p52.  Load little-endian words of double from
36417         correct stack offsets.
36419 2013-10-04  Alan Modra  <amodra@gmail.com>
36421         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
36422         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
36423         words of double from correct stack offsets.
36424         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36425         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
36426         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36427         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36428         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36429         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36430         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36431         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36432         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36433         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36434         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36435         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36436         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36437         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36438         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36439         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
36440         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36442 2013-10-04  Alan Modra  <amodra@gmail.com>
36444         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
36445         64-bit int/double union.
36446         (_FPU_SETCW): Likewise.
36447         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
36448         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
36450 2013-10-04  Alan Modra  <amodra@gmail.com>
36452         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
36453         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
36455 2013-10-04  Alan Modra  <amodra@gmail.com>
36457         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
36458         use vector int constants.
36459         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
36461 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36463         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
36464         array with long long.
36465         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
36466         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
36467         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
36468         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
36469         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
36470         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
36471         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
36472         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
36473         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
36474         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
36475         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
36476         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
36477         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
36479 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
36481         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
36482         (__signbit): Likewise.  Correct for little-endian.
36483         (__signbitl): Call __signbit.
36484         (lrint): Correct for little-endian.
36485         (lrintf): Call lrint.
36487 2013-10-04  Alan Modra  <amodra@gmail.com>
36489         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
36490         union 32-bit int array member with 64-bit int array.
36491         (t515, tm256): Double rather than long double.
36492         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
36494 2013-10-04  Alan Modra  <amodra@gmail.com>
36496         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
36497         Delete.
36498         (IEEE854_LONG_DOUBLE_BIAS): Delete.
36499         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
36500         version of math_ldbl.h.
36502 2013-10-04  Alan Modra  <amodra@gmail.com>
36504         [BZ #15734], [BZ #15735]
36505         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
36506         all uses of ieee875 long double macros and unions.  Simplify test
36507         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
36508         ldbl_extract_mantissa value for ix,iy exponents.  Properly
36509         normalize after ldbl_extract_mantissa, and don't add hidden bit
36510         already handled.  Don't treat low word of ieee854 mantissa like
36511         low word of IBM long double and mask off bit when testing for
36512         zero.
36513         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
36514         all uses of ieee875 long double macros and unions.  Simplify tests
36515         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
36516         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
36517         two1022, instead use their values.  Recognise that tests for large
36518         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
36519         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
36520         Rewrite all uses of ieee875 long double macros and unions.  Simplify
36521         test for 0.0L and nan.  Correct negation.
36522         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
36523         ieee875 long double macros and unions.  Correct output for large
36524         magnitude x.  Correct absolute value calculation.
36525         (__erfcl): Likewise.
36526         * math/libm-test.inc: Add tests for errors discovered in IBM long
36527         double versions of fmodl, remainderl, erfl and erfcl.
36529 2013-10-04  Alan Modra  <amodra@gmail.com>
36531         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
36532         all uses of ieee854 long double macros and unions.  Simplify tests
36533         for long doubles that are fully specified by the high double.
36534         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
36535         Likewise.
36536         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
36537         Remove dead code too.
36538         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
36539         (__ieee754_ynl): Likewise.
36540         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
36541         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
36542         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
36543         Remove dead code too.
36544         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
36545         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
36546         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
36547         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
36548         Simplify.
36549         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
36550         Simplify.
36551         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
36552         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
36553         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
36554         Comment on variable precision.
36555         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
36556         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36557         Likewise.
36558         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36559         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
36560         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
36561         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
36562         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
36564 2013-10-04  Alan Modra  <amodra@gmail.com>
36566         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
36567         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
36568         all uses of ieee854 long double macros and unions.
36569         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
36570         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36571         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
36572         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
36573         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
36574         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36575         Likewise.
36576         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
36577         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36578         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
36579         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36580         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
36581         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
36582         Simplify sign and nan test too.
36583         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
36584         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
36585         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
36586         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
36587         Likewise.
36588         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36589         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
36590         Likewise.
36591         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36592         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
36593         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
36594         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
36595         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
36596         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
36598 2013-10-04  Alan Modra  <amodra@gmail.com>
36600         * stdio-common/printf_size.c (__printf_size): Don't use
36601         union ieee854_long_double in fpnum union.
36602         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
36603         signbit macro to retrieve sign from long double.
36604         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
36605         retrieve sign from long double.
36606         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
36607         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
36608         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
36609         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36610         * math/test-misc.c (main): Don't use union ieee854_long_double.
36612 2013-10-04  Alan Modra  <amodra@gmail.com>
36614         [BZ #15680]
36615         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
36616         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
36617         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
36618         calculation.  Remove unnecessary test for denormal exponent.
36619         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
36620         Correct handling of denormals.  Avoid undefined shift behaviour.
36621         Correct normalisation of low mantissa when low double is denormal.
36622         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
36623         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
36624         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
36625         Correct normalisation of low mantissa.  Test for overflow of high
36626         mantissa and normalise.
36627         (ldbl_nearbyint): Use more readable constant for two52.
36628         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
36629         (__mpn_construct_long_double): Fix test for overflow of high
36630         mantissa and correct normalisation.  Avoid undefined shift.
36632 2013-10-04  Alan Modra  <amodra@gmail.com>
36634         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
36635         (union ibm_extended_long_double): Define as an array of ieee754_double.
36636         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
36637         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
36638         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
36639         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36640         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36641         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
36642         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36643         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36644         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36645         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
36646         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36648 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
36650         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
36651         page size instead of calling getpagesize.
36653         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
36654         (LOCFILE_ALIGN_MASK): Likewise.
36655         (LOCFILE_ALIGN_UP): Likewise.
36656         (LOCFILE_ALIGNED_P): Likewise.
36657         * locale/programs/ld-collate.c (collate_output): Use the new
36658         macros instead of __alignof__ (int32_t).
36659         * locale/weight.h (findidx): Likewise.
36661 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
36663         [BZ #431]
36664         * manual/string.texi: Fix strncat and wcsncat.
36666 2013-10-03  Brooks Moses  <bmoses@google.com>
36668         [BZ #15915]
36669         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
36670         * Makerules: ...here, and adjust associated comments.
36672 2013-10-02  Will Newton  <will.newton@linaro.org>
36674         * malloc/Makefile: Add tst-pvalloc.
36675         * malloc/tst-pvalloc.c: New file.
36677 2013-10-02  Will Newton  <will.newton@linaro.org>
36679         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
36680         improve test coverage.
36682 2013-10-02  Will Newton  <will.newton@linaro.org>
36684         * malloc/Makefile: Add tst-posix_memalign.
36685         * malloc/tst-posix_memalign.c: New file.
36687 2013-10-01  Eric Blake  <eblake@redhat.com>
36689         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
36690         Use __THROWNL rather than __THROW on static functions.
36692 2013-09-30  Petr Machata  <pmachata@redhat.com>
36694         * elf/elf.h (R_AARCH64_ABS16): New macro.
36695         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
36696         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
36697         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
36698         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
36699         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
36700         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
36701         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
36702         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
36703         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
36704         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
36705         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
36706         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
36707         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
36708         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
36709         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
36710         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
36711         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
36712         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
36713         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
36714         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
36715         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
36716         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
36717         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
36718         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
36719         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
36720         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
36721         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
36722         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
36723         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
36724         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
36725         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
36726         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
36727         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
36728         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
36729         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
36730         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
36731         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
36732         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
36733         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
36734         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
36735         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
36736         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
36737         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
36738         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
36739         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
36740         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
36741         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
36742         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
36743         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
36744         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
36745         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
36746         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
36747         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
36748         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
36749         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
36750         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
36751         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
36752         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
36753         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
36754         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
36755         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
36756         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
36757         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
36758         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
36759         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
36760         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
36761         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
36762         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
36763         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
36764         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
36765         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
36766         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
36767         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
36768         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
36769         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
36770         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
36771         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
36772         (R_AARCH64_TLSDESC_LDR): Likewise.
36773         (R_AARCH64_TLSDESC_ADD): Likewise.
36774         (R_AARCH64_TLSDESC_CALL): Likewise.
36776 2013-09-30  Andreas Schwab  <schwab@suse.de>
36778         [BZ #15048]
36779         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
36780         the nss database lookup.
36781         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36782         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36784 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
36786         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
36788 2013-09-28  P. J. McDermott  <pj@pehjota.net>
36790         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
36791         ${Bash-specific parameter/pattern/string} parameter expansion.
36792         * sysdeps/unix/make-syscalls.sh: Likewise.
36794 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36796         * sysdeps/sh/stackguard-macros.h: New file.
36798 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
36800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
36802         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
36803         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
36804         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36805         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
36807 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36809         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
36810         Fix thread ID register.
36812 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
36814         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
36815         [POSIX || UNIX98]: Require rather than permitting all symbols from
36816         <time.h>.
36817         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
36818         element of struct sched_param.
36819         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
36820         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
36821         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
36822         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
36823         constant.
36825 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
36827         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
36828         argument calculation.
36830 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
36832         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
36833         Expect macro.
36834         [POSIX] (pthread_attr_t): Do not require type.
36835         [POSIX] (pthread_cond_t): Likewise.
36836         [POSIX] (pthread_condattr_t): Likewise.
36837         [POSIX] (pthread_key_t): Likewise.
36838         [POSIX] (pthread_mutex_t): Likewise.
36839         [POSIX] (pthread_mutexattr_t): Likewise.
36840         [POSIX] (pthread_once_t): Likewise.
36841         [POSIX] (pthread_t): Likewise.
36842         [POSIX-based standards] (pthread_atfork): Expect function.
36844 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
36845             Richard Sandiford  <richard@codesourcery.com>
36847         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
36848         (swap_endianness_p): New extern variable.
36849         (set_big_endian): New inline function.
36850         (maybe_swap_uint32): Likewise.
36851         (maybe_swap_uint32_array): Likewise.
36852         (maybe_swap_uint32_obstack): Likewise.
36853         * locale/programs/locfile.c: Include <stdbool.h>.
36854         (swap_endianness_p): New variable.
36855         (add_locale_uint32): Call maybe_swap_uint32.
36856         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
36857         (write_locale_data): Call maybe_swap_uint32_array.
36858         * locale/programs/ld-collate.c (obstack_int32_grow): Call
36859         maybe_swap_uint32.
36860         (obstack_int32_grow_fast): Likewise.
36861         (output_weightwc): Call maybe_swap_uint32_obstack.
36862         (collate_output): Likewise.
36863         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
36864         (OPT_LITTLE_ENDIAN): Likewise.
36865         (options): Add --little-endian and --big-endian options.
36866         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
36867         * locale/programs/locarchive.c: Include "locfile.h".
36868         (GET): New macro.
36869         (SET): Likewise.
36870         (INC): Likewise.
36871         (create_archive): Use the new macros to access fields of
36872         structures directly mapped from or written to locale archives.
36873         (oldlocrecentcmp): Likewise.
36874         (enlarge_archive): Likewise.
36875         (insert_name): Likewise.
36876         (add_alias): Likewise.
36877         (add_locale): Likewise.
36878         (delete_locales_from_archive): Likewise.
36879         (show_archive_content): Likewise.
36880         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
36881         locale data.
36883 2013-09-24  Roland McGrath  <roland@hack.frob.com>
36885         * manual/freemanuals.texi: Updated from (newly) canonical copy at
36886         http://www.gnu.org/doc/freemanuals.texi.
36887         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
36889 2013-09-24  Will Newton  <will.newton@linaro.org>
36891         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
36892         macro.
36894 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
36896         * locale/hashval.h (compute_hashval): Interpret bytes of key as
36897         unsigned char.
36899 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
36901         * manual/threads.texi (POSIX Threads): Fix a typo.
36903 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36905         [BZ #14547]
36906         * string/tst-strcoll-overflow.c: New test case.
36907         * string/Makefile (xtests): Add tst-strcoll-overflow.
36908         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
36909         cache if string sizes may cause integer overflow.
36911         [BZ #14547]
36912         * string/strcoll_l.c (coll_seq): New members rule, idx,
36913         save_idx and back_us.
36914         (get_next_seq_nocache): New function.
36915         (do_compare_nocache): New function.
36916         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
36917         when malloc fails.
36919 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
36921         [BZ #15754]
36922         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
36923         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
36924         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
36926         [BZ #15754]
36927         * elf/Makefile (tests): Add tst-ptrguard1.
36928         (tests-static): Add tst-ptrguard1-static.
36929         (tst-ptrguard1-ARGS): Define.
36930         (tst-ptrguard1-static-ARGS): Define.
36931         * elf/tst-ptrguard1.c: New file.
36932         * elf/tst-ptrguard1-static.c: New file.
36933         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
36934         * sysdeps/i386/stackguard-macros.h: Likewise.
36935         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
36936         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
36937         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
36938         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
36939         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
36940         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
36942 2013-09-23  Hector Marco  <hecmargi@upv.es>
36943             Ismael Ripoll  <iripoll@disca.upv.es>
36944             Carlos O'Donell  <carlos@redhat.com>
36946         [BZ #15754]
36947         * sysdeps/generic/stackguard-macros.h: Define
36948         __pointer_chk_guard_local and POINTER_CHK_GUARD.
36949         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
36950         Define __pointer_chk_guard_local.
36951         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
36952         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
36954 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
36956         [BZ #15859]
36957         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
36959 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
36961         * include/string.h (__ffs): Declare as hidden.
36962         * string/ffs.c (__ffs): Define as hidden.
36963         * sysdeps/i386/ffs.c (__ffs): Likewise.
36964         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
36965         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
36966         * sysdeps/s390/ffs.c (__ffs): Likewise.
36967         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
36969 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
36971         * NEWS: Mention malloc probes.
36973         * malloc/arena.c (new_heap): New memory_heap_new probe.
36974         (grow_heap): New memory_heap_more probe.
36975         (shrink_heap): New memory_heap_less probe.
36976         (heap_trim): New memory_heap_free probe.
36977         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
36978         (systrim): New memory_sbrk_less probe.
36979         * manual/probes.texi: Document them.
36981         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
36982         * manual/probes.texi: Document it.
36984         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
36985         (__libc_realloc): Add memory_realloc_retry probe.
36986         (__libc_memalign): Add memory_memalign_retry probe.
36987         (__libc_valloc): Add memory_valloc_retry probe.
36988         (__libc_pvalloc): Add memory_pvalloc_retry probe.
36989         (__libc_calloc): Add memory_calloc_retry probe.
36990         * manual/probes.texi: Document them.
36992         * malloc/arena.c (get_free_list): Add probe
36993         memory_arena_reuse_free_list.
36994         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
36995         and memory_arena_reuse.
36996         (arena_get2) [!PER_THREAD]: Likewise.
36997         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
36998         memory_arena_reuse_realloc.
36999         * manual/probes.texi: Document them.
37001         * malloc/malloc.c (__libc_free): Add
37002         memory_mallopt_free_dyn_thresholds probe.
37003         (__libc_mallopt): Add multiple memory_mallopt probes.
37004         * manual/probes.texi: Document them.
37006         * malloc/malloc.c: Include stap-probe.h.
37007         (__libc_mallopt): Add memory_mallopt probe.
37008         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
37009         * manual/probes.texi: New.
37010         * manual/Makefile (chapters): Add probes.
37011         * manual/threads.texi: Set next node.
37013 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
37015         [BZ #15963, #13985]
37016         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
37017         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
37018         Add `Chinese' to `nan' entry name.
37020 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37022         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
37023         (POLYNOMIAL): Likewise.
37024         (TAYLOR_SINCOS): Likewise.
37025         (TAYLOR_SLOW): Likewise.
37026         (__sin): Use TAYLOR_SINCOS.
37027         (__cos): Likewise.
37028         (slow): Use TAYLOR_SLOW.
37029         (sloww): Likewise.
37030         (bsloww): Likewise.
37031         (csloww): Likewise.
37033 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37035         * stdlib/strtod_l.c: Fix buffer overrun.
37037 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37039         * benchtests/Makefile (bench): Add sincos.
37040         * benchtests/bench-sincos.c: New file.
37042         * math/libm-test.inc (cos_test_data): New test inputs.
37043         (sin_test_data): Likewise.
37045         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
37046         macro.
37047         (__sin): Use it.
37048         (__cos): Likewise.
37049         (slow1): Likewise.
37050         (slow2): Likewise.
37051         (sloww1): Likewise.
37052         (sloww2): Likewise.
37053         (bsloww1): Likewise.
37054         (bsloww2): Likewise.
37055         (cslow2): Likewise.
37056         (csloww1): Likewise.
37057         (csloww2): Likewise.
37059         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
37060         function.
37061         (__sin): Use it.
37062         (__cos): Likewise.
37064         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
37065         gotos.
37066         (__cos): Likewise.
37068 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
37070         * config.h.in (HAVE_MIPS_NAN2008): New macro.
37071         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
37072         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
37073         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
37074         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
37075         * elf/cache.c (print_entry): Handle the new cache flags.
37077 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37078             Aldy Hernandez  <aldyh@redhat.com>
37080         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
37081         Change condition to [_SOFT_FLOAT].
37082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
37083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
37084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
37085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
37086         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
37087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
37088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
37089         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
37090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
37091         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
37092         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
37093         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
37094         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
37095         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
37096         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
37097         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
37098         declaration.
37100 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
37102         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
37103         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37104         (__longjmp): Use LOAD_GP to load saved GPRs.
37105         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
37106         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
37107         (__sigsetjmp): Use SAVE_GP to save GPRs.
37109         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
37110         Do not append -msoft-float.
37111         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
37113 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37115         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
37117 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
37119         [BZ #15966]
37120         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
37121         (_FPU_GETCW): Use initial "__" on variable and field names but not
37122         on macro parameter name.
37123         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
37124         parentheses around reference to macro parameter.
37126 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
37128         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
37129         prototype.
37130         (ctype_startup): Use uint32_t in cast and sizeof for
37131         ctype->charnames.
37133 2013-09-11  Jia Liu  <proljc@gmail.com>
37135         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
37136         __daddr_t_defined.
37137         [__FreeBSD__]: Likewise.
37139 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
37141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
37142         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
37143         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
37144         (strchr): Remove __strchr_sse42 ifunc selection.
37145         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
37146         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
37148 2013-09-11  Will Newton  <will.newton@linaro.org>
37150         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
37151         parameter to RES. Remove hardcoded 1000 value.
37152         * benchtests/bench-skeleton.c (main): Pass RES parameter
37153         to TIMING_INIT and multiply result by 1000.
37155 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37159 2013-09-11  Andreas Schwab  <schwab@suse.de>
37161         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
37162         if not defined.
37163         (O_TMPFILE) [__USE_GNU]: Define.
37164         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
37165         Define.
37167 2013-09-11  Will Newton  <will.newton@linaro.org>
37169         [BZ #15857]
37170         * malloc/malloc.c (__libc_memalign): Check the value of bytes
37171         does not overflow.
37173 2013-09-11  Will Newton  <will.newton@linaro.org>
37175         [BZ #15856]
37176         * malloc/malloc.c (__libc_valloc): Check the value of bytes
37177         does not overflow.
37179 2013-09-11  Will Newton  <will.newton@linaro.org>
37181         [BZ #15855]
37182         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
37183         does not overflow.
37185 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
37187         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
37188         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37189         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37190         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37191         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37193 2013-09-10  Allan McRae  <allan@archlinux.org>
37195         [BZ #15748]
37196         * manual/arith.texi (Parsing of Floats): Clarify
37197         cross-reference.
37199         [BZ #15849]
37200         * manual/install.texi (Running make install): Mention
37201         --enable-pt-chown.
37202         * INSTALL: Regenerated.
37204 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
37206         * csu/init-first.c (_init): Remove the !SHARED condition around
37207         FPU control word initialization.
37208         * elf/dl-support.c (_dl_fpu_control): New variable.
37209         (_dl_aux_init) <AT_FPUCW>: Initialize it.
37210         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
37211         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
37212         * math/test-fpucw-static.c: New file.
37213         * math/test-fpucw-ieee.c: New file.
37214         * math/test-fpucw-ieee-static.c: New file.
37215         * math/Makefile (tests): Add `test-fpucw-ieee' and
37216         `$(tests-static)'.
37217         (tests-static): New variable.
37218         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
37219         dependency to...
37220         [($(build-shared),yes)]
37221         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37222         ... this.
37223         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
37224         New dependency.
37226 2013-09-09  Allan McRae  <allan@archlinux.org>
37228         [BZ #15939]
37229         * manual/string.texi (Collation Functions): Fix typo in
37230         strcoll example.
37231         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
37233         [BZ #15893]
37234         * stdlib/isomac.c (get_null_defines): Fix memory leak.
37236         [BZ #15892]
37237         * libio/memstream.c (open_memstream): Fix memory leak.
37238         * libio/wmemstream.c (open_wmemstream): Likewise.
37240         [BZ #15895]
37241         * nscd/netgroupcache.c: Fix nesting of ifdefs.
37243 2013-09-09  Will Newton  <will.newton@linaro.org>
37245         * malloc/Makefile: Add tst-realloc to tests.
37246         * malloc/tst-realloc.c: New file.
37248 2013-09-09  Allan McRae  <allan@archlinux.org>
37250         [BZ #15844]
37251         * COPYING: Update from GNU website to fix FSF address.
37252         * COPYING.LIB: Likewise.
37254 2013-09-06  David S. Miller  <davem@davemloft.net>
37256         * po/zh_TW.po: Update Chinese (traditional) translation from
37257         translation project.
37259 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
37260             Joseph Myers  <joseph@codesourcery.com>
37262         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
37263         "localeinfo.h".
37264         (obstack_chunk_alloc): New macro.
37265         (obstack_chunk_free): Likewise.
37266         (record_offset): New function.
37267         (init_locale_data): Likewise.
37268         (align_locale_data): Likewise.
37269         (add_locale_empty): Likewise.
37270         (add_locale_raw_data): Likewise.
37271         (add_locale_raw_obstack): Likewise.
37272         (add_locale_string): Likewise.
37273         (add_locale_wstring): Likewise.
37274         (add_locale_uint32): Likewise.
37275         (add_locale_uint32_array): Likewise.
37276         (add_locale_char): Likewise.
37277         (start_locale_structure): Likewise.
37278         (end_locale_structure): Likewise.
37279         (start_locale_prelude): Likewise.
37280         (end_locale_prelude): Likewise.
37281         (write_locale_data): Take locale_file structure rather than an
37282         iovec.
37283         * locale/programs/locfile.h: Include "obstack.h".
37284         (struct locale_file): Change to store locale file contents instead
37285         of header.
37286         (init_locale_data): New prototype.
37287         (align_locale_data): Likewise.
37288         (add_locale_empty): Likewise.
37289         (add_locale_raw_data): Likewise.
37290         (add_locale_raw_obstack): Likewise.
37291         (add_locale_string): Likewise.
37292         (add_locale_wstring): Likewise.
37293         (add_locale_uint32): Likewise.
37294         (add_locale_uint32_array): Likewise.
37295         (add_locale_char): Likewise.
37296         (start_locale_structure): Likewise.
37297         (end_locale_structure): Likewise.
37298         (start_locale_prelude): Likewise.
37299         (end_locale_prelude): Likewise.
37300         (write_locale_data): Update prototype.
37301         * locale/programs/3level.h (struct TABLE): Remove result field.
37302         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
37303         Use new locale_file interface.
37304         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
37305         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
37306         * locale/programs/ld-address.c (address_output): Use new
37307         locale_file interface.
37308         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
37309         NO_ADD_LOCALE.
37310         (collate_finish): Don't call collseq_table_finalize.
37311         (collate_output): Use new locale_file interface.
37312         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
37313         in file.
37314         (NO_FINALIZE): Change to NO_ADD_LOCALE.
37315         (TABLE): Move defines earlier in file.
37316         (ELEMENT): Likewise.
37317         (DEFAULT): Likewise.
37318         (wctrans_table_add): Move macro and inline function earlier in
37319         file.
37320         (struct wctype_table): Move type earlier in file.
37321         (add_locale_wctype_table): New static prototype.
37322         (struct locale_ctype_t): Use logical types instead of struct iovec
37323         pointers for members.
37324         (ctype_output): Use new locale_file interface.
37325         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
37326         new locale_file interface.
37327         (allocate_arrays): Update for use of new locale_file interface.
37328         * locale/programs/ld-identification.c (identification_output): Use
37329         new locale_file interface.
37330         * locale/programs/ld-measurement.c (measurement_output): Likewise.
37331         * locale/programs/ld-messages.c (messages_output): Likewise.
37332         * locale/programs/ld-monetary.c (monetary_output): Likewise.
37333         * locale/programs/ld-name.c (name_output): Likewise.
37334         * locale/programs/ld-numeric.c (numeric_output): Likewise.
37335         * locale/programs/ld-paper.c (paper_output): Likewise.
37336         * locale/programs/ld-telephone.c (telephone_output): Likewise.
37337         * locale/programs/ld-time.c (time_output): Likewise.
37339 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37341         * benchtests/Makefile: Add memrchr benchmark.
37342         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
37343         benchmark as memrchr.
37344         * benchtests/bench-memrchr-ifunc.c: New file.
37345         * benchtests/bench-memrchr.c: New file.
37347 2013-09-06   Will Newton  <will.newton@linaro.org>
37349         * benchtests/Makefile (string-bench): Add memcpy.
37351 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
37352             Cong Wang  <amwang@redhat.com>
37354         [BZ #15850]
37355         * sysdeps/unix/sysv/linux/bits/in.h
37356         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
37357         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
37358         before __USE_KERNEL_IPV6_DEFS uses.
37359         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
37360         IPPROTO_BEETPH.
37361         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
37362         sockaddr_in6, or ipv6_mreq.
37364 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37366         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
37367         memory access for final bytes in some large inputs.
37368         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
37370 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37372         * string/test-memrchr.c: New file.
37373         * string/test-memrchr-ifunc.c: New file.
37374         * string/Makefile: Add new memrchr testcase.
37376 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
37378         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
37379         fanotify_init returns EPERM.
37381 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37383         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
37384         errors.
37385         (top level): Treat second token from macro or constant entries for
37386         allowed headers as allowed.
37387         * include/complex.h: Condition internal declarations on
37388         [!_ISOMAC].
37389         * include/fenv.h: Condition include of <stdbool.h> and internal
37390         declarations on [!_ISOMAC].
37392 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
37394         [BZ #15923]
37395         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
37397 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
37399         * configure.in (--enable-versioning): Remove configure option.
37400         (libc_cv_asm_symver_directive): Remove configure test.
37401         (libc_cv_ld_version_script_option): Likewise.
37402         (VERSIONING): Remove variable and AC_SUBST.
37403         (DO_VERSIONING): Remove AC_DEFINE.
37404         * configure: Regenerated.
37405         * config.h.in (DO_VERSIONING): Remove macro.
37406         * Makerules [$(versioning) = yes]: Change conditionals to
37407         [$(build-shared) = yes].
37408         * config.make.in (versioning): Remove variable.
37409         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
37410         [$(build-shared) = yes].
37411         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
37412         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
37413         * elf/Makefile [$(versioning) = yes]: Change conditionals to
37414         [$(build-shared) = yes].
37415         * extra-lib.mk [$(versioning) = yes]: Likewise.
37416         * hurd/Makefile [$(versioning) = yes]: Likewise.
37417         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
37418         [SHARED].
37419         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
37420         [SHARED].
37421         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37422         [SHARED && !NO_HIDDEN].
37423         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
37424         [SHARED].
37425         [SHARED && DO_VERSIONING]: Likewise..
37426         * libio/Makefile [$(versioning) = yes]: Change conditionals to
37427         [$(build-shared) = yes].
37428         * manual/install.texi (--disable-versioning): Remove
37429         documentation.
37430         * INSTALL: Regenerated.
37431         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
37432         to [SHARED].
37433         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
37434         [$(build-shared) = yes].
37435         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
37436         * sysdeps/i386/i686/multiarch/strstr-c.c
37437         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
37438         [SHARED && !NO_HIDDEN].
37439         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
37440         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
37441         * sysdeps/powerpc/powerpc32/dl-machine.c
37442         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
37443         * sysdeps/powerpc/powerpc32/sysdep.h
37444         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
37445         to [SHARED && PIC && !NO_HIDDEN].
37446         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
37447         conditional to [SHARED].
37449 2013-09-04   Will Newton  <will.newton@linaro.org>
37451         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
37452         * benchtests/bench-string.h: Include bench-timing.h instead
37453         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
37454         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
37455         call to HP_TIMING_DIFF_INIT.
37456         * benchtests/bench-memccpy.c: Use bench-timing.h macros
37457         instead of hp-timing.h macros.
37458         * benchtests/bench-memchr.c: Likewise.
37459         * benchtests/bench-memcmp.c: Likewise.
37460         * benchtests/bench-memcpy.c: Likewise.
37461         * benchtests/bench-memmem.c: Likewise.
37462         * benchtests/bench-memmove.c: Likewise.
37463         * benchtests/bench-memset.c: Likewise.
37464         * benchtests/bench-rawmemchr.c: Likewise.
37465         * benchtests/bench-strcasecmp.c: Likewise.
37466         * benchtests/bench-strcasestr.c: Likewise.
37467         * benchtests/bench-strcat.c: Likewise.
37468         * benchtests/bench-strchr.c: Likewise.
37469         * benchtests/bench-strcmp.c: Likewise.
37470         * benchtests/bench-strcpy.c: Likewise.
37471         * benchtests/bench-strcpy_chk.c: Likewise.
37472         * benchtests/bench-strlen.c: Likewise.
37473         * benchtests/bench-strncasecmp.c: Likewise.
37474         * benchtests/bench-strncat.c: Likewise.
37475         * benchtests/bench-strncmp.c: Likewise.
37476         * benchtests/bench-strncpy.c: Likewise.
37477         * benchtests/bench-strnlen.c: Likewise.
37478         * benchtests/bench-strpbrk.c: Likewise.
37479         * benchtests/bench-strrchr.c: Likewise.
37480         * benchtests/bench-strspn.c: Likewise.
37481         * benchtests/bench-strstr.c: Likewise.
37483 2013-09-04  Will Newton  <will.newton@linaro.org>
37485         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
37487 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
37489         [BZ #15427]
37490         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37491         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
37492         * math/libm-test.inc (lgamma_test_data): Add more tests.
37493         * sysdeps/i386/fpu/libm-test-ulps: Update.
37494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37496 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
37498         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
37499         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37500         Add ifunc.
37501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37502         Add strcmp-sse2-unaligned
37503         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
37505 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37507         * Versions.def (libc): Add GLIBC_2.19.
37509 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
37511         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
37512         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
37514 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
37516         [BZ #14155]
37517         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
37518         intermediate calculations in recurrence.
37519         (__ieee754_ynf): Likewise.
37520         * math/libm-test.inc (jn_test_data): Do not allow spurious
37521         underflow exception.  Add more tests.
37522         (yn_test_data): Add more tests.
37523         * sysdeps/i386/fpu/libm-test-ulps: Update.
37524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37526 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
37528         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
37530 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37532         * csu/init-first.c: Fix then/than typos.
37533         * locale/programs/ld-collate.c: Likewise.
37534         * locale/programs/linereader.h: Likewise.
37535         * manual/charset.texi: Likewise.
37536         * manual/filesys.texi: Likewise.
37537         * manual/stdio.texi: Likewise.
37538         * manual/string.texi: Likewise.
37539         * stdlib/fmtmsg.c: Likewise.
37540         * sysdeps/i386/stpncpy.S: Likewise.
37541         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37542         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37543         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37544         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37546 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
37548         * elf/dl-open.c: Fix typos.
37549         * iconvdata/gbbig5.c: Likewise.
37550         * iconvdata/iso-2022-jp.c: Likewise.
37551         * iconv/gconv_int.h: Likewise.
37552         * iconv/loop.c: Likewise.
37553         * nis/rpcsvc/nis.h: Likewise.
37554         * resolv/ns_name.c: Likewise.
37555         * stdio-common/vfscanf.c: Likewise.
37556         * streams/stropts.h: Likewise.
37557         * sunrpc/rpc_thread.c: Likewise.
37558         * sysdeps/i386/strpbrk.S: Likewise.
37559         * sysdeps/ieee754/k_standard.c: Likewise.
37560         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37561         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37562         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
37563         * sysdeps/mach/hurd/profil.c: Likewise.
37564         * sysdeps/s390/dl-procinfo.h: Likewise.
37565         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
37566         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37567         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
37568         * sysdeps/x86_64/dl-trampoline.S: Likewise.
37569         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37571 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
37573         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
37574         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
37576 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
37578         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
37579         aix specific files.
37580         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
37581         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
37582         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
37583         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
37584         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
37585         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
37586         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
37587         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
37589 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
37590             Roland McGrath  <roland@hack.frob.com>
37592         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
37593         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
37595 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37597         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
37598         __executable_start symbol instead of _start.
37600 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
37602         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
37603         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
37604         Move macros to...
37605         * sysdeps/gnu/ldsodefs.h: ... this new file.
37607         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
37608         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
37609         instead of ELFOSABI_LINUX.
37611         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
37612         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
37613         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
37614         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
37615         Likewise.
37616         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
37617         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
37618         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
37619         Likewise.
37620         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
37621         (ibm_extended_long_double): Add ieee_nan member.
37622         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
37623         (do_test): New function.
37625         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
37626         TEST_TRUNC.
37627         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
37628         functions, renamed from truncdfsf_test, trunctfsf_test,
37629         trunctfdf_test.
37630         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
37631         functions.
37632         (do_test): Run all these.
37634 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
37636         * argp/argp-help.c: Fix typos.
37637         * argp/argp-parse.c: Likewise.
37638         * debug/backtracesyms.c: Likewise.
37639         * elf/elf.h: Likewise.
37640         * malloc/malloc.c: Likewise.
37641         * nis/nis_print.c: Likewise.
37642         * resolv/res_comp.c: Likewise.
37643         * stdlib/stdlib.h: Likewise.
37644         * sunrpc/clnt_tcp.c: Likewise.
37645         * sunrpc/clnt_udp.c: Likewise.
37646         * sunrpc/clnt_unix.c: Likewise.
37647         * sysdeps/unix/bsd/ptsname.c: Likewise.
37648         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37649         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
37650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
37651         Likewise.
37652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
37653         Likewise.
37654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
37655         Likewise.
37656         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37658 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37660         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
37661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37663 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
37665         [BZ #15897]
37666         * dlfcn/Makefile (tests): Add bug-dl-leaf.
37667         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
37668         ($(objpfx)bug-dl-leaf): New rule.
37669         ($(objpfx)bug-dl-leaf.so): Likewise.
37670         ($(objpfx)bug-dl-leaf.out): Likewise.
37671         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
37672         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
37673         * dlfcn/bug-dl-leaf.c: New test.
37674         * dlfcn/bug-dl-leaf-lib.c: Likewise.
37675         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
37676         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
37677         (dlclose): Likewise.
37678         (dlmopen): Likewise.
37680 2013-08-27  Roland McGrath  <roland@hack.frob.com>
37682         * include/netdb.h [!_ISOMAC]:
37683         Don't include <tls.h>.
37684         (h_errno, __libc_h_errno): Move declaration and macros out of
37685         [_LIBC_REENTRANT].
37687         * include/resolv.h [_RESOLV_H_]:
37688         Don't include <tls.h>.
37689         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
37690         * resolv/res_libc.c: Don't include <tls.h>.
37691         (_res): Use __attribute__ ((nocommon)) in place of
37692         __attribute__ ((section (".bss"))).
37694         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
37695         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
37697         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
37699         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
37700         only under [SIOCGIFCONF && SIOCGIFNETMASK].
37702         * resolv/res_mkquery.c: Include <sys/time.h>.
37704         * inet/ifreq.c: Moved to ...
37705         * sysdeps/unix/ifreq.c: ... here.
37706         * inet/ifreq.c: New file, true stub version.
37708         * socket/sa_len.c: New file.
37709         * socket/Makefile (aux): Add it.
37710         * sysdeps/unix/sysv/linux/Makefile
37711         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
37712         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
37713         and #include <socket/sa_len.c>.
37714         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
37715         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
37717         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
37718         * bits/socket.h: ... here.
37720         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
37721         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
37722         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
37724 2013-08-27  Andreas Schwab  <schwab@suse.de>
37726         [BZ #15736]
37727         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
37728         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
37729         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
37730         * string/test-strcasecmp.c (test_main): Run tests in several
37731         locales.
37732         * string/test-strncasecmp.c (test_main): Likewise.
37734         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
37735         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
37736         to __strcasecmp_nonascii and __strncasecmp_nonascii.
37737         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
37738         (__strncasecmp_ssse3) [PIC]: Likewise.
37740 2013-08-26  Roland McGrath  <roland@hack.frob.com>
37742         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
37744         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
37745         instead of explicitly declaring xdecrypt.
37746         * nis/nss_nis/nis-publickey.c: Likewise.
37748 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37750         [BZ #15890]
37751         * nscd/aicache.c: Include res_hconf.h.
37752         (addhstaiX): Initialize res_hconf.
37754 2013-08-26  Andreas Schwab  <schwab@suse.de>
37756         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
37757         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
37759 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37761         * nscd/aicache.c (addhstaiX): Fix indentation.
37763 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
37765         * configure.ac: Quote $build_pt_chown test.
37766         * configure: Regenerated.
37768 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
37770         [BZ #15532]
37771         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
37772         * math/s_cexpf.c (__cexpf): Likewise.
37773         * math/s_cexpl.c (__cexpl): Likewise.
37774         * math/libm-test.inc (cexp_test_data): Correct expected return
37775         value for NaN + i0.  Add another test.
37777 2013-08-22  David S. Miller  <davem@davemloft.net>
37779         * po/ca.po: Update Catalan translation from translation project.
37780         * po/uk.po: Add Ukrainian translations from translation project.
37782 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
37784         [BZ #15797]
37785         * math/s_fdim.c (__fdim): Check for infinite arguments if result
37786         is infinite, not alongside NaN test.
37787         * math/s_fdimf.c (__fdimf): Likewise.
37788         * math/s_fdiml.c (__fdiml): Likewise.
37789         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
37790         errno is unchanged.
37792 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
37794         * argp/argp-help.c: Fix typos.
37795         * crypt/speeds.c: Likewise.
37796         * csu/check_fds.c: Likewise.
37797         * elf/dl-load.c: Likewise.
37798         * elf/dl-open.c: Likewise.
37799         * elf/reldep3.c: Likewise.
37800         * elf/reldep.c: Likewise.
37801         * elf/sprof.c: Likewise.
37802         * iconv/iconv_charmap.c: Likewise.
37803         * iconv/skeleton.c: Likewise.
37804         * iconv/strtab.c: Likewise.
37805         * io/lockf64.c: Likewise.
37806         * libio/libioP.h: Likewise.
37807         * resolv/gai_notify.c: Likewise.
37808         * resolv/ns_name.c: Likewise.
37809         * resolv/ns_samedomain.c: Likewise.
37810         * resolv/res_send.c: Likewise.
37811         * stdlib/random.c: Likewise.
37812         * sunrpc/rpc/xdr.h: Likewise.
37813         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
37814         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37815         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37816         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37817         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37818         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37819         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37820         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37821         * sysdeps/mach/hurd/check_fds.c: Likewise.
37822         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37823         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37824         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37825         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37826         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37827         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37828         * sysdeps/pthread/aio_notify.c: Likewise.
37829         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
37830         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
37831         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
37832         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37833         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37835 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37837         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
37838         version if bit_Slow_SSE4_2 is set.
37839         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37840         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37842 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37844         [BZ #15867]
37845         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
37846         trampoline stack frame information.
37847         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
37848         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
37849         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
37850         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
37851         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
37852         * sysdeps/unix/sysv/linux/powerpc/init-first.c
37853         (_libc_vdso_platform_setup): Initialize the signal trampolines.
37854         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
37855         sa_flags value.
37856         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
37857         interrupting a syscall and set with option SA_SIGINFO.
37859 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37861         [BZ #15531]
37862         * math/s_cproj.c (__cproj): Only return an infinity if one part of
37863         argument is infinite.
37864         * math/s_cprojf.c (__cprojf): Likewise.
37865         * math/s_cprojl.c (__cprojl): Likewise.
37866         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
37867         * math/libm-test.inc (cproj_test_data): Add more tests.
37869         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
37871         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
37872         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
37873         size.  Use __ffs to determine corresponding shift.
37875 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
37876             Roland McGrath  <roland@hack.frob.com>
37878         * Makefile (INSTALL): Remove trailing blank lines from output of
37879         makeinfo.
37881 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37883         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
37884         Align 32 bit compat elf_greg to 8 bytes.
37886 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
37888         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
37890 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37892         * string/strcoll_l.c (coll_seq): New structure.
37893         (get_next_seq_cached): New function.
37894         (get_next_seq): New function.
37895         (do_compare): New function.
37896         (STRCOLL): Use GNU style definition.  Simplify implementation
37897         by using get_next_seq, get_next_seq_cached and do_compare.
37899 2013-08-16  Florian Weimer  <fweimer@redhat.com>
37901         [BZ #14699]
37902         CVE-2013-4237
37903         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
37904         member.
37905         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
37906         member.
37907         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
37908         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
37909         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
37910         conditional.
37911         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
37912         GETDENTS_64BIT_ALIGNED.
37913         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37914         * manual/filesys.texi (Reading/Closing Directory): Document
37915         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
37916         strongly.
37917         * manual/conf.texi (Limits for Files): Add portability note to
37918         NAME_MAX, PATH_MAX.
37919         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
37921 2013-08-13  Andreas Schwab  <schwab@suse.de>
37923         [BZ #15749]
37924         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
37925         of fabs.
37926         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
37927         LDBL_MAX_EXP >= 16384]: Add tests for it.
37929 2013-08-12  David S. Miller  <davem@davemloft.net>
37931         * version.h (RELEASE): Set to "development".
37932         (VERSION): Set to "2.18.90".
37933         * NEWS: Add 2.19 section.
37935 2013-08-03  David S. Miller  <davem@davemloft.net>
37937         * po/ko.po: Update Korean translation from translation project.
37939 2013-08-01  David S. Miller  <davem@davemloft.net>
37941         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
37942         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
37943         Bilka.
37945 2013-07-30  David S. Miller  <davem@davemloft.net>
37947         * po/fr.po: Update French translation from translation project.
37949 2013-07-28  David S. Miller  <davem@davemloft.net>
37951         * po/cs.po: Update Czech translation from translation project.
37953         * po/sv.po: Update Swedish translation from translation project.
37955 2013-07-27  David S. Miller  <davem@davemloft.net>
37957         * po/eo.po: Update Esperanto translation from translation project.
37959         * po/vi.po: Update Vietnamese translation from translation project.
37961         * po/de.po: Update German translation from translation project.
37963 2013-07-26  David S. Miller  <davem@davemloft.net>
37965         * po/bg.po: Update Bulgarian translation from translation project.
37967         * po/nl.po: Update Dutch translation from translation project.
37968         * po/pl.po: Update Polish translation from translation project.
37969         * po/ru.po: Update Russian translation from translation project.
37971 2013-07-24  David S. Miller  <davem@davemloft.net>
37973         * po/libc.pot: Update.
37975 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37977         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
37978         variable page size.
37979         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
37980         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
37981         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
37983 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37985         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
37987 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37988             Andreas Schwab  <schwab@suse.de>
37989             Roland McGrath  <roland@hack.frob.com>
37990             Joseph Myers  <joseph@codesourcery.com>
37991             Carlos O'Donell  <carlos@redhat.com>
37993         [BZ #15755]
37994         * config.h.in: Define HAVE_PT_CHOWN.
37995         * config.make.in (build-pt-chown): New variable.
37996         * configure.in (--enable-pt_chown): New configure option.
37997         * configure: Regenerate.
37998         * login/Makefile: Include Makeconfig.  Build pt_chown only if
37999         build-pt-chown is enabled.
38000         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
38001         pt_chown to fix pty ownership.
38002         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
38003         CLOSE_ALL_FDS.
38004         * manual/install.texi (Configuring and compiling): Mention
38005         --enable-pt_chown. Add @findex for grantpt.
38006         * INSTALL: Regenerate.
38008 2013-07-20  David S. Miller  <davem@davemloft.net>
38010         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
38011         difference between 32-bit and 64-bit.
38013 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
38015         [BZ #15711]
38016         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
38017         Avoid system header dependency with -ffreestanding.
38018         ($(objpfx)bits/syscall%d): Likewise.
38020 2013-07-13  David S. Miller  <davem@davemloft.net>
38022         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
38023         underflows from atanl/atan2l due to bug 15319.
38024         (casinh_test_data): Likewise.
38026 2013-07-07  David S. Miller  <davem@davemloft.net>
38028         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38030 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
38032         * sysdeps/i386/fpu/libm-test-ulps: Update.
38033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38035 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38037         * configure.in (--enable-lock-elision): Fix message text.
38038         * INSTALL: Regenerate.
38039         * configure: Regenerate.
38041 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38045 2013-07-03  Andreas Jaeger  <aj@suse.de>
38047         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
38048         define.
38049         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
38050         (ptrace_peeksiginfo_args): Add.
38051         (__ptrace_peeksiginfo_flags): Add.
38052         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38053         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38054         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38056 2013-07-03  Allan McRae  <allan@archlinux.org>
38058         * sysdeps/i386/fpu/libm-test-ulps: Update.
38060 2013-07-02  David S. Miller  <davem@davemloft.net>
38062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38064 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
38066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38068 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38070         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38073 2013-07-02  Andi Kleen <ak@linux.intel.com>
38075         * config.h.in (ENABLE_LOCK_ELISION): Add.
38076         * configure.in (--enable-lock-elision): Add option.
38077         * manual/install.texi: Document --enable lock elision.
38078         * configure: Regenerate
38079         * INSTALL: Regenerate.
38081 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
38083         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
38084         SSE4.2 strcasecmp for libc.a.
38085         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38087 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
38089         [BZ #13304]
38090         * soft-fp/op-common.h (_FP_FMA): New macro.
38091         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
38092         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
38093         (_FP_MUL_MEAT_1_imm): ... here.
38094         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
38095         (_FP_MUL_MEAT_1_wide): ... here.
38096         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
38097         (_FP_MUL_MEAT_1_hard): ... here.
38098         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
38099         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
38100         (_FP_MUL_MEAT_2_wide): ... here.
38101         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
38102         (_FP_MUL_MEAT_2_wide_3mul): ... here.
38103         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
38104         (_FP_MUL_MEAT_2_gmp): ... here.
38105         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
38106         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
38107         (_FP_MUL_MEAT_4_wide): ... here.
38108         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
38109         (_FP_MUL_MEAT_4_gmp): ... here.
38110         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
38111         (_FP_WFRACBITS_DW_S): Likewise.
38112         (_FP_WFRACXBITS_DW_S): Likewise.
38113         (_FP_HIGHBIT_DW_S): Likewise.
38114         (FP_FMA_S): Likewise.
38115         (_FP_FRAC_HIGH_DW_S): Likewise.
38116         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
38117         (_FP_WFRACBITS_DW_D): Likewise.
38118         (_FP_WFRACXBITS_DW_D): Likewise.
38119         (_FP_HIGHBIT_DW_D): Likewise.
38120         (FP_FMA_D): Likewise.
38121         (_FP_FRAC_HIGH_DW_D): Likewise.
38122         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
38123         (_FP_WFRACBITS_DW_E): Likewise.
38124         (_FP_WFRACXBITS_DW_E): Likewise.
38125         (_FP_HIGHBIT_DW_E): Likewise.
38126         (FP_FMA_E): Likewise.
38127         (_FP_FRAC_HIGH_DW_E): Likewise.
38128         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
38129         (_FP_WFRACBITS_DW_Q): Likewise.
38130         (_FP_WFRACXBITS_DW_Q): Likewise.
38131         (_FP_HIGHBIT_DW_Q): Likewise.
38132         (FP_FMA_Q): Likewise.
38133         (_FP_FRAC_HIGH_DW_Q): Likewise.
38134         * soft-fp/fmasf4.c: New file.
38135         * soft-fp/fmadf4.c: Likewise.
38136         * soft-fp/fmatf4.c: Likewise.
38138 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38141         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
38142         Silvermont.
38143         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
38144         macro.
38145         (index_Slow_SSE4_2): Likewise.
38146         (index_Prefer_PMINUB_for_stringop): Likewise.
38147         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
38148         bit_Slow_SSE4_2 is set.
38149         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38150         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38152 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38154         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
38155         rtld_global._dl_hwcap2.
38156         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
38157         POWER8.
38158         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
38159         POWER8 feature descriptions defined in _dl_hwcap2.
38160         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
38161         string handling for POWER8 feature bits.
38162         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
38163         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
38164         _dl_powerpc_cap_flags.
38165         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
38166         * sysdeps/powerpc/rtld-global-offsets.sym
38167         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
38168         _dl_hwcap2 in the rtld_global_ro structure.
38170 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38172         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
38173         hardware capabilities in support of AT_HWCAP2.
38174         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
38175         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
38176         GLRO(dl_hwcap2).
38177         (_dl_show_auxv): Add support for calling _dl_procinfo to display
38178         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
38179         explicitly the unknown a_type display mechanism is used.
38180         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
38181         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
38182         struct member.
38183         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
38184         to macro prototype for AT_HWCAP2 support.
38185         * sysdeps/i386/dl-procinfo.h: Likewise.
38186         * sysdeps/s390/dl-procinfo.h: Likewise.
38187         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
38188         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
38189         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
38190         return -1 for unknown a_type display fallback.
38191         * sysdeps/sparc/dl-procinfo.h: Likewise.
38192         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
38193         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
38195 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
38197         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
38198         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
38200 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
38202         [BZ #12492]
38203         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
38204         mprotect making __stack_prot writable.
38206 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38207             Joseph Myers  <joseph@codesourcery.com>
38209         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
38210         as being properly aligned.
38212 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
38214         * dlfcn/modstatic5.c: New file.
38215         * dlfcn/tststatic5.c: New file.
38216         * dlfcn/Makefile (tests): Add tststatic5.
38217         (tests-static): Likewise.
38218         (modules-names): Add modstatic5.
38219         (tststatic5-ENV): New variable.
38220         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
38222         [BZ #15022]
38223         * elf/dl-support.c (_dl_main_map): New variable.
38224         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
38225         (_dl_nns, _dl_load_adds): Set to 1.
38226         (_dl_initial_searchlist): Refer to _dl_main_map.
38227         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
38228         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
38229         call to _dl_get_origin.
38230         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
38231         around call_map.
38232         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
38233         * dlfcn/modstatic3.c: New file.
38234         * dlfcn/tststatic3.c: New file.
38235         * dlfcn/tststatic4.c: New file.
38236         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
38237         (tests-static): Likewise.
38238         (modules-names): Add modstatic3.
38239         (tststatic3-ENV, tststatic4-ENV): New variables.
38240         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
38241         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38243 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
38245         * configure.in (CC): Require GCC version 4.4 or later.
38246         * configure: Regenerated.
38247         * manual/install.texi (Tools for Compilation): Update GCC version
38248         requirement.
38249         * INSTALL: Regenerated.
38251 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38253         [BZ #15674]
38254         * string/test-memcmp.c (check2): New.
38255         (main): Call check2.
38257         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
38259 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
38261         [BZ #15022]
38262         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
38263         over to...
38264         (dl_open_worker) [!SHARED]: ... here.
38266 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38268         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
38270 2013-06-25  Richard Henderson  <rth@redhat.com>
38272         * locale/programs/locarchive.c: Include <libc-internal.h>
38274 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
38276         * manual/texinfo.tex: Update to version 2013-06-21.17, with
38277         trailing whitespace removed.
38279 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38281         [BZ #10283]
38282         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
38283         * locale/programs/locarchive.c: Include libc-mmap.h.
38284         (prepare_address_space): Take two new outputs (the mmap base and len).
38285         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
38286         values.
38287         (create_archive): Declare new mmap base and len values for
38288         prepare_address_space, and store the result in ah.
38289         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
38290         (enlarge_archive): If ah->mmap_base is not NULL, use that and
38291         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38292         Declare new mmap base and len values for
38293         prepare_address_space, and store the result in new_ah.
38294         (open_archive): Declare new mmap base and len values for
38295         prepare_address_space, and store the result in ah.
38296         (close_archive): If ah->mmap_base is not NULL, use that and
38297         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
38298         * sysdeps/generic/libc-mmap.h: New file.
38300 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
38302         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
38303         (ALIGN_UP): Likewise.
38304         (PTR_ALIGN_DOWN): Likewise.
38305         (PTR_ALIGN_UP): Likewise.
38307 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38309         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
38310         entry mapped to PPC_PLATFORM_POWER8.
38311         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
38312         POWER8.
38313         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
38314         (_dl_string_platform): Add case for exporting platform position for
38315         POWER8.
38316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
38317         search path to sysdeps/powerpc/powerpc32/power8 directory.
38318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
38319         search path to sysdeps/powerpc/powerpc64/power8 directory.
38320         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
38321         power7 directories.
38322         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
38323         power7 directories.
38325 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38327         * INSTALL: Regenerate.
38329         * nscd/connections.c (nscd_init): Fix comment.
38331 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
38333         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
38335         [BZ #15667]
38336         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
38337         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
38339 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38341         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
38342         DL_DST_REQ_STATIC.
38343         (DL_DST_REQ_STATIC): Remove macro.
38345 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
38347         [BZ #7006]
38348         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
38349         with a shift of 0 bits.
38351 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
38353         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
38354         $(tststatic-ENV).
38356 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38358         [BZ #15655]
38359         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
38361 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38363         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
38364         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
38365         accepts -fno-tree-loop-distribute-patterns.
38366         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
38367         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
38368         recursive call.
38369         * string/memset.c (memset): Likewise.
38370         * string/test-memmove.c (simple_memmove): Disable loop transformation
38371         to library calls.
38372         * string/test-memset.c (simple_memset): Likewise.
38373         * benchtests/bench-memmove.c (simple_memmove): Likewise.
38374         * benchtests/bench-memset.c (simple_memset): Likewise.
38375         * configure: Regenerated.
38377 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
38379         * math/test-misc.c (main): Ignore fesetround failure when failures
38380         of subsequent rounding tests would be ignored.
38382         [BZ #15654]
38383         * math/fedisblxcpt.c (fedisableexcept): Return 0.
38384         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
38385         * math/fegetenv.c (__fegetenv): Return 0.
38386         * math/fegetexcept.c (fegetexcept): Return 0.
38387         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
38388         FE_TONEAREST.
38389         * math/feholdexcpt.c (feholdexcept): Return 0.
38390         * math/fesetenv.c (__fesetenv): Return 0.
38391         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
38392         argument FE_TONEAREST.
38393         * math/feupdateenv.c (__feupdateenv): Return 0.
38394         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
38396 2013-06-18  Roland McGrath  <roland@hack.frob.com>
38398         * elf/rtld-Rules (rtld-compile-command.S): New variable.
38399         (rtld-compile-command.s, rtld-compile-command.c): New variables.
38400         ($(objpfx)rtld-%.os rules): Use them.
38402 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38404         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
38405         fields.
38407 2013-06-17  Roland McGrath  <roland@hack.frob.com>
38409         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
38410         length of target pattern, then descending length of dependency pattern.
38411         * configure.in (AWK): Require gawk 3.1.2 or newer.
38412         * manual/install.texi (Tools for Compilation): Say that we do.
38413         * configure: Regenerated.
38415         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
38416         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38417         * scripts/sysd-rules.awk: ... this new script.
38418         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
38419         than a glob-style pattern.
38421 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
38423         * math/test-misc.c (main): Do not treat incorrectly rounded
38424         conversions as failure unless ROUNDING_TESTS passes.
38426 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
38428         [BZ #15631]
38429         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
38430         restore exception state around main square root computation, then
38431         check for inexactness explicitly.
38433         * math/libm-test.inc (fma_test_data): Add another test.
38435 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38437         * manual/threads.texi (Non-POSIX Extensions): New document
38438         node.  Document pthread_getattr_default_np and
38439         pthread_setattr_default_np.
38441         * Versions.def (libpthread): Add GLIBC_2.18.
38442         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
38443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38444         Likewise.
38445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38446         Likewise.
38447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38448         Likewise.
38449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38450         Likewise.
38451         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
38452         Likewise.
38453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38454         Likewise.
38455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38456         Likewise.
38457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38458         Likewise.
38459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38460         Likewise.
38462 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38465         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
38467 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38468             H.J. Lu  <hjl.tools@gmail.com>
38470         [BZ #15627]
38471         * sysdeps/x86_64/rtld-memset.c: Remove file.
38472         * sysdeps/x86_64/rtld-memset.S: New file.
38474 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
38476         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
38477         (test_in_one_mode): Take arguments for whether the rounding mode
38478         is supported for each floating-point type.
38479         (do_test): Pass new arguments to test_in_one_mode using
38480         ROUNDING_TESTS.
38482 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38484         * posix/tst-waitid.c (do_test): Distinguish different instances of
38485         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
38486         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
38487         before entering the kernel for waitpid.
38489 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38491         * NEWS: Fix note on clock function precision.  Text by Roland
38492         McGrath.
38494 2013-06-13  Roland McGrath  <roland@hack.frob.com>
38496         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
38497         it into place only when and if the sanity check passes.
38499 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
38501         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
38502         output for whether conversion result is exact.  Take argument
38503         indicating whether type is IBM long double.
38504         (round_for_all): Change need_exact field to ibm_ld.
38505         * stdlib/tst-strtod-round.c (struct exactness): New type.
38506         (struct test): Change bool ld_ok field to struct exactness exact.
38507         (TEST): Update all definitions for change to field.
38508         (tests): Regenerate array contents.
38509         (test_in_one_mode): Take pointer to new field instead of old ld_ok
38510         field value.  Check for IBM long double here.
38511         (do_test): Update calls to test_in_one_mode.
38513 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38515         [BZ #12515]
38516         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
38517         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
38519 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38521         [BZ #15605]
38522         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
38523         generated by the compiler on loop optimizations.
38524         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
38525         general definitions.
38527 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
38529         * math/bug-nextafter.c: Include <math-tests.h>.
38530         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38531         the relevant type.
38532         * math/bug-nexttoward.c: Include <math-tests.h>.
38533         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38534         the relevant type.
38535         * math/test-misc.c: Include <math-tests.h>.
38536         (main): Only test for exceptions if EXCEPTION_TESTS is true for
38537         the relevant type.
38539 2013-06-12  Andreas Jaeger  <aj@suse.de>
38541         * po/ia.po: Update Interlingua translation from translation
38542         project.
38544 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38546         * include/fenv.h: Include stdbool.h.
38547         (struct rm_ctx): New structure.
38548         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
38549         Define macro.
38550         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
38551         (SET_RESTORE_ROUNDF): Likewise.
38552         (SET_RESTORE_ROUNDL): Likewise.
38553         (SET_RESTORE_ROUND_NOEX): Likewise.
38554         (SET_RESTORE_ROUND_NOEXF): Likewise.
38555         (SET_RESTORE_ROUND_NOEXL): Likewise.
38556         (SET_RESTORE_ROUND_53BIT): Likewise.
38557         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
38558         (libc_feresetround_noexf_ctx): Likewise.
38559         (libc_feresetround_noexl_ctx): Likewise.
38560         (libc_feholdsetround_53bit_ctx): Likewise.
38561         (libc_feresetround_53bit_ctx): Likewise.
38562         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
38563         (libc_feholdexcept_setround_sse_ctx): New function.
38564         (libc_fesetenv_sse_ctx): Likewise.
38565         (libc_feupdateenv_sse_ctx): Likewise.
38566         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
38567         (libc_feholdexcept_setround_387_ctx): Likewise.
38568         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
38569         (libc_feholdsetround_387_prec_ctx): Likewise.
38570         (libc_feholdsetround_387_ctx): Likewise.
38571         (libc_feholdsetround_387_53bit_ctx): Likewise.
38572         (libc_feholdsetround_sse_ctx): Likewise.
38573         (libc_feresetround_sse_ctx): Likewise.
38574         (libc_feresetround_387_ctx): Likewise.
38575         (libc_feupdateenv_387_ctx): Likewise.
38576         (libc_feholdexcept_setroundf_ctx): Define macro.
38577         (libc_fesetenvf_ctx): Likewise.
38578         (libc_feupdateenvf_ctx): Likewise.
38579         (libc_feholdsetroundf_ctx): Likewise.
38580         (libc_feresetroundf_ctx): Likewise.
38581         (libc_feholdexcept_setround_ctx): Likewise.
38582         (libc_fesetenv_ctx): Likewise.
38583         (libc_feupdateenv_ctx): Likewise.
38584         (libc_feholdsetround_ctx): Likewise.
38585         (libc_feresetround_ctx): Likewise.
38586         (libc_feholdexcept_setroundl_ctx): Likewise.
38587         (libc_feupdateenvl_ctx): Likewise.
38588         (libc_feholdsetroundl_ctx): Likewise.
38589         (libc_feresetroundl_ctx): Likewise.
38590         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
38591         (libc_feresetround_53bit_ctx): Likewise.
38593 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38595         * locale/iso-639.def: Convert to UTF-8.
38597 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
38599         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
38600         (EXCEPTION_TESTS_double): Likewise.
38601         (EXCEPTION_TESTS_long_double): Likewise.
38602         (EXCEPTION_TESTS): Likewise.
38603         * math/libm-test.inc (test_exceptions): Only test exceptions if
38604         EXCEPTION_TESTS (FLOAT).
38606 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38608         * benchtests/Makefile (string-bench): Add strcpy_chk and
38609         stpcpy_chk.
38610         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
38611         * benchtests/bench-stpcpy_chk.c: New file.
38612         * benchtests/bench-strcpy_chk-ifunc.c: New file.
38613         * benchtests/bench-strcpy_chk.c: New file.
38614         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
38615         code.
38616         (do_test): Likewise.
38618 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
38620         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
38621         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
38622         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
38623         with tabs where appropriate.
38624         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
38625         dl-procinfo.h.
38626         [PPC_PLATFORM_PPC440]: Likewise.
38627         [PPC_PLATFORM_PPC464]: Likewise.
38628         [PPC_PLATFORM_PPC476]: Likewise.
38629         (_dl_string_platform): Add support for detecting ppc405, ppc440,
38630         ppc464, and ppc476 platform strings merging from ports/
38631         dl-procinfo.h.
38633 2013-06-11  Andreas Schwab  <schwab@suse.de>
38635         [BZ #14991]
38636         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
38637         (from_ucs4_idx): Regenerate.
38638         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
38639         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
38640         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
38641         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
38642         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
38643         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
38644         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
38645         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
38646         from FROM_LOOP and TO_LOOP specific macros.
38647         (BODY): Handle combining characters.
38648         * iconvdata/BIG5HKSCS.irreversible: Update.
38649         * iconvdata/BIG5HKSCS.precomposed: New file.
38650         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
38651         characters.
38652         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
38654 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38656         * include/sys/time.h: Fix indentation and add copyright header.
38658         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
38659         (do_test): Likewise.
38660         * string/test-memchr.c (do_one_test): Likewise.
38661         (do_test): Likewise.
38662         * string/test-memcmp.c (do_one_test): Likewise.
38663         (do_test): Likewise.
38664         * string/test-memcpy.c (do_one_test): Likewise.
38665         (do_test): Likewise.
38666         * string/test-memmem.c (do_one_test): Likewise.
38667         (do_test): Likewise.
38668         (do_random_tests): Likewise.
38669         * string/test-memmove.c (do_one_test): Likewise.
38670         (do_test): Likewise.
38671         * string/test-memset.c (do_one_test): Likewise.
38672         (do_test): Likewise.
38673         * string/test-rawmemchr.c (do_one_test): Likewise.
38674         (do_test): Likewise.
38675         * string/test-strcasecmp.c (do_one_test): Likewise.
38676         (do_test): Likewise.
38677         * string/test-strcasestr.c (do_one_test): Likewise.
38678         (do_test): Likewise.
38679         * string/test-strcat.c (do_one_test): Likewise.
38680         (do_test): Likewise.
38681         * string/test-strchr.c (do_one_test): Likewise.
38682         (do_test): Likewise.
38683         * string/test-strcmp.c (do_one_test): Likewise.
38684         (do_test): Likewise.
38685         * string/test-strcpy.c (do_one_test): Likewise.
38686         (do_test): Likewise.
38687         * string/test-string.h: Likewise.
38688         (test_init): Likewise.
38689         * string/test-strlen.c (do_one_test): Likewise.
38690         (do_test): Likewise.
38691         * string/test-strncasecmp.c (do_one_test): Likewise.
38692         (do_test): Likewise.
38693         * string/test-strncat.c (do_one_test): Likewise.
38694         (do_test): Likewise.
38695         * string/test-strncmp.c (do_one_test): Likewise.
38696         (do_test_limit): Likewise.
38697         (do_test): Likewise.
38698         * string/test-strncpy.c (do_one_test): Likewise.
38699         (do_test): Likewise.
38700         * string/test-strnlen.c (do_one_test): Likewise.
38701         (do_test): Likewise.
38702         * string/test-strpbrk.c (do_one_test): Likewise.
38703         (do_test): Likewise.
38704         * string/test-strrchr.c (do_one_test): Likewise.
38705         (do_test): Likewise.
38706         * string/test-strspn.c (do_one_test): Likewise.
38707         (do_test): Likewise.
38708         * string/test-strstr.c (do_one_test): Likewise.
38709         (do_test): Likewise.
38711         * benchtests/Makefile (string-bench): Add string benchmarks.
38712         * benchtests/bench-bcopy-ifunc.c: New file.
38713         * benchtests/bench-bcopy.c: New file.
38714         * benchtests/bench-bzero-ifunc.c: New file.
38715         * benchtests/bench-bzero.c: New file.
38716         * benchtests/bench-memccpy-ifunc.c: New file.
38717         * benchtests/bench-memccpy.c: New file.
38718         * benchtests/bench-memchr-ifunc.c: New file.
38719         * benchtests/bench-memchr.c: New file.
38720         * benchtests/bench-memcmp-ifunc.c: New file.
38721         * benchtests/bench-memcmp.c: New file.
38722         * benchtests/bench-memmem-ifunc.c: New file.
38723         * benchtests/bench-memmem.c: New file.
38724         * benchtests/bench-memmove-ifunc.c: New file.
38725         * benchtests/bench-memmove.c: New file.
38726         * benchtests/bench-mempcpy-ifunc.c: New file.
38727         * benchtests/bench-mempcpy.c: New file.
38728         * benchtests/bench-memset-ifunc.c: New file.
38729         * benchtests/bench-memset.c: New file.
38730         * benchtests/bench-rawmemchr-ifunc.c: New file.
38731         * benchtests/bench-rawmemchr.c: New file.
38732         * benchtests/bench-stpcpy-ifunc.c: New file.
38733         * benchtests/bench-stpcpy.c: New file.
38734         * benchtests/bench-stpncpy-ifunc.c: New file.
38735         * benchtests/bench-stpncpy.c: New file.
38736         * benchtests/bench-strcasecmp-ifunc.c: New file.
38737         * benchtests/bench-strcasecmp.c: New file.
38738         * benchtests/bench-strcasestr-ifunc.c: New file.
38739         * benchtests/bench-strcasestr.c: New file.
38740         * benchtests/bench-strcat-ifunc.c: New file.
38741         * benchtests/bench-strcat.c: New file.
38742         * benchtests/bench-strchr-ifunc.c: New file.
38743         * benchtests/bench-strchr.c: New file.
38744         * benchtests/bench-strchrnul-ifunc.c: New file.
38745         * benchtests/bench-strchrnul.c: New file.
38746         * benchtests/bench-strcmp-ifunc.c: New file.
38747         * benchtests/bench-strcmp.c: New file.
38748         * benchtests/bench-strcpy-ifunc.c: New file.
38749         * benchtests/bench-strcpy.c: New file.
38750         * benchtests/bench-strcspn-ifunc.c: New file.
38751         * benchtests/bench-strcspn.c: New file.
38752         * benchtests/bench-strlen-ifunc.c: New file.
38753         * benchtests/bench-strlen.c: New file.
38754         * benchtests/bench-strncasecmp-ifunc.c: New file.
38755         * benchtests/bench-strncasecmp.c: New file.
38756         * benchtests/bench-strncat-ifunc.c: New file.
38757         * benchtests/bench-strncat.c: New file.
38758         * benchtests/bench-strncmp-ifunc.c: New file.
38759         * benchtests/bench-strncmp.c: New file.
38760         * benchtests/bench-strncpy-ifunc.c: New file.
38761         * benchtests/bench-strncpy.c: New file.
38762         * benchtests/bench-strnlen-ifunc.c: New file.
38763         * benchtests/bench-strnlen.c: New file.
38764         * benchtests/bench-strpbrk-ifunc.c: New file.
38765         * benchtests/bench-strpbrk.c: New file.
38766         * benchtests/bench-strrchr-ifunc.c: New file.
38767         * benchtests/bench-strrchr.c: New file.
38768         * benchtests/bench-strspn-ifunc.c: New file.
38769         * benchtests/bench-strspn.c: New file.
38770         * benchtests/bench-strstr-ifunc.c: New file.
38771         * benchtests/bench-strstr.c: New file.
38773         * benchtests/Makefile: Disable parallel execution of targets.
38774         (string-bench): Add memcpy.
38775         (benchset): New variable to store a list of benchmark sets.
38776         (bench-func): Renamed from bench.
38777         (bench-set): New target.
38778         (bench): Depend on bench-func and bench-set.
38779         * benchtests/README: Add section on benchmark sets.
38780         * benchtests/bench-memcpy-ifunc.c: New file.
38781         * benchtests/bench-memcpy.c: New file.
38782         * benchtests/bench-string.h: New file.
38784 2013-06-11  Andreas Schwab  <schwab@suse.de>
38786         [BZ #15577]
38787         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
38788         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
38789         values in the triple.
38790         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
38791         terminator in the group key.
38793 2013-06-11  Andreas Jaeger  <aj@suse.de>
38795         * po/zh_TW.po: Update Chinese (traditional) translation from
38796         translation project.
38798 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38800         * include/time.h (__clock_gettime): Add libc_hidden_proto.
38801         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
38802         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
38803         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38804         (clock_getcpuclockid): Likewise.
38805         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
38806         Add weak_alias and libc_hidden_def.
38807         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
38808         * rt/clock_gettime.c (clock_gettime): Rename to
38809         __clock_gettime.  Add weak_alias and libc_hidden_def.
38810         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
38811         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
38812         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
38813         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
38814         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
38815         Likewise.
38816         * rt/clock_settime.c (clock_settime): Rename to
38817         __clock_settime.  Add weak_alias and libc_hidden_def.
38818         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
38820 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
38822         * mach/err_boot.sub: Remove trailing whitespace.
38823         * mach/err_ipc.sub: Likewise.
38824         * mach/err_mach.sub: Likewise.
38826         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
38827         (ROUNDING_TESTS_double): Likewise.
38828         (ROUNDING_TESTS_long_double): Likewise.
38829         (ROUNDING_TESTS): Likewise.
38830         * math/libm-test.inc: Include <math-tests.h>.
38831         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
38832         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
38833         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
38834         (IF_ROUND_INIT_FE_UPWARD): Likewise.
38836 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38838         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
38839         of assigning.
38841 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
38843         * sysdeps/gnu/errlist.awk: Do not generate space at end of
38844         otherwise empty TRANS lines.
38845         * sysdeps/gnu/errlist.c: Regenerated.
38847         * catgets/gencat.c (error_print): Use (void) in function
38848         definition.
38849         * crypt/crypt_util.c (__init_des): Likewise.
38850         * crypt/speeds.c (Stop): Likewise.
38851         (main): Likewise.
38852         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
38853         * inet/ruserpass.c (token): Likewise.
38854         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
38855         * intl/localealias.c (extend_alias_table): Likewise.
38856         * intl/plural-exp.c (init_germanic_plural): Likewise.
38857         * libio/fcloseall.c (__fcloseall): Likewise.
38858         * libio/genops.c (_IO_flush_all): Likewise.
38859         (_IO_flush_all_linebuffered): Likewise.
38860         (_IO_cleanup): Likewise.
38861         (_IO_iter_begin): Likewise.
38862         (_IO_iter_end): Likewise.
38863         (_IO_list_lock): Likewise.
38864         (_IO_list_unlock): Likewise.
38865         (_IO_list_resetlock): Likewise.
38866         * libio/getchar.c (getchar): Likewise.
38867         * libio/getchar_u.c (getchar_unlocked): Likewise.
38868         * libio/getwchar.c (getwchar): Likewise.
38869         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
38870         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
38871         * login/getpt.c (__getpt): Likewise.
38872         * login/tst-utmp.c (main): Likewise.
38873         * malloc/hooks.c (__malloc_check_init): Likewise.
38874         * malloc/malloc.c (__malloc_stats): Likewise.
38875         * malloc/mtrace.c (tr_break): Likewise.
38876         (mtrace): Likewise.
38877         (muntrace): Likewise.
38878         * misc/fstab.c (endfsent): Likewise.
38879         * misc/getclktck.c (__getclktck): Likewise.
38880         * misc/getdtsz.c (__getdtablesize): Likewise.
38881         * misc/gethostid.c (gethostid): Likewise.
38882         * misc/getpagesize.c (__getpagesize): Likewise.
38883         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
38884         (__get_nprocs): Likewise.
38885         (__get_phys_pages): Likewise.
38886         (__get_avphys_pages): Likewise.
38887         * misc/getttyent.c (getttyent): Likewise.
38888         (setttyent): Likewise.
38889         (endttyent): Likewise.
38890         * misc/getusershell.c (getusershell): Likewise.
38891         (endusershell): Likewise.
38892         (setusershell): Likewise.
38893         (initshells): Likewise.
38894         * misc/hsearch.c (__hdestroy): Likewise.
38895         * misc/sync.c (sync): Likewise.
38896         * misc/syslog.c (closelog_internal): Likewise.
38897         (closelog): Likewise.
38898         * misc/ttyslot.c (ttyslot): Likewise.
38899         * misc/vhangup.c (vhangup): Likewise.
38900         * posix/fork.c (__fork): Likewise.
38901         * posix/getegid.c (__getegid): Likewise.
38902         * posix/geteuid.c (__geteuid): Likewise.
38903         * posix/getgid.c (__getgid): Likewise.
38904         * posix/getpid.c (__getpid): Likewise.
38905         * posix/getppid.c (__getppid): Likewise.
38906         * posix/getuid.c (__getuid): Likewise.
38907         * posix/pause.c (pause): Likewise.
38908         * posix/setpgrp.c (setpgrp): Likewise.
38909         * posix/setsid.c (__setsid): Likewise.
38910         * posix/test-vfork.c (noop): Likewise.
38911         * resolv/gethnamaddr.c (_endhtent): Likewise.
38912         (_gethtent): Likewise.
38913         (ht_endhostent): Likewise.
38914         (gethostent): Likewise.
38915         (dns_service): Likewise.
38916         * stdlib/drand48.c (drand48): Likewise.
38917         * stdlib/lrand48.c (lrand48): Likewise.
38918         * stdlib/mrand48.c (mrand48): Likewise.
38919         * stdlib/rand.c (rand): Likewise.
38920         * stdlib/random.c (__random): Likewise.
38921         * stdlib/setenv.c (clearenv): Likewise.
38922         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
38923         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
38924         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
38925         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
38926         (__get_nprocs): Likewise.
38927         (__get_phys_pages): Likewise.
38928         (__get_avphys_pages): Likewise.
38929         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
38930         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
38931         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
38932         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
38933         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
38934         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
38935         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
38936         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
38937         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
38938         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
38939         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
38940         * sysdeps/mach/hurd/sync.c (sync): Likewise.
38941         * sysdeps/posix/clock.c (clock): Likewise.
38942         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
38943         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
38944         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
38945         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
38946         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
38947         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
38948         (__get_nprocs_conf): Likewise.
38949         (__get_phys_pages): Likewise.
38950         (__get_avphys_pages): Likewise.
38951         * time/clock.c (clock): Likewise.
38952         * time/tzset.c (__tzname_max): Likewise.
38954 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
38956         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
38957         (__bswap_32): Do not use "register".
38958         * crypt/crypt.c (_ufc_doit_r): Likewise.
38959         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38960         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38961         * gmon/gmon.c (__monstartup): Likewise.
38962         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
38963         * hurd/hurdmalloc.c (more_memory): Likewise.
38964         (malloc): Likewise.
38965         (free): Likewise.
38966         (realloc): Likewise.
38967         (malloc_fork_prepare): Likewise.
38968         (malloc_fork_parent): Likewise.
38969         (malloc_fork_child): Likewise.
38970         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
38971         (_svcauth_des): Likewise.
38972         * inet/inet_lnaof.c (inet_lnaof): Likewise.
38973         * inet/inet_net.c (inet_network): Likewise.
38974         * inet/inet_netof.c (inet_netof): Likewise.
38975         * inet/rcmd.c (__validuser2_sa): Likewise.
38976         * io/fts.c (fts_open): Likewise.
38977         (fts_load): Likewise.
38978         (fts_close): Likewise.
38979         (fts_read): Likewise.
38980         (fts_children): Likewise.
38981         (fts_build): Likewise.
38982         (fts_stat): Likewise.
38983         (fts_sort): Likewise.
38984         (fts_alloc): Likewise.
38985         (fts_lfree): Likewise.
38986         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
38987         (_IO_file_xsgetn): Likewise.
38988         (_IO_file_xsgetn_mmap): Likewise.
38989         * libio/iofopncook.c (_IO_cookie_read): Likewise.
38990         (_IO_cookie_write): Likewise.
38991         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
38992         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
38993         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
38994         * malloc/obstack.c (_obstack_begin): Likewise.
38995         (_obstack_begin_1): Likewise.
38996         (_obstack_newchunk): Likewise.
38997         (_obstack_allocated_p): Likewise.
38998         (obstack_free): Likewise.
38999         (_obstack_memory_used): Likewise.
39000         * misc/getttyent.c (getttynam): Likewise.
39001         (getttyent): Likewise.
39002         (skip): Likewise.
39003         (value): Likewise.
39004         * misc/getusershell.c (initshells): Likewise.
39005         * misc/syslog.c (__vsyslog_chk): Likewise.
39006         * misc/ttyslot.c (ttyslot): Likewise.
39007         * nis/nis_hash.c (__nis_hash): Likewise.
39008         * posix/fnmatch_loop.c (FCT): Likewise.
39009         * posix/getconf.c (print_all): Likewise.
39010         (main): Likewise.
39011         * posix/getopt.c (exchange): Likewise.
39012         * posix/glob.c (globfree): Likewise.
39013         (prefix_array): Likewise.
39014         (__glob_pattern_type): Likewise.
39015         * resolv/arpa/nameser.h (NS_GET16): Likewise.
39016         (NS_GET32): Likewise.
39017         (NS_PUT16): Likewise.
39018         (NS_PUT32): Likewise.
39019         * resolv/gethnamaddr.c (getanswer): Likewise.
39020         (gethostbyname2): Likewise.
39021         (gethostbyaddr): Likewise.
39022         (_gethtent): Likewise.
39023         (_gethtbyname2): Likewise.
39024         (_gethtbyaddr): Likewise.
39025         * resolv/ns_print.c (dst_s_get_int16): Likewise.
39026         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39027         * resolv/res_init.c (__res_vinit): Likewise.
39028         (net_mask): Likewise.
39029         * resolv/res_mkquery.c (outchar): Likewise.
39030         (PRINT): Likewise.
39031         * stdio-common/printf_fp.c (outchar): Likewise.
39032         (PRINT): Likewise.
39033         * stdio-common/printf_fphex.c (outchar): Likewise.
39034         (PRINT): Likewise.
39035         * stdio-common/printf_size.c (outchar): Likewise.
39036         (PRINT): Likewise.
39037         * stdio-common/test_rdwr.c (main): Likewise.
39038         * stdio-common/tfformat.c (matches): Likewise.
39039         * stdio-common/vfprintf.c (outchar): Likewise.
39040         (printf_unknown): Likewise.
39041         (buffered_vfprintf): Likewise.
39042         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39043         * stdio-common/xbug.c (AppendToBuffer): Likewise.
39044         (ReadFile): Likewise.
39045         * stdlib/qsort.c (SWAP): Likewise.
39046         (_quicksort): Likewise.
39047         * stdlib/setenv.c (__add_to_environ): Likewise.
39048         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39049         * stdlib/strtol_l.c (__strtol_l): Likewise.
39050         * stdlib/tst-strtod.c (main): Likewise.
39051         * stdlib/tst-strtol.c (main): Likewise.
39052         * stdlib/tst-strtoll.c (main): Likewise.
39053         * string/bits/string2.h (__strcmp_cc): Likewise.
39054         (__strcmp_cg): Likewise.
39055         (__strcspn_c1): Likewise.
39056         (__strcspn_c2): Likewise.
39057         (__strcspn_c3): Likewise.
39058         (__strspn_c1): Likewise.
39059         (__strspn_c2): Likewise.
39060         (__strspn_c3): Likewise.
39061         (__strsep_1c): Likewise.
39062         (__strsep_2c): Likewise.
39063         (__strsep_3c): Likewise.
39064         * string/memccpy.c (__memccpy): Likewise.
39065         * string/stpcpy.c (__stpcpy): Likewise.
39066         * string/strcmp.c (strcmp): Likewise.
39067         * string/strrchr.c (strrchr): Likewise.
39068         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
39069         Likewise.
39070         * sysdeps/mach/hurd/getcwd.c
39071         (_hurd_canonicalize_directory_name_internal): Likewise.
39072         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
39073         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
39074         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
39075         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
39076         Likewise, in both definitions.
39077         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
39078         definitions.
39079         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
39080         64] (__bswap_64): Likewise.
39081         * time/test_time.c (main): Likewise.
39082         * time/tzfile.c (__tzfile_read): Likewise.
39083         (__tzfile_compute): Likewise.
39084         * time/tzset.c (__tzset_parse_tz): Likewise.
39085         (tzset_internal): Likewise.
39086         (compute_change): Likewise.
39087         * wcsmbs/wcscat.c (__wcscat): Likewise.
39088         * wcsmbs/wcschr.c (wcschr): Likewise.
39089         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
39090         * wcsmbs/wcscspn.c (wcscspn): Likewise.
39091         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
39092         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
39093         * wcsmbs/wcsspn.c (wcsspn): Likewise.
39094         * wcsmbs/wcsstr.c (wcsstr): Likewise.
39095         * wcsmbs/wmemchr.c (wmemchr): Likewise.
39096         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
39097         * wcsmbs/wmemset.c (wmemset): Likewise.
39099 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
39101         * scripts/config.guess: Update to version 2013-05-16.
39102         * scripts/config.sub: Update to version 2013-04-24.
39103         * scripts/install-sh: Update to version 2011-11-20.07.
39104         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
39105         * scripts/move-if-change: Update to version 2012-01-06 07:23.
39107 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
39109         * debug/fgetws_u_chk.c: Fix leading whitespaces.
39110         * elf/sln.c: Likewise.
39111         * hurd/hurd/ioctl.h: Likewise.
39112         * hurd/hurdmalloc.c: Likewise.
39113         * hurd/xattr.c: Likewise.
39114         * include/shlib-compat.h: Likewise.
39115         * inet/ruserpass.c: Likewise.
39116         * libio/iofgets_u.c: Likewise.
39117         * libio/iofgetws_u.c: Likewise.
39118         * locale/programs/ld-identification.c: Likewise.
39119         * locale/programs/ld-time.c: Likewise.
39120         * mach/msg-destroy.c: Likewise.
39121         * nss/nss_files/files-netgrp.c: Likewise.
39122         * resolv/res_data.c: Likewise.
39123         * soft-fp/op-1.h: Likewise.
39124         * soft-fp/op-2.h: Likewise.
39125         * soft-fp/op-4.h: Likewise.
39126         * soft-fp/op-common.h: Likewise.
39127         * stdio-common/printf_fphex.c: Likewise.
39128         * stdlib/strtod_l.c: Likewise.
39129         * sunrpc/rpc/clnt.h: Likewise.
39130         * sysdeps/generic/framestate.c: Likewise.
39131         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39132         * sysdeps/i386/bsd-setjmp.S: Likewise.
39133         * sysdeps/i386/__longjmp.S: Likewise.
39134         * sysdeps/i386/setjmp.S: Likewise.
39135         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39136         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39137         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39138         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39139         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39140         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39141         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39142         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39143         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39144         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
39145         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39146         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39147         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39148         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39149         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39150         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39151         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39152         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
39153         * sysdeps/ieee754/support.c: Likewise.
39154         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39155         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
39156         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
39157         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
39158         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
39159         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
39160         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
39161         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
39162         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
39163         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
39164         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
39165         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
39166         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
39167         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
39168         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
39169         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
39170         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
39173 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
39175         * posix/transbug.c: Remove executable mode.
39177 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
39179         * crypt/speeds.c: Remove trailing whitespace.
39180         * dlfcn/default.c: Likewise.
39181         * elf/ifuncdep2.c: Likewise.
39182         * elf/ifuncmain1.c: Likewise.
39183         * elf/ifuncmain1vis.c: Likewise.
39184         * elf/testobj.h: Likewise.
39185         * elf/tst-stackguard1.c: Likewise.
39186         * gmon/sys/gmon.h: Likewise.
39187         * hurd/hurdmsg.c: Likewise.
39188         * hurd/new-fd.c: Likewise.
39189         * hurd/ports-get.c: Likewise.
39190         * iconvdata/ibm1008_420.c: Likewise.
39191         * inet/tst-getni1.c: Likewise.
39192         * inet/tst-getni2.c: Likewise.
39193         * libio/ioungetc.c: Likewise.
39194         * libio/wfiledoalloc.c: Likewise.
39195         * manual/libm-err-tab.pl: Likewise.
39196         * math/w_dremf.c: Likewise.
39197         * misc/ftruncate.c: Likewise.
39198         * posix/bug-glob2.c: Likewise.
39199         * posix/tst-pcre.c: Likewise.
39200         * posix/wait4.c: Likewise.
39201         * resolv/README: Likewise.
39202         * resolv/res_debug.h: Likewise.
39203         * resolv/tst-inet_ntop.c: Likewise.
39204         * setjmp/bug269-setjmp.c: Likewise.
39205         * soft-fp/extended.h: Likewise.
39206         * soft-fp/op-1.h: Likewise.
39207         * soft-fp/op-2.h: Likewise.
39208         * soft-fp/op-4.h: Likewise.
39209         * soft-fp/op-8.h: Likewise.
39210         * soft-fp/testit.c: Likewise.
39211         * stdio-common/bug16.c: Likewise.
39212         * stdlib/random.c: Likewise.
39213         * sunrpc/rpcsvc/rquota.x: Likewise.
39214         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
39215         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39216         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39217         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39218         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39219         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39220         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39221         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39222         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39223         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39224         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39225         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
39226         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39227         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
39228         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39229         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39230         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39231         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39232         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39233         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39234         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39235         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39236         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
39237         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39238         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39239         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39240         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39241         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39242         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39243         * sysdeps/ieee754/s_lib_version.c: Likewise.
39244         * sysdeps/mach/hurd/check_fds.c: Likewise.
39245         * sysdeps/mach/hurd/getsockname.c: Likewise.
39246         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
39247         * sysdeps/mach/hurd/recvfrom.c: Likewise.
39248         * sysdeps/powerpc/bits/link.h: Likewise.
39249         * sysdeps/powerpc/dl-procinfo.c: Likewise.
39250         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
39251         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
39252         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
39253         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
39254         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39255         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
39256         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
39257         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
39258         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39259         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
39260         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39261         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
39262         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39263         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39264         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39265         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39266         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39267         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39268         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39269         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39270         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
39271         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39272         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39273         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
39274         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39275         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39276         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39277         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39278         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39279         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39280         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39281         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39282         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
39283         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
39284         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
39285         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
39286         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39287         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
39288         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
39289         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
39290         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
39291         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
39292         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
39293         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39294         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
39295         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
39296         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39297         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
39298         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
39299         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39300         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39301         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39302         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39303         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
39304         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
39305         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
39306         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39307         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
39308         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
39309         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
39310         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
39311         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
39312         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39313         * sysdeps/powerpc/sysdep.h: Likewise.
39314         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39315         * sysdeps/s390/s390-64/sub_n.S: Likewise.
39316         * sysdeps/sh/dl-trampoline.S: Likewise.
39317         * sysdeps/sh/memset.S: Likewise.
39318         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
39319         * sysdeps/sh/strlen.S: Likewise.
39320         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
39321         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
39322         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
39323         * sysdeps/sparc/sparc32/rem.S: Likewise.
39324         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
39325         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
39326         * sysdeps/sparc/sparc32/strchr.S: Likewise.
39327         * sysdeps/sparc/sparc32/udiv.S: Likewise.
39328         * sysdeps/sparc/sparc32/urem.S: Likewise.
39329         * sysdeps/sparc/sparc64/add_n.S: Likewise.
39330         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
39331         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
39332         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
39333         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
39334         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
39335         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
39336         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
39337         * sysdeps/unix/bsd/times.c: Likewise.
39338         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
39339         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
39340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
39341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
39342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
39343         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
39344         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39345         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
39346         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
39347         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
39348         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
39349         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39350         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
39351         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39352         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39353         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
39354         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39355         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
39356         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
39357         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
39358         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
39359         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
39360         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39361         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
39362         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
39363         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
39364         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
39365         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39366         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
39367         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
39368         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
39369         * sysdeps/x86_64/strcspn.S: Likewise.
39371 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39373         * locale/C-translit.h: Revert #include <stdint.h> because this is a
39374         generated file.  Regenerate properly from gen-translit.pl.
39375         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
39376         locale/C-translit.h.
39378 2013-06-05  Andreas Schwab  <schwab@suse.de>
39380         [BZ #15100]
39381         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
39382         week as 6 instead of -1.
39383         * time/tst-strptime.c (day_tests): Add test case.
39385 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39387         * sysdeps/generic/math_private.h
39388         (libc_feholdexcept_setround_53bit): Replace with
39389         libc_feholdsetround_53bit.
39390         (libc_feupdateenv_53bit): Replace with
39391         libc_feresetround_53bit.
39392         (SET_RESTORE_ROUND_53BIT): Adjust.
39394 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39396         * string/test-strchrnul.c: Add copyright header.
39398         * posix/tst-getaddrinfo4.c: Increase test timeout.
39400 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
39402         [BZ #15536]
39403         * math/libm-test.inc (MAX_EXP): Remove
39404         (MIN_EXP): Define.
39405         (ulp): Use MIN_EXP - MANT_DIG.
39406         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
39408 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
39410         * po/be.po: Revert last change.
39411         * po/zh_CN.po: Likewise.
39412         * po/header.pot: Likewise.
39414 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
39416         * Makefile ($(common-objpfx)linkobj/libc.so): Define
39417         link-libc-deps to empty as target-specific variable.
39418         * Makerules (link-libc-args): New variable.
39419         (libc-for-link): Likewise.
39420         (link-libc-deps): Likewise.
39421         (lib%.so): Depend on $(link-libc-deps).  Link with
39422         $(link-libc-args).
39423         (build-module): Link with $(link-libc-args).
39424         (build-module-asneeded): Likewise.
39425         (build-module-helper-objlist): Filter out $(link-libc-deps) from
39426         list of objects.
39427         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
39428         target-specific variable.
39429         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
39430         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
39431         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
39432         libc.
39433         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
39434         libc and ld.so.
39435         ($(objpfx)libpcprofile.so): Likewise.
39436         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
39437         libc_nonshared.a.
39438         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
39439         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
39440         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
39441         $(link-libc-deps).
39442         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
39443         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
39444         * login/Makefile ($(objpfx)libutil.so): Likewise.
39445         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
39446         * math/Makefile ($(objpfx)libm.so): Likewise.
39447         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
39448         $(objpfx)libnsl.so): Define libc-for-link as target-specific
39449         variable instead of depending directly on libc.
39450         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
39451         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
39452         $(link-libc-deps).
39453         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
39454         libc.
39455         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
39456         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
39457         ($(objpfx)libanl.so): Likewise.
39458         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
39459         ld.so.
39460         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
39461         $(link-libc-deps).
39462         * sysdeps/i386/fpu/Makefile: Remove file.
39463         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
39464         ($(objpfx)libm.so): Remove dependency on ld.so.
39466 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
39468         [BZ # 15553]
39469         * nis/yp_xdr.c (XDRMAXNAME): Define.
39470         (XDRMAXRECORD): Define.
39471         (xdr_domainname): Use XDRMAXNAME.
39472         (xdr_mapname): Likewise.
39473         (xdr_peername): Likewise.
39474         (xdr_keydat): Use XDRMAXRECORD.
39475         (xdr_valdat): Likewise.
39477 2013-05-30  Jeff Law  <law@redhat.com>
39479         [BZ #14256]
39480         * manual/errno.texi (ESTALE): Update to account for more than
39481         just NFS file systems.
39482         * sysdeps/gnu/errlist.c: Regenerated.
39484 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39486         [BZ #15465]
39487         * elf/Makefile (tests): Add tst-null-argv.
39488         (modules-names):  Add tst-null-argv-lib.
39489         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
39490         (tst-null-argv-ENV): Set environment for tst-null-argv.
39491         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
39492         (RTLD_PROGNAME): New macro.
39493         * elf/tst-null-argv.c: New test case.
39494         * elf/tst-null-argv-lib.c: Library for test case.
39495         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
39496         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
39497         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
39498         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
39499         * elf/dl-init.c (call_init): Likewise.
39500         (_dl_init): Likewise.
39501         * elf/dl-load.c (print_search_path): Likewise.
39502         (_dl_map_object): Likewise.
39503         * elf/dl-lookup.c (do_lookup_x): Likewise.
39504         (add_dependency): Likewise.
39505         (_dl_lookup_symbol_x): Likewise.
39506         (_dl_debug_bindings): Likewise.
39507         * elf/dl-open.c (_dl_show_scope): Likewise.
39508         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39509         * elf/dl-version.c (match_symbol): Likewise.
39510         (_dl_check_map_versions): Likewise.
39511         * elf/rtld.c (dl_main): Likewise.
39512         (print_unresolved): Use RTLD_PROGNAME.
39513         (print_missing_version): Likewise.
39514         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
39515         (elf_machine_rela): Likewise.
39516         * sysdeps/powerpc/powerpc32/dl-machine.c
39517         (__process_machine_rela): Likewise.
39518         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39519         Likewise.
39520         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39521         Likewise.
39522         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
39523         Likewise.
39524         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39525         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
39526         Likewise.
39527         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
39528         Likewise.
39529         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39531 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
39533         * po/be.po: Add descriptive title.
39534         * po/zh_CN.po: Likewise.
39535         * po/header.pot: Likewise.
39537 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
39539         * locale/programs/locarchive.c (create_archive): Inlucde fname in
39540         error message.
39541         (enlarge_archive): Likewise.
39543 2013-05-28  Ben North  <ben@redfrontdoor.org>
39545         * manual/arith.texi (frexp): It is the magnitude of the return
39546         value which lies in [0.5, 1), not the return value itself.
39548 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39552 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
39554         * stdio-common/bug26.c (main): Correct fscanf template.
39556         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
39557         declare _dl_skip_args.
39559         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
39560         Don't declare.
39562         * manual/platform.texi: Add missing @end deftypefun.
39564 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
39566         [BZ #15529]
39567         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
39568         bit of mantissa of 2^16382.
39569         * math/libm-test.inc (hypot_test_data): Add more tests.
39571         * math/libm-test.inc: Add drem and pow10 to list of tested
39572         functions.
39573         (pow10_test): New function.
39574         (drem_test): Likewise.
39575         (drem_test_tonearest): Likewise.
39576         (drem_test_towardzero): Likewise.
39577         (drem_test_downward): Likewise.
39578         (drem_test_upward): Likewise.
39579         (main): Call the new functions.
39581         * math/libm-test.inc (finite_test_data): Remove.
39582         (finite_test): Run tests from isfinite_test_data.
39583         (gamma_test_data): Remove.
39584         (gamma_test): Run tests from lgamma_test_data.
39585         * sysdeps/i386/fpu/libm-test-ulps: Update.
39586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39588 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39590         * manual/platform.texi: Add PowerPC PPR function set documentation.
39591         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
39592         implementation.
39594 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
39596         * math/libm-test.inc (MAX_EXP): Define.
39597         (ULPDIFF): Define.
39598         (ulp): New function.
39599         (check_float_internal): Use ULPDIFF.
39600         (cpow_test): Disable failing test.
39601         (check_ulp): Test ulp() implemetnation.
39602         (main): Call check_ulp before starting tests.
39604 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
39606         * math/gen-libm-test.pl (generate_testfile): Do not handle
39607         START_DATA and END_DATA.
39608         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
39609         END_DATA.
39610         (acos_tonearest_test_data): Likewise.
39611         (acos_towardzero_test_data): Likewise.
39612         (acos_downward_test_data): Likewise.
39613         (acos_upward_test_data): Likewise.
39614         (acosh_test_data): Likewise.
39615         (asin_test_data): Likewise.
39616         (asin_tonearest_test_data): Likewise.
39617         (asin_towardzero_test_data): Likewise.
39618         (asin_downward_test_data): Likewise.
39619         (asin_upward_test_data): Likewise.
39620         (asinh_test_data): Likewise.
39621         (atan_test_data): Likewise.
39622         (atanh_test_data): Likewise.
39623         (atan2_test_data): Likewise.
39624         (cabs_test_data): Likewise.
39625         (cacos_test_data): Likewise.
39626         (cacosh_test_data): Likewise.
39627         (carg_test_data): Likewise.
39628         (casin_test_data): Likewise.
39629         (casinh_test_data): Likewise.
39630         (catan_test_data): Likewise.
39631         (catanh_test_data): Likewise.
39632         (cbrt_test_data): Likewise.
39633         (ccos_test_data): Likewise.
39634         (ccosh_test_data): Likewise.
39635         (ceil_test_data): Likewise.
39636         (cexp_test_data): Likewise.
39637         (cimag_test_data): Likewise.
39638         (clog_test_data): Likewise.
39639         (clog10_test_data): Likewise.
39640         (conj_test_data): Likewise.
39641         (copysign_test_data): Likewise.
39642         (cos_test_data): Likewise.
39643         (cos_tonearest_test_data): Likewise.
39644         (cos_towardzero_test_data): Likewise.
39645         (cos_downward_test_data): Likewise.
39646         (cos_upward_test_data): Likewise.
39647         (cosh_test_data): Likewise.
39648         (cosh_tonearest_test_data): Likewise.
39649         (cosh_towardzero_test_data): Likewise.
39650         (cosh_downward_test_data): Likewise.
39651         (cosh_upward_test_data): Likewise.
39652         (cpow_test_data): Likewise.
39653         (cproj_test_data): Likewise.
39654         (creal_test_data): Likewise.
39655         (csin_test_data): Likewise.
39656         (csinh_test_data): Likewise.
39657         (csqrt_test_data): Likewise.
39658         (ctan_test_data): Likewise.
39659         (ctan_tonearest_test_data): Likewise.
39660         (ctan_towardzero_test_data): Likewise.
39661         (ctan_downward_test_data): Likewise.
39662         (ctan_upward_test_data): Likewise.
39663         (ctanh_test_data): Likewise.
39664         (ctanh_tonearest_test_data): Likewise.
39665         (ctanh_towardzero_test_data): Likewise.
39666         (ctanh_downward_test_data): Likewise.
39667         (ctanh_upward_test_data): Likewise.
39668         (erf_test_data): Likewise.
39669         (erfc_test_data): Likewise.
39670         (exp_test_data): Likewise.
39671         (exp_tonearest_test_data): Likewise.
39672         (exp_towardzero_test_data): Likewise.
39673         (exp_downward_test_data): Likewise.
39674         (exp_upward_test_data): Likewise.
39675         (exp10_test_data): Likewise.
39676         (exp2_test_data): Likewise.
39677         (expm1_test_data): Likewise.
39678         (fabs_test_data): Likewise.
39679         (fdim_test_data): Likewise.
39680         (finite_test_data): Likewise.
39681         (floor_test_data): Likewise.
39682         (fma_test_data): Likewise.
39683         (fma_towardzero_test_data): Likewise.
39684         (fma_downward_test_data): Likewise.
39685         (fma_upward_test_data): Likewise.
39686         (fmax_test_data): Likewise.
39687         (fmin_test_data): Likewise.
39688         (fmod_test_data): Likewise.
39689         (fpclassify_test_data): Likewise.
39690         (frexp_test_data): Likewise.
39691         (gamma_test_data): Likewise.
39692         (hypot_test_data): Likewise.
39693         (ilogb_test_data): Likewise.
39694         (isfinite_test_data): Likewise.
39695         (isgreater_test_data): Likewise.
39696         (isgreaterequal_test_data): Likewise.
39697         (isinf_test_data): Likewise.
39698         (isless_test_data): Likewise.
39699         (islessequal_test_data): Likewise.
39700         (islessgreater_test_data): Likewise.
39701         (isnan_test_data): Likewise.
39702         (isnormal_test_data): Likewise.
39703         (issignaling_test_data): Likewise.
39704         (isunordered_test_data): Likewise.
39705         (j0_test_data): Likewise.
39706         (j1_test_data): Likewise.
39707         (jn_test_data): Likewise.
39708         (ldexp_test_data): Likewise.
39709         (lgamma_test_data): Likewise.
39710         (lrint_test_data): Likewise.
39711         (lrint_tonearest_test_data): Likewise.
39712         (lrint_towardzero_test_data): Likewise.
39713         (lrint_downward_test_data): Likewise.
39714         (lrint_upward_test_data): Likewise.
39715         (llrint_test_data): Likewise.
39716         (llrint_tonearest_test_data): Likewise.
39717         (llrint_towardzero_test_data): Likewise.
39718         (llrint_downward_test_data): Likewise.
39719         (llrint_upward_test_data): Likewise.
39720         (log_test_data): Likewise.
39721         (log10_test_data): Likewise.
39722         (log1p_test_data): Likewise.
39723         (log2_test_data): Likewise.
39724         (logb_test_data): Likewise.
39725         (logb_downward_test_data): Likewise.
39726         (lround_test_data): Likewise.
39727         (llround_test_data): Likewise.
39728         (modf_test_data): Likewise.
39729         (nearbyint_test_data): Likewise.
39730         (nextafter_test_data): Likewise.
39731         (nexttoward_test_data): Likewise.
39732         (pow_test_data): Likewise.
39733         (pow_tonearest_test_data): Likewise.
39734         (pow_towardzero_test_data): Likewise.
39735         (pow_downward_test_data): Likewise.
39736         (pow_upward_test_data): Likewise.
39737         (remainder_test_data): Likewise.
39738         (remainder_tonearest_test_data): Likewise.
39739         (remainder_towardzero_test_data): Likewise.
39740         (remainder_downward_test_data): Likewise.
39741         (remainder_upward_test_data): Likewise.
39742         (remquo_test_data): Likewise.
39743         (rint_test_data): Likewise.
39744         (rint_tonearest_test_data): Likewise.
39745         (rint_towardzero_test_data): Likewise.
39746         (rint_downward_test_data): Likewise.
39747         (rint_upward_test_data): Likewise.
39748         (round_test_data): Likewise.
39749         (scalb_test_data): Likewise.
39750         (scalbn_test_data): Likewise.
39751         (scalbln_test_data): Likewise.
39752         (signbit_test_data): Likewise.
39753         (sin_test_data): Likewise.
39754         (sin_tonearest_test_data): Likewise.
39755         (sin_towardzero_test_data): Likewise.
39756         (sin_downward_test_data): Likewise.
39757         (sin_upward_test_data): Likewise.
39758         (sincos_test_data): Likewise.
39759         (sinh_test_data): Likewise.
39760         (sinh_tonearest_test_data): Likewise.
39761         (sinh_towardzero_test_data): Likewise.
39762         (sinh_downward_test_data): Likewise.
39763         (sinh_upward_test_data): Likewise.
39764         (sqrt_test_data): Likewise.
39765         (tan_test_data): Likewise.
39766         (tan_tonearest_test_data): Likewise.
39767         (tan_towardzero_test_data): Likewise.
39768         (tan_downward_test_data): Likewise.
39769         (tan_upward_test_data): Likewise.
39770         (tanh_test_data): Likewise.
39771         (tgamma_test_data): Likewise.
39772         (trunc_test_data): Likewise.
39773         (y0_test_data): Likewise.
39774         (y1_test_data): Likewise.
39775         (yn_test_data): Likewise.
39776         (significand_test_data): Likewise.
39778         * math/gen-libm-test.pl (@functions): Remove variable.
39779         (generate_testfile): Don't handle START and END lines.
39780         * math/libm-test.inc (START): New macro.
39781         (END): Likewise.
39782         (END_COMPLEX): Likewise.
39783         (acos_test): Use END macro without arguments.
39784         (acos_test_tonearest): Likewise.
39785         (acos_test_towardzero): Likewise.
39786         (acos_test_downward): Likewise.
39787         (acos_test_upward): Likewise.
39788         (acosh_test): Likewise.
39789         (asin_test): Likewise.
39790         (asin_test_tonearest): Likewise.
39791         (asin_test_towardzero): Likewise.
39792         (asin_test_downward): Likewise.
39793         (asin_test_upward): Likewise.
39794         (asinh_test): Likewise.
39795         (atan_test): Likewise.
39796         (atanh_test): Likewise.
39797         (atan2_test): Likewise.
39798         (cabs_test): Likewise.
39799         (cacos_test): Use END_COMPLEX macro without arguments.
39800         (cacosh_test): Likewise.
39801         (carg_test): Use END macro without arguments.
39802         (casin_test): Use END_COMPLEX macro without arguments.
39803         (casinh_test): Likewise.
39804         (catan_test): Likewise.
39805         (catanh_test): Likewise.
39806         (cbrt_test): Use END macro without arguments.
39807         (ccos_test): Use END_COMPLEX macro without arguments.
39808         (ccosh_test): Likewise.
39809         (ceil_test): Use END macro without arguments.
39810         (cexp_test): Use END_COMPLEX macro without arguments.
39811         (cimag_test): Use END macro without arguments.
39812         (clog_test): Use END_COMPLEX macro without arguments.
39813         (clog10_test): Likewise.
39814         (conj_test): Likewise.
39815         (copysign_test): Use END macro without arguments.
39816         (cos_test): Likewise.
39817         (cos_test_tonearest): Likewise.
39818         (cos_test_towardzero): Likewise.
39819         (cos_test_downward): Likewise.
39820         (cos_test_upward): Likewise.
39821         (cosh_test): Likewise.
39822         (cosh_test_tonearest): Likewise.
39823         (cosh_test_towardzero): Likewise.
39824         (cosh_test_downward): Likewise.
39825         (cosh_test_upward): Likewise.
39826         (cpow_test): Use END_COMPLEX macro without arguments.
39827         (cproj_test): Likewise.
39828         (creal_test): Use END macro without arguments.
39829         (csin_test): Use END_COMPLEX macro without arguments.
39830         (csinh_test): Likewise.
39831         (csqrt_test): Likewise.
39832         (ctan_test): Likewise.
39833         (ctan_test_tonearest): Likewise.
39834         (ctan_test_towardzero): Likewise.
39835         (ctan_test_downward): Likewise.
39836         (ctan_test_upward): Likewise.
39837         (ctanh_test): Likewise.
39838         (ctanh_test_tonearest): Likewise.
39839         (ctanh_test_towardzero): Likewise.
39840         (ctanh_test_downward): Likewise.
39841         (ctanh_test_upward): Likewise.
39842         (erf_test): Use END macro without arguments.
39843         (erfc_test): Likewise.
39844         (exp_test): Likewise.
39845         (exp_test_tonearest): Likewise.
39846         (exp_test_towardzero): Likewise.
39847         (exp_test_downward): Likewise.
39848         (exp_test_upward): Likewise.
39849         (exp10_test): Likewise.
39850         (exp2_test): Likewise.
39851         (expm1_test): Likewise.
39852         (fabs_test): Likewise.
39853         (fdim_test): Likewise.
39854         (finite_test): Likewise.
39855         (floor_test): Likewise.
39856         (fma_test): Likewise.
39857         (fma_test_towardzero): Likewise.
39858         (fma_test_downward): Likewise.
39859         (fma_test_upward): Likewise.
39860         (fmax_test): Likewise.
39861         (fmin_test): Likewise.
39862         (fmod_test): Likewise.
39863         (fpclassify_test): Likewise.
39864         (frexp_test): Likewise.
39865         (gamma_test): Likewise.
39866         (hypot_test): Likewise.
39867         (ilogb_test): Likewise.
39868         (isfinite_test): Likewise.
39869         (isgreater_test): Likewise.
39870         (isgreaterequal_test): Likewise.
39871         (isinf_test): Likewise.
39872         (isless_test): Likewise.
39873         (islessequal_test): Likewise.
39874         (islessgreater_test): Likewise.
39875         (isnan_test): Likewise.
39876         (isnormal_test): Likewise.
39877         (issignaling_test): Likewise.
39878         (isunordered_test): Likewise.
39879         (j0_test): Likewise.
39880         (j1_test): Likewise.
39881         (jn_test): Likewise.
39882         (ldexp_test): Likewise.
39883         (lgamma_test): Likewise.
39884         (lrint_test): Likewise.
39885         (lrint_test_tonearest): Likewise.
39886         (lrint_test_towardzero): Likewise.
39887         (lrint_test_downward): Likewise.
39888         (lrint_test_upward): Likewise.
39889         (llrint_test): Likewise.
39890         (llrint_test_tonearest): Likewise.
39891         (llrint_test_towardzero): Likewise.
39892         (llrint_test_downward): Likewise.
39893         (llrint_test_upward): Likewise.
39894         (log_test): Likewise.
39895         (log10_test): Likewise.
39896         (log1p_test): Likewise.
39897         (log2_test): Likewise.
39898         (logb_test): Likewise.
39899         (logb_test_downward): Likewise.
39900         (lround_test): Likewise.
39901         (llround_test): Likewise.
39902         (modf_test): Likewise.
39903         (nearbyint_test): Likewise.
39904         (nextafter_test): Likewise.
39905         (nexttoward_test): Likewise.
39906         (pow_test): Likewise.
39907         (pow_test_tonearest): Likewise.
39908         (pow_test_towardzero): Likewise.
39909         (pow_test_downward): Likewise.
39910         (pow_test_upward): Likewise.
39911         (remainder_test): Likewise.
39912         (remainder_test_tonearest): Likewise.
39913         (remainder_test_towardzero): Likewise.
39914         (remainder_test_downward): Likewise.
39915         (remainder_test_upward): Likewise.
39916         (remquo_test): Likewise.
39917         (rint_test): Likewise.
39918         (rint_test_tonearest): Likewise.
39919         (rint_test_towardzero): Likewise.
39920         (rint_test_downward): Likewise.
39921         (rint_test_upward): Likewise.
39922         (round_test): Likewise.
39923         (scalb_test): Likewise.
39924         (scalbn_test): Likewise.
39925         (scalbln_test): Likewise.
39926         (signbit_test): Likewise.
39927         (sin_test): Likewise.
39928         (sin_test_tonearest): Likewise.
39929         (sin_test_towardzero): Likewise.
39930         (sin_test_downward): Likewise.
39931         (sin_test_upward): Likewise.
39932         (sincos_test): Likewise.
39933         (sinh_test): Likewise.
39934         (sinh_test_tonearest): Likewise.
39935         (sinh_test_towardzero): Likewise.
39936         (sinh_test_downward): Likewise.
39937         (sinh_test_upward): Likewise.
39938         (sqrt_test): Likewise.
39939         (tan_test): Likewise.
39940         (tan_test_tonearest): Likewise.
39941         (tan_test_towardzero): Likewise.
39942         (tan_test_downward): Likewise.
39943         (tan_test_upward): Likewise.
39944         (tanh_test): Likewise.
39945         (tgamma_test): Likewise.
39946         (trunc_test): Likewise.
39947         (y0_test): Likewise.
39948         (y1_test): Likewise.
39949         (yn_test): Likewise.
39950         (significand_test): Likewise.
39952 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
39954         [BZ #15381]
39955         * libio/genops.c (_IO_no_init): Initialize wide struct info.
39957 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
39959         [BZ #14894]
39960         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
39961         __ppc_mdoio and __ppc_mdoom.
39962         * manual/platform.texi: Document new functions __ppc_yield,
39963         __ppc_mdoio and __ppc_mdoom.
39965 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
39967         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
39968         (main): Mention "tls" pseudo-hwcap is legacy.
39969         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
39971 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
39973         * math/gen-libm-test.pl (parse_args): Output only string of
39974         arguments as text for test name, not full call or descriptions of
39975         tests for extra outputs.
39976         (generate_testfile): Do not pass function name to parse_args.
39977         Generate this_func variable from START.
39978         * math/libm-test.inc (struct test_f_f_data): Rename test_name
39979         field to arg_str.
39980         (struct test_ff_f_data): Likewise.
39981         (test_ff_f_data_nexttoward): Likewise.
39982         (struct test_fi_f_data): Likewise.
39983         (struct test_fl_f_data): Likewise.
39984         (struct test_if_f_data): Likewise.
39985         (struct test_fff_f_data): Likewise.
39986         (struct test_c_f_data): Likewise.
39987         (struct test_f_f1_data): Likewise.  Remove field extra_name.
39988         (struct test_fF_f1_data): Likewise.
39989         (struct test_ffI_f1_data): Likewise.
39990         (struct test_c_c_data): Rename test_name field to arg_str.
39991         (struct test_cc_c_data): Likewise.
39992         (struct test_f_i_data): Likewise.
39993         (struct test_ff_i_data): Likewise.
39994         (struct test_f_l_data): Likewise.
39995         (struct test_f_L_data): Likewise.
39996         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
39997         and extra2_name.
39998         (COMMON_TEST_SETUP): New macro.
39999         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
40000         (COMMON_TEST_CLEANUP): Likewise.
40001         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
40002         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
40003         macros.
40004         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
40005         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
40006         macros.
40007         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
40008         (RUN_TEST_fff_f): Take argument string.  Call new setup and
40009         cleanup macros.
40010         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
40011         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
40012         macros.
40013         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
40014         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
40015         macros.
40016         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40017         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
40018         cleanup macros.
40019         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40020         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
40021         cleanup macros.
40022         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40023         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
40024         cleanup macros.
40025         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40026         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
40027         macros.
40028         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
40029         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
40030         macros.
40031         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
40032         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
40033         macros.
40034         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
40035         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
40036         cleanup macros.
40037         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
40038         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
40039         cleanup macros.
40040         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
40041         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
40042         macros.
40043         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
40044         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
40045         cleanup macros.
40046         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
40047         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
40048         macros.
40049         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
40050         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
40051         macros.
40052         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
40053         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
40054         cleanup macros.
40055         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
40057 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
40059         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
40060         to _sifields.sigfault.
40061         (si_addr_lsb): Define new macro.
40062         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40063         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40064         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
40066 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
40068         [BZ #15441]
40069         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
40070         returns -1.
40071         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
40072         null return -1.
40073         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
40074         loading the domain.
40076 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
40078         * math/gen-libm-test.pl (parse_args): Do not include expected
40079         result in test name.
40080         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
40081         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40082         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40083         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40084         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40087 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40089         * benchtests/Makefile: Sort function entries.
40091         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
40092         tanh, asinh, acosh, atanh.
40093         * benchtests/acos-inputs: New file.
40094         * benchtests/acosh-inputs: New file.
40095         * benchtests/asin-inputs: New file.
40096         * benchtests/asinh-inputs: New file.
40097         * benchtests/atanh-inputs: New file.
40098         * benchtests/cosh-inputs: New file.
40099         * benchtests/log-inputs: New file.
40100         * benchtests/sinh-inputs: New file.
40101         * benchtests/tanh-inputs: New file.
40103 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
40105         [BZ #15339]
40106         * posix/tst-getaddrinfo4.c: New test.
40107         * posix/Makefile (tests): Add it.
40109 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40111         [BZ #15339]
40112         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
40113         when no services were used.
40114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
40115         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
40117 2013-05-21  Andreas Schwab  <schwab@suse.de>
40119         [BZ #15014]
40120         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
40121         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
40122         successful.
40123         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
40124         redundant variable declarations and reallocation of buffer when
40125         parsing as IPv6 address.  Always set NSS status when called from
40126         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
40127         buffer too small.  Correct computation of needed size.
40128         * nss/Makefile (tests): Add test-digits-dots.
40129         * nss/test-digits-dots.c: New test.
40131 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40133         * benchtests/Makefile: Remove instructions for adding
40134         benchmark tests.
40135         * benchtests/README: New file to explain how to execute and
40136         enhance the benchmark tests.
40138 2013-05-21  Andreas Schwab  <schwab@suse.de>
40140         [BZ #15493]
40141         * setjmp/Makefile (tests): Add tst-sigsetjmp.
40142         * setjmp/tst-sigsetjmp.c: New test.
40144 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40146         * sysdeps/x86_64/memset.S (memset): New implementation.
40147         (__bzero): Likewise.
40148         (__memset_tail): New function.
40150 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
40152         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
40153         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
40154         __memcpy_sse2_unaligned ifunc selection.
40155         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40156         Add memcpy-sse2-unaligned.S.
40157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40158         Add: __memcpy_sse2_unaligned.
40160 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
40162         [BZ #15490]
40163         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40164         math_force_eval before restoring floating-point envrionment.
40165         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
40166         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
40167         Likewise.
40168         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
40169         <math_private.h>.
40170         (__nearbyintl): Use math_force_eval before restoring
40171         floating-point environment.
40172         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
40174         * math/gen-libm-test.pl (special_functions): Remove.
40175         (parse_args): Don't handle TEST_extra.  Handle functions with no
40176         return value.
40177         * math/libm-test.inc (struct test_sincos_data): Replace with
40178         struct test_fFF_11_data.
40179         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
40180         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
40181         (sincos_test_data): Change element type to struct
40182         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
40183         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
40184         RUN_TEST_LOOP_sincos.
40185         * math/README.libm-test: Don't mention special handling of
40186         individual functions.
40187         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
40188         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40189         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40190         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40191         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40194         * math/gen-libm-test.pl (get_variable): Remove function.
40195         (parse_args): Don't show pointer parameters to call in test
40196         names.  Use "extra output N" in test names for extra outputs
40197         rather than naming variables.
40199 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
40201         [BZ #15488]
40202         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
40203         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
40204         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
40205         double tests.
40206         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
40207         disable.
40208         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
40209         check_long_double.
40211         * math/gen-libm-test.pl (@tests): Remove variable.
40212         ($count): Likewise.
40213         (new_test): Remove function.
40214         (show_exceptions): New function.
40215         (special_functions): Use show_exceptions instead of new_test.
40216         (parse_args): Likewise.
40217         (generate_testfile): Pass only function name in generated call to
40218         print_max_error or print_complex_max_error.
40219         (get_ulps): Do not handle complex tests specially.
40220         (output_test): Rename to ...
40221         (get_all_ulps_for_test): ... this.  Return a string rather than
40222         printing to a file.  Require ulps to be present.
40223         (output_ulps): Generate arrays rather than #defines.
40224         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
40225         (struct ulp_data): New type.
40226         (BUILD_COMPLEX_ULP): Remove macro.
40227         (compare_ulp_data): New function.
40228         (find_ulps): Likewise.
40229         (find_test_ulps): Likewise.
40230         (find_function_ulps): Likewise.
40231         (find_complex_function_ulps): Likewise.
40232         (print_max_error): Determine allowed ulps using
40233         find_function_ulps.
40234         (print_complex_max_error): Determine allowed ulps using
40235         find_complex_function_ulps.
40236         (check_float_internal): Determine max ulps using find_test_ulps.
40237         (check_float): Do not take max_ulp parameter.  Update call to
40238         check_float_internal.
40239         (check_complex): Likewise.
40240         (check_int): Do not take max_ulp parameter.
40241         (check_long): Likewise.
40242         (check_bool): Likewise.
40243         (check_longlong): Likewise.
40244         (struct test_f_f_data): Remove max_ulp field.
40245         (struct test_ff_f_data): Likewise.
40246         (struct test_ff_f_data_nexttoward): Likewise.
40247         (struct test_fi_f_data): Likewise.
40248         (struct test_fl_f_data): Likewise.
40249         (struct test_if_f_data): Likewise.
40250         (struct test_fff_f_data): Likewise.
40251         (struct test_c_f_data): Likewise.
40252         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
40253         (struct test_fF_f1_data): Likewise.
40254         (struct test_ffI_f1_data): Likewise.
40255         (struct test_c_c_data): Remove max_ulp field.
40256         (struct test_cc_c_data): Likewise.
40257         (struct test_f_i_data): Likewise.
40258         (struct test_ff_i_data): Likewise.
40259         (struct test_f_l_data): Likewise.
40260         (struct test_f_L_data): Likewise.
40261         (struct test_sincos_data): Likewise.
40262         (RUN_TEST_f_f): Do not handle ulps.
40263         (RUN_TEST_LOOP_f_f): Likewise.
40264         (RUN_TEST_2_f): Likewise.
40265         (RUN_TEST_LOOP_2_f): Likewise.
40266         (RUN_TEST_fff_f): Likewise.
40267         (RUN_TEST_LOOP_fff_f): Likewise.
40268         (RUN_TEST_c_f): Likewise.
40269         (RUN_TEST_LOOP_c_f): Likewise.
40270         (RUN_TEST_f_f1): Likewise.
40271         (RUN_TEST_LOOP_f_f1): Likewise.
40272         (RUN_TEST_fF_f1): Likewise.
40273         (RUN_TEST_LOOP_fF_f1): Likewise.
40274         (RUN_TEST_fI_f1): Likewise.
40275         (RUN_TEST_LOOP_fI_f1): Likewise.
40276         (RUN_TEST_ffI_f1): Likewise.
40277         (RUN_TEST_LOOP_ffI_f1): Likewise.
40278         (RUN_TEST_c_c): Likewise.
40279         (RUN_TEST_LOOP_c_c): Likewise.
40280         (RUN_TEST_cc_c): Likewise.
40281         (RUN_TEST_LOOP_cc_c): Likewise.
40282         (RUN_TEST_f_i): Likewise.
40283         (RUN_TEST_LOOP_f_i): Likewise.
40284         (RUN_TEST_f_i_tg): Likewise.
40285         (RUN_TEST_LOOP_f_i_tg): Likewise.
40286         (RUN_TEST_ff_i_tg): Likewise.
40287         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40288         (RUN_TEST_f_b): Likewise.
40289         (RUN_TEST_LOOP_f_b): Likewise.
40290         (RUN_TEST_f_b_tg): Likewise.
40291         (RUN_TEST_LOOP_f_b_tg): Likewise.
40292         (RUN_TEST_f_l): Likewise.
40293         (RUN_TEST_LOOP_f_l): Likewise.
40294         (RUN_TEST_f_L): Likewise.
40295         (RUN_TEST_LOOP_f_L): Likewise.
40296         (RUN_TEST_sincos): Likewise.
40297         (RUN_TEST_LOOP_sincos): Likewise.
40299 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
40301         [BZ #15480]
40302         [BZ #15485]
40303         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
40304         main case of finite arguments, set rounding mode to FE_TONEAREST
40305         and discard exceptions.
40306         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
40307         exceptions.
40308         (remainder_tonearest_test_data): New variable.
40309         (remainder_test_tonearest): New function.
40310         (remainder_towardzero_test_data): New variable.
40311         (remainder_test_towardzero): New function.
40312         (remainder_downward_test_data): New variable.
40313         (remainder_test_downward): New function.
40314         (remainder_upward_test_data): New variable.
40315         (remainder_test_upward): New function.
40316         (main): Call the new test functions.
40318         * math/libm-test.inc (struct test_f_f1_data): Remove field
40319         extra_init.
40320         (struct test_fF_f1_data): Likewise.
40321         (struct test_ffI_f1_data): Likewise.
40322         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
40323         based on value of EXTRA_EXPECTED.
40324         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
40325         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
40326         EXTRA_VAR based on value of EXTRA_EXPECTED.
40327         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
40328         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
40329         EXTRA_VAR based on value of EXTRA_EXPECTED.
40330         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
40331         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
40332         EXTRA_VAR based on value of EXTRA_EXPECTED.
40333         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
40334         * math/gen-libm-test.pl (parse_args): Don't output initializers
40335         for extra output values.
40337         * math/libm-test.inc (check_int): Expect result to be exactly
40338         equal to expected value and do not handle ulps.
40339         (check_long): Likewise.
40340         (check_longlong): Likewise.
40342         * math/libm-test.inc (ceil_test_data): Test for "inexact"
40343         exceptions.
40344         (cimag_test_data): Likewise.
40345         (conj_test_data): Likewise.
40346         (copysign_test_data): Likewise.
40347         (cproj_test_data): Likewise.
40348         (creal_test_data): Likewise.
40349         (fabs_test_data): Likewise.
40350         (fdim_test_data): Likewise.
40351         (finite_test_data): Likewise.
40352         (floor_test_data): Likewise.
40353         (fmax_test_data): Likewise.
40354         (fmin_test_data): Likewise.
40355         (fmod_test_data): Likewise.
40356         (fpclassify_test_data): Likewise.
40357         (frexp_test_data): Likewise.
40358         (ilogb_test_data): Likewise.
40359         (isfinite_test_data): Likewise.
40360         (isgreater_test_data): Likewise.
40361         (isgreaterequal_test_data): Likewise.
40362         (isinf_test_data): Likewise.
40363         (isless_test_data): Likewise.
40364         (islessequal_test_data): Likewise.
40365         (islessgreater_test_data): Likewise.
40366         (isnan_test_data): Likewise.
40367         (isnormal_test_data): Likewise.
40368         (issignaling_test_data): Likewise.
40369         (isunordered_test_data): Likewise.
40370         (ldexp_test_data): Likewise.
40371         (lrint_test_data): Likewise.
40372         (lrint_test_data) [TEST_FLOAT]: Disable one test.
40373         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
40374         (lrint_tonearest_test_data): Test for "inexact" exceptions.
40375         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40376         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
40377         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40378         test input.
40379         (lrint_towardzero_test_data): Test for "inexact" exceptions.
40380         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40381         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
40382         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
40383         that test input.
40384         (lrint_downward_test_data): Test for "inexact" exceptions.
40385         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40386         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
40387         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
40388         test input.
40389         (lrint_upward_test_data): Test for "inexact" exceptions.
40390         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
40391         test input.
40392         (llrint_test_data): Test for "inexact" exceptions.
40393         (llrint_test_data) [TEST_FLOAT]: Disable one test.
40394         (llrint_tonearest_test_data): Test for "inexact" exceptions.
40395         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
40396         (llrint_towardzero_test_data): Test for "inexact" exceptions.
40397         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
40398         (llrint_downward_test_data): Test for "inexact" exceptions.
40399         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
40400         (llrint_upward_test_data): Test for "inexact" exceptions.
40401         (logb_test_data): Likewise.
40402         (logb_downward_test_data): Likewise.
40403         (nextafter_test_data): Likewise.
40404         (nexttoward_test_data): Likewise.
40405         (remainder_test_data): Likewise.
40406         (remquo_test_data): Likewise.
40407         (scalbn_test_data): Likewise.
40408         (scalbln_test_data): Likewise.
40409         (signbit_test_data): Likewise.
40410         (sqrt_test_data): Likewise.
40411         (significand_test_data): Likewise.
40413 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40415         [BZ #15424]
40416         * benchtests/bench-modf.c (struct args): Mark arg0 as
40417         volatile.
40418         * scripts/bench.pl: Mark members of struct args as volatile.
40420 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40422         [BZ # 15497]
40423         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
40424         negative infinity on POWER6 or lower.
40425         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
40427 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40429         [BZ #15442]
40430         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
40431         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
40432         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
40433         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
40434         (_FP_SETQNAN): New macro.
40435         (_FP_SETQNAN_SEMIRAW): Likewise.
40436         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
40437         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
40438         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
40439         (FP_EXTEND): Use _FP_FRAC_SNANP.
40440         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
40441         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
40442         into account.
40443         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40444         New macro.
40445         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
40446         Likewise.
40448 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40450         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
40451         with DIVIDE_BY_ZERO_EXCEPTION.
40452         (gamma_test_data): Likewise.
40453         (lgamma_test_data): Likewise.
40454         (log_test_data): Likewise.
40455         (log10_test_data): Likewise.
40456         (log2_test_data): Likewise.
40457         (tgamma_test_data): Likewise.
40459         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
40460         (acos_test_tonearest): Likewise.
40461         (acos_test_towardzero): Likewise.
40462         (acos_test_downward): Likewise.
40463         (acos_test_upward): Likewise.
40464         (acosh_test): Likewise.
40465         (asin_test): Likewise.
40466         (asin_test_tonearest): Likewise.
40467         (asin_test_towardzero): Likewise.
40468         (asin_test_downward): Likewise.
40469         (asin_test_upward): Likewise.
40470         (asinh_test): Likewise.
40471         (atan_test): Likewise.
40472         (atanh_test): Likewise.
40473         (atan2_test): Likewise.
40474         (cabs_test): Likewise.
40475         (cacos_test): Likewise.
40476         (cacosh_test): Likewise.
40477         (casin_test): Likewise.
40478         (casinh_test): Likewise.
40479         (catan_test): Likewise.
40480         (catanh_test): Likewise.
40481         (cbrt_test): Likewise.
40482         (ccos_test): Likewise.
40483         (ccosh_test): Likewise.
40484         (cexp_test): Likewise.
40485         (clog_test): Likewise.
40486         (clog10_test): Likewise.
40487         (cos_test): Likewise.
40488         (cos_test_tonearest): Likewise.
40489         (cos_test_towardzero): Likewise.
40490         (cos_test_downward): Likewise.
40491         (cos_test_upward): Likewise.
40492         (cosh_test): Likewise.
40493         (cosh_test_tonearest): Likewise.
40494         (cosh_test_towardzero): Likewise.
40495         (cosh_test_downward): Likewise.
40496         (cosh_test_upward): Likewise.
40497         (cpow_test): Likewise.
40498         (csin_test): Likewise.
40499         (csinh_test): Likewise.
40500         (csqrt_test): Likewise.
40501         (ctan_test): Likewise.
40502         (ctan_test_tonearest): Likewise.
40503         (ctan_test_towardzero): Likewise.
40504         (ctan_test_downward): Likewise.
40505         (ctan_test_upward): Likewise.
40506         (ctanh_test): Likewise.
40507         (ctanh_test_tonearest): Likewise.
40508         (ctanh_test_towardzero): Likewise.
40509         (ctanh_test_downward): Likewise.
40510         (ctanh_test_upward): Likewise.
40511         (erf_test): Likewise.
40512         (erfc_test): Likewise.
40513         (exp_test): Likewise.
40514         (exp_test_tonearest): Likewise.
40515         (exp_test_towardzero): Likewise.
40516         (exp_test_downward): Likewise.
40517         (exp_test_upward): Likewise.
40518         (exp10_test): Likewise.
40519         (exp2_test): Likewise.
40520         (expm1_test): Likewise.
40521         (fmod_test): Likewise.
40522         (gamma_test): Likewise.
40523         (hypot_test): Likewise.
40524         (j0_test): Likewise.
40525         (j1_test): Likewise.
40526         (jn_test): Likewise.
40527         (lgamma_test): Likewise.
40528         (log_test): Likewise.
40529         (log10_test): Likewise.
40530         (log1p_test): Likewise.
40531         (log2_test): Likewise.
40532         (logb_test_downward): Likewise.
40533         (pow_test): Likewise.
40534         (pow_test_tonearest): Likewise.
40535         (pow_test_towardzero): Likewise.
40536         (pow_test_downward): Likewise.
40537         (pow_test_upward): Likewise.
40538         (remainder_test): Likewise.
40539         (remquo_test): Likewise.
40540         (sin_test): Likewise.
40541         (sin_test_tonearest): Likewise.
40542         (sin_test_towardzero): Likewise.
40543         (sin_test_downward): Likewise.
40544         (sin_test_upward): Likewise.
40545         (sincos_test): Likewise.
40546         (sinh_test): Likewise.
40547         (sinh_test_tonearest): Likewise.
40548         (sinh_test_towardzero): Likewise.
40549         (sinh_test_downward): Likewise.
40550         (sinh_test_upward): Likewise.
40551         (sqrt_test): Likewise.
40552         (tan_test): Likewise.
40553         (tan_test_tonearest): Likewise.
40554         (tan_test_towardzero): Likewise.
40555         (tan_test_downward): Likewise.
40556         (tan_test_upward): Likewise.
40557         (tanh_test): Likewise.
40558         (tgamma_test): Likewise.
40559         (y0_test): Likewise.
40560         (y1_test): Likewise.
40561         (yn_test): Likewise.
40563         * math/gen-libm-test.pl (adjust_arg): Remove function.
40564         (special_function): Remove argument $in_func.  Only handle
40565         generating output for tables of tests, not inside functions.
40566         (parse_args): Likewise.
40567         (generate_testfile): Remove variable $in_func.  Update call to
40568         parse_args.
40569         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
40570         (MINUS_ZERO_INIT): Rename macro to minus_zero.
40571         (PLUS_INFTY_INIT): Rename macro to plus_infty.
40572         (MINUS_INFTY_INIT): Rename macro to minus_infty.
40573         (QNAN_VALUE_INIT): Rename macro to qnan_value.
40574         (MAX_VALUE_INIT): Rename macro to max_value.
40575         (MIN_VALUE_INIT): Rename macro to min_value.
40576         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
40577         (plus_zero): Remove variable.
40578         (minus_zero): Likewise.
40579         (plus_infty): Likewise.
40580         (minus_infty): Likewise.
40581         (qnan_value): Likewise.
40582         (max_value): Likewise.
40583         (min_value): Likewise.
40584         (min_subnorm_value): Likewise.
40586 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40588         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
40589         uint64_t or uint32_t usage.
40590         * crypt/sha256-block.c: Likewise.
40591         * crypt/sha256-crypt.c: Likewise.
40592         * crypt/sha256.c: Likewise.
40593         * crypt/sha512-block.c: Likewise.
40594         * crypt/sha512-crypt.c: Likewise.
40595         * crypt/sha512.c: Likewise.
40596         * debug/backtrace-tst.c: Likewise.
40597         * debug/pcprofiledump.c: Likewise.
40598         * elf/cache.c: Likewise.
40599         * elf/dl-cache.c: Likewise.
40600         * elf/dl-misc.c: Likewise.
40601         * elf/dl-profile.c: Likewise.
40602         * elf/dl-support.c: Likewise.
40603         * elf/ldconfig.c: Likewise.
40604         * elf/sprof.c: Likewise.
40605         * iconv/dummy-repertoire.c: Likewise.
40606         * iconv/iconv_charmap.c: Likewise.
40607         * iconv/skeleton.c: Likewise.
40608         * iconvdata/8bit-generic.c: Likewise.
40609         * iconvdata/cp737.h: Likewise.
40610         * iconvdata/cp775.h: Likewise.
40611         * iconvdata/ibm1008.h: Likewise.
40612         * iconvdata/ibm1025.h: Likewise.
40613         * iconvdata/ibm1046.h: Likewise.
40614         * iconvdata/ibm1097.h: Likewise.
40615         * iconvdata/ibm1112.h: Likewise.
40616         * iconvdata/ibm1122.h: Likewise.
40617         * iconvdata/ibm1123.h: Likewise.
40618         * iconvdata/ibm1124.h: Likewise.
40619         * iconvdata/ibm1129.h: Likewise.
40620         * iconvdata/ibm1130.h: Likewise.
40621         * iconvdata/ibm1132.h: Likewise.
40622         * iconvdata/ibm1133.h: Likewise.
40623         * iconvdata/ibm1137.h: Likewise.
40624         * iconvdata/ibm1140.h: Likewise.
40625         * iconvdata/ibm1141.h: Likewise.
40626         * iconvdata/ibm1142.h: Likewise.
40627         * iconvdata/ibm1143.h: Likewise.
40628         * iconvdata/ibm1144.h: Likewise.
40629         * iconvdata/ibm1145.h: Likewise.
40630         * iconvdata/ibm1146.h: Likewise.
40631         * iconvdata/ibm1147.h: Likewise.
40632         * iconvdata/ibm1148.h: Likewise.
40633         * iconvdata/ibm1149.h: Likewise.
40634         * iconvdata/ibm1153.h: Likewise.
40635         * iconvdata/ibm1154.h: Likewise.
40636         * iconvdata/ibm1155.h: Likewise.
40637         * iconvdata/ibm1156.h: Likewise.
40638         * iconvdata/ibm1157.h: Likewise.
40639         * iconvdata/ibm1158.h: Likewise.
40640         * iconvdata/ibm1160.h: Likewise.
40641         * iconvdata/ibm1161.h: Likewise.
40642         * iconvdata/ibm1162.h: Likewise.
40643         * iconvdata/ibm1163.h: Likewise.
40644         * iconvdata/ibm1164.h: Likewise.
40645         * iconvdata/ibm1166.h: Likewise.
40646         * iconvdata/ibm1167.h: Likewise.
40647         * iconvdata/ibm12712.h: Likewise.
40648         * iconvdata/ibm1390.h: Likewise.
40649         * iconvdata/ibm1399.h: Likewise.
40650         * iconvdata/ibm16804.h: Likewise.
40651         * iconvdata/ibm4517.h: Likewise.
40652         * iconvdata/ibm4899.h: Likewise.
40653         * iconvdata/ibm4909.h: Likewise.
40654         * iconvdata/ibm4971.h: Likewise.
40655         * iconvdata/ibm5347.h: Likewise.
40656         * iconvdata/ibm803.h: Likewise.
40657         * iconvdata/ibm856.h: Likewise.
40658         * iconvdata/ibm901.h: Likewise.
40659         * iconvdata/ibm902.h: Likewise.
40660         * iconvdata/ibm9030.h: Likewise.
40661         * iconvdata/ibm9066.h: Likewise.
40662         * iconvdata/ibm921.h: Likewise.
40663         * iconvdata/ibm922.h: Likewise.
40664         * iconvdata/ibm9448.h: Likewise.
40665         * iconvdata/isiri-3342.h: Likewise.
40666         * iconvdata/jis0201.h: Likewise.
40667         * include/link.h: Likewise.
40668         * include/netdb.h: Likewise.
40669         * inet/check_native.c: Likewise.
40670         * inet/check_pf.c: Likewise.
40671         * inet/getipv4sourcefilter.c: Likewise.
40672         * inet/getnameinfo.c: Likewise.
40673         * inet/getsourcefilter.c: Likewise.
40674         * inet/htonl.c: Likewise.
40675         * inet/setipv4sourcefilter.c: Likewise.
40676         * inet/setsourcefilter.c: Likewise.
40677         * inet/test-inet6_opt.c: Likewise.
40678         * inet/tst-network.c: Likewise.
40679         * locale/C-collate.c: Likewise.
40680         * locale/C-ctype.c: Likewise.
40681         * locale/C-time.c: Likewise.
40682         * locale/C-translit.h: Likewise.
40683         * locale/loadarchive.c: Likewise.
40684         * locale/programs/3level.h: Likewise.
40685         * locale/programs/charmap.c: Likewise.
40686         * locale/programs/charmap.h: Likewise.
40687         * locale/programs/ld-address.c: Likewise.
40688         * locale/programs/ld-collate.c: Likewise.
40689         * locale/programs/ld-ctype.c: Likewise.
40690         * locale/programs/ld-identification.c: Likewise.
40691         * locale/programs/ld-measurement.c: Likewise.
40692         * locale/programs/ld-messages.c: Likewise.
40693         * locale/programs/ld-monetary.c: Likewise.
40694         * locale/programs/ld-name.c: Likewise.
40695         * locale/programs/ld-numeric.c: Likewise.
40696         * locale/programs/ld-paper.c: Likewise.
40697         * locale/programs/ld-telephone.c: Likewise.
40698         * locale/programs/ld-time.c: Likewise.
40699         * locale/programs/linereader.c: Likewise.
40700         * locale/programs/locale.c: Likewise.
40701         * locale/programs/locarchive.c: Likewise.
40702         * locale/programs/locfile.h: Likewise.
40703         * locale/programs/repertoire.c: Likewise.
40704         * locale/programs/simple-hash.c: Likewise.
40705         * locale/programs/simple-hash.h: Likewise.
40706         * malloc/memusage.c: Likewise.
40707         * malloc/memusagestat.c: Likewise.
40708         * nis/nis_defaults.c: Likewise.
40709         * nis/nis_hash.c: Likewise.
40710         * nis/nis_print.c: Likewise.
40711         * nis/nis_xdr.c: Likewise.
40712         * nscd/connections.c: Likewise.
40713         * nscd/hstcache.c: Likewise.
40714         * nscd/nscd_gethst_r.c: Likewise.
40715         * nscd/nscd_getserv_r.c: Likewise.
40716         * nscd/nscd_helper.c: Likewise.
40717         * nscd/servicescache.c: Likewise.
40718         * nss/makedb.c: Likewise.
40719         * nss/nss_db/db-XXX.c: Likewise.
40720         * nss/nss_db/db-initgroups.c: Likewise.
40721         * nss/nss_db/db-netgrp.c: Likewise.
40722         * nss/nss_files/files-network.c: Likewise.
40723         * nss/nss_files/files-parse.c: Likewise.
40724         * posix/bug-regex5.c: Likewise.
40725         * posix/fnmatch_loop.c: Likewise.
40726         * posix/regcomp.c: Likewise.
40727         * posix/regexec.c: Likewise.
40728         * posix/tst-rfc3484-2.c: Likewise.
40729         * posix/tst-rfc3484-3.c: Likewise.
40730         * posix/tst-rfc3484.c: Likewise.
40731         * resolv/nss_dns/dns-canon.c: Likewise.
40732         * resolv/nss_dns/dns-network.c: Likewise.
40733         * resolv/res_init.c: Likewise.
40734         * resolv/res_mkquery.c: Likewise.
40735         * resolv/tst-aton.c: Likewise.
40736         * stdlib/cxa_atexit.c: Likewise.
40737         * stdlib/cxa_finalize.c: Likewise.
40738         * stdlib/gen-fpioconst.c: Likewise.
40739         * stdlib/strtol_l.c: Likewise.
40740         * string/tst-endian.c: Likewise.
40741         * sunrpc/auth_des.c: Likewise.
40742         * sunrpc/clnt_udp.c: Likewise.
40743         * sunrpc/rtime.c: Likewise.
40744         * sunrpc/svcauth_des.c: Likewise.
40745         * sunrpc/xdr.c: Likewise.
40746         * sunrpc/xdr_intXX_t.c: Likewise.
40747         * sunrpc/xdr_rec.c: Likewise.
40748         * sysdeps/generic/ldconfig.h: Likewise.
40749         * sysdeps/generic/ldsodefs.h: Likewise.
40750         * sysdeps/generic/memusage.h: Likewise.
40751         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40752         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
40753         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
40754         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40755         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40756         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40757         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40758         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40759         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40760         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40761         * sysdeps/posix/getaddrinfo.c: Likewise.
40762         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40763         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40764         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
40765         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40766         * sysdeps/powerpc/test-gettimebase.c: Likewise.
40767         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40768         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
40769         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
40770         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
40771         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
40772         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40773         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40774         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
40775         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
40776         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
40777         * sysdeps/x86_64/dl-tls.h: Likewise.
40778         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
40779         * time/alt_digit.c: Likewise.
40780         * time/era.c: Likewise.
40781         * wcsmbs/tst-c16c32-1.c: Likewise.
40783 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40785         * math/libm-test.inc (struct test_sincos_data): New type.
40786         (RUN_TEST_LOOP_sincos): New macro.
40787         (sincos_test_data): New variable.
40788         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
40790 2013-05-16  Richard Henderson  <rth@redhat.com>
40792         * math/atest-exp2.c (LIMB64): New macro.
40793         (CONSTSZ): New macro.
40794         (mp_exp1, mp_exp_m1, mp_log2): New variables.
40795         (hexdig): Move ...
40796         (print_mpn_fp): ... to function scope.
40797         (read_mpn_hex): Remove.
40798         (get_log2): Remove.
40799         (exp2_mpn): Use mp_log2.
40800         (main): Use mp_exp1.
40802 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
40804         * math/libm-test.inc: Remove comment about not testing "inexact"
40805         exceptions.
40806         (INEXACT_EXCEPTION): New macro.
40807         (NO_INEXACT_EXCEPTION): Likewise.
40808         (INVALID_EXCEPTION_OK): Update value.
40809         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40810         (OVERFLOW_EXCEPTION_OK): Likewise.
40811         (UNDERFLOW_EXCEPTION_OK): Likewise.
40812         (IGNORE_ZERO_INF_SIGN): Likewise.
40813         (ERRNO_UNCHANGED): Likewise.
40814         (ERRNO_EDOM): Likewise.
40815         (ERRNO_ERANGE): Likewise.
40816         (test_exceptions): Handle testing "inexact" exceptions.
40817         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
40818         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
40819         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
40820         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
40821         INEXACT_EXCEPTION.
40822         (rint_towardzero_test_data): Likewise.
40823         (rint_downward_test_data): Likewise.
40824         (rint_upward_test_data): Likewise.
40826         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
40827         with OVERFLOW_EXCEPTION.
40828         (exp10_test_data): Likewise.
40829         (exp2_test_data): Likewise.
40830         (expm1_test_data): Likewise.
40831         (lgamma_test_data): Likewise.
40832         (pow_test_data): Likewise.
40833         (tgamma_test_data): Likewise.
40834         (yn_test_data): Remove duplicate test of overflow.
40836         * math/libm-test.inc (struct test_cc_c_data): New type.
40837         (RUN_TEST_LOOP_cc_c): New macro.
40838         (cpow_test_data): New variable.
40839         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
40841         * math/libm-test.inc (struct test_f_L_data): New type.
40842         (RUN_TEST_LOOP_f_L): New macro.
40843         (llrint_test_data): New variable.
40844         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
40845         (llrint_tonearest_test_data): New variable.
40846         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
40847         (llrint_towardzero_test_data): New variable.
40848         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
40849         (llrint_downward_test_data): New variable.
40850         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
40851         (llrint_upward_test_data): New variable.
40852         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
40853         (llround_test_data): New variable.
40854         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
40856 2013-05-13  Peter Collingbourne  <pcc@google.com>
40858         * math/atest-exp2.c (get_log2): Remove const attribute.
40860 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40862         * math/libm-test.inc (struct test_f_l_data): New type.
40863         (RUN_TEST_LOOP_f_l): New macro.
40864         (lrint_test_data): New variable.
40865         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
40866         (lrint_tonearest_test_data): New variable.
40867         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
40868         (lrint_towardzero_test_data): New variable.
40869         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
40870         (lrint_downward_test_data): New variable.
40871         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
40872         (lrint_upward_test_data): New variable.
40873         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
40874         (lround_test_data): New variable.
40875         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
40877 2013-05-15  Peter Collingbourne  <pcc@google.com>
40879         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
40880         (EXTRACT_WORDS64) Use where appropriate.
40881         (INSERT_WORDS64) Likewise.
40883         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
40884         constraints with x constraints.
40885         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
40887         * malloc/obstack.c (_obstack_compat): Add initializer.
40889 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
40891         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
40892         si_trapno and add si_addr_lsb to _sifields.sigfault.
40893         (si_trapno): Remove macro.
40894         (si_addr_lsb): Define new macro.
40895         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
40897 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
40899         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
40900         instead of TEST_f_l.
40901         (llrint_test_tonearest): Likewise.
40902         (llrint_test_towardzero): Likewise.
40903         (llrint_test_downward): Likewise.
40904         (llrint_test_upward): Likewise.
40905         (llround_test): Likewise.
40907         * math/libm-test.inc (struct test_f_i_data): Add comment.
40908         (RUN_TEST_LOOP_f_b): New macro.
40909         (RUN_TEST_LOOP_f_b_tg): Likewise.
40910         (finite_test_data): New variable.
40911         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
40912         (isfinite_test_data): New variable.
40913         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40914         (isinf_test_data): New variable.
40915         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40916         (isnan_test_data): New variable.
40917         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40918         (isnormal_test_data): New variable.
40919         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40920         (issignaling_test_data): New variable.
40921         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40922         (signbit_test_data): New variable.
40923         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
40925         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
40926         with INVALID_EXCEPTION.
40927         (acosh_test_data): Likewise.
40928         (asin_test_data): Likewise.
40929         (atanh_test_data): Likewise.
40930         (fmod_test_data): Likewise.
40931         (log_test_data): Likewise.
40932         (log10_test_data): Likewise.
40933         (log2_test_data): Likewise.
40934         (pow_test_data): Likewise.
40935         (sqrt_test_data): Likewise.
40936         (y0_test_data): Likewise.
40937         (y1_test_data): Likewise.
40938         (yn_test_data): Likewise.
40940         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
40941         function contents.
40943         * math/libm-test.inc (struct test_ff_i_data): New type.
40944         (RUN_TEST_LOOP_ff_i_tg): New macro.
40945         (isgreater_test_data): New variable.
40946         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40947         (isgreaterequal_test_data): New variable.
40948         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40949         (isless_test_data): New variable.
40950         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40951         (islessequal_test_data): New variable.
40952         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40953         (islessgreater_test_data): New variable.
40954         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40955         (isunordered_test_data): New variable.
40956         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
40958 2013-05-14  David S. Miller  <davem@davemloft.net>
40960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40962 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
40964         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
40966         * math/libm-test.inc (struct test_fF_f1_data): Change type of
40967         extra_test to int.
40968         (struct test_f_i_data): Change type of max_ulp to int.
40970         * math/libm-test.inc (test_ffI_f1_data): New type.
40971         (RUN_TEST_LOOP_ffI_f1): New macro.
40972         (remquo_test_data): New variable.
40973         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
40975         * setjmp/tst-setjmp-fp.c: New file.
40976         * setjmp/Makefile (tests): Add tst-setjmp-fp.
40977         (link-libm): New variable.
40978         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
40980         * math/libm-test.inc (struct test_f_i_data): New type.
40981         (RUN_TEST_LOOP_f_i): New macro.
40982         (RUN_TEST_LOOP_f_i_tg): Likewise.
40983         (fpclassify_test_data): New variable.
40984         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
40985         (ilogb_test_data): New variable.
40986         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
40988         * math/libm-test.inc (scalbln_test): Correct function name in END
40989         call.
40991         * math/libm-test.inc (struct test_f_f1_data): Add comment.
40992         (RUN_TEST_LOOP_fI_f1): New macro.
40993         (frexp_test_data): New variable.
40994         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
40996         * math/libm-test.inc (struct test_fF_f1_data): New type.
40997         (RUN_TEST_LOOP_fF_f1): New macro.
40998         (modf_test_data): New variable.
40999         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
41001         * math/libm-test.inc (struct test_f_f1_data): New type.
41002         (RUN_TEST_LOOP_f_f1): New macro.
41003         (gamma_test_data): New variable.
41004         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41005         (lgamma_test_data): New variable.
41006         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41008 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
41010         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
41011         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
41012         (main): Comment "tls" pseudo-hwcap.
41014 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
41016         * math/libm-test.inc (struct test_fl_f_data): New type.
41017         (RUN_TEST_LOOP_fl_f): New variable.
41018         (scalbln_test_data): New variable.
41019         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
41021         * math/libm-test.inc (struct test_fi_f_data): New type.
41022         (RUN_TEST_LOOP_fi_f): New macro.
41023         (ldexp_test_data): New variable.
41024         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
41025         (scalbn_test_data): New variable.
41026         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
41028         * math/libm-test.inc (struct test_c_f_data): New type.
41029         (RUN_TEST_LOOP_c_f): New macro.
41030         (cabs_test_data): New variable.
41031         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
41032         (carg_test_data): New variable.
41033         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41034         (cimag_test_data): New variable.
41035         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
41036         (creal_test_data): New variable.
41037         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41039         * math/libm-test.inc (struct test_if_f_data): New type.
41040         (RUN_TEST_LOOP_if_f): New macro.
41041         (jn_test_data): New variable.
41042         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
41043         (yn_test_data): New variable.
41044         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
41046         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
41048 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41050         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
41051         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
41053 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41055         * benchtests/Makefile (CPPFLAGS-nonlib): Add
41056         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
41057         (bench-deps): Add bench-timing.h.
41058         * benchtests-bench-skeleton.c: Include bench-timing.h.
41059         (main): Use TIMING_* macros instead of clock_gettime.
41060         * benchtests/bench-timing.h: New file.
41062         [BZ #14582]
41063         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
41064         Renamed from _LIB_VERSION.
41065         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
41067 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
41069         * math/libm-test.inc (struct test_fff_f_data): New type.
41070         (RUN_TEST_LOOP_fff_f): New macro.
41071         (fma_test_data): New variable.
41072         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
41073         (fma_towardzero_test_data): New variable.
41074         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
41075         (fma_downward_test_data): New variable.
41076         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
41077         (fma_upward_test_data): New variable.
41078         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
41080         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
41081         (struct test_c_c_data): New type.
41082         (RUN_TEST_LOOP_c_c): New macro.
41083         (cacos_test_data): New variable.
41084         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
41085         (cacosh_test_data): New variable.
41086         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
41087         (casin_test_data): New variable.
41088         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
41089         (casinh_test_data): New variable.
41090         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
41091         (catan_test_data): New variable.
41092         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
41093         (catanh_test_data): New variable.
41094         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
41095         (ccos_test_data): New variable.
41096         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
41097         (ccosh_test_data): New variable.
41098         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
41099         (cexp_test_data): New variable.
41100         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
41101         (clog_test_data): New variable.
41102         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
41103         (clog10_test_data): New variable.
41104         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
41105         (conj_test_data): New variable.
41106         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
41107         (cproj_test_data): New variable.
41108         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
41109         (csin_test_data): New variable.
41110         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
41111         (csinh_test_data): New variable.
41112         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
41113         (csqrt_test_data): New variable.
41114         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
41115         (ctan_test_data): New variable.
41116         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
41117         (ctan_tonearest_test_data): New variable.
41118         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41119         (ctan_towardzero_test_data): New variable.
41120         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41121         (ctan_downward_test_data): New variable.
41122         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41123         (ctan_upward_test_data): New variable.
41124         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41125         (ctanh_test_data): New variable.
41126         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
41127         (ctanh_tonearest_test_data): New variable.
41128         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
41129         (ctanh_towardzero_test_data): New variable.
41130         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
41131         (ctanh_downward_test_data): New variable.
41132         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
41133         (ctanh_upward_test_data): New variable.
41134         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
41135         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
41136         of BUILD_COMPLEX.
41138         * math/libm-test.inc (struct test_ff_f_data): New type.
41139         (struct test_ff_f_data_nexttoward): Likewise.
41140         (RUN_TEST_LOOP_2_f): New macro.
41141         (RUN_TEST_LOOP_ff_f): Likewise.
41142         (atan2_test_data): New variable.
41143         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
41144         (copysign_test_data): New variable.
41145         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
41146         (fdim_test_data): New variable.
41147         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
41148         (fmax_test_data): New variable.
41149         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
41150         (fmin_test_data): New variable.
41151         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
41152         (fmod_test_data): New variable.
41153         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
41154         (hypot_test_data): New variable.
41155         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
41156         (nextafter_test_data): New variable.
41157         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
41158         (nexttoward_test_data): New variable.
41159         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
41160         (pow_test_data): New variable.
41161         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
41162         (pow_tonearest_test_data): New variable.
41163         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
41164         (pow_towardzero_test_data): New variable.
41165         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
41166         (pow_downward_test_data): New variable.
41167         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
41168         (pow_upward_test_data): New variable.
41169         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
41170         (remainder_test_data): New variable.
41171         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
41172         (scalb_test_data): New variable.
41173         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
41174         * sysdeps/i386/fpu/libm-test-ulps: Update.
41176 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
41178         * math/libm-test.inc (fma_test): Use max_value instead of local
41179         variable fltmax.
41180         (nextafter_test): Likewise.
41182         * math/libm-test.inc (acos_towardzero_test_data): New variable.
41183         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41184         (acos_downward_test_data): New variable.
41185         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41186         (acos_upward_test_data): New variable.
41187         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41188         (acosh_test_data): New variable.
41189         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
41190         (asin_test_data): New variable.
41191         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
41192         (asin_tonearest_test_data): New variable.
41193         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41194         (asin_towardzero_test_data): New variable.
41195         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41196         (asin_downward_test_data): New variable.
41197         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41198         (asin_upward_test_data): New variable.
41199         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41200         (asinh_test_data): New variable.
41201         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
41202         (atan_test_data): New variable.
41203         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
41204         (atanh_test_data): New variable.
41205         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
41206         (cbrt_test_data): New variable.
41207         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
41208         (ceil_test_data): New variable.
41209         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
41210         (cos_test_data): New variable.
41211         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
41212         (cos_tonearest_test_data): New variable.
41213         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41214         (cos_towardzero_test_data): New variable.
41215         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41216         (cos_downward_test_data): New variable.
41217         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41218         (cos_upward_test_data): New variable.
41219         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41220         (cosh_test_data): New variable.
41221         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
41222         (cosh_tonearest_test_data): New variable.
41223         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41224         (cosh_towardzero_test_data): New variable.
41225         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41226         (cosh_downward_test_data): New variable.
41227         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41228         (cosh_upward_test_data): New variable.
41229         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41230         (erf_test_data): New variable.
41231         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
41232         (erfc_test_data): New variable.
41233         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
41234         (exp_test_data): New variable.
41235         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
41236         (exp_tonearest_test_data): New variable.
41237         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41238         (exp_towardzero_test_data): New variable.
41239         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41240         (exp_downward_test_data): New variable.
41241         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41242         (exp_upward_test_data): New variable.
41243         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41244         (exp10_test_data): New variable.
41245         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
41246         (exp2_test_data): New variable.
41247         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
41248         (expm1_test_data): New variable.
41249         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
41250         (fabs_test_data): New variable.
41251         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
41252         (floor_test_data): New variable.
41253         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
41254         (j0_test_data): New variable.
41255         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
41256         (j1_test_data): New variable.
41257         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
41258         (log_test_data): New variable.
41259         (log_test): Run tests with RUN_TEST_LOOP_f_f.
41260         (log10_test_data): New variable.
41261         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
41262         (log1p_test_data): New variable.
41263         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
41264         (log2_test_data): New variable.
41265         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
41266         (logb_test_data): New variable.
41267         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
41268         (logb_downward_test_data): New variable.
41269         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41270         (nearbyint_test_data): New variable.
41271         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
41272         (rint_test_data): New variable.
41273         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
41274         (rint_tonearest_test_data): New variable.
41275         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41276         (rint_towardzero_test_data): New variable.
41277         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41278         (rint_downward_test_data): New variable.
41279         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41280         (rint_upward_test_data): New variable.
41281         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41282         (round_test_data): New variable.
41283         (round_test): Run tests with RUN_TEST_LOOP_f_f.
41284         (sin_test_data): New variable.
41285         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
41286         (sin_tonearest_test_data): New variable.
41287         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41288         (sin_towardzero_test_data): New variable.
41289         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41290         (sin_downward_test_data): New variable.
41291         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41292         (sin_upward_test_data): New variable.
41293         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41294         (sinh_test_data): New variable.
41295         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
41296         (sinh_tonearest_test_data): New variable.
41297         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41298         (sinh_towardzero_test_data): New variable.
41299         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41300         (sinh_downward_test_data): New variable.
41301         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41302         (sinh_upward_test_data): New variable.
41303         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41304         (sqrt_test_data): New variable.
41305         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
41306         (tan_test_data): New variable.
41307         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
41308         (tan_tonearest_test_data): New variable.
41309         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41310         (tan_towardzero_test_data): New variable.
41311         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41312         (tan_downward_test_data): New variable.
41313         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
41314         (tan_upward_test_data): New variable.
41315         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
41316         (tanh_test_data): New variable.
41317         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
41318         (tgamma_test_data): New variable.
41319         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
41320         (trunc_test_data): New variable.
41321         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
41322         (y0_test_data): New variable.
41323         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
41324         (y1_test_data): New variable.
41325         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
41326         (significand_test_data): New variable.
41327         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
41329 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
41331         [BZ #12387]
41332         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
41334 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41336         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
41338 2013-05-10  Andreas Jaeger  <aj@suse.de>
41340         [BZ #15448]
41341         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
41342         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
41344 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41346         * math/gen-libm-test.pl (adjust_arg): New function.
41347         (special_functions): Handle generating output in both functions
41348         and arrays.
41349         (parse_args): Likewise.
41350         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
41351         $in_func argument to parse_args.
41352         * math/libm-test.inc (struct test_f_f_data): New type.
41353         (IF_ROUND_INIT_): New macro.
41354         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
41355         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
41356         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
41357         (IF_ROUND_INIT_FE_UPWARD): Likewise.
41358         (ROUND_RESTORE_): Likewise.
41359         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
41360         (ROUND_RESTORE_FE_TONEAREST): Likewise.
41361         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
41362         (ROUND_RESTORE_FE_UPWARD): Likewise.
41363         (RUN_TEST_LOOP_f_f): New macro.
41364         (acos_test_data): New variable.
41365         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
41366         (acos_tonearest_test_data): New variable.
41367         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
41369 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41371         * benchtests/bench-skeleton.c (startup): Fix coding style.
41373 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
41375         [BZ #6809]
41376         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
41377         negative infinity argument.
41378         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
41379         negative infinity argument.
41380         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
41381         negative infinity argument.
41382         * math/libm-test.inc (tgamma_test): Expect errno to be set for
41383         domain errors.
41385 2013-05-10  Florian Weimer  <fweimer@redhat.com>
41387         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
41388         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
41389         * iconv/iconv_prog.c (main): Likewise.
41390         * locale/programs/charmap-dir.c (charmap_readdir)
41391         (fopen_uncompressed): Likewise.
41392         * locale/programs/locfile.c (siblings_uncached)
41393         (write_locale_data): Use lstat64 instead of lstat.
41394         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
41395         stat.
41397 2013-05-10  Andreas Jaeger  <aj@suse.de>
41399         [BZ #15395]
41400         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
41401         localization.
41402         Include <locale.h>.
41404 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
41406         * elf/dl-close.c (_dl_close_worker): Add comments.
41408 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
41410         [BZ #15359]
41411         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
41412         high part of pi/2.
41413         (__ieee754_rem_pio2l): Update comments.
41415         [BZ #15429]
41416         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
41417         high part of pi/2.
41418         (__ieee754_rem_pio2l): Update comments.
41420         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
41421         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
41423         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
41424         M_PI_4l.
41426         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
41427         (M_PI_34_LOG10El): Likewise.
41428         (M_PI2_LOG10El): Likewise.
41429         (M_PI4_LOG10El): Likewise.
41430         (M_PI_LOG10El): Likewise.
41432 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41436 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
41438         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
41439         (MINUS_ZERO_INIT): Likewise.
41440         (PLUS_INFTY_INIT): Likewise.
41441         (MINUS_INFTY_INIT): Likewise.
41442         (QNAN_VALUE_INIT): Likewise.
41443         (MAX_VALUE_INIT): Likewise.
41444         (MIN_VALUE_INIT): Likewise.
41445         (MIN_SUBNORM_VALUE_INIT): Likewise.
41446         (plus_zero): Initialize with PLUS_ZERO_INIT.
41447         (minus_zero): Initialize with MINUS_ZERO_INIT.
41448         (plus_infty): Initialize with PLUS_INFTY_INIT.
41449         (minus_infty): Initialize with MINUS_INFTY_INIT.
41450         (qnan_value): Initialize with QNAN_VALUE_INIT.
41451         (max_value): Initialize with MAX_VALUE_INIT.
41452         (min_value): Initialize with MIN_VALUE_INIT.
41453         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
41455         * math/libm-test.inc (RUN_TEST_if_f): New macro.
41456         (jn_test): Use TEST_if_f instead of TEST_ff_f.
41457         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
41458         (yn_test): Use TEST_if_f instead of TEST_ff_f.
41460         * math/libm-test.inc (RUN_TEST_f_f): New macro.
41461         (RUN_TEST_2_f): Likewise.
41462         (RUN_TEST_ff_f): Likewise.
41463         (RUN_TEST_fi_f): Likewise.
41464         (RUN_TEST_fl_f): Likewise.
41465         (RUN_TEST_fff_f): Likewise.
41466         (RUN_TEST_c_f): Likewise.
41467         (RUN_TEST_f_f1): Likewise.
41468         (RUN_TEST_fF_f1): Likewise.
41469         (RUN_TEST_fI_f1): Likewise.
41470         (RUN_TEST_ffI_f1): Likewise.
41471         (RUN_TEST_c_c): Likewise.
41472         (RUN_TEST_cc_c): Likewise.
41473         (RUN_TEST_f_i): Likewise.
41474         (RUN_TEST_f_i_tg): Likewise.
41475         (RUN_TEST_ff_i_tg): Likewise.
41476         (RUN_TEST_f_b): Likewise.
41477         (RUN_TEST_f_b_tg): Likewise.
41478         (RUN_TEST_f_l): Likewise.
41479         (RUN_TEST_f_L): Likewise.
41480         (RUN_TEST_sincos): Likewise.
41481         * math/gen-libm-test.pl (new_test): Take new argument to indicate
41482         whether to show exceptions.  Do not include ");\n" in return
41483         value.
41484         (special_functions): Output call to RUN_TEST_sincos instead of
41485         check_float calls.  Update calls to new_test.
41486         (parse_args): Output call to single RUN_TEST_* macro instead of
41487         check_* calls and other assignments.  Update calls to new_test.
41489         [BZ #2546]
41490         [BZ #2560]
41491         [BZ #5159]
41492         [BZ #15426]
41493         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
41494         input to result for tgamma overflow.
41495         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
41496         (gamma_coeff): New variable.
41497         (NCOEFF): New macro.
41498         (gamma_positive): New function.
41499         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
41500         underflow here.  Use gamma_positive instead of exp (lgamma) for
41501         other arguments.
41502         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
41503         (gamma_coeff): New variable.
41504         (NCOEFF): New macro.
41505         (gammaf_positive): New function.
41506         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
41507         underflow here.  Use gamma_positive instead of exp (lgamma) for
41508         other arguments.
41509         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
41510         (gamma_coeff): New variable.
41511         (NCOEFF): New macro.
41512         (gammal_positive): New function.
41513         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
41514         underflow here.  Use gamma_positive instead of exp (lgamma) for
41515         other arguments.
41516         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
41517         (gamma_coeff): New variable.
41518         (NCOEFF): New macro.
41519         (gammal_positive): New function.
41520         (__ieee754_gammal_r): Handle positive infinity, overflow and
41521         underflow here.  Handle NaN the same as positive infinity.  Remove
41522         check x < 0xffffffff for negative integers.  Use gamma_positive
41523         instead of exp (lgamma) for other arguments.
41524         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
41525         (gamma_coeff): New variable.
41526         (NCOEFF): New macro.
41527         (gammal_positive): New function.
41528         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
41529         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
41530         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
41531         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
41532         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
41533         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
41534         * sysdeps/generic/math_private.h (__gamma_productf): New
41535         prototype.
41536         (__gamma_product): Likewise.
41537         (__gamma_productl): Likewise.
41538         * math/Makefile (libm-calls): Add gamma_product.
41539         * math/libm-test.inc (tgamma_test): Add more tests.
41540         * sysdeps/i386/fpu/libm-test-ulps: Update.
41541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41543 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
41545         * benchtests/bench-skeleton.c (main): Preheat CPU.
41547 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
41549         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
41551 2013-05-07  Roland McGrath  <roland@hack.frob.com>
41553         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
41554         and _dl_skip_args_internal.
41556 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
41558         * manual/message.texi (Message Translation): Talk about users.
41559         Message to key mapping impacts design.
41561 2013-05-06  Roland McGrath  <roland@hack.frob.com>
41563         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
41565         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
41567         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
41568         * sysdeps/wordsize-64/glob64.c: ... here.
41570         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
41571         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
41572         New macros.
41574         * debug/getlogin_r_chk.c: Moved to ...
41575         * login/getlogin_r_chk.c: ... here.
41576         * debug/Makefile (routines): Move getlogin_r_chk to ...
41577         * login/Makefile (routines): ... here.
41578         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
41579         * login/Versions (libc: GLIBC_2.4): ... here.
41581         * io/poll.c (__poll): Renamed from poll.
41582         Add libc_hidden_def.
41583         (poll): Define as weak alias.
41585         * debug/ptsname_r_chk.c: Moved to ...
41586         * login/ptsname_r_chk.c: ... here.
41587         * debug/Makefile (routines): Move ptsname_r_chk to ...
41588         * login/Makefile (routines): ... here.
41589         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
41590         * login/Versions (libc: GLIBC_2.4): ... here.
41592         * posix/getlogin.c: Moved to ...
41593         * login/getlogin.c: ... here.
41594         * posix/getlogin_r.c: Moved to ...
41595         * login/getlogin_r.c: ... here.
41596         * posix/getlogin_r.c: Moved to ...
41597         * login/getlogin_r.c: ... here.
41598         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
41599         * login/Makefile (routines): ... here.
41600         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
41601         * login/Versions (libc: GLIBC_2.0): ... here.
41603         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
41604         (setrlimit): Define as weak alias.
41606         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
41607         Call __ names for open, ftruncate, and close.
41608         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
41609         (truncate): Define as weak alias.
41611 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
41613         * math/gen-libm-test.pl (parse_args): Initialize x before each
41614         test of frexp, modf and remquo.
41616         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
41617         test signgam value.
41619 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41621         [BZ #15418]
41622         [BZ #15419]
41623         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
41624         internal tests.
41625         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41627 2013-05-06  Roland McGrath  <roland@hack.frob.com>
41629         * elf/dl-writev.h: New file.
41630         * elf/dl-misc.c: Include it.
41631         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
41632         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
41634 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
41636         * math/libm-test.inc (noXFails): Remove variable.
41637         (noXPasses): Likewise.
41638         (BUILD_COMPLEX_INT): Remove macro.
41639         (print_screen): Remove xfail argument.
41640         (print_screen_max_error): Likewise.
41641         (update_stats): Likewise.
41642         (print_max_error): Likewise.  Update calls to other affected
41643         functions.
41644         (print_complex_max_error): Likewise.
41645         (test_single_exception): Update calls to print_screen.
41646         (test_single_errno): Likewise.
41647         (check_float_internal): Remove xfail argument.  Update calls to
41648         other affected functions.
41649         (check_float): Likewise.
41650         (check_complex): Likewise.
41651         (check_int): Likewise.
41652         (check_long): Likewise.
41653         (check_bool): Likewise.
41654         (check_longlong): Likewise.
41655         (main): Don't print noXFails and noXPasses.
41656         * math/gen-libm-test.pl (top level): Don't mention expected
41657         failure handling in comment.
41658         (new_test): Don't handle expected failures.
41659         (parse_args): Don't mention expected failure handling in comment.
41660         (generate_testfile): Don't handle expected failures.
41661         (parse_ulps): Likewise.
41662         (print_ulps_file): Likewise.
41663         (get_failure): Remove function.
41664         (output_test): Don't handle expected failures.
41665         * make/README.libm-test: Don't mention expected failure handling.
41667         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
41668         (minus_zero): Likewise.
41669         (plus_infty): Likewise.
41670         (minus_infty): Likewise.
41671         (qnan_value): Likewise.
41672         (max_value): Likewise.
41673         (min_value): Likewise.
41674         (min_subnorm_value): Likewise.
41675         (initialize): Do not initialize those variables dynamically.
41677 2013-05-03  Roland McGrath  <roland@hack.frob.com>
41679         * io/open.c (__open_2): Moved to ...
41680         * io/open_2.c: ... this new file.
41681         * io/open64.c (__open64_2): Moved to ...
41682         * io/open64_2.c: ... this new file.
41683         * io/openat.c (__openat_2): Moved to ...
41684         * io/openat_2.c: ... this new file.
41685         * io/openat64.c (__openat64_2): Moved to ...
41686         * io/openat64_2.c: ... this new file.
41687         * io/Makefile (routines): Add them.
41688         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
41689         * sysdeps/unix/sysv/linux/open_2.c: File removed.
41690         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
41691         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
41692         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
41693         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
41694         (__openat64): Add hidden_ver.
41695         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
41696         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
41698         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
41699         Separately conditionalize setting of GLRO(dl_sysinfo) so
41700         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
41701         as well, but the actual setting is only under [NEED_DL_SYSINFO].
41703 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41705         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
41706         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
41707         definition.
41708         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
41709         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41710         (_libc_vdso_platform_setup): Add __vdso_time initialization.
41711         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
41712         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
41714 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
41716         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
41717         test signgam value.
41719         * math/libm-test.inc (hypot_test): Do not use
41720         IGNORE_ZERO_INF_SIGN.
41722 2013-05-03  Andreas Jaeger  <aj@suse.de>
41724         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
41725         Linux 3.9.
41726         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
41727         (PF_MAX): Adjust for VSOCK change.
41729 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41733 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
41735         [BZ #15264]
41736         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
41737         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
41738         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
41740 2013-05-02  David S. Miller  <davem@davemloft.net>
41742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41744 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
41746         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
41748 2013-05-01  Roland McGrath  <roland@hack.frob.com>
41750         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
41752 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
41754         [BZ #14952]
41755         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
41756         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
41757         Use __attribute__ ((__gnu_inline__)).
41758         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
41759         Don't use __attribute__ ((__gnu_inline__)).
41761 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
41763         [BZ #15423]
41764         * math/s_catan.c (__catan): Handle small real or imaginary part of
41765         input specially to avoid spurious underflow.
41766         * math/s_catanf.c (__catanf): Likewise.
41767         * math/s_catanh.c (__catanh): Likewise.
41768         * math/s_catanhf.c (__catanhf): Likewise.
41769         * math/s_catanhl.c (__catanhl): Likewise.
41770         * math/s_catanl.c (__catanl): Likewise.
41771         * math/libm-test.inc (catan_test): Add more tests.
41772         (catanh_test): Likewise.
41773         * sysdeps/i386/fpu/libm-test-ulps: Update.
41774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41776 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41780 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
41782         [BZ #15416]
41783         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
41784         accurately for denominator in atan2.
41785         * math/s_catanf.c (__catanf): Likewise.
41786         * math/s_catanh.c (__catanh): Likewise.
41787         * math/s_catanhf.c (__catanhf): Likewise.
41788         * math/s_catanhl.c (__catanhl): Likewise.
41789         * math/s_catanl.c (__catanl): Likewise.
41790         * math/libm-test.inc (catan_test): Add more tests.
41791         (catanh_test): Likewise.
41792         * sysdeps/i386/fpu/libm-test-ulps: Update.
41793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41795 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41797         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
41799         * benchtests/Makefile (bench): Remove slow benchmarks.
41800         * benchtests/atan-inputs: Add slow benchmark inputs.
41801         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
41802         (BENCH_FUNC): Accept variant offset.
41803         (VARIANT): Define.
41804         * benchtests/bench-skeleton.c (main): Run benchmark for each
41805         variant.
41806         * benchtests/cos-inputs: Add slow benchmark inputs.
41807         * benchtests/exp-inputs: Likewise.
41808         * benchtests/pow-inputs: Likewise.
41809         * benchtests/sin-inputs: Likewise.
41810         * benchtests/slowatan-inputs: Remove.
41811         * benchtests/slowatan.c: Remove.
41812         * benchtests/slowcos-inputs: Remove.
41813         * benchtests/slowcos.c: Remove.
41814         * benchtests/slowexp-inputs: Remove.
41815         * benchtests/slowexp.c: Remove.
41816         * benchtests/slowpow-inputs: Remove.
41817         * benchtests/slowpow.c: Remove.
41818         * benchtests/slowsin-inputs: Remove.
41819         * benchtests/slowsin.c: Remove.
41820         * benchtests/slowtan-inputs: Remove.
41821         * benchtests/slowtan.c: Remove.
41822         * benchtests/tan-inputs: Add slow benchmark inputs.
41823         * scripts/bench.pl: Parse comments and directives.
41825         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
41826         in CPPFLAGS.
41827         ($(objpfx)bench-%.c): Remove *-ITER.
41828         * benchtests/bench-modf.c: Remove definition of ITER.
41829         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
41830         (main): Loop for DURATION seconds instead of fixed number of
41831         iterations.
41832         * scripts/bench.pl: Don't expect iterations in parameters.
41834 2013-04-29  Roland McGrath  <roland@hack.frob.com>
41836         * io/fchdir.c (__fchdir): Renamed from fchdir.
41837         (fchdir): Define as weak alias.
41839 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41841         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
41842         (ERRNO_EDOM): Likewise.
41843         (ERRNO_ERANGE): Likewise.
41844         (noErrnoTests): New variable.
41845         (init_max_error): Set errno to 0.
41846         (test_single_errno): New function.
41847         (test_errno): Likewise.
41848         (check_float_internal): Call test_errno.  Set errno to 0.
41849         (check_complex): Refer to errno tests in comment.
41850         (check_int): Call test_errno.  Set errno to 0.
41851         (check_long): Likewise.
41852         (check_bool): Likewise.
41853         (check_longlong): Likewise.
41854         (cos_test): Use ERRNO_* flags for errno tests instead of
41855         check_int.
41856         (expm1_test): Likewise.
41857         (fmod_test): Likewise.
41858         (ilogb_test): Likewise.
41859         (lgamma_test): Likewise.
41860         (pow_test): Likewise.
41861         (remainder_test): Likewise.
41862         (sin_test): Likewise.
41863         (tan_test): Likewise.
41864         (yn_test): Likewise.
41865         (initialize): Set errno to 0.
41866         (main): Print number of errno tests.
41867         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
41869 2013-04-29  Andreas Jaeger  <aj@suse.de>
41871         [BZ #15084]
41872         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
41873         and RES_USEVC.
41875         [BZ #15085]
41876         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
41877         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
41878         unimplemented.
41880         [BZ #15380]
41881         * stdlib/random.c (__initstate): Return NULL if
41882         __initstate fails.
41884         [BZ #15086]
41885         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
41886         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
41887         RES_SNGLKUPREOP.
41889 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41893 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
41895         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
41896         of individual tests.
41897         (casin_test): Likewise.
41898         (casinh_test): Likewise.
41900 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
41902         [BZ #15409]
41903         * math/s_catan.c (__catan): Handle arguments with large real or
41904         imaginary part separately without squaring.
41905         * math/s_catanf.c (__catanf): Likewise.
41906         * math/s_catanh.c (__catanh): Likewise.
41907         * math/s_catanhf.c (__catanhf): Likewise.
41908         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41909         and redefine.
41910         (__catanhl): Handle arguments with large real or imaginary part
41911         separately without squaring.
41912         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
41913         and redefine.
41914         (__catanl): Handle arguments with large real or imaginary part
41915         separately without squaring.
41916         * math/libm-test.inc (catan_test): Add more tests.
41917         (catanh_test): Likewise.
41918         * sysdeps/i386/fpu/libm-test-ulps: Update.
41919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41921 2013-04-27  Andreas Jaeger  <aj@suse.de>
41923         [BZ #15007]
41924         * stdlib/stdlib.h: Update guards for qecvt.
41925         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
41926         <stdlib.h>.
41928 2013-04-27  Allan McRae  <allan@archlinux.org>
41930         * sysdeps/i386/fpu/libm-test-ulps: Update.
41932 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
41934         [BZ #15406]
41935         * math/s_catan.c: Include <float.h>.
41936         (__catan): Ensure underflow exception occurs for underflowed
41937         result.
41938         * math/s_catanf.c: Include <float.h>.
41939         (__catanf): Ensure underflow exception occurs for underflowed
41940         result.
41941         * math/s_catanh.c: Include <float.h>.
41942         (__catanh): Ensure underflow exception occurs for underflowed
41943         result.
41944         * math/s_catanhf.c: Include <float.h>.
41945         (__catanhf): Ensure underflow exception occurs for underflowed
41946         result.
41947         * math/s_catanhl.c: Include <float.h>.
41948         (__catanhl): Ensure underflow exception occurs for underflowed
41949         result.
41950         * math/s_catanl.c: Include <float.h>.
41951         (__catanl): Ensure underflow exception occurs for underflowed
41952         result.
41953         * math/libm-test.inc (catan_test): Add more tests.
41954         (catanh_test): Likewise.
41956         [BZ #15405]
41957         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
41958         underflowed result.
41959         * math/s_ccoshf.c (__ccoshf): Likewise.
41960         * math/s_ccoshl.c (__ccoshl): Likewise.
41961         * math/s_csin.c (__csin): Likewise.
41962         * math/s_csinf.c (__csinf): Likewise.
41963         * math/s_csinh.c (__csinh): Likewise.
41964         * math/s_csinhf.c (__csinhf): Likewise.
41965         * math/s_csinhl.c (__csinhl): Likewise.
41966         * math/s_csinl.c (__csinl): Likewise.
41967         * math/libm-test.inc (ccos_test): Add more tests.
41968         (ccosh_test): Likewise.
41969         (csin_test): Likewise.
41970         (csinh_test): Likewise.
41972 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41974         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
41975         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
41976         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
41977         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
41978         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
41979         powerpc/power5+/fpu folders.
41980         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
41983 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41985         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41987 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
41989         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
41990         additions to variable.
41991         [$(config-machine) = x86_64] (modules-names): Likewise.
41992         ($(objpfx)tst-audit3): Remove dependency.
41993         ($(objpfx)tst-audit3.out): Likewise.
41994         ($(objpfx)tst-audit4): Likewise.
41995         ($(objpfx)tst-audit4.out): Likewise.
41996         ($(objpfx)tst-audit5): Likewise.
41997         ($(objpfx)tst-audit5.out): Likewise.
41998         ($(objpfx)tst-audit6): Likewise.
41999         ($(objpfx)tst-audit6.out): Likewise.
42000         ($(objpfx)tst-audit7): Likewise.
42001         ($(objpfx)tst-audit7.out): Likewise.
42002         (tst-audit3-ENV): Remove variable.
42003         (tst-audit4-ENV): Likewise.
42004         (tst-audit5-ENV): Likewise.
42005         (tst-audit6-ENV): Likewise.
42006         (tst-audit7-ENV): Likewise.
42007         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
42008         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
42009         addition to variable.
42010         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
42011         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
42012         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
42013         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
42014         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
42015         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
42016         tst-audit3, tst-audit4 and tst-audit5.
42017         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
42018         tst-audit6 and tst-audit7.
42019         [$(subdir) = elf] (modules-names): Add audit modules for those
42020         tests.
42021         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
42022         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
42023         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
42024         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
42025         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
42026         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
42027         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
42028         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
42029         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
42030         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
42031         [$(subdir) = elf] (tst-audit3-ENV): New variable.
42032         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
42033         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
42034         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
42035         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
42036         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
42037         Likewise.
42038         [$(subdir) = elf && $(config-cflags-avx) = yes]
42039         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
42040         [$(subdir) = elf && $(config-cflags-avx) = yes]
42041         (CFLAGS-tst-auditmod4a.c): Likewise.
42042         [$(subdir) = elf && $(config-cflags-avx) = yes]
42043         (CFLAGS-tst-auditmod4b.c): Likewise.
42044         [$(subdir) = elf && $(config-cflags-avx) = yes]
42045         (CFLAGS-tst-auditmod6b.c): Likewise.
42046         [$(subdir) = elf && $(config-cflags-avx) = yes]
42047         (CFLAGS-tst-auditmod6c.c): Likewise.
42048         [$(subdir) = elf && $(config-cflags-avx) = yes]
42049         (CFLAGS-tst-auditmod7b.c): Likewise.
42050         * elf/tst-audit3.c: Move to ...
42051         * sysdeps/x86_64/tst-audit3.c: ... here.
42052         * elf/tst-audit4.c: Move to ...
42053         * sysdeps/x86_64/tst-audit4.c: ... here.
42054         * elf/tst-audit5.c: Move to ...
42055         * sysdeps/x86_64/tst-audit5.c: ... here.
42056         * elf/tst-audit6.c: Move to ...
42057         * sysdeps/x86_64/tst-audit6.c: ... here.
42058         * elf/tst-audit7.c: Move to ...
42059         * sysdeps/x86_64/tst-audit7.c: ... here.
42060         * elf/tst-auditmod3a.c: Move to ...
42061         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
42062         * elf/tst-auditmod3b.c: Move to ...
42063         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
42064         * elf/tst-auditmod4a.c: Move to ...
42065         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
42066         * elf/tst-auditmod4b.c: Move to ...
42067         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
42068         * elf/tst-auditmod5a.c: Move to ...
42069         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
42070         * elf/tst-auditmod5b.c: Move to ...
42071         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
42072         * elf/tst-auditmod6a.c: Move to ...
42073         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
42074         * elf/tst-auditmod6b.c: Move to ...
42075         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
42076         * elf/tst-auditmod6c.c: Move to ...
42077         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
42078         * elf/tst-auditmod7a.c: Move to ...
42079         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
42080         * elf/tst-auditmod7b.c: Move to ...
42081         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
42083 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
42085         [BZ #15366]
42086         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
42087         define unconditionally.
42088         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
42089         define unconditionally.
42090         (INT8_C, INT16_C, etc.): Likewise.
42092 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
42094         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
42095         __ehdr_start with hidden visibility.
42097         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
42099 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
42101         * math/libm-test.inc (cos_test): Use accurate hex constants.
42102         (sincost_test): Likewise.
42104 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
42106         * math/libm-test.inc (catan_test): Add more tests.
42107         (catanh_test): Likewise.
42109         * math/s_catanf.c (__catanf): Use suffixed floating-point
42110         constants.
42111         * math/s_catanhf.c (__catanhf): Likewise.
42112         * math/s_catanhl.c (__catanhl): Likewise.
42113         * math/s_catanl.c (__catanl): Likewise.
42115         [BZ #15394]
42116         * math/s_catan.c (__catan): Calculate imaginary part of result
42117         with log1p not log unless computing log of number close to 0.
42118         * math/s_catanf.c (__catanf): Likewise.
42119         * math/s_catanl.c (__catanl): Likewise.
42120         * math/s_catanh.c (__catanh): Calculate real part of result with
42121         log1p not log unless computing log of number close to 0.
42122         * math/s_catanhf.c (__catanhf): Likewise.
42123         * math/s_catanhl.c (__catanhl): Likewise.
42124         * math/libm-test.inc (catan_test): Add more tests.
42125         (catanh_test): Likewise.
42126         * sysdeps/i386/fpu/libm-test-ulps: Update.
42127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42129 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42131         * benchtests/Makefile: Mention files in which fast and slow
42132         paths of math functions are implemented.
42134 2013-04-23  Roland McGrath  <roland@hack.frob.com>
42136         * sysdeps/posix/timespec_get.c: New file.
42138 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42140         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
42141         POWER.
42142         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
42143         for POWER.
42144         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
42145         powerpc/power5/fpu folders.
42146         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
42147         * benchtests/Makefile: Add modf testcase.
42148         * benchtests/bench-modf.c: New file: Benchmark test for mo
42150 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42152         [BZ #14888]
42153         * time/Makefile (tests): Add tst-strptime-whitespace.
42154         * time/strptime_l.c (get_number): Use ISSPACE.
42155         (__strptime_internal): Likewise.
42156         * time/tst-strptime-whitespace.c: New test case.
42158 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
42160         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
42161         member.
42162         (_nss_files_init): Set it here.
42164 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
42166         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
42167         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
42168         unsigned.
42170 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
42172         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
42174 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42176         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
42177         size just once.
42179 2013-04-21  David S. Miller  <davem@davemloft.net>
42181         * po/ru.po: Update Russion translation from translation project.
42183 2013-04-17  Adam Conrad  <adconrad@0c3.net>
42185         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
42186         and setfsgid.
42188 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
42190         * configure.in: Remove i386 configure warning. Remove i386 case.
42191         * configure: Regenerate.
42192         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
42193         Add example to error message.
42194         * sysdeps/i386/configure: Regenerate.
42196 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42198         * benchtests/Makefile (bench): Add cos, tan, slowcos and
42199         slowtan.
42200         * benchtests/cos-inputs: New file.
42201         * benchtests/slowcos-inputs: New file.
42202         * benchtests/slowcos.c: New file.
42203         * benchtests/slowtan-inputs: New file.
42204         * benchtests/slowtan.c: New file.
42205         * benchtests/tan-inputs: New file.
42207 2013-04-16  Roland McGrath  <roland@hack.frob.com>
42209         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
42210         considered kosher.
42212 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42214         * benchtests/Makefile: Include cppflags-iterator.mk to add
42215         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
42217         * Makefile.in (bench-clean): New target.
42218         * benchtests/Makefile (bench-clean): Likewise.
42220 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
42222         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
42224 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
42226         * stdio-common/tstdiomisc.c: Fix coding-style violation.
42228 2013-04-15  Andreas Schwab  <schwab@suse.de>
42230         * nscd/grpcache.c (cache_addgr): Properly check for short write.
42231         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42232         * nscd/pwdcache.c (cache_addpw): Likewise.
42233         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
42234         more than recsize.
42236 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42238         * benchtests/Makefile (bench): Write all output to
42239         bench-out.tmp together.
42241 2013-04-15  Andreas Schwab  <schwab@suse.de>
42243         * nscd/nscd.c (main): Don't fork again after closing files.
42245 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42247         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
42249         * benchtests/Rules (bench-deps): Collect dependencies into a
42250         single variable.  Add Makefile to dependencies.
42251         ($(objpfx)bench-%.c): Depend on bench-deps.
42253 2013-04-12  Roland McGrath  <roland@hack.frob.com>
42254             Xavier Roche  <roche+kml2@exalead.com>
42256         [BZ #15361]
42257         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
42258         just that it's a file descriptor.
42259         * manual/llio.texi (Synchronizing AIO Operations): Update description
42260         for EBADF error from aio_fsync.
42262 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42264         * Rules (bench): Move target definition...
42265         * benchtests/Makefile: ... here.
42267 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
42269         * math/libm-test.inc (cos_test): Fix PI/2 test.
42270         (sincos_test): Likewise.
42271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42272         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
42274 2013-04-11  Andreas Schwab  <schwab@suse.de>
42276         [BZ #13988]
42277         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
42278         accept exponent character only when digits were seen.
42279         * stdio-common/Makefile (tests): Add bug26.
42280         * stdio-common/bug26.c: New file.
42282         [BZ #14293]
42283         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
42284         non-freeable.
42286 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42288         * Makeconfig (rtld-prefix): Define built linker prefix.
42289         * Rules (run-bench): Use it.
42290         * math/Makefile (run-regen-ulps): Likewise.
42292         * Rules (bench): Remove eval.
42294 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42295             Roland McGrath  <roland@hack.frob.com>
42296             Ondrej Bilka  <neleai@seznam.cz>
42298         [BZ #15346]
42299         * time/getdate.c: Include ctype.h and alloca.h.
42300         (__getdate_r): Trim leading and trailing spaces of input.
42301         * time/tst-getdate.c (tests): Add tests with leading and
42302         trailing spaces.
42304 2013-04-08  Roland McGrath  <roland@hack.frob.com>
42306         [BZ #14280]
42307         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
42308         when computing value.
42310 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42312         * math/README.libm-test (How can I generate "libm-test-ulps"?):
42313         Use testrun.sh to run libm tests.
42315         [BZ #15309]
42316         * elf/dl-open.c (dl_open_worker): memset all of seen array.
42318 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
42320         [BZ #15264]
42321         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
42323 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42325         * Makefile.in (regen-ulps): New target.
42326         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
42327         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
42328         [ifneq (no,$(PERL)] (regen-ulps): New target.
42329         [ifeq (no,$(PERL)] (regen-ulps): New target.
42330         * math/libm-test.inc (ulps_file_name): Define.
42331         (output_dir): New variable.
42332         (options): Add "output-dir" option.
42333         (parse_opt): Handle 'o' case.
42334         (main): If output_dir is non-NULL use it as a prefix
42335         otherwise use "".
42336         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
42338 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42340         [BZ #10060, #10062]
42341         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
42342         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
42343         fail configure if __sync_val_compare_and_swap is not inlined.
42344         * sysdeps/i386/configure: Regenerate.
42345         * configure.in: Build for i686 when configured for i386.
42346         * configure: Regenerate.
42347         * README: Remove i386 reference.
42349 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
42351         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
42352         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42354 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42356         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
42357         (lmsnanval): New variables.
42358         (F): Add conversion tests.
42359         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
42360         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
42362         * stdio-common/tstdiomisc.c (F): Properly collect individual
42363         tests' results.
42365         [BZ #14686, #15336]
42366         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
42367         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
42368         Instead, use input NaN values or generate a qNaN by arithmetic
42369         operation.  Also fix bugs to comply with the standard.
42370         * math/libm-test.inc (remainder_test): Add more tests.
42372         [BZ #15335, #15342]
42373         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
42374         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
42375         input NaN values or generate a qNaN by arithmetic operation.
42377         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
42378         unreachable code.
42380         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
42381         definitions.
42383 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
42385         [BZ #14478]
42386         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
42387         underflowed result.
42388         * math/s_cexpf.c (__cexpf): Likewise.
42389         * math/s_cexpl.c (__cexpl): Likewise.
42390         * math/libm-test.inc (cexp_test): Add more tests.
42392 2013-04-03  Andreas Schwab  <schwab@suse.de>
42394         [BZ #15330]
42395         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
42396         order arrays from heap if bigger than alloca cutoff.
42398 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
42400         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
42401         (SNAN_TESTS_double): Refer to GCC PR56831.
42402         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
42403         GCC PR56828.
42405 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42407         * Rules (bench): Move bench.out after the run is complete.
42409         * Rules (bench): Echo currently running benchmark.
42411         * benchtests/Makefile (bench): Add atan and slowatan.
42412         * benchtests/atan-inputs: New file.
42413         * benchtests/slowatan-inputs: New file.
42414         * benchtests/slowatan.c: New file.
42416         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
42417         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
42418         its value.
42420         [BZ #15305]
42421         * sysdeps/unix/sysv/linux/kernel-features.h
42422         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
42423         __ASSUME_XFS_RESTRICTED_CHOWN.
42424         * sysdeps/unix/sysv/linux/pathconf.c
42425         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42426         Save and restore errno.
42428 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
42430         [BZ #15327]
42431         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
42432         arguments using __kernel_casinh.
42433         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
42434         arguments using __kernel_casinhf.
42435         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
42436         arguments using __kernel_casinhl.
42437         * math/libm-test.inc (cacosh_test): Add more tests.
42438         * sysdeps/i386/fpu/libm-test-ulps: Update.
42439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42441 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42443         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
42444         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
42446         * bench/Makefile (bench): Add sin and slowsin.
42447         * benchtests/sin-inputs: New file.
42448         * benchtests/slowsin-inputs: New file.
42449         * benchtests/slowsin.c: New file.
42451         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
42452         (bench): Add slowexp and slowpow.
42453         (exp-ITER): Increase iterations.
42454         (pow-ITER): Likewise.
42455         * benchtests/exp-inputs: Change input.
42456         * benchtests/pow-inputs: Likewise.
42457         * benchtests/slowexp-inputs: New file.
42458         * benchtests/slowexp.c: New file.
42459         * benchtests/slowpow-inputs: New file.
42460         * benchtests/slowpow.c: New file.
42462 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42464         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
42465         instructions.
42466         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
42467         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
42468         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42469         * benchtests/Makefile: Add rint benchtest.
42470         * benchtests/rint-inputs: Input for rint benchtest.
42472 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42474         * Versions.def (libm): Add GLIBC_2.18.
42475         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
42476         hidden libm prototypes.
42477         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
42478         * math/Makefile (libm-calls): Add s_issignaling.
42479         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
42480         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
42481         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
42482         declaration.
42483         * math/math.h [__USE_GNU] (issignaling): New macro.
42484         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
42485         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
42486         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
42487         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
42488         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
42489         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
42490         * manual/arith.texi (issignaling): New section.
42491         * manual/libm-err-tab.pl (@all_functions): Update comment.
42492         * math/gen-libm-test.pl (parse_args): Apply special handling for
42493         issignaling.
42494         * math/libm-test.inc (print_float, issignaling_test): New
42495         functions.
42496         (check_float_internal): Add issignaling checks.
42497         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
42498         default definition.
42499         * sysdeps/powerpc/math-tests.h: New file.
42500         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
42501         tests.
42502         * math/test-snan.c (TEST_FUNC): Likewise.
42504 2013-03-30  David S. Miller  <davem@davemloft.net>
42506         * po/de.po: Update from translation team.
42508 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
42510         [BZ #10357]
42511         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42512         imaginary part less than 1.0 and real part less than 0.5
42513         specially.
42514         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42515         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42516         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
42517         (cacos_test): Add more tests.
42518         (casin_test): Likewise.
42519         (casinh_test): Likewise.
42520         * sysdeps/i386/fpu/libm-test-ulps: Update.
42521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42523 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42525         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
42526         ONE with its value.
42528         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
42529         (__pow_mp): Replace ONE and MONE with their values.
42530         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42531         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
42532         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42533         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
42534         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42535         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42537         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
42539         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
42540         (__pow_mp): Replace ZERO and MZERO with their values.
42541         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42542         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42543         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42545         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42546         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
42547         (__sqr): Likewise.
42549         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
42551         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
42553 2013-03-28  Roland McGrath  <roland@hack.frob.com>
42555         * include/stdlib.h [!SHARED] (__call_tls_dtors):
42556         Declare with __attribute__ ((weak)).
42557         * stdlib/exit.c (__libc_atexit) [!SHARED]:
42558         Call __call_tls_dtors only if it's not NULL.
42560 2013-03-28  Roland McGrath  <roland@hack.frob.com>
42562         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
42563         didn't do it already, then set _dl_phdr and _dl_phnum based on the
42564         magic __ehdr_start linker symbol if it's defined.
42565         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
42566         them up here if it was already done.
42568         * elf/dl-support.c (_dl_phdr): Make pointer to const.
42569         (_dl_aux_init): Use const in cast when setting it.
42570         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
42571         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
42572         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
42574         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
42575         Declare them here.
42576         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
42577         * csu/libc-tls.c: Nor here.
42578         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
42580         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
42581         (__libc_message): Never call vsyslog.
42583 2013-03-28  Alan Modra  <amodra@gmail.com>
42585         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
42586         Define as empty.
42587         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
42588         Likewise.
42590 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42592         [BZ #15214]
42593         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
42594         underflow.
42595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42597 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42599         [BZ #15304]
42600         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42601         Don't add gid passed as argument.
42603         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
42605 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
42607         [BZ #15307]
42608         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42609         imaginary part between 1.0 and 1.5 and real part less than 0.5
42610         specially.
42611         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42612         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42613         * math/libm-test.inc (cacos_test): Add more tests.
42614         (casin_test): Likewise.
42615         (casinh_test): Likewise.
42616         * sysdeps/i386/fpu/libm-test-ulps: Update.
42617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42619 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42621         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
42622         constants.
42623         (norm): Likewise.
42624         (denorm): Likewise.
42625         (__dbl_mp): Likewise.
42626         (add_magnitudes): Likewise.
42627         (sub_magnitudes): Likewise.
42628         (__add): Likewise.
42629         (__sub): Likewise.
42630         (__mul): Likewise.
42631         (__sqr): Likewise.
42632         (__inv): Likewise.
42633         (__dvd): Likewise.
42635         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
42636         commented code.
42637         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
42638         (__dubcos): Likewise.
42639         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
42640         (__ieee754_acos): Likewise.
42641         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
42642         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
42643         (__exp1): Likewise.
42644         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42645         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42646         (log1): Likewise.
42647         (my_log2): Likewise.
42648         (checkint): Likewise.
42649         * sysdeps/ieee754/dbl-64/e_remainder.c
42650         (__ieee754_remainder): Likewise.
42651         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
42652         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
42653         (bsloww): Likewise.
42654         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42656         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
42657         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
42658         MANTISSA_STORE_T to store computations on mantissa.  Use
42659         macros for rounding and division.
42660         (denorm): Likewise.
42661         (__dbl_mp): Likewise.
42662         (add_magnitudes): Likewise.
42663         (sub_magnitudes): Likewise.
42664         (__mul): Likewise.
42665         (__sqr): Likewise.
42666         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
42667         powers of two in terms of TWOPOW macro.
42668         (mp_no): Make type of mantissa as MANTISSA_T.
42669         [!RADIXI]: Define RADIXI.
42670         [!TWO52]: Define TWO52.
42671         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
42673 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42675         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
42676         llroundl symbol when building for PPC32.
42678 2013-03-24  Mark H Weaver  <mhw@netris.org>
42680         * manual/arith.texi (Normalization Functions): Fix prototypes for
42681         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
42683 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42685         [BZ #13889]
42686         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
42687         high value to check if expl overflow.
42688         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
42689         to check for underflow and overflow.
42690         * math/libm-test.inc: Add exp test.
42692 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
42694         [BZ #11120]
42695         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
42696         with NOT_IN_libc.
42698 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42700         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
42701         symbol.
42703 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42705         * math/gen-libm-test.pl (parse_args, special_functions): Properly
42706         wrap blocks consisting of several statements.
42708         * sysdeps/generic/math-tests.h: New file.
42709         * sysdeps/i386/fpu/math-tests.h: Likewise.
42710         * math/test-snan.c: Include it.
42711         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
42713 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
42715         [BZ #15285]
42716         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
42717         (__ieee754_j0l): Do not improve calculations using cos of twice
42718         input for inputs above LDBL_MAX / 2.0L.
42719         (__ieee754_y0l): Likewise.
42720         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
42721         (__ieee754_j1l): Do not improve calculations using cos of twice
42722         input for inputs above LDBL_MAX / 2.0L.
42723         (__ieee754_y1l): Likewise.
42724         * math/libm-test.inc (j0_test): Add another test.
42725         (j1_test): Likewise.
42726         (y0_test): Likewise.
42727         (y1_test): Likewise.
42728         * sysdeps/i386/fpu/libm-test-ulps: Update.
42730 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42732         * Rules ($(objpfx)bench-%.c): Include code from a C source
42733         file.
42735 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
42737         [BZ #15287]
42738         * math/k_casinh.c (__kernel_casinh): Handle arguments with
42739         imaginary part 1.0 and real part less than 0.5 specially.
42740         * math/k_casinhf.c (__kernel_casinhf): Likewise.
42741         * math/k_casinhl.c (__kernel_casinhl): Likewise.
42742         * math/libm-test.inc (cacos_test): Add more tests.
42743         (casin_test): Likewise.
42744         (casinh_test): Likewise.
42745         * sysdeps/i386/fpu/libm-test-ulps: Update.
42746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42748 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42750         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
42751         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
42753 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
42755         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
42756         * config.make.in (config-cflags-sse4): Remove variable.
42757         (config-cflags-avx): Likewise.
42758         (config-cflags-sse2avx): Likewise.
42759         (config-cflags-novzeroupper): Likewise.
42760         (config-asflags-i686): Likewise.
42761         (have-mfma4): Likewise.
42762         (have-as-vis3): Likewise.
42763         (MIG): Likewise.
42764         * configure.in (MIG): Do not AC_SUBST.
42765         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
42766         (libc_cv_cc_sse4): Do not AC_SUBST.
42767         (libc_cv_cc_avx): Likewise.
42768         (libc_cv_cc_sse2avx): Likewise.
42769         (libc_cv_cc_novzeroupper): Likewise.
42770         (libc_cv_cc_fma4): Likewise.
42771         (libc_cv_as_i686): Likewise.
42772         (libc_cv_sparc_as_vis3): Likewise.
42773         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
42774         LIBC_CONFIG_VAR.
42775         (config-asflags-i686): Likewise.
42776         (config-cflags-avx): Likewise.
42777         (config-cflags-sse2avx): Likewise.
42778         (have-mfma4): Likewise.
42779         (config-cflags-novzeroupper): Likewise.
42780         * sysdeps/mach/configure.in (MIG): Likewise.
42781         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
42782         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
42783         LIBC_CONFIG_VAR.
42784         (config-cflags-avx): Likewise.
42785         (config-cflags-sse2avx): Likewise.
42786         (have-mfma4): Likewise.
42787         (config-cflags-novzeroupper): Likewise.
42788         * configure: Regenerated.
42789         * sysdeps/i386/configure: Likewise.
42790         * sysdeps/mach/configure: Likewise.
42791         * sysdeps/sparc/configure: Likewise.
42792         * sysdeps/x86_64/configure: Likewise.
42794 2013-03-20  Roland McGrath  <roland@hack.frob.com>
42796         [BZ #14812]
42797         * locale/programs/localedef.c (options): Put N_ translation marker
42798         on argument names, not just descriptions.
42800 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42802         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
42804 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
42806         [BZ #14176]
42807         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
42809 2013-03-19  Roland McGrath  <roland@hack.frob.com>
42811         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
42812         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
42813         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
42814         [!BEFORE_ABORT] (before_abort): New function.
42815         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
42816         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
42817         (writev_for_fatal): New function.
42818         (WRITEV_FOR_FATAL): New macro; call that.
42819         (backtrace_and_maps): New function.
42820         (BEFORE_ABORT): New macro; call that.
42821         (struct str_list): Type removed.
42822         (__libc_message, __libc_fatal): Functions removed.
42823         Include <sysdeps/posix/libc_fatal.c> instead.
42825 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
42827         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
42828         constants.
42829         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
42830         double constants.
42832 2013-03-19  Andreas Schwab  <schwab@suse.de>
42834         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
42835         * sysdeps/gnu/configure: Regenerate.
42837         * configure.in: Substitute libc_cv_rtlddir.
42838         * configure: Regenerate.
42839         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
42840         * Makeconfig (rtlddir, inst_rtlddir): New variables.
42841         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
42842         * elf/Makefile (install-others, CFLAGS-interp.c)
42843         (ldso_install, common-ldd-rewrite): Likewise.
42844         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
42845         $(inst_slibdir)/$(rtld-installed-name).
42846         * scripts/rellns-sh: Add -p option.
42847         * Makerules (make-shlib-link): Use rellns-sh to get relative name
42848         for source.
42850 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42852         * manual/nptl.texi: Renamed to ...
42853         * manual/threads.texi: ... this.
42854         * manual/Makefile (chapters): Update.
42856 2013-03-18  Roland McGrath  <roland@hack.frob.com>
42858         [BZ #14812]
42859         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
42860         on argument names, not just descriptions.
42861         * malloc/memusagestat.c (options): Likewise.
42862         * nss/getent.c (options): Likewise.
42864 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
42866         [BZ #14812]
42867         * iconv/iconv_prog.c (options): Put N_ translation marker
42868         on argument names, not just descriptions.
42869         * iconv/iconvconfig.c (options): Likewise.
42871 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
42873         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
42874         implementation which is faster on all x86_64 architectures.
42875         Tested on AMD, Intel Nehalem, SNB, IVB.
42876         * sysdeps/x86_64/strnlen.S: Likewise.
42878         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42879         Remove all multiarch strlen and strnlen versions.
42880         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42881         Remove strlen and strnlen related parts.
42883         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
42884         Inline strlen part.
42885         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42887         * sysdeps/x86_64/multiarch/strlen.S: Remove.
42888         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
42889         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
42890         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
42891         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
42892         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
42894 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
42896         * manual/memory.texi (Malloc Tunable Parameters):
42897         Sort parameters alphabetically. Add comments for missing entries.
42899 2013-03-17  David S. Miller  <davem@davemloft.net>
42901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42903 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
42905         [BZ #15283]
42906         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
42907         for arguments at most half maximum finite value.
42908         * math/libm-test.inc (j0_test): Add more tests.
42909         (j1_test): Likewise.
42910         (y0_test): Likewise.
42911         (y1_test): Likewise.
42912         * sysdeps/i386/fpu/libm-test-ulps: Update.
42913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42915         [BZ #14155]
42916         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
42917         1 / x and functions P and Q for arguments above 0x1p256L.
42918         (__ieee754_y0l): Likewise.
42919         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
42920         (__ieee754_y1l): Likewise.
42921         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
42922         (j1_test): Likewise.
42923         (y0_test): Likewise.
42924         (y1_test): Likewise.
42926 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
42928         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
42929         variable.
42931 2013-03-15  Roland McGrath  <roland@hack.frob.com>
42933         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
42934         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
42935         zero since it's initialized to EXEC_PAGESIZE.
42937         * sysdeps/unix/sysv/linux/ldsodefs.h
42938         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
42939         * sysdeps/generic/ldsodefs.h: ... here.
42941 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
42943         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
42945         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
42946         math/test-snan.c.
42947         * math/test-snan.c: Renamed from
42948         sysdeps/powerpc/fpu/test-powerpc-snan.c.
42949         * math/Makefile (tests): Add test-snan.
42950         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
42951         test-powerpc-snan.
42953         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
42954         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
42955         functions.
42956         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
42957         __builtin_nan family of functions.
42958         * math/libm-test.inc (initialize): Initialize qnan_value with
42959         __builtin_nan family of functions.
42960         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
42961         Remove variables.
42962         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
42963         Remove functions.
42964         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
42965         storage class.  Initialize qNaN_var and sNaN_var with
42966         __builtin_nan and __builtin_nans families of functions,
42967         respectively.
42969         * math/libm-test.inc (acosh_test): Also test with qNaN input.
42970         (sqrt_test): Remove duplicate test with qNaN input.
42971         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
42972         (round_test, signbit_test, significand_test): Note missing +/-Inf
42973         as well as qNaN tests.
42975         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
42976         qNaN_var.  Fix a few strings, too.
42977         * math/libm-test.inc (nan_value): Rename to qnan_value.
42978         * math/gen-libm-test.pl (%beautify): Adjust to that.
42979         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
42980         * math/test-misc.c (main): Likewise.
42981         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
42982         to __qnan_bytes, and __qnan_union, respectively.
42983         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
42984         Likewise.
42985         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
42986         and lqnanval, respectively.
42987         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
42988         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
42989         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
42990         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
42992         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
42993         * math/test-misc.c (main) [__x86_64__]: Enable test for long
42994         doubles.
42996         * math/test-misc.c (main): Fix copy'n'pastos.
42997         * misc/tst-efgcvt.c (special): Likewise.
42999         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
43000         Remove declarations.
43002 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43004         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
43005         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
43006         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
43007         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
43009 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43011         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
43012         macro to return vdso values correctly in IFUNC implementations.
43013         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43014         Optimization by using IFUNC.
43016 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43017             Richard Henderson  <rth@redhat.com>
43018             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43020         * Makefile.in (bench): New target.
43021         * NEWS: Mention the benchmark framework.
43022         * Rules (bench): Likewise.
43023         (binaries-bench): Generate binaries for functions to
43024         benchmark.
43025         * benchtests/Makefile: New makefile for benchmark tests.
43026         * benchtests/bench-skeleton.c: New skeleton file for benchmark
43027         programs.
43028         * benchtests/exp-inputs: New input file for EXP function.
43029         * benchtests/pow-inputs: New input file for POW function.
43030         * scripts/bench.pl: New script to generate source files for
43031         benchmark programs.
43033 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43035         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
43036         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
43037         computations on mantissa.  Use macros for rounding and
43038         division.
43039         (denorm): Likewise.
43040         (__dbl_mp): Likewise.
43041         (add_magnitudes): Likewise.
43042         (sub_magnitudes): Likewise.
43043         (__mul): Likewise.
43044         (__sqr): Likewise.
43045         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
43046         powers of two in terms of TWOPOW macro.
43047         (mp_no): Make type of mantissa as MANTISSA_T.
43048         [!RADIXI]: Define RADIXI.
43049         [!TWO52]: Define TWO52.
43050         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
43052         * manual/nptl.texi (cindex): Modify threads to pthreads.
43054 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
43056         * sysdeps/x86_64/preconfigure: Regenerated.
43058 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
43060         [BZ #14155]
43061         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
43062         0x1p28 and above.
43063         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
43064         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
43065         0x1p28 and above.
43066         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
43067         * math/libm-test.inc (j0_test): Do not allow one spurious
43068         underflow exception.
43069         (y1_test): Likewise.
43071 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43073         * manual/Makefile (chapters): Add nptl.
43074         * manual/debug.texi (Debugging Support): Add link to Threads
43075         chapter.
43076         * manual/nptl.texi: New file.
43078         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
43080 2013-03-14  Petr Baudis  <pasky@ucw.cz>
43082         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
43083         for non-NULL pointer before the memory validity test. Pointed
43084         out by Holger Brunck <holger.brunck@keymile.com>.
43086 2013-03-13  Andreas Schwab  <schwab@suse.de>
43088         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
43089         instead of .os.
43091 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
43093         * timezone/zic.c: Update from tzcode 2013b.
43095 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
43097         * manual/install.texi (Configuring and compiling):
43098         Mention i686 and i586.
43099         * INSTALL: Regenerate.
43101 2013-03-12  Roland McGrath  <roland@hack.frob.com>
43103         * sysdeps/init_array/elf-init.c: New file.
43104         * csu/elf-init.c
43105         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
43106         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
43108         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
43109         __gmon_start__ as global, but as static with a .preinit_array pointer.
43110         * sysdeps/init_array/gmon-start.c: New file.  Use that.
43111         * sysdeps/init_array/crti.S: New file, empty except for comments.
43112         * sysdeps/init_array/crtn.S: Likewise.
43114 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
43116         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
43117         definining bcopy.
43118         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43119         Remove Prefer_SSE_for_memop.
43120         * sysdeps/x86_64/multiarch/init-arch.h: Remove
43121         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
43122         HAS_PREFER_SSE_FOR_MEMOP.
43123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
43124         memset-x86-64.
43125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43126         Remove bzero, memset ifunc support.
43127         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
43128         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
43129         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43130         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43132 2013-03-11  Andreas Schwab  <schwab@suse.de>
43134         [BZ #15234]
43135         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
43136         by SHLIB_COMPAT.
43137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
43138         (GLIBC_2.16): Remove pthread_atfork.
43140 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
43142         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
43143         (ptestcases.h): Likewise.
43145 2013-03-08  Roland McGrath  <roland@hack.frob.com>
43147         * Makeconfig ($(common-objpfx)config.status): Depend on
43148         sysdeps/*/preconfigure{,.in} too.
43150 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
43152         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
43153         (__free_hook): Use void * instead of __malloc_ptr_t.
43154         (__malloc_hook): Likewise.
43155         (__realloc_hook): Likewise.
43156         (__memalign_hook): Likewise.
43157         (__after_morecore_hook): Likewise.
43158         * malloc/arena.c (save_malloc_hook): Likewise.
43159         (save_free_hook): Likewise.
43160         * malloc/hooks.c (malloc_hook_ini): Likewise.
43161         (realloc_hook_ini): Likewise.
43162         (memalign_hook_ini): Likewise.
43163         * malloc/malloc.c (malloc_hook_ini): Likewise.
43164         (realloc_hook_ini): Likewise.
43165         (memalign_hook_ini): Likewise.
43166         (__free_hook): Likewise.
43167         (__malloc_hook): Likewise.
43168         (__realloc_hook): Likewise.
43169         (__memalign_hook): Likewise.
43170         (__libc_malloc): Likewise.
43171         (__libc_free): Likewise.
43172         (__libc_realloc): Likewise.
43173         (__libc_memalign): Likewise.
43174         (__libc_valloc): Likewise.
43175         (__libc_pvalloc): Likewise.
43176         (__libc_calloc): Likewise.
43177         (__posix_memalign): Likewise.
43178         * malloc/morecore.c (__sbrk): Likewise.
43179         (__default_morecore): Likewise.
43181         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
43183         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
43184         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
43185         __malloc_ptrdiff_t.
43187         * malloc/malloc.h (__malloc_size_t): Remove macro.
43188         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
43189         __malloc_size_t.
43190         (old_memalign_hook): Likewise.
43191         (old_realloc_hook): Likewise.
43192         (struct hdr): Likewise.
43193         (flood): Likewise.
43194         (mallochook): Likewise.
43195         (memalignhook): Likewise.
43196         (reallochook): Likewise.
43197         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
43198         (tr_old_realloc_hook): Likewise.
43199         (tr_old_memalign_hook): Likewise.
43200         (tr_mallochook): Likewise.
43201         (tr_reallochook): Likewise.
43202         (tr_memalignhook): Likewise.
43204 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43206         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
43207         default_ldbl_pack and using as default implementation.
43208         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
43209         implementation.
43210         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
43211         redundant definition.
43212         (ldbl_insert_mantissa): Likewise.
43213         (ldbl_canonicalize): Likewise.
43214         (ldbl_nearbyint): Likewise.
43215         (ldbl_pack): Rename to ldbl_pack_ppc.
43216         (ldbl_unpack): Rename to ldbl_unpack_ppc.
43217         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
43218         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
43220 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
43222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
43223         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
43224         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
43225         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
43226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
43227         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
43228         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
43229         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
43231 2013-03-07  Andreas Jaeger  <aj@suse.de>
43233         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43234         bits/mman-linux.h.
43236 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
43238         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
43239         Include mpa.h and declare __MPEXP.
43240         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
43241         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43242         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43243         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
43244         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43245         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
43246         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
43248         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
43249         (__slowpow): Use long double EXPL and LOGL functions to
43250         compute POW.
43251         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
43252         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43253         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
43254         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
43255         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
43256         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
43258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
43259         intermediate variable to calculate exponent.
43260         (__sqr): Likewise.
43261         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43262         Likewise.
43263         (__sqr): Likewise.
43265         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
43266         [!NO__SQR]: Define __sqr.
43267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
43268         and NO__SQR.  Remove all code except __mul and __sqr.  Include
43269         sysdeps/ieee754/dbl-64/mpa.c.
43270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43272         [BZ #12723]
43273         * posix/Makefile (tests): Add tst-pathconf.
43274         * posix/tst-pathconf.c: New test case.
43275         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
43276         _PC_PIPE_BUF.
43277         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
43279 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
43281         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
43283 2013-03-06  Andreas Jaeger  <aj@suse.de>
43285         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
43286         definition via __MAP_ANONYMOUS.
43288         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
43289         it's not part of Linux headers.
43291         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
43292         (MAP_HUGE_MASK): Define.
43294         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43295         Define.
43296         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43297         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43298         Define.
43299         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43300         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
43301         Define.
43302         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43303         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
43304         Define.
43305         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
43307         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
43308         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
43309         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
43310         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
43311         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
43312         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
43314         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43315         Handle f2fs.
43317         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43318         Handle f2fs and efivarfs.
43320         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
43321         f2fs.
43323         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
43324         (EFIVARFS_MAGIC): Add.
43325         (F2FS_LINK_MAX): Add.
43327 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43329         * stdio-common/vfprintf.c: Replace __builtin_expect with
43330         __glibc_unlikely.
43332 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
43334         [BZ #13550]
43335         * sysdeps/generic/bp-sym.h: Remove file.
43336         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
43337         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
43338         <bp-sym.h> and <bp-asm.h>.
43339         (__longjmp): Don't use BP_SYM.
43340         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
43341         and <bp-asm.h>.
43342         (memcpy): Don't use BP_SYM.
43343         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
43344         <bp-sym.h> and <bp-asm.h>.
43345         (memcpy): Don't use BP_SYM.
43346         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
43347         <bp-asm.h>.
43348         (memcpy): Don't use BP_SYM.
43349         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
43350         <bp-asm.h>.
43351         (memset): Don't use BP_SYM.
43352         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43353         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43354         (__bzero): Don't use BP_SYM.
43355         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43356         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43357         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
43358         <bp-sym.h> and <bp-asm.h>.
43359         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43360         pointers.
43361         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
43362         <bp-sym.h> and <bp-asm.h>.
43363         (memcpy): Don't use BP_SYM.
43364         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
43365         <bp-sym.h> and <bp-asm.h>.
43366         (memset): Don't use BP_SYM.
43367         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43368         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43369         (__bzero): Don't use BP_SYM.
43370         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43371         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43372         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
43373         <bp-sym.h> and <bp-asm.h>.
43374         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43375         pointers.
43376         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
43377         <bp-sym.h> and <bp-asm.h>.
43378         (memcpy): Don't use BP_SYM.
43379         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
43380         <bp-sym.h> and <bp-asm.h>.
43381         (memset): Don't use BP_SYM.
43382         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43383         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43384         (__bzero): Don't use BP_SYM.
43385         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43386         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43387         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
43388         <bp-sym.h> and <bp-asm.h>.
43389         (__memchr): Don't use BP_SYM.
43390         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
43391         <bp-sym.h> and <bp-asm.h>.
43392         (memcmp): Don't use BP_SYM.  Remove comment about bounded
43393         pointers.
43394         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
43395         <bp-sym.h> and <bp-asm.h>.
43396         (memcpy): Don't use BP_SYM.
43397         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
43398         <bp-sym.h> and <bp-asm.h>.
43399         (__mempcpy): Don't use BP_SYM.
43400         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
43401         <bp-sym.h> and <bp-asm.h>.
43402         (__memrchr): Don't use BP_SYM.
43403         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
43404         <bp-sym.h> and <bp-asm.h>.
43405         (memset): Don't use BP_SYM.
43406         (__bzero): Likewise.
43407         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
43408         <bp-sym.h> and <bp-asm.h>.
43409         (__rawmemchr): Don't use BP_SYM.
43410         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
43411         <bp-sym.h> and <bp-asm.h>.
43412         (__STRCMP): Don't use BP_SYM.
43413         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
43414         <bp-sym.h> and <bp-asm.h>.
43415         (strchr): Don't use BP_SYM.
43416         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
43417         <bp-sym.h> and <bp-asm.h>.
43418         (__strchrnul): Don't use BP_SYM.
43419         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
43420         <bp-sym.h> and <bp-asm.h>.
43421         (strlen): Don't use BP_SYM.
43422         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
43423         <bp-sym.h> and <bp-asm.h>.
43424         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43425         pointers.
43426         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
43427         <bp-sym.h> and <bp-asm.h>.
43428         (__strnlen): Don't use BP_SYM.
43429         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
43430         <bp-sym.h> and <bp-asm.h>.
43431         (__GI__setjmp): Don't use BP_SYM.
43432         (_setjmp): Likewise.
43433         (__sigsetjmp): Likewise.
43434         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
43435         (L(start_addresses)): Don't use BP_SYM.
43436         (_start): Likewise.
43437         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
43438         <bp-asm.h>.
43439         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
43440         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
43441         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43442         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43443         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
43444         <bp-asm.h>.
43445         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
43446         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
43447         about bounded pointers.
43448         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43449         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43450         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
43451         <bp-asm.h>.
43452         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43453         about bounded pointers.  Remove GKM FIXME comments.
43454         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43455         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
43456         <bp-asm.h>.
43457         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
43458         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
43459         Remove GKM FIXME comments.
43460         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43461         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43462         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
43463         <bp-asm.h>.
43464         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
43465         about bounded pointers.  Remove GKM FIXME comment.
43466         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
43467         and <bp-asm.h>.
43468         (strncmp): Don't use BP_SYM.  Remove comment about bounded
43469         pointers.
43470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
43471         <bp-sym.h> and <bp-asm.h>.
43472         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
43474         <bp-sym.h> and <bp-asm.h>.
43475         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43476         comment.
43478 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
43480         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
43481         call free(NULL).
43483 2013-03-05  David S. Miller  <davem@davemloft.net>
43485         * po/es.po: Update from translation team.
43487 2013-03-05  Andreas Jaeger  <aj@suse.de>
43489         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
43490         <bits/mman-linux.h>.
43491         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43492         is fine.
43493         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
43494         <bits/mman-linux.h> to end of file.
43495         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43496         is fine.
43497         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
43498         <bits/mman-linux.h> to end of file.
43499         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
43500         is fine.
43501         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
43502         <bits/mman-linux.h> to end of file.
43504         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
43505         (MCL_CURRENT, MCL_FUTURE): Define here.
43507 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43509         [BZ #15232]
43510         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
43511         attribute_hidden.
43512         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43514 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43516         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
43517         fourth parameter needed for rt_sigprocmask syscall.
43518         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
43519         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
43520         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
43521         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
43522         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
43523         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
43525 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
43527         [BZ #13550]
43528         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
43529         comment about bounded pointers.
43530         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
43531         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
43533 2013-03-04  Andreas Jaeger  <aj@suse.de>
43535         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
43536         common definitions.
43538         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
43539         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
43540         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
43541         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43542         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43543         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43545 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43547         [BZ #15055]
43548         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
43549         __ieee754_sqrl instead of __sqrl.
43551 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
43553         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
43554         * sysdeps/powerpc/fpu_control.h: ... here.
43555         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
43556         * sysdeps/powerpc/bits/fenvinline.h: ... here.
43557         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
43558         * sysdeps/powerpc/bits/mathinline.h: ... here.
43560 2013-03-01  Roland McGrath  <roland@hack.frob.com>
43562         * elf/dl-hwcaps.c (_dl_important_hwcaps):
43563         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
43564         to just [NEED_DL_SYSINFO_DSO].
43565         * elf/dl-support.c: Likewise.
43566         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
43567         * elf/rtld.c (dl_main): Likewise.
43568         * elf/setup-vdso.h (setup_vdso): Likewise.
43569         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
43570         * sysdeps/unix/sysv/linux/dl-sysdep.c
43571         (_dl_discover_osversion): Likewise.
43573 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
43575         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
43576         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43578 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43580         * NEWS: Mention libm performance improvements and non-x86 PI
43581         futex support.
43583         * csu/libc-start.c (__pthread_initialize_minimal): Change
43584         function arguments.
43585         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
43587 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
43589         [BZ #13550]
43590         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
43591         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
43592         <bp-sym.h> and <bp-asm.h>.
43593         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43594         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
43595         and <bp-asm.h>.
43596         (memcpy): Don't use BP_SYM.
43597         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
43598         <bp-asm.h>.
43599         (__mpn_add_n): Don't use BP_SYM.
43600         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
43601         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
43602         and <bp-asm.h>.
43603         (__mpn_addmul_1): Don't use BP_SYM.
43604         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43605         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
43606         <bp-sym.h>.
43607         (_setjmp): Don't use BP_SYM.
43608         (__novmx_setjmp): Likewise.
43609         (__GI__setjmp): Likewise.
43610         (__vmx_setjmp): Likewise.
43611         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
43612         <bp-sym.h>.
43613         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
43614         (__bzero): Don't use BP_SYM.
43615         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
43616         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
43617         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
43618         <bp-sym.h> and <bp-asm.h>.
43619         (memcpy): Don't use BP_SYM.
43620         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
43621         <bp-sym.h> and <bp-asm.h>.
43622         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43623         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
43624         <bp-sym.h> and <bp-asm.h>.
43625         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
43626         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
43627         <bp-asm.h>.
43628         (__mpn_lshift): Don't use BP_SYM.
43629         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43630         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
43631         <bp-asm.h>.
43632         (memset): Don't use BP_SYM.
43633         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
43634         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
43635         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
43636         <bp-asm.h>.
43637         (__mpn_mul_1): Don't use BP_SYM.
43638         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43639         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
43640         <bp-sym.h> and <bp-asm.h>.
43641         (memcmp): Don't use BP_SYM.
43642         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
43643         <bp-sym.h> and <bp-asm.h>.
43644         (memcpy): Don't use BP_SYM.
43645         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
43646         <bp-sym.h> and <bp-asm.h>.
43647         (memset): Don't use BP_SYM.
43648         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
43649         <bp-sym.h> and <bp-asm.h>.
43650         (strncmp): Don't use BP_SYM.
43651         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
43652         <bp-sym.h> and <bp-asm.h>.
43653         (memcpy): Don't use BP_SYM.
43654         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
43655         <bp-sym.h> and <bp-asm.h>.
43656         (memset): Don't use BP_SYM.
43657         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
43658         <bp-sym.h> and <bp-asm.h>.
43659         (__memchr): Don't use BP_SYM.
43660         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
43661         <bp-sym.h> and <bp-asm.h>.
43662         (memcmp): Don't use BP_SYM.
43663         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
43664         <bp-sym.h> and <bp-asm.h>.
43665         (memcpy): Don't use BP_SYM.
43666         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
43667         <bp-sym.h> and <bp-asm.h>.
43668         (__mempcpy): Don't use BP_SYM.
43669         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
43670         <bp-sym.h> and <bp-asm.h>.
43671         (__memrchr): Don't use BP_SYM.
43672         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
43673         <bp-sym.h> and <bp-asm.h>.
43674         (memset): Don't use BP_SYM.
43675         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
43676         <bp-sym.h> and <bp-asm.h>.
43677         (__rawmemchr): Don't use BP_SYM.
43678         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
43679         <bp-sym.h> and <bp-asm.h>.
43680         (__STRCMP): Don't use BP_SYM.
43681         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
43682         <bp-sym.h> and <bp-asm.h>.
43683         (strchr): Don't use BP_SYM.
43684         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
43685         <bp-sym.h> and <bp-asm.h>.
43686         (__strchrnul): Don't use BP_SYM.
43687         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
43688         <bp-sym.h> and <bp-asm.h>.
43689         (strlen): Don't use BP_SYM.
43690         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
43691         <bp-sym.h> and <bp-asm.h>.
43692         (strncmp): Don't use BP_SYM.
43693         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
43694         <bp-sym.h> and <bp-asm.h>.
43695         (__strnlen): Don't use BP_SYM.
43696         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
43697         <bp-asm.h>.
43698         (__mpn_rshift): Don't use BP_SYM.
43699         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
43700         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
43701         <bp-sym.h> and <bp-asm.h>.
43702         (__sigsetjmp): Don't use BP_SYM.
43703         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
43704         (L(start_addresses)): Don't use BP_SYM.
43705         (_start): Likewise.
43706         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
43707         <bp-asm.h>.
43708         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
43709         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43710         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43711         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
43712         <bp-asm.h>.
43713         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
43714         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
43715         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
43716         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
43717         <bp-asm.h>.
43718         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
43719         comments.
43720         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
43721         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
43722         <bp-asm.h>.
43723         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
43724         FIXME comments.
43725         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
43726         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
43727         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
43728         <bp-asm.h>.
43729         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
43730         comment.
43731         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
43732         and <bp-asm.h>.
43733         (strncmp): Don't use BP_SYM,
43734         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
43735         <bp-asm.h>.
43736         (__mpn_sub_n): Don't use BP_SYM.
43737         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
43738         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
43739         and <bp-asm.h>.
43740         (__mpn_submul_1): Don't use BP_SYM.
43741         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
43742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
43743         <bp-sym.h> and <bp-asm.h>.
43744         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
43745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
43746         <bp-sym.h> and <bp-asm.h>.
43747         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
43748         comment.
43750 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43752         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
43753         Use ZK to minimize writes to Z.
43754         (sub_magnitudes): Simplify code a bit.
43755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
43756         Use ZK to minimize writes to Z.
43757         (sub_magnitudes): Simplify code a bit.
43759 2013-02-27  Roland McGrath  <roland@hack.frob.com>
43761         * csu/gmon-start.c: Add special exception to license text.
43763 2013-02-27  Richard Henderson  <rth@redhat.com>
43765         * scripts/config.guess: Update from config.git.
43766         * scripts/config.sub: Likewise.
43768 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43770         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
43772         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
43774         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
43776         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
43778         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
43780 2013-02-26  Roland McGrath  <roland@hack.frob.com>
43782         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
43783         [$(build-shared = yes].
43785 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43787         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
43788         (__mul): Reduce iterations for calculating mantissa.
43790         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
43791         MPTWO.
43792         (__mpranred): Likewise.
43794         [BZ #15160]
43795         * malloc/memusagestat.c (main): Draw graphs for heap and stack
43796         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
43798 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
43800         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
43801         Define __attribute__.
43803 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43805         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
43806         unused.
43807         * posix/regex_internal.h (__attribute): Remove.
43808         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
43809         (re_string_context_at): Likewise.
43810         (bitset_not): Use __attribute__ and mark function as possibly
43811         unused.
43812         (bitset_merge): Likewise.
43813         (bitset_mask): Likewise.
43814         (re_string_char_size_at): Likewise.
43815         (re_string_wchar_at): Likewise.
43816         (re_string_elem_size_at): Likewise.
43818 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43820         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
43821         code.
43822         (cc32): Likewise.
43824         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
43825         (__acr): Likewise.
43826         (__cpy): Likewise.
43827         (norm): Likewise.
43828         (denorm): Likewise.
43829         (__dbl_mp): Likewise.
43830         (add_magnitudes): Likewise.
43831         (sub_magnitudes): Likewise.
43832         (__mul): Likewise.
43833         (__inv): Likewise.
43835         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
43836         style.
43838         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
43839         style.
43841         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
43842         code.
43844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
43845         up changes with default code.
43846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
43847         Likewise.
43849 2013-02-24  Allan McRae  <allan@archlinux.org>
43851         * manual/socket.texi (The Internet Namespace): Order menu items
43852         to match that in the file.
43854         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
43855         node listing of the info page menu.
43857 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
43859         [BZ #13550]
43860         * sysdeps/i386/bp-asm.h: Remove file.
43861         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
43862         (PARMS): Do not use macros from bp-asm.h.
43863         (S1): Likewise.
43864         (S2): Likewise.
43865         (SIZE): Likewise.
43866         (__mpn_add_n): Do not use BP_SYM
43867         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
43868         "bp-asm.h".
43869         (PARMS): Do not use macros from bp-asm.h.
43870         (S1): Likewise.
43871         (SIZE): Likewise.
43872         (__mpn_addmul_1): Do not use BP_SYM
43873         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
43874         "bp-asm.h".
43875         (PARMS): Do not use macros from bp-asm.h.
43876         (SIGMSK): Likewise.
43877         (_setjmp): Likewise.  Do not use BP_SYM.
43878         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
43879         "bp-asm.h".
43880         (PARMS): Do not use macros from bp-asm.h.
43881         (SIGMSK): Likewise.
43882         (setjmp): Likewise.  Do not use BP_SYM.
43883         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
43884         "bp-asm.h".
43885         (PARMS): Do not use macros from bp-asm.h.
43886         (__frexp): Do not use BP_SYM.
43887         (frexp): Likewise.
43888         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
43889         "bp-asm.h".
43890         (PARMS): Do not use macros from bp-asm.h.
43891         (__frexpf): Do not use BP_SYM.
43892         (frexpf): Likewise.
43893         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
43894         "bp-asm.h".
43895         (PARMS): Do not use macros from bp-asm.h.
43896         (__frexpl): Do not use BP_SYM.
43897         (frexpl): Likewise.
43898         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
43899         "bp-asm.h".
43900         (PARMS): Do not use macros from bp-asm.h.
43901         (__remquo): Do not use BP_SYM.
43902         (remquo): Likewise.
43903         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
43904         "bp-asm.h".
43905         (PARMS): Do not use macros from bp-asm.h.
43906         (__remquof): Do not use BP_SYM.
43907         (remquof): Likewise.
43908         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
43909         "bp-asm.h".
43910         (PARMS): Do not use macros from bp-asm.h.
43911         (__remquol): Do not use BP_SYM.
43912         (remquol): Likewise.
43913         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
43914         "bp-asm.h".
43915         (PARMS): Do not use macros from bp-asm.h.
43916         (DEST): Likewise.
43917         (SRC): Likewise.
43918         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
43919         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
43920         "bp-asm.h".
43921         (PARMS): Do not use macros from bp-asm.h.
43922         (strlen): Do not use BP_SYM.
43923         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
43924         "bp-asm.h".
43925         (PARMS): Do not use macros from bp-asm.h.
43926         (S1): Likewise.
43927         (S2): Likewise.
43928         (SIZE): Likewise.
43929         (__mpn_add_n): Do not use BP_SYM.
43930         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
43931         "bp-asm.h".
43932         (PARMS): Do not use macros from bp-asm.h.
43933         (S1): Likewise.
43934         (SIZE): Likewise.
43935         (__mpn_addmul_1): Do not use BP_SYM.
43936         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
43937         weak_alias.
43938         (bzero): Likewise.
43939         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
43940         "bp-asm.h".
43941         (PARMS): Do not use macros from bp-asm.h.
43942         (S): Likewise.
43943         (SIZE): Likewise.
43944         (__mpn_lshift): Do not use BP_SYM.
43945         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
43946         "bp-asm.h".
43947         (PARMS): Do not use macros from bp-asm.h.
43948         (DEST): Likewise.
43949         (SRC): Likewise.
43950         (LEN): Likewise.
43951         (memcpy): Likewise.  Do not use BP_SYM.
43952         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
43953         libc_hidden_def and weak_alias.
43954         (mempcpy): Do not use BP_SYM in weak_alias.
43955         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
43956         "bp-asm.h".
43957         (PARMS): Do not use macros from bp-asm.h.
43958         (DEST): Likewise.
43959         (LEN): Likewise.
43960         [!BZERO_P] (CHR): Likewise.
43961         (memset): Likewise.  Do not use BP_SYM.
43962         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
43963         "bp-asm.h".
43964         (PARMS): Do not use macros from bp-asm.h.
43965         (S1): Likewise.
43966         (SIZE): Likewise.
43967         (__mpn_mul_1): Do not use BP_SYM.
43968         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
43969         "bp-asm.h".
43970         (PARMS): Do not use macros from bp-asm.h.
43971         (S): Likewise.
43972         (SIZE): Likewise.
43973         (__mpn_rshift): Do not use BP_SYM.
43974         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
43975         "bp-asm.h".
43976         (PARMS): Do not use macros from bp-asm.h.
43977         (STR): Likewise.
43978         (CHR): Likewise.
43979         (strchr): Likewise.  Do not use BP_SYM.
43980         (index): Do not use BP_SYM in weak_alias.
43981         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
43982         "bp-asm.h".
43983         (PARMS): Do not use macros from bp-asm.h.
43984         (DEST): Likewise.
43985         (SRC): Likewise.
43986         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
43987         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
43988         "bp-asm.h".
43989         (PARMS): Do not use macros from bp-asm.h.
43990         (strlen): Do not use BP_SYM.
43991         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
43992         "bp-asm.h".
43993         (PARMS): Do not use macros from bp-asm.h.
43994         (S1): Likewise.
43995         (S2): Likewise.
43996         (SIZE): Likewise.
43997         (__mpn_sub_n): Do not use BP_SYM.
43998         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
43999         "bp-asm.h".
44000         (PARMS): Do not use macros from bp-asm.h.
44001         (S1): Likewise.
44002         (SIZE): Likewise.
44003         (__mpn_submul_1): Do not use BP_SYM.
44004         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
44005         "bp-asm.h".
44006         (PARMS): Do not use macros from bp-asm.h.
44007         (S1): Likewise.
44008         (S2): Likewise.
44009         (SIZE): Likewise.
44010         (__mpn_add_n): Do not use BP_SYM.
44011         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
44012         weak_alias.
44013         (bzero): Likewise.
44014         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
44015         "bp-asm.h".
44016         (PARMS): Do not use macros from bp-asm.h.
44017         (BLK2): Likewise.
44018         (LEN): Likewise.
44019         (memcmp): Do not use BP_SYM.
44020         (bcmp): Do not use BP_SYM in weak_alias.
44021         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
44022         "bp-asm.h".
44023         (PARMS): Do not use macros from bp-asm.h.
44024         (DEST): Likewise.
44025         (SRC): Likewise.
44026         (LEN): Likewise.
44027         (memcpy): Likewise.  Do not use BP_SYM.
44028         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
44029         "bp-asm.h".
44030         (PARMS): Do not use macros from bp-asm.h.
44031         (DEST): Likewise.
44032         (SRC): Likewise.
44033         (LEN): Likewise.
44034         (memmove): Likewise.  Do not use BP_SYM.
44035         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
44036         "bp-asm.h".
44037         (PARMS): Do not use macros from bp-asm.h.
44038         (DEST): Likewise.
44039         (SRC): Likewise.
44040         (LEN): Likewise.
44041         (__mempcpy): Likewise.  Do not use BP_SYM.
44042         (mempcpy): Do not use BP_SYM in weak_alias.
44043         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
44044         "bp-asm.h".
44045         (PARMS): Do not use macros from bp-asm.h.
44046         (DEST): Likewise.
44047         (LEN): Likewise.
44048         [!BZERO_P] (CHR): Likewise.
44049         (memset): Likewise.  Do not use BP_SYM.
44050         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
44051         "bp-asm.h".
44052         (PARMS): Do not use macros from bp-asm.h.
44053         (STR2): Likewise.
44054         (strcmp): Do not use BP_SYM.
44055         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
44056         "bp-asm.h".
44057         (PARMS): Do not use macros from bp-asm.h.
44058         (STR): Likewise.
44059         (DELIM): Likewise.
44060         [USE_AS_STRTOK_R] (SAVE): Likewise.
44061         (FUNCTION): Likewise.  Do not use BP_SYM.
44062         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
44063         aliases.
44064         (strtok_r): Likewise.
44065         (__GI___strtok_r): Likewise.
44066         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44067         (PARMS): Do not use macros from bp-asm.h.
44068         (S): Likewise.
44069         (SIZE): Likewise.
44070         (__mpn_lshift): Do not use BP_SYM.
44071         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44072         (PARMS): Do not use macros from bp-asm.h.
44073         (STR): Likewise.
44074         (CHR): Likewise.
44075         (__memchr): Do not use BP_SYM.
44076         (memchr): Do not use BP_SYM in weak_alias.
44077         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44078         (PARMS): Do not use macros from bp-asm.h.
44079         (BLK2): Likewise.
44080         (LEN): Likewise.
44081         (memcmp): Do not use BP_SYM.
44082         (bcmp): Do not use BP_SYM in weak_alias.
44083         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
44084         (PARMS): Do not use macros from bp-asm.h.
44085         (S1): Likewise.
44086         (SIZE): Likewise.
44087         (__mpn_mul_1): Do not use BP_SYM.
44088         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
44089         "bp-asm.h".
44090         (PARMS): Do not use macros from bp-asm.h.
44091         (STR): Likewise.
44092         (CHR): Likewise.
44093         (__rawmemchr): Do not use BP_SYM.
44094         (rawmemchr): Do not use BP_SYM in weak_alias.
44095         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
44096         (PARMS): Do not use macros from bp-asm.h.
44097         (S): Likewise.
44098         (SIZE): Likewise.
44099         (__mpn_rshift): Do not use BP_SYM.
44100         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
44101         (PARMS): Do not use macros from bp-asm.h.
44102         (SIGMSK): Likewise.
44103         (__sigsetjmp): Likewise.  Do not use BP_SYM.
44104         * sysdeps/i386/start.S: Do not include "bp-sym.h".
44105         (_start): Do not use BP_SYM.
44106         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
44107         (PARMS): Do not use macros from bp-asm.h.
44108         (DEST): Likewise.
44109         (SRC): Likewise.
44110         (__stpcpy): Likewise.  Do not use BP_SYM.
44111         (stpcpy): Do not use BP_SYM in weak_alias.
44112         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
44113         "bp-asm.h".
44114         (PARMS): Do not use macros from bp-asm.h.
44115         (DEST): Likewise.
44116         (SRC): Likewise.
44117         (LEN): Likewise.
44118         (__stpncpy): Likewise.  Do not use BP_SYM.
44119         (stpncpy): Do not use BP_SYM in weak_alias.
44120         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
44121         (PARMS): Do not use macros from bp-asm.h.
44122         (STR): Likewise.
44123         (CHR): Likewise.
44124         (strchr): Likewise.  Do not use BP_SYM.
44125         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
44126         "bp-asm.h".
44127         (PARMS): Do not use macros from bp-asm.h.
44128         (STR): Likewise.
44129         (CHR): Likewise.
44130         (__strchrnul): Likewise.  Do not use BP_SYM.
44131         (strchrnul): Do not use BP_SYM in weak_alias.
44132         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
44133         "bp-asm.h".
44134         (PARMS): Do not use macros from bp-asm.h.
44135         (STOP): Likewise.
44136         (strcspn): Do not use BP_SYM.
44137         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
44138         "bp-asm.h".
44139         (PARMS): Do not use macros from bp-asm.h.
44140         (STR): Likewise.
44141         (STOP): Likewise.
44142         (strpbrk): Likewise.  Do not use BP_SYM.
44143         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
44144         "bp-asm.h".
44145         (PARMS): Do not use macros from bp-asm.h.
44146         (STR): Likewise.
44147         (CHR): Likewise.
44148         (strrchr): Likewise.  Do not use BP_SYM.
44149         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
44150         (PARMS): Do not use macros from bp-asm.h.
44151         (SKIP): Likewise.
44152         (strspn): Do not use BP_SYM.
44153         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
44154         (PARMS): Do not use macros from bp-asm.h.
44155         (STR): Likewise.
44156         (DELIM): Likewise.
44157         (SAVE): Likewise.
44158         (FUNCTION): Likewise.  Do not use BP_SYM.
44159         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
44160         aliases.
44161         (strtok_r): Likewise.
44162         (__GI___strtok_r): Likewise.
44163         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
44164         (PARMS): Do not use macros from bp-asm.h.
44165         (S1): Likewise.
44166         (S2): Likewise.
44167         (SIZE): Likewise.
44168         (__mpn_sub_n): Do not use BP_SYM.
44169         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
44170         "bp-asm.h".
44171         (PARMS): Do not use macros from bp-asm.h.
44172         (S1): Likewise.
44173         (SIZE): Likewise.
44174         (__mpn_submul_1): Do not use BP_SYM.
44175         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
44176         <bp-sym.h>.
44177         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
44178         and <bp-asm.h>.
44179         (PARMS): Do not use macros from bp-asm.h.
44180         (FLAGS): Likewise.
44181         (PTID): Likewise.
44182         (TLS): Likewise.
44183         (CTID): Likewise.
44184         (__clone): Do not use BP_SYM.
44185         (clone): Do not use BP_SYM in weak_alias.
44186         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
44187         and <bp-asm.h>.
44188         (PARMS): Do not use macros from bp-asm.h.
44189         (LEN): Likewise.
44190         (__mmap64): Do not use BP_SYM.
44191         (mmap64): Do not use BP_SYM in weak_alias.
44192         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
44193         <bp-sym.h> and <bp-asm.h>.
44194         (PARMS): Do not use macros from bp-asm.h.
44195         (__posix_fadvise64_l64): Do not use BP_SYM.
44196         * sysdeps/unix/sysv/linux/i386/semtimedop.S
44197         (PARMS): Do not use macros from bp-asm.h.
44198         (NSOPS): Likewise.
44199         (semtimedop): Do not use BP_SYM.
44200         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
44201         and <bp-asm.h>.
44203 2013-02-21  Allan McRae  <allan@archlinux.org>
44205         * manual/message.texi (Charset conversion in gettext):
44206         Move @end statement to beginning of line.
44208 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
44211         static.
44212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
44213         Likewise.
44215         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
44216         (denorm): Likewise.
44217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
44218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
44220 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44222         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
44223         tail-call to the resolved function if pltexit isn't needed.
44225 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
44228         or Y being zero as being unlikely.
44229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44230         Likewise.
44232 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
44234         * manual/nss.texi (System Databases and Name Service Switch):
44235         Remove frobnicate @pxref.
44237 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44239         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44240         __attribute__ ((unused)) to __attribute__ ((__unused__)).
44242 2013-02-20  Petr Machata  <pmachata@redhat.com>
44244         * elf/elf.h (R_ARM_TARGET1): New macro.
44245         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
44246         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
44247         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
44248         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
44249         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
44250         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
44251         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
44252         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
44253         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
44254         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
44255         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
44256         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
44257         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
44258         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
44259         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
44260         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
44261         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
44262         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
44263         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
44264         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
44265         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
44266         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
44267         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
44268         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
44269         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
44270         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
44271         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
44272         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
44273         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
44274         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
44275         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
44276         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
44277         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
44278         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
44279         (R_ARM_THM_GOT_BREL12): Likewise.
44280         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
44281         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
44282         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
44283         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
44284         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
44285         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
44286         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
44287         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
44288         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
44290 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
44292         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
44293         __attribute_used__ to __attribute__ ((unused)).
44295 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44297         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
44298         powerpc mpa.c.
44299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
44300         comment formatting.
44301         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
44303 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
44305         [BZ #13550]
44306         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
44307         Remove macro.
44308         (ENTER): Remove both macro definitions.
44309         (LEAVE): Likewise.
44310         (CHECK_BOUNDS_LOW): Likewise.
44311         (CHECK_BOUNDS_HIGH): Likewise.
44312         (CHECK_BOUNDS_BOTH): Likewise.
44313         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
44314         (RETURN_BOUNDED_POINTER): Likewise.
44315         (RETURN_NULL_BOUNDED_POINTER): Likewise.
44316         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
44317         (POP_ERRNO_LOCATION_RETURN): Likewise.
44318         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
44319         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44320         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
44321         macros.
44322         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44323         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
44324         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
44325         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
44326         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
44327         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
44328         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
44329         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
44330         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
44331         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
44332         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
44333         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
44334         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44335         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
44336         removed macros.
44337         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44338         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
44339         macros.
44340         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44341         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
44342         * sysdeps/i386/i586/memset.S (memset): Likewise.
44343         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
44344         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44345         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
44346         macros.
44347         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44348         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
44349         Change uses of L(2) to L(out).
44350         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
44351         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
44352         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
44353         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44354         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
44355         removed macros.
44356         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44357         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
44358         macros.
44359         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44360         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
44361         (RETURN): Do not use macro LEAVE.
44362         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
44363         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
44364         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
44365         * sysdeps/i386/i686/memset.S (memset): Likewise.
44366         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
44367         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
44368         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44369         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
44370         Likewise.
44371         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44372         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
44373         L(1_2) and L(1_3) into L(1).
44374         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44375         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
44376         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44377         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
44378         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44379         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
44380         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
44381         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44382         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
44383         macros.
44384         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
44385         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
44386         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
44387         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
44388         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
44389         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44390         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
44391         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
44392         * sysdeps/i386/strcspn.S (strcspn): Likewise.
44393         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
44394         * sysdeps/i386/strrchr.S (strrchr): Likewise.
44395         * sysdeps/i386/strspn.S (strspn): Likewise.
44396         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
44397         conditional code.
44398         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44399         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
44400         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
44401         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
44402         L(1_3) into L(1_1).
44403         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
44404         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
44405         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
44406         macros.
44407         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
44409 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
44411         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
44412         macro.
44414 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44416         * math/atest-exp.c (exp_mpn): Remove ROUND.
44417         * math/atest-exp2.c (exp_mpn): Likewise.
44418         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
44420         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
44421         * stdlib/tst-tls-atexit-lib.c: Likewise.
44422         * stdlib/tst-tls-atexit.c: Likewise.
44424 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44426         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
44427         and __attribute_alloc_size__.
44429 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44431         * include/programs/xmalloc.h: Change __attribute_alloc_size to
44432         __attribute_alloc_size__.
44433         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
44434         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
44436 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
44438         * include/programs/xmalloc.h: New file.
44439         * catgets/gencat.c: Include it.
44440         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
44441         * elf/pldd.c: Likewise.
44442         * iconv/iconv_charmap.c: Likewise.
44443         * iconv/iconvconfig.c: Likewise.
44444         * iconv/strtab.c: Likewise.
44445         * locale/programs/locale.c: Likewise.
44446         * locale/programs/localedef.h: Likewise.
44447         * locale/programs/simple-hash.c: Likewise.
44448         * nscd/nscd.h: Likewise.
44449         * nss/makedb.c: Likewise.
44450         * sysdeps/generic/ldconfig.h: Likewise.
44452 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44454         * Versions.def: Add GLIBC_2.18.
44455         * include/link.h (struct link_map): New member l_tls_dtor_count.
44456         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
44457         (__call_tls_dtors): Likewise.
44458         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
44459         __cxa_thread_atexit_impl.
44460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44461         Likewise.
44462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44463         Likewise.
44464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44465         Likewise.
44466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44467         Likewise.
44468         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
44470         Likewise.
44471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
44472         Likewise.
44473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44475         Likewise.
44476         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
44477         (tests): Add test case tst-tls-atexit.
44478         (modules-names): Add shared library for tst-tls-atexit.
44479         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
44480         (GLIBC_PRIVATE): Add __call_tls_dtors.
44481         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
44482         for libstdc++.
44483         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
44484         * stdlib/tst-tls-atexit.c: New test case.
44485         * stdlib/tst-tls-atexit-lib.c: New test case.
44487         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
44489         * elf/Versions (ld): Add _dl_find_dso_for_object.
44490         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
44491         * elf/dl-open.c (_dl_find_dso_for_object): New function.
44492         (dl_open_worker): Use _dl_find_dso_for_object.
44493         * elf/dl-sym.c (do_sym): Likewise.
44494         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
44496 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44498         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
44499         Syntactic changes only.
44500         (_dl_runtime_profile): Do a tail-call to the resolved function.
44502 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
44504         [BZ #13550]
44505         * sysdeps/x86_64/bp-asm.h: Remove file.
44506         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
44507         <bp-sym.h> and <bp-asm.h>.
44508         (__clone): Do not use BP_SYM.
44509         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
44510         <bp-sym.h> and <bp-asm.h>.
44511         * sysdeps/unix/x86_64/sysdep.S: Likewise.
44512         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
44513         "bp-asm.h".
44514         (_setjmp): Do not use BP_SYM.
44515         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
44516         "bp-asm.h".
44517         (setjmp): Do not use BP_SYM.
44518         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
44519         libc_hidden_def.
44520         (mempcpy): Do not use BP_SYM in weak_alias.
44521         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
44522         "bp-asm.h".
44523         (strchr): Do not use BP_SYM.
44524         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
44525         "bp-asm.h".
44526         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
44527         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
44528         (_start): Do not use BP_SYM.
44529         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
44530         "bp-asm.h".
44531         (strcat): Do not use BP_SYM.
44532         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
44533         "bp-asm.h".
44534         (STRCMP): Do not use BP_SYM.
44535         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
44536         "bp-asm.h".
44537         (STRCPY): Do not use BP_SYM.
44538         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
44539         "bp-asm.h".
44540         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
44541         "bp-asm.h".
44542         (FUNCTION): Do not use BP_SYM.
44543         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
44544         weak_alias.
44545         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
44547 2013-02-17  Andreas Jaeger  <aj@suse.de>
44549         * time/Versions: Sort entries.
44550         * string/Versions: Likewise.
44551         * resolv/Versions: Likewise.
44552         * posix/Versions: Likewise.
44553         * iconv/Versions: Likewise.
44554         * elf/Versions: Likewise.
44555         * wcsmbs/Versions: Likewise.
44557 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44559         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
44560         loop termination condition.
44562         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
44563         variable to calculate EZ.
44564         (__sqr): Likewise.
44566         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
44567         the lower precision input.
44569 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
44571         [BZ #13550]
44572         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
44573         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
44574         (run-via-rtld-prefix): Do not handle %-bp tests.
44575         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
44576         (all-object-suffixes): Remove .ob.
44577         (bppfx): Remove variable.
44578         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
44579         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
44580         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
44581         [$(build-bounded) = yes] (libtype.ob): Likewise.
44582         * Makerules (elide-routines.ob): Remove variable.
44583         (do-tests-clean): Do not handle *-bp.out.
44584         (common-mostlyclean): Do not handle *-bp and *-bp.out.
44585         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
44586         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
44587         (tests): Do not include $(tests-bp.out).
44588         (xtests): Do not include $(xtests-bp.out).
44589         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
44590         [$(build-bounded) = yes] ($(addprefix
44591         $(objpfx),$(binaries-bounded))): Remove rule.
44592         ($(objpfx)%-bp.out): Remove rule.
44593         * config.make.in (build-bounded): Remove variable.
44594         * crypt/Makefile [$(build-bounded) = yes]
44595         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
44596         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
44597         append to variable.
44598         [$(build-bounded) = yes] (install-lib): Likewise.
44599         [$(build-bounded) = yes] (generated): Likewise.
44600         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
44601         Remove rule.
44602         * intl/Makefile [$(build-bounded) = yes]
44603         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
44604         * math/Makefile [$(build-bounded) = yes]
44605         ($(tests:%=$(objpfx)%-bp): Likewise.
44606         * misc/Makefile [$(build-bounded) = yes]
44607         ($(objpfx)tst-tsearch-bp): Likewise.
44608         * nptl/Makeconfig (bounded-thread-library): Remove variable.
44609         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
44610         Remove dependency.
44611         * string/Makefile (o-objects.ob): Remove variable.
44612         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
44613         (CFLAGS-.ob): Remove variable.
44614         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
44615         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
44616         both definitions of variable.
44617         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
44618         (ASFLAGS-.ob): Remove variable.
44620 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
44622         [BZ #13550]
44623         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
44624         Remove __BOUNDED_POINTERS__ from condition.
44625         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
44626         * string/bits/string2.h [!__NO_STRING_INLINES &&
44627         !__BOUNDED_POINTERS__]: Likewise.
44628         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
44629         Likewise.
44630         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
44631         Remove conditional code.
44632         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
44633         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
44634         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
44635         condition.
44637         [BZ #13550]
44638         * csu/libc-start.c: Do not include <bp-sym.h>.
44639         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
44640         * elf/dl-open.c: Do not include <bp-sym.h>.
44641         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
44642         * math/fegetenv.c: Do not include <bp-sym.h>.
44643         (fegetenv): Do not use BP_SYM in versioned symbols.
44644         * nptl/sysdeps/pthread/bits/libc-lockP.h
44645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
44646         <bp-sym.h>.
44647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44648         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
44649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44650         (__pthread_mutex_destroy): Likewise.
44651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44652         (__pthread_mutex_lock): Likewise.
44653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44654         (__pthread_mutex_trylock): Likewise.
44655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44656         (__pthread_mutex_unlock): Likewise.
44657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44658         (__pthread_mutexattr_init): Likewise.
44659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44660         (__pthread_mutexattr_destroy): Likewise.
44661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44662         (__pthread_mutexattr_settype): Likewise.
44663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44664         (__pthread_rwlock_init): Likewise.
44665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44666         (__pthread_rwlock_destroy): Likewise.
44667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44668         (__pthread_rwlock_rdlock): Likewise.
44669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44670         (__pthread_rwlock_tryrdlock): Likewise.
44671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44672         (__pthread_rwlock_wrlock): Likewise.
44673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44674         (__pthread_rwlock_trywrlock): Likewise.
44675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44676         (__pthread_rwlock_unlock): Likewise.
44677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44678         (__pthread_key_create): Likewise.
44679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44680         (__pthread_setspecific): Likewise.
44681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44682         (__pthread_getspecific): Likewise.
44683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
44684         Likewise.
44685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44686         (_pthread_cleanup_push_defer): Likewise.
44687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44688         (_pthread_cleanup_pop_restore): Likewise.
44689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
44690         (pthread_setcancelstate): Likewise.
44691         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
44692         <bp-sym.h>.
44693         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
44694         (memchr): Do not use BP_SYM in weak_alias.
44695         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
44696         (fegetenv): Do not use BP_SYM in versioned symbols.
44697         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
44698         (fesetenv): Do not use BP_SYM in versioned symbols.
44699         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
44700         (feupdateenv): Do not use BP_SYM in versioned symbols.
44701         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
44702         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
44703         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
44704         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
44705         (open64): Do not use BP_SYM in weak_alias.
44706         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
44707         (fegetenv): Do not use BP_SYM in versioned symbols.
44708         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
44709         (fesetenv): Do not use BP_SYM in versioned symbols.
44710         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
44711         (feupdateenv): Do not use BP_SYM in versioned symbols.
44712         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
44713         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
44714         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
44715         (feraiseexcept): Do not use BP_SYM in versioned symbols.
44716         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
44717         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
44718         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
44719         <bp-sym.h>.
44720         (__libc_start_main): Do not use BP_SYM.
44722 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
44725         redundant return line.
44726         (norm): Likewise.
44727         (denorm): Likewise.
44728         (dbl_mp): Likewise.
44729         (sub_magnitudes): Likewise.
44730         (__add): Likewise.
44731         (__sub): Likewise.
44732         (__mul): Likewise.
44733         (__inv): Likewise.
44734         (__dvd): Likewise.
44735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
44736         (norm): Likewise.
44737         (denorm): Likewise.
44738         (dbl_mp): Likewise.
44739         (sub_magnitudes): Likewise.
44740         (__add): Likewise.
44741         (__sub): Likewise.
44742         (__mul): Likewise.
44743         (__inv): Likewise.
44744         (__dvd): Likewise.
44746         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
44747         instead of __mul.
44748         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
44749         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
44750         (cc32): Likewise.
44752         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
44753         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
44754         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
44755         of __mul for squares.
44756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
44757         function
44758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
44759         Likewise.
44760         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
44761         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44763 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
44765         [BZ #13550]
44766         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
44767         code.
44768         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
44769         prototype or function definition.  Rename ubp_* variables and
44770         parameters.  Remove argv definitions conditional on
44771         [__BOUNDED_POINTERS__].
44772         * debug/backtrace.c (__backtrace): Do not use __unbounded.
44773         * elf/dl-runtime.c (_dl_fixup): Likewise.
44774         * include/set-hooks.h (RUN_HOOK): Likewise.
44775         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
44776         definition.
44777         * string/strcpy.c (strcpy): Do not use __unbounded.
44778         * sysdeps/generic/frame.h (struct layout): Likewise.
44779         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
44780         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
44781         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
44782         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
44783         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
44784         (__backtrace): Likewise.
44785         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
44786         use __ptrvalue.
44787         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
44788         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44789         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
44790         Likewise.
44791         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
44792         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
44793         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44794         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
44795         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
44796         Do not use __unbounded.
44797         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
44798         Rename __unboundedrlimits parameter to rlimits in prototype.
44799         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
44800         Do not use __unbounded.
44801         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
44802         not use __ptrvalue.
44803         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
44804         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
44805         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
44806         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
44807         __ptrvalue or __unbounded.
44808         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
44809         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
44810         use __unbounded.
44811         (__new_msgctl): Do not use __ptrvalue.
44812         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
44813         __unbounded.
44814         (__libc_msgrcv): Do not use __ptrvalue.
44815         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
44816         startup_info): Do not use __unbounded.
44817         (__libc_start_main): Likewise.  Rename ubp_* variables and
44818         parameters.  Remove argv definitions conditional on
44819         [__BOUNDED_POINTERS__].
44820         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
44821         __ptrvalue.
44822         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
44823         use __unbounded.
44824         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
44825         or __ptrvalue.
44826         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
44827         use __unbounded.
44828         (__new_shmctl): Do not use __ptrvalue.
44829         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
44830         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
44831         Likewise.
44832         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
44833         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
44834         (__libc_sigaction): Likewise.
44835         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
44836         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
44837         Likewise.
44838         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
44840 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
44842         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
44844         * string/mempcpy.c: Implement by calling memcpy.
44846 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44848         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
44850         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
44851         evaluation.
44853         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
44854         values in the mantissa.
44856         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
44857         minimize writes to Z.
44858         (sub_magnitudes): Simplify code a bit.
44860 2013-02-12  Roland McGrath  <roland@hack.frob.com>
44862         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
44863         from the message.  The linker prefixes all warnings with that already.
44865 2013-02-12  Andreas Schwab  <schwab@suse.de>
44867         [BZ #15078]
44868         * posix/regexec.c (extend_buffers): Add parameter min_len.
44869         (check_matching): Pass minimum needed length.
44870         (clean_state_log_if_needed): Likewise.
44871         (get_subexp): Likewise.
44872         * posix/Makefile (tests): Add bug-regex34.
44873         (bug-regex34-ENV): Define.
44874         * posix/bug-regex34.c: New file.
44876         [BZ #11561]
44877         * posix/regcomp.c (parse_bracket_exp): When looking up collating
44878         elements compare against the byte sequence of it, not its name.
44879         * posix/Makefile (tests): Add bug-regex35.
44880         (bug-regex35-ENV): Define.
44881         * posix/bug-regex35.c: New file.
44883 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44885         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
44886         comment.
44887         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
44888         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
44889         (CHECK_EOL): Add undef.
44891 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
44893         * bits/stdlib-bsearch.h: New file.
44894         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
44895         * stdlib/stdlib.h: Likewise.
44897 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44899         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
44900         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
44901         declaration.
44902         * manual/search.texi (Array Search Function): Add missing const in
44903         lfind prototype.
44904         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
44905         declaration to use rlim_t.
44906         (Basic Scheduling Functions): Remove erroneous const from
44907         sched_getparam prototype.  Remove erroneous * from
44908         sched_get_priority_max and sched_get_priority_min prototypes.
44909         (Resource Usage): Fix summary @comment on vtimes to refer to
44910         sys/vtimes.h rather than vtimes.h.
44911         Add missing *s in vtimes prototype.
44912         (Limits on Resources): Fix ulimit prototype to return long int.
44913         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
44914         prototypes to use long int rather than double.
44915         (BSD Random): Fix initstate and setstate to use char *, not void *.
44916         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
44917         prototype to make second argument 'struct aiocb64 *const[]'.
44918         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
44919         (Status of AIO Operations): Remove erroneous const in aio_return and
44920         aio_return64 prototypes.
44921         (Synchronizing I/O): Fix sync prototype to return void.
44922         * manual/startup.texi (Suboptions): Remove an erroneous const in
44923         getsubopt prototype.
44924         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
44925         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
44926         use size_t rather than int.
44927         (Scanning All Users): Likewise for getpwent_r.
44928         (Setting Groups): Add missing const to setgroups prototype.
44929         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
44930         * manual/socket.texi (Host Names): Fix gethostbyaddr and
44931         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
44932         'const void *' rather than 'const char *'.
44933         (Host Address Functions): Likewise for inet_ntop.
44934         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
44935         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
44936         ssize_t for return value.
44937         (Sending Data): Likewise for send, sendto, sendmsg.
44938         (Socket Option Functions): Add a missing const in setsockopt prototype.
44939         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
44940         use wchar_t for the argument.
44941         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
44942         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
44943         take no arguments.
44944         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
44945         double/float/long double for second argument.
44946         Fix return types of significand, significandf, significandl.
44947         * manual/filesys.texi (Setting Permissions): Use mode_t for second
44948         argument in fchmod prototype.
44949         (File Owner): Use uid_t and gid_t in fchown prototype.
44950         (File Times): Add const to utimes, futimes, and lutimes prototypes.
44951         (Making Special Files): Use mode_t and dev_t in mknod prototype.
44952         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
44953         use 'const struct dirent **' as argument types to CMP function pointer
44954         argument.
44955         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
44956         (File Times): Fix summary magic @comment for struct utimbuf and utime
44957         to refer to utime.h, not time.h.
44958         * manual/string.texi (Argz Functions): Add missing const in
44959         argz_extract and argz_next prototypes.
44960         (Finding Tokens in a String): Likewise for basename.
44961         (String/Array Comparison): Fix typo in wcscasecmp prototype.
44962         (Copying and Concatenation): Fix typo in wmemmove prototype.
44963         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
44964         (Signal Stack): Remove erroneous const in sigstack prototype.
44965         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
44966         prototype.
44967         (Simple Calendar Time): Likewise for stime.
44968         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
44969         prototype.
44970         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
44971         say sys/sysctl.h instead.
44972         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
44973         and vsyslog prototypes.
44975 2013-02-11  Tom de Vries  <tom@codesourcery.com>
44977         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
44978         Remove.
44980 2013-02-11  Roland McGrath  <roland@hack.frob.com>
44982         * misc/sys/mman.h: Fix typo in mremap comment.
44984 2013-02-08  Roland McGrath  <roland@hack.frob.com>
44986         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
44987         the '\0' terminator.
44989 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
44991         [BZ #13550]
44992         * debug/segfault.c: Don't include <bp-checks.h>.
44993         * sysdeps/generic/bp-checks.h: Remove file.
44994         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
44995         (__GETDENTS): Don't use CHECK_N.
44996         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
44997         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44998         (__getgroups): Don't use CHECK_N.
44999         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
45000         (setgroups): Don't use CHECK_N.
45001         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
45002         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
45003         (__libc_msgrcv): Don't use CHECK_N.
45004         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
45005         (__libc_msgsnd): Don't use CHECK_N.
45006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
45007         <bp-checks.h>.
45008         (__libc_pread): Don't use CHECK_N.
45009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
45010         include <bp-checks.h>.
45011         (__libc_pread64): Don't use CHECK_N.
45012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
45013         include <bp-checks.h>.
45014         (__libc_pwrite): Don't use CHECK_N.
45015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
45016         include <bp-checks.h>.
45017         (__libc_pwrite64): Don't use CHECK_N.
45018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
45019         <bp-checks.h>.
45020         (__libc_pread): Don't use CHECK_N.
45021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
45022         include <bp-checks.h>.
45023         (__libc_pread64): Don't use CHECK_N.
45024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
45025         include <bp-checks.h>.
45026         (__libc_pwrite): Don't use CHECK_N.
45027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
45028         include <bp-checks.h>.
45029         (__libc_pwrite64): Don't use CHECK_N.
45030         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
45031         (do_pread): Don't use CHECK_N.
45032         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
45033         (do_pread64): Don't use CHECK_N.
45034         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
45035         (do_pwrite): Don't use CHECK_N.
45036         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
45037         (do_pwrite64): Don't use CHECK_N.
45038         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
45039         (__libc_readv): Don't use CHECK_N.
45040         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
45041         (semop): Don't use CHECK_N.
45042         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
45043         <bp-checks.h>.
45044         (semtimedop): Don't use CHECK_N.
45045         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
45046         (__libc_pread): Don't use CHECK_N.
45047         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
45048         <bp-checks.h>.
45049         (__libc_pread64): Don't use CHECK_N.
45050         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
45051         <bp-checks.h>.
45052         (__libc_pwrite): Don't use CHECK_N.
45053         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
45054         <bp-checks.h>.
45055         (__libc_pwrite64): Don't use CHECK_N.
45056         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
45057         <bp-checks.h>.
45058         (__libc_msgrcv): Don't use CHECK_N.
45059         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
45060         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
45061         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
45062         (__libc_writev): Don't use CHECK_N.
45064 2013-02-08  Roland McGrath  <roland@hack.frob.com>
45066         * string/strcpy.c: Removed unused variable.
45068         * Makeconfig (+sysdep-includes): Define with := rather than =.
45069         Use an existing include/ subdir of each sysdeps dir before it.
45071 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45073         * nscd/connection.c (register_traced_file): Comment function.
45074         [HAVE_INOTIFY] (union __inev): Define.
45075         [HAVE_INOTIFY] (inotify_check_files): New function.
45076         [HAVE_INOTIFY] (clear_db_cache): Likewise.
45077         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
45078         clear_db_cache.
45079         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
45081 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45083         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
45084         loaded if not already and that a failure is permanent.
45086 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
45088         [BZ #15006]
45089         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
45090         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
45092 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
45094         [BZ #13550]
45095         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
45096         (CHECK_1_NULL_OK): Likewise.
45097         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
45098         (__fxstat): Do not use CHECK_1.
45099         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
45100         <bp-checks.h>.
45101         (___fxstat64): Do not use CHECK_1.
45102         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
45103         <bp-checks.h>.
45104         (__fxstatat): Do not use CHECK_1.
45105         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
45106         <bp-checks.h>.
45107         (__fxstatat64): Do not use CHECK_1.
45108         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
45109         <bp-checks.h>.
45110         (__fxstat): Do not use CHECK_1.
45111         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
45112         <bp-checks.h>.
45113         (__fxstatat): Do not use CHECK_1.
45114         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45115         <bp-checks.h>.
45116         (__getresgid): Do not use CHECK_1.
45117         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45118         <bp-checks.h>.
45119         (__getresuid): Do not use CHECK_1.
45120         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
45121         <bp-checks.h>.
45122         (__lxstat): Do not use CHECK_1.
45123         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45124         <bp-checks.h>.
45125         (__old_msgctl): Do not use CHECK_1.
45126         (__new_msgctl): Likewise.
45127         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
45128         <bp-checks.h>.
45129         (__new_setrlimit): Do not use CHECK_1.
45130         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45131         <bp-checks.h>.
45132         (__old_shmctl): Do not use CHECK_1.
45133         (__new_shmctl): Likewise.
45134         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
45135         <bp-checks.h>.
45136         (__xstat): Do not use CHECK_1.
45137         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
45138         (__lxstat): Do not use CHECK_1.
45139         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
45140         <bp-checks.h>.
45141         (___lxstat64): Do not use CHECK_1.
45142         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
45143         (__old_msgctl): Do not use CHECK_1.
45144         (__new_msgctl): Likewise.
45145         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
45146         <bp-checks.h>.
45147         (__gettimeofday): Do not use CHECK_1.
45148         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
45149         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
45150         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
45151         <bp-checks.h>.
45152         (__gettimeofday): Do not use CHECK_1.
45153         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
45154         (__old_shmctl): Do not use CHECK_1_NULL_OK.
45155         (__new_shmctl): Do not use CHECK_1.
45156         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
45157         <bp-checks.h>.
45158         (do_sigtimedwait): Do not use CHECK_1.
45159         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
45160         <bp-checks.h>.
45161         (do_sigwaitinfo): Do not use CHECK_1.
45162         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
45163         <bp-checks.h>.
45164         (msgctl): Do not use CHECK_1.
45165         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
45166         <bp-checks.h>.
45167         (shmctl): Do not use CHECK_1.
45168         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
45169         (ustat): Do not use CHECK_1.
45170         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
45171         <bp-checks.h>.
45172         (__fxstat): Do not use CHECK_1.
45173         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
45174         <bp-checks.h>.
45175         (__fxstatat): Do not use CHECK_1.
45176         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
45177         <bp-checks.h>.
45178         (__lxstat): Do not use CHECK_1.
45179         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
45180         <bp-checks.h>.
45181         (__xstat): Do not use CHECK_1.
45182         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
45183         (__xstat): Do not use CHECK_1.
45184         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
45185         (___xstat64): Do not use CHECK_1.
45187         [BZ #13550]
45188         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
45189         definitions.
45190         (CHECK_BOUNDS_HIGH): Likewise.
45191         * string/strcpy.c: Do not include <bp-checks.h>.
45192         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
45194 2013-02-07  Roland McGrath  <roland@hack.frob.com>
45196         * nscd/nscd-client.h (__nscd_drop_map_ref):
45197         Add __attribute__ ((unused)).
45198         * nis/nss-nisplus.h (niserr2nss): Likewise.
45200         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
45201         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
45203         * csu/libc-tls.c (init_static_tls, init_slotinfo):
45204         Remove inline keyword.
45205         * include/rounding-mode.h (round_away): Likewise.
45206         * libio/wfileops.c (adjust_wide_data): Likewise.
45207         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
45208         (__m128i_strloadu_tolower): Likewise.
45209         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
45210         (__m128i_strloadu_tolower): Likewise.
45211         * time/mktime.c (ydhms_diff): Likewise.
45212         * locale/elem-hash.h (elem_hash): Likewise.
45213         * locale/setlocale.c (setdata): Likewise.
45214         * posix/regex_internal.h (re_string_char_size_at): Likewise.
45215         (re_string_wchar_at): Likewise.
45216         (bitset_not, bitset_merge, bitset_mask): Likewise.
45217         [!(__GNUC__ > 3)] (inline): Remove macro.
45218         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
45219         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
45220         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
45221         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
45222         * string/memcmp.c (memcmp_bytes): Likewise.
45223         * locale/programs/locarchive.c (compute_hashval): Likewise.
45224         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
45225         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
45226         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
45227         * nss/getent.c (print_rpc, print_protocols): Likewise.
45228         (print_passwd, print_group, print_aliases): Likewise.
45229         * nis/nss-nisplus.h (niserr2nss): Likewise.
45230         * nscd/connections.c (restart_p): Likewise.
45231         Change return type to bool.
45233 2013-02-05  Roland McGrath  <roland@hack.frob.com>
45235         * Makeconfig (all-Depend-files): Add existing
45236         $(sorted-subdirs:=/Depend) files.
45237         (all-subdirs): Remove nss.
45238         * sysdeps/unix/inet/Subdirs: Add it here instead.
45239         * hesiod/Depend: New file.
45241         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
45242         instead of calling alloca.
45244         * io/lseek.c (__lseek): Rename to __libc_lseek.
45245         Define __lseek as an alias.
45247         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
45249 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
45251         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
45252         else clause and remove check for non-standard endianness.
45254 2013-02-04  David S. Miller  <davem@davemloft.net>
45256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45258 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
45260         [BZ #13550]
45261         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
45262         (__ubp_memchr): Remove prototype.
45263         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
45264         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45265         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
45266         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
45267         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
45268         Remove alias.
45269         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
45270         (__ubp_memchr): Likewise.
45271         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
45272         (__ubp_memchr): Likewise.
45273         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
45274         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
45275         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
45276         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
45277         CHECK_STRING.
45278         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
45279         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
45280         (__getcwd): Do not use CHECK_STRING.
45281         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45282         <bp-checks.h>.
45283         (__real_chown): Do not use CHECK_STRING.
45284         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
45285         <bp-checks.h>.
45286         (fchownat): Do not use CHECK_STRING.
45287         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
45288         CHECK_STRING.
45289         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45290         <bp-checks.h>.
45291         (__lchown): Do not use CHECK_STRING.
45292         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
45293         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
45294         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
45295         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
45296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45297         include <bp-checks.h>.
45298         (truncate64): Do not use CHECK_STRING.
45299         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45300         <bp-checks.h>.
45301         (__real_chown): Do not use CHECK_STRING.
45302         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45303         <bp-checks.h>.
45304         (__lchown): Do not use CHECK_STRING.
45305         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45306         <bp-checks.h>.
45307         (__chown): Do not use CHECK_STRING.
45308         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
45309         <bp-checks.h>.
45310         (truncate64): Do not use CHECK_STRING.
45311         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
45312         Likewise.
45313         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
45314         (__xmknod): Do not use CHECK_STRING.
45315         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
45316         <bp-checks.h>.
45317         (__xmknodat): Do not use CHECK_STRING.
45318         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
45319         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
45321 2013-02-04  Andreas Schwab  <schwab@suse.de>
45323         [BZ #14142]
45324         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
45325         * include/netdb.h: Likewise for h_errno.
45326         * elf/tst-stackguard1.c: Include <tls.h>.
45328 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
45330         * elf/link.h (struct link_map): Extend the l_addr comment.
45331         * include/link.h (struct link_map): Likewise.
45333 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
45335         [BZ #13550]
45336         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
45337         (BOUNDED_1): Remove macro.
45338         * debug/backtrace.c: Don't include <bp-checks.h>.
45339         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
45340         (__backtrace): Likewise.
45341         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
45342         <bp-checks.h>.
45343         (__backtrace): Don't use BOUNDED_1.
45344         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
45345         <bp-checks.h>.
45346         (__backtrace): Don't use BOUNDED_1.
45347         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
45348         (__backtrace): Don't use BOUNDED_1.
45349         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
45350         (shmat): Don't use BOUNDED_N.
45352 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
45354         [BZ #13550]
45355         * sysdeps/generic/bp-start.h: Remove file.
45356         * csu/libc-start.c: Don't include <bp-start.h>.
45357         (LIBC_START_MAIN): Set up __environ directly instead of using
45358         INIT_ARGV_and_ENVIRON.
45359         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
45360         <bp-start.h>.
45362         [BZ #13550]
45363         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
45364         definitions.
45365         (CHECK_FCNTL): Likewise.
45366         (CHECK_N_PAGES): Likewise.
45368         [BZ #13550]
45369         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
45370         definitions.
45371         (CHECK_SIGSET_NULL_OK): Likewise.
45372         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
45373         <bp-checks.h>.
45374         (sigpending): Don't use CHECK_SIGSET.
45375         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
45376         <bp-checks.h>.
45377         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45378         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
45379         <bp-checks.h>.
45380         (do_sigsuspend): Don't use CHECK_SIGSET.
45381         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
45382         use CHECK_SIGSET.
45383         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
45384         (do_sigwait): Don't use CHECK_SIGSET.
45385         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
45386         use CHECK_SIGSET.
45387         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
45388         include <bp-checks.h>.
45389         (sigpending): Don't use CHECK_SIGSET.
45390         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
45391         include <bp-checks.h>.
45392         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45393         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
45394         <bp-checks.h>.
45395         (sigpending): Don't use CHECK_SIGSET.
45396         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
45397         <bp-checks.h>.
45398         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
45400         [BZ #13550]
45401         * sysdeps/generic/bp-semctl.h: Remove file.
45402         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
45403         <bp-checks.h> and <bp-semctl.h>.
45404         (__old_semctl): Don't use CHECK_SEMCTL.
45405         (__new_semctl): Likewise.
45406         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
45407         and <bp-semctl.h>.
45408         (__old_semctl): Don't use CHECK_SEMCTL.
45409         (__new_semctl): Likewise.
45410         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
45411         <bp-checks.h> and <bp-semctl.h>.
45412         (__old_semctl): Don't use CHECK_SEMCTL.
45413         (__new_semctl): Likewise.
45414         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
45415         <bp-checks.h> and <bp-semctl.h>.
45416         (semctl): Don't use CHECK_SEMCTL.
45418         [BZ #13550]
45419         * Makerules (elide-bp-thunks): Remove variable.
45420         (elide-routines.oS): Don't use $(elide-bp-thunks).
45421         (elide-routines.os): Likewise.
45422         (elide-routines.o): Likewise.
45423         (elide-routines.op): Likewise.
45424         (elide-routines.og): Likewise.
45425         (objects): Don't use $(bp-thunks).
45426         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
45427         include.
45428         (common-generated): Do not add s-proto-bp.d.
45429         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
45430         (int): Likewise.
45431         (typ): Likewise.
45432         Do not generate makefile rules for bounded-pointer thunks.
45433         * sysdeps/generic/bp-thunks.h: Remove file.
45434         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
45435         * sysdeps/unix/s-proto-bp.S: Likewise.
45437         [BZ #15062]
45438         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
45439         parts of result separately when argument is not close to line from
45440         -i to i and one part of argument is small.
45441         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45442         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45443         * math/libm-test.inc (cacos_test): Add more tests.
45444         (casin_test): Likewise.
45445         (casinh_test): Likewise.
45446         * sysdeps/i386/fpu/libm-test-ulps: Update.
45447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45449 2013-01-31  David S. Miller  <davem@davemloft.net>
45451         * po/de.po: Update from translation team.
45453 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
45455         * time/tzfile.c: Include stdint.h for SIZE_MAX.
45457 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
45459         * configure.in (_AC_PROG_CC_C89): New definition.
45460         * configure: Regenerate.
45462         * configure.in (AC_PROG_CPP): New definition.
45463         * configure: Regenerate.
45465 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45467         * debug/tst-backtrace.h: New file.
45468         * debug/tst-backtrace2.c: Include tst-backtrace.h.
45469         (ret): Remove variable.
45470         (x): Likewise.
45471         (FAIL): Remove macro.
45472         (NO_INLINE): Likewise.
45473         (fn1): Use match function instead of strstr.
45474         * debug/tst-backtrace3.c: Include tst-backtrace.h.
45475         (ret): Remove variable.
45476         (x): Likewise.
45477         (FAIL): Remove macro.
45478         (NO_INLINE): Likewise.
45479         (fn): Use match function instead of strstr.
45480         * debug/tst-backtrace4.c: Include tst-backtrace.h.
45481         (ret): Remove variable.
45482         (x): Likewise.
45483         (FAIL): Remove macro.
45484         (NO_INLINE): Likewise.
45485         (handle_signal): Use match function instead of strstr.
45486         * debug/tst-backtrace5.c: Include tst-backtrace.h.
45487         (ret): Remove variable.
45488         (x): Likewise.
45489         (FAIL): Remove macro.
45490         (NO_INLINE): Likewise.
45491         (handle_signal): Use match function instead of strstr.
45493 2013-01-23  Roland McGrath  <roland@hack.frob.com>
45495         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
45497 2013-01-23  David S. Miller  <davem@davemloft.net>
45499         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
45500         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
45501         argument of CAS if possible.
45502         * sysdeps/sparc/sparc64/bits/atomic.h
45503         (__arch_compare_and_exchange_val_32_acq): Likewise.
45504         (__arch_compare_and_exchange_val_64_acq): Likewise.
45506 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
45508         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
45509         * sysdeps/posix/ulimit.c: ... this.
45510         Include <limits.h>.
45511         * sysdeps/unix/bsd/ulimit.c: Remove file.
45513 2013-01-23  Adam Conrad  <adconrad@0c3.net>
45515         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
45516         (LDFLAGS-tst-array5): Likewise.
45518 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
45520         [BZ #15036]
45521         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
45522         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
45523         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
45524         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
45526 2013-01-21  David S. Miller  <davem@davemloft.net>
45528         * sysdeps/sparc/backtrace.c: New file.
45529         * sysdeps/sparc/sparc32/backtrace.h: New file.
45530         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
45531         * sysdeps/sparc/sparc64/backtrace.h: New file.
45532         * sysdeps/sparc/sparc64/backtrace.c: Delete.
45533         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
45534         -funwind-tables.
45536 2013-01-21  Andreas Schwab  <schwab@suse.de>
45538         [BZ #15020]
45539         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
45540         closed its stdout.
45542 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
45544         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
45545         "mpa2.h".
45546         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45548 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
45549             Mark Mitchell  <mark@codesourcery.com>
45550             Tom de Vries  <tom@codesourcery.com>
45551             Paul Pluzhnikov  <ppluzhnikov@google.com>
45553         * debug/tst-backtrace2.c: New file.
45554         * debug/tst-backtrace3.c: Likewise.
45555         * debug/tst-backtrace4.c: Likewise.
45556         * debug/tst-backtrace5.c: Likewise.
45557         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
45558         (CFLAGS-tst-backtrace3.c): Likewise.
45559         (CFLAGS-tst-backtrace4.c): Likewise.
45560         (CFLAGS-tst-backtrace5.c): Likewise.
45561         (LDFLAGS-tst-backtrace2): Likewise.
45562         (LDFLAGS-tst-backtrace3): Likewise.
45563         (LDFLAGS-tst-backtrace4): Likewise.
45564         (LDFLAGS-tst-backtrace5): Likewise.
45565         (tests): Add new tests tst-backtrace2, tst-backtrace3,
45566         tst-backtrace4 and tst-backtrace5.
45568 2013-01-18  Anton Blanchard  <anton@samba.org>
45569             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45571         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
45572         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
45573         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
45574         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
45575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
45576         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
45577         "+r" and remove output regs list as redundant.  Add explicit inline
45578         asm to specify register of return val to work around compiler codegen
45579         bug.  Remove (int) cast on return value.  Add return type parameter to
45580         use in macro so that this macro does not truncate return value for
45581         64-bit values.
45582         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
45583         pass to INTERNAL_VSYSCALL_NCS.
45584         (INLINE_VSYSCALL): Add 'long int' as return type to
45585         INTERNAL_VSYSCALL_NCS macro invocation.
45586         (INTERNAL_VSYSCALL): Add 'long int' as return type to
45587         INTERNAL_VSYSCALL_NCS macro invocation.
45588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45590 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45592         [BZ #14496]
45593         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
45594         Fix application of SIMD FP exception mask.
45596         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
45597         mp_no from a power of two.
45598         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
45599         __mpexp_twomm1.  Use __pow_mp.
45601         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
45602         multiplication.
45604 2013-01-17  David S. Miller  <davem@davemloft.net>
45606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45608 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
45610         [BZ #15023]
45611         * include/complex.h: Condition contents on [!_COMPLEX_H].
45612         (__kernel_casinhf): New prototype.
45613         (__kernel_casinh): Likewise.
45614         (__kernel_casinhl): Likewise.
45615         * math/Makefile (libm_calls): Add k_casinh.
45616         * math/k_casinh.c: New file.
45617         * math/k_casinhf.c: Likewise.
45618         * math/k_casinhl.c: Likewise.
45619         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
45620         finite nonzero arguments.
45621         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
45622         finite nonzero arguments.
45623         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
45624         finite nonzero arguments.
45625         * math/s_casinh.c: Do not include <float.h>.
45626         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
45627         * math/s_casinhf.c: Do not include <float.h>.
45628         (__casinhf): Move code for finite nonzero arguments to
45629         k_casinhf.c.
45630         * math/s_casinhl.c: Do not include <float.h>.
45631         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
45632         redefine.
45633         (__casinhl): Move code for finite nonzero arguments to
45634         k_casinhl.c.
45635         * math/libm-test.inc (cacos_test): Add more tests.
45636         * sysdeps/i386/fpu/libm-test-ulps: Update.
45637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45639 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
45641         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
45642         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
45643         [!HAVE_MREMAP]: Remove [defined linux] case.
45644         * malloc/arena.c: Do not include <malloc-sysdep.h>.
45646 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45648         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
45650 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
45652         * elf/elf.h (R_386_SIZE32): New relocation.
45653         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
45654         R_386_SIZE32.
45655         (elf_machine_rela): Likewise.
45656         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45657         R_X86_64_SIZE64 and R_X86_64_SIZE32.
45659 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
45661         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
45662         (FP_FAST_FMA): Do not define.
45663         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
45664         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
45665         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
45666         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
45667         !_SOFT_FLOAT]: Likewise.
45668         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
45669         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
45670         value.
45671         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
45672         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
45673         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
45674         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
45675         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
45676         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
45677         file.
45679 2013-01-16  Andreas Schwab  <schwab@suse.de>
45681         [BZ #14327]
45682         * include/stdlib.h (__mktemp): Add declaration.
45683         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
45684         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
45686 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45688         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
45689         definitions.
45690         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
45691         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
45692         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
45693         definitions here.
45694         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
45695         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
45696         definitions.
45697         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
45698         and ONE.
45699         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
45700         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
45701         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
45702         definitions.
45703         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
45704         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
45705         definitions.
45706         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
45708         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
45710 2013-01-15  David S. Miller  <davem@davemloft.net>
45712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45713         trunc{,f} to libm-sysdep_routes.
45714         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
45716         file.
45717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
45718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
45719         file.
45720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
45721         file.
45722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
45723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
45724         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
45725         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
45726         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
45727         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
45728         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
45729         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
45731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45732         nearbyint{,f} to libm-sysdep_routes.
45733         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
45735         New file.
45736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
45737         file.
45738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
45739         New file.
45740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
45741         file.
45742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
45743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
45744         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
45745         file.
45746         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
45747         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
45748         file.
45749         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
45750         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
45751         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
45753         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45754         libc_feholdexcept and libc_fesetenv.
45756 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
45758         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
45760 2013-01-14  David S. Miller  <davem@davemloft.net>
45762         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
45763         (SPARC_ASM_VIS2_IFUNC): Likewise.
45764         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
45765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
45766         use of 'siam' instruction.
45767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
45768         Likewise.
45769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
45770         Likewise.
45771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
45772         Likewise.
45773         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
45774         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
45775         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
45776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
45777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
45778         file.
45779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
45780         file.
45781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
45782         file.
45783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
45784         file.
45785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
45786         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
45787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
45788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
45789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
45790         new VIS2 routines.
45791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45794         Likewise.
45795         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45796         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45798         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
45800         routines to libm-sysdep_routines.
45801         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
45803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
45804         fdim/fdimf to libm-sysdep_routines.
45805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
45806         file.
45807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
45808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
45809         file.
45810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
45811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
45812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
45813         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
45814         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
45815         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
45816         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
45818 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
45820         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
45821         to optimize copies.
45823         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
45824         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
45825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
45827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
45828         local variable MPTWO.
45829         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45830         Likewise.
45832 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45834         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
45835         GLOB_NOESCAPE.
45837 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45839         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
45841 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
45843         * manual/pattern.texi (glob_t): Document gl_flags.
45844         (glob64_t): Likewise.
45846 2013-01-11  David S. Miller  <davem@davemloft.net>
45848         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
45849         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
45850         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
45851         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
45852         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
45853         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
45854         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
45855         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
45856         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
45857         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
45858         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
45859         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
45860         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
45862         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
45863         sparc V9 rather than using V8 code.
45864         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
45865         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
45867         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45868         Move to...
45869         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
45870         Here.
45872 2013-01-11  Roland McGrath  <roland@hack.frob.com>
45874         [BZ #14941]
45875         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
45876         not in the main loop.
45877         * configure: Regenerated.
45879 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
45881         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
45882         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
45883         to just #else.
45884         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
45885         [!__GLIBC_HAVE_LONG_LONG] case.
45886         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
45887         condition to just #else.
45888         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
45889         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
45890         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
45891         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
45892         unconditional.
45893         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
45894         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45895         #elif condition to just #else.
45896         * sysdeps/unix/sysv/linux/sys/sysmacros.h
45897         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
45898         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
45899         #elif condition to just #else.
45901 2013-01-11  Steve Ellcey  <sellcey@mips.com>
45903         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
45904         (EF_MIPS_ARCH_64): Fix value.
45905         (EF_MIPS_ARCH_32R2): New.
45906         (EF_MIPS_ARCH_64R2): New.
45908 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
45910         * Makeconfig (+link-pie-before-libc): New.
45911         (+link-pie-after-libc): Likewise.
45912         (+link-pie-tests): Likewise.
45913         (+link-pie): Rewritten.
45914         (link-before-libc): Remove $(config-LDFLAGS).
45915         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
45916         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
45917         (config-LDFLAGS): Renamed to ...
45918         (rtld-LDFLAGS): This.
45919         (rtld-tests-LDFLAGS): New macro.
45920         (link-libc-rpath-link): Likewise.
45921         (link-libc-tests-rpath-link): Likewise.
45922         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
45923         (link-libc): Prepand $(link-libc-rpath-link).
45924         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
45925         (test-program-prefix): New macro.
45926         (test-via-rtld-prefix): Likewise.
45927         (test-program-cmd): Likewise.
45928         (host-test-program-cmd): Likewise.
45929         * Makefile ($(common-objpfx)testrun.sh): Replace
45930         $(run-program-prefix) with $(test-program-prefix).
45931         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
45932         $(rtld-LDFLAGS).
45933         ($(common-objpfx)shlib.lds): Likewise.
45934         (build-module-helper): Likewise.
45935         ($(common-objpfx)format.lds): Likewise.
45936         * Rules (binaries-pie-tests): New.
45937         (binaries-pie-notests): Likewise.
45938         (binaries-pie): Rewritten.
45939         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
45940         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
45941         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
45942         (make-test-out): Replace $(host-built-program-cmd) with
45943         $(host-test-program-cmd).
45944         * config.make.in (build-hardcoded-path-in-tests): New variable.
45945         * configure.in (--enable-hardcoded-path-in-tests): New configure
45946         option.
45947         (hardcoded_path_in_tests): New AC_SUBST.
45948         * configure: Regenerated.
45949         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
45950         $(built-program-cmd) with $(test-program-cmd).
45951         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
45952         (test_program_cmd): This.
45953         * elf/Makefile ($(objpfx)order.out): Run test with
45954         $(test-program-prefix).
45955         ($(objpfx)order2.out): Likewise.
45956         ($(objpfx)tst-initorder.out): Likewise.
45957         ($(objpfx)tst-initorder2.out): Likewise.
45958         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
45959         $(test-program-cmd).
45960         ($(objpfx)tst-array1-static.out): Likewise.
45961         ($(objpfx)tst-array2.out): Likewise.
45962         ($(objpfx)tst-array3.out): Likewise.
45963         ($(objpfx)tst-array4.out): Likewise.
45964         ($(objpfx)tst-array5.out): Likewise.
45965         ($(objpfx)tst-array5-static.out): Likewise.
45966         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
45967         $(test-program-cmd).
45968         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
45969         $(run-program-prefix) with $(test-program-prefix).
45970         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
45971         (test_program_prefix): This.
45972         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
45973         $(run-program-prefix) with $(test-program-prefix).
45974         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
45975         (test_program_prefix): This.
45976         * iconvdata/tst-tables.sh: Likewise.
45977         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
45978         $(run-program-prefix) with $(test-program-prefix).
45979         ($(objpfx)tst-translit.out): Likewise.
45980         ($(objpfx)tst-gettext2.out): Likewise.
45981         ($(objpfx)tst-gettext4.out): Likewise.
45982         ($(objpfx)tst-gettext6.out): Likewise.
45983         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
45984         (test_program_prefix): This.
45985         * intl/tst-gettext2.sh: Likewise.
45986         * intl/tst-gettext4.sh  Likewise.
45987         * intl/tst-gettext6.sh: Likewise.
45988         * intl/tst-translit.sh: Likewise.
45989         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
45990         with $(test-program-cmd).
45991         * libio/Makefile ($(objpfx)test-freopen.out): Replace
45992         $(run-program-prefix) with $(test-program-prefix).
45993         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
45994         (test_program_prefix): This.
45995         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
45996         $(run-program-prefix) with $(test-program-prefix).
45997         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
45998         (test_program_prefix): This.
45999         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
46000         * posix/Makefile ($(objpfx)globtest.out): Replace
46001         $(run-via-rtld-prefix) and $(test-wrapper) with
46002         $(test-program-prefix) and $(test-via-rtld-prefix).
46003         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
46004         $(test-program-prefix).
46005         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
46006         $(host-test-program-cmd).
46007         (tst-spawn-ARGS): Likewise.
46008         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
46009         $(test-program-prefix).
46010         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
46011         (test_via_rtld_prefix): This.
46012         (test_wrapper): Renamed to ...
46013         (test_program_prefix): This.
46014         (run_program_prefix): Replaced by test_program_prefix.
46015         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
46016         (test_program_prefix): This.
46017         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
46018         with $(host-test-program-cmd).
46019         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
46020         $(run-program-prefix) with $(test-program-prefix).
46021         ($(objpfx)tst-printf.out): Likewise.
46022         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
46023         $(test-program-cmd).
46024         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
46025         (test_program_prefix): This.
46026         * stdio-common/tst-unbputc.sh: Likewise.
46027         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
46028         $(run-program-prefix) with $(test-program-prefix).
46029         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
46030         (test_program_prefix): This.
46031         * string/Makefile ($(objpfx)tst-svc.out):  Replace
46032         $(built-program-cmd) with $(test-program-cmd).
46034 2013-01-11  Andreas Jaeger  <aj@suse.de>
46036         [BZ #15003]
46037         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
46038         value. Sync with Linux 3.7.
46040 2013-01-10  David S. Miller  <davem@davemloft.net>
46042         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
46043         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46044         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46046 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46048         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
46049         never set.
46050         * configure: Regenerated.
46052 2013-01-10  David S. Miller  <davem@davemloft.net>
46054         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
46055         sparc V9 rather than using V8 code.
46056         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
46057         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
46059 2013-01-10  Roland McGrath  <roland@hack.frob.com>
46061         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
46062         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
46063         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
46064         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
46065         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
46066         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
46067         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
46068         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
46069         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
46070         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
46071         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
46072         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
46073         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
46074         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
46075         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
46076         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
46077         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
46078         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
46079         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
46080         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
46081         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
46082         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
46083         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
46084         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
46085         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
46086         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
46087         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
46089 2013-01-10  David S. Miller  <davem@davemloft.net>
46091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46093 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46095         * posix/Makefile (tests-static): New variable.
46096         (tests): Add $(tests-static).
46097         (tst-exec-static-ARGS): New variable.
46098         (tst-spawn-static-ARGS): Likewise.
46099         * posix/tst-exec-static.c: New file.
46100         * posix/tst-spawn-static.c: Likewise.
46101         * posix/tst-exec.c: Support run directly.
46102         * posix/tst-spawn.c: Likewise.
46104 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
46106         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
46107         long.
46108         * math/bits/mathcalls.h (llrint): Likewise.
46109         (llround): Likewise.
46110         * stdlib/stdlib.h (struct drand48_data): Likewise.
46111         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
46112         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
46113         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
46114         Likewise.
46115         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
46116         Likewise.
46117         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
46118         (elf_greg_t): Likewise.
46119         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
46120         (__jmp_buf): Likewise.
46121         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
46122         definitions.
46123         (llrint): Likewise, for all definitions.
46124         (llrintl): Likewise.
46126         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
46127         Remove [__GNUC__] condition.
46128         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
46129         condition to just [__USE_ISOC99].
46130         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
46132 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
46134         [BZ #14200]
46135         * sysdeps/unix/sysv/linux/x86/bits/environments.h
46136         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
46137         defined.
46138         (_POSIX_V6_ILP32_OFF32): Likewise.
46139         (_XBS5_ILP32_OFF32): Likewise.
46140         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
46141         (__ILP32_OFFBIG_LDFLAGS): Likewise.
46143 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46145         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
46147         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
46148         doubles __mpexp_twomm1.  Adjust usage.
46149         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
46150         Remove.
46152 2013-01-10  Andreas Schwab  <schwab@suse.de>
46154         [BZ #14964]
46155         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
46156         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
46158 2013-01-09  David S. Miller  <davem@davemloft.net>
46160         [BZ #15003]
46161         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
46162         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
46163         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
46164         (TCP_FASTOPEN): Define.
46165         (tcp_repair_opt): New structure.
46166         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
46167         enum values.
46168         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
46169         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
46170         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
46171         (tcp_cookie_transactions): New structure.
46173 2013-01-09  Anton Blanchard  <anton@samba.org>
46175         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
46176         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
46177         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
46178         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
46180 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
46182         * include/features.h (__USE_ANSI): Remove.
46184 2013-01-09  Roland McGrath  <roland@hack.frob.com>
46186         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
46188         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
46190 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46192         * sysdeps/s390/fpu/libm-test-ulps: Update.
46194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46196         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
46197         (__acr): Likewise.
46198         (__cpy): Likewise.
46199         (norm): Likewise.
46200         (denorm): Likewise.
46201         (__mp_dbl): Likewise.
46202         (__dbl_mp): Likewise.
46203         (add_magnitudes): Likewise.
46204         (sub_magnitudes): Likewise.
46205         (__add): Likewise.
46206         (__sub): Likewise.
46207         (__mul): Likewise.
46208         (__inv): Likewise.
46209         (__dvd): Likewise.
46210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
46211         (__acr): Likewise.
46212         (__cpy): Likewise.
46213         (norm): Likewise.
46214         (denorm): Likewise.
46215         (__mp_dbl): Likewise.
46216         (__dbl_mp): Likewise.
46217         (add_magnitudes): Likewise.
46218         (sub_magnitudes): Likewise.
46219         (__add): Likewise.
46220         (__sub): Likewise.
46221         (__mul): Likewise.
46222         (__inv): Likewise.
46223         (__dvd): Likewise.
46224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46225         (__acr): Likewise.
46226         (__cpy): Likewise.
46227         (norm): Likewise.
46228         (denorm): Likewise.
46229         (__mp_dbl): Likewise.
46230         (__dbl_mp): Likewise.
46231         (add_magnitudes): Likewise.
46232         (sub_magnitudes): Likewise.
46233         (__add): Likewise.
46234         (__sub): Likewise.
46235         (__mul): Likewise.
46236         (__inv): Likewise.
46237         (__dvd): Likewise.
46239 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
46241         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
46242         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
46243         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
46244         2 && __USE_EXTERN_INLINES]: Likewise.
46246 2013-01-08  Andreas Jaeger  <aj@suse.de>
46248         [BZ# 14985]
46249         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
46250         Remove.
46251         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46252         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
46254 2013-01-07  Anton Blanchard  <anton@samba.org>
46256         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
46257         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
46258         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
46259         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
46260         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46261         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46262         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
46263         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46264         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46265         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46266         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46267         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46268         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46269         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46270         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46271         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46272         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46273         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46274         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46275         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46276         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46277         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
46278         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46279         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46280         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
46281         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46282         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
46283         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
46284         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
46285         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46286         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46288         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46289         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46290         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46291         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46292         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46293         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46294         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
46295         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
46296         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
46297         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46298         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46300 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
46302         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
46303         (__MALLOC_PMT): Likewise.
46304         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
46305         [__GNUC__], only on [_LIBC].
46306         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46307         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
46308         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
46309         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
46310         forward declaration.
46311         (realloc_hook_ini): Likewise.
46312         (memalign_hook_ini): Likewise.
46313         (__libc_memalign): Do not use __MALLOC_PMT in variable
46314         declaration.
46315         (__libc_valloc): Likewise.
46316         (__libc_pvalloc): Likewise.
46317         (__libc_calloc): Likewise.
46318         (__posix_memalign): Likewise.
46320         [BZ #14996]
46321         * math/s_casinh.c: Include <float.h>.
46322         (__casinh): Do not do computation with squaring and square root
46323         for large arguments.
46324         * math/s_casinhf.c: Include <float.h>.
46325         (__casinhf): Do not do computation with squaring and square root
46326         for large arguments.
46327         * math/s_casinhl.c: Include <float.h>.
46328         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
46329         (__casinhl): Do not do computation with squaring and square root
46330         for large arguments.
46331         * math/libm-test.inc (casin_test): Add more tests.
46332         (casinh_test): Likewise.
46333         * sysdeps/i386/fpu/libm-test-ulps: Update.
46334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46336 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
46338         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
46339         (__x86_64_raw_data_cache_size): Likewise.
46340         (__x86_64_data_cache_size_half): Likewise.
46341         (__x86_64_raw_data_cache_size_half): Likewise.
46342         (__x86_64_shared_cache_size): Likewise.
46343         (__x86_64_raw_shared_cache_size): Likewise.
46344         (__x86_64_shared_cache_size_half): Likewise.
46345         (__x86_64_raw_shared_cache_size_half): Likewise.
46346         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
46347         to ...
46348         (__x86_data_cache_size): This.
46349         (__x86_64_raw_data_cache_size): Renamed to ...
46350         (__x86_raw_data_cache_size): This.
46351         (__x86_64_data_cache_size_half): Renamed to ...
46352         (__x86_data_cache_size_half): This.
46353         (__x86_64_raw_data_cache_size_half): Renamed to ...
46354         (__x86_raw_data_cache_size_half): This.
46355         (__x86_64_shared_cache_size): Renamed to ...
46356         (__x86_shared_cache_size): This.
46357         (__x86_64_raw_shared_cache_size): Renamed to ...
46358         (__x86_raw_shared_cache_size): This.
46359         (__x86_64_shared_cache_size_half): Renamed to ...
46360         (__x86_shared_cache_size_half): This.
46361         (__x86_64_raw_shared_cache_size_half): Renamed to ...
46362         (__x86_raw_shared_cache_size_half): This.
46363         * sysdeps/x86_64/memcpy.S: Updated.
46364         * sysdeps/x86_64/memset.S: Likewise.
46365         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46366         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46367         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46369 2013-01-04  David S. Miller  <davem@davemloft.net>
46371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46373 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
46375         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
46376         1 to avoid redefinition warning.
46377         (__USE_GNU): Don't define.
46378         (init_signaling_nan): Protoize.
46380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46382 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46384         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
46385         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
46386         (__cpymn): Likewise.
46387         (norm): Remove commented code.
46388         (denorm): Likewise.
46389         (__mp_dbl): Likewise.
46390         (__inv): Likewise.
46391         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
46392         (__cpymn): Likewise.
46393         (norm): Remove commented code.
46394         (denorm): Likewise.
46395         (__mp_dbl): Likewise.
46396         (__inv): Likewise.
46398         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
46399         mp_no value for 1.0 and 2.0.
46400         (norm): Use RADIXI instead of radixi.d.
46401         (denorm): Likewise.
46402         (__mul): Use 0.0 instead of zero.d.
46403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
46404         mp_no value for 1.0 and 2.0.
46405         (norm): Use RADIXI instead of radixi.d.
46406         (denorm): Likewise.
46407         (__mul): Use 0.0 instead of zero.d.
46409 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
46411         [BZ #14994]
46412         * math/s_casinh.c (__casinh): Reduce finite argument to first
46413         quadrant then set signs of results at the end.
46414         * math/s_casinhf.c (__casinhf): Likewise.
46415         * math/s_casinhl.c (__casinhl): Likewise.
46416         * math/libm-test.inc (casin_test): Add more tests.
46417         (casinh_test): Likewise.
46418         * sysdeps/i386/fpu/libm-test-ulps: Update.
46419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46421 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46423         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
46425         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
46427         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
46428         declarations.
46429         (denorm): Likewise.
46430         (__mp_dbl): Likewise.
46431         (__inv): Likewise.
46433         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
46434         and adjust the header comment.
46436         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
46437         variable name from declaration.
46439 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
46441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46442         Initialize COMMON_CPUID_INDEX_7 element.
46443         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
46444         (CPUID_RTM): Likewise.
46445         (HAS_RTM): Likewise.
46446         (COMMON_CPUID_INDEX_7): New enum.
46448 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
46450         [BZ #14981]
46451         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
46452         size is zero, record memory as freed.
46454 2013-01-03  Andreas Jaeger  <aj@suse.de>
46456         * po/ia.po: Add new Interlingua translation.
46458 2012-01-03  Allan McRae  <allan@archlinux.org>
46460         * locale/programs/localedef.c: Fix description of '--posix' flag.
46462 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
46464         * NEWS: Update dates in second copyright notice.
46465         * README: Update copyright dates in example.
46466         * manual/libc.texinfo: Update copyright dates.
46467         * scripts/test-installation.pl: Update copyright date in --version
46468         output.
46470         * hurd/ctty-input.c: Fix copyright notice formatting.
46471         * hurd/ctty-output.c: Likewise.
46472         * hurd/dtable.c: Likewise.
46473         * hurd/hurd-raise.c: Likewise.
46474         * hurd/hurdprio.c: Likewise.
46475         * hurd/msgportdemux.c: Likewise.
46476         * misc/sys/file.h: Likewise.
46477         * misc/sys/ioctl.h: Likewise.
46478         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46479         * sysdeps/mach/hurd/chdir.c: Likewise.
46480         * sysdeps/mach/hurd/fchdir.c: Likewise.
46481         * sysdeps/mach/hurd/rename.c: Likewise.
46482         * sysdeps/mach/hurd/rmdir.c: Likewise.
46483         * sysdeps/mach/hurd/seekdir.c: Likewise.
46484         * sysdeps/mach/hurd/setsid.c: Likewise.
46485         * sysdeps/posix/wait3.c: Likewise.
46487         * All files with FSF copyright notices: Update copyright dates
46488         using scripts/update-copyrights.
46489         * intl/plural.c: Regenerated.
46490         * locale/programs/charmap-kw.h: Likewise.
46491         * locale/programs/locfile-kw.h: Likewise.
46493 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46495         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
46496         four values.
46498         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
46499         calculation loop and add branch prediction.
46501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
46502         check access beyond bounds of m1np.
46504         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46505         MPTWO.
46506         (__inv): Remove local variable MPTWO to use the global
46507         constant.
46508         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
46509         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46510         variable MPTWO.
46511         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
46512         MP3HALFS static const.
46514 2013-01-01  David S. Miller  <davem@davemloft.net>
46516         * po/ca.po: Update from translation team.
46518 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
46520         * scripts/update-copyrights: New file.
46521         * Makeconfig: Reformat copyright notice.
46522         * ctype/ctype.h: Likewise.
46523         * debug/swprintf_chk.c: Likewise.
46524         * elf/dl-cache.c: Likewise.
46525         * elf/dl-debug.c: Likewise.
46526         * elf/dl-object.c: Likewise.
46527         * grp/initgroups.c: Likewise.
46528         * hurd/Makefile: Likewise.
46529         * hurd/hurd/signal.h: Likewise.
46530         * hurd/hurdfault.c: Likewise.
46531         * hurd/hurdioctl.c: Likewise.
46532         * hurd/hurdlookup.c: Likewise.
46533         * hurd/intr-msg.c: Likewise.
46534         * iconv/gconv_open.c: Likewise.
46535         * libio/swprintf.c: Likewise.
46536         * locale/lc-ctype.c: Likewise.
46537         * locale/nl_langinfo.c: Likewise.
46538         * mach/Machrules: Likewise.
46539         * mach/Makefile: Likewise.
46540         * malloc/obstack.h: Likewise.
46541         * manual/Makefile: Likewise.
46542         * manual/tsort.awk: Likewise.
46543         * misc/bits/stab.def: Likewise.
46544         * nis/nis_print_group_entry.c: Likewise.
46545         * nis/nis_table.c: Likewise.
46546         * nis/nss_compat/compat-pwd.c: Likewise.
46547         * nis/nss_compat/compat-spwd.c: Likewise.
46548         * po/Makefile: Likewise.
46549         * posix/fnmatch.c: Likewise.
46550         * posix/regex.h: Likewise.
46551         * resolv/Makefile: Likewise.
46552         * resolv/nss_dns/dns-network.c: Likewise.
46553         * resolv/res_hconf.c: Likewise.
46554         * scripts/gen-sorted.awk: Likewise.
46555         * soft-fp/soft-fp.h: Likewise.
46556         * stdio-common/printf.h: Likewise.
46557         * stdlib/monetary.h: Likewise.
46558         * stdlib/random.c: Likewise.
46559         * stdlib/random_r.c: Likewise.
46560         * sysdeps/generic/Makefile: Likewise.
46561         * sysdeps/gnu/Makefile: Likewise.
46562         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46563         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46564         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46565         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46566         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46567         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46568         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46569         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46570         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46571         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46572         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46573         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46574         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46575         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46576         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
46577         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46578         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46579         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46580         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46581         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46582         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46583         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46584         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46585         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
46586         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
46587         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46588         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46589         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
46590         * sysdeps/mach/hurd/errnos.awk: Likewise.
46591         * sysdeps/mach/hurd/fork.c: Likewise.
46592         * sysdeps/mach/hurd/getcwd.c: Likewise.
46593         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
46594         * sysdeps/mach/hurd/mmap.c: Likewise.
46595         * sysdeps/mach/hurd/utimes.c: Likewise.
46596         * sysdeps/mach/hurd/xmknod.c: Likewise.
46597         * sysdeps/posix/profil.c: Likewise.
46598         * sysdeps/posix/readdir_r.c: Likewise.
46599         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46600         * sysdeps/powerpc/bits/setjmp.h: Likewise.
46601         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
46602         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
46603         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
46604         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46605         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46606         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46607         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46608         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46609         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46610         * sysdeps/pthread/lio_listio.c: Likewise.
46611         * sysdeps/sparc/dl-procinfo.h: Likewise.
46612         * sysdeps/unix/i386/sysdep.S: Likewise.
46613         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
46614         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
46615         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
46616         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
46617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46618         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
46619         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
46620         * sysdeps/unix/sysv/linux/speed.c: Likewise.
46621         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
46622         * sysdeps/wordsize-32/divdi3.c: Likewise.
46623         * time/sys/time.h: Likewise.
46624         * wcsmbs/Makefile: Likewise.
46626 2013-01-01  David S. Miller  <davem@davemloft.net>
46628         * po/fr.po: Update from translation team.
46630         * catgets/gencat.c: Update copyright year.
46631         * csu/version.c: Likewise.
46632         * debug/catchsegv.sh: Likewise.
46633         * debug/pcprofiledump.c: Likewise.
46634         * debug/xtrace.sh: Likewise.
46635         * elf/ldconfig.c: Likewise.
46636         * elf/ldd.bash.in: Likewise.
46637         * elf/pldd.c: Likewise.
46638         * elf/sotruss.ksh: Likewise.
46639         * elf/sprof.c: Likewise.
46640         * iconv/iconv_prog.c: Likewise.
46641         * iconv/iconvconfig.c: Likewise.
46642         * locale/programs/locale.c: Likewise.
46643         * locale/programs/localedef.c: Likewise.
46644         * login/programs/pt_chown.c: Likewise.
46645         * malloc/memusage.sh: Likewise.
46646         * malloc/memusagestat.c: Likewise.
46647         * malloc/mtrace.pl: Likewise.
46648         * nscd/nscd.c: Likewise.
46649         * nss/getent.c: Likewise.
46650         * nss/makedb.c: Likewise.
46651         * posix/getconf.c: Likewise.
46653 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46655         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
46656         numbers.
46658 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
46660         * math/bits/mathcalls.h (modf): Use __nonnull.
46662 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46664         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
46665         (split): Use macro CN instead of the bare value.
46666         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
46667         could be used.
46668         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
46669         instead of the bare value.
46670         (power1): Likewise.
46672 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46674         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
46675         __ATAN_TWOM.
46676         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46678         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
46679         their values.
46680         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
46681         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46682         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
46683         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
46685 2012-12-28  Andreas Jaeger  <aj@suse.de>
46687         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
46688         values are from Linux 3.7.
46690         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
46691         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
46693 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46695         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
46696         TRUE case.
46698         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
46699         (norm): Likewise.
46700         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
46701         variables with preprocessor constants.
46702         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46703         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46704         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46706 2012-12-27  Bruno Haible  <bruno@clisp.org>
46708         [BZ #14317]
46709         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
46710         only if needed.
46712 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46714         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
46715         and use variable directly.
46716         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
46718         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
46719         MPONE.
46720         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
46721         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
46722         variable MPONE.
46723         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
46724         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
46725         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
46726         include directive.  Remove local variable MPONE.
46727         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
46728         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
46729         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46731 2012-12-25  David S. Miller  <davem@davemloft.net>
46733         * version.h (RELEASE): Set to "development".
46734         (VERSION): Set to "2.17.90".
46735         * NEWS: Add 2.18 section.
46737 2012-12-21  David S. Miller  <davem@davemloft.net>
46739         * po/hr.po: Update from translation team.
46741 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46743         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
46745 2012-12-19  Steve Ellcey  <sellcey@mips.com>
46747         * NEWS:  Mention new memcpy for MIPS.
46749 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46751         * manual/contrib.texi (Contributors): Spelling correction.
46753 2012-12-15  David S. Miller  <davem@davemloft.net>
46755         * po/ru.po: Update from translation team.
46757 2012-12-13  David S. Miller  <davem@davemloft.net>
46759         * NEWS: Mention IFUNC testsuite enhancements.
46761         * po/pl.po: Update from translation team.
46762         * po/bg.po: Likewise.
46764         * manual/contrib.texi (Contributors): Update entries for Hongjiu
46765         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
46767 2012-12-11  David S. Miller  <davem@davemloft.net>
46769         * po/sv.po: Update from translation team.
46771         * po/vi.po: Update from translation team.
46773         * po/cs.po: Update from translation team.
46775         * po/de.po: Update from translation team.
46776         * po/eo.po: Likewise.
46777         * po/nl.po: Likewise.
46779 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46781         [BZ #14246]
46782         * manual/argp.texi (Argp Helper Functions): Move node to follow
46783         Argp Parsing State.
46785         [BZ #14872]
46786         * manual/conf.texi (Limits on File System Capacity): Mention if
46787         terminating null is included in the max size.
46789 2012-12-10  Andreas Jaeger  <aj@suse.de>
46791         * po/cs.po: Update from translation team.
46793 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46795         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
46796         void pointer and cast to uintptr_t.
46797         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
46798         path.
46799         * sysdeps/s390/s390-64/memcpy.S: Likewise.
46800         * sysdeps/s390/s390-64/memset.S: Likewise.
46802 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
46804         [BZ #14833]
46805         * menual/message.texi (Message Translation): Fix typos.
46806         (Helper programs for gettext): Likewise.
46808 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
46810         [BZ #14898]
46811         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
46812         Change to -1.
46814 2012-12-07  David S. Miller  <davem@davemloft.net>
46816         * po/libc.pot: Update.
46818 2012-12-07  Richard Henderson  <rth@redhat.com>
46820         [BZ #10114]
46821         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
46822         normal/normal case to before the switch.
46823         (_FP_DIV): Likewise.
46825 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
46826             Mike Frysinger  <vapier@gentoo.org>
46828         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
46829         check for __NR_fadvise64_64.
46831 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
46833         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
46834         0, not just to plain "0" as a statement.
46835         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
46836         with cw.
46838 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
46840         * NEWS: Use sourceware.org in Bugzilla URL.
46842 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
46845         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46847         * stdio-common/tst-put-error.c (do_test): Add newline to the
46848         padded test to ensure flush.
46850 2012-12-05  Jeff Law  <law@redhat.com>
46852         * sunrpc/etc.rpc (fedfs_admin): Add entry.
46854 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
46856         * README: Don't refer to ports add-on as distributed separately.
46857         Mention AArch64 in list of systems supported in the ports add-on.
46859         * LICENSES: Add more non-FSF copyright and license notices.
46861         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
46862         ((unused)).
46864         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
46866         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
46867         10000 as width of padded output.
46869 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46871         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
46873         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
46874         variable LX with __attribute__ ((unused)).
46875         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46876         Likewise.
46877         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46878         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46879         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
46880         with __attribute__ ((unused)).
46882 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
46884         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
46886 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
46888         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
46889         (CFLAGS-nldbl-acos.c): New variable.
46890         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
46891         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
46892         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
46893         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
46894         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
46895         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
46896         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
46897         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
46898         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
46899         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
46900         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
46901         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
46902         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
46903         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
46904         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
46905         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
46906         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
46907         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
46908         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
46909         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
46910         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
46911         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
46912         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
46913         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
46914         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
46915         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
46916         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
46917         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
46918         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
46919         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
46920         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
46921         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
46922         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
46923         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
46924         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
46925         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
46926         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
46927         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
46928         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
46929         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
46930         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
46931         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
46932         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
46933         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
46934         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
46935         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
46936         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
46937         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
46938         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
46939         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
46940         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
46941         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
46942         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
46943         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
46944         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
46945         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
46946         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
46947         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
46948         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
46949         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
46950         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
46951         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
46952         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
46953         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
46954         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
46955         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
46956         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
46957         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
46958         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
46959         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
46960         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
46961         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
46962         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
46963         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
46964         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
46965         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
46966         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
46967         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
46968         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
46969         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
46970         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
46971         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
46972         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
46973         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
46974         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
46975         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
46976         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
46977         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
46978         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
46979         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
46980         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
46981         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
46982         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
46983         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
46984         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
46985         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
46986         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
46988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
46989         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
46991         [BZ #14914]
46992         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
46993         whole low double instead of just low 47 bits when splitting values
46994         into two parts.
46996 2012-12-03  Allan McRae  <allan@archlinux.org>
46998         * manual/stdio.texi (Predefined Printf Handlers): Remove
46999         @hsep and @vsep usage.
47001 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
47003         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
47004         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
47006 2012-12-03  Jeff Law  <law@redhat.com>
47008         * time/sys/time.h (settimeofday): Do not mark TV argument
47009         as __nonnull.
47011 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
47013         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
47014         when currently writing and seek to current position when not.
47015         * libio/Makefile (tests): Remove bug-fclose1.
47016         * libio/bug-fclose1.c: Delete.
47018 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
47020         * manual/arith.texi (feenableexcept): Fix typo.
47021         (fedisableexcept): Likewise.
47023 2012-11-30  Roland McGrath  <roland@hack.frob.com>
47025         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
47026         second, differently-typed declaration, rather than a cast.
47028 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47030         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
47031         * include/rpc/svc.h: ... here.
47033 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
47035         [BZ #13013]
47036         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
47037         depending n and resplen2 to catch cases where answer
47038         equals answerp2.
47040 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
47042         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
47043         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
47045 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
47047         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
47049 2012-11-29  Roland McGrath  <roland@hack.frob.com>
47051         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
47053 2012-11-28  Jeff Law  <law@redhat.com>
47055         [BZ #13761]
47056         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
47057         dataset_temporary.  Track alloca usage into alloca_used.
47058         If dataset is large allocate and release it via malloc/free.
47060 2012-06-04  Florian Weimer  <fweimer@redhat.com>
47062         [BZ #14197]
47063         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
47065 2012-11-28  David S. Miller  <davem@davemloft.net>
47067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47069 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47071         [BZ #14803]
47072         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
47073         of pi/2 rounded to nearest to 64 bits.
47074         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
47075         nearest to 64 bits.
47076         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
47077         bits.
47079 2012-11-28  Jeff Law <law@redhat.com>
47080             Martin Osvald <mosvald@redhat.com>
47082         [BZ #14889]
47083         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
47084         * sunrpc/svc.c: Include time.h.
47085         (__svc_accept_failed): New function.
47086         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
47087         any reason other than EINTR, call __svc_accept_failed.
47088         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
47089         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
47091 2012-11-28  Andreas Schwab  <schwab@suse.de>
47093         * scripts/abilist.awk: Also handle indirect functions in .opd
47094         section.
47096 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
47098         [BZ #13881]
47099         * sysdeps/x86/fpu/powl_helper.c: New file.
47100         * sysdeps/x86/fpu/Makefile: Likewise.
47101         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
47102         (p3): New object.
47103         (__ieee754_powl): Use __powl_helper for finite arguments except
47104         integer exponents below 8.
47105         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
47106         (p3): New object.
47107         (__ieee754_powl): Use __powl_helper for finite arguments except
47108         integer exponents below 8.
47109         * math/libm-test.inc (pow_test): Add more tests and enable some
47110         previously disabled tests.
47111         * sysdeps/i386/fpu/libm-test-ulps: Update.
47112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47114 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47115             Carlos O'Donell  <carlos_odonell@mentor.com>
47117         * nss/makedb.c (is_prime): Assert that input is odd and greater
47118         than 4.  Note that fact in a comment too.
47119         (next_prime): Add 4 to input.
47121 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47123         [BZ #11741]
47124         * libio/Makefile (tests): Add test case tst-fwrite-error.
47125         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
47126         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
47127         * libio/tst-fwrite-error.c: New test case.
47129 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
47131         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
47132         before casting to void *.
47133         * include/libc-internal.h (__pointer_type): New macro.
47134         (__integer_if_pointer_type_sub): Likewise.
47135         (__integer_if_pointer_type): Likewise.
47136         (cast_to_integer): Likewise.
47137         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
47138         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
47139         before casting to atomic64_t.
47140         (atomic_exchange_acq): Likewise.
47141         (__arch_exchange_and_add_body): Likewise.
47142         (__arch_add_body): Likewise.
47143         (atomic_add_negative): Likewise.
47144         (atomic_add_zero): Likewise.
47146 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
47148         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
47149         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
47150         (add_fdes): Likewise.
47151         (linear_search_fdes): Likewise.
47152         (binary_search_unencoded_fdes): Likewise.
47154 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
47156         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
47158 2012-11-24  Adam Conrad  <adconrad@0c3.net>
47160         * configure.in: Autodetect C++ header directories.
47161         * configure: Regenerated.
47163 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
47165         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
47167 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
47169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47171 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
47173         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
47174         LDBL_MANT_DIG == 106]: Disable some tests.
47175         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47176         Likewise.
47177         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
47178         Likewise.
47180         [BZ #14871]
47181         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
47182         input for small inputs.  Return +/- pi/2 for large inputs.
47183         * math/libm-test.inc (atan_test): Add more tests.
47185         * sysdeps/generic/unwind-dw2-fde-glibc.c
47186         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
47187         __attribute__ ((unused)).
47189         [BZ #14645]
47190         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
47191         x * y if x and y are nonzero and z is zero.
47193         [BZ #14811]
47194         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
47195         nonzero exponents with absolute value below 0x1p-117 to +/-
47196         0x1p-117.
47198         [BZ #14869]
47199         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
47200         up arguments below 2**-450, not just those below 2**-500.
47201         * math/libm-test.inc (hypot_test): Add another test.
47203         [BZ #14868]
47204         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
47205         Return a+b for ratio over 2**120, not 2**60.
47206         * math/libm-test.inc (hypot_test): Add another test.
47208         * math/libm-test.inc (clog_test): Use
47209         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
47210         (clog10_test): Likewise.
47212         [BZ #6778]
47213         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
47215 2012-11-22  Andreas Schwab  <schwab@suse.de>
47217         * sysdeps/i386/fpu/libm-test-ulps: Update.
47219 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
47221         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
47222         printf output with newline.
47224 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
47226         [BZ #14865]
47227         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
47228         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
47229         -z nodlopen, -z initfirst and -z execstack support.
47230         * configure: Regenerated.
47232         * elf/elf.h (DF_1_NODIRECT): New macro.
47233         (DF_1_IGNMULDEF): Likewise.
47234         (DF_1_NOKSYMS): Likewise.
47235         (DF_1_NOHDR): Likewise.
47236         (DF_1_EDITED): Likewise.
47237         (DF_1_NORELOC): Likewise.
47238         (DF_1_SYMINTPOSE): Likewise.
47239         (DF_1_GLOBAUDIT): Likewise.
47240         (DF_1_SINGLETON): Likewise.
47241         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
47242         DT_1_SUPPORTED_MASK bits.
47243         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
47245 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
47247         * sysdeps/unix/make-syscalls.sh: Document prefixes.
47249 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
47251         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
47252         macro.
47254         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
47255         (sendmmsg): Move declarations...
47256         * socket/sys/socket.h: ... here.
47257         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
47258         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
47259         include it from...
47260         * socket/recvmmsg.c: ... this new file.
47261         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
47262         (sendmmsg): Rename to __sendmmsg, create weak alias and make
47263         definition of __sendmmsg hidden.
47264         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
47265         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
47266         Move ENOSYS stub into and include it from...
47267         * socket/sendmmsg.c: ... this new file.
47268         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
47269         (sysdep_routines): Move recvmmsg and sendmmsg...
47270         * socket/Makefile (routines): ... here.
47271         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
47272         (GLIBC_PRIVATE): Add __sendmmsg.
47273         * include/sys/socket.h (__sendmmsg): Add declarations.
47274         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
47275         sendmmsg.
47277 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
47279         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
47280         variable I1 with __attribute__ ((unused)).
47281         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47283 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47285         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
47286         DUMMY variables with __attribute__ ((unused)).
47288         * bits/byteswap.h: Include <bits/types.h>.
47289         (__bswap_64): Use __uint64_t instead of unsigned long long int.
47291 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47293         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
47294         string_t.  Do not manually set errno.
47295         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
47296         length with __strnlen.  Make sure to both set errno and return it on
47297         failure.
47299 2012-11-19  David S. Miller  <davem@davemloft.net>
47301         With help from Joseph Myers.
47302         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
47303         very large arguments properly.
47304         * math/libm-test.inc (atan_test): New tests.
47305         (atan2_test): New tests.
47306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47309 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
47311         [BZ #14856]
47312         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
47313         Define to 3.
47315         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
47316         [POSIX] (EADDRNOTAVAIL): Likewise.
47317         [POSIX] (EAFNOSUPPORT): Likewise.
47318         [POSIX] (EALREADY): Likewise.
47319         [POSIX] (ECONNABORTED): Likewise.
47320         [POSIX] (ECONNREFUSED): Likewise.
47321         [POSIX] (ECONNRESET): Likewise.
47322         [POSIX] (EDESTADDRREQ): Likewise.
47323         [POSIX] (EDQUOT): Likewise.
47324         [POSIX] (EHOSTUNREACH): Likewise.
47325         [POSIX] (EIDRM): Likewise.
47326         [POSIX] (EISCONN): Likewise.
47327         [POSIX] (ELOOP): Likewise.
47328         [POSIX] (EMULTIHOP): Likewise.
47329         [POSIX] (ENETDOWN): Likewise.
47330         [POSIX] (ENETUNREACH): Likewise.
47331         [POSIX] (ENOBUFS): Likewise.
47332         [POSIX] (ENODATA): Likewise.
47333         [POSIX] (ENOLINK): Likewise.
47334         [POSIX] (ENOMSG): Likewise.
47335         [POSIX] (ENOPROTOOPT): Likewise.
47336         [POSIX] (ENOSR): Likewise.
47337         [POSIX] (ENOSTR): Likewise.
47338         [POSIX] (ENOTCONN): Likewise.
47339         [POSIX] (ENOTSOCK): Likewise.
47340         [POSIX] (EOPNOTSUPP): Likewise.
47341         [POSIX] (EOVERFLOW): Likewise.
47342         [POSIX] (EPROTO): Likewise.
47343         [POSIX] (EPROTONOSUPPORT): Likewise.
47344         [POSIX] (EPROTOTYPE): Likewise.
47345         [POSIX] (ESTALE): Likewise.
47346         [POSIX] (ETIME): Likewise.
47347         [POSIX] (ETXTBSY): Likewise.
47348         [POSIX] (EWOULDBLOCK): Likewise.
47349         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
47350         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
47351         [POSIX] (SEEK_CUR): Likewise.
47352         [POSIX] (SEEK_END): Likewise.
47353         [POSIX || UNIX98] (mode_t): Do not require.
47354         [POSIX] (off_t): Likewise.
47355         [POSIX] (pid_t): Likewise.
47356         [POSIX] (sys/stat.h): Do not allow header.
47357         [POSIX] (unistd.h): Likewise.
47358         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
47359         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
47360         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
47361         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
47362         require.
47363         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
47364         sigevent): Specify elements.
47365         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
47366         entry.
47367         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
47368         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
47370         * conform/data/cpio.h-data [POSIX]: Disable whole file.
47371         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
47372         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
47373         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
47374         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
47375         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
47376         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
47377         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
47378         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
47379         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
47380         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
47381         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
47382         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
47383         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
47384         Likewise.
47385         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
47386         Likewise.
47387         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
47388         Likewise.
47389         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
47390         Likewise.
47391         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
47392         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
47393         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
47394         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
47395         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
47396         Specify lower bound on value.
47397         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
47398         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
47399         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
47400         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
47401         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
47402         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
47403         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
47404         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
47405         value.
47406         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
47407         as optional.
47408         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
47409         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
47410         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
47411         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
47412         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
47413         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
47414         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
47415         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
47416         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
47417         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
47418         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
47419         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
47420         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
47421         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
47422         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
47423         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
47424         entry.
47425         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
47426         optional.
47427         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
47428         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
47429         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
47430         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
47431         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
47432         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
47433         Likewise.
47434         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
47435         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
47436         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
47437         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
47438         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
47439         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
47440         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
47441         as optional.
47442         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
47443         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
47444         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
47445         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
47446         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
47447         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
47448         specify as optional.
47449         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
47450         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
47451         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
47452         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
47453         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
47454         [XPG3] (NL_LANGMAX): Likewise.
47455         [POSIX || XPG3] (NL_MSGMAX): Likewise.
47456         [POSIX || XPG3] (NL_NMAX): Likewise.
47457         [POSIX || XPG3] (NL_SETMAX): Likewise.
47458         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
47459         [XPG3] (NZERO): Likewise.
47460         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
47461         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
47462         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
47463         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
47464         (REG_ERANGE): Expect.
47465         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
47466         optional-constant.
47467         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
47468         Use (void) in prototype.
47469         [POSIX] (*_t): Allow.
47470         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
47471         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
47472         (WRDE_BADVAL): Expect.
47474         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
47475         expect.
47476         [XPG3 || XPG4] (O_RSYNC): Likewise.
47477         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
47478         Likewise.
47479         [XPG3 || XPG4] (pthread_sigmask): Likewise.
47480         [XPG3 || XPG4] (sigqueue): Likewise.
47481         [XPG3 || XPG4] (sigtimedwait): Likewise.
47482         [XPG3 || XPG4] (sigwaitinfo): Likewise.
47483         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
47484         [XPG3 || XPG4] (vsnprintf): Likewise.
47485         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
47486         Likewise.
47487         [XPG3 || XPG4] (blksize_t): Likewise.
47488         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
47489         Likewise.
47490         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
47491         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47492         [XPG3 || XPG4] (struct itimerspec): Likewise.
47493         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
47494         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
47495         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
47496         [XPG3 || XPG4] (clockid_t): Likewise.
47497         [XPG3 || XPG4] (timer_t): Likewise.
47498         [XPG3 || XPG4] (clock_getres): Likewise.
47499         [XPG3 || XPG4] (clock_gettime): Likewise.
47500         [XPG3 || XPG4] (clock_settime): Likewise.
47501         [XPG3 || XPG4] (nanosleep): Likewise.
47502         [XPG3 || XPG4] (timer_create): Likewise.
47503         [XPG3 || XPG4] (timer_delete): Likewise.
47504         [XPG3 || XPG4] (timer_gettime): Likewise.
47505         [XPG3 || XPG4] (timer_getoverrun): Likewise.
47506         [XPG3 || XPG4] (timer_settime): Likewise.
47507         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
47508         [XPG3 || XPG4] (getlogin_r): Likewise.
47509         [XPG3 || XPG4] (pread): Likewise.
47510         [XPG3 || XPG4] (pthread_atfork): Likewise.
47511         [XPG3 || XPG4] (pwrite): Likewise.
47513         [BZ #14835]
47514         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
47515         <bits/siginfo.h>.
47517 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
47519         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
47520         finalizing MALLSTREAM.
47522         * sysdeps/mach/hurd/syncfs.c: New file.
47524 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47526         [BZ #14719]
47527         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
47528         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
47529         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
47530         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
47531         (_nss_dns_gethostbyname4_r): Likewise.
47532         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
47533         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
47535 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
47537         [BZ #13763]
47538         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
47540 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
47542         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
47543         * elf/cache.c (print_entry): Print ",AArch64" for
47544         FLAG_AARCH64_LIB64
47546         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
47547         * elf/cache.c (print_entry): Print ",hard-float" for
47548         FLAG_ARM_LIBHF.
47550 2012-11-18  David S. Miller  <davem@davemloft.net>
47552         With help from Joseph Myers.
47553         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
47554         cutoff to 2**-13.
47555         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
47556         cutoff to 2**-25.
47557         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
47558         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
47559         small.
47560         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
47561         * math/libm-test.inc (y0_test): New tests.
47562         (y1_test): New tests.
47563         * sysdeps/i386/fpu/libm-test-ulps: Update.
47564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47567 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
47569         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
47570         64-bit targets.
47571         * configure: Regenerated.
47573 2012-11-17  David S. Miller  <davem@davemloft.net>
47575         [BZ #14811]
47576         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
47577         nonzero exponents with absolute value below 0x1p-128 to +/-
47578         0x1p-128.
47580 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
47582         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
47584         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
47586         * posix/getconf-speclist.c: New file.
47587         * posix/posix-envs.def: Likewise.
47588         * posix/confstr.c (START_ENV_GROUP): New macro.
47589         (END_ENV_GROUP): Likewise.
47590         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
47591         (KNOWN_PRESENT_ENV_STRING): Likewise.
47592         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
47593         (UNKNOWN_ENVIRONMENT): Likewise.
47594         (confstr): Include posix-envs.def instead of handling
47595         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
47596         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
47597         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
47598         (END_ENV_GROUP): Likewise.
47599         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
47600         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
47601         (UNKNOWN_ENVIRONMENT): Likewise.
47602         (__sysconf): Include posix-envs.def instead of handling associated
47603         cases directly here.
47604         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
47605         preprocessing getconf-speclist.c rather than running getconf or
47606         generating empty file.
47608 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
47610         * scripts/check-local-headers.sh: Ignore 'mach' headers.
47612 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
47614         [BZ #14672]
47615         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
47617 2012-11-16  David S. Miller  <davem@davemloft.net>
47619         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
47620         smaller than LDBL_EPSILON/2.0L, just return xm1.
47622 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
47624         * elf/tst-array1.c (init): Set constructor priority to 1000.
47625         (fini): Set destructor priority to 1000.
47626         * elf/tst-array2dep.c: Likewise.
47628 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47630         [BZ #11741]
47631         * libio/fileops.c (_IO_new_file_write): Correctly return error.
47632         (_IO_new_file_xsputn): Also return EOF if none of the input
47633         data was written when overflow failed.
47634         * libio/iopadn.c (_IO_padn): Likewise.
47635         * libio/iowpadn.c (_IO_wpadn): Likewise.
47636         * stdio-common/tst-put-error.c: Add copyright notice.
47637         (do_test): Add case for printing padded string.
47638         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
47639         _IO_padn returned error.
47640         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
47641         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
47642         return EOF.
47644 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47646         * libio/libioP.h: Add comment note that the references to C++
47647         bits are now obsolete.
47649 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47651         * math/libm-test.inc (check_complex): Use asprintf.
47653 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
47655         * debug/pcprofiledump.c (print_version): Update copyright year.
47656         * malloc/memusagestat.c (print_version): Likewise.
47658 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
47660         [BZ #14831]
47661         * elf/Makefile (tests): Add tst-audit8.
47662         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
47663         ($(objpfx)tst-audit8.out): New target.
47664         (tst-audit8-ENV): New variable.
47665         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
47666         audit if l_reloc_result is NULL.
47667         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
47668         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
47669         * elf/tst-audit8.c: New file.
47671 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47673         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
47674         * misc/Makefile (CFLAGS-select.c): Define.
47675         * posix/Makefile (CFLAGS-pause.c): Define.
47677 2012-11-13  David S. Miller  <davem@davemloft.net>
47679         * crypt/Makefile: Move test targets after toplevel Rules
47680         inclusion.  Grab any necessary sysdep routines when linking.
47681         * crypt/md5.c (md5_process_block): Remove define, we will always
47682         name it __md5_process_block.
47683         (md5_finish_ctx): Update md5_process_block call.
47684         (md5_stream): Likewise.
47685         (md5_process_bytes): Likewise.
47686         (md5_process_block): Rename to __md5_process_block and move to ...
47687         * crypt/md5-block.c: ... here.
47688         * crypt/sha256.c (sha256_process_block): Move to ...
47689         * crypt/sha256-block.c: ... here.
47690         * crypt/sha512.c (sha512_process_block): Move to ...
47691         * crypt/sha512-block.c: ... here.
47692         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
47693         path.
47694         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
47695         * sysdeps/sparc/sparc64/multiarch/Makefile
47696         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
47697         crypt subdir.
47698         (localedef-aux): Add md5 crypto assembler when in locale subdir.
47699         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
47700         multiarch changes.
47701         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
47702         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
47703         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
47704         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
47705         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
47706         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
47707         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
47708         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
47709         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
47710         file.
47711         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
47712         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
47713         file.
47714         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
47716 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
47718         * timezone/tzselect.ksh: Update from tzcode git revision
47719         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
47720         * timezone/zdump.c: Likewise.
47721         * timezone/zic.c: Likewise.
47722         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
47723         in TZVERSION setting, not $(PKGVERSION).
47724         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
47725         REPORT_BUGS_TO settings.
47727         [BZ #14838]
47728         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
47729         macro.
47731 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47733         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
47734         detection to immediately after _FP_ROUND().
47735         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
47736         bits are 0.
47738 2012-11-11  David S. Miller  <davem@davemloft.net>
47740         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
47741         inttypes.h
47742         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
47743         __close rather than their public counterparts.
47745 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
47747         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
47748         file.
47749         [UNIX98] (sem_timedwait): Do not expect.
47750         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
47751         [XPG4 || UNIX98] (sockatmark): Do not expect.
47752         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
47753         (clock_getcpuclockid): Do not expect.
47754         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
47755         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
47756         Do not expect.
47757         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
47758         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
47759         [UNIX98] (vwscanf): Likewise.
47760         [UNIX98] (vswscanf): Likewise.
47762 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
47764         * timezone/version.h: Remove file.
47765         * timezone/README: Do not refer to version.h.
47766         * timezone/Makefile ($(objpfx)zic.o): New dependency on
47767         $(objpfx)version.h.
47768         ($(objpfx)zdump.o): Likewise.
47769         ($(objpfx)version.h): New target.
47771         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
47772         2012i.
47773         * timezone/README: Don't mention modification to tzselect.ksh.
47774         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
47775         work on unmodified tzselect.ksh.  Substitute version numbers in
47776         tzselect.ksh.
47778         * Makefile (format-me): Remove.
47779         (INSTALL): Adjust indentation.  Use commands directly instead of
47780         using $(format-me).
47782         * aclocal.m4 (ACX_PKGVERSION): New macro.
47783         (ACX_BUGURL): Likewise.
47784         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
47785         (PKGVERSION): New AC_DEFINE_UNQUOTED.
47786         (REPORT_BUGS_TO): Likewise.
47787         * configure: Regenerated.
47788         * config.h.in (PKGVERSION): New macro.
47789         (REPORT_BUGS_TO): Likewise.
47790         * config.make.in (PKGVERSION): New variable.
47791         (PKGVERSION_TEXI): Likewise.
47792         (REPORT_BUGS_TO): Likewise.
47793         (REPORT_BUGS_TEXI): Likewise.
47794         * Makefile (format-me): Use -I$(common-objpfx)manual.
47795         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
47796         ($(common-objpfx)manual/%): New target.
47797         (manual/%): Remove target.
47798         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
47799         (print_version): Use PKGVERSION.
47800         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
47801         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
47802         and REPORT_BUGS_TO.
47803         ($(objpfx)xtrace): Likewise.
47804         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
47805         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
47806         (print_version): Use PKGVERSION.
47807         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
47808         (do_version): Use PKGVERSION.
47809         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
47810         REPORT_BUGS_TO.
47811         (common-ldd-rewrite): Likewise.
47812         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
47813         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
47814         (print_version): Use PKGVERSION.
47815         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
47816         * elf/pldd.c (argp_program_bug_address): Remove variable.
47817         (more_help): New function.
47818         (argp): Use more_help.
47819         (print_version): Use PKGVERSION.
47820         * elf/sln.c (main): Use PKGVERSION.
47821         (usage): Use REPORT_BUGS_TO.
47822         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
47823         (top level): Use PKGVERSION.
47824         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
47825         (print_version): Use PKGVERSION.
47826         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
47827         (print_version): Use PKGVERSION.
47828         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
47829         (print_version): Use PKGVERSION.
47830         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
47831         (print_version): Use PKGVERSION.
47832         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
47833         (print_version): Use PKGVERSION.
47834         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
47835         (print_version): Use PKGVERSION.
47836         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
47837         and BUGURL.
47838         ($(objpfx)memusage): Likewise.
47839         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
47840         (do_version): Use PKGVERSION.
47841         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
47842         (print_version): Use PKGVERSION.
47843         * malloc/mtrace.pl ($PACKAGE): Remove variable.
47844         ($PKGVERSION): New variable.
47845         ($REPORT_BUGS_TO): Likewise.
47846         (usage): Use $REPORT_BUGS_TO.
47847         (top level): Use $PKGVERSION.
47848         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
47849         ($(objpfx)pkgvers.texi): New rule.
47850         ($(objpfx)stamp-pkgvers): Likewise.
47851         * manual/install.texi: Include pkgvers.texi.
47852         (--with-pkgversion): Document new configure option.
47853         (--with-bugurl): Likewise.
47854         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
47855         than necessarily for this particular distribution.  Use
47856         REPORT_BUGS_TO for where to report bugs.
47857         * INSTALL: Regenerated.
47858         * manual/libc.texinfo: Include pkgvers.texi.
47859         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
47860         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
47861         (print_version): Use PKGVERSION.
47862         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
47863         (print_version): Use PKGVERSION.
47864         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
47865         (print_version): Use PKGVERSION.
47866         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
47867         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
47868         macro.
47869         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
47870         (print_version): Use PKGVERSION.
47871         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
47872         (print_version): Use PKGVERSION.
47873         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
47874         and PKGVERSION.
47876         * timezone/checktab.awk: Update from tzcode 2012i.
47877         * timezone/ialloc.c: Likewise.
47878         * timezone/private.h: Likewise.
47879         * timezone/scheck.c: Likewise.
47880         * timezone/tzfile.h: Likewise.
47881         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
47882         (TZVERSION): Hardcode tzcode version number.
47883         * timezone/zdump.c: Update from tzcode 2012i.
47884         * timezone/zic.c: Likewise.
47885         * timezone/version.h: New file.
47886         * timezone/README: Describe version.h.  Update upstream location.
47888         [BZ #14824]
47889         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
47890         (mktemp): Enable declaration.
47891         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
47892         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
47893         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
47894         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
47895         Likewise.
47896         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
47897         Likewise.
47898         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
47899         Likewise.
47900         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
47901         Likewise.
47902         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
47903         Likewise.
47904         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
47905         Likewise.
47907         [BZ #14821]
47908         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
47909         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
47910         for copies of such integer values.
47911         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47912         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47914 2012-11-09  Andreas Jaeger  <aj@suse.de>
47916         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
47917         definitions and declarations that are provided by
47918         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
47920 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47922         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
47923         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
47924         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
47925         definition.
47927 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47929         * elf/elf.h: Update comment before AArch64 relocations.
47931 2012-11-07  David S. Miller  <davem@davemloft.net>
47933         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
47934         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47935         (__start_context): Declare.
47936         (__makecontext_ret): Delete.
47937         (__makecontext): Hook up __start_context instead of
47938         __makecontext_ret.
47939         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
47940         (sysdep_routines): Add __start_context when in stdlib.
47942 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47944         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
47945         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
47946         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
47947         hardcoded "nm".
47948         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
47949         (READELF): New variable.  Use it instead of hardcoded "readelf".
47951 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
47953         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
47954         * sysdeps/x86/Makefile: Here.
47955         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
47956         * sysdeps/x86/tst-xmmymm.sh: This.
47958 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
47960         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
47961         expectations.
47962         [UNIX98] (pthread_barrier_t): Do not expect.
47963         [UNIX98] (pthread_barrierattr_t): Likewise.
47964         [UNIX98] (pthread_spinlock_t): Likewise.
47965         [UNIX98] (pthread_barrier_destroy): Likewise.
47966         [UNIX98] (pthread_barrier_init): Likewise.
47967         [UNIX98] (pthread_barrier_wait): Likewise.
47968         [UNIX98] (pthread_barrierattr_destroy): Likewise.
47969         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
47970         [UNIX98] (pthread_barrierattr_init): Likewise.
47971         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
47972         [UNIX98] (pthread_getcpuclockid): Likewise.
47973         [UNIX98] (pthread_mutex_timedlock): Likewise.
47974         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
47975         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
47976         [UNIX98] (pthread_sigmask): Likewise.
47977         [UNIX98] (pthread_spin_destroy): Likewise.
47978         [UNIX98] (pthread_spin_init): Likewise.
47979         [UNIX98] (pthread_spin_lock): Likewise.
47980         [UNIX98] (pthread_spin_trylock): Likewise.
47981         [UNIX98] (pthread_spin_unlock): Likewise.
47982         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
47983         Do not expect.
47984         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
47985         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
47986         [XPG3 || XPG4] (pthread_cond_t): Likewise.
47987         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
47988         [XPG3 || XPG4] (pthread_key_t): Likewise.
47989         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
47990         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
47991         [XPG3 || XPG4] (pthread_once_t): Likewise.
47992         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
47993         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
47994         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
47995         [XPG3 || XPG4] (pthread_t): Likewise.
47997         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
47998         not expect.
47999         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
48001         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
48002         Change function return type to int.
48004         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
48005         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
48006         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
48007         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
48008         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
48009         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
48010         [!POSIX] (posix_madvise): Likewise.
48011         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
48012         && !UNIX98].
48013         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
48014         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
48015         (mode_t): Likewise.
48016         (posix_mem_offset): Likewise.
48017         (posix_typed_mem_get_info): Likewise.
48018         (posix_typed_mem_open): Likewise.
48020         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
48021         Change condition to [XOPEN2K8].
48023         * conform/conformtest.pl: Preprocess allow-header data with -x c
48024         instead of from stdin.
48025         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
48026         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
48027         [C99-based standards] (cerfc): Likewise.
48028         [C99-based standards] (cexp2): Likewise.
48029         [C99-based standards] (cexpm1): Likewise.
48030         [C99-based standards] (clog10): Likewise.
48031         [C99-based standards] (clog1p): Likewise.
48032         [C99-based standards] (clog2): Likewise.
48033         [C99-based standards] (clgamma): Likewise.
48034         [C99-based standards] (ctgamma): Likewise.
48035         [C99-based standards] (cerff): Likewise.
48036         [C99-based standards] (cerfcf): Likewise.
48037         [C99-based standards] (cexp2f): Likewise.
48038         [C99-based standards] (cexpm1f): Likewise.
48039         [C99-based standards] (clog10f): Likewise.
48040         [C99-based standards] (clog1pf): Likewise.
48041         [C99-based standards] (clog2f): Likewise.
48042         [C99-based standards] (clgammaf): Likewise.
48043         [C99-based standards] (ctgammaf): Likewise.
48044         [C99-based standards] (cerfl): Likewise.
48045         [C99-based standards] (cerfcl): Likewise.
48046         [C99-based standards] (cexp2l): Likewise.
48047         [C99-based standards] (cexpm1l): Likewise.
48048         [C99-based standards] (clog10l): Likewise.
48049         [C99-based standards] (clog1pl): Likewise.
48050         [C99-based standards] (clog2l): Likewise.
48051         [C99-based standards] (clgammal): Likewise.
48052         [C99-based standards] (ctgammal): Likewise.
48053         * conform/data/inttypes.h-data [C99-based standards]: Include
48054         stdint.h-data.  Remove all expectations for stdint.h contents.
48055         [C99-based standards] (PRI*): Do not allow.
48056         [C99-based standards] (SCN*): Likewise.
48057         [C99-based standards] (*_t): Likewise.
48058         [C99-based-standards] (PRId8): Expect macro.
48059         [C99-based-standards] (PRIi8): Likewise.
48060         [C99-based-standards] (PRIo8): Likewise.
48061         [C99-based-standards] (PRIu8): Likewise.
48062         [C99-based-standards] (PRIx8): Likewise.
48063         [C99-based-standards] (PRIX8): Likewise.
48064         [C99-based-standards] (SCNd8): Likewise.
48065         [C99-based-standards] (SCNi8): Likewise.
48066         [C99-based-standards] (SCNo8): Likewise.
48067         [C99-based-standards] (SCNu8): Likewise.
48068         [C99-based-standards] (SCNx8): Likewise.
48069         [C99-based-standards] (PRIdLEAST8): Likewise.
48070         [C99-based-standards] (PRIiLEAST8): Likewise.
48071         [C99-based-standards] (PRIoLEAST8): Likewise.
48072         [C99-based-standards] (PRIuLEAST8): Likewise.
48073         [C99-based-standards] (PRIxLEAST8): Likewise.
48074         [C99-based-standards] (PRIXLEAST8): Likewise.
48075         [C99-based-standards] (SCNdLEAST8): Likewise.
48076         [C99-based-standards] (SCNiLEAST8): Likewise.
48077         [C99-based-standards] (SCNoLEAST8): Likewise.
48078         [C99-based-standards] (SCNuLEAST8): Likewise.
48079         [C99-based-standards] (SCNxLEAST8): Likewise.
48080         [C99-based-standards] (PRIdFAST8): Likewise.
48081         [C99-based-standards] (PRIiFAST8): Likewise.
48082         [C99-based-standards] (PRIoFAST8): Likewise.
48083         [C99-based-standards] (PRIuFAST8): Likewise.
48084         [C99-based-standards] (PRIxFAST8): Likewise.
48085         [C99-based-standards] (PRIXFAST8): Likewise.
48086         [C99-based-standards] (SCNdFAST8): Likewise.
48087         [C99-based-standards] (SCNiFAST8): Likewise.
48088         [C99-based-standards] (SCNoFAST8): Likewise.
48089         [C99-based-standards] (SCNuFAST8): Likewise.
48090         [C99-based-standards] (SCNxFAST8): Likewise.
48091         [C99-based-standards] (PRId16): Likewise.
48092         [C99-based-standards] (PRIi16): Likewise.
48093         [C99-based-standards] (PRIo16): Likewise.
48094         [C99-based-standards] (PRIu16): Likewise.
48095         [C99-based-standards] (PRIx16): Likewise.
48096         [C99-based-standards] (PRIX16): Likewise.
48097         [C99-based-standards] (SCNd16): Likewise.
48098         [C99-based-standards] (SCNi16): Likewise.
48099         [C99-based-standards] (SCNo16): Likewise.
48100         [C99-based-standards] (SCNu16): Likewise.
48101         [C99-based-standards] (SCNx16): Likewise.
48102         [C99-based-standards] (PRIdLEAST16): Likewise.
48103         [C99-based-standards] (PRIiLEAST16): Likewise.
48104         [C99-based-standards] (PRIoLEAST16): Likewise.
48105         [C99-based-standards] (PRIuLEAST16): Likewise.
48106         [C99-based-standards] (PRIxLEAST16): Likewise.
48107         [C99-based-standards] (PRIXLEAST16): Likewise.
48108         [C99-based-standards] (SCNdLEAST16): Likewise.
48109         [C99-based-standards] (SCNiLEAST16): Likewise.
48110         [C99-based-standards] (SCNoLEAST16): Likewise.
48111         [C99-based-standards] (SCNuLEAST16): Likewise.
48112         [C99-based-standards] (SCNxLEAST16): Likewise.
48113         [C99-based-standards] (PRIdFAST16): Likewise.
48114         [C99-based-standards] (PRIiFAST16): Likewise.
48115         [C99-based-standards] (PRIoFAST16): Likewise.
48116         [C99-based-standards] (PRIuFAST16): Likewise.
48117         [C99-based-standards] (PRIxFAST16): Likewise.
48118         [C99-based-standards] (PRIXFAST16): Likewise.
48119         [C99-based-standards] (SCNdFAST16): Likewise.
48120         [C99-based-standards] (SCNiFAST16): Likewise.
48121         [C99-based-standards] (SCNoFAST16): Likewise.
48122         [C99-based-standards] (SCNuFAST16): Likewise.
48123         [C99-based-standards] (SCNxFAST16): Likewise.
48124         [C99-based-standards] (PRId32): Likewise.
48125         [C99-based-standards] (PRIi32): Likewise.
48126         [C99-based-standards] (PRIo32): Likewise.
48127         [C99-based-standards] (PRIu32): Likewise.
48128         [C99-based-standards] (PRIx32): Likewise.
48129         [C99-based-standards] (PRIX32): Likewise.
48130         [C99-based-standards] (SCNd32): Likewise.
48131         [C99-based-standards] (SCNi32): Likewise.
48132         [C99-based-standards] (SCNo32): Likewise.
48133         [C99-based-standards] (SCNu32): Likewise.
48134         [C99-based-standards] (SCNx32): Likewise.
48135         [C99-based-standards] (PRIdLEAST32): Likewise.
48136         [C99-based-standards] (PRIiLEAST32): Likewise.
48137         [C99-based-standards] (PRIoLEAST32): Likewise.
48138         [C99-based-standards] (PRIuLEAST32): Likewise.
48139         [C99-based-standards] (PRIxLEAST32): Likewise.
48140         [C99-based-standards] (PRIXLEAST32): Likewise.
48141         [C99-based-standards] (SCNdLEAST32): Likewise.
48142         [C99-based-standards] (SCNiLEAST32): Likewise.
48143         [C99-based-standards] (SCNoLEAST32): Likewise.
48144         [C99-based-standards] (SCNuLEAST32): Likewise.
48145         [C99-based-standards] (SCNxLEAST32): Likewise.
48146         [C99-based-standards] (PRIdFAST32): Likewise.
48147         [C99-based-standards] (PRIiFAST32): Likewise.
48148         [C99-based-standards] (PRIoFAST32): Likewise.
48149         [C99-based-standards] (PRIuFAST32): Likewise.
48150         [C99-based-standards] (PRIxFAST32): Likewise.
48151         [C99-based-standards] (PRIXFAST32): Likewise.
48152         [C99-based-standards] (SCNdFAST32): Likewise.
48153         [C99-based-standards] (SCNiFAST32): Likewise.
48154         [C99-based-standards] (SCNoFAST32): Likewise.
48155         [C99-based-standards] (SCNuFAST32): Likewise.
48156         [C99-based-standards] (SCNxFAST32): Likewise.
48157         [C99-based-standards] (PRId64): Likewise.
48158         [C99-based-standards] (PRIi64): Likewise.
48159         [C99-based-standards] (PRIo64): Likewise.
48160         [C99-based-standards] (PRIu64): Likewise.
48161         [C99-based-standards] (PRIx64): Likewise.
48162         [C99-based-standards] (PRIX64): Likewise.
48163         [C99-based-standards] (SCNd64): Likewise.
48164         [C99-based-standards] (SCNi64): Likewise.
48165         [C99-based-standards] (SCNo64): Likewise.
48166         [C99-based-standards] (SCNu64): Likewise.
48167         [C99-based-standards] (SCNx64): Likewise.
48168         [C99-based-standards] (PRIdLEAST64): Likewise.
48169         [C99-based-standards] (PRIiLEAST64): Likewise.
48170         [C99-based-standards] (PRIoLEAST64): Likewise.
48171         [C99-based-standards] (PRIuLEAST64): Likewise.
48172         [C99-based-standards] (PRIxLEAST64): Likewise.
48173         [C99-based-standards] (PRIXLEAST64): Likewise.
48174         [C99-based-standards] (SCNdLEAST64): Likewise.
48175         [C99-based-standards] (SCNiLEAST64): Likewise.
48176         [C99-based-standards] (SCNoLEAST64): Likewise.
48177         [C99-based-standards] (SCNuLEAST64): Likewise.
48178         [C99-based-standards] (SCNxLEAST64): Likewise.
48179         [C99-based-standards] (PRIdFAST64): Likewise.
48180         [C99-based-standards] (PRIiFAST64): Likewise.
48181         [C99-based-standards] (PRIoFAST64): Likewise.
48182         [C99-based-standards] (PRIuFAST64): Likewise.
48183         [C99-based-standards] (PRIxFAST64): Likewise.
48184         [C99-based-standards] (PRIXFAST64): Likewise.
48185         [C99-based-standards] (SCNdFAST64): Likewise.
48186         [C99-based-standards] (SCNiFAST64): Likewise.
48187         [C99-based-standards] (SCNoFAST64): Likewise.
48188         [C99-based-standards] (SCNuFAST64): Likewise.
48189         [C99-based-standards] (SCNxFAST64): Likewise.
48190         [C99-based-standards] (PRIdMAX): Likewise.
48191         [C99-based-standards] (PRIiMAX): Likewise.
48192         [C99-based-standards] (PRIoMAX): Likewise.
48193         [C99-based-standards] (PRIuMAX): Likewise.
48194         [C99-based-standards] (PRIxMAX): Likewise.
48195         [C99-based-standards] (PRIXMAX): Likewise.
48196         [C99-based-standards] (SCNdMAX): Likewise.
48197         [C99-based-standards] (SCNiMAX): Likewise.
48198         [C99-based-standards] (SCNoMAX): Likewise.
48199         [C99-based-standards] (SCNuMAX): Likewise.
48200         [C99-based-standards] (SCNxMAX): Likewise.
48201         [C99-based-standards] (PRIdPTR): Likewise.
48202         [C99-based-standards] (PRIiPTR): Likewise.
48203         [C99-based-standards] (PRIoPTR): Likewise.
48204         [C99-based-standards] (PRIuPTR): Likewise.
48205         [C99-based-standards] (PRIxPTR): Likewise.
48206         [C99-based-standards] (PRIXPTR): Likewise.
48207         [C99-based-standards] (SCNdPTR): Likewise.
48208         [C99-based-standards] (SCNiPTR): Likewise.
48209         [C99-based-standards] (SCNoPTR): Likewise.
48210         [C99-based-standards] (SCNuPTR): Likewise.
48211         [C99-based-standards] (SCNxPTR): Likewise.
48212         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
48213         allow.
48214         * conform/data/stdint.h-data: Update comments to clarify
48215         requirements.
48216         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
48217         type.
48218         [C99-based standards] (INT8_MAX): Likewise.
48219         [C99-based standards] (INT16_MIN): Likewise.
48220         [C99-based standards] (INT16_MAX): Likewise.
48221         [C99-based standards] (INT32_MIN): Likewise.
48222         [C99-based standards] (INT32_MAX): Likewise.
48223         [C99-based standards] (INT64_MIN): Likewise.
48224         [C99-based standards] (INT64_MAX): Likewise.
48225         [C99-based standards] (UINT8_MAX): Likewise.
48226         [C99-based standards] (UINT16_MAX): Likewise.
48227         [C99-based standards] (UINT32_MAX): Likewise.
48228         [C99-based standards] (UINT64_MAX): Likewise.
48229         [C99-based standards] (INT_LEAST8_MIN): Likewise.
48230         [C99-based standards] (INT_LEAST8_MAX): Likewise.
48231         [C99-based standards] (INT_LEAST16_MIN): Likewise.
48232         [C99-based standards] (INT_LEAST16_MAX): Likewise.
48233         [C99-based standards] (INT_LEAST32_MIN): Likewise.
48234         [C99-based standards] (INT_LEAST32_MAX): Likewise.
48235         [C99-based standards] (INT_LEAST64_MIN): Likewise.
48236         [C99-based standards] (INT_LEAST64_MAX): Likewise.
48237         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
48238         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
48239         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
48240         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
48241         [C99-based standards] (INT_FAST8_MIN): Likewise.
48242         [C99-based standards] (INT_FAST8_MAX): Likewise.
48243         [C99-based standards] (INT_FAST16_MIN): Likewise.
48244         [C99-based standards] (INT_FAST16_MAX): Likewise.
48245         [C99-based standards] (INT_FAST32_MIN): Likewise.
48246         [C99-based standards] (INT_FAST32_MAX): Likewise.
48247         [C99-based standards] (INT_FAST64_MIN): Likewise.
48248         [C99-based standards] (INT_FAST64_MAX): Likewise.
48249         [C99-based standards] (UINT_FAST8_MAX): Likewise.
48250         [C99-based standards] (UINT_FAST16_MAX): Likewise.
48251         [C99-based standards] (UINT_FAST32_MAX): Likewise.
48252         [C99-based standards] (UINT_FAST64_MAX): Likewise.
48253         [C99-based standards] (INTPTR_MIN): Likewise.
48254         [C99-based standards] (INTPTR_MAX): Likewise.
48255         [C99-based standards] (UINTPTR_MAX): Likewise.
48256         [C99-based standards] (INTMAX_MIN): Likewise.
48257         [C99-based standards] (INTMAX_MAX): Likewise.
48258         [C99-based standards] (UINTMAX_MAX): Likewise.
48259         [C99-based standards] (PTRDIFF_MIN): Likewise.
48260         [C99-based standards] (PTRDIFF_MAX): Likewise.
48261         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
48262         [C99-based standards] (SIZE_MAX): Likewise.
48263         [C99-based standards] (WCHAR_MAX): Likewise.
48264         [C99-based standards] (WINT_MAX): Likewise.
48265         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
48266         constraint on value.
48267         [C99-based standards] (WCHAR_MIN): Likewise.
48268         [C99-based standards] (WINT_MIN): Likewise.
48269         [C99-based standards] (*_t): Allow.
48270         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
48271         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
48272         Include math.h-data and complex.h-data.  Remove all expectations
48273         of math.h and complex.h contents.
48274         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
48275         at end of line.
48276         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
48277         (struct tm): Expect tag.
48278         [C99-based-standards] (wcstof): Expect function.
48279         [C99-based-standards] (wcstold): Likewise.
48280         [C99-based-standards] (wcstoll): Likewise.
48281         [C99-based-standards] (wcstoull): Likewise.
48282         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
48283         macro-int-constant.  Specify type.
48284         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
48285         constraint on value.
48286         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48287         Specify type.
48288         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
48289         Specify value.
48290         [ISO C standards]: Do not allow headers.
48291         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
48292         wcs[abcdefghijklmnopqrstuvwxyz]*.
48293         [ISO C standards] (*_t): Do not allow.
48294         * conform/data/wctype.h-data [C99-based standards] (iswblank):
48295         Expect function.
48296         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
48297         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
48298         Specify type.
48299         [ISO C standards]: Do not allow headers.
48300         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
48301         is[abcdefghijklmnopqrstuvwxyz]*.
48302         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
48303         to[abcdefghijklmnopqrstuvwxyz]*.
48304         [ISO C standards] (*_t): Do not allow.
48305         * conform/data/stdalign.h-data: New file.
48306         * conform/data/stdbool.h-data: Likewise.
48307         * conform/data/stdnoreturn.h-data: Likewise.
48309 2012-11-07  Roland McGrath  <roland@hack.frob.com>
48311         [BZ #14815]
48312         * manual/filesys.texi (Directory Entries): Typo fix.
48313         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
48315 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48317         * elf/elf.h (EM_AARCH64): New macro.
48318         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
48319         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
48320         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
48321         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
48322         (R_AARCH64_TLSDESC): Likewise.
48323         (NT_ARM_TLS): Likewise.
48324         (NT_ARM_HW_BREAK): Likewise.
48325         (NT_ARM_HW_WATCH): Likewise.
48327 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48329         [BZ #14811]
48330         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
48331         (__ieee754_powl): Saturate nonzero exponents with absolute value
48332         below 0x1p-79 to +/- 0x1p-79.
48333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
48334         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
48335         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
48336         nonzero exponents with absolute value below 0x1p-32 to +/-
48337         0x1p-32.
48338         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
48339         (__ieee754_powl): Saturate nonzero exponents with absolute value
48340         below 0x1p-79 to +/- 0x1p-79.
48341         * math/libm-test.inc (pow_test): Add more tests.
48343 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48345         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
48346         _dl_s390_cap_flags with kernel. Increase string length.
48347         (_dl_s390_platforms): Add z196 and zEC12.
48349 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
48351         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
48352         Change XOPEN21K to XOPEN2K.
48354 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
48356         * string/memmove.c: Use memcpy when possible.
48358 2012-11-06  Andreas Jaeger  <aj@suse.de>
48360         * po/eo.po: Update from translation team.
48362 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
48364         [BZ #14793]
48365         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
48366         exponent and small x and y exponents, scale x or y up.  Increase
48367         by 2 the exponent used in scaling up.
48368         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48369         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48370         * math/libm-test.inc (fma_test): Add more tests.
48371         (fma_test_towardzero): Likewise.
48372         (fma_test_downward): Likewise.
48373         (fma_test_upward): Likewise.
48375 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
48377         [BZ #14805]
48378         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
48379         fenv_t *.
48381         [BZ #14801]
48382         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
48383         namespace for names of struct fields.
48384         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
48385         fenv_t fields.
48386         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
48387         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
48389 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48391         [BZ #3665]
48392         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
48394 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48396         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
48397         PTR_DEMANGLE.
48399         [BZ #5246]
48400         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
48401         PTR_DEMANGLE.
48403 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
48405         [BZ #14797]
48406         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
48407         definitely overflow as x * y not x * y + z.
48408         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48409         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48410         * math/libm-test.inc (fma_test): Add more tests.
48411         (fma_test_towardzero): Likewise.
48412         (fma_test_downward): Likewise.
48413         (fma_test_upward): Likewise.
48415 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
48417         [BZ #157]
48419         * include/stub-tag.h: Remove file.
48420         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
48421         '#include' of it.
48422         * manual/maint.texi (Porting): Don't reference it.
48423         * Makerules ($(objpfx)stubs): Likewise.
48424         * dirent/closedir.c: Don't include <stub-tag.h>.
48425         * dirent/dirfd.c: Likewise.
48426         * dirent/fdopendir.c: Likewise.
48427         * dirent/getdents.c: Likewise.
48428         * dirent/getdents64.c: Likewise.
48429         * dirent/opendir.c: Likewise.
48430         * dirent/readdir.c: Likewise.
48431         * dirent/readdir64.c: Likewise.
48432         * dirent/readdir64_r.c: Likewise.
48433         * dirent/readdir_r.c: Likewise.
48434         * dirent/rewinddir.c: Likewise.
48435         * dirent/seekdir.c: Likewise.
48436         * dirent/telldir.c: Likewise.
48437         * gmon/profil.c: Likewise.
48438         * grp/setgroups.c: Likewise.
48439         * inet/if_index.c: Likewise.
48440         * io/access.c: Likewise.
48441         * io/chdir.c: Likewise.
48442         * io/chmod.c: Likewise.
48443         * io/chown.c: Likewise.
48444         * io/close.c: Likewise.
48445         * io/dup.c: Likewise.
48446         * io/dup2.c: Likewise.
48447         * io/dup3.c: Likewise.
48448         * io/euidaccess.c: Likewise.
48449         * io/faccessat.c: Likewise.
48450         * io/fchdir.c: Likewise.
48451         * io/fchmod.c: Likewise.
48452         * io/fchmodat.c: Likewise.
48453         * io/fchown.c: Likewise.
48454         * io/fchownat.c: Likewise.
48455         * io/fcntl.c: Likewise.
48456         * io/flock.c: Likewise.
48457         * io/fstatfs.c: Likewise.
48458         * io/fstatfs64.c: Likewise.
48459         * io/fstatvfs.c: Likewise.
48460         * io/fstatvfs64.c: Likewise.
48461         * io/futimens.c: Likewise.
48462         * io/fxstat.c: Likewise.
48463         * io/fxstat64.c: Likewise.
48464         * io/fxstatat.c: Likewise.
48465         * io/fxstatat64.c: Likewise.
48466         * io/getcwd.c: Likewise.
48467         * io/isatty.c: Likewise.
48468         * io/lchmod.c: Likewise.
48469         * io/lchown.c: Likewise.
48470         * io/link.c: Likewise.
48471         * io/linkat.c: Likewise.
48472         * io/lseek.c: Likewise.
48473         * io/lseek64.c: Likewise.
48474         * io/lxstat64.c: Likewise.
48475         * io/mkdir.c: Likewise.
48476         * io/mkdirat.c: Likewise.
48477         * io/mkfifo.c: Likewise.
48478         * io/mkfifoat.c: Likewise.
48479         * io/open.c: Likewise.
48480         * io/open64.c: Likewise.
48481         * io/openat.c: Likewise.
48482         * io/openat64.c: Likewise.
48483         * io/pipe.c: Likewise.
48484         * io/pipe2.c: Likewise.
48485         * io/poll.c: Likewise.
48486         * io/posix_fadvise.c: Likewise.
48487         * io/posix_fadvise64.c: Likewise.
48488         * io/posix_fallocate.c: Likewise.
48489         * io/posix_fallocate64.c: Likewise.
48490         * io/read.c: Likewise.
48491         * io/readlink.c: Likewise.
48492         * io/readlinkat.c: Likewise.
48493         * io/rmdir.c: Likewise.
48494         * io/sendfile.c: Likewise.
48495         * io/sendfile64.c: Likewise.
48496         * io/statfs.c: Likewise.
48497         * io/statfs64.c: Likewise.
48498         * io/statvfs.c: Likewise.
48499         * io/statvfs64.c: Likewise.
48500         * io/symlink.c: Likewise.
48501         * io/symlinkat.c: Likewise.
48502         * io/ttyname.c: Likewise.
48503         * io/ttyname_r.c: Likewise.
48504         * io/umask.c: Likewise.
48505         * io/unlink.c: Likewise.
48506         * io/unlinkat.c: Likewise.
48507         * io/utime.c: Likewise.
48508         * io/utimensat.c: Likewise.
48509         * io/write.c: Likewise.
48510         * io/xmknod.c: Likewise.
48511         * io/xmknodat.c: Likewise.
48512         * io/xstat.c: Likewise.
48513         * io/xstat64.c: Likewise.
48514         * login/getpt.c: Likewise.
48515         * login/grantpt.c: Likewise.
48516         * login/unlockpt.c: Likewise.
48517         * math/e_acoshl.c: Likewise.
48518         * math/e_acosl.c: Likewise.
48519         * math/e_asinl.c: Likewise.
48520         * math/e_atan2l.c: Likewise.
48521         * math/e_atanhl.c: Likewise.
48522         * math/e_coshl.c: Likewise.
48523         * math/e_expl.c: Likewise.
48524         * math/e_fmodl.c: Likewise.
48525         * math/e_gammal_r.c: Likewise.
48526         * math/e_hypotl.c: Likewise.
48527         * math/e_j0l.c: Likewise.
48528         * math/e_j1l.c: Likewise.
48529         * math/e_jnl.c: Likewise.
48530         * math/e_lgammal_r.c: Likewise.
48531         * math/e_log10l.c: Likewise.
48532         * math/e_log2l.c: Likewise.
48533         * math/e_logl.c: Likewise.
48534         * math/e_powl.c: Likewise.
48535         * math/e_rem_pio2l.c: Likewise.
48536         * math/e_sinhl.c: Likewise.
48537         * math/e_sqrtl.c: Likewise.
48538         * math/fclrexcpt.c: Likewise.
48539         * math/fedisblxcpt.c: Likewise.
48540         * math/feenablxcpt.c: Likewise.
48541         * math/fegetenv.c: Likewise.
48542         * math/fegetexcept.c: Likewise.
48543         * math/fegetround.c: Likewise.
48544         * math/feholdexcpt.c: Likewise.
48545         * math/fesetenv.c: Likewise.
48546         * math/fesetround.c: Likewise.
48547         * math/feupdateenv.c: Likewise.
48548         * math/fgetexcptflg.c: Likewise.
48549         * math/fraiseexcpt.c: Likewise.
48550         * math/fsetexcptflg.c: Likewise.
48551         * math/ftestexcept.c: Likewise.
48552         * math/k_cosl.c: Likewise.
48553         * math/k_rem_pio2l.c: Likewise.
48554         * math/k_sinl.c: Likewise.
48555         * math/k_tanl.c: Likewise.
48556         * math/s_asinhl.c: Likewise.
48557         * math/s_atanl.c: Likewise.
48558         * math/s_cbrtl.c: Likewise.
48559         * math/s_erfl.c: Likewise.
48560         * math/s_expm1l.c: Likewise.
48561         * math/s_log1pl.c: Likewise.
48562         * math/s_tanhl.c: Likewise.
48563         * misc/acct.c: Likewise.
48564         * misc/brk.c: Likewise.
48565         * misc/chflags.c: Likewise.
48566         * misc/chroot.c: Likewise.
48567         * misc/fchflags.c: Likewise.
48568         * misc/fgetxattr.c: Likewise.
48569         * misc/flistxattr.c: Likewise.
48570         * misc/fremovexattr.c: Likewise.
48571         * misc/fsetxattr.c: Likewise.
48572         * misc/fsync.c: Likewise.
48573         * misc/ftruncate.c: Likewise.
48574         * misc/futimes.c: Likewise.
48575         * misc/futimesat.c: Likewise.
48576         * misc/getdomain.c: Likewise.
48577         * misc/getdtsz.c: Likewise.
48578         * misc/gethostid.c: Likewise.
48579         * misc/gethostname.c: Likewise.
48580         * misc/getloadavg.c: Likewise.
48581         * misc/getpagesize.c: Likewise.
48582         * misc/getsysstats.c: Likewise.
48583         * misc/getxattr.c: Likewise.
48584         * misc/gtty.c: Likewise.
48585         * misc/ioctl.c: Likewise.
48586         * misc/lgetxattr.c: Likewise.
48587         * misc/listxattr.c: Likewise.
48588         * misc/llistxattr.c: Likewise.
48589         * misc/lremovexattr.c: Likewise.
48590         * misc/lsetxattr.c: Likewise.
48591         * misc/lutimes.c: Likewise.
48592         * misc/madvise.c: Likewise.
48593         * misc/mincore.c: Likewise.
48594         * misc/mlock.c: Likewise.
48595         * misc/mlockall.c: Likewise.
48596         * misc/mmap.c: Likewise.
48597         * misc/mprotect.c: Likewise.
48598         * misc/msync.c: Likewise.
48599         * misc/munlock.c: Likewise.
48600         * misc/munlockall.c: Likewise.
48601         * misc/munmap.c: Likewise.
48602         * misc/preadv.c: Likewise.
48603         * misc/preadv64.c: Likewise.
48604         * misc/ptrace.c: Likewise.
48605         * misc/pwritev.c: Likewise.
48606         * misc/pwritev64.c: Likewise.
48607         * misc/readv.c: Likewise.
48608         * misc/reboot.c: Likewise.
48609         * misc/remap_file_pages.c: Likewise.
48610         * misc/removexattr.c: Likewise.
48611         * misc/revoke.c: Likewise.
48612         * misc/select.c: Likewise.
48613         * misc/setdomain.c: Likewise.
48614         * misc/setegid.c: Likewise.
48615         * misc/seteuid.c: Likewise.
48616         * misc/sethostid.c: Likewise.
48617         * misc/sethostname.c: Likewise.
48618         * misc/setregid.c: Likewise.
48619         * misc/setreuid.c: Likewise.
48620         * misc/setxattr.c: Likewise.
48621         * misc/sstk.c: Likewise.
48622         * misc/stty.c: Likewise.
48623         * misc/swapoff.c: Likewise.
48624         * misc/swapon.c: Likewise.
48625         * misc/sync.c: Likewise.
48626         * misc/syncfs.c: Likewise.
48627         * misc/syscall.c: Likewise.
48628         * misc/truncate.c: Likewise.
48629         * misc/ualarm.c: Likewise.
48630         * misc/usleep.c: Likewise.
48631         * misc/ustat.c: Likewise.
48632         * misc/utimes.c: Likewise.
48633         * misc/vhangup.c: Likewise.
48634         * misc/writev.c: Likewise.
48635         * posix/_exit.c: Likewise.
48636         * posix/alarm.c: Likewise.
48637         * posix/execve.c: Likewise.
48638         * posix/fexecve.c: Likewise.
48639         * posix/fork.c: Likewise.
48640         * posix/fpathconf.c: Likewise.
48641         * posix/getaddrinfo.c: Likewise.
48642         * posix/getegid.c: Likewise.
48643         * posix/geteuid.c: Likewise.
48644         * posix/getgid.c: Likewise.
48645         * posix/getgroups.c: Likewise.
48646         * posix/getlogin.c: Likewise.
48647         * posix/getlogin_r.c: Likewise.
48648         * posix/getpgid.c: Likewise.
48649         * posix/getpid.c: Likewise.
48650         * posix/getppid.c: Likewise.
48651         * posix/getresgid.c: Likewise.
48652         * posix/getresuid.c: Likewise.
48653         * posix/getsid.c: Likewise.
48654         * posix/getuid.c: Likewise.
48655         * posix/glob64.c: Likewise.
48656         * posix/nanosleep.c: Likewise.
48657         * posix/pathconf.c: Likewise.
48658         * posix/pause.c: Likewise.
48659         * posix/posix_madvise.c: Likewise.
48660         * posix/pread.c: Likewise.
48661         * posix/pread64.c: Likewise.
48662         * posix/pwrite.c: Likewise.
48663         * posix/pwrite64.c: Likewise.
48664         * posix/sched_getaffinity.c: Likewise.
48665         * posix/sched_getp.c: Likewise.
48666         * posix/sched_gets.c: Likewise.
48667         * posix/sched_primax.c: Likewise.
48668         * posix/sched_primin.c: Likewise.
48669         * posix/sched_rr_gi.c: Likewise.
48670         * posix/sched_setaffinity.c: Likewise.
48671         * posix/sched_setp.c: Likewise.
48672         * posix/sched_sets.c: Likewise.
48673         * posix/sched_yield.c: Likewise.
48674         * posix/setgid.c: Likewise.
48675         * posix/setlogin.c: Likewise.
48676         * posix/setpgid.c: Likewise.
48677         * posix/setresgid.c: Likewise.
48678         * posix/setresuid.c: Likewise.
48679         * posix/setsid.c: Likewise.
48680         * posix/setuid.c: Likewise.
48681         * posix/sleep.c: Likewise.
48682         * posix/spawni.c: Likewise.
48683         * posix/sysconf.c: Likewise.
48684         * posix/times.c: Likewise.
48685         * posix/wait.c: Likewise.
48686         * posix/wait3.c: Likewise.
48687         * posix/wait4.c: Likewise.
48688         * posix/waitpid.c: Likewise.
48689         * resolv/gai_sigqueue.c: Likewise.
48690         * resource/getpriority.c: Likewise.
48691         * resource/getrlimit.c: Likewise.
48692         * resource/getrusage.c: Likewise.
48693         * resource/nice.c: Likewise.
48694         * resource/setpriority.c: Likewise.
48695         * resource/setrlimit.c: Likewise.
48696         * resource/ulimit.c: Likewise.
48697         * rt/aio_cancel.c: Likewise.
48698         * rt/aio_fsync.c: Likewise.
48699         * rt/aio_read.c: Likewise.
48700         * rt/aio_sigqueue.c: Likewise.
48701         * rt/aio_suspend.c: Likewise.
48702         * rt/aio_write.c: Likewise.
48703         * rt/clock_getres.c: Likewise.
48704         * rt/clock_gettime.c: Likewise.
48705         * rt/clock_nanosleep.c: Likewise.
48706         * rt/clock_settime.c: Likewise.
48707         * rt/lio_listio.c: Likewise.
48708         * rt/mq_close.c: Likewise.
48709         * rt/mq_getattr.c: Likewise.
48710         * rt/mq_notify.c: Likewise.
48711         * rt/mq_open.c: Likewise.
48712         * rt/mq_receive.c: Likewise.
48713         * rt/mq_send.c: Likewise.
48714         * rt/mq_setattr.c: Likewise.
48715         * rt/mq_timedreceive.c: Likewise.
48716         * rt/mq_timedsend.c: Likewise.
48717         * rt/mq_unlink.c: Likewise.
48718         * rt/shm_open.c: Likewise.
48719         * rt/shm_unlink.c: Likewise.
48720         * rt/timer_create.c: Likewise.
48721         * rt/timer_delete.c: Likewise.
48722         * rt/timer_getoverr.c: Likewise.
48723         * rt/timer_gettime.c: Likewise.
48724         * rt/timer_settime.c: Likewise.
48725         * setjmp/__longjmp.c: Likewise.
48726         * setjmp/setjmp.c: Likewise.
48727         * signal/kill.c: Likewise.
48728         * signal/killpg.c: Likewise.
48729         * signal/raise.c: Likewise.
48730         * signal/sigaction.c: Likewise.
48731         * signal/sigaltstack.c: Likewise.
48732         * signal/sigblock.c: Likewise.
48733         * signal/sigignore.c: Likewise.
48734         * signal/sigintr.c: Likewise.
48735         * signal/signal.c: Likewise.
48736         * signal/sigpause.c: Likewise.
48737         * signal/sigpending.c: Likewise.
48738         * signal/sigqueue.c: Likewise.
48739         * signal/sigreturn.c: Likewise.
48740         * signal/sigset.c: Likewise.
48741         * signal/sigsetmask.c: Likewise.
48742         * signal/sigstack.c: Likewise.
48743         * signal/sigsuspend.c: Likewise.
48744         * signal/sigtimedwait.c: Likewise.
48745         * signal/sigvec.c: Likewise.
48746         * signal/sigwait.c: Likewise.
48747         * signal/sigwaitinfo.c: Likewise.
48748         * signal/sysv_signal.c: Likewise.
48749         * socket/accept.c: Likewise.
48750         * socket/accept4.c: Likewise.
48751         * socket/bind.c: Likewise.
48752         * socket/connect.c: Likewise.
48753         * socket/getpeername.c: Likewise.
48754         * socket/getsockname.c: Likewise.
48755         * socket/getsockopt.c: Likewise.
48756         * socket/isfdtype.c: Likewise.
48757         * socket/listen.c: Likewise.
48758         * socket/recv.c: Likewise.
48759         * socket/recvfrom.c: Likewise.
48760         * socket/recvmsg.c: Likewise.
48761         * socket/send.c: Likewise.
48762         * socket/sendmsg.c: Likewise.
48763         * socket/sendto.c: Likewise.
48764         * socket/setsockopt.c: Likewise.
48765         * socket/shutdown.c: Likewise.
48766         * socket/sockatmark.c: Likewise.
48767         * socket/socket.c: Likewise.
48768         * socket/socketpair.c: Likewise.
48769         * stdio-common/ctermid.c: Likewise.
48770         * stdio-common/cuserid.c: Likewise.
48771         * stdio-common/remove.c: Likewise.
48772         * stdio-common/rename.c: Likewise.
48773         * stdio-common/renameat.c: Likewise.
48774         * stdio-common/tempname.c: Likewise.
48775         * stdlib/getcontext.c: Likewise.
48776         * stdlib/makecontext.c: Likewise.
48777         * stdlib/setcontext.c: Likewise.
48778         * stdlib/swapcontext.c: Likewise.
48779         * stdlib/system.c: Likewise.
48780         * streams/fattach.c: Likewise.
48781         * streams/fdetach.c: Likewise.
48782         * streams/getmsg.c: Likewise.
48783         * streams/getpmsg.c: Likewise.
48784         * streams/putmsg.c: Likewise.
48785         * streams/putpmsg.c: Likewise.
48786         * sysdeps/unix/bsd/getpt.c: Likewise.
48787         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
48788         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
48789         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
48791         Likewise.
48792         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
48793         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
48794         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48795         * sysvipc/msgctl.c: Likewise.
48796         * sysvipc/msgget.c: Likewise.
48797         * sysvipc/msgrcv.c: Likewise.
48798         * sysvipc/msgsnd.c: Likewise.
48799         * sysvipc/semctl.c: Likewise.
48800         * sysvipc/semget.c: Likewise.
48801         * sysvipc/semop.c: Likewise.
48802         * sysvipc/semtimedop.c: Likewise.
48803         * sysvipc/shmat.c: Likewise.
48804         * sysvipc/shmctl.c: Likewise.
48805         * sysvipc/shmdt.c: Likewise.
48806         * sysvipc/shmget.c: Likewise.
48807         * termios/tcdrain.c: Likewise.
48808         * termios/tcflow.c: Likewise.
48809         * termios/tcflush.c: Likewise.
48810         * termios/tcgetattr.c: Likewise.
48811         * termios/tcgetpgrp.c: Likewise.
48812         * termios/tcsendbrk.c: Likewise.
48813         * termios/tcsetattr.c: Likewise.
48814         * termios/tcsetpgrp.c: Likewise.
48815         * time/adjtime.c: Likewise.
48816         * time/clock.c: Likewise.
48817         * time/getitimer.c: Likewise.
48818         * time/gettimeofday.c: Likewise.
48819         * time/setitimer.c: Likewise.
48820         * time/settimeofday.c: Likewise.
48821         * time/stime.c: Likewise.
48822         * time/time.c: Likewise.
48824 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
48826         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
48827         /usr/old/bin.
48829         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
48830         instead of spaces.
48831         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
48833 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
48835         [BZ #14796]
48836         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
48837         FE_TONEAREST before applying Dekker multiplication and Knuth
48838         addition.  Clear inexact exceptions and check for exact zero
48839         results afterwards.
48840         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
48841         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
48842         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
48843         * math/libm-test.inc (fma_test): Add more tests.
48844         (fma_test_towardzero): Likewise.
48845         (fma_test_downward): Likewise.
48846         (fma_test_upward): Likewise.
48847         * sysdeps/generic/math_private.h (default_libc_fesetround): New
48848         function.
48849         (libc_fesetround): New macro.
48850         (libc_fesetroundf): Likewise.
48851         (libc_fesetroundl): Likewise.
48852         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
48853         function.
48854         (libc_fesetround_387): Likewise.
48855         (libc_fesetroundf): New macro.
48856         (libc_fesetround): Likewise.
48857         (libc_fesetroundl): Likewise.
48858         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
48859         function.
48860         (libc_fesetroundf): New macro.
48861         (libc_fesetround): Likewise.
48862         (libc_fesetroundl): Likewise.
48863         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
48864         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
48865         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
48866         libm_hidden_ver.
48867         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
48868         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
48869         libm_hidden_def.
48870         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
48871         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
48872         libm_hidden_ver.
48873         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
48874         libm_hidden_def.
48876         [BZ #3439]
48877         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
48878         integer constant usable in #if and use that to give value to enum
48879         constant.
48880         (FE_DIVBYZERO): Likewise.
48881         (FE_UNDERFLOW): Likewise.
48882         (FE_OVERFLOW): Likewise.
48883         (FE_INVALID): Likewise.
48884         (FE_INVALID_SNAN): Likewise.
48885         (FE_INVALID_ISI): Likewise.
48886         (FE_INVALID_IDI): Likewise.
48887         (FE_INVALID_ZDZ): Likewise.
48888         (FE_INVALID_IMZ): Likewise.
48889         (FE_INVALID_COMPARE): Likewise.
48890         (FE_INVALID_SOFTWARE): Likewise.
48891         (FE_INVALID_SQRT): Likewise.
48892         (FE_INVALID_INTEGER_CONVERSION): Likewise.
48893         (FE_TONEAREST): Likewise.
48894         (FE_TOWARDZERO): Likewise.
48895         (FE_UPWARD): Likewise.
48896         (FE_DOWNWARD): Likewise.
48897         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
48898         (FE_DIVBYZERO): Likewise.
48899         (FE_OVERFLOW): Likewise.
48900         (FE_UNDERFLOW): Likewise.
48901         (FE_INEXACT): Likewise.
48902         (FE_TONEAREST): Likewise.
48903         (FE_DOWNWARD): Likewise.
48904         (FE_UPWARD): Likewise.
48905         (FE_TOWARDZERO): Likewise.
48906         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
48907         (FE_UNDERFLOW): Likewise.
48908         (FE_OVERFLOW): Likewise.
48909         (FE_DIVBYZERO): Likewise.
48910         (FE_INVALID): Likewise.
48911         (FE_TONEAREST): Likewise.
48912         (FE_TOWARDZERO): Likewise.
48913         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
48914         (FE_OVERFLOW): Likewise.
48915         (FE_UNDERFLOW): Likewise.
48916         (FE_DIVBYZERO): Likewise.
48917         (FE_INEXACT): Likewise.
48918         (FE_TONEAREST): Likewise.
48919         (FE_TOWARDZERO): Likewise.
48920         (FE_UPWARD): Likewise.
48921         (FE_DOWNWARD): Likewise.
48922         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
48923         (FE_DIVBYZERO): Likewise.
48924         (FE_OVERFLOW): Likewise.
48925         (FE_UNDERFLOW): Likewise.
48926         (FE_INEXACT): Likewise.
48927         (FE_TONEAREST): Likewise.
48928         (FE_DOWNWARD): Likewise.
48929         (FE_UPWARD): Likewise.
48930         (FE_TOWARDZERO): Likewise.
48932 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
48934         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
48936 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
48938         * scripts/cross-test-ssh.sh (command): Use newlines to separate
48939         commands.  Quote $PWD.
48940         (blacklist_exports): Don't use remove_newlines.  Replace "declare
48941         -x" by "export".
48942         (remove_newlines): Remove.
48944 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
48946         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
48947         * stdlib/stdlib.h (atof): Moved to ...
48948         * include/bits/stdlib-float.h: Here.  New file.
48949         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
48950         * stdlib/bits/stdlib-float.h: New file.
48951         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
48952         -mno-sse -mno-mmx.
48953         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
48954         <xmmintrin.h>.
48956 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
48958         * conform/conformtest.pl (@headers): Add fenv.h.
48959         * conform/data/fenv.h-data: New file.
48960         * include/fenv.h [_ISOMAC]: Disable all contents of file except
48961         include of <math/fenv.h>.
48963         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
48964         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
48965         && !UNIX98].  Enables tests for XOPEN2K8.
48966         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
48967         POSIX2008]: Likewise.
48969         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
48970         (struct rusage): Do not expect type or its members.
48972         [BZ #3439]
48973         * math/math.h (FP_NAN): Define macro to integer constant usable in
48974         #if and use that to give value to enum constant.
48975         (FP_INFINITE): Likewise.
48976         (FP_ZERO): Likewise.
48977         (FP_SUBNORMAL): Likewise.
48978         (FP_NORMAL): Likewise.
48980 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
48982         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
48983         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
48984         arguments.
48986 2012-11-02  Roland McGrath  <roland@hack.frob.com>
48988         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
48989         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
48990         autoconf-time if not.
48991         * configure.in: Remove AC_PREREQ.
48993 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48995         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
48996         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
48997         of the internal implementation.
48999 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
49001         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
49002         except include of <misc/sys/syslog.h>.
49004 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
49007         function returns with a NULL context exit with zero.
49009 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49011         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
49013 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
49015         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
49016         (run_program_cmd): This.
49017         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
49018         (tst_langinfo): New variable.  Use it.
49020 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
49022         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
49023         floating point opcodes.
49025 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49027         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
49028         variable.
49030         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
49032         * sysdeps/mach/hurd/powerpc: Remove directory.
49033         * sysdeps/mach/powerpc: Likewise.
49035 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
49037         * scripts/check-local-headers.sh: Ignore c++ headers.
49039 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49041         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
49042         __libc_cleanup_region_start argument.
49044 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
49046         [BZ #14784]
49047         [BZ #14785]
49048         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
49049         x * y using scaling, not as x * y + z.
49050         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49051         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49052         * math/libm-test.inc (fma_test): Add more tests.
49053         (fma_test_towardzero): Likewise.
49054         (fma_test_downward): Likewise.
49055         (fma_test_upward): Likewise.
49057 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
49059         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
49061 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49063         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
49064         New variable.
49066 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
49068         * rt/tst-shm.c (worker): Correct checking for mmap failure.
49070 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49073         Fix sort order.
49074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49075         Likewise.
49077 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49080         Fix the order of the list for glibc 2.17.
49081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49082         Likewise.
49084 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
49086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49088 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
49090         [BZ #14610]
49091         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
49092         for low part of x being zero before using __atanl (y).
49093         * math/libm-test.inc (atan2_test): Add another test.
49095         * manual/install.texi (Configuring and compiling): Document
49096         general use of test-wrapper and test-wrapper-env.
49097         * INSTALL: Regenerated.
49099         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
49100         (__fma): Do not extract and scale down low bits on after-rounding
49101         systems when result rounded to normal precision would have normal
49102         exponent.
49103         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
49104         (__fmal): Do not extract and scale down low bits on after-rounding
49105         systems when result rounded to normal precision would have normal
49106         exponent.
49107         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
49108         (__fmal): Do not extract and scale down low bits on after-rounding
49109         systems when result rounded to normal precision would have normal
49110         exponent.
49111         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
49112         macro.
49113         (fma_test): Add more tests.
49114         (fma_test_towardzero): Likewise.
49115         (fma_test_downward): Likewise.
49116         (fma_test_upward): Likewise.
49118 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
49120         * sysdeps/i386/tininess.h: Renamed to ...
49121         * sysdeps/x86/tininess.h: This.
49122         * sysdeps/x86_64/tininess.h: Removed.
49124 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49126         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
49127         input.  Use $(build-program-cmd).
49128         ($(objpfx)tst-array1-static.out): Likewise.
49129         ($(objpfx)tst-array2.out): Likewise.
49130         ($(objpfx)tst-array3.out): Likewise.
49131         ($(objpfx)tst-array4.out): Likewise.
49132         ($(objpfx)tst-array5.out): Likewise.
49133         ($(objpfx)tst-array5-static.out): Likewise.
49135 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
49137         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
49138         if defined.
49140         * nss/nsswitch.h (nss_interface_function): Provide new
49141         macro for use with NSS functions.
49142         * grp/initgroups.c: Use new macro.
49143         * nss/getXXbyYY.c: Likewise.
49144         * nss/getXXbyYY_r.c: Likewise.
49145         * nss/getXXent.c: Likewise.
49146         * nss/getXXent_r.c: Likewise.
49147         * sysdeps/posix/getaddrinfo.c: Likewise.
49149 2012-10-30  Andreas Jaeger  <aj@suse.de>
49151         * po/ru.po: Update Russion translation from translation project.
49153 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
49155         [BZ #14152]
49156         [BZ #14783]
49157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
49158         result and shift together with sticky bit instead of replicating
49159         round-to-nearest rounding.
49160         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49161         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49162         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
49163         missing underflow exceptions.
49164         (fma_test_towardzero): Add more tests.
49165         (fma_test_downward): Likewise.
49166         (fma_test_upward): Likewise.
49168         [BZ #14047]
49169         * sysdeps/generic/tininess.h: New file.
49170         * sysdeps/i386/tininess.h: Likewise.
49171         * sysdeps/sh/tininess.h: Likewise.
49172         * sysdeps/x86_64/tininess.h: Likewise.
49173         * stdlib/tst-strtod-underflow.c: Likewise.
49174         * stdlib/tst-tininess.c: Likewise.
49175         * stdlib/strtod_l.c: Include <tininess.h>.
49176         (round_and_return): Do not set errno for exact underflow cases.
49177         Force an underflow exception when setting errno for underflow.
49178         Determine underflow based on rounding to normal precision if
49179         TININESS_AFTER_ROUNDING.
49180         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
49181         ERANGE for exact underflow cases.
49182         * stdlib/Makefile (tests): Add tst-tininess and
49183         tst-strtod-underflow.
49184         ($(objpfx)tst-tininess): Use $(link-libm).
49185         ($(objpfx)tst-strtod-underflow): Likewise.
49187 2012-10-30  Andreas Jaeger  <aj@suse.de>
49189         [BZ#14767]
49190         * elf/Makefile (tests): Remove conditional for have-initfini-array
49191         since this is now always required and the variable does not exist
49192         anymore.
49193         (tests-static): Likewise.
49194         (modules-names): Likewise.
49196         * po/eo.po: Add Esperanto translation from translation project.
49198         * elf/tst-array1.c (fini_array): Make writeable so that it can be
49199         merged with constructor/destructor.
49200         (init_array): Likewise.
49201         * elf/tst-array2dep.c (fini_array): Likewise.
49202         (init_array): Likewise.
49204 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
49206         * manual/message.texi: Delete @cartouche tags.
49208 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
49210         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
49211         EOPNOTSUPP.
49212         * sysdeps/mach/hurd/fsync.c: Likewise.
49214         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
49215         [_POSIX_REALTIME_SIGNALS]: Change condition to
49216         [_POSIX_REALTIME_SIGNALS > 0].
49218 2012-10-27  Andreas Jaeger  <aj@suse.de>
49220         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
49221         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
49222         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
49223         [__WORDSIZE != 64]: Likewise.
49225 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
49227         *  iconvdata/tst-table.sh: Remove ${SHELL}.
49228         *  iconvdata/tst-tables.sh: Likewise.
49230 2012-10-25  David S. Miller  <davem@davemloft.net>
49232         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49233         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
49234         of strtoull.
49236         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
49237         ifunc-impl-list.c
49238         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49239         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
49240         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
49241         file.
49243 2012-10-25  Roland McGrath  <roland@hack.frob.com>
49245         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49246         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
49247         __getdirentries.
49249 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49250             Jim Blandy  <jimb@codesourcery.com>
49252         * scripts/cross-test-ssh.sh: New file.
49253         * manual/install.texi (Configuring and compiling): Document use of
49254         cross-test-ssh.sh.
49255         * INSTALL: Regenerated.
49257 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
49259         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
49260         EOPNOTSUPP.
49262 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
49264         * Makeconfig (run-program-prefix): Fix comment.
49266 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49267             Jim Blandy  <jimb@codesourcery.com>
49269         * Makeconfig (test-wrapper): New variable,
49270         (test-wrapper-env): Likewise.
49271         [$(cross-compiling) = yes && $(test-wrapper) != ""]
49272         (run-built-tests): Define to yes.
49273         (run-program-prefix): Use $(test-wrapper).
49274         (built-program-cmd): Likewise.
49275         * Rules (make-test-out): Use $(test-wrapper-env) and
49276         $(host-built-program-cmd).
49277         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
49278         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
49279         tst-pathopt.sh.
49280         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
49281         $(test-wrapper-env) to tst-rtld-load-self.sh.
49282         ($(objpfx)order2.out): Use $(test-wrapper).
49283         ($(objpfx)tst-initorder.out): Likewise.
49284         ($(objpfx)tst-initorder2.out): Likewise.
49285         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
49286         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
49287         (test_wrapper_env): New variable.  Use it to run ld.so.
49288         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
49289         Use it to run ld.so.
49290         (test_wrapper_env): Likewise.
49291         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
49292         $(test-wrapper) to run-iconv-test.sh.
49293         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
49294         (ICONV): Use $test_wrapper.
49295         * posix/Makefile ($(objpfx)globtest.out): Pass
49296         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
49297         globtest.sh, not $(run-program-prefix).
49298         * posix/globtest.sh (run_via_rtld_prefix): New variable.
49299         (test_wrapper): Likewise.
49300         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
49301         set together with run_via_rtld_prefix.
49302         (run_program_prefix): Define in terms of test_wrapper and
49303         run_via_rtld_prefix.
49305 2012-10-24  Roland McGrath  <roland@hack.frob.com>
49307         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
49308         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
49309         Targets removed.
49311         [BZ #14743]
49312         * include/time.h: Remove librt_hidden_proto (clock_gettime).
49313         Declare __clock_getres, __clock_gettime, __clock_settime,
49314         __clock_nanosleep, and __clock_getcpuclockid.
49315         * rt/clock_gettime.c: Define __clock_gettime as an alias.
49316         Remove librt_hidden_def (clock_gettime).
49317         * sysdeps/unix/clock_gettime.c: Likewise.
49318         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
49319         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49320         * rt/clock_getres.c: Define __clock_getres as an alias.
49321         * sysdeps/posix/clock_getres.c: Likewise.
49322         * rt/clock_settime.c: Define __clock_settime as an alias.
49323         * sysdeps/unix/clock_settime.c: Likewise.
49324         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
49325         * sysdeps/unix/clock_nanosleep.c: Likewise.
49326         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49327         * rt/clock-compat.c: New file.
49328         * rt/Makefile (librt-routines): Add clock-compat and move
49329         $(clock-routines) to ...
49330         (routines): ... here, new variable.
49331         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
49332         Don't add get_clockfreq here.
49333         * rt/Versions (libc: GLIBC_2.17): New version set.
49334         Add clock_* symbols here.
49335         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
49336         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
49337         (GLIBC_2.17): Add clock_* symbols.
49338         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49340         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49342         Likewise.
49343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49344         Likewise.
49345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49349         * NEWS: Mention the move.
49351         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
49352         Use __open, __read, __close rather than their public counterparts.
49353         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49354         (__get_clockfreq_via_cpuinfo): Likewise.
49355         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
49356         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
49358         * config.h.in (HAVE_IFUNC): New #undef.
49359         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
49360         was successful.
49361         * configure: Regenerated.
49363 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49365         * configure.in: Move READELF check to start of file.
49366         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
49367         libc_cv_asm_gnu_indirect_function in the process.
49368         * configure: Regenerated.
49370 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
49372         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
49373         send the output to /dev/null.
49374         (libc_cv_cc_with_libunwind): Likewise.
49375         (libc_cv_as_noexecstack): Likewise.
49376         * configure: Regenerate.
49378 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
49380         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
49382         * posix/globtest.sh (TMPDIR): Do not set.
49383         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
49384         (testout): Likewise.
49386 2012-10-24  Andreas Jaeger  <aj@suse.de>
49388         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
49389         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
49390         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
49391         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
49392         posix_fadvise64, posix_fallocate64.
49394         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
49395         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
49396         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
49397         Likewise.
49398         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
49399         Likewise.
49400         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
49402         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
49403         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
49404         <bits/fcntl-linux.h>.
49405         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
49407         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
49408         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
49409         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
49410         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
49411         [__WORDSIZE != 64]: Likewise.
49413 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49415         * Makeconfig (run-built-tests): New variable.
49416         * Rules [$(cross-compiling) = yes]: Change condition to
49417         [$(run-built-tests) = no].
49418         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
49419         to [$(run-built-tests) = yes].
49420         * elf/Makefile [$(cross-compiling) = no]: Likewise
49421         * grp/Makefile [$(cross-compiling) = no]: Likewise.
49422         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
49423         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
49424         * intl/Makefile [$(cross-compiling) = no]: Likewise.
49425         * io/Makefile [$(cross-compiling) = no]: Likewise.
49426         * libio/Makefile [$(cross-compiling) = no]: Likewise.
49427         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
49428         * misc/Makefile [$(cross-compiling) = no]: Likewise.
49429         * posix/Makefile [$(cross-compiling) = no]: Likewise.
49430         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
49431         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
49432         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
49433         * string/Makefile [$(cross-compiling) = no]: Likewise.
49435         * posix/Makefile ($(objpfx)globtest.out): Pass
49436         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
49437         $(rtld-installed-name).
49438         * posix/globtest.sh (elf_objpfx): Remove variable.
49439         (rtld_installed_name): Likewise.
49440         (library_path): Likewise.
49441         (run_program_prefix): New variable.  Use for running globtest
49442         binary.
49444 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
49445             Joseph Myers  <joseph@codesourcery.com>
49447         * Makeconfig (host-built-program-cmd): New variable.
49448         * elf/Makefile (tst-stackguard1-ARGS): Use
49449         $(host-built-program-cmd).
49450         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
49451         (tst-spawn-ARGS): Likewise.
49452         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
49454 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
49455             Jim Blandy  <jimb@codesourcery.com>
49457         * Makeconfig (run-via-rtld-prefix): New variable.
49458         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
49459         (built-program-cmd): Likewise.
49461 2012-10-22  Andreas Jaeger  <aj@suse.de>
49463         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
49464         __O_RSYNC if it exists, otherwise to O_SYNC.
49466 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
49467             Joseph Myers  <joseph@codesourcery.com>
49469         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
49470         /dev/null.
49471         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
49472         from /dev/null
49473         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
49474         /dev/null.
49476 2012-10-22  Andreas Jaeger  <aj@suse.de>
49478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
49479         Define always.
49480         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
49482         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49483         bits/fcntl-linux.h.
49485         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
49486         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
49488         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
49489         to __O_LARGEFILE.
49490         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
49491         to __O_LARGEFILE.
49493 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
49494             Joseph Myers  <joseph@codesourcery.com>
49496         * config.make.in (NM): New variable.
49498 2012-10-21  Andreas Jaeger  <aj@suse.de>
49500         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
49501         definitions and declarations that are provided by
49502         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49504 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49506         [BZ #14683]
49507         * elf/Makefile (tests-static): Add tst-leaks1-static.
49508         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
49509         ($(objpfx)tst-leaks1-static): New rule.
49510         ($(objpfx)tst-leaks1-static-mem): Likewise.
49511         (tst-leaks1-static-ENV): New macro.
49512         * elf/dl-open.c (dl_open_worker): Check the main application
49513         only if SHARED is defined.
49514         * elf/tst-leaks1-static.c: New file.
49516 2012-10-20  Andreas Jaeger  <aj@suse.de>
49518         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
49519         generic values for Linux.
49520         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
49521         and declarations that are provided by <bits/fcntl-linux.h> and
49522         include <bits/fcntl-linux.h>.
49523         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49526 2012-10-20  Roland McGrath  <roland@hack.frob.com>
49528         * io/fcntl.h: Move include of <bits/types.h> to the top and
49529         include it unconditionally.
49531 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
49533         * wcsmbs/Makefile (tests-ifunc): New variable.
49534         (tests): Add $(tests-ifunc).
49535         * wcsmbs/test-wcschr-ifunc.c: New file.
49536         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
49537         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
49538         * wcsmbs/test-wcslen-ifunc.c: Likewise.
49539         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
49540         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
49542         * string/Makefile (tests-ifunc): New variable.
49543         (tests): Add $(tests-ifunc).
49544         * string/test-memccpy.c (TEST_NAME): New macro.
49545         * string/test-memchr.c (TEST_NAME): Likewise.
49546         * string/test-memcmp.c (TEST_NAME): Likewise.
49547         * string/test-memcpy.c (TEST_NAME): Likewise.
49548         * string/test-memmem.c (TEST_NAME): Likewise.
49549         * string/test-memmove.c (TEST_NAME): Likewise.
49550         * string/test-memset.c (TEST_NAME): Likewise.
49551         * string/test-rawmemchr.c (TEST_NAME): Likewise.
49552         * string/test-stpcpy.c (TEST_NAME): Likewise.
49553         * string/test-stpncpy.c (TEST_NAME): Likewise.
49554         * string/test-strcasecmp.c (TEST_NAME): Likewise.
49555         * string/test-strcasestr.c (TEST_NAME): Likewise.
49556         * string/test-strcat.c (TEST_NAME): Likewise.
49557         * string/test-strchr.c (TEST_NAME): Likewise.
49558         * string/test-strcmp.c(TEST_NAME): Likewise.
49559         * string/test-strcpy.c (TEST_NAME): Likewise.
49560         * string/test-strcspn.c (TEST_NAME): Likewise.
49561         * string/test-strlen.c (TEST_NAME): Likewise.
49562         * string/test-strncasecmp.c (TEST_NAME): Likewise.
49563         * string/test-strncmp.c (TEST_NAME): Likewise.
49564         * string/test-strncpy.c (TEST_NAME): Likewise.
49565         * string/test-strnlen.c (TEST_NAME): Likewise.
49566         * string/test-strpbrk.c (TEST_NAME): Likewise.
49567         * string/test-strrchr.c (TEST_NAME): Likewise.
49568         * string/test-strspn.c (TEST_NAME): Likewise.
49569         * string/test-strstr.c (TEST_NAME): Likewise.
49570         * string/test-bcopy-ifunc.c: New file.
49571         * string/test-bzero-ifunc.c: Likewise.
49572         * string/test-memccpy-ifunc.c: Likewise.
49573         * string/test-memchr-ifunc.c: Likewise.
49574         * string/test-memcmp-ifunc.c: Likewise.
49575         * string/test-memcpy-ifunc.c: Likewise.
49576         * string/test-memmem-ifunc.c: Likewise.
49577         * string/test-memmove-ifunc.c: Likewise.
49578         * string/test-mempcpy-ifunc.c: Likewise.
49579         * string/test-memset-ifunc.c: Likewise.
49580         * string/test-rawmemchr-ifunc.c: Likewise.
49581         * string/test-stpcpy-ifunc.c: Likewise.
49582         * string/test-stpncpy-ifunc.c: Likewise.
49583         * string/test-strcasecmp-ifunc.c: Likewise.
49584         * string/test-strcasestr-ifunc.c: Likewise.
49585         * string/test-strcat-ifunc.c: Likewise.
49586         * string/test-strchr-ifunc.c: Likewise.
49587         * string/test-strchrnul-ifunc.c: Likewise.
49588         * string/test-strcmp-ifunc.c: Likewise.
49589         * string/test-strcpy-ifunc.c: Likewise.
49590         * string/test-strcspn-ifunc.c: Likewise.
49591         * string/test-strlen-ifunc.c: Likewise.
49592         * string/test-strncasecmp-ifunc.c: Likewise.
49593         * string/test-strncat-ifunc.c: Likewise.
49594         * string/test-strncmp-ifunc.c: Likewise.
49595         * string/test-strncpy-ifunc.c: Likewise.
49596         * string/test-strnlen-ifunc.c: Likewise.
49597         * string/test-strpbrk-ifunc.c: Likewise.
49598         * string/test-strrchr-ifunc.c: Likewise.
49599         * string/test-strspn-ifunc.c: Likewise.
49600         * string/test-strstr-ifunc.c: Likewise.
49602         * debug/Makefile (tests-ifunc): New variable.
49603         (tests): Add $(tests-ifunc).
49604         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
49605         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
49606         * debug/test-stpcpy_chk-ifunc.c: New file.
49607         * debug/test-strcpy_chk-ifunc.c: Likewise.
49609 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49611         [BZ #13601]
49612         * elf/dl-load.c (open_verify): Retry read if the entire ELF
49613         header is not read in.
49615 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
49617         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
49618         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
49619         directly.  Pass built executable to script as
49620         $(built-program-cmd).
49621         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
49622         $testprogram without using LD_LIBRARY_PATH and $ldso.
49624         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
49625         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
49626         $(rtld-installed-name).
49627         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
49628         (rtld_installed_name): Likewise.
49629         (library_path): Likewise.
49630         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
49631         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
49632         $(run-program-prefix) to tst-tables.sh.
49633         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
49634         it to run tst-table-from and tst-table-to.
49635         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
49636         Pass it to tst-table.sh.
49637         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
49638         $(run-program-prefix) to tst-gettext.sh.
49639         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
49640         tst-translit.sh.
49641         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
49642         tst-gettext2.sh.
49643         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
49644         to run tst-gettext.
49645         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
49646         to run tst-gettext2.
49647         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
49648         to run tst-translit.
49649         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
49650         $(run-program-prefix) to tst-mtrace.sh.
49651         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
49652         to run tst-mtrace.
49653         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
49654         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
49655         $(rtld-installed-name).
49656         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
49657         (rtld_installed_name): Likewise.
49658         (run_program_prefix): New variable.  Use it to run wordexp-test.
49660         * Makeconfig (ARCH): Remove all definitions.
49661         (machine): Likewise.
49662         [ARCH]: Remove conditional code.
49663         [!objdir]: Give error.
49664         [!objdir] (objpfx): Remove.
49665         [!objdir] (common-objpfx): Likewise.
49666         [!objdir] (common-objdir): Likewise.
49667         * configure.in (config_makefile): Remove.  Hardcode Makefile in
49668         AC_CONFIG_FILES call.
49669         * configure: Regenerated.
49671         [BZ #13888]
49672         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
49673         or TMPDIR.
49674         (testout): Likewise.
49676         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
49677         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
49678         $(rtld-installed-name).
49679         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
49680         (rtld_installed_name): Likwise.
49681         (runit): Remove function.
49682         (run_getconf): New variable,  Use it for running getconf binary.
49684 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
49686         [BZ #14716]
49687         * string/test-memmem.c (check_result): New function.
49688         (do_one_test): Use it.
49689         (check1): New function.
49690         (test_main): Use it.
49692 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
49694         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
49696 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
49698         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
49699         (_G_LSEEK64): Likewise.
49700         (_G_MMAP64): Likewise.
49701         (_G_FSTAT64): Likewise.
49702         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
49703         (_G_LSEEK64): Likewise.
49704         (_G_MMAP64): Likewise.
49705         (_G_FSTAT64): Likewise.
49706         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
49707         unconditional.  Call __mmap64 directly.
49708         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
49709         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
49710         __lseek64 directly.
49711         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
49712         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
49713         __mmap64 directly.
49714         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
49715         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
49716         __lseek64 directly.
49717         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
49718         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
49719         __lseek64 directly.
49720         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
49721         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
49722         __lseek64 directly.
49723         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
49724         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
49725         __fxstat64 directly.
49726         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
49727         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
49728         unconditional.
49729         (freopen64) [!_G_OPEN64]: Remove conditional code.
49730         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
49731         unconditional.
49732         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
49733         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
49734         unconditional.
49735         (ftello64) [!_G_LSEEK64]: Remove conditional code.
49736         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
49737         unconditional.
49738         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
49739         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
49740         unconditional.
49741         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
49742         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
49743         unconditional.
49744         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
49745         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
49746         unconditional.
49747         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
49748         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
49749         unconditional.
49750         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
49752 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49754         [BZ #12140]
49755         * manual/memory.texi (Malloc Tunable Parameters): Add note
49756         about free list pointers overwriting some perturb bytes.
49757         Wording suggested by Roland McGrath.
49759 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
49761         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
49762         (lgamma_test): Likewise.
49763         (tgamma_test): Likewise.
49765 2012-10-16  Florian Weimer  <fweimer@redhat.com>
49767         [BZ #14700]
49768         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
49769         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
49771 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
49773         * NEWS: Mention BZ #14716.
49774         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
49775         when removing AVAILABLE1_USES_J macro.
49777 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
49779         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
49780         (__bswap_64): __uint64_t for unsigned 64-bit int.
49782 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
49784         * include/string.h (memmem): Declare libc hidden alias.
49785         * string/memmem.c (memmem): Define libc hidden alias.
49786         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
49787         __read, __close instead of open, read, close.
49789 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
49791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
49792         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
49793         global and hidden.
49794         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
49795         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
49796         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
49797         Likewise.
49798         (__rawmemchr_sse2): Likewise.
49799         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
49800         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
49801         (__strchr_sse2): Likewise.
49802         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
49803         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
49804         (__strcasecmp_sse2): Likewise.
49805         (__strncasecmp_sse2): Likewise.
49806         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
49807         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
49808         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
49809         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
49810         (__strrchr_sse2): Likewise.
49811         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
49812         ifunc-impl-list.c.
49813         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
49814         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
49815         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
49816         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49817         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
49818         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
49819         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49820         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49821         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
49822         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
49823         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
49824         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
49825         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
49826         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
49827         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
49828         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49829         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
49830         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
49831         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
49832         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
49833         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
49834         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
49835         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
49836         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
49837         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
49838         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49839         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
49840         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
49841         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
49842         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
49844         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
49845         global and hidden.
49846         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
49847         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
49848         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
49849         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
49850         Likewise.
49851         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
49852         Likewise.
49853         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
49854         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
49855         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
49856         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
49857         ifunc-impl-list.c.
49858         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49859         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49860         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49861         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49862         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49863         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49864         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49865         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49866         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49867         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49868         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49869         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49870         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49871         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
49872         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
49873         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49874         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
49875         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
49876         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49877         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49878         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49879         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49880         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49881         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49882         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49883         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
49884         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
49885         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
49886         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
49887         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49888         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
49889         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49890         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49891         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
49892         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49893         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49894         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49895         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49896         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49897         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49898         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
49900         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
49901         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
49902         * include/ifunc-impl-list.h: New file.
49903         * misc/ifunc-impl-list.c: Likewise.
49904         * misc/Makefile (routines): Add ifunc-impl-list.
49905         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
49906         * string/test-string.h: Include <ifunc-impl-list.h>.
49907         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
49908         TEST_NAME]: New variables.
49909         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
49910         are defined.
49911         (test_init): Call __libc_ifunc_impl_list to initialize
49912         func_list if TEST_IFUNC and TEST_NAME are defined.
49914         * string/Makefile (strop-tests): Add bcopy and bzero.
49915         * string/test-bcopy.c: New file.
49916         * string/test-bzero.c: Likewise.
49917         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
49918         defined.
49919         * string/test-memset.c: Support bzero test if TEST_BZERO is
49920         defined.
49921         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
49922         __libc_memmove.
49923         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
49924         __libc_memset.
49925         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
49926         of memset.
49928 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
49930         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
49931         * configure: Regenerated.
49933         * Makeconfig (+link-static-before-libc): Don't include
49934         $(link-static-libc).
49936         * libio/libio.h (_IO_pos_t): Remove.
49938 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49940         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
49941         McGrath.
49943 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49945         * crypt/crypt-entry.c: Include fips-private.h.
49946         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
49947         * crypt/md5c-test.c (main): Tolerate disabled MD5.
49948         * sysdeps/unix/sysv/linux/fips-private.h: New file.
49949         * sysdeps/generic/fips-private.h: New file, dummy fallback.
49951 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
49953         * crypt/crypt-private.h: Include stdbool.h.
49954         (_ufc_setup_salt_r): Return bool.
49955         * crypt/crypt-entry.c: Include errno.h.
49956         (__crypt_r): Return NULL with EINVAL for bad salt.
49957         * crypt/crypt_util.c (bad_for_salt): New.
49958         (_ufc_setup_salt_r): Check that salt is long enough and within
49959         the specified alphabet.
49960         * crypt/badsalttest.c: New file.
49961         * crypt/Makefile (tests): Add it.
49962         ($(objpfx)badsalttest): New.
49964 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
49966         * NEWS: Add entry for BZ #14602.
49968 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
49970         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
49971         type-generic.
49972         * math/libm-test.inc: Update comment listing what functions and
49973         macros are tested.
49974         (isgreater_test): New function.
49975         (isgreaterequal_test): Likewise.
49976         (isless_test): Likewise.
49977         (islessequal_test): Likewise.
49978         (islessgreater_test): Likewise.
49979         (isunordered_test): Likewise.
49980         (main): Call the new functions.
49982 2012-10-09  Roland McGrath  <roland@hack.frob.com>
49984         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
49985         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
49986         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
49987         * sysdeps/i386/configure: Regenerated.
49988         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
49989         * sysdeps/mach/configure: Regenerated.
49990         * sysdeps/mach/hurd/configure: Regenerated.
49991         * sysdeps/powerpc/configure: Regenerated.
49992         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49993         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49994         * sysdeps/s390/s390-32/configure: Regenerated.
49995         * sysdeps/s390/s390-64/configure: Regenerated.
49996         * sysdeps/sh/configure: Regenerated.
49997         * sysdeps/sparc/configure: Regenerated.
49998         * sysdeps/unix/sysv/linux/configure: Regenerated.
49999         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
50000         * sysdeps/x86_64/configure: Regenerated.
50002         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
50003         defined.  Don't check if MAP is NULL.
50005 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
50007         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
50008         (_G_stat64): Likewise.
50009         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
50010         (_G_stat64): Likewise.
50011         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
50012         instead of struct _G_stat64.
50013         * libio/fileops.c (mmap_remap_check): Likewise.
50014         (decide_maybe_mmap): Likewise.
50015         (_IO_new_file_seekoff): Likewise.
50016         (_IO_file_stat): Likewise.
50017         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
50018         _G_off64_t.
50019         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
50020         instead of struct _G_stat64.
50021         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50023 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
50025         [BZ #14602]
50026         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50027         Replace with ...
50028         (CHECK_EOL): New macro.
50029         (two_way_short_needle): Check beginning of haystack for EOL.  Use
50030         CHECK_EOL.
50031         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50032         Replace with CHECK_EOL.
50033         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
50034         Replace with CHECK_EOL.
50036 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
50038         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
50039         type-generic.
50040         * math/libm-test.inc: Update comment listing what functions and
50041         macros are tested.
50042         (finite_test): New function.
50043         (isinf_test): Likewise.
50044         (isnan_test): Likewise.
50045         (fpclassify_test): Test subnormal input.
50046         (isfinite_test): Likewise.
50047         (isnormal_test): Likewise.
50048         (main): Call the new functions.
50050 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
50052         [BZ #14660]
50053         * Makerules (%.dynsym): Force C locale when running
50054         $(OBJDUMP) --dynamic-syms.
50056 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
50058         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
50059         <stdint.h>.
50061 2012-10-06  David S. Miller  <davem@davemloft.net>
50063         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
50064         upper 32-bits of the length value in %o2 since we use branch-on-register
50065         tests which consider the entire 64-bit register.
50067 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
50069         * string/test-strstr.c (check2): Add a test for page boundary.
50071 2012-10-05  David S. Miller  <davem@davemloft.net>
50073         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
50074         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
50075         file.
50076         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50077         sysdep_routines.
50078         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50079         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
50080         and bzero when HWCAP_SPARC_CRYPTO is present.
50082 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
50084         [BZ #14602]
50085         * string/test-strstr.c (check2): New function.
50086         (test_main): Call check2.
50088         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
50089         and bug-strchr1.
50090         * string/bug-strcasestr1.c (do_test): Moved to ...
50091         * string/test-strcasestr.c (check1): Here.  New function.
50092         (do_one_test): Break out result checking code into ...
50093         (check_result): This.  New function.
50094         (do_one_test): Call check_result.
50095         (test_main): Call check1.
50096         * string/bug-strchr1.c (do_test): Moved to ...
50097         * string/test-strchr.c (check1): Here.  New function.
50098         (do_one_test): Break out result checking code into ...
50099         (check_result): This.  New function.
50100         (do_one_test): Call check_result.
50101         (test_main): Call check1.
50102         * string/bug-strstr1.c (main): Moved to ...
50103         * string/test-strstr.c (check1): Here.  New function.
50104         (do_one_test): Break out result checking code into ...
50105         (check_result): This.  New function.
50106         (do_one_test): Call check_result.
50107         (test_main): Call check1.
50108         * string/bug-strcasestr1.c: Removed.
50109         * string/bug-strchr1.c: Likewise.
50110         * string/bug-strstr1.c: Likewise.
50112         * elf/Makefile (dl-routines): Add hwcaps.
50113         * elf/dl-support.c (_dl_important_hwcaps): Removed.
50114         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
50115         (_dl_important_hwcaps): Moved to ...
50116         * elf/dl-hwcaps.c: Here.  New file.
50117         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
50119         [BZ #14557]
50120         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
50121         if IS_IN_rtld isn't defined.
50123         * elf/dl-support.c (_dl_sysinfo_map): New.
50124         Include "get-dynamic-info.h" and "setup-vdso.h".
50125         (_dl_non_dynamic_init): Call setup_vdso.
50126         * elf/dynamic-link.h: Don't include <assert.h>.
50127         (elf_get_dynamic_info): Moved to ...
50128         * elf/get-dynamic-info.h: Here.  New file.
50129         * elf/dynamic-link.h: Include "get-dynamic-info.h".
50130         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
50131         * elf/setup-vdso.h: Here.  New file.
50132         * elf/rtld.c: Include "setup-vdso.h".
50133         (dl_main): Call setup_vdso.
50135 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
50137         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
50138         creal in comment listing functions tested.  List finite, isinf,
50139         isnan, isless, islessequal, isgreater, isgreaterequal,
50140         islessgreater, isunordered, lgamma_r and pow10 as functions and
50141         macros not tested.  Mention which functions not tested are aliases
50142         for other functions.  Fix typo.  Note that signs of NaNs are not
50143         tested.
50145         * scripts/config.guess: Update from config.git.
50146         * scripts/config.sub: Likewise.
50148 2012-10-04  Roland McGrath  <roland@hack.frob.com>
50150         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
50151         * misc/madvise.c (madvise): Renamed to __madvise.
50152         Make madvise a weak alias.
50153         * include/sys/mman.h: Declare __madvise.
50154         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
50155         * sysdeps/unix/syscalls.list
50156         (madvise): Make __madvise the strong name, and madvise a weak alias.
50157         * sysdeps/unix/sysv/linux/syscalls.list
50158         (madvise, mmap): Remove redundant entries.
50159         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
50160         * malloc/malloc.c (mtrim): Likewise.
50161         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
50163 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50165         * sysdeps/mach/hurd/dl-cache.c: File removed.
50166         * config.h.in (USE_LDCONFIG): New #undef.
50167         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
50168         * configure: Regenerated.
50169         * elf/Makefile (dl-routines): Add dl-cache only under
50170         [$(use-ldconfig) = yes].
50171         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
50172         cache on [USE_LDCONFIG].
50173         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
50174         [USE_LDCONFIG].
50175         * elf/rtld.c (dl_main): Likewise.
50177 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
50179         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
50180         _SC_LEVEL4_CACHE_LINESIZE.
50182 2012-10-03  Roland McGrath  <roland@hack.frob.com>
50184         * sysdeps/unix/bsd/confstr.h: File removed.
50186 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
50188         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
50189         sys/sdt-config.h.
50191 2012-10-02  Roland McGrath  <roland@hack.frob.com>
50193         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
50194         Make 'mapoff' field ElfW(Off) rather than off_t.
50196 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
50198         * nscd/Makefile: Remove nscd-cflags and all its users.
50199         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
50200         (CFLAGS-nonlib): Add compiler flags for nscd modules.
50202         [BZ #10631]
50203         * malloc.c (malloc_printerr): Clarify error message.
50205 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
50207         [BZ #14648]
50208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50209         Set bit_FMA_Usable if FMA is supported.
50210         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
50211         macro.
50212         (bit_FMA4_Usable): Updated.
50213         (index_FMA_Usable): New macro.
50214         (CPUID_FMA): Likewise
50215         (HAS_FMA): Defined with bit_FMA_Usable.
50217 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50219         * bits/types.h (__swblk_t): Type removed.
50220         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
50221         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
50222         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50223         (__SWBLK_T_TYPE): Likewise.
50224         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
50225         (__SWBLK_T_TYPE): Likewise.
50226         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50227         (__SWBLK_T_TYPE): Likewise.
50228         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50229         (__SWBLK_T_TYPE): Likewise.
50231 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
50232             Honza Horak <hhorak@redhat.com>
50234         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
50235         (xdr_mapname): Use YPMAXMAP as maxsize.
50236         (xdr_peername): Use YPMAXPEER as maxsize.
50237         (xdr_keydat): Use YPAXRECORD as maxsize.
50238         (xdr_valdat): Use YPMAXRECORD as maxsize.
50240 2012-10-01  Roland McGrath  <roland@hack.frob.com>
50242         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
50244         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
50245         * csu/init-first.c: ... here.
50246         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
50247         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
50248         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
50249         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
50250         * sysdeps/i386/init-first.c: File removed.
50251         * sysdeps/sh/init-first.c: File removed.
50253 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
50255         [BZ #14645]
50256         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
50257         if x * y might underflow to zero and z is zero.
50258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50259         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50260         * math/libm-test.inc (min_subnorm_value): New variable.
50261         (fma_test): Add more tests.
50262         (fma_test_towardzero): Likewise.
50263         (fma_test_downward): Likewise
50264         (fma_test_upward): Likewise.
50265         (initialize): Set min_subnorm_value.
50267 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
50269         [BZ #14638]
50270         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
50271         0 + 0.
50272         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
50273         mode for addition resulting in exact zero.
50274         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
50275         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
50276         exact 0 + 0.
50277         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50278         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50279         * math/libm-test.inc (fma_test): Add more tests.
50280         (fma_test_towardzero): New function.
50281         (fma_test_downward): Likewise.
50282         (fma_test_upward): Likewise.
50283         (main): Call the new functions.
50285 2012-09-28  David S. Miller  <davem@davemloft.net>
50287         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
50289 2012-09-28  Roland McGrath  <roland@hack.frob.com>
50291         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
50292         instead of SIGALRM.
50294         * sysdeps/gnu/_G_config.h: Moved to ...
50295         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
50296         * sysdeps/mach/hurd/_G_config.h: Moved to ...
50297         * sysdeps/generic/_G_config.h: ... here.
50299         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
50301         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
50303         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
50304         Conditionalize target on [libnss_test1.so-version].
50306         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
50308         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
50309         (elfobjdir): Move out of conditionals.
50311         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
50312         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
50313         (__nss_lookup_function): Conditionalize label remove_from_tree on
50314         [!DO_STATIC_NSS || SHARED], matching its only use.
50316 2012-09-28  David S. Miller  <davem@davemloft.net>
50318         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
50319         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
50320         file.
50321         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
50322         sysdep_routines.
50323         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
50324         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
50325         when HWCAP_SPARC_CRYPTO is present.
50327 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50329         * io/tst-mknodat.c: Create a FIFO instead of a socket.
50331 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
50333         [BZ #6530]
50334         * stdio-common/vfprintf.c (process_string_arg): Revert
50335         2000-07-22 change.
50337 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
50339         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
50340         for testcase.
50341         * stdio-common/tst-sprintf.c: Include <locale.h>
50342         (main): Test sprintf's handling of incomplete multibyte
50343         characters.
50345 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
50347         * elf/dl-runtime.c (VERSYMIDX): Removed.
50348         * elf/dl-version.c (VERSYMIDX): Likewise.
50349         * elf/do-rel.h (VERSYMIDX): Likewise.
50350         (VALIDX): Likewise.
50351         * elf/dynamic-link.h (VERSYMIDX): Likewise.
50352         * elf/rtld.c (VALIDX): Likewise.
50353         (ADDRIDX): Likewise.
50354         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
50355         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
50356         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
50357         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
50358         (VALIDX): Likewise.
50359         (ADDRIDX): Likewise.
50361 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50363         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
50365 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
50367         [BZ #11438]
50368         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
50369         to global scope.
50370         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
50371         addresses are in the same scope as 192.0.2/24.
50372         * posix/gai.conf: Document new scope table defaults.
50374 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50376         [BZ #5298]
50377         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
50378         for ftell.  Compute offsets from write pointers instead.
50379         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
50381 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50383         [BZ #14543]
50384         * libio/Makefile (tests): New test case tst-fseek.
50385         * libio/tst-fseek.c: New test case to verify that fseek/ftell
50386         combination works in wide mode.
50387         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
50388         state when the external buffer state changes.
50390 2012-09-27  David S. Miller  <davem@davemloft.net>
50392         [BZ #14376]
50393         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
50394         pass reloc->r_addend in as the 'high' argument to
50395         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
50397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50399 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
50401         * rt/tst-aio2.c: Include <pthread.h>.
50402         * rt/tst-aio3.c: Likewise.
50404 2012-09-27  Steve Ellcey  <sellcey@mips.com>
50406         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
50408 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
50410         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
50411         contents on [SHARED].
50413 2012-09-26  Marek Polacek  <polacek@redhat.com>
50415         [BZ #14530]
50416         [BZ #13741]
50417         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
50418         for C++ and GCC <4.3 as well as for non GCC compilers.
50420 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50424 2012-09-25  Roland McGrath  <roland@hack.frob.com>
50426         * Makefile.in (all, install): Declare with .PHONY.
50427         Reported by Michael Hope <michael.hope@linaro.org>.
50429 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50431         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
50432         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
50433         system header.
50434         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
50435         Likewise.
50436         (sydep_routines): Add the new and the internal functions.
50437         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
50438         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
50439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
50440         (GLIBC_2.17): Add the new function.
50441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50442         (GLIBC_2.17): Likewise.
50443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
50444         (GLIBC_2.17): Likewise.
50445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
50446         (GLIBC_2.17): Likewise.
50447         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
50449 2012-09-25  Alan Modra  <amodra@gmail.com>
50451         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
50452         Add release barrier before setting once_control to say
50453         initialisation is done.  Add hints on lwarx.  Use macro in
50454         place of isync.
50455         (clear_once_control): Add release barrier.
50457 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50459         [BZ #13629]
50460         * math/s_clog.c (__clog): Handle more values close to |z| = 1
50461         specially.
50462         * math/s_clog10.c (__clog10): Likewise.
50463         * math/s_clog10f.c (__clog10f): Likewise.
50464         * math/s_clog10l.c (__clog10l): Likewise.
50465         * math/s_clogf.c (__clogf): Likewise.
50466         * math/s_clogl.c (__clogl): Likewise.
50467         * math/Makefile (libm-calls): Add x2y2m1.
50468         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
50469         (__x2y2m1): Likewise.
50470         (__x2y2m1l): Likewise.
50471         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
50472         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
50473         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
50474         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50475         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
50476         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
50477         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
50478         * sysdeps/i386/fpu/libm-test-ulps: Update.
50479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50481         [BZ #14621]
50482         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
50483         int as type of variable DEPTH.
50484         (glob): Use size_t instead of int as type of variables NEWCOUNT
50485         and OLD_PATHC.
50487 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50489         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
50490         Add s_sincosf-sse2.
50491         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
50492         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
50493         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
50494         macros for using routine as __sincosf_ia32.
50495         Use macro for function declaration and weak_alias.
50496         * sysdeps/i386/fpu/libm-test-ulps: Update.
50498         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
50499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50501         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
50502         subnormal argument.
50503         * math/s_cexpf.c (__cexpf): Likewise.
50504         * math/s_csinf.c (__csinf): Likewise.
50505         * math/s_csinhf.c (__csinhf): Likewise.
50506         * math/s_ctanf.c (__ctanf): Likewise.
50507         * math/s_ctanhf.c (__ctanhf): Likewise.
50508         * math/s_ccosh.c (__ccoshf): Likewise.
50509         * math/s_cexp.c (__cexpl): Likewise.
50510         * math/s_csin.c (__csin): Likewise.
50511         * math/s_csinh.c (__csinh): Likewise.
50512         * math/s_ctan.c (__ctan): Likewise.
50513         * math/s_ctanh.c (ctanh): Likewise.
50514         * math/s_ccoshl.c (__ccoshl): Likewise.
50515         * math/s_cexpl.c (__cexpl): Likewise.
50516         * math/s_csinl.c (__csinl): Likewise.
50517         * math/s_csinhl.c (__csinhl): Likewise.
50518         * math/s_ctanl.c (__ctanl): Likewise.
50519         * math/s_ctanhl.c (__ctanhl): Likewise.
50521 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
50523         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
50524         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
50525         (_IO_off_t): Define to __off_t, not _G_off_t.
50526         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
50527         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
50528         (_IO_wint_t): Define to wint_t, not _G_wint_t.
50529         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
50530         type of __dummy and __dummy2 fields.
50531         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
50532         (_G_ssize_t): Likewise.
50533         (_G_off_t): Likewise.
50534         (_G_pid_t): Likewise.
50535         (_G_uid_t): Likewise.
50536         (_G_wchar_t): Likewise.
50537         (_G_wint_t): Likewise.
50538         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
50539         (_G_ssize_t): Likewise.
50540         (_G_off_t): Likewise.
50541         (_G_pid_t): Likewise.
50542         (_G_uid_t): Likewise.
50543         (_G_wchar_t): Likewise.
50544         (_G_wint_t): Likewise.
50545         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
50546         (_G_ssize_t): Likewise.
50547         (_G_off_t): Likewise.
50548         (_G_pid_t): Likewise.
50549         (_G_uid_t): Likewise.
50550         (_G_wchar_t): Likewise.
50551         (_G_wint_t): Likewise.
50553 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50555         * malloc/arena.c: Include malloc-sysdep.h.
50556         (shrink_heap): Use check_may_shrink_heap to decide if madvise
50557         is sufficient to shrink the heap or an unmap is needed.
50558         * sysdeps/generic/malloc-sysdep.h: New file.  Define
50559         new function check_may_shrink_heap.
50560         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
50561         new function check_may_shrink_heap.
50563 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50565         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
50566         comments.
50568 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
50570         * catgets/test-gencat.sh: Add "set -e".
50571         * elf/tst-pathopt.sh: Likewise.
50572         * grp/tst_fgetgrent.sh: Likewise.
50573         * iconvdata/run-iconv-test.sh: Likewise.
50574         * intl/tst-gettext.sh: Likewise.
50575         * intl/tst-gettext2.sh: Likewise.
50576         * intl/tst-gettext4.sh: Likewise.
50577         * intl/tst-gettext6.sh: Likewise.
50578         * intl/tst-translit.sh: Likewise.
50579         * io/ftwtest-sh: Likewise.
50580         * libio/test-freopen.sh: Likewise.
50581         * malloc/tst-mtrace.sh: Likewise.
50582         * posix/globtest.sh: Likewise.
50583         * posix/tst-getconf.sh: Likewise.
50584         * posix/wordexp-tst.sh: Likewise.
50585         * stdio-common/tst-printf.sh: Likewise.
50586         * stdio-common/tst-unbputc.sh: Likewise.
50587         * stdlib/tst-fmtmsg.sh: Likewise.
50588         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
50589         * catgets/Makefile: Do not specify -e option when running
50590         testsuite shell scripts.
50591         * elf/Makefile: Likewise.
50592         * grp/Makefile: Likewise.
50593         * iconvdata/Makefile: Likewise.
50594         * intl/Makefile: Likewise.
50595         * io/Makefile: Likewise.
50596         * libio/Makefile: Likewise.
50597         * malloc/Makefile: Likewise.
50598         * posix/Makefile: Likewise.
50599         * stdio-common/Makefile: Likewise.
50600         * stdlib/Makefile: Likewise.
50601         * sysdeps/x86_64/Makefile: Likewise.
50603         * io/ftwtest-sh: Add copyright header.
50604         * posix/globtest.sh: Likewise.
50605         * posix/tst-getconf.sh: Likewise.
50606         * posix/wordexp-tst.sh: Likewise.
50607         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
50609 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
50611         [BZ #13679]
50612         * Makeconfig (+link): Defined as $(+link-static) if
50613         $(build-shared) isn't yes.
50614         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
50615         isn't yes.
50616         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
50618         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
50620         [BZ #14562]
50621         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
50622         new chunk size with MALLOC_ALIGN_MASK.
50624 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
50626         [BZ #5044]
50627         * stdio-common/printf_fphex.c: Include <stdbool.h> and
50628         <rounding-mode.h>.
50629         (__printf_fphex): Determine rounding using get_rounding_mode and
50630         round_away.
50631         * stdio-common/tst-printf-round.c (struct hex_test): New
50632         structure.
50633         (hex_tests): New variable.
50634         (test_hex_in_one_mode): New function.
50635         (do_test): Also run tests for hex float output.
50637 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
50639         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
50640         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
50641         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
50642         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
50643         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
50644         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
50645         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
50646         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
50648 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
50650         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
50651         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
50652         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
50653         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
50655 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
50657         [BZ #14579]
50658         * elf/rtld.c (dl_main): Limit the check for self loading to normal
50659         mode only.
50660         * elf/tst-rtld-load-self.sh: New test.
50661         * elf/Makefile: Run it.
50663 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
50665         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
50666         (tst-writev-ENV): Remove.
50667         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
50669 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
50671         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
50673 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
50675         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
50676         unconditional.
50677         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
50678         Likewise.
50679         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
50680         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
50681         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
50682         Likewise.
50684 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
50686         [BZ #14587]
50687         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
50688         * config.make.in (have-cpp-asm-debuginfo): Removed.
50689         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
50690         * configure: Regenerated.
50692 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
50694         [BZ #5044]
50695         * stdio-common/printf_fp.c: Include <stdbool.h> and
50696         <rounding-mode.h>.
50697         (___printf_fp): Determine rounding using get_rounding_mode and
50698         round_away.
50699         * stdio-common/tst-printf-round.c: New file.
50700         * stdio-common/Makefile (tests): Add tst-printf-round.
50701         (link-libm): New variable.
50702         ($(objpfx)tst-printf-round): Depend in $(link-libm).
50704 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
50706         [BZ #14576]
50707         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
50708         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
50709         Likewise.
50710         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
50711         Likewise.
50713 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
50715         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
50716         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50717         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50718         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
50720 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
50722         [BZ #14518]
50723         * include/rounding-mode.h: New file.
50724         * sysdeps/generic/get-rounding-mode.h: Likewise.
50725         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
50726         * stdlib/strtod_l.c: Include <rounding-mode.h>.
50727         (MAX_VALUE): New macro.
50728         (MIN_VALUE): Likewise.
50729         (overflow_value): New function.
50730         (underflow_value): Likewise.
50731         (round_and_return): Use overflow_value and underflow_value to
50732         determine return values in overflow and underflow cases.  Use
50733         round_away to determine rounding depending on rounding mode.
50734         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
50735         determine return values in overflow and underflow cases.
50736         * stdlib/tst-strtod-round.c: Include <fenv.h>.
50737         (struct test_results): New structure.
50738         (struct test): Use struct test_results to store expected results
50739         for all rounding modes.
50740         (TEST): Include expected results for all rounding modes.
50741         (test_in_one_mode): New function.
50742         (do_test): Use test_in_one_mode to compute and check results.
50743         Check results for all rounding modes.
50744         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
50745         $(link-libm).
50747 2012-12-09  Allan McRae  <allan@archlinux.org>
50749         * sysdeps/i386/fpu/libm-test-ulps: Update
50751 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
50753         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
50754         (_G_int32_t): Likewise.
50755         (_G_uint16_t): Likewise.
50756         (_G_uint32_t): Likewise.
50757         (_G_HAVE_BOOL): Likewise.
50758         (_G_HAVE_ATEXIT): Likewise.
50759         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50760         (_G_HAVE_IO_FILE_OPEN): Likewise.
50761         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
50762         (_G_int32_t): Likewise.
50763         (_G_uint16_t): Likewise.
50764         (_G_uint32_t): Likewise.
50765         (_G_HAVE_BOOL): Likewise.
50766         (_G_HAVE_ATEXIT): Likewise.
50767         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50768         (_G_HAVE_IO_FILE_OPEN): Likewise.
50769         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
50770         (_G_int32_t): Likewise.
50771         (_G_uint16_t): Likewise.
50772         (_G_uint32_t): Likewise.
50773         (_G_HAVE_BOOL): Likewise.
50774         (_G_HAVE_ATEXIT): Likewise.
50775         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
50776         (_G_HAVE_IO_FILE_OPEN): Likewise.
50778 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
50780         * csu/libc-tls.c: Update copyright years.
50782 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
50784         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
50785         [!_G_USING_THUNKS]: Remove conditional code.
50786         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
50787         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
50789         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
50790         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
50791         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50792         (_G_VTABLE_LABEL_PREFIX): Likewise.
50793         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50794         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50795         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50796         (_G_VTABLE_LABEL_PREFIX): Likewise.
50797         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
50798         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
50799         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
50800         (_G_VTABLE_LABEL_PREFIX): Likewise.
50801         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
50803 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
50805         * libio/Makefile: Include ../Makeconfig before tests.
50806         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
50807         only if $(build-shared) is yes.
50809         * iconv/gconv_db.c: Update copyright years.
50811 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50813         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
50814         unwind info if defined PIC. Fix special cases description.
50815         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
50817         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
50818         DP_HI_MASK entry.
50819         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
50821 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
50823         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
50825         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
50826         is NULL.
50828         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
50829         (LDLIBS-tst-chk4): This.
50830         (LDFLAGS-tst-chk5): Renamed to ...
50831         (LDLIBS-tst-chk5): This.
50832         (LDFLAGS-tst-chk6): Renamed to ...
50833         (LDLIBS-tst-chk6): This.
50834         (LDFLAGS-tst-lfschk4): Renamed to ...
50835         (LDLIBS-tst-lfschk4): This.
50836         (LDFLAGS-tst-lfschk5): Renamed to ...
50837         (LDLIBS-tst-lfschk5): This.
50838         (LDFLAGS-tst-lfschk6): Renamed to ...
50839         (LDLIBS-tst-lfschk6): This.
50841         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
50842         on $(common-objpfx)soversions.mk.
50844 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
50846         [BZ #10014]
50847         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
50848         example host name.
50850 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
50852         * malloc/arena.c (arena_get_retry): New function that gets
50853         another arena for the caller to try its request on.
50854         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
50855         current arena cannot fulfill the request.
50856         (__libc_memalign): Likewise.
50857         (__libc_memalign): Likewise.
50858         (__libc_pvalloc): Likewise.
50859         (__libc_calloc): Likewise.
50861 2012-09-05  John Tobey  <john.tobey@gmail.com>
50863         [BZ #13542]
50864         * manual/arith.texi (Operations on Complex): Fix description
50865         of carg branch cut.
50867 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50869         [BZ #10014]
50870         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
50871         host name.
50873         [BZ #10038]
50874         * manual/memory.texi (Memory): Make order of menu items match
50875         order of sections.
50877 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50879         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
50880         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
50881         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
50883 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50885         * csu/libc-tls.c (static_dtv): Renamed to ...
50886         (_dl_static_dtv): This.  Make it global.
50887         (_dl_initial_dtv): Removed.
50888         (__libc_setup_tls): Updated.
50889         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
50890         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
50891         DL_INITIAL_DTV.
50893 2012-09-06  Petr Machata  <pmachata@redhat.com>
50895         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
50896         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
50897         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
50898         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
50900 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50902         [BZ #14545]
50903         * csu/libc-tls.c (_dl_initial_dtv): New variable.
50904         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
50905         freeing dtv[-1].
50907 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
50909         [BZ #14544]
50910         * Makeconfig (link-static-before-libc): Replace $(+prector)
50911         with $(+prectorT).
50912         (link-static-after-libc): Replace $(+postctor) with
50913         $(+postctorT).
50914         (link-bounded): Replace $(+prector)/$(+postctor) with
50915         $(+prectorT)/$(+postctorT).
50916         (+prectorT): New macro.
50917         (+postctorT): Likewise.
50919 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
50921         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
50922         (round_str): Handle values above the maximum for IBM long double
50923         as inexact.
50924         * stdlib/tst-strtod-round.c (tests): Regenerated.
50926 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50928         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
50929         assembler flag.
50930         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
50931         zarch_nohighgprs around the zarch optimized routines.
50932         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
50933         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
50934         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
50935         for zarch.
50937 2012-09-05  David S. Miller  <davem@davemloft.net>
50939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50941         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
50942         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
50943         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
50944         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50945         entries.
50947 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50949         * malloc/arena.c: Fold copyright years.
50950         * malloc/mcheck.c, malloc/memusage.c: Likewise.
50952 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50954         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
50956 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50958         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
50960 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50962         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
50963         change internal state upon failure.
50965 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
50967         * malloc/mcheck.c (mcheck_check_all): Fix typo.
50968         * malloc/memusage.c (mmap): Likewise.
50969         (mmap64, mremap): Likewise.  Adjust name in comment.
50971 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50973         * libio/fileops.c: Fix typos in comments.
50974         * libio/oldfileops.c: Likewise.
50975         * libio/wfileops.c: Likewise.
50977 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50979         [BZ #1349]
50980         * malloc/Makefile (tests): Add tst-malloc-usable test case.
50981         (tst-malloc-usable-ENV): Set environment for test case.
50982         * malloc/hooks.c (malloc_check_get_size): New function to get
50983         requested size.
50984         * malloc/malloc.c (musable): Use malloc_check_get_size.
50985         * malloc/tst-malloc-usable.c: New test case.
50987 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
50989         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
50991 2012-09-05  Allan McRae  <allan@archlinux.org>
50993         [BZ #13966]
50994         * configure.in (CXX_SYSINCLUDES): Use compiler output to
50995         determine header location.
50996         * configure: Regenerated.
50998 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
51000         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
51001         float format.
51002         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
51003         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
51004         format.
51005         (test): Regenerate.
51007 2012-09-04  David S. Miller  <davem@davemloft.net>
51009         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
51010         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
51011         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
51013 2012-09-04  Florian Weimer  <fweimer@redhat.com>
51015         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
51016         failures.
51018         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
51020 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
51022         [BZ #9914]
51023         * libio/iogetdelim.c: Include <limits.h>.
51024         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
51025         + len + 1 would overflow.
51027 2012-09-03  Andreas Jaeger  <aj@suse.de>
51029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51030         * sysdeps/i386/fpu/libm-test-ulps: Update.
51032 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51034         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51035         Add s_sinf-sse2, s_conf-sse2.
51037         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
51038         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
51039         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
51040         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
51042         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
51043         for using routine as __sinf_ia32.
51044         Use macro for function declaration and weak_alias.
51045         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
51046         for using routine as __cosf_ia32.
51047         Use macro for function declaration and weak_alias.
51049         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
51050         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
51052         * sysdeps/x86_64/fpu/s_sinf.S: New file.
51053         * sysdeps/x86_64/fpu/s_cosf.S: New file.
51054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51056         * math/libm-test.inc (cos_test): Add more test cases.
51057         (sin_test): Likewise.
51058         (sincos_test): Likewise.
51060 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51062         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
51063         (IFUNC_RESOLVE): Make pointers to the specialized implementations
51064         hidden.
51065         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51067 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
51069         [BZ #14538]
51070         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
51071         first element of the GOT.
51072         (elf_machine_load_address): Return the difference between
51073         the runtime address of _DYNAMIC and elf_machine_dynamic ().
51075 2012-09-01  Allan McRae  <allan@archlinux.org>
51077         [BZ #13412]
51078         * configure.in (AWK): Require gawk version 3.0 or later.
51079         * configure: Regenerated.
51081 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
51083         * sysdeps/unix/sysv/linux/kernel-features.h
51084         (__ASSUME_POSIX_CPU_TIMERS): Remove.
51085         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51086         [__NR_clock_getres]: Make code unconditional.
51087         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
51088         (clock_getcpuclockid): Remove code left unreachable by removal of
51089         conditionals.
51090         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
51091         code unconditional.
51092         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51093         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51094         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
51095         Make code unconditional.
51096         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
51097         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51098         * sysdeps/unix/sysv/linux/clock_settime.c
51099         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
51100         conditional code.
51101         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
51102         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
51104 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
51106         [BZ #14476]
51107         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
51108         scripts/test-installation.pl.
51110         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
51111         and $ld_so_version if it is set.
51113 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51115         [BZ #14516]
51116         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
51117         failure if reading from procfs failed.
51118         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
51120 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51122         * sysdeps/unix/sysv/linux/kernel-features.h
51123         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
51124         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51125         Remove conditional code.
51126         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51127         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
51128         Remove conditional code.
51129         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51130         * sysdeps/unix/sysv/linux/i386/fxstat.c
51131         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51132         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51133         * sysdeps/unix/sysv/linux/i386/fxstatat.c
51134         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51135         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51136         * sysdeps/unix/sysv/linux/i386/lxstat.c
51137         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
51138         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51139         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
51140         Remove conditional code.
51141         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51142         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
51143         Remove conditional code.
51144         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51145         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
51146         <kernel-features.h>.
51147         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
51148         Remove.
51149         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
51150         Remove conditional code.
51151         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
51152         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
51153         Remove conditional.
51155 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
51157         [BZ #5400]
51158         * NEWS: Add fixed bug number.
51160 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
51162         [BZ #14519]
51163         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
51164         underflowing exponent in case of negative sign.
51165         * stdlib/tst-strtod-round-data: Add more tests.
51166         * stdlib/tst-strtod-round.c (tests): Regenerated.
51168         [BZ #3479]
51169         * stdlib/strtod_l.c (NDIG): Remove.
51170         (HEXNDIG): Likewise.
51171         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
51172         smallest representable value.
51173         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
51174         lie within an exact representation of 1/2 ulp of the result.
51175         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
51176         unconditionally.
51177         (TENS_P9_IDX): Define unconditionally.
51178         (TENS_P9_SIZE): Likewise.
51179         (TENS_P10_IDX): Likewise.
51180         (TENS_P10_SIZE): Likewise.
51181         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
51182         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
51183         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
51184         entries for 10^2^13 and 10^2^14.
51185         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
51186         (TENS_P13_IDX): Define.
51187         (TENS_P13_SIZE): Likewise.
51188         (TENS_P14_IDX): Likewise.
51189         (TENS_P14_SIZE): Likewise.
51190         (_fpioconst_pow10): Change array size to
51191         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
51192         unconditional.
51193         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
51194         1024]: Add entries for 10^2^13 and 10^2^14.
51195         [LAST_POW10 > _LAST_POW10]: Remove #error.
51196         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
51197         (_fpioconst_pow10): Change array size to
51198         FPIOCONST_POW10_ARRAY_SIZE.
51199         * stdlib/gen-fpioconst.c: New file.
51200         * stdlib/gen-tst-strtod-round.c: Likewise.
51201         * stdlib/tst-strtod-round-data: Likewise.
51202         * stdlib/tst-strtod-round.c: Likewise.
51203         * stdlib/Makefile (tests): Add tst-strtod-round.
51205         [BZ #14459]
51206         * stdlib/strtod_l.c: Include <stdint.h>.
51207         (NDEBUG): Do not define.
51208         (round_and_return): Change EXPONENT parameter to type intmax_t.
51209         Rearrange calculations to avoid internal overflow possibilities.
51210         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
51211         Rearrange calculations to avoid internal overflow possibilities.
51212         Assert that number fits inside MPNSIZE limbs.
51213         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
51214         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
51215         calculations and add assertions to avoid internal overflow
51216         possibilities.  Add casts to avoid signed/unsigned operations.
51217         * stdlib/tst-strtod-overflow.c: New file.
51218         * stdlib/Makefile (tests): Add tst-strtod-overflow.
51220 2012-08-25  Marek Polacek  <polacek@redhat.com>
51222         * time/time.h: Fix some typos in comments.
51224 2012-08-23  Roland McGrath  <roland@hack.frob.com>
51226         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
51227         * posix/tst-rfc3484-2.c: Likewise.
51228         * posix/tst-rfc3484-3.c: Likewise.
51230 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
51232         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
51233         (EF_ARM_ABI_FLOAT_HARD): Likewise.
51235 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
51237         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
51238         #include of fxstatat64.c.
51240 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51242         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
51243         * shadow/getspent_r.c: Likewise.
51244         * shadow/getspnam.c: Likewise.
51245         * shadow/getspnam_r.c: Likewise.
51246         * gshadow/getsgent.c: Likewise.
51247         * gshadow/getsgent_r.c: Likewise.
51248         * gshadow/getsgnam.c: Likewise.
51249         * gshadow/getsgnam_r.c: Likewise.
51250         * inet/getnetbyad.c: Likewise.
51251         * inet/getnetbyad_r.c: Likewise.
51252         * inet/getnetbynm.c: Likewise.
51253         * inet/getnetbynm_r.c: Likewise.
51254         * inet/getnetent.c: Likewise.
51255         * inet/getnetent_r.c: Likewise.
51256         * inet/getproto.c: Likewise.
51257         * inet/getproto_r.c: Likewise.
51258         * inet/getprtent.c: Likewise.
51259         * inet/getprtent_r.c: Likewise.
51260         * inet/getprtname.c: Likewise.
51261         * inet/getprtname_r.c: Likewise.
51262         * inet/getrpcbyname.c: Likewise.
51263         * inet/getrpcbyname_r.c: Likewise.
51264         * inet/getrpcbynumber.c: Likewise.
51265         * inet/getrpcbynumber_r.c: Likewise.
51266         * inet/getrpcent.c: Likewise.
51267         * inet/getrpcent_r.c: Likewise.
51268         * inet/getaliasent.c: Likewise.
51269         * inet/getaliasent_r.c: Likewise.
51270         * inet/getaliasname.c: Likewise.
51271         * inet/getaliasname_r.c: Likewise.
51272         * nscd/getgrgid_r.c: Likewise.
51273         * nscd/getgrnam_r.c: Likewise.
51274         * nscd/gethstbyad_r.c: Likewise.
51275         * nscd/gethstbynm3_r.c: Likewise.
51276         * nscd/getpwnam_r.c: Likewise.
51277         * nscd/getpwuid_r.c: Likewise.
51278         * nscd/getsrvbynm_r.c: Likewise.
51279         * nscd/getsrvbypt_r.c: Likewise.
51280         * nscd/gai.c: Likewise.
51282         * configure.in (build_nscd): New substituted variable, set
51283         by --disable-build-nscd and defaults to $use_nscd.
51284         * configure: Regenerated.
51285         * config.make.in (build-nscd): New substituted variable.
51286         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
51287         Change conditional to require [$(build-nscd) = yes] as well.
51288         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
51290         [BZ# 13696]
51291         * configure.in (use_nscd): New substituted variable, set by
51292         --disable-nscd.  If enabled, define USE_NSCD.
51293         * configure: Regenerated.
51294         * config.h.in: Add USE_NSCD.
51295         * config.make.in (use-nscd): New substituted variable.
51296         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
51297         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
51298         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
51299         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
51300         (CFLAGS-getgrnam_r.c): Likewise.
51301         (CFLAGS-initgroups.c): Likewise.
51302         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
51303         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
51304         Variables removed.
51305         * inet/getnetgrent_r.c
51306         (nscd_setnetgrent): New function, broken out of ...
51307         (setnetgrent): ... here.  Call it.
51308         (innetgr): Conditionalize nscd bits on [USE_NSCD].
51309         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
51310         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
51311         * nscd/Makefile (routines, aux): Move definitions after include of
51312         Makeconfig.  Conditionalize on [$(use-nscd) != no].
51313         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
51314         Conditionalize on [USE_NSCD].
51315         (is_nscd, nscd_init_cb): Likewise.
51316         (nss_load_library): Conditionalize init callback on [USE_NSCD].
51317         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
51318         * nss/nss_db/db-init.c: Likewise.
51319         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
51320         [USE_NSCD].
51321         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
51322         (make_request): Use it.
51323         (cache_valid_p): New function.
51324         (__check_pf): Use it.
51325         * NEWS: Add item for --disable-nscd.
51327 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
51329         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
51330         to support sed >= 4.2.1-20-ga9bf076.
51331         * configure: Regenerated.
51333 2012-08-22  Roland McGrath  <roland@hack.frob.com>
51335         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
51336         Conditionalize whole body on [IREL].
51338 2012-08-22  Jeff Law <law@redhat.com>
51340         [BZ #14505]
51341         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
51342         if the family is PF_UNSPEC.
51344 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
51346         * Makerules (lib-version): Rename from V.
51347         (install-lib-nosubdir): Change V to lib-version.
51349 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
51351         [BZ #14252]
51352         * powerpc32/power6/wcschr.c: New file.
51353         * powerpc32/power6/wcscpy.c: New file.
51354         * powerpc32/power6/wcsrchr.c: New file.
51355         * powerpc64/power6/wcschr.c: New file.
51356         * powerpc64/power6/wcscpy.c: New file.
51357         * powerpc64/power6/wcsrchr.c: New file.
51359 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51361         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
51362         (two_way_short_needle): Use it.
51363         * string/strstr.c (AVAILABLE1_USES_J): Define.
51364         * string/strcasestr.c: Likewise.
51366         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
51367         array references.
51368         * string/strcasestr.c (TOLOWER): Make side-effect safe.
51370         [BZ #11607]
51371         * NEWS: Add an entry.
51372         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
51373         define their defaults.
51374         (two_way_short_needle): Detect end-of-string on-the-fly.
51375         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
51376         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
51377         * string/bug-strcasestr1.c: New test.
51378         * string/Makefile: Run it.
51380 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
51382         [BZ #11607]
51383         * string/str-two-way.h (two_way_short_needle): Optimize matching of
51384         the first character.
51386 2012-08-21  Roland McGrath  <roland@hack.frob.com>
51388         * csu/elf-init.c (__libc_csu_irel): Function removed.
51389         * csu/libc-start.c (apply_irel): New function.
51390         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
51392 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
51394         * sysdeps/unix/sysv/linux/kernel-features.h
51395         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
51396         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
51397         <kernel-features.h>.
51398         [__NR_fadvise64_64]: Make code unconditional.
51399         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
51400         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51401         !__NR_fadvise64_64)]: Likewise.
51402         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
51403         !__NR_fadvise64_64))]: Likewise.
51404         [__NR_fadvise64]: Make code unconditional.
51405         [!__NR_fadvise64]: Remove conditional code.
51406         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
51407         <kernel-features.h>.
51408         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51409         unconditional.
51410         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51411         conditional code.
51412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
51413         not include <kernel-features.h>.
51414         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51415         unconditional.
51416         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51417         conditional code.
51418         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
51419         include <kernel-features.h>.
51420         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
51421         unconditional.
51422         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
51423         conditional code.
51425 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51427         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
51428         slight instruction rearrangements per scrollpipe analysis.
51429         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51431 2012-08-20  Roland McGrath  <roland@hack.frob.com>
51433         * manual/syslog.texi (syslog; vsyslog, closelog):
51434         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
51435         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
51437         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
51438         DSOCAPS to match condition on defining it.
51440 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
51442         * sysdeps/unix/sysv/linux/kernel-features.h
51443         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
51444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
51445         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51446         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
51448         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51449         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
51451         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
51452         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
51454         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
51455         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
51457         * sysdeps/unix/sysv/linux/kernel-features.h
51458         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
51459         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
51460         unconditional.
51461         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51462         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
51463         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51464         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51465         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
51466         Make code unconditional.
51467         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51468         (__mmap64) [!__NR_mmap2]: Likewise.
51469         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
51470         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
51471         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51472         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
51473         [__NR_mmap2]: Make code unconditional.
51474         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
51475         (__mmap64) [!__NR_mmap2]: Likewise.
51477 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51479         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
51481 2012-08-18  Andreas Jaeger  <aj@suse.de>
51483         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
51485 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51487         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
51488         * include/unistd.h (__have_sock_cloexec): Likewise.
51489         (__have_pipe2): Likewise.
51490         (__have_dup3): Likewise.
51492 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
51494         [BZ #9685]
51495         * include/unistd.h (__have_pipe2): Change define into an extern int.
51496         (__have_dup3): Likewise.
51497         * socket/have_sock_cloexec.c: Include fcntl.h.
51498         (__have_pipe2): New variable.
51499         (__have_dup3): Likewise.
51501 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
51503         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
51505 2012-08-17  Marek Polacek  <polacek@redhat.com>
51507         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
51508         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
51510 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51512         * configure.in: Add AC_SUBST for sysheaders.
51513         * configure: Regenerated.
51514         * config.make.in (sysheaders): New substituted variable.
51516         * sysdeps/unix/mkfifo.c: Moved ...
51517         * sysdeps/posix/mkfifo.c: ... here.
51518         * sysdeps/unix/mkfifoat.c: Moved ...
51519         * sysdeps/posix/mkfifoat.c: ... here.
51521         * sysdeps/unix/utime.c: Moved ...
51522         * sysdeps/posix/utime.c: ... here.
51524         * sysdeps/unix/time.c: Moved ...
51525         * sysdeps/posix/time.c: ... here.
51526         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
51527         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
51529         * sysdeps/unix/nice.c: Moved ...
51530         * sysdeps/posix/nice.c: ... here.
51532         * sysdeps/unix/alarm.c: Moved ...
51533         * sysdeps/posix/alarm.c: ... here.
51535         * intl/Makefile ($(codeset_mo)): Depend on the input file.
51537 2012-08-17  Jeff Law <law@redhat.com>
51539         * intl/Makefile (codeset_mo): New variable.
51540         ($(codeset_mo)): New target.
51541         (tst-codeset.out): Depend on that.  Remove explicit rule.
51542         (tst-gettext3.out, tst-gettext5.out): Likewise.
51543         (LOCPATH-ENV, tst-codeset-ENV): New variables.
51544         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
51545         * intl/tst-codeset.sh: Remove.
51546         * intl/tst-gettext3.sh: Likewise.
51547         * intl/tst-gettext5.sh: Likewise.
51549 2012-08-17  Roland McGrath  <roland@hack.frob.com>
51551         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
51552         * sysdeps/unix/syscalls.list: ... here.
51554         * sysdeps/posix/getaddrinfo.c
51555         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
51556         (gaiconf_init, gaiconf_reload): Use them.
51557         [!_STATBUF_ST_NSEC]
51558         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
51559         Define using time_t rather than struct timespec.
51561         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
51562         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
51563         Macros removed.
51564         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
51565         [!NO_THREADS].
51566         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
51567         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
51568         Likewise.
51570         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
51571         __libc_cleanup_push argument.
51573         * bits/param.h: New file.
51574         * misc/sys/param.h: New file.
51575         * include/sys/param.h: New file.
51576         * misc/Makefile (headers): Add bits/param.h.
51577         * sysdeps/generic/sys/param.h: File removed.
51578         * sysdeps/unix/sysv/linux/bits/param.h: New file.
51579         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
51580         * sysdeps/mach/hurd/bits/param.h: New file.
51581         * sysdeps/mach/hurd/sys/param.h: File removed.
51583         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
51584         last change.
51586         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
51587         [_IO_MTSAFE_IO].
51588         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
51589         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
51590         New macros.
51592         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
51593         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
51594         rather than -D_IO_MTSAFE_IO conditionally.
51595         * stdio-common/Makefile (CPPFLAGS): Likewise.
51596         * wcsmbs/Makefile (CPPFLAGS): Likewise.
51597         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
51598         Use $(libio-mtsafe).
51599         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
51600         of -D_IO_MTSAFE_IO.
51601         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
51602         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
51603         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
51604         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
51605         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
51606         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
51607         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
51608         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
51609         (CFLAGS-fread_u_chk.c): Likewise.
51610         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
51611         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
51612         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
51613         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
51614         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
51615         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
51616         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
51617         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
51618         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
51620         * libio/Makefile: Test [$(libc-reentrant) = yes]
51621         instead of [$(filter %REENTRANT, $(defines)) nonempty].
51623         * Makeconfig
51624         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
51625         * sysdeps/pthread/configure: File removed.
51626         * sysdeps/pthread/Makeconfig: New file.
51627         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
51628         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
51630 2012-08-16  Gary Benson  <gbenson@redhat.com>
51632         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
51633         unmapping the first object in a namespace.
51635 2012-08-16  Roland McGrath  <roland@hack.frob.com>
51637         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
51638         (__internal_setnetgrent): ... this.  Add internal_function to
51639         definition.  Add libc_hidden_def.
51640         (setnetgrent): Update caller.
51641         (internal_endnetgrent): Renamed to ...
51642         (__internal_endnetgrent): ... this.  Add internal_function to
51643         definition.  Add libc_hidden_def.
51644         (endnetgrent): Update caller.
51645         (internal_getnetgrent_r): Renamed to ...
51646         (__internal_getnetgrent_r): ... this.  Add internal_function to
51647         definition.  Add libc_hidden_def.
51648         (__getnetgrent_r): Update caller.
51649         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
51651 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
51653         * stdlib/longlong.h: Update from GCC.
51655 2012-08-16  Roland McGrath  <roland@hack.frob.com>
51657         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
51658         on _QL, which is set by umul_ppmm but never used.
51659         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
51660         variables, which are set by GMP macros but never used.
51661         * stdio-common/_itowa.c (_itowa): Likewise.
51662         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
51663         * stdlib/mod_1.c (mpn_mod_1): Likewise.
51665 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
51667         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
51668         struct La_sh_regs is not constant.
51669         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
51670         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
51671         and struct La_sparc64_regs are not constant.
51673 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
51675         * sysdeps/unix/sysv/linux/kernel-features.h
51676         (__ASSUME_POSIX_TIMERS): Remove.
51677         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51678         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51679         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
51680         Make code unconditional.
51681         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51682         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
51683         Make code unconditional.
51684         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51685         * sysdeps/unix/sysv/linux/clock_nanosleep.c
51686         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
51687         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51688         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
51689         Make code unconditional.
51690         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
51691         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
51692         (__libc_missing_posix_timers): Remove.
51694 2012-08-15  Roland McGrath  <roland@hack.frob.com>
51696         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
51697         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
51699         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
51701         * elf/dl-sym.c: Include <stdlib.h>.
51703         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
51704         constants, which avoids warnings in 32-bit builds.
51706         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
51707         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
51709         * misc/lseek.c: File moved to ...
51710         * io/lseek.c: ... here.
51712         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
51714         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
51715         shifting LEN more than 31 bits at once.
51717 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51719         [BZ #14195]
51720         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
51721         segmentation fault for a case of two empty input strings.
51722         * string/test-strncasecmp.c (check1): Renamed to...
51723         (bz12205): ...this.
51724         (bz14195): Add new testcase for two empty input strings and N > 0.
51725         (test_main): Call new testcase, adapt for renamed function.
51727 2012-08-15  Andreas Jaeger  <aj@suse.de>
51729         [BZ #14090]
51730         * crypt/md5test2.c: New test, based on test supplied by Serge
51731         Belyshev <belyshev@depni.sinp.msu.ru>.
51732         * crypt/Makefile (xtests): Add md5test-giant..
51733         * crypt/Makefile ($(objpfx)md5test-giant): Add.
51735 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
51737         [BZ #14090]
51738         * crypt/md5.c (md5_process_block): Don't assume the buffer
51739         length is less than 2**32.
51740         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
51741         length is less than 2**64.
51743 2012-08-15  Roland McGrath  <roland@hack.frob.com>
51745         * string/str-two-way.h: Include <sys/param.h>.
51746         (MAX): Macro removed.
51748         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
51749         Move #define and #undef of memmove to just before and after
51750         including <string.h>.
51752         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
51753         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
51754         and after including <string.h>.  Move declarations of
51755         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
51756         to before #include "string/memmove.c".
51758         * include/dirent.h: Declare __getdirentries.
51760         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
51761         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
51763 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
51765         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
51766         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
51767         * sysdeps/i386/configure: Regenerated.
51768         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
51769         STABS_CURRENT_FILE, and STABS_FUN.
51770         (END): Remove call to STABS_FUN_END.
51771         (STABS_CURRENT_FILE1): Delete.
51772         (STABS_CURRENT_FILE): Likewise.
51773         (STABS_FUN): Likewise.
51774         (STABS_FUN_END): Likewise.
51775         (STABS_FUN2): Likewise.
51776         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
51777         * sysdeps/x86_64/configure: Regenerated.
51779 2012-08-14  Roland McGrath  <roland@hack.frob.com>
51781         * elf/dl-open.c: Include <atomic.h>.
51782         * elf/dl-lookup.c: Likewise.
51784 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
51786         * sysdeps/unix/sysv/linux/kernel-features.h
51787         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
51788         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
51789         unconditionally.
51790         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
51791         unconditionally.
51792         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
51793         condition on __ASSUME_CLONE_THREAD_FLAGS.
51795 2012-08-14  Andreas Jaeger  <aj@suse.de>
51797         * sysdeps/i386/fpu/libm-test-ulps: Update.
51799 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
51801         * include/atomic.h (atomic_exchange_and_add): Split into ...
51802         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
51803         New atomic macros.
51805 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
51807         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51809 2012-08-13  Jeff Law <law@redhat.com>
51811         * manual/stdio.texi (snprintf): Clarify handling of the trailing
51812         null byte in the output string.
51814 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
51816         * sysdeps/unix/sysv/linux/kernel-features.h
51817         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
51818         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
51819         (__ASSUME_ARG_MAX_STACK_BASED): Define.
51820         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
51821         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
51822         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
51823         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
51825 2012-08-09  Jeff Law <law@redhat.com>
51827         [BZ #13939]
51828         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
51829         When avoid_arena is set, don't retry in the that arena.  Pick the
51830         next one, whatever it might be.
51831         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
51832         (arena_lock): Pass in new parameter to arena_get2.
51833         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
51834         arena_get2.
51835         (__libc_malloc): Unify retrying after main arena failure with
51836         __libc_memalign version.
51837         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
51839 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
51841         [BZ #14166]
51842         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
51843         to __redirect_strstr.
51844         (__strstr_sse42): Use typeof __redirect_strstr.
51845         (__strstr_ia32): Likewise.
51846         (__libc_strstr): New prototype.
51847         (strstr): Renamed to ...
51848         (__libc_strstr): This.
51849         (strstr): New strong alias of __libc_strstr.
51850         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51851         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
51852         __redirect_time.
51853         Include <time.h>.
51854         (__libc_time): New prototype.
51855         (time_ifunc): Replace time with __libc_time.
51856         (time): New strong alias and hidden definition of __libc_time.
51857         (__GI_time): Remove strong alias.
51858         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
51859         Include <stddef.h>.
51860         (memmove): Redefined to __redirect_memmove.
51861         (__memmove_sse2): Use typeof __redirect_memmove.
51862         (__memmove_ssse3): Likewise.
51863         (__memmove_ssse3_back): Likewise.
51864         (__libc_memmove): New prototype.
51865         (memmove): Renamed to ...
51866         (__libc_memmove): This.
51867         (memmove): New strong alias of __libc_memmove.
51869 2012-08-08  Mark Salter  <msalter@redhat.com>
51871         * elf/elf.h
51872         (R_MN10300_TLS_GD): Define.
51873         (R_MN10300_TLS_LD): Likewise.
51874         (R_MN10300_TLS_LDO): Likewise.
51875         (R_MN10300_TLS_GOTIE): Likewise.
51876         (R_MN10300_TLS_IE): Likewise.
51877         (R_MN10300_TLS_LE): Likewise.
51878         (R_MN10300_TLS_DTPMOD): Likewise.
51879         (R_MN10300_TLS_DTPOFF): Likewise.
51880         (R_MN10300_TLS_TPOFF): Likewise.
51881         (R_MN10300_SYM_DIFF): Likewise.
51882         (R_MN10300_ALIGN): Likewise.
51883         (R_MN10300_NUM): Update.
51885 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
51887         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
51888         Remove.
51890 2012-08-08  Roland McGrath  <roland@hack.frob.com>
51892         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
51894         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
51895         sysdeps/unix -> sysdeps/posix move.
51896         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51898 2012-08-07      Allan McRae     <allan@archlinux.org>
51900         [BZ #14303]
51901         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
51902         (SUNOS_CPP): Likewise.
51903         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
51904         not found.
51905         (open_input): Call CPP using execvp.
51907 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51909         * sysdeps/unix/sysv/linux/kernel-features.h
51910         (__ASSUME_PROT_GROWSUPDOWN): Remove.
51911         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51912         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51913         (__ASSUME_WAITID_SYSCALL): Likewise.
51914         * sysdeps/unix/sysv/linux/dl-execstack.c
51915         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
51916         code unconditional.
51917         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
51918         conditional code.
51919         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
51920         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
51921         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
51922         code.
51923         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
51924         unconditional.
51925         [__ASSUME_WAITID_SYSCALL]: Likewise.
51926         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
51928 2012-08-07  Roland McGrath  <roland@hack.frob.com>
51930         * sysdeps/unix/closedir.c: Renamed to ...
51931         * sysdeps/posix/closedir.c: ... here.
51932         * sysdeps/unix/dirfd.c: Renamed to ...
51933         * sysdeps/posix/dirfd.c: ... here.
51934         * sysdeps/unix/dirstream.h: Renamed to ...
51935         * sysdeps/posix/dirstream.h: ... here.
51936         * sysdeps/unix/fdopendir.c: Renamed to ...
51937         * sysdeps/posix/fdopendir.c: ... here.
51938         * sysdeps/unix/opendir.c: Renamed to ...
51939         * sysdeps/posix/opendir.c: ... here.
51940         * sysdeps/unix/readdir.c: Renamed to ...
51941         * sysdeps/posix/readdir.c: ... here.
51942         * sysdeps/unix/readdir_r.c: Renamed to ...
51943         * sysdeps/posix/readdir_r.c: ... here.
51944         * sysdeps/unix/rewinddir.c: Renamed to ...
51945         * sysdeps/posix/rewinddir.c: ... here.
51946         * sysdeps/unix/seekdir.c: Renamed to ...
51947         * sysdeps/posix/seekdir.c: ... here.
51948         * sysdeps/unix/telldir.c: Renamed to ...
51949         * sysdeps/posix/telldir.c: ... here.
51950         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
51951         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
51952         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
51953         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
51955         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
51956         * bits/fcntl.h: ... here.
51958         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
51959         not 0.
51960         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
51961         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
51962         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
51963         (struct flock): Move l_start, l_len to the beginning.
51964         Use __pid_t for l_pid.
51965         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
51966         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
51967         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
51968         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
51969         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
51970         [__USE_LARGEFILE64] (struct flock64): New type.
51971         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
51973         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
51974         * bits/dirent.h: ... here.
51976         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
51977         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
51979 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
51981         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
51982         Change from 2.6.0 to 2.6.16.
51983         * sysdeps/unix/sysv/linux/configure: Regenerated.
51984         * sysdeps/unix/sysv/linux/kernel-features.h
51985         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
51986         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
51987         version.
51988         (__ASSUME_UTIMES): Likewise.
51989         (__ASSUME_CLONE_STOPPED): Remove.
51990         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
51991         architectures, not kernel version.
51992         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
51993         (__ASSUME_NO_CLONE_DETACHED): Likewise.
51994         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
51995         (__ASSUME_WAITID_SYSCALL): Likewise.
51996         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
51997         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
51998         * README: State 2.6.16 as minimum Linux kernel version.  Do not
51999         refer to older versions.
52001 2012-08-06  Roland McGrath  <roland@hack.frob.com>
52003         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
52004         Define alphasort64 as an alias.
52005         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
52006         Define versionsort64 as an alias.
52007         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
52008         Define scandir64 as an alias.
52009         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
52010         Define scandirat64 as an alias.
52011         * dirent/alphasort64.c (alphasort64):
52012         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
52013         * dirent/versionsort64.c: Likewise.
52014         * dirent/scandir64.c: Likewise.
52015         * dirent/scandirat64.c: Likewise.
52016         * sysdeps/wordsize-64/alphasort.c: File removed.
52017         * sysdeps/wordsize-64/alphasort64.c: File removed.
52018         * sysdeps/wordsize-64/scandir.c: File removed.
52019         * sysdeps/wordsize-64/scandir64.c: File removed.
52020         * sysdeps/wordsize-64/scandirat.c: File removed.
52021         * sysdeps/wordsize-64/scandirat64.c: File removed.
52022         * sysdeps/wordsize-64/versionsort.c: File removed.
52023         * sysdeps/wordsize-64/versionsort64.c: File removed.
52024         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
52025         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
52026         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
52027         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
52028         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
52029         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
52030         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
52031         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
52033         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
52034         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52035         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
52036         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52037         [defined __arch64__ || defined __sparcv9]
52038         (__INO_T_MATCHES_INO64_T): New macro.
52039         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52040         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
52041         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
52042         * sysdeps/unix/sysv/linux/bits/dirent.h
52043         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
52044         (_DIRENT_MATCHES_DIRENT64): New macro.
52046         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
52047         Define lockf64 as an alias.
52048         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
52049         Define fseeko64 as an alias.
52050         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
52051         Define ftello64 as an alias.
52052         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
52053         Define _IO_fgetpos64 and fgetpos64 as aliases.
52054         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
52055         Define _IO_fsetpos64 and fsetpos64 as aliases.
52056         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
52057         Conditionalize body on this.
52058         * libio/fseeko64.c: Likewise.
52059         * libio/ftello64.c: Likewise.
52060         * libio/iofgetpos64.c: Likewise.
52061         * libio/iofsetpos64.c: Likewise.
52062         * sysdeps/wordsize-64/lockf.c: File removed.
52063         * sysdeps/wordsize-64/lockf64.c: File removed.
52064         * sysdeps/wordsize-64/fseeko.c: File removed.
52065         * sysdeps/wordsize-64/fseeko64.c: File removed.
52066         * sysdeps/wordsize-64/ftello.c: File removed.
52067         * sysdeps/wordsize-64/ftello64.c: File removed.
52068         * sysdeps/wordsize-64/iofgetpos.c: File removed.
52069         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
52070         * sysdeps/wordsize-64/iofsetpos.c: File removed.
52071         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
52072         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
52073         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
52074         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
52075         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
52076         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
52077         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
52078         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
52079         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
52080         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
52081         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
52083         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52084         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
52085         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
52086         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52087         [defined __arch64__ || defined __sparcv9]
52088         (__OFF_T_MATCHES_OFF64_T): New macro.
52089         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
52090         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
52091         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52092         (__OFF_T_MATCHES_OFF64_T): New macro.
52094 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52096         * stdlib/secure-getenv.c (__secure_getenv): Replace
52097         GLIBC_2_16 with GLIBC_2_17.
52099 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
52101         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
52102         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52104 2012-08-03  David S. Miller  <davem@davemloft.net>
52106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52108 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52110         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
52111         Remove.
52112         (__ASSUME_CORRECT_SI_PID): Likewise.
52113         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
52114         (__ASSUME_TMPFS_NAME): Likewise.
52115         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
52116         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
52117         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
52118         (HAVE_AUX_SECURE): Make definition unconditional.
52119         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
52120         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
52122 2012-08-03  Roland McGrath  <roland@hack.frob.com>
52124         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
52125         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
52126         * sysdeps/mach/hurd/eloop-threshold.h: New file.
52127         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
52128         __eloop_threshold instead of SYMLOOP_MAX.
52130         * sysdeps/generic/eloop-threshold.h: New file.
52131         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
52132         of MAXSYMLINKS.
52133         * elf/chroot_canon.c (chroot_canon): Likewise.
52135 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
52137         [BZ #13717]
52138         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52139         Change to 2.6.0 everywhere.
52140         * sysdeps/unix/sysv/linux/configure: Regenerated.
52141         * sysdeps/unix/sysv/linux/kernel-features.h
52142         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
52143         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
52144         kernel versions.
52145         (__ASSUME_POSIX_TIMERS): Define unconditionally.
52146         (__ASSUME_FUTEX_REQUEUE): Remove.
52147         (__ASSUME_STATFS64): Define unconditionally.
52148         (__ASSUME_AT_SECURE): Likewise.
52149         (__ASSUME_CORRECT_SI_PID): Likewise.
52150         (__ASSUME_TGKILL): Define without depending on kernel version for
52151         i386.
52152         (__ASSUME_UTIMES): Likewise.
52153         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
52154         kernel version.
52155         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
52156         (__ASSUME_TMPFS_NAME): Likewise.
52157         * README: Update reference to Linux kernel versions.
52159 2012-08-02  Marek Polacek  <polacek@redhat.com>
52161         [BZ# 14150]
52162         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
52163         libc_cv_asm_type_prefix with %.
52164         * configure: Regenerated.
52165         * include/libc-symbols.h: Remove comment about
52166         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52167         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
52168         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
52169         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
52170         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
52171         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
52172         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
52173         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
52174         * elf/tst-unique2mod1.c: Likewise.
52175         * elf/tst-unique1mod2.c: Likewise.
52176         * elf/tst-unique1mod1.c: Likewise.
52177         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
52178         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
52179         Replace ASM_TYPE_DIRECTIVE with .type.
52180         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52181         * sysdeps/i386/sysdep.h: Likewise.
52182         * sysdeps/x86_64/sysdep.h: Likewise.
52183         * sysdeps/sh/sysdep.h: Likewise.
52184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52185         Do not define ASM_TYPE_DIRECTIVE.
52186         * sysdeps/powerpc/sysdep.h: Likewise.
52187         * sysdeps/powerpc/powerpc32/sysdep.h:
52188         Replace ASM_TYPE_DIRECTIVE with .type.
52189         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
52190         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52191         * sysdeps/i386/fpu/e_powf.S: Likewise.
52192         * sysdeps/i386/fpu/e_expl.S: Likewise.
52193         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52194         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52195         * sysdeps/i386/fpu/e_pow.S: Likewise.
52196         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52197         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52198         * sysdeps/i386/fpu/s_expm1.S: Likewise.
52199         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52200         * sysdeps/i386/fpu/e_log2.S: Likewise.
52201         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52202         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52203         * sysdeps/i386/fpu/e_powl.S: Likewise.
52204         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52205         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52206         * sysdeps/i386/fpu/e_logl.S: Likewise.
52207         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52208         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52209         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52210         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52211         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52212         * sysdeps/i386/fpu/e_log.S: Likewise.
52213         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52214         * sysdeps/i386/fpu/e_logf.S: Likewise.
52215         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52216         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52217         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52218         * sysdeps/i386/fpu/e_log10.S: Likewise.
52219         * sysdeps/i386/fpu/s_frexp.S: Likewise.
52220         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52221         * sysdeps/i386/fpu/s_asinh.S: Likewise.
52222         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52223         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52224         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
52225         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52226         * sysdeps/i386/i686/strtok.S: Likewise.
52227         * sysdeps/i386/i386-mcount.S: Likewise.
52228         * sysdeps/i386/strtok.S: Likewise.
52229         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
52230         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52231         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52232         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52233         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52234         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52235         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52236         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52237         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52238         * sysdeps/x86_64/_mcount.S: Likewise.
52239         * sysdeps/x86_64/strtok.S: Likewise.
52240         * sysdeps/sh/_mcount.S: Likewise.
52242 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52244         * libio/iofopen.c: Include <fcntl.h>.
52245         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
52246         (_IO_fopen64, fopen64): Define as aliases.
52247         * libio/iofopen64.c: Include <fcntl.h>.
52248         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
52249         Conditionalize body on this.
52250         * sysdeps/wordsize-64/iofopen.c: File removed.
52251         * sysdeps/wordsize-64/iofopen64.c: File removed.
52253 2012-08-01  Marek Polacek  <polacek@redhat.com>
52255         * libc/Makeconfig: Use elf in place of binfmt-subdir.
52256         Use dlfcn directly instead of a variable.
52257         (binfmt-subdir): Do not define.
52258         (dlfcn): Likewise.
52260 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
52262         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
52263         Remove all definitions.
52264         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
52265         <kernel-features.h>.
52266         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52267         (miss_F_GETOWN_EX): Remove all definitions.
52268         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
52269         macro definition.
52270         [!__ASSUME_FCNTL64]: Remove conditional code.
52271         [__ASSUME_FCNTL64]: Make code unconditional.
52272         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
52273         <kernel-features.h>.
52274         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
52275         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
52276         (lockf64) [__NR_fcntl64]: Make code unconditional.
52277         (lockf64) [__ASSUME_FCNTL64]: Likewise.
52279         * sysdeps/unix/sysv/linux/kernel-features.h
52280         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
52281         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
52282         Make code unconditional.
52283         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52284         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
52286         [__NR_vfork]: Make code unconditional.
52287         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52288         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
52290         [__NR_vfork]: Make code unconditional.
52291         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
52292         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52294 2012-08-01  Roland McGrath  <roland@hack.frob.com>
52296         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
52297         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
52299         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52300         Define mkstemp64 as an alias.
52301         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52302         Define mkstemps64 as an alias.
52303         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52304         Define mkostemp64 as an alias.
52305         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
52306         Define mkostemps64 as an alias.
52307         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
52308         Conditionalize body on this.
52309         * misc/mkostemp64.c: Likewise.
52310         * misc/mkostemps64.c: Likewise.
52311         * misc/mkstemps64.c: Likewise.
52312         * sysdeps/wordsize-64/mkstemp64.c: File removed.
52313         * sysdeps/wordsize-64/mkostemp64.c: File removed.
52314         * sysdeps/wordsize-64/mkostemp.c: File removed.
52315         * sysdeps/wordsize-64/mkstemp.c: File removed.
52316         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
52317         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
52318         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
52319         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
52321         [BZ #14138]
52322         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
52323         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
52324         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
52325         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
52327         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
52328         compat_symbol macros from <shlib-compat.h> rather than the underlying
52329         default_symbol_version and symbol_version macros, so that DEFAULT
52330         lines in shlib-versions are respected.
52331         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
52333 2012-08-01  Florian Weimer  <fweimer@redhat.com>
52335         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
52336         Declare with warn_unused_result.
52337         (setgid, setregid, setegid, setresgid): Likewise.
52338         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
52339         Likewise.
52340         * WUR-REPORT: Remove set*id functions.
52342 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
52344         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
52346 2012-07-31  Roland McGrath  <roland@hack.frob.com>
52348         [BZ #10191]
52349         * include/sys/socket.h (__libc_accept, __libc_accept4):
52350         Add attribute_hidden.
52351         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
52353         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
52354         use of PTR_MANGLE.
52355         * inet/getnetgrent_r.c (setup): Likewise.
52357         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
52359 2012-07-31  David S. Miller  <davem@davemloft.net>
52361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52363 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
52365         [BZ #13629]
52366         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
52367         value between 1.0 and 2.0 and smaller part has absolute value less
52368         than 1.0.
52369         * math/s_clog10.c (__clog10): Likewise.
52370         * math/s_clog10f.c (__clog10f): Likewise.
52371         * math/s_clog10l.c (__clog10l): Likewise.
52372         * math/s_clogf.c (__clogf): Likewise.
52373         * math/s_clogl.c (__clogl): Likewise.
52374         * math/libm-test.inc (clog_test): Add more tests.
52375         (clog10_test): Likewise.
52376         * sysdeps/i386/fpu/libm-test-ulps: Update.
52377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52379 2012-07-31  Florian Weimer  <fweimer@redhat.com>
52381         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
52382         Exit with zero in case no suitable GID is found, and write a
52383         message to standard error.
52385 2012-07-30  Roland McGrath  <roland@hack.frob.com>
52387         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
52388         rather than to 1.
52389         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
52390         (MAXPATHLEN): Removed.
52391         (NOGROUP, NODEV): New macros.
52392         (setbit, clrbit, isset, isclr): New macros.
52393         (howmany, roundup, powerof2): New macros.
52394         (DEV_BSIZE): New macro.
52396         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
52397         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
52399         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
52400         definition on [!__NO_LONG_DOUBLE_MATH].
52402         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
52403         PTR_MANGLE and PTR_DEMANGLE.
52405         * socket/accept4.c (accept4): Rename to __libc_accept4.
52406         Define accept4 as a weak alias.
52408         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
52409         on [_DIRENT_HAVE_D_TYPE].
52410         * io/ftw.c (ftw_dir): Likewise.
52412         * io/xmknod.c (__xmknod): Don't check PATH for being null.
52414         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
52416         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
52417         Use the BSD numbers rather than the arbitrary ones we had.
52418         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
52419         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
52420         (SIGXCPU, SIGXFSZ): New macros.
52421         (_NSIG): Now 32.
52423         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
52424         initializer on [_LIBC_REENTRANT].
52426         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
52427         definitions inside [_POSIX_MAPPED_FILES].
52429         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
52431         * dirent/opendir.c: Include <fcntl.h>.
52433         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
52434         (__libc_getspecific): Likewise.
52435         (__libc_key_create): Likewise.
52437         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
52438         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
52439         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
52440         (tmpfile64): Define as alias.
52441         * sysdeps/wordsize-64/tmpfile.c: File removed.
52442         * sysdeps/wordsize-64/tmpfile64.c: File removed.
52443         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
52444         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
52446         * stdio-common/vfscanf.c: Include <stdbool.h>.
52447         * nss/makedb.c: Likewise.
52448         * stdio-common/_i18n_number.h: Likewise.
52449         * argp/argp-help.c: Likewise.
52450         * posix/wordexp.c: Likewise.
52451         * sysdeps/posix/spawni.c: Likewise.
52452         * nss/nss_files/files-initgroups.c: Likewise.
52453         * stdio-common/reg-modifier.c: Include <stdlib.h>.
52454         * nss/nss_files/files-initgroups.c: Likewise.
52455         * nss/nss_db/db-netgrp.c: Likewise.
52456         * nss/nss_db/db-initgroups.c: Likewise.
52457         * io/fchmodat.c: Include <sys/stat.h>.
52459         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
52460         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
52462         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
52463         [HAVE_MMAP].
52465         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
52466         Add multiple inclusion protection.
52468 2012-07-27  David S. Miller  <davem@davemloft.net>
52470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52472 2012-07-27  Gary Benson  <gbenson@redhat.com>
52474         [BZ #14298]
52475         * elf/rtld.c: Include <stap-probe.h>.
52476         (dl_main): Added static probes "init_start" and "init_complete".
52477         * elf/dl-load.c: Include <stap-probe.h>.
52478         (lose): Take new parameter "nsid".
52479         Added static probe "map_failed".
52480         (_dl_map_object_from_fd): Pass namespace id to lose.
52481         Added static probe "map_start".
52482         (open_verify): Pass namespace id to lose.
52483         * elf/dl-open.c: Include <stap-probe.h>.
52484         (dl_open_worker) Added static probes "map_complete", "reloc_start"
52485         and "reloc_complete".
52486         * elf/dl-close.c: Include <stap-probe.h>.
52487         (_dl_close_worker): Added static probes "unmap_start" and
52488         "unmap_complete".
52489         * elf/rtld-debugger-interface.txt: New file documenting the above.
52491 2012-07-26  Roland McGrath  <roland@hack.frob.com>
52493         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
52494         rather than a string variable.
52495         * sunrpc/rpc_main.c (h_output): Likewise.
52496         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
52498 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
52500         * inet/check_native.c: New file.
52502 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
52504         [BZ #13629]
52505         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
52506         if larger part has absolute value 1.0.
52507         * math/s_clog10.c (__clog10): Likewise.
52508         * math/s_clog10f.c (__clog10f): Likewise.
52509         * math/s_clog10l.c (__clog10l): Likewise.
52510         * math/s_clogf.c (__clogf): Likewise.
52511         * math/s_clogl.c (__clogl): Likewise.
52512         * math/libm-test.inc (clog_test): Add more tests.
52513         (clog10_test): Likewise.
52514         * sysdeps/i386/fpu/libm-test-ulps: Update.
52515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52517         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
52518         (pltexit): Likewise.
52519         (La_regs): Likewise.
52520         (La_retval): Likewise.
52521         (int_retval): Likewise.
52522         Update #error for removed macros to refer only to definitions in
52523         tst-audit.h.
52524         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
52525         macro.
52526         (pltexit): Likewise.
52527         (La_regs): Likewise.
52528         (La_retval): Likewise.
52529         (int_retval): Likewise.
52530         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
52531         macro.
52532         (pltexit): Likewise.
52533         (La_regs): Likewise.
52534         (La_retval): Likewise.
52535         (int_retval): Likewise.
52536         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
52537         macro.
52538         (pltexit): Likewise.
52539         (La_regs): Likewise.
52540         (La_retval): Likewise.
52541         (int_retval): Likewise.
52542         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
52543         macro.
52544         (pltexit): Likewise.
52545         (La_regs): Likewise.
52546         (La_retval): Likewise.
52547         (int_retval): Likewise.
52548         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
52549         macro.
52550         (pltexit): Likewise.
52551         (La_regs): Likewise.
52552         (La_retval): Likewise.
52553         (int_retval): Likewise.
52554         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
52555         macro.
52556         (pltexit): Likewise.
52557         (La_regs): Likewise.
52558         (La_retval): Likewise.
52559         (int_retval): Likewise.
52560         * sysdeps/generic/tst-audit.h: Update comment to refer only to
52561         macro definitions in tst-audit.h.
52562         * sysdeps/i386/tst-audit.h: New file.
52563         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
52564         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
52565         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
52566         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
52567         * sysdeps/sh/tst-audit.h: Likewise.
52568         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
52569         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
52570         * sysdeps/x86_64/tst-audit.h: Likewise.
52572 2012-07-26  Andreas Jaeger  <aj@suse.de>
52574         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
52575         ptrace.
52577         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
52578         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
52579         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
52580         PTRACE_O_MASK.
52581         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
52582         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
52583         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
52585         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
52586         value.
52588         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
52589         _sigsys.
52590         (si_call_addr, si_syscall, si_arch): Define new macro.
52591         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
52592         _sigsys.
52593         (si_call_addr, si_syscall, si_arch): Define new marcro.
52594         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
52595         _sigsys.
52596         (si_call_addr, si_syscall, si_arch): Define new macro.
52597         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
52598         _sigsys.
52599         (si_call_addr, si_syscall, si_arch): Define new macro.
52601 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
52603         [BZ #13717]
52604         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
52605         Change to 2.4.21 where previously 2.4.1.
52606         * sysdeps/unix/sysv/linux/configure: Regenerated.
52607         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
52608         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
52609         Linux kernel version.
52610         (__ASSUME_STD_AUXV): Remove.
52611         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
52612         kernel version.
52613         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
52614         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
52615         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
52616         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
52617         (__ASSUME_NETLINK_SUPPORT): Likewise.
52618         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
52619         (__no_netlink_support): Remove conditional definition.
52620         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
52621         Remove.
52622         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
52623         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
52624         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
52625         (if_nameindex_ioctl): Remove.
52626         (if_nameindex_netlink): Do not handle __no_netlink_support.
52627         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
52628         code.
52629         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
52630         Remove conditional code.
52631         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
52632         code.
52633         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
52634         unconditional.
52635         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
52636         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
52637         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
52638         Remove.
52639         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
52640         [!__ASSUME_STD_AUXV]: Remove conditional code.
52641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
52642         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
52643         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
52644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
52645         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
52646         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
52647         code.
52648         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
52649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52650         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
52651         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
52652         conditional code.
52653         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
52654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
52655         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
52656         code.
52657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
52658         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
52659         conditional code.
52660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
52661         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52662         code unconditional.
52663         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52664         conditional code.
52665         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52666         unconditional.
52667         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52668         conditional code.
52669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52670         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52671         unconditional.
52672         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52673         conditional code.
52674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
52675         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52676         code unconditional.
52677         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52678         conditional code.
52679         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52680         unconditional.
52681         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52682         conditional code.
52683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
52684         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
52685         code unconditional.
52686         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52687         conditional code.
52688         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
52689         unconditional.
52690         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
52691         conditional code.
52693 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
52695         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
52696         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
52697         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52698         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
52699         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
52700         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
52701         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
52702         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
52703         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
52704         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
52705         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
52706         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
52707         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
52708         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
52709         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
52710         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
52711         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
52712         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
52713         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
52714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
52715         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
52716         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
52717         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52719 2012-07-25  Florian Weimer  <fweimer@redhat.com>
52721         * Versions.def: Add GLIBC_2.17.
52722         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
52723         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
52724         Introduce __libc_secure_getenv.
52725         * stdlib/Versions (2.17): Add secure_getenv
52726         (GLIBC_PRIVATE): Add __libc_secure_getenv.
52727         * stdlib/secure-getenv.c: Rename __secure_getenv to
52728         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
52729         symbol __secure_getenv for GLIBC_2.0.
52730         * stdlib/tst-secure-getenv.c: New.
52731         * stdlib/Makefile (tests): Add testcase.
52732         * manual/startup.texi (Environment Access): Document
52733         secure_getenv.
52734         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
52735         __libc_secure_getenv.
52736         * inet/ruserpass.c (ruserpass): Likewise.
52737         * malloc/mtrace.c (mtrace): Likewise.
52738         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
52739         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
52740         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
52741         * sysdeps/posix/tempname.c: Likewise.  Evaluate
52742         HAVE_SECURE_GETENV.
52743         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
52744         __secure_getenv to __libc_secure_getenv.
52745         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
52746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52747         Likewise.
52748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52749         Likewise.
52750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52752         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52758 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
52760         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
52761         (struct La_i86_retval): Likewise.
52762         (struct La_x86_64_regs): Likewise.
52763         (struct La_x86_64_retval): Likewise.
52764         (struct La_x32_regs): Likewise.
52765         (struct La_x32_retval): Likewise.
52766         (struct La_ppc32_regs): Likewise.
52767         (struct La_ppc32_retval): Likewise.
52768         (struct La_ppc64_regs): Likewise.
52769         (struct La_ppc64_retval): Likewise.
52770         (struct La_sh_regs): Likewise.
52771         (struct La_sh_retval): Likewise.
52772         (struct La_s390_32_regs): Likewise.
52773         (struct La_s390_32_retval): Likewise.
52774         (struct La_s390_64_regs): Likewise.
52775         (struct La_s390_64_retval): Likewise.
52776         (struct La_sparc32_regs): Likewise.
52777         (struct La_sparc32_retval): Likewise.
52778         (struct La_sparc64_regs): Likewise.
52779         (struct La_sparc64_retval): Likewise.
52780         (struct audit_ifaces): Remove architecture-specific pltenter and
52781         pltexit members.
52782         * sysdeps/i386/ldsodefs.h: New file.
52783         * sysdeps/powerpc/ldsodefs.h: Likewise.
52784         * sysdeps/s390/ldsodefs.h: Likewise.
52785         * sysdeps/sh/ldsodefs.h: Likewise.
52786         * sysdeps/sparc/ldsodefs.h: Likewise.
52787         * sysdeps/x86_64/ldsodefs.h: Likewise.
52789 2012-07-25  Marek Polacek  <polacek@redhat.com>
52791         [BZ #6808]
52792         * math/libm-test.inc (yn_test): Add another test.
52793         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
52794         to ERANGE when the result is +-Inf.
52795         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
52796         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
52797         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
52798         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
52800 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
52802         * conform/data/time.h-data (NULL): Use macro-constant.  Require
52803         equal to 0.
52804         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
52805         clock_t.
52806         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
52808 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
52810         * configure.in <sysdeps resolving>: Correct printing
52811         Implies_before.
52812         * configure: Regenerate.
52814 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
52816         * math/w_ilogb.c: Include <limits.h>.
52817         * math/w_ilogbl.c: Likewise.
52819 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
52821         * manual/lang.texi (__va_copy): Document primarily as ISO C99
52822         va_copy.  Document allowing for unavailable va_copy only as
52823         pre-C99 compatibility.
52824         * manual/string.texi (Copying and Concatenation): Use va_copy
52825         instead of __va_copy in concat example.
52827 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
52829         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
52830         (__sendto): Use create_address_port.  Initialize APORT and deallocate
52831         it if not null.
52833         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
52834         with O_NOLINK passed to __file_name_lookup.
52836         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
52837         with O_NOLINK passed to __file_name_lookup.
52839         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
52840         negative N or less than NGIDS.
52842         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
52843         type to string_t.  Set ERANGE as errno and return it if NAME is not big
52844         enough.  Use memcpy instead of strncpy.
52846 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
52848         * elf/Makefile (check-data): Remove.
52849         (localplt.data): New vpath directive.
52850         ($(objpfx)check-localplt.out): Use localplt.data from vpath
52851         instead of $(check-data).
52852         * scripts/data/localplt-generic.data: Move to ...
52853         * sysdeps/generic/localplt.data: ... here.
52854         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
52855         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
52856         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
52857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
52858         ... here.
52859         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
52860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
52861         ... here.
52862         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
52863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
52864         ... here.
52865         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
52866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
52867         ... here.
52868         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
52869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
52870         ... here.
52871         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
52872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
52873         ... here.
52875 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52877         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
52878         PPC32 and PPC64 files.
52879         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
52880         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
52882 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52884         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
52885         __makecontext_ret to ...
52886         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
52887         ... here and call exit if uc_link is NULL.  New file.
52888         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
52889         __makecontext_ret.S.
52890         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
52891         __makecontext_ret to ...
52892         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
52893         ... here and call exit if uc_link is NULL.  New file.
52894         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
52895         __makecontext_ret.S.
52897 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52899         * elf/elf.h (R_390_IRELATIVE): New definition.
52900         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
52901         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
52902         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
52903         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52904         (elf_machine_lazy_rel): Likewise.
52905         * sysdeps/s390/dl-irel.h: New file.
52906         * sysdeps/s390/s390-64/memcpy.S: New asm code.
52907         * sysdeps/s390/s390-64/memset.S: New asm code.
52908         * sysdeps/s390/s390-64/memcmp.S: New asm code.
52909         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
52910         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
52911         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
52912         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
52913         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
52914         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
52915         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
52916         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
52917         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
52918         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
52919         * sysdeps/s390/s390-32/memcpy.S: New asm code.
52920         * sysdeps/s390/s390-32/memset.S: New asm code.
52921         * sysdeps/s390/s390-32/memcmp.S: New asm code.
52923 2012-07-17  Marek Polacek  <polacek@redhat.com>
52925         [BZ #14349]
52926         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
52927         * sysdeps/s390/s390-64/configure.in: Likewise.
52928         * sysdeps/sparc/configure.in: Likewise.
52929         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
52930         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
52931         * sysdeps/i386/configure.in: Likewise.
52932         * sysdeps/x86_64/configure.in: Likewise.
52933         * sysdeps/sh/configure.in: Likewise.
52934         * sysdeps/s390/s390-32/configure: Regenerated.
52935         * sysdeps/s390/s390-64/configure: Likewise.
52936         * sysdeps/x86_64/configure: Likewise.
52937         * sysdeps/sh/configure: Likewise.
52938         * sysdeps/powerpc/powerpc64/configure: Likewise.
52939         * sysdeps/powerpc/powerpc32/configure: Likewise.
52940         * sysdeps/sparc/configure: Likwise.
52941         * sysdeps/i386/configure: Likewise.
52943         * elf/dl-open.c: Comment fixes.
52945 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
52947         * Makefile [CXX] (check-data): Remove.
52948         [CXX] (c++-types.data): New vpath directive.
52949         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
52950         vpath.  Do not allow for C++ type data being missing.
52951         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
52952         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
52953         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
52954         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
52955         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
52956         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
52957         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
52958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
52959         ... here.
52960         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
52961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
52962         ... here.
52963         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
52964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
52965         ... here.
52966         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
52967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
52968         ... here.
52969         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
52970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
52971         ... here.
52972         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
52973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
52974         ... here.
52975         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
52976         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
52977         ... here.
52978         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
52979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
52981         * elf/tls-macros.h (TLS_LE): Move architecture-specific
52982         definitions to architecture-specific files.
52983         (TLS_IE): Likewise.
52984         (TLS_LD): Likewise.
52985         (TLS_GD): Likewise.
52986         * sysdeps/i386/tls-macros.h: New file.
52987         * sysdeps/powerpc/tls-macros.h: Likewise.
52988         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
52989         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
52990         * sysdeps/sh/tls-macros.h: Likewise.
52991         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
52992         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
52993         * sysdeps/x86_64/tls-macros.h: Likewise.
52995 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
52997         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
52998         zero value for regular exit case.
53000         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
53001         (__start_context): Preserve zero value for regular exit case.
53003 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
53004             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53006         * manual/setjmp.texi (setcontext): Clarify normal process
53007         termination when uc_link is the null pointer.
53008         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
53009         exit call.
53011 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
53013         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
53014         preprocessor.  Test for each exception mask separately.
53016 2012-07-16  Andreas Jaeger  <aj@suse.de>
53018         * po/ru.po: Update from translation team.
53020 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
53022         * conform/data/string.h-data (NULL): Use macro-constant.  Require
53023         equal to 0.
53024         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
53025         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
53026         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
53027         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
53028         [ISO || ISO99 || ISO11] (*_t): Do not allow.
53030 2012-07-13  Andreas Jaeger  <aj@suse.de>
53032         * po/fr.po: Update from translation team.
53034 2012-07-12  Marek Polacek  <polacek@redhat.com>
53036         [BZ #14173]
53037         * math/libm-test.inc (yn_test): Add test for BZ #14173.
53038         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
53039         loop condition.
53041 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
53043         [BZ #13717]
53044         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53045         Change to 2.4.1 where previously 2.4.0.
53046         * sysdeps/unix/sysv/linux/configure: Regenerated.
53047         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
53048         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
53049         version.
53050         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
53051         (__ASSUME_AT_CLKTCK): Remove.
53052         (__ASSUME_AT_PAGESIZE): Likewise.
53053         (__ASSUME_AT_XID): Likewise.
53054         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
53055         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
53056         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
53057         unconditionally.
53058         (HAVE_AUX_PAGESIZE): Likewise.
53059         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
53060         [__ASSUME_AT_CLKTCK]: Make code unconditional.
53061         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
53063 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
53065         [BZ #14307]
53066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
53067         the temporary buffer used to invoke __gethostbyname2_r,
53068         __gethostbyaddr_r and gethostbyname4_r to make room for struct
53069         host_data / struct gaih_addrtuple.
53070         * resolv/nss_dns/dns-host.c (global scope): Move definition of
53071         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
53072         header file nss/nsswitch.h.
53073         * nss/nsswitch.h (global scope): Add definition of implementation
53074         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
53075         resolv/nss_dns/dns-host.c).
53077 2012-07-11  Andreas Jaeger  <aj@suse.de>
53079         * po/fr.po: Update from translation team.
53081         * po/sv.po: Update from translation team
53082         * po/fr.po: Another update from translation team.
53084 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53086         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
53087         for subnormals or multiply small sinh result by itself.
53088         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
53089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53091 2012-07-11  David S. Miller  <davem@davemloft.net>
53093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53095 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
53097         [BZ #14347]
53098         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
53099         (INTERNAL_MARK): Shift it here.
53101 2012-07-10  Marek Polacek  <polacek@redhat.com>
53103         [BZ #14151]
53104         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
53105         libc_cv_asm_global_directive with .globl.
53106         * configure: Regenerated.
53107         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
53108         with .globl.
53109         * sysdeps/i386/configure: Regenerated.
53110         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
53111         with .globl.
53112         * sysdeps/x86_64/configure: Regenerated.
53113         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
53114         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
53115         * elf/tst-unique2mod2.c: Likewise.
53116         * elf/tst-unique2mod1.c: Likewise.
53117         * elf/tst-unique1mod2.c: Likewise.
53118         * elf/tst-unique1mod1.c: Likewise.
53119         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53120         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53121         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53122         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53123         * sysdeps/mach/sysdep.h: Likewise.
53124         * sysdeps/i386/sysdep.h: Likewise.
53125         * sysdeps/i386/i386-mcount.S: Likewise.
53126         * sysdeps/x86_64/_mcount.S: Likewise.
53127         * sysdeps/x86_64/sysdep.h: Likewise.
53128         * sysdeps/sh/_mcount.S: Likewise.
53129         * sysdeps/sh/sysdep.h: Likewise.
53130         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
53131         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
53132         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
53133         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53134         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
53135         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
53136         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
53137         * locale/localeinfo.h: Likewise.
53138         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
53139         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
53141 2012-07-09  Roland McGrath  <roland@hack.frob.com>
53143         [BZ #14336]
53144         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
53145         system".
53146         * manual/message.texi (The Uniforum approach): Likewise.
53147         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
53148         (glibc iconv Implementation): Likewise.
53150 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
53152         [BZ #14337]
53153         * math/s_clog.c (__clog): Avoid scaling a value down where that
53154         could result in underflow.
53155         * math/s_clog10.c (__clog10): Likewise.
53156         * math/s_clog10f.c (__clog10f): Likewise.
53157         * math/s_clog10l.c (__clog10l): Likewise.
53158         * math/s_clogf.c (__clogf): Likewise.
53159         * math/s_clogl.c (__clogl): Likewise.
53160         * math/libm-test.inc (clog_test): Add more tests.
53161         (clog10_test): Likewise.
53162         * sysdeps/i386/fpu/libm-test-ulps: Update.
53163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53165 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
53167         [BZ #14283]
53168         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
53169         by 7 not 8 to examine high bit of fractional part.
53171         [BZ #14042]
53172         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
53173         for call to __mcount_internal.
53174         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
53175         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
53176         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
53178 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
53180         [BZ #14154]
53181         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
53182         approximation for values within 0x1p-13f of an odd multiple of
53183         pi/4.
53184         * math/libm-test.inc (tan_test): Do not allow spurious underflow
53185         exception.  Add more tests.
53186         * sysdeps/i386/fpu/libm-test-ulps: Update.
53188         [BZ #6778]
53189         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
53190         inputs and return -1 for them.  Do not check for +Inf in case not
53191         reachable for +Inf.
53192         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53193         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
53194         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53195         and return -1 for them.  Do not check for +Inf in case not
53196         reachable for +Inf.
53197         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
53198         define.
53199         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
53200         and return -1 for them.  Do not check for +Inf in case not
53201         reachable for +Inf.
53202         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
53203         spurious underflow.
53204         * sysdeps/i386/fpu/libm-test-ulps: Update.
53205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53207 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
53209         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
53211 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
53213         [BZ #14157]
53214         [BZ #14331]
53215         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
53216         could result in spurious underflow.  Scale down values above
53217         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
53218         * math/s_csqrtf.c (__csqrtf): Likewise.
53219         * math/s_csqrtl.c (__csqrtl): Likewise.
53220         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
53221         spurious underflow.
53222         * sysdeps/i386/fpu/libm-test-ulps: Update.
53223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53225 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
53227         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
53228         xopen-msg.sed.
53229         * catgets/xopen-msg.awk: New file.
53230         * catgets/xopen-msg.sed: Removed.
53232         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
53233         po2text.sed.
53234         * intl/po2test.awk: New file.
53235         * intl/po2test.sed: Removed.
53237 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
53239         [BZ #14328]
53240         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
53241         or multiply small sinh result by itself.
53242         * math/s_ctanf.c (__ctanf): Likewise.
53243         * math/s_ctanh.c (__ctanh): Likewise.
53244         * math/s_ctanhf.c (__ctanhf): Likewise.
53245         * math/s_ctanhl.c (__ctanhl): Likewise.
53246         * math/s_ctanl.c (__ctanl): Likewise.
53247         * math/libm-test.inc (ctan_test_tonearest): New function.
53248         (ctan_test_towardzero): Likewise.
53249         (ctan_test_downward): Likewise.
53250         (ctan_test_upward): Likewise.
53251         (ctanh_test_tonearest): Likewise.
53252         (ctanh_test_towardzero): Likewise.
53253         (ctanh_test_downward): Likewise.
53254         (ctanh_test_upward): Likewise.
53255         (main): Call these new functions.
53256         * sysdeps/i386/fpu/libm-test-ulps: Update.
53257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53259 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
53261         * .gitignore: Delete /ports entry.
53263 2012-07-03  Andreas Jaeger  <aj@suse.de>
53265         * po/bg.po: Update from translation team.
53266         * po/cs.po: Likewise.
53267         * po/de.po: Likewise.
53268         * po/hr.po: Likewise.
53269         * po/nl.pl: Likewise.
53270         * po/pl.po: Likewise.
53271         * po/vi.po: Likewise.
53273 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
53275         * Makeconfig [!+link] (+link-before-libc): New variable.
53276         [!+link] (+link-after-libc): Likewise.
53277         [!+link] (+link-tests): Likewise.
53278         [!+link] (+link): Define in terms of $(+link-before-libc) and
53279         $(+link-after-libc).
53280         [!+link-static] (+link-static-before-libc): New variable.
53281         [!+link-static] (+link-static-after-libc): Likewise.
53282         [!+link-static] (+link-static-tests): Likewise.
53283         [!+link-static] (+link-static): Define in terms of
53284         $(+link-static-before-libc) and $(+link-static-after-libc).
53285         [build-shared] (link-libc-before-gnulib): New variable.
53286         [build-shared] (link-libc-tests): Likewise.
53287         [build-shared] (link-libc): Define in terms of
53288         $(link-libc-before-gnulib).
53289         [!build-shared] (link-libc-tests): New variable.
53290         (link-libc-static-tests): New variable.
53291         [!gnulib] (gnulib-arch): New variable.
53292         [!gnulib] (gnulib-tests): Likewise.
53293         [!gnulib] (static-gnulib-arch): Likewise.
53294         [!gnulib] (static-gnulib-tests): Likewise.
53295         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
53296         Define with "=" instead of ":=".
53297         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
53298         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
53299         * Rules (binaries-all-notests): New variable.
53300         (binaries-all-tests): Likewise.
53301         (binaries-static-notests): Likewise.
53302         (binaries-static-tests): Likewise.
53303         (binaries-all): Define using $(binaries-all-notests) and
53304         $(binaries-all-tests).
53305         (binaries-static): Define using $(binaries-static-notests) and
53306         $(binaries-static-tests).
53307         (binaries-shared-tests): New variable.
53308         (binaries-shared-notests): Likewise.
53309         (binaries-shared): Remove variable.
53310         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
53311         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
53312         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
53313         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
53314         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
53315         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
53316         * elf/Makefile (sln-modules): New variable.
53317         (extra-objs): Add $(sln-modules:=.o).
53318         (ldconfig-modules): Add static-stubs.
53319         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
53320         * elf/static-stubs.c: New file.
53322         [BZ #14283]
53323         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
53324         by 7 not 8 to examine high bit of fractional part.  Use volatile
53325         variables when splitting into final array of floats if
53326         __FLT_EVAL_METHOD__ != 0.
53327         * math/libm-test.inc (cos_test): Add another test.
53328         (sin_test): Likewise.
53329         * sysdeps/i386/fpu/libm-test-ulps: Update.
53331         [BZ #14273]
53332         * math/libm-test.inc (cosh_test): Add more tests.
53334         * version.h (RELEASE): Set to "development".
53335         (VERSION): Set to "2.16.90".
53337 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
53339         * NEWS: Update copyright. Remove last-updated date.
53340         Mention math library bug fixes and timezone data changes.
53341         * README: Mention GNU/Hurd, x32, and HPPA support status.
53343 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
53345         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
53347 2012-06-27  Andreas Jaeger  <aj@suse.de>
53349         * manual/contrib.texi (Contributors): Add Samuel Thibault.
53351 2012-06-25  Andreas Jaeger  <aj@suse.de>
53353         * sysdeps/s390/fpu/libm-test-ulps: Update.
53355 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
53356             Thomas Schwinge  <thomas@codesourcery.com>
53358         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
53359         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
53360         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
53361         fanotify_mark.
53363 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
53365         * sysdeps/mach/start.c: Remove file.
53366         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
53367         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
53368         * sysdeps/sh/init-first.c: Likewise.
53370         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
53371         registers for frame unwinding purposes, add CFI directives.
53372         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53373         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
53374         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
53375         Likewise.
53377         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
53378         __fortify_fail returning.
53379         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
53381         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
53382         sysdeps/sh/____longjmp_chk.S.
53383         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
53384         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
53385         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
53386         (gen-as-const-headers): Append sigaltstack-offsets.sym.
53388         * sysdeps/sh/abort-instr.h: New file.
53389         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
53390         process in case exit returns.
53392         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
53393         initialize the GOT register before use.
53395         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
53396         calculation of ARGC > 4.
53398         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
53399         meaningful names to some local labels.
53401 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53402             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53404         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
53405         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
53406         (__arch_compare_and_exchange_val_16_acq): Likewise.
53407         (__arch_compare_and_exchange_val_32_acq): Likewise.
53408         (atomic_exchange_and_add): Fix gUSA sequence.
53409         (atomic_add): Likewise.
53410         (atomic_add_negative): Likewise.
53411         (atomic_add_zero): Likewise.
53412         (atomic_bit_test_set): Likewise.
53414 2012-06-22  Andreas Schwab  <schwab@redhat.com>
53416         [BZ #13579]
53417         * include/link.h (struct link_map): Add l_free_initfini.
53418         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
53419         l_initfini.
53420         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
53421         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
53422         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
53423         set.
53425 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
53427         * configure.in: Use AC_LANG_SOURCE.
53428         * configure: Regenerate.
53430 2012-06-22  Roland McGrath  <roland@hack.frob.com>
53432         * configure.in (libc_cv_localstatedir): New substituted variable.
53433         * configure: Regenerated.
53434         * config.make.in (localstatedir): New variable, substituted from
53435         libc_cv_localstatedir.
53436         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
53437         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
53438         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
53439         * sysdeps/gnu/configure: Regenerated.
53441 2012-06-21  Jeff Law  <law@redhat.com>
53443         [BZ #14277]
53444         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
53445         free.  Simplify list management for _LIBC case.
53447 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
53449         [BZ #14273]
53450         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
53451         Clear sign bit of 64-bit integer value before comparing against
53452         overflow value.
53454         * sysdeps/mach/configure: Regenerated.
53456 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
53458         [BZ #14278]
53459         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
53461 2012-06-21  Jeff Law  <law@redhat.com>
53463         [BZ #13882]
53464         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
53465         uint16_t for elements in the "seen" array to avoid char overflows.
53466         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53467         * elf/dl-open.c (dl_open_worker): Likewise.
53469 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
53471         * scripts/list-sources.sh: Scan PORTS for translations.
53472         * po/libc.pot: Regenerated.
53474 2012-06-21  Andreas Jaeger  <aj@suse.de>
53476         [BZ #12194]
53477         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
53478         warning.
53479         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
53480         * bits/byteswap-16.h (__bswap_16): Likewise.
53481         * bits/byteswap.h (__bswap_constant_16): Likewise.
53483 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
53485         [BZ #14117]
53486         * sysdeps/i386/fpu_control.h: Removed.
53487         * sysdeps/x86_64/fpu_control.h: Moved to ...
53488         * sysdeps/x86/fpu_control.h: Here.
53490         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
53491         (_FPU_SETCW): Likewise.
53493 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
53495         [BZ #14117]
53496         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
53497         * sysdeps/x86/fpu/bits/mathinline.h: This.
53498         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
53500         [BZ #14050]
53501         [BZ #14117]
53502         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
53503         functions if __x86_64__ is defined.
53505 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
53507         * string/endian.h: Add !__ASSEMBLER__ condition for including
53508         conversion interfaces.
53510 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
53512         [BZ #14241]
53513         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
53514         of ABS(x) in calculating zero to negative powers other than odd
53515         integers.
53516         * math/libm-test.inc (pow_test): Add more tests.
53518 2012-06-15  Andreas Jaeger  <aj@suse.de>
53520         * manual/contrib.texi (Contributors): Update entry of Liubov
53521         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
53522         Machado Filho.
53524 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
53526         * string/string.h: Add __wur to GNU version of strerror_r.
53528 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
53530         [BZ #14229]
53531         * string/Makefile (tests): Add tst-strtok_r.
53532         * string/tst-strtok_r.c: New file.
53533         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
53534         RAX_LP/RDX_LP on SAVE_PTR.
53536 2012-06-14  Roland McGrath  <roland@hack.frob.com>
53538         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
53540 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
53542         * libm_test.inc (csqrt_test): Allow more spurious underflow
53543         exceptions.
53544         (j0_test): Likewise.
53545         (j1_test): Likewise.
53546         (y0_test): Likewise.
53547         (y1_test): Likewise.
53549 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
53551         * po/Makefile (libc.pot): Use UTF-8 charset.
53553 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
53555         [BZ #14210]
53556         Suppress sign-conversion warning from FD_SET.
53557         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
53558         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
53559         not unsigned long int.
53560         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
53562 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
53564         [BZ #14050]
53565         [BZ #14117]
53566         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
53567         __extern_always_inline instead of __extern_inline.
53568         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
53569         (__signbit): Likewise.
53570         (__signbitl): Support C++ namespace.
53571         (lrintf): New inline function.
53572         (lrint): Likewise.
53573         (llrintf): Likewise.
53574         (llrint): Likewise.
53575         (fmaxf): Likewise.
53576         (fmax): Likewise.
53577         (fminf): Likewise.
53578         (fmin): Likewise.
53579         (rint): Likewise.
53580         (rintf): Likewise.
53581         (ceil): Likewise.
53582         (ceilf): Likewise.
53583         (floor): Likewise.
53584         (floorf): Likewise.
53585         (nearbyint): Likewise.
53586         (nearbyintf): Likewise.
53588 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
53590         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
53591         non-default versions.
53593 2012-06-11  Roland McGrath  <roland@hack.frob.com>
53595         [BZ #14218]
53596         * manual/argp.texi (Argp): Reword argp_parse description slightly.
53598 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
53600         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
53601         (FE_UPWARD, FE_DOWNWARD): Don't define.
53602         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
53603         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53605         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
53606         reading it.
53607         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
53608         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53610 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53612         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53613         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
53614         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
53615         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
53617 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
53619         [BZ #14117]
53620         * sysdeps/i386/fpu/bits/fenv.h: Removed.
53621         * sysdeps/i386/fpu/Implies: New file.
53622         * sysdeps/x86_64/fpu/Implies: Likewise.
53623         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
53624         * sysdeps/x86/fpu/bits/fenv.h: This.
53626         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
53627         __SSE_MATH__.
53629 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53631         [BZ #14134]
53632         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
53633         character 0xffff that matches the last element of the
53634         conversion table.
53636 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53638         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
53639         fmodl commit.
53641 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53643         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
53644         values higher than 25.6283.
53646 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53648         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
53649         subnormal exponent extraction and add some __builtin_expect.
53650         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
53651         Fix for subnormal mantissa calculation.
53653 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
53655         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
53656         cpu2 is -1 and errno is not ENOSYS.
53658 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
53660         [BZ #14117]
53661         * sysdeps/i386/i486/bits/string.h: Renamed to ...
53662         * sysdeps/x86/bits/string.h: This.
53663         * sysdeps/x86_64/bits/string.h: Removed.
53665         * sysdeps/i386/i486/bits/string.h: Define inline functions only
53666         if not compiling for x86-64, but compiling for >= i486.
53668         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
53669         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
53671         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
53672         New macro from Linux kernel 3.4.0.
53673         (FP_XSTATE_MAGIC2): Likewise.
53674         (FP_XSTATE_MAGIC2_SIZE): Likewise.
53675         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
53676         (struct _fpx_sw_bytes): New struct.
53677         (struct _xsave_hdr): Likewise.
53678         (struct _ymmh_state): Likewise.
53679         (struct _xstate): Likewise.
53681         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
53682         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
53683         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
53684         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
53685         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
53686         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
53688         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
53689         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
53690         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
53691         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
53692         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
53693         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
53695 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53697         [BZ #13743]
53698         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
53699         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
53700         (sysdep_headers): Include sys/platform/ppc.h.
53701         * sysdeps/powerpc/test-gettimebase.c: Test for
53702         __ppc_get_timebase() to catch future ISA opcode/insn changes.
53703         * manual/Makefile (appendices): Include platform.texi.
53704         * manual/contrib.texi (Contributors): Update @node pointers.
53705         * manual/maint.texi (Maintenance): Likewise.
53706         (Platform): New node.
53707         * manual/platform.texi: New file.  Document the new features.
53709 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53710             Jakub Jelinek  <jakub@redhat.com>
53712         [BZ #14188]
53713         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
53714         where __builtin_expect is unavailable.
53716 2012-06-03  David S. Miller  <davem@davemloft.net>
53718         * stdlib/longlong.h: Updated from GCC.
53720 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
53722         [BZ #14042]
53723         * sysdeps/powerpc/powerpc32/mcount.c: New file.
53724         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
53725         __mcount_internal.
53726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53727         (GLIBC_2.16): Likewise.
53729 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53731         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
53733 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
53735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
53736         (default-abi): New variable.
53737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
53738         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
53739         variable.
53740         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
53741         Likewise.
53742         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
53743         Likewise.
53744         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
53745         Likewise.
53747         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
53748         definition.  Document in comment.
53750 2012-06-01  David S. Miller  <davem@davemloft.net>
53752         * stdlib/longlong.h: Updated from GCC.
53754 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53756         [BZ #14117]
53757         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
53758         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
53759         sys/debugreg.h sys/io.h here.
53760         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
53761         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
53762         sys/io.h.
53763         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
53764         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
53765         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
53766         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
53767         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
53768         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
53770         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
53771         Define only if __x86_64__ is defined.
53773 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
53775         [BZ #14048]
53776         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
53777         Use int64_t for variable i.
53778         * math/libm-test.inc (fmod_test): Add more tests.
53780         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
53781         z computation is not scheduled after fetestexcept.
53782         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
53783         Use math_force_eval instead of asm to ensure calculation scheduled
53784         before exception test.
53785         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
53786         Ensure a1 + u.d computation is not scheduled after fetestexcept.
53788 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
53790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
53791         computation is not scheduled after fetestexcept.
53793 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
53795         [BZ #14117]
53796         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
53797         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
53799 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53801         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
53802         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
53804 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
53806         [BZ #14117]
53807         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
53808         <bits/wordsize.h>.
53809         (__WCHAR_MIN): Support __WORDSIZE == 64.
53810         (__WCHAR_MAX): Likewise.
53812         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
53813         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
53815         [BZ #14183]
53816         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
53817         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
53819         [BZ #14117]
53820         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
53821         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
53823         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
53824         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
53826         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
53827         Defined to 1 if __x86_64__ isn't defined.
53828         (_STAT_VER_LINUX_OLD): New.
53829         (st_atime): Remove duplicate.
53830         (st_mtime): Likewise.
53831         (st_ctime): Likewise.
53833 2012-05-31  David S. Miller  <davem@davemloft.net>
53835         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
53836         entries.
53838 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
53840         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
53841         gen-libm-test.pl.
53843         [BZ #14132]
53844         * elf/dl-reloc.c: Include <_itoa.h>.
53845         (_dl_reloc_bad_type): Remove use of INTUSE.
53846         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
53847         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
53848         * stdio-common/psiginfo.c (psiginfo): Likewise.
53849         * stdio-common/psignal.c (psignal): Likewise.
53850         * string/strsignal.c (strsignal): Likewise.
53851         * include/signal.h (_sys_siglist): Declare hidden proto.
53852         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
53853         INTVARDEF with libc_hidden_data_def.
53854         * stdio-common/itoa-udigits.c: Likewise.
53855         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
53856         (_itoa_lower_digits_internal): Remove declaration.
53857         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
53858         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
53859         (_sys_sigabbrev_internal): Remove aliases.
53860         (_sys_siglist): Define hidden alias.
53862 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
53864         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53865         bits/sysctl.h.
53867 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
53869         [BZ #14117]
53870         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
53871         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
53873         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
53874         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
53875         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
53876         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
53877         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
53878         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
53880         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
53881         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
53882         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
53884         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
53885         with __addr.
53886         (insw): Likewise.
53887         (insl): Likewise.
53888         (outsb): Likewise.
53889         (outsw): Likewise.
53890         (outsl): Likewise.
53892         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
53893         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
53894         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
53896         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
53897         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
53898         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
53899         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
53900         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
53901         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
53903         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
53904         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
53906         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
53907         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
53909         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
53910         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
53911         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
53913         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
53914         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
53915         to ...
53916         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
53918         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
53919         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
53920         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
53922         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
53923         for x86-64.
53924         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
53926 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
53928         * math/math.h (M_El): Use two more decimal places.
53929         (M_LOG2El): Likewise.
53930         (M_LOG10El): Likewise.
53931         (M_LN2l): Likewise.
53932         (M_LN10l): Likewise.
53933         (M_PIl): Likewise.
53934         (M_PI_2l): Likewise.
53935         (M_PI_4l): Likewise.
53936         (M_1_PIl): Likewise.
53937         (M_2_PIl): Likewise.
53938         (M_2_SQRTPIl): Likewise.
53939         (M_SQRT2l): Likewise.
53940         (M_SQRT1_2l): Likewise.
53942 2012-05-31  David S. Miller  <davem@davemloft.net>
53944         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
53945         values between float registers.
53946         * sysdeps/sparc/sparc64/memset.S: Likewise.
53947         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
53949 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
53951         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
53952         -D_FORTIFY_SOURCE=1.
53953         (CPPFLAGS-tst-longjmp_chk.c): Define.
53954         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
53955         (CPPFLAGS-tst-longjmp_chk2.c): Define.
53956         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
53957         CFLAGS-tst-wchar-h.c.
53959 2012-05-31  Marek Polacek  <polacek@redhat.com>
53961         [BZ #14132]
53962         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
53963         __endmntent_internal): Remove declaration.
53964         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
53965         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
53966         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
53968 2012-05-30  David S. Miller  <davem@davemloft.net>
53970         * sysdeps/sparc/sparc32/soft-fp/q_util.c
53971         (___Q_simulate_exceptions): Use real FP ops rather than writing
53972         into the %fsr.
53973         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
53974         Likewise.
53976 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
53978         [BZ #14117]
53979         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
53980         * sysdeps/x86/bits/xtitypes.h: This.
53982         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
53983         * sysdeps/x86/bits/wordsize.h: This.
53985         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
53986         * sysdeps/x86/bits/huge_vall.h: This.
53988         * sysdeps/i386/bits/select.h: Removed.
53989         * sysdeps/x86_64/bits/select.h: Renamed to ...
53990         * sysdeps/x86/bits/select.h: This.
53992         * sysdeps/i386/bits/setjmp.h: Removed.
53993         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
53994         * sysdeps/x86/bits/setjmp.h: This.
53996         * sysdeps/i386/bits/mathdef.h: Removed.
53997         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
53998         * sysdeps/x86/bits/mathdef.h: This.
54000 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
54002         [BZ #14132]
54003         * include/sys/socket.h (__connect_internal)
54004         (__libc_sa_len_internal): Remove declaration.
54005         (__connect, __libc_sa_len): Declare hidden_proto.
54006         (SA_LEN): Remove use of INTUSE.
54007         * socket/connect.c: Add libc_hidden_def.
54008         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
54009         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
54010         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
54011         alias.
54012         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
54013         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
54014         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
54015         of adding _internal alias.
54017 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54019         [BZ #14117]
54020         * sysdeps/i386/bits/link.h: Removed.
54021         * sysdeps/i386/bits/linkmap.h: Likewise.
54022         * sysdeps/x86_64/bits/link.h: Renamed to ...
54023         * sysdeps/x86/bits/link.h: This.
54024         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
54025         * sysdeps/x86/bits/linkmap.h: This.
54027         * sysdeps/i386/bits/endian.h: Removed.
54028         * sysdeps/x86_64/bits/endian.h: Renamed to ...
54029         * sysdeps/x86/bits/endian.h: This.
54031         * sysdeps/i386/bits/byteswap.h: Removed.
54032         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54033         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
54034         * sysdeps/x86/bits/byteswap.h: This.
54035         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
54036         * sysdeps/x86/bits/byteswap-16.h: This.
54037         * sysdeps/i386/Implies: Add x86.
54038         * sysdeps/x86_64/Implies: Likewise.
54040 2012-05-30  David S. Miller  <davem@davemloft.net>
54042         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
54043         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
54044         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54045         (FP_TRAPPING_EXCEPTIONS): Define.
54046         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54047         (FP_TRAPPING_EXCEPTIONS): Define.
54048         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
54049         subnormals only when inexact has been signalled or underflow
54050         exceptions are enabled.
54051         (_FP_PACK_CANONICAL): Likewise.
54053 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54055         [BZ #14183]
54056         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
54057         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
54059 2012-05-30  Richard Henderson  <rth@twiddle.net>
54061         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
54062         with #ifndef NOT_IN_libc.
54064         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
54065         marked to avoid plt entry.
54067 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
54069         [BZ #14112]
54070         * Makeconfig (default-abi): New macro.
54071         (abi-includes): Likewise.
54072         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
54073         $(abi-$(default-abi)-lib-soname) for soname if defined.
54074         ($(common-objpfx)gnu/lib-names.stmp): Generate from
54075         abi-variants.
54076         * Makefile (installed-stubs): Likewise.
54077         * include/stubs-biarch.h: Removed.
54078         * scripts/lib-names.awk: Only handle one library at a time.
54079         * scripts/soversions.awk: Remove WORDSIZE support.
54080         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
54081         entries.
54082         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
54083         Removed.
54084         (syscall-list-default-condition): Likewise.
54085         (syscall-list-default-condition): Likewise.
54086         (syscall-list-includes): Likewise.
54087         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
54088         syscall-list-* with abi-*.  Handle undefined abi-variants.
54089         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
54090         * sysdeps/unix/sysv/linux/i386/Implies: New file.
54091         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
54092         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
54093         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
54094         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
54095         Removed.
54096         (syscall-list-32-options): Likewise.
54097         (syscall-list-32-condition): Likewise.
54098         (syscall-list-64-options): Likewise.
54099         (syscall-list-64-condition): Likewise.
54100         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
54101         macro.
54102         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
54103         Renamed to ...
54104         (abi-*): This.
54105         (abi-64-ld-soname): New macro.
54106         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
54107         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
54108         Renamed to ...
54109         (abi-*): This.
54110         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
54111         * sysdeps/x86_64/x32/shlib-versions: Likewise.
54113 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
54115         * sysdeps/unix/sysv/linux/kernel-features.h
54116         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
54117         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
54118         include <kernel-features.h>.
54119         [!__NR_ftruncate64]: Remove conditional code.
54120         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54121         [__NR_ftruncate64]: Make code unconditional.
54122         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54123         * sysdeps/unix/sysv/linux/truncate64.c: Do not
54124         include <kernel-features.h>.
54125         [!__NR_ftruncate64]: Remove conditional code.
54126         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54127         [__NR_ftruncate64]: Make code unconditional.
54128         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
54130         include <kernel-features.h>.
54131         [!__NR_ftruncate64]: Remove conditional code.
54132         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54133         [__NR_ftruncate64]: Make code unconditional.
54134         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54136         include <kernel-features.h>.
54137         [!__NR_ftruncate64]: Remove conditional code.
54138         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54139         [__NR_ftruncate64]: Make code unconditional.
54140         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
54142         * configure.in (libc_cv_fpie): Weaken to a compile test using
54143         LIBC_TRY_CC_OPTION.
54144         * configure: Regenerated.
54146 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
54149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
54150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
54151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54152         Refreshed.
54153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
54154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
54155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
54156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
54157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
54158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54159         Refreshed.
54161 2012-05-27  David S. Miller  <davem@davemloft.net>
54163         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
54164         (___Q_zero): New.
54165         (__Q_simulate_exceptions): Return void.  Change to simulate
54166         exceptions by writing into the %fsr.
54167         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
54168         (__Qp_handle_exceptions): Likewise.
54169         (numbers): Delete.
54170         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
54171         __Qp_handle_exceptions.
54172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
54173         __Qp_handle_exceptions.
54174         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54175         as unused and give dummy FP_RND_NEAREST initializer.
54176         (FP_INHIBIT_RESULTS): Define.
54177         (___Q_simulate_exceptions): Update declaration.
54178         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
54179         formatting.
54180         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
54181         as unused and give dummy FP_RND_NEAREST initializer.
54182         (__Qp_handle_exceptions): Update declaration.
54183         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
54184         formatting.
54186 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
54188         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
54189         the temporary FPU control word.
54190         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
54191         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
54192         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
54193         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
54194         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54195         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
54196         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
54197         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
54198         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54199         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
54200         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54202 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54204         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
54205         fields.
54207 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
54209         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
54210         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
54211         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
54212         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
54213         Likewise.
54214         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
54215         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
54216         Likewise.
54218 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
54220         * po/h.po: Update from translation team.
54222 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
54224         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
54226         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
54227         handling of denormals.
54228         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54229         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54230         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
54231         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
54232         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54233         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
54234         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
54235         Likewise.
54237 2012-05-26  Marek Polacek  <polacek@redhat.com>
54239         [BZ #14152]
54240         * math/libm-test.inc (fma_test): Don't always expect underflow
54241         exception.
54243 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54245         [BZ #12416]
54246         * elf/tst-execstack.c: Include stackinfo.h.
54247         (do_test): Adjust test case to ensure that pthread_getattr_np
54248         behaviour remains the same after marking stack executable.
54250 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54252         * sysdeps/unix/sysv/linux/kernel-features.h
54253         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
54254         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
54255         kernel-features.h.
54256         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54257         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54258         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
54259         kernel-features.h.
54260         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
54261         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
54263 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
54265         * configure.in: Define the default includes to being none.
54266         * configure: Regenerated.
54268 2012-05-25  Roland McGrath  <roland@hack.frob.com>
54270         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
54271         * sysdeps/x86_64/setjmp.S: Likewise.
54272         * sysdeps/i386/bsd-setjmp.S: Likewise.
54273         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54274         * sysdeps/i386/setjmp.S: Likewise.
54275         * sysdeps/i386/__longjmp.S: Likewise.
54276         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54277         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
54279         * include/stap-probe.h: New file.
54280         * configure.in: Handle --enable-systemtap.
54281         * configure: Regenerated.
54282         * config.h.in (USE_STAP_PROBE): New #undef.
54283         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
54284         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
54285         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
54287 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
54289         [BZ #13717]
54290         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
54291         to 2.4.0 where earlier.
54292         * sysdeps/unix/sysv/linux/configure: Regenerated.
54293         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54294         <kernel-features.h>.
54295         [__ASSUME_32BITUIDS]: Make code unconditional.
54296         [!__ASSUME_32BITUIDS]: Remove conditional code.
54297         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
54298         <kernel-features.h>.
54299         [__ASSUME_32BITUIDS]: Make code unconditional.
54300         [!__ASSUME_32BITUIDS]: Remove conditional code.
54301         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
54302         [__ASSUME_32BITUIDS]: Make code unconditional.
54303         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
54304         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
54305         <kernel-features.h>.
54306         [__ASSUME_32BITUIDS]: Make code unconditional.
54307         [!__ASSUME_32BITUIDS]: Remove conditional code.
54308         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
54309         <kernel-features.h>.
54310         [__ASSUME_32BITUIDS]: Make code unconditional.
54311         [!__ASSUME_32BITUIDS]: Remove conditional code.
54312         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
54313         <kernel-features.h>.
54314         [__ASSUME_32BITUIDS]: Make code unconditional.
54315         [!__ASSUME_32BITUIDS]: Remove conditional code.
54316         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
54317         <kernel-features.h>.
54318         [__ASSUME_32BITUIDS]: Make code unconditional.
54319         [!__ASSUME_32BITUIDS]: Remove conditional code.
54320         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54321         <kernel-features.h>.
54322         [__ASSUME_32BITUIDS]: Make code unconditional.
54323         [!__ASSUME_32BITUIDS]: Remove conditional code.
54324         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54325         <kernel-features.h>.
54326         [__ASSUME_32BITUIDS]: Make code unconditional.
54327         [!__ASSUME_32BITUIDS]: Remove conditional code.
54328         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
54329         <kernel-features.h>.
54330         [__ASSUME_32BITUIDS]: Make code unconditional.
54331         [!__ASSUME_32BITUIDS]: Remove conditional code.
54332         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54333         <kernel-features.h>.
54334         [__ASSUME_32BITUIDS]: Make code unconditional.
54335         [!__ASSUME_32BITUIDS]: Remove conditional code.
54336         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54337         <kernel-features.h>.
54338         [__ASSUME_32BITUIDS]: Make code unconditional.
54339         [!__ASSUME_32BITUIDS]: Remove conditional code.
54340         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
54341         <kernel-features.h>.
54342         [__ASSUME_32BITUIDS]: Make code unconditional.
54343         [!__ASSUME_32BITUIDS]: Remove conditional code.
54344         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
54345         <kernel-features.h>.
54346         [__NR_setresgid] (__setresgid): Do not declare.
54347         [__ASSUME_32BITUIDS]: Make code unconditional.
54348         [!__ASSUME_32BITUIDS]: Remove conditional code.
54349         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
54350         <kernel-features.h>.
54351         [__NR_setresuid] (__setresuid): Do not declare.
54352         [__ASSUME_32BITUIDS]: Make code unconditional.
54353         [!__ASSUME_32BITUIDS]: Remove conditional code.
54354         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
54355         <kernel-features.h>.
54356         [__ASSUME_32BITUIDS]: Make code unconditional.
54357         [!__ASSUME_32BITUIDS]: Remove conditional code.
54358         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
54359         <kernel-features.h>.
54360         [__ASSUME_32BITUIDS]: Make code unconditional.
54361         [!__ASSUME_32BITUIDS]: Remove conditional code.
54362         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
54363         <kernel-features.h>.
54364         [__ASSUME_32BITUIDS]: Make code unconditional.
54365         [!__ASSUME_32BITUIDS]: Remove conditional code.
54366         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
54367         <kernel-features.h>.
54368         [__ASSUME_32BITUIDS]: Make code unconditional.
54369         [!__ASSUME_32BITUIDS]: Remove conditional code.
54370         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
54371         <kernel-features.h>.
54372         [__ASSUME_32BITUIDS]: Make code unconditional.
54373         [!__ASSUME_32BITUIDS]: Remove conditional code.
54374         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
54375         <kernel-features.h>.
54376         [__ASSUME_32BITUIDS]: Make code unconditional.
54377         [!__ASSUME_32BITUIDS]: Remove conditional code.
54378         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
54379         <kernel-features.h>.
54380         [__ASSUME_32BITUIDS]: Make code unconditional.
54381         [!__ASSUME_32BITUIDS]: Remove conditional code.
54382         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
54383         <kernel-features.h>.
54384         [__ASSUME_32BITUIDS]: Make code unconditional.
54385         [!__ASSUME_32BITUIDS]: Remove conditional code.
54386         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
54387         <kernel-features.h>.
54388         [__ASSUME_32BITUIDS]: Make code unconditional.
54389         [!__ASSUME_32BITUIDS]: Remove conditional code.
54390         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54391         <kernel-features.h>.
54392         [__ASSUME_32BITUIDS]: Make code unconditional.
54393         [!__ASSUME_32BITUIDS]: Remove conditional code.
54394         * sysdeps/unix/sysv/linux/kernel-features.h
54395         (__ASSUME_SETRESUID_SYSCALL): Remove.
54396         (__ASSUME_SETRESGID_SYSCALL): Likewise.
54397         (__ASSUME_32BITUIDS): Likewise.
54398         (__ASSUME_LDT_WORKS): Likewise.
54399         (__ASSUME_O_DIRECTORY): Likewise.
54400         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
54401         architecture but not kernel version.
54402         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
54403         (__ASSUME_MMAP2_SYSCALL): Likewise.
54404         (__ASSUME_STAT64_SYSCALL): Likewise.
54405         (__ASSUME_IPC64): Likewise.
54406         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
54407         <kernel-features.h>.
54408         [__ASSUME_32BITUIDS]: Make code unconditional.
54409         [!__ASSUME_32BITUIDS]: Remove conditional code.
54410         * sysdeps/unix/sysv/linux/opendir.c: Do not include
54411         <kernel-features.h>.
54412         [__ASSUME_O_DIRECTORY]: Make code unconditional.
54413         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
54414         132096]: Remove conditional code.
54415         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
54416         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54417         <kernel-features.h>.
54418         [__ASSUME_32BITUIDS]: Make code unconditional.
54419         [!__ASSUME_32BITUIDS]: Remove conditional code.
54420         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54421         <kernel-features.h>.
54422         [__ASSUME_32BITUIDS]: Make code unconditional.
54423         [!__ASSUME_32BITUIDS]: Remove conditional code.
54424         * sysdeps/unix/sysv/linux/setegid.c: Do not include
54425         <kernel-features.h>.
54426         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
54427         unconditional.
54428         (__setresgid): Do not declare.
54429         [__ASSUME_32BITUIDS]: Make code unconditional.
54430         [!__ASSUME_32BITUIDS]: Remove conditional code.
54431         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
54432         <kernel-features.h>.
54433         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
54434         unconditional.
54435         (__setresuid): Do not declare.
54436         [__ASSUME_32BITUIDS]: Make code unconditional.
54437         [!__ASSUME_32BITUIDS]: Remove conditional code.
54438         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54439         <kernel-features.h>.
54440         [__ASSUME_32BITUIDS]: Make code unconditional.
54441         [!__ASSUME_32BITUIDS]: Remove conditional code.
54442         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
54443         <kernel-features.h>.
54444         [__ASSUME_32BITUIDS]: Make code unconditional.
54445         [!__ASSUME_32BITUIDS]: Remove conditional code.
54447 2012-05-25  Richard Henderson  <rth@twiddle.net>
54449         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
54450         dl_hwcap to ifunc resolver.
54451         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
54452         elf_ifunc_invoke.
54453         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
54454         dl_hwcap to ifunc resolver.
54455         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
54457 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54459         [BZ #14153]
54460         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
54461         for |x| <= 2**-26, not 2**-57.
54462         * math/libm-test.inc (acos_test): Do not allow spurious underflow
54463         exception.
54465 2012-05-24  Jeff Law  <law@redhat.com>
54467         * stdio-common/Makefile (tests): Add bug25.
54468         * stdio-common/bug25.c: New test.
54470 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54472         [BZ #13576]
54473         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
54474         multiple of MALLOC_ALIGNMENT in size.
54475         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
54477 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54479         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
54480         Require >= 256.
54481         (FILENAME_MAX): Use macro-int-constant.
54482         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
54483         (_IOFBF): Use macro-int-constant.
54484         (_IOLBF): Likewise.
54485         (_IONBF): Likewise.
54486         (SEEK_CUR): Likewise.
54487         (SEEK_END): Likewise.
54488         (SEEK_SET): Likewise.
54489         (TMP_MAX): Likewise.
54490         (EOF): Use macro-int-constant.  Require < 0.
54491         (NULL): Use macro-constant.  Require == 0.
54492         (stdin): Require type to be FILE *.
54493         (stdout): Likewise.
54494         (stderr): Likewise.
54495         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
54496         macro-int-constant.
54497         (EXIT_SUCCESS): Likewise.
54498         (NULL): Use macro-constant.  Require == 0.
54499         (RAND_MAX): Use macro-int-constant.
54500         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
54501         [C99-based standards] (strtof): Require function.
54502         [C99-based standards] (strtold): Likewise.
54503         [C99-based standards] (strtoll): Likewise.
54504         [C99-based standards] (strtoull): Likewise.
54505         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54506         [ISO || ISO99 || ISO11] (limits.h): Likewise.
54507         [ISO || ISO99 || ISO11] (math.h): Likewise.
54508         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
54509         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54510         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54512 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
54514         [BZ #14132]
54515         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
54516         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
54517         * intl/dgettext.c (DCGETTEXT): Likewise.
54518         * intl/gettext.c (DCGETTEXT): Likewise.
54519         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
54520         * posix/regex_internal.h (gettext): Likewise.
54521         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
54522         Remove declaration.
54523         * include/argz.h (__argz_count_internal)
54524         (__argz_stringify_internal): Remove declaration.
54525         (__argz_count, __argz_stringify): Declare hidden proto.
54526         * intl/dcgettext.c: Remove use of INTDEF.
54527         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
54528         * string/argz-stringify.c: Likewise.
54529         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54530         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54531         Declare hidden proto.
54532         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
54533         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
54534         Declare hidden proto.
54535         * include/stdio.h (__asprintf_internal): Don't declare.
54536         (__asprintf): Don't define as macro.  Declare hidden proto.
54537         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
54538         (__fsetlocking): Declare hidden proto.
54539         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
54540         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
54541         hidden proto.
54542         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
54543         (_IO_setlinebuf): Remove use of INTUSE.
54544         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
54545         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
54546         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
54547         Remove declaration.
54548         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
54549         (_IO_do_flush): Remove use of INTUSE.
54550         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
54551         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
54552         (_IO_adjust_column, _IO_least_wmarker)
54553         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
54554         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
54555         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
54556         (_IO_default_doallocate, _IO_wdefault_doallocate)
54557         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
54558         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
54559         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
54560         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
54561         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
54562         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
54563         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
54564         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
54565         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
54566         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
54567         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
54568         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
54569         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
54570         proto.
54571         (_IO_flush_all_internal, _IO_adjust_column_internal)
54572         (_IO_default_uflow_internal, _IO_default_finish_internal)
54573         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
54574         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
54575         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
54576         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
54577         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
54578         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
54579         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
54580         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
54581         (_IO_file_close_internal, _IO_file_close_it_internal)
54582         (_IO_file_underflow_internal, _IO_file_overflow_internal)
54583         (_IO_file_init_internal, _IO_file_attach_internal)
54584         (_IO_file_fopen_internal, _IO_file_read_internal)
54585         (_IO_file_sync_internal, _IO_file_seek_internal)
54586         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
54587         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
54588         (_IO_str_underflow_internal, _IO_str_overflow_internal)
54589         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
54590         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
54591         (_IO_list_all_internal, _IO_link_in_internal)
54592         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
54593         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
54594         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
54595         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
54596         (_IO_do_write_internal, _IO_padn_internal)
54597         (_IO_getline_info_internal, _IO_getline_internal)
54598         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
54599         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
54600         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
54601         (_IO_vfscanf_internal, _IO_vfprintf_internal)
54602         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
54603         (_IO_init_internal, _IO_un_link_internal): Don't declare.
54604         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
54605         with libc_hidden_ver, remove use of INTUSE.
54606         * libio/genops.c: Likewise.
54607         * libio/freopen.c: Likewise.
54608         * libio/freopen64.c: Likewise.
54609         * libio/iofclose.c: Likewise.
54610         * libio/iofdopen.c: Likewise.
54611         * libio/iofflush.c: Likewise.
54612         * libio/iofflush_u.c: Likewise.
54613         * libio/iofgets.c: Likewise.
54614         * libio/iofgets_u.c: Likewise.
54615         * libio/iofopen.c: Likewise.
54616         * libio/iofopncook.c: Likewise.
54617         * libio/iofread.c: Likewise.
54618         * libio/iofread_u.c: Likewise.
54619         * libio/ioftell.c: Likewise.
54620         * libio/iofwrite.c: Likewise.
54621         * libio/iogetline.c: Likewise.
54622         * libio/iogets.c: Likewise.
54623         * libio/iogetwline.c: Likewise.
54624         * libio/iopadn.c: Likewise.
54625         * libio/iopopen.c: Likewise.
54626         * libio/ioseekoff.c: Likewise.
54627         * libio/ioseekpos.c: Likewise.
54628         * libio/iosetbuffer.c: Likewise.
54629         * libio/iosetvbuf.c: Likewise.
54630         * libio/ioungetc.c: Likewise.
54631         * libio/ioungetwc.c: Likewise.
54632         * libio/iovdprintf.c: Likewise.
54633         * libio/iovsprintf.c: Likewise.
54634         * libio/iovsscanf.c: Likewise.
54635         * libio/memstream.c: Likewise.
54636         * libio/obprintf.c: Likewise.
54637         * libio/oldfileops.c: Likewise.
54638         * libio/oldiofclose.c: Likewise.
54639         * libio/oldiofdopen.c: Likewise.
54640         * libio/oldiofopen.c: Likewise.
54641         * libio/oldiopopen.c: Likewise.
54642         * libio/oldstdfiles.c: Likewise.
54643         * libio/putc.c: Likewise.
54644         * libio/setbuf.c: Likewise.
54645         * libio/setlinebuf.c: Likewise.
54646         * libio/stdfiles.c: Likewise.
54647         * libio/strops.c: Likewise.
54648         * libio/vasprintf.c: Likewise.
54649         * libio/vscanf.c: Likewise.
54650         * libio/vsnprintf.c: Likewise.
54651         * libio/vswprintf.c: Likewise.
54652         * libio/wfiledoalloc.c: Likewise.
54653         * libio/wfileops.c: Likewise.
54654         * libio/wgenops.c: Likewise.
54655         * libio/wmemstream.c: Likewise.
54656         * libio/wstrops.c: Likewise.
54657         * libio/__fpurge.c: Likewise.
54658         * libio/__fsetlocking.c: Likewise.
54659         * assert/assert.c: Likewise.
54660         * debug/fgets_chk.c: Likewise.
54661         * debug/fgets_u_chk.c: Likewise.
54662         * debug/fread_chk.c: Likewise.
54663         * debug/fread_u_chk.c: Likewise.
54664         * debug/gets_chk.c: Likewise.
54665         * debug/obprintf_chk.c: Likewise.
54666         * debug/vasprintf_chk.c: Likewise.
54667         * debug/vdprintf_chk.c: Likewise.
54668         * debug/vsnprintf_chk.c: Likewise.
54669         * debug/vsprintf_chk.c: Likewise.
54670         * malloc/mtrace.c: Likewise.
54671         * misc/error.c: Likewise.
54672         * misc/syslog.c: Likewise.
54673         * stdio-common/asprintf.c: Likewise.
54674         * stdio-common/fxprintf.c: Likewise.
54675         * stdio-common/getw.c: Likewise.
54676         * stdio-common/isoc99_fscanf.c: Likewise.
54677         * stdio-common/isoc99_scanf.c: Likewise.
54678         * stdio-common/isoc99_vfscanf.c: Likewise.
54679         * stdio-common/isoc99_vscanf.c: Likewise.
54680         * stdio-common/isoc99_vsscanf.c: Likewise.
54681         * stdio-common/printf-prs.c: Likewise.
54682         * stdio-common/printf_fp.c: Likewise.
54683         * stdio-common/printf_fphex.c: Likewise.
54684         * stdio-common/printf_size.c: Likewise.
54685         * stdio-common/putw.c: Likewise.
54686         * stdio-common/scanf.c: Likewise.
54687         * stdio-common/sprintf.c: Likewise.
54688         * stdio-common/tmpfile.c: Likewise.
54689         * stdio-common/vfprintf.c: Likewise.
54690         * stdio-common/vfscanf.c: Likewise.
54691         * stdlib/strfmon_l.c: Likewise.
54692         * sunrpc/openchild.c: Likewise.
54693         * sunrpc/xdr_stdio.c: Likewise.
54694         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
54695         * sysdeps/mach/hurd/tmpfile.c: Likewise.
54697 2012-05-24  Roland McGrath  <roland@hack.frob.com>
54699         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
54701         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
54702         in the third column, to generate for the shared library an IFUNC
54703         that uses _dl_vdso_vsym.
54704         * Makerules (COMPILE.c, compile-stdin.c): New variables.
54705         * Makeconfig (object-suffixes-noshared): New variable.
54707         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
54708         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
54709         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
54710         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
54712         [BZ #14132]
54713         * include/sys/time.h (__gettimeofday): Remove macro.
54714         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
54715         * time/gettimeofday.c (__gettimeofday): Remove #undef.
54716         Remove INTDEF.
54717         (__gettimeofday): Add libc_hidden_def.
54718         (gettimeofday): Add libc_hidden_weak.
54719         * sysdeps/mach/gettimeofday.c: Likewise.
54720         * sysdeps/posix/gettimeofday.c: Likewise.
54721         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
54722         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
54723         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
54724         (__gettimeofday_internal): Remove strong_alias.
54725         (__gettimeofday): Add libc_hidden_def.
54726         (gettimeofday): Add libc_hidden_weak.
54727         * sysdeps/unix/syscalls.list (gettimeofday):
54728         Remove __gettimeofday_internal alias.
54730 2012-05-24  Daniel Jacobowitz  <drow@false.org>
54731             H.J. Lu  <hongjiu.lu@intel.com>
54733         [BZ #12495]
54734         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
54735         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
54736         (largebin_index_32_big): New.
54737         (largebin_index): Use it for 16-byte alignment.
54738         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
54739         correction with front_misalign.
54741 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
54743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
54744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
54745         Likewise.
54746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
54747         Likewise.
54748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54749         Likewise.
54750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
54751         Likewise.
54752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
54753         Likewise.
54754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
54755         Likewise.
54756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
54757         Likewise.
54758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54759         Likewise.
54760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
54761         Likewise.
54762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
54763         Likewise.
54764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
54765         Likewise.
54766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
54767         Likewise.
54769         * scripts/data/c++-types-x32-linux-gnu.data: New file.
54770         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
54772 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
54774         [BZ #10846]
54775         [BZ #14036]
54776         * math/libm-test.inc (exp_test): Add test from bug 14036.
54777         (pow_test): Add test from bug 10846.
54779         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
54780         and other flags.
54781         (special_function): Do not include flags in test name.
54782         (parse_args): Likewise.
54783         * sysdeps/i386/fpu/libm-test-ulps: Update.
54784         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
54785         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
54786         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
54787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54789         * math/gen-libm-test.pl (%beautify): Add entries for underflow
54790         exceptions.
54791         * math/libm-test.inc ("Philosophy"): Update comment about
54792         exception testing.
54793         (UNDERFLOW_EXCEPTION): New macro.
54794         (UNDERFLOW_EXCEPTION_OK): Likewise.
54795         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
54796         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
54797         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
54798         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
54799         (INVALID_EXCEPTION_OK): Update value.
54800         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54801         (OVERFLOW_EXCEPTION_OK): Likewise.
54802         (IGNORE_ZERO_INF_SIGN): Likewise.
54803         (test_exceptions): Handle underflow exceptions.
54804         (acos_test): Update for underflow exception expectations.
54805         (cexp_test): Likewise.
54806         (clog_test): Likewise.
54807         (clog10_test): Likewise.
54808         (csqrt_test): Likewise.
54809         (ctan_test): Likewise.
54810         (ctanh_test): Likewise.
54811         (exp_test): Likewise.
54812         (exp10_test): Likewise.
54813         (exp2_test): Likewise.
54814         (expm1_test): Likewise.
54815         (fma_test): Likewise.
54816         (j0_test): Likewise.
54817         (jn_test): Likewise.
54818         (nexttoward_test): Likewise.
54819         (pow_test): Likewise.
54820         (scalbn_test): Likewise.
54821         (scalbln_test): Likewise.
54822         (tan_test): Likewise.
54823         (y1_test): Likewise.
54824         * sysdeps/i386/fpu/libm-test-ulps: Update.
54825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54827 2012-05-23  David S. Miller  <davem@davemloft.net>
54829         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
54830         (__libc_sigaction): Remove unused local variables.
54832 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54834         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
54836 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
54838         mktime: avoid signed integer overflow
54839         * time/mktime.c (__mktime_internal): Do not mishandle the case
54840         where diff == INT_MIN.
54842         mktime: simplify computation of average
54843         * time/mktime.c (ranged_convert): Use new time_t_avg function
54844         instead of rolling our own (probably-slower) code.
54846         mktime: do not assume signed right shift propagates sign bit
54847         * time/mktime.c (isdst_differ): New static function.
54848         (__mktime_internal): No need to normalize tm_isdst now.
54849         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
54850         tm_isdst values.
54852         mktime: merge another wrapv change from gnulib
54853         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
54854         from some compilers.
54856         mktime: remove incorrect attempt at unusual arithmetics
54857         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
54858         The code didn't really work on such machines anyway.
54859         (TYPE_MINIMUM): Assume two's complement.
54860         (twos_complement_arithmetic): Verify that long_int and time_t
54861         are two's complement (or unsigned, in the latter case).
54863         mktime: check signed shifts on long_int and time_t, too
54864         * time/mktime.c (SHR): Check that shifts work as desired
54865         on the types long_int and time_t too, as SHR is used on
54866         such types.
54868         mktime: do not assume 'long' is wide enough
54869         * time/mktime.c (verify): Move decl up.
54870         (long_int): New type.
54871         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
54872         to remove assumption in the code that 'long' is wide enough to
54873         store year values.  This assumption is not true on x32 and on
54874         some non-glibc platforms.
54876         mktime: merge wrapv change from gnulib
54877         * time/mktime.c (WRAPV): New macro.
54878         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
54879         (guess_time_tm, __mktime_internal): Do not assume that signed
54880         integer overflow wraps around; modern compilers generate code
54881         where this assumption is no longer valid.
54883 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54885         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
54886         Replace "jmp L(pseudo_end)" with "ret".
54887         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
54888         Likewise.
54890 2012-05-23  Andreas Jaeger  <aj@suse.de>
54892         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
54893         * sysdeps/unix/sysv/linux/poll.c: Remove file.
54895 2012-05-23  Andreas Jaeger  <aj@suse.de>
54896             Maximilian Attems  <max@stro.at>
54898         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
54899         New macros.
54901 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
54903         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
54904         code so that pseudo_end is just ret and the stack pointer is
54905         correct also for static library in error case.
54907 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
54909         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
54910         move to syscalls.list.
54911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
54912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
54913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
54914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
54916         * manual/install.texi (Running make install): Do not mention Linux
54917         kernel version for which pt_chown is not needed.
54918         (Linux): Do not mention problems with nscd with 2.0 kernels.
54919         * INSTALL: Regenerated.
54921 2012-05-23  Andreas Jaeger  <aj@suse.de>
54923         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
54924         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
54925         macro.
54926         * sysdeps/unix/sysv/linux/s390/bits/mman.h
54927         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54928         * sysdeps/unix/sysv/linux/sh/bits/mman.h
54929         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54930         * sysdeps/unix/sysv/linux/i386/bits/mman.h
54931         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54932         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
54933         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54934         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
54935         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
54936         * sysdeps/unix/sysv/linux/bits/in.h
54937         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
54939 2012-05-22  Roland McGrath  <roland@hack.frob.com>
54941         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
54942         (PREPARE_VERSION): Just use assert instead, it will be elided
54943         under [NDEBUG] anyway.
54945 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54947         * sysdeps/unix/sysv/linux/Makefile: Include
54948         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
54949         (sysdep_routines): Remove sysctl.
54950         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
54951         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
54952         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
54953         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
54954         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
54956 2012-05-22  Andreas Jaeger  <aj@suse.de>
54958         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
54959         that pseudo_end is just ret and the stack pointer is correct also
54960         for static library in error case.
54962 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
54964         [BZ #14122]
54965         * nss/nsswitch.c (defconfig_entries): New variable.
54966         (__nss_database_lookup): Don't leak defconfig entries.
54967         (nss_parse_service_list): Don't leak on error paths.
54968         (free_database_entries): New function.
54969         (free_defconfig): New function.
54970         (free_mem): Move common code to free_database_entries.
54972 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
54974         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
54975         Add arch_prctl.
54976         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
54978         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54979         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
54980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
54981         New macro.
54982         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
54983         (INTERNAL_SYSCALL_TYPES): Likewise.
54984         (LOAD_ARGS_TYPES_[1-6]): Likewise.
54985         (LOAD_REGS_TYPES_[1-6]): Likewise.
54986         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
54987         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
54989 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54991         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
54992         copysignl for GLIBC_2_0.
54993         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
54994         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
54995         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
54996         logbl for GLIBC_2_0.
54997         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
54998         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
55000 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55002         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
55003         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55005         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
55006         Use "neg %eax".
55008         * time/mktime.c: Update copyright years.
55010 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
55012         mktime: merge comment-quoting-style change from gnulib
55013         * time/mktime.c: Quote 'like this' in comments.
55014         The GNU coding standards suggest that we no longer quote `like this',
55015         as "`" and "'" are typically rendered asymmetrically nowadays.
55016         The typical gnulib style is to quote 'like this' when quoting
55017         code, and "like this" when quoting English.
55019         * time/mktime.c (compile-command): Add "-I.".
55021         mktime: merge mktime-internal.h change from gnulib
55022         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
55024         mktime: merge time_r change from gnulib
55025         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
55027         mktime: merge DEBUG change from gnulib
55028         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
55029         case system <time.h> has a #define.
55031         mktime: merge <sys/types.h> change from gnulib
55032         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
55033         since <time.t> is now guaranteed to define time_t.
55035         mktime: merge HAVE_CONFIG_H change from gnulib
55036         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
55038 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
55040         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55041         Use "neg %eax".
55043         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
55044         __rlim_t cast.
55045         (struct rusage): Use anonymous union to pad each field to
55046         __syscall_slong_t.
55048 2012-05-21  David S. Miller  <davem@davemloft.net>
55050         * Makefules (o-iterator): Remove .s cases.
55051         (compile-command.s): Delete.
55052         (COMPILE.s): Delete.
55053         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
55055 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
55057         * configure.in (libc_cv_predef_stack_protector): Only consider
55058         "foobar" and "__stack_chk_fail" lines in libc_undefs.
55059         * configure: Regenerated.
55061 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55063         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
55064         New macro.  Use R*LP on int and pointer.
55065         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
55066         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
55067         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
55068         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
55070         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
55071         [__WORDSIZE_TIME64_COMPAT32] instead of
55072         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
55073         (struct utmp): Likewise.
55074         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
55075         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
55076         Renamed to ...
55077         (__WORDSIZE_TIME64_COMPAT32): This.
55078         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
55079         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
55080         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
55081         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
55082         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
55083         (__WORDSIZE_TIME64_COMPAT32): New macro.
55085 2012-05-21  Andreas Jaeger  <aj@suse.de>
55087         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
55088         only if [SHARED]. Add prototype for __wcschr_ia32.
55090 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55092         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
55093         of %rbp unmolested in the jmp_buf while mangling the low bits.
55094         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
55095         unmolested high bits of %rbp while demangling the low bits.
55096         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55098 2012-05-21  Andreas Jaeger  <aj@suse.de>
55100         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
55101         * sunrpc/svc_simple.c: Use it for registerrpc.
55102         * sunrpc/xcrypt.c: Use it for passwd2des.
55104         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
55106 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55108         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
55109         Don't define if [__SYSCALL_WORDSIZE != 32].
55110         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
55111         New macro.
55113 2012-05-21  Bruno Haible  <bruno@clisp.org>
55114             Andreas Jaeger  <aj@suse.de>
55116         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
55117         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
55118         inptr and inend for must_buffer_ch.
55119         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
55120         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
55121         * stdio-common/Makefile (tests): Remove bug15.
55122         (bug15-ENV): Remove macro.
55123         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
55124         anymore.
55126 2012-05-19  Andreas Jaeger  <aj@suse.de>
55127             Roland McGrath  <roland@hack.frob.com>
55129         * manual/contrib.texi: Completely rewritten. It contains now an
55130         alphabetical list of contributors and their contributions.
55132 2012-05-21  Richard Henderson  <rth@twiddle.net>
55134         * misc/getauxval.c (__getauxval): Use unsigned long int.
55135         * misc/sys/auxv.h: Include <sys/cdefs.h>.
55136         (getauxval): Use unsigned long int.
55138 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
55140         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
55142 2012-05-21  Roland McGrath  <roland@hack.frob.com>
55144         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
55145         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
55146         __alignof__ (long double).
55148 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55152 2012-05-20  Richard Henderson  <rth@twiddle.net>
55154         * misc/getauxval.c: New file.
55155         * misc/sys/auxv.h: New file.
55156         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
55157         (routines): Add getauxval.
55158         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
55159         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
55160         * elf/dl-sysdep.c (_dl_auxv): Remove.
55161         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
55162         * elf/dl-support.c (_dl_auxv): New variable.
55163         (_dl_aux_init): Initialize it.
55164         * manual/startup.texi (Auxiliary Vector): New node.
55165         * sysdeps/generic/bits/hwcap.h: New file.
55166         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
55167         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
55168         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
55169         * sysdeps/sparc/sysdep.h: ... here.  Include it.
55170         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
55171         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
55172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55173         Update.
55174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
55175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
55176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
55177         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
55178         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
55180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
55181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
55183 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55187 2012-05-19  David S. Miller  <davem@davemloft.net>
55189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55191 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55193         [BZ #14123]
55194         * math/s_ccosh.c: Include <float.h>
55195         (__ccosh): Avoid internal overflow calculating sinh and cosh
55196         values before multiplying by sin and cos values.
55197         * math/s_ccoshf.c: Likewise.
55198         * math/s_ccoshl.c: Likewise.
55199         * math/s_csin.c: Likewise.
55200         * math/s_csinf.c: Likewise.
55201         * math/s_csinl.c: Likewise.
55202         * math/s_csinh.c: Likewise.
55203         * math/s_csinhf.c: Likewise.
55204         * math/s_csinhl.c: Likewise.
55205         * math/libm-test.inc (ccos_test): Add more tests.
55206         (ccosh_test): Likewise.
55207         (csin_test): Likewise.
55208         (csinh_test): Likewise.
55209         * sysdeps/i386/fpu/libm-test-ulps: Update.
55210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55212 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
55214         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
55215         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
55217         * sysdeps/x86_64/x32/_itoa.h: Add comment.
55219 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
55221         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
55222         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
55223         * sysdeps/powerpc/soft-fp/Versions: Likewise.
55224         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
55225         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
55226         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
55227         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
55228         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
55229         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
55230         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
55231         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
55232         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
55233         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
55234         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
55235         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
55236         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
55237         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
55238         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
55239         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
55240         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
55241         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
55242         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
55243         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
55244         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
55245         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
55246         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
55247         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
55248         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
55249         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
55250         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
55251         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
55253 2012-05-18  Andreas Jaeger  <aj@suse.de>
55255         * csu/.gitignore: Delete.
55257 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55259         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
55260         (timex): Use __syscall_slong_t.
55262 2012-05-18  Andreas Jaeger  <aj@suse.de>
55263             Carlos O'Donell  <carlos_odonell@mentor.com>
55265         * manual/install.texi (Configuring and compiling): Update
55266         description about files modified in the source directory.
55267         * INSTALL: Regenerated.
55269 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55271         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
55272         value.  Use "or" to set return value to -1.
55273         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
55274         negate return value.
55276 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55278         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
55279         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
55280         failure if the compiler has Graphite support disabled.
55281         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
55282         Likewise.
55283         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
55284         (CFLAGS-memmove.c): Likewise.
55285         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
55286         Likewise.
55288 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
55290         * sysdeps/x86_64/x32/_itoa.h: New file.
55292         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
55293         getdents system call only if kernel and user dirents have the
55294         same d_ino and d_off.
55296         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
55297         LLONG_MAX != LONG_MAX.
55298         (_itoa_word): Use _ITOA_WORD_TYPE on value.
55299         (_fitoa_word): Likewise.
55301         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
55302         years.
55303         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
55304         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
55305         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
55307         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
55308         include <bits/wordsize.h>.  Check __x86_64__ instead of
55309         __WORDSIZE.
55310         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
55311         if __x86_64__ is defined.  Use anonymous union on fpstate.
55313         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
55314         anonymous union.
55316 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
55318         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
55319         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
55320         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
55321         Refer to _rtld_local_ro instead of _rtld_global_ro.
55322         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
55323         Likewise.
55324         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
55325         Likewise.
55326         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
55327         Likewise.
55328         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
55329         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
55330         of _rtld_global, and rtld_progname instead of _dl_argv[0].
55332         [BZ #10882]
55333         * sysdeps/powerpc/powerpc32/dl-machine.c
55334         (__elf_machine_runtime_setup) [PROF]: Don't reference
55335         _dl_prof_resolve.
55337 2012-05-18  Andreas Jaeger  <aj@suse.de>
55339         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
55340         function only available for GCCs before 3.4 since GCC 3.4
55341         introduced a builtin.
55342         (lrint): Likewise.
55343         (llrintf): Likewise.
55344         (llrint): Likewise.
55345         (fmaxf): Likewise.
55346         (fmax): Likewise.
55347         (fminf): Likewise.
55348         (fmin): Likewise.
55349         (rint): Likewise.
55350         (rintf): Likewise.
55351         (nearbyint): Likewise.
55352         (nearbyintf): Likewise.
55353         (ceil): Likewise.
55354         (ceilf): Likewise.
55355         (floor): Likewise.
55356         (floorf): Likewise.
55358 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55360         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
55361         on both fields and cast pointer to __syscall_ulong_t.
55363         * bits/types.h (__fsword_t): New type.
55364         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
55365         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
55366         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55367         (__FSWORD_T_TYPE): Likewise.
55368         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55369         (__FSWORD_T_TYPE): Likewise.
55370         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55371         (__FSWORD_T_TYPE): Likewise.
55372         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
55373         (__FSWORD_T_TYPE): Likewise.
55374         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
55375         __SWORD_TYPE with __fsword_t.
55376         (statfs64): Likewise.
55378 2012-05-17  David S. Miller  <davem@davemloft.net>
55380         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
55382 2012-05-17  Andreas Jaeger  <aj@suse.de>
55384         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
55385         warning.
55387 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55389         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
55391 2012-05-17  Andreas Jaeger  <aj@suse.de>
55393         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
55394         when it is used.
55396 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55398         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
55400 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55402         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
55403         * sysdeps/x86_64/tst-mallocalign1.c: New file.
55405 2012-05-17  Andreas Jaeger  <aj@suse.de>
55406             Carlos O'Donell  <carlos_odonell@mentor.com>
55408         [BZ #14059]
55409         * sysdeps/x86_64/multiarch/init-arch.h
55410         (bit_YMM_Usable): Rename to...
55411         (bit_AVX_Usable): ... this.
55412         (bit_FMA4_Usable): New macro.
55413         (bit_XMM_state): New macro.
55414         (bit_YMM_state): New macro.
55415         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
55416         [__ASSEMBLER__] (index_AVX_Usable): ... this.
55417         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
55418         (CPUID_OSXSAVE): New macro.
55419         (CPUID_AVX): New macro.
55420         (CPUID_FMA4): New macro.
55421         (index_YMM_Usable): Rename to...
55422         (index_AVX_Usable): ... this.
55423         (HAS_AVX): Use HAS_ARCH_FEATURE.
55424         (HAS_FMA4): Likewise.
55425         (HAS_YMM_USABLE): Remove.
55426         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55427         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
55428         are present.
55429         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
55430         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
55431         * sysdeps/x86_64/multiarch/Makefile: Likewise.
55432         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
55433         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
55435 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
55437         * math/libm-test.c: Support platforms without multiple rounding modes.
55438         * math/bug-nextafter.c: Support platforms without FP exceptions.
55439         * math/bug-nexttoward.c: Likewise.
55440         * math/test-fenv.c: Likewise.
55441         * math/test-misc.c: Likewise.
55442         * stdlib/bug-getcontext.c: Likewise.
55444 2012-05-17  Andreas Jaeger  <aj@suse.de>
55446         * manual/examples/search.c (critter_cmp): Change signature to
55447         avoid warnings.
55448         * manual/string.texi (Collation Functions): Likewise.
55450 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55452         * bits/types.h: Fold copyright years.
55453         * bits/typesizes.h: Likewise.
55454         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
55455         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
55456         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
55457         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
55458         * time/time.h: Likewise.
55460 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
55462         [BZ #208]
55463         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
55464         in instead of returning them.  Return void.
55465         (__libc_mallinfo): Accumulate over all arenas.
55466         (__malloc_stats): Adjust for change in int_mallinfo interface.
55468 2012-05-16  Roland McGrath  <roland@hack.frob.com>
55470         [BZ #10375]
55471         * configure.in (NM): Add AC_CHECK_TOOL for it.
55472         (libc_extra_cflags): New substituted variable.
55473         Check for -fstack-protector being used implicitly.
55474         * configure: Regenerated.
55475         * config.make.in (config-extra-cflags): New variable,
55476         gets @libc_extra_cflags@.
55477         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
55479         [BZ #10375]
55480         * configure.in: Check for _FORTIFY_SOURCE being predefined.
55481         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
55482         * configure: Regenerated.
55483         * config.make.in (CPPUNDEFS): New substituted variable.
55484         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
55485         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
55486         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
55488 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55490         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
55491         (mq_attr): Use __syscall_slong_t.
55493 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55495         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
55496         Check __x86_64__ instead of __WORDSIZE.
55497         (_STAT_VER_LINUX): Likewise.
55498         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
55499         __syscall_ulong_t and __syscall_slong_t.
55500         (stat64): Likewise.
55502 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55504         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
55506 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55508         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
55510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55512         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
55513         __syscall_ulong_t.
55515         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
55516         include <bits/wordsize.h>.  Check __x86_64__ instead of
55517         __WORDSIZE.
55518         (greg_t): Use "__extension__ long long int" if __x86_64__ is
55519         defined.
55520         (mcontext_t): Replace "unsigned long" with "unsigned long long".
55522         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
55523         include <bits/wordsize.h>.  Check __x86_64__ instead of
55524         __WORDSIZE.
55525         (user_regs_struct): Use "__extension__ unsigned long long"
55526         instead of "unsigned long" if __x86_64__ is defined.
55527         (user): Likewise.  Pad after pointer field if __ILP32__ is
55528         defined.
55530 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
55532         * configure.in (makeinfo): Require version 4.5 or later.  Allow
55533         versions 5 to 9.
55534         * configure: Regenerated.
55535         * manual/install.texi (texinfo): Increase version requirement to
55536         4.5 or later.
55537         * INSTALL: Regenerated.
55539         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
55541 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55543         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
55545         * sysdeps/x86_64/x32/ffs.c: New file.
55547         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
55548         __syscall_ulong_t.
55549         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
55550         defined.  Use __syscall_ulong_t.
55551         (shminfo): Use __syscall_ulong_t.
55552         (shm_info): Likewise.
55554         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
55555         __syscall_ulong_t.
55557         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
55558         <bits/wordsize.h>.
55559         (msgqnum_t): Use __syscall_ulong_t.
55560         (msglen_t): Likewise.
55561         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
55562         __syscall_ulong_t.
55564         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
55565         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55567         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
55569         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
55570         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
55572         * sysvipc/sys/msg.h (msgbuf): Replace long int with
55573         __syscall_slong_t.
55575         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
55576         include <bits/wordsize.h>.  Check __x86_64__ instead of
55577         __WORDSIZE.
55579         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
55580         "unsigned long long int" if __x86_64__ is defined.
55581         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
55583         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
55584         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
55585         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
55587         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
55588         <stdint.h>.
55589         (GET_PC): Cast to uintptr_t first.
55590         (GET_FRAME): Likewise.
55591         (GET_STACK): Likewise.
55593         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
55594         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
55595         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
55596         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
55597         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
55598         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
55599         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
55600         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
55601         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
55602         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
55603         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
55604         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
55605         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55606         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
55607         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
55608         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
55609         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
55610         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
55611         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
55612         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
55613         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
55614         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
55615         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
55616         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
55617         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
55618         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
55619         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
55620         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
55621         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
55623 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
55625         * Makerules (+depfiles): Also collect depfiles from .oS in
55626         $(extra-objs).
55627         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
55628         .oS, $(libnldbl-routines)).
55630         * Makerules (native-compile-mkdep-flags): Define.
55631         * sunrpc/Makefile (extra-objs): Add $(addprefix
55632         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
55633         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
55634         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
55635         calling $(make-target-directory).
55637 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55639         * bits/types.h (__snseconds_t): Removed.
55640         * time/time.h (struct timespec): Replace __snseconds_t with
55641         __syscall_slong_t.
55642         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
55643         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
55644         Likewise.
55645         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55646         (__SNSECONDS_T_TYPE): Likewise.
55647         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55648         (__SNSECONDS_T_TYPE): Likewise.
55649         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55650         (__SNSECONDS_T_TYPE): Likewise.
55652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55654         * sysdeps/mach/hurd/bits/typesizes.h
55655         (__SYSCALL_SLONG_TYPE): New macro.
55656         (__SYSCALL_ULONG_TYPE): Likewise.
55658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55660         * bits/types.h (__syscall_slong_t): New type.
55661         (__syscall_ulong_t): Likewise.
55663         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
55664         (__SYSCALL_ULONG_TYPE): Likewise.
55665         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55666         (__SYSCALL_SLONG_TYPE): Likewise.
55667         (__SYSCALL_ULONG_TYPE): Likewise.
55668         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55669         (__SYSCALL_SLONG_TYPE): Likewise.
55670         (__SYSCALL_ULONG_TYPE): Likewise.
55671         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55672         (__SYSCALL_SLONG_TYPE): Likewise.
55673         (__SYSCALL_ULONG_TYPE): Likewise.
55675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55677         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
55678         Add sigaltstack-offsets.sym.
55679         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
55680         <sigaltstack-offsets.h>.
55681         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
55682         longjmp_msg pointer.
55683         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
55684         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
55685         signal stack.
55686         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
55688 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
55690         * elf/stackguard-macros.h: Remove file.
55691         * sysdeps/generic/stackguard-macros.h: New file.
55692         * sysdeps/i386/stackguard-macros.h: Likewise.
55693         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55694         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55695         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55696         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55697         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55698         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55699         * sysdeps/x86_64/stackguard-macros.h: Likewise.
55700         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
55701         <elf/stackguard-macros.h>.
55703         [BZ #14109]
55704         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
55705         __aligned__ in attribute.
55706         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
55707         (gregset_t): Likewise.
55709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55711         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
55712         * sysdeps/x86_64/64/Implies-after: Here.  New file.
55713         * sysdeps/x86_64/x32/Implies-after: New file.
55715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55717         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
55718         and access return value for _dl_profile_fixup.  Use R10_LP to
55719         load frame size.
55721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55723         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
55725 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55727         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
55728         * sysdeps/x86_64/x32/sysdep.h: New file.
55730 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55732         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
55733         * sysdeps/x86_64/setjmp.S: Likewise.
55735 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55737         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
55738         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
55739         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
55740         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
55741         remove unused global constant.
55743 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
55745         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
55746         include of <not-cancel.h>.
55748 2012-05-15  Roland McGrath  <roland@hack.frob.com>
55750         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
55752 2012-05-15  Jeff Law  <law@redhat.com>
55753             Andreas Jaeger  <aj@suse.de>
55755         [BZ #13594]
55756         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
55757         out from...
55758         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
55759         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
55760         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
55761         code changing __hst_map_handle.map.
55763 2012-05-15  Roland McGrath  <roland@hack.frob.com>
55765         * configure.in (sysnames): Look for Implies-before and Implies-after
55766         files.
55767         * configure: Regenerated.
55769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55771         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
55772         8-byte data alignment with LP_SIZE alignment.
55774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55776         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
55777         into R10_LP.
55779 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55781         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
55783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55785         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
55786         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
55787         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
55788         Likewise.
55789         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
55791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55793         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
55794         (stackinfo_sub_sp): Likewise.
55796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55798         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
55799         RAX_LP.
55801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55803         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
55804         into R*_LP.
55806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55808         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
55809         sizes into R*_LP.
55811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55813         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
55815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55817         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
55818         into R11_LP and load __x86_64_shared_cache_size_half into
55819         R8_LP.
55821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
55823         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
55824         R8_LP.
55826 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
55829         logb for POWER7.
55830         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
55831         logbf for POWER7.
55832         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
55833         logbl for POWER7.
55834         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
55835         powerpc32/power7/fpu/s_logb.c via #include.
55836         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
55837         powerpc32/power7/fpu/s_logbf.c via #include.
55838         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
55839         powerpc32/power7/fpu/s_logbl.c via #include.
55841 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
55843         * README.libm: Remove file.
55845 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55847         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
55848         count for x32.  Use R*_LP and omit operand-size suffix.
55850 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55852         * shlib-versions: Move x86_64-.*-linux.* entries to ...
55853         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
55854         * sysdeps/x86_64/x32/shlib-versions: New file.
55856 2012-05-14  Roland McGrath  <roland@hack.frob.com>
55858         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
55859         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
55860         Use _dl_fatal_printf instead.
55862 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55864         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
55865         set if not set by the user.  Do not allow for being unset.
55866         * sysdeps/unix/sysv/linux/configure: Regenerated.
55868 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55870         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
55871         the `q' suffix from lea and replace .quad with ASM_ADDR.
55873 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
55876         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
55877         instead of $17.
55878         (PTR_DEMANGLE): Likewise.
55880 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55882         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
55883         (LP_OP): Likewise.
55884         (ASM_ADDR): Likewise.
55885         (RAX_LP): Likewise.
55886         (RBP_LP): Likewise.
55887         (RBX_LP): Likewise.
55888         (RCX_LP): Likewise.
55889         (RDI_LP): Likewise.
55890         (RSI_LP): Likewise.
55891         (RSP_LP): Likewise.
55892         (R8_LP): Likewise.
55893         (R9_LP): Likewise.
55894         (R10_LP): Likewise.
55895         (R10_LP): Likewise.
55896         (R11_LP): Likewise.
55897         (R12_LP): Likewise.
55898         (R13_LP): Likewise.
55899         (R14_LP): Likewise.
55900         (R15_LP): Likewise.
55902 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
55904         * sysdeps/x86_64/x32/dl-machine.h: New file.
55906 2012-05-14  Andreas Jaeger  <aj@suse.de>
55908         * manual/Makefile (subdir): Remove export of subdir.
55909         (all): Remove target.
55910         (.PHONY): Remove all from list.
55911         (mkinstalldirs): Remove.
55912         (.PHONY): Remove installdirs from list.
55913         ($(inst_infodir)/libc.info): Use make-target-directory.
55914         (installdirs): Remove.
55915         (subdir_%): Remove.
55916         (glibc-targets): Remove.
55917         (lib): Remove.
55918         (stubs): Remove.
55919         ($(objpfx)stubs ../po/manual.pot): Remove.
55920         ($(objpfx)stamp%): Remove.
55921         (make-target-directory): Remove.
55922         (subdir_install): Remove.
55923         (routines): Remove.
55924         (aux): Remove.
55925         (sources): Remove.
55926         (objects): Remove.
55927         (headers): Remove.
55929         [BZ #13750]
55930         * manual/.gitignore: Remove, it's not needed anymore.
55931         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
55932         all files in it.
55933         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
55934         directory.
55935         (texis): Renamed to $(objpfx)texis.
55936         (texis-path): New, contains path to generated files.
55937         (chapters.%): Use texis-path for complete path, add extra argument
55938         libc-texinfo.sh.
55939         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
55940         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
55941         (summary,texi, stamp-summary): Use complete path of
55942         files. Generate files in build dir.
55943         (dir-add.texi): Build in build dir.
55944         (libm-err.texi,stamp-libm-err): Likewise.
55945         (version.texi, stamp-version): Likewise.
55946         (.%c.texi): Likewise.
55947         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
55948         (mostlyclean): Remove target.
55949         (realclean): Remove target.
55950         (generated): Add new variable with contents from mostlyclean and
55951         realclean, remove entries duplicated in common-mostlyclean, add
55952         stamp-libm-err and stamp-version.
55953         (generated-dirs): Add libc directory.
55954         ($(inst_infodir)/libc.info): Install files from build dir.
55956         * manual/install.texi (Configuring and compiling): Adjust since
55957         the info files are not part of the tar ball anymore.
55959 2012-05-14  Andreas Jaeger  <aj@suse.de>
55961         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
55962         variable.
55964 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
55966         [BZ #13717]
55967         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55968         to 2.2.0 where earlier.
55969         * sysdeps/unix/sysv/linux/configure: Regenerated.
55970         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
55971         Remove conditional code.
55972         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
55973         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
55974         Remove conditional code.
55975         [!__NR_lchown]: Likewise.
55976         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
55977         [__NR_lchown]: Likewise.
55978         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
55979         comment referencing __ASSUME_LCHOWN_SYSCALL.
55980         * sysdeps/unix/sysv/linux/i386/sigaction.c
55981         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
55982         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
55983         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
55984         Remove conditional code.
55985         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
55986         (__protocol_available): Remove #if 0 code.
55987         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
55988         conditional code.
55989         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
55990         * sysdeps/unix/sysv/linux/kernel-features.h
55991         (__ASSUME_GETCWD_SYSCALL): Don't define.
55992         (__ASSUME_REALTIME_SIGNALS): Likewise.
55993         (__ASSUME_PREAD_SYSCALL): Likewise.
55994         (__ASSUME_PWRITE_SYSCALL): Likewise.
55995         (__ASSUME_POLL_SYSCALL): Likewise.
55996         (__ASSUME_LCHOWN_SYSCALL): Likewise.
55997         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
55998         non-SPARC.
55999         (__ASSUME_SIOCGIFNAME): Don't define.
56000         (__ASSUME_MSG_NOSIGNAL): Likewise.
56001         (__ASSUME_SENDFILE): Define unconditionally.
56002         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
56003         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
56004         conditional code.
56005         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
56006         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
56007         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56008         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56009         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
56010         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
56011         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
56012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
56013         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56014         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
56016         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56017         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
56019         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56020         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
56022         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56023         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
56025         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56026         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
56028         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
56029         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
56031         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56032         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
56034         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56035         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56036         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
56037         Remove conditional code.
56038         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56039         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56040         Remove conditional code.
56041         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56042         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
56043         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
56044         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56045         Remove conditional code.
56046         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56047         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
56048         Remove conditional code.
56049         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56050         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
56051         Remove conditional code.
56052         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56053         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
56054         Remove conditional code.
56055         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
56056         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
56057         Remove conditional code.
56058         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56059         * sysdeps/unix/sysv/linux/sh/pwrite64.c
56060         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
56061         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
56062         * sysdeps/unix/sysv/linux/sigaction.c
56063         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56064         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56065         * sysdeps/unix/sysv/linux/sigpending.c
56066         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56067         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56068         * sysdeps/unix/sysv/linux/sigprocmask.c
56069         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56070         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56071         * sysdeps/unix/sysv/linux/sigsuspend.c
56072         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
56073         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
56074         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56075         (__libc_missing_rt_sigs): Remove.
56076         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
56077         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
56078         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
56079         Remove conditional code.
56080         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
56081         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
56082         return 1.
56083         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
56084         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
56085         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
56086         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
56088 2012-05-14  Andreas Jaeger  <aj@suse.de>
56090         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
56091         it's not used in glibc.
56092         (__coshm1): Likewise.
56093         (__acosh1p): Likewise.
56094         (__sgn): Likewise.
56096         * manual/string.texi (Copying and Concatenation): Add missing
56097         variable in concat example.
56098         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
56100 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56102         [BZ #14103]
56103         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
56104         __builtin_clzl with __builtin_clzll.
56106 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
56108         [BZ #14104]
56109         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
56110         libc_freeres_ptr.
56112 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56114         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
56115         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
56116         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
56117         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
56119 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
56121         * NEWS: Update ia64 info.
56123 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
56125         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
56126         used as bcopy.
56128 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
56130         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
56131         * sysdeps/unix/syscalls.list (dup3): Likewise.
56132         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
56133         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
56135 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56137         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
56138         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
56140 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
56142         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
56143         thread pointer.
56144         (TLS_IE): Use mov/add instead of movq/addq to load thread
56145         pointer.
56146         (TLS_GD_PREFIX): New.
56147         (TLS_GD): Use it.
56149 2012-05-11  David S. Miller  <davem@davemloft.net>
56151         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
56152         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
56153         (_FPU_SETCW): Likewise.
56155 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56157         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
56158         is 32-byte aligned.
56160 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
56162         [BZ #11837]
56163         * iconvdata/gb18030.c: Update tables.
56164         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
56165         characters specially.
56166         (BODY for TO_LOOP): Add encoding of missing ranges.
56168 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
56170         [BZ #13673]
56171         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
56172         * sysdeps/mach/hurd/dup3.c: Likewise.
56173         * sysdeps/mach/hurd/readlinkat.c: Likewise.
56174         * sysdeps/powerpc/memmove.c:: Likewise.
56176 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56178         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
56179         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
56181 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56183         * elf/elf.h (R_X86_64_RELATIVE64): New.
56184         (R_X86_64_NUM): Updated.
56185         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56186         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
56187         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
56188         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
56189         tst-quad1pie tst-quad2pie
56190         (modules-names): Add tst-quadmod1 tst-quadmod2.
56191         ($(objpfx)tst-quad1): New dependency.
56192         ($(objpfx)tst-quad2): Likewise.
56193         ($(objpfx)tst-quad1pie): Likewise.
56194         ($(objpfx)tst-quad2pie): Likewise.
56195         * sysdeps/x86_64/tst-quad1.c: New file.
56196         * sysdeps/x86_64/tst-quad1pie.c: New file.
56197         * sysdeps/x86_64/tst-quad2.c: Likewise.
56198         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
56199         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
56200         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
56201         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
56202         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
56204 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56206         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
56207         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
56208         * streams/stropts.h (t_scalar_t): Define type.
56210         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
56211         (_PATH_PRESERVE): Set to "/var/lib".
56212         (_PATH_RWHODIR): Set to "/var/spool/rwho".
56214         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
56215         instead of int.
56217         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
56218         if __dir_mkfile succeeded.
56220         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
56221         checking for _hurd_dtablesize.  Unlock it right after having
56222         finished _hurd_dtable allocation.
56224 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56226         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
56227         * sysdeps/mach/hurd/configure: Regenerated.
56228         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
56229         special-casing to...
56230         * sysdeps/gnu/configure.in: ... this new file.
56231         * sysdeps/unix/sysv/linux/configure: Regenerated.
56232         * sysdeps/gnu/configure: New generated file.
56234         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
56235         for Linux: use nsec instead of usec, as well as:
56236         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
56237         members of type struct timespec.
56238         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
56239         New macros.
56240         (struct stat64): Likewise.
56241         (_STATBUF_ST_NSEC): New macro.
56242         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
56244         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
56245         __strtoul_internal rather than strtoul.
56247 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56249         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
56250         and reject them.
56252 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56254         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
56255         which preserves existing values.
56256         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
56258 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56260         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
56261         TIMEOUT values.  Return EINVAL for NFDS values either negative or
56262         greater than FD_SETSIZE.
56264 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56266         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
56267         allocated, call __vm_protect to finish enabling the existing space, and
56268         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
56269         allocate the remainder.
56271 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56273         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
56274         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
56276 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56278         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
56279         sysdeps/mach/hurd/readlink.c.
56281         * posix/tst-sysconf.c (posix_options): Only use
56282         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
56283         _POSIX_SYNCHRONIZED_IO when they are defined
56284         * sysdeps/mach/hurd/bits/posix_opt.h:
56285         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
56286         (_XOPEN_REALTIME): Undefine macro.
56287         (_XOPEN_REALTIME_THREADS): Undefine macro.
56288         (_XOPEN_SHM): Undefine macro.
56289         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
56290         macro to -1.
56291         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
56292         macro to -1.
56293         (_POSIX_ASYNC_IO): Undefine macro.
56294         (_POSIX_PRIORITIZED_IO): Undefine macro.
56295         (_POSIX_SPIN_LOCKS): Define macro to -1.
56297         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
56298         SA_NODEFER, SA_RESETHAND.
56299         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
56300         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
56301         F_DUPFD_CLOEXEC.
56303 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56305         * elf/Makefile (pldd-modules): Define unconditionally.
56307 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56309         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
56311 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56313         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
56314         Return ENOENT when name is empty.
56315         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
56317 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56319         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
56321         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
56323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56325         Fix mlock in all cases except non-readable pages.
56326         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
56327         instead of VM_PROT_ALL as parameter to __vm_wire function.
56329         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
56330         (__mkdir): When path is `/', just fail with EEXIST.
56331         * sysdeps/mach/hurd/mkdirat.c: Likewise.
56333 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56335         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
56336         <sys/uio.h> (for writev).
56337         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
56338         and <sys/param.h> (for MIN).
56340 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56342         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
56343         REQUESTED_TIME.  Properly set the remaining time and return EINTR
56344         if interrupted.
56346 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56348         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
56349         Depend on against $(link-rpcuserlibs).
56351 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56353         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
56354         (__libc_stack_end): Do not use attribute_relro.
56355         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
56356         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
56357         to libthread-provided value.
56358         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
56359         attribute_relro.
56361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56363         [BZ #3748]
56364         * bits/libc-lock.h (__libc_once_get): New macro.
56365         * sysdeps/mach/bits/libc-lock.h: Likewise.
56366         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
56367         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
56368         instead of using implementation details.
56370         * libio/fileops.c: Unconditionally include <kernel-features.h>.
56371         * libio/freopen.c: Likewise.
56372         * libio/freopen64.c: Likewise.
56373         * misc/syslog.c: Likewise.
56374         * nscd/connections.c: Likewise.
56375         * nscd/netgroupcache.c: Likewise.
56376         * sysdeps/posix/getcwd.c: Likewise.
56378 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56380         * math/w_ilogbf.c: Add #include <limits.h>.
56382 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56384         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
56385         path instead of returning without unlocking.
56387         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
56388         immediate-write ioctls.
56389         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
56391 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56393         * sysdeps/mach/hurd/i386/init-first.c (init): Use
56394         __builtin_frame_address instead of making assumptions about the
56395         location of the return address relative to DATA.  Force early load of
56396         the return address.
56397         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
56398         __builtin_frame_address.
56400         dup3 for GNU Hurd.
56401         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
56402         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
56403         implement dup3 and do some further code clean-ups.
56404         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
56405         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
56407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56409         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
56411         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
56412         HURD_CRITICAL_END around holding _hurd_dtable_lock.
56413         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
56414         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
56415         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
56416         d->port.lock.
56418         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
56419         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
56420         when handler == SIG_ERR, not when handler != SIG_ERR.
56422 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56424         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
56425         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
56426         definitions.
56428         accept4 for GNU Hurd.
56429         * include/sys/socket.h (__libc_accept4): New prototype.
56430         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
56431         to implement __libc_accept4.
56432         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
56433         __libc_accept4.
56434         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
56436         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
56437         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
56438         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
56439         signal-defines.sym.
56441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56443         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
56445 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
56447         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
56448         assertion on O_CLOEXEC flag.
56449         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
56450         * hurd/intern-fd.c: Likewise.
56451         * hurd/port2fd.c: Likewise.
56453 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56455         [BZ #3906]
56456         * bits/in.h (IPV6_PKTINFO): Define new macro.
56457         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
56459 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56461         [BZ #13954]
56462         [BZ #13955]
56463         [BZ #13956]
56464         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
56465         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56466         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
56467         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
56468         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56469         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
56470         * math/libm-test.inc (logb_test) : Additional logb tests.
56472 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
56473             Andreas Jaeger  <aj@suse.de>
56475         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
56476         * configure: Regenerated.
56477         * config.h.in (LINK_OBSOLETE_RPC): New macro.
56478         * config.make.in (link-obsolete-rpc): New substituted variable.
56479         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
56480         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
56481         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56482         (shared-only-routines): Don't set it under [link-obsolete-rpc],
56483         so that libc.a contains the symbols.
56484         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
56485         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
56486         * sunrpc/auth_none.c: Likewise.
56487         * sunrpc/auth_unix.c: Likewise.
56488         * sunrpc/authdes_prot.c: Likewise.
56489         * sunrpc/authuxprot.c: Likewise.
56490         * sunrpc/clnt_gen.c: Likewise.
56491         * sunrpc/clnt_perr.c: Likewise.
56492         * sunrpc/clnt_raw.c: Likewise.
56493         * sunrpc/clnt_simp.c: Likewise.
56494         * sunrpc/clnt_tcp.c: Likewise.
56495         * sunrpc/clnt_udp.c: Likewise.
56496         * sunrpc/clnt_unix.c: Likewise.
56497         * sunrpc/des_crypt.c: Likewise.
56498         * sunrpc/des_soft.c: Likewise.
56499         * sunrpc/get_myaddr.c: Likewise.
56500         * sunrpc/key_call.c: Likewise.
56501         * sunrpc/key_prot.c: Likewise.
56502         * sunrpc/netname.c: Likewise.
56503         * sunrpc/pm_getmaps.c: Likewise.
56504         * sunrpc/pm_getport.c: Likewise.
56505         * sunrpc/pmap_clnt.c: Likewise.
56506         * sunrpc/pmap_prot.c: Likewise.
56507         * sunrpc/pmap_prot2.c: Likewise.
56508         * sunrpc/pmap_rmt.c: Likewise.
56509         * sunrpc/publickey.c: Likewise.
56510         * sunrpc/rpc_cmsg.c: Likewise.
56511         * sunrpc/rpc_common.c: Likewise.
56512         * sunrpc/rpc_dtable.c: Likewise.
56513         * sunrpc/rpc_prot.c: Likewise.
56514         * sunrpc/rpc_thread.c: Likewise.
56515         * sunrpc/rtime.c: Likewise.
56516         * sunrpc/svc.c: Likewise.
56517         * sunrpc/svc_auth.c: Likewise.
56518         * sunrpc/svc_raw.c: Likewise.
56519         * sunrpc/svc_run.c: Likewise.
56520         * sunrpc/svc_tcp.c: Likewise.
56521         * sunrpc/svc_udp.c: Likewise.
56522         * sunrpc/svc_unix.c: Likewise.
56523         * sunrpc/svcauth_des.c: Likewise.
56524         * sunrpc/xcrypt.c: Likewise.
56525         * sunrpc/xdr.c: Likewise.
56526         * sunrpc/xdr_array.c: Likewise.
56527         * sunrpc/xdr_float.c: Likewise.
56528         * sunrpc/xdr_intXX_t.c: Likewise.
56529         * sunrpc/xdr_mem.c: Likewise.
56530         * sunrpc/xdr_rec.c: Likewise.
56531         * sunrpc/xdr_ref.c: Likewise.
56532         * sunrpc/xdr_sizeof.c: Likewise.
56533         * sunrpc/xdr_stdio.c: Likewise.
56535 2012-05-10  Roland McGrath  <roland@hack.frob.com>
56537         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
56538         change.  Update copyright years.
56540 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56542         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
56544 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
56545             Joseph Myers  <joseph@codesourcery.com>
56546             Paul Pluzhnikov  <ppluzhnikov@google.com>
56548         [BZ #14012]
56549         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
56550         requiring rpcgen.
56551         [cross-compiling] (extra-libs): Likewise.
56552         [cross-compiling] (extra-libs-others): Likewise.
56553         [cross-compiling] (librpcsvc-routines): Likewise.
56554         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
56555         [cross-compiling] (omit-deps): Likewise.
56556         (sunrpc-CPPFLAGS): New variable.
56557         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
56558         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
56559         (cross-rpcgen-objs): New variable.
56560         (extra-objs): Append $(cross-rpcgen-objs).
56561         ($(cross-rpcgen-objs)): New rule.
56562         ($(objpfx)cross-rpcgen): Likewise.
56563         (rpcgen-cmd): Define to use $(built-program-file).  Expand
56564         comment.
56565         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
56566         ($(objpfx)x%.stmp): Likewise.
56567         * sunrpc/proto.h [IS_IN_build] (_): Define.
56568         [IS_IN_build] (_libc_intl_domainname): Likewise.
56570 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
56572         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
56573         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
56574         and R_X86_64_TPOFF64.
56576 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
56578         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
56579         sysdeps/unix/sysv/syscalls.list.
56580         (stime): Likewise.
56581         (utime): Likewise.
56582         * sysdeps/unix/sysv/syscalls.list: Remove file.
56584 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
56586         [BZ #3440]
56587         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
56588         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
56589         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
56590         (__LC_IDENTIFICATION): Make these macros useful in #if
56591         expressions, as required by C99.
56593 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
56595         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
56596         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
56597         after this.
56599 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
56601         * stdlib/longlong.h: Updated from GCC.
56603 2012-05-09  Andreas Jaeger  <aj@suse.de>
56605         * nscd/nscd.c (run_modes): Make named enum, reorder so that
56606         default is first entry.
56607         (run_mode): Set type.
56608         (main): Remove informal message about syslog.
56609         (options): Fix typo.
56611         [BZ #14053]
56612         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
56613         to asm.
56614         (lrint): Likewise.
56615         (llrintf): Likewise.
56616         (llrint): Likewise.
56617         (rint): Likewise.
56618         (rintf): Likewise.
56619         (nearbyint): Likewise.
56620         (nearbyintf): Likewise.
56622 2012-05-09  Andreas Jaeger  <aj@suse.de>
56623             Pedro Alves  <palves@redhat.com>
56625         * nscd/nscd.c (run_mode): Use enum.
56626         (main): Cleanup coding style issue.
56628 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
56629             Andreas Jaeger  <aj@suse.de>
56631         * nscd/nscd.c (go_background): Replaced with...
56632         (run_mode): ... this.
56633         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
56634         (options): Add -F --foreground.
56635         (main): Implement it.
56636         (parse_opt): Parse it.
56638 2012-05-09  Andreas Jaeger  <aj@suse.de>
56640         [BZ #14083]
56641         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
56642         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
56643         -Wconversion warning.
56644         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
56645         Likewise.
56647 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
56649         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
56650         == 0.
56651         (LC_ALL): Use macro-int-constant.
56652         (LC_COLLATE): Likewise.
56653         (LC_CTYPE): Likewise.
56654         (LC_MESSAGES): Likewise.
56655         (LC_MONETARY): Likewise.
56656         (LC_NUMERIC): Likewise.
56657         (LC_TIME): Likewise.
56658         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
56659         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
56660         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56661         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
56662         Specify type.
56663         [C99-based standards] (float_t): Expect type.
56664         [C99-based standards] (double_t): Expect type.
56665         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
56666         type.
56667         [C99-based standards] (HUGE_VALL): Likewise.
56668         [C99-based standards] (INFINITY): Likewise.
56669         [C99-based standards] (NAN): Likewise.
56670         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
56671         [C99-based standards] (FP_NAN): Likewise.
56672         [C99-based standards] (FP_NORMAL): Likewise.
56673         [C99-based standards] (FP_SUBNORMAL): Likewise.
56674         [C99-based standards] (FP_ZERO): Likewise.
56675         [C99-based standards] (FP_FAST_FMA): Use
56676         optional-macro-int-constant.  Specify type.  Require == 1.
56677         [C99-based standards] (FP_FAST_FMAF): Likewise.
56678         [C99-based standards] (FP_FAST_FMAL): Likewise.
56679         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
56680         [C99-based standards] (FP_ILOGBNAN): Likewise.
56681         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
56682         Specify type.
56683         [C99-based standards] (MATH_ERREXCEPT): Likewise.
56684         [C99-based standards] (math_errhandling): Specify type.
56685         [ISO99 || ISO11] (signgam): Do not allow.
56686         [non-C99-based standards] (copysignf): Do not allow.
56687         [non-C99-based standards] (exp2f): Likewise.
56688         [non-C99-based standards] (log2f): Likewise.
56689         [non-C99-based standards] (modff): Allow.
56690         [non-C99-based standards] (erff): Do not allow.
56691         [non-C99-based standards] (erfcf): Likewise.
56692         [non-C99-based standards] (gammaf): Likewise.
56693         [non-C99-based standards] (hypotf): Likewise.
56694         [non-C99-based standards] (j0f): Likewise.
56695         [non-C99-based standards] (j1f): Likewise.
56696         [non-C99-based standards] (jnf): Likewise.
56697         [non-C99-based standards] (lgammaf): Likewise.
56698         [non-C99-based standards] (tgammaf): Likewise.
56699         [non-C99-based standards] (y0f): Likewise.
56700         [non-C99-based standards] (y1f): Likewise.
56701         [non-C99-based standards] (ynf): Likewise.
56702         [non-C99-based standards] (isnanf): Likewise.
56703         [non-C99-based standards] (acoshf): Likewise.
56704         [non-C99-based standards] (asinhf): Likewise.
56705         [non-C99-based standards] (atanhf): Likewise.
56706         [non-C99-based standards] (cbrtf): Likewise.
56707         [non-C99-based standards] (expm1f): Likewise.
56708         [non-C99-based standards] (ilogbf): Likewise.
56709         [non-C99-based standards] (log1pf): Likewise.
56710         [non-C99-based standards] (logbf): Likewise.
56711         [non-C99-based standards] (nextafterf): Likewise.
56712         [non-C99-based standards] (remainderf): Likewise.
56713         [non-C99-based standards] (rintf): Likewise.
56714         [non-C99-based standards] (scalbf): Likewise.
56715         [non-C99-based standards] (copysignl): Likewise.
56716         [non-C99-based standards] (exp2l): Likewise.
56717         [non-C99-based standards] (log2l): Likewise.
56718         [non-C99-based standards] (modfl): Allow.
56719         [non-C99-based standards] (erfl): Do not allow.
56720         [non-C99-based standards] (erfcl): Likewise.
56721         [non-C99-based standards] (gammal): Likewise.
56722         [non-C99-based standards] (hypotl): Likewise.
56723         [non-C99-based standards] (j0l): Likewise.
56724         [non-C99-based standards] (j1l): Likewise.
56725         [non-C99-based standards] (jnl): Likewise.
56726         [non-C99-based standards] (lgammal): Likewise.
56727         [non-C99-based standards] (tgammal): Likewise.
56728         [non-C99-based standards] (y0l): Likewise.
56729         [non-C99-based standards] (y1l): Likewise.
56730         [non-C99-based standards] (ynl): Likewise.
56731         [non-C99-based standards] (isnanl): Likewise.
56732         [non-C99-based standards] (acoshl): Likewise.
56733         [non-C99-based standards] (asinhl): Likewise.
56734         [non-C99-based standards] (atanhl): Likewise.
56735         [non-C99-based standards] (cbrtl): Likewise.
56736         [non-C99-based standards] (expm1l): Likewise.
56737         [non-C99-based standards] (ilogbl): Likewise.
56738         [non-C99-based standards] (log1pl): Likewise.
56739         [non-C99-based standards] (logbl): Likewise.
56740         [non-C99-based standards] (nextafterl): Likewise.
56741         [non-C99-based standards] (remainderl): Likewise.
56742         [non-C99-based standards] (rintl): Likewise.
56743         [non-C99-based standards] (scalbl): Likewise.
56744         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56745         [non-C99-based standards] (FP_*): Do not allow.
56746         [C99-based standards] (FP_*): Change to
56747         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
56748         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56749         allow.
56750         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
56751         (SIG_ERR): Likewise.
56752         [X/Open-based standards] (SIG_HOLD): Likewise.
56753         (SIG_IGN): Likewise.
56754         (SIGABRT): Use macro-int-constant.  Specify type.  Require
56755         positive value.
56756         (SIGFPE): Likewise.
56757         (SIGILL): Likewise.
56758         (SIGINT): Likewise.
56759         (SIGSEGV): Likewise.
56760         (SIGTER): Likewise.
56761         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
56762         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
56763         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
56764         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
56765         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
56766         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
56767         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
56768         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
56769         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
56770         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
56771         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
56772         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
56773         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
56774         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
56775         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
56776         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
56777         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
56778         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
56779         [X/Open-based standards] (SIGTRAP): Likewise.
56780         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
56781         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
56782         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
56783         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
56784         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
56785         allow.
56787 2012-05-08  Ian Wienand  <ianw@vmware.com>
56789         [BZ #14080]
56790         * time/tzset.c (__tzset_parse_tz): Update default rules for
56791         daylight time changes in the Energy Policy Act of 2005.
56793 2012-05-09  Andreas Jaeger  <aj@suse.de>
56795         [BZ #13983]
56796         * elf/ldconfig.c (parse_conf): Change string to make clear that
56797         ldconfig only issued a warning if ld.so.conf does not exist.
56799 2012-05-08  David S. Miller  <davem@davemloft.net>
56801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
56802         movxtod instead of popping the value on the stack.
56804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56806 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
56808         * config.h.in: Add HAVE_ARM_PCS_VFP.
56810 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
56812         [BZ #13979]
56813         * include/features.h: Warn if user requests __FORTIFY_SOURCE
56814         checking but the checks are disabled for any reason.
56816 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
56818         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
56819         and ELF64_R_TYPE with ELFW(R_TYPE).
56821 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
56823         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
56824         (ulimit): Likewise.
56826         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
56827         (settimeofday): Likewise.
56829 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
56831         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
56832         a struct th_u2 inside the union, and move tu_block/tu_code into
56833         a new th_u3 union of tu_block/tu_code inside of that.  Move
56834         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
56835         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
56836         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
56837         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
56838         (th_stuff): Change to th_u1.tu_stuff.
56839         (th_data): Define.
56840         (th_msg): Change to th_u1.th_u2.tu_data.
56842 2012-05-07  David S. Miller  <davem@davemloft.net>
56844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56846         [BZ #14074]
56847         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
56848         (SETUP_PIC_REG): Use it.
56849         (SETUP_PIC_REG_LEAF): Use it.
56851 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
56853         [BZ #13885]
56854         [BZ #13923]
56855         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56856         USE_AS_EXPM1L.
56857         (EXPL_FINITE): Likewise.
56858         (FLDLOG): Likewise.
56859         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
56860         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56861         e_expl.S.
56862         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56863         USE_AS_EXPM1L.
56864         (EXPL_FINITE): Likewise.
56865         (FLDLOG): Likewise.
56866         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
56867         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
56868         e_expl.S.
56869         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
56870         test of -max_value argument for long double.
56871         * sysdeps/i386/fpu/libm-test-ulps: Update.
56872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56874 2012-05-06  David S. Miller  <davem@davemloft.net>
56876         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
56877         quad soft-float symbols whose references which are compiler
56878         generated.
56879         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56881 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
56883         [BZ #13884]
56884         [BZ #13914]
56885         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56886         USE_AS_EXP10L.
56887         (EXPL_FINITE): Likewise.
56888         (FLDLOG): Likewise.
56889         (c0): Likewise.
56890         (c1): Likewise.
56891         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56892         Adjust comments for base varying.
56893         (__expl_finite): Change alias to EXPL_FINITE.
56894         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
56895         e_expl.S.
56896         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
56897         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
56898         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56899         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
56900         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
56901         USE_AS_EXP10L.
56902         (EXPL_FINITE): Likewise.
56903         (FLDLOG): Likewise.
56904         (c0): Likewise.
56905         (c1): Likewise.
56906         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
56907         Adjust comments for base varying.
56908         (__expl_finite): Change alias to EXPL_FINITE.
56909         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
56910         tests for bugs.
56911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56913         [BZ #14064]
56914         * math/libm-test.inc (check_float_internal): Correct ulp
56915         calculation for subnormal expected results.
56917 2012-05-06  Andreas Jaeger  <aj@suse.de>
56919         * Makeconfig (+math-flags): New, set to -frounding-math.
56920         (+cflags): Add +math-flags so that all of glibc gets compiled with
56921         it.
56923         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
56925 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
56927         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
56928         Disable one test.
56930         [BZ #13787]
56931         [BZ #13922]
56932         [BZ #14036]
56933         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
56934         (__ieee754_expl): Allow for and saturate large arguments.
56935         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
56936         (u_threshold): Likewise.
56937         (__exp): Call __ieee754_exp before checking for overflow and
56938         underflow.
56939         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
56940         (u_threshold): Likewise.
56941         (__expf): Call __ieee754_expf before checking for overflow and
56942         underflow.
56943         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
56944         (u_threshold): Likewise.
56945         (__expl): Call __ieee754_expl before checking for overflow and
56946         underflow.
56947         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
56948         (__ieee754_expl): Allow for and saturate large arguments.
56949         * math/libm-test.inc (exp_test): Add another test.  Do not allow
56950         missing overflow exception on overflow.
56951         (expm1_test): Do not allow missing overflow exception on overflow.
56953         * sysdeps/i386/fpu/e_expl.c: Move to ...
56954         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
56955         rather than using inline asm.
56956         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
56957         * sysdeps/x86_64/fpu/e_expl.S: Copy from
56958         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
56960         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
56961         (nice): Likewise.
56962         (poll): Likewise.
56963         (signal): Likewise.
56964         (time): Likewise.
56965         (times): Likewise.
56967 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
56969         * sysdeps/unix/syscalls.list (adjtime): Add entry from
56970         sysdeps/unix/common/syscalls.list.
56971         (fchmod): Likewise.
56972         (fchown): Likewise.
56973         (ftruncate): Likewise.
56974         (getrusage): Likewise.
56975         (gettimeofday): Likewise.
56976         (setpgid): Likewise.
56977         (setregid): Likewise.
56978         (setreuid): Likewise.
56979         (sigaction): Likewise.
56980         (truncate): Likewise.
56981         (vhangup): Likewise.
56982         * sysdeps/unix/common/syscalls.list: Remove file.
56983         * sysdeps/unix/bsd/Implies: Don't include unix/common.
56984         * sysdeps/unix/sysv/linux/Implies: Likewise.
56986 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
56988         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
56989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
56990         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
56991         Moved to ...
56992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
56993         Here.
56994         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
56995         to ...
56996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
56997         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
56998         to ...
56999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
57000         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
57001         to ...
57002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
57003         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
57004         to ...
57005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
57006         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
57007         to ...
57008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
57009         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
57010         to ...
57011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
57012         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
57013         to ...
57014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57015         Here.
57016         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
57017         to ...
57018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
57019         Here.
57020         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
57021         to ...
57022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
57023         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
57024         Moved to ...
57025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
57026         Here.
57027         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
57028         to ...
57029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
57031 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57033         * sysdeps/unix/common/bits/dirent.h: Remove file.
57034         * sysdeps/unix/common/bits/fcntl.h: Likewise.
57036         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
57037         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
57038         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
57039         * sysdeps/unix/bsd/isatty.c: Likewise.
57040         * sysdeps/unix/bsd/tcdrain.c: Likewise.
57041         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
57042         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
57044 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57046         [BZ #13563]
57047         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
57048         long double comparison inaccuracies.
57049         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57052 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
57054         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
57055         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
57057 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
57059         [BZ #14049]
57060         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
57061         nonzero digits before rounding a hex value.
57062         * stdlib/tst-strtod.c (tests): Add another test.
57064 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57066         * sysdeps/s390/fpu/libm-test-ulps: Update.
57068 2012-05-03  Andreas Jaeger  <aj@suse.de>
57070         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
57071         does not get optimized out.
57072         (malloc_opt_barrier): New.
57074 2012-05-03  Andreas Jaeger  <aj@suse.de>
57075             Roland McGrath  <roland@hack.frob.com>
57077         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
57078         intermediate file deletion.
57079         (generated): Add .symlist files.
57081 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
57083         [BZ #13775]
57084         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
57085         Redirect under this condition.
57086         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57087         [__USE_GNU] (__dprintf_chk): Not under this condition.
57088         [__USE_GNU] (__vdprintf_chk): Likewise.
57089         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
57090         under this condition.
57091         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
57092         [__USE_XOPEN2K8] (dprintf): Define under this condition.
57093         [__USE_XOPEN2K8] (vdprintf): Likewise.
57094         [__USE_GNU] (__dprintf_chk): Not under this condition.
57095         [__USE_GNU] (__vdprintf_chk): Likewise.
57096         [__USE_GNU] (dprintf): Likewise.
57097         [__USE_GNU] (vdprintf): Likewise.
57099 2012-05-03  Roland McGrath  <roland@hack.frob.com>
57101         * elf/Makefile (common-generated): Set this instead of generated for
57102         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
57103         $(all-built-dso)-derived lists.
57105 2012-05-03  Andreas Jaeger  <aj@suse.de>
57107         * sysdeps/i386/fpu/libm-test-ulps: Update.
57109         * FAQ: Removed.
57110         * FAQ.in: Likewise.
57111         * scripts/gen-FAQ.pl: Likewise.
57112         * manual/install.texi (Installation): Point to online location of
57113         FAQ.
57114         * Makefile (files-for-dist): Remove FAQ.
57115         (FAQ): Remove.
57117 2012-05-02  Allan McRae  <allan@archlinux.org>
57119         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
57120         (LDFLAGS-reldepmod5.so): Likewise.
57121         (LDFLAGS-reldep6mod1.so): Likewise.
57122         (LDFLAGS-reldep6mod4.so): Likewise.
57123         (LDFLAGS-reldep8mod3.so): Likewise.
57124         (LDFLAGS-unload4mod1.so): Likewise.
57125         (LDFLAGS-unload4mod2.so): Likewise.
57126         (LDFLAGS-tst-initorder): Likewise.
57127         (LDFLAGS-tst-initordera2.so): Likewise.
57128         (LDFLAGS-tst-initordera3.so): Likewise.
57129         (LDFLAGS-tst-initordera4.so): Likewise.
57130         (LDFLAGS-tst-initorderb2.so): Likewise.
57131         (LDFLAGS-noload): Likewise.
57132         (LDFLAGS-next): Likewise.
57133         (LDFLAGS-order2mod1.so): Likewise.
57134         (LDFLAGS-order2mod2.so): Likewise.
57135         (LDFLAGS-tst-initorder2): Likewise.
57136         (LDFLAGS-tst-initorder2a.so): Likewise.
57137         (LDFLAGS-tst-initorder2b.so): Likewise.
57138         (LDFLAGS-tst-initorder2c.so): Likewise.
57139         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
57141 2012-05-02  David S. Miller  <davem@davemloft.net>
57143         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57145 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
57147         [BZ #14055]
57148         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
57150 2012-05-02  Andreas Jaeger  <aj@suse.de>
57152         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
57153         since we manipulate rounding mode.
57154         (CPPFLAGS-test-idouble.c): Likewise.
57155         (CPPFLAGS-test-ifloat.c): Likewise.
57156         (CFLAGS-test-ldouble.c): Likewise.
57157         (CFLAGS-test-double.c): Likewise.
57158         (CFLAGS-test-float.c): Likewise.
57159         (CFLAGS-test-misc.c): Likewise.
57160         (CFLAGS-test-test-fenv.c): Likewise.
57162 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57164         [BZ #2550]
57165         [BZ #2570]
57166         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
57167         comparisons to determine direction to adjust input.
57169 2012-05-01  Roland McGrath  <roland@hack.frob.com>
57171         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
57172         output to the target.
57174         * scripts/localplt.awk: New file.
57175         * elf/Makefile ($(objpfx)check-localplt): Target removed.
57176         (check-localplt-CFLAGS): Variable removed.
57177         ($(all-built-dso:=.jmprel)): New static pattern rule.
57178         (generated): Add those targets.
57179         (localplt-built-dso): New variable.
57180         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
57182         * elf/check-localplt.c: File removed.
57184         * scripts/check-execstack.awk: New file.
57185         * elf/Makefile ($(objpfx)check-execstack): Target removed.
57186         (check-execstack-CFLAGS): Variable removed.
57187         ($(objpfx)check-execstack.h): Target removed.
57188         ($(objpfx)execstack-default): New target.
57189         (generated): Add that instead of check-execstack.h.
57190         ($(all-built-dso:=.phdr)): New static pattern rule.
57191         (generated): Add those targets.
57192         * elf/check-execstack.c: File removed.
57194         * scripts/check-textrel.awk: New file.
57195         * elf/Makefile ($(objpfx)check-textrel): Target removed.
57196         (check-textrel-CFLAGS): Variable removed.
57197         (all-built-dso): Use := to define.o
57198         ($(all-built-dso:=.dyn)): New static pattern rule.
57199         (generated): Add those targets.
57200         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
57201         * config.make.in (READELF): New substituted variable.
57202         * elf/check-textrel.c: File removed.
57204 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57206         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
57207         allow.
57208         * conform/data/ctype.h-data [C99-based standards] (isblank):
57209         Expect function.
57210         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
57211         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
57212         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57213         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
57214         Specify type.  Require positive value.
57215         (EILSEQ): Likewise.
57216         (ERANGE): Likewise.
57217         [ISO || POSIX] (EILSEQ): Do not expect.
57218         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
57219         Specify type.  Require positive value.
57220         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
57221         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
57222         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
57223         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
57224         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
57225         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
57226         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
57227         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
57228         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
57229         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
57230         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
57231         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
57232         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
57233         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
57234         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
57235         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
57236         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
57237         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
57238         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
57239         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
57240         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
57241         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
57242         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
57243         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
57244         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
57245         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
57246         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
57247         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
57248         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
57249         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
57250         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
57251         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
57252         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
57253         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
57254         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
57255         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
57256         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
57257         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
57258         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
57259         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
57260         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
57261         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
57262         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
57263         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
57264         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
57265         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
57266         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
57267         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
57268         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
57269         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
57270         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
57271         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
57272         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
57273         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
57274         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
57275         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
57276         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
57277         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
57278         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
57279         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
57280         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
57281         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
57282         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
57283         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
57284         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
57285         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
57286         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
57287         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
57288         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
57289         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
57290         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
57291         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
57292         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
57293         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
57294         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
57295         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
57296         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
57297         Require >= 2.
57298         (FLT_ROUNDS): Expect as macro, not constant.
57299         (FLT_MANT_DIG): Use macro-int-constant.
57300         (DBL_MANT_DIG): Likewise.
57301         (LDBL_MANT_DIG): Likewise.
57302         (FLT_DIG): Likewise.
57303         (DBL_DIG): Likewise.
57304         (LDBL_DIG): Likewise.
57305         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
57306         (DBL_MIN_EXP): Likewise.
57307         (LDBL_MIN_EXP): Likewise.
57308         (FLT_MAX_EXP): Use macro-int-constant.
57309         (DBL_MAX_EXP): Likewise.
57310         (LDBL_MAX_EXP): Likewise.
57311         (FLT_MAX_10_EXP): Likewise.
57312         (DBL_MAX_10_EXP): Likewise.
57313         (LDBL_MAX_10_EXP): Likewise.
57314         (FLT_MAX): Use macro-constant.
57315         (DBL_MAX): Likewise.
57316         (LDBL_MAX): Likewise.
57317         (FLT_EPSILON): Use macro-constant.  Give upper bound.
57318         (DBL_EPSILON): Likewise.
57319         (LDBL_EPSILON): Likewise.
57320         (FLT_MIN): Likewise.
57321         (DBL_MIN): Likewise.
57322         (LDBL_MIN): Likewise.
57323         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
57324         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
57325         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
57326         [ISO11] (FLT_HAS_SUBNORM): Likewise.
57327         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
57328         [ISO11] (DBL_DECIMAL_DIG): Likewise.
57329         [ISO11] (FLT_DECIMAL_DIG): Likewise.
57330         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
57331         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
57332         [ISO11] (FLT_TRUE_MIN): Likewise.
57333         [ISO11] (LDBL_TRUE_MIN): Likewise.
57334         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57335         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
57336         (SCHAR_MIN): Use macro-int-constant.  Specify type.
57337         (SCHAR_MAX): Likewise.
57338         (UCHAR_MAX): Likewise.
57339         (CHAR_MIN): Likewise.
57340         (CHAR_MAX): Likewise.
57341         (MB_LEN_MAX): Use macro-int-constant.
57342         (SHRT_MIN): Use macro-int-constant.  Specify type.
57343         (SHRT_MAX): Likewise.
57344         (USHRT_MAX): Likewise.
57345         (INT_MAX): Likewise.
57346         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
57347         bound negative.
57348         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57349         bound with "U".
57350         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57351         bound with "L".
57352         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
57353         bound negative.  Suffix upper bound with "L".
57354         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
57355         bound with "UL".
57356         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
57357         Specify type.
57358         [C99-based standards] (LLONG_MAX): Likewise.
57359         [C99-based standards] (ULLONG_MAX): Likewise.
57360         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
57361         == 0.
57362         [ISO11] (max_align_t): Require type.
57363         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57365         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
57366         from $CFLAGS, without defining away __attribute__ calls.
57367         (checknamespace): Use $CFLAGS_namespace.
57369         * conform/conformtest.pl (@keywords): Only include C99 keywords
57370         for standards based on C99 or C11.
57372         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
57373         Disable tests.
57374         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
57375         UNIX98]: Likewise.
57377         * conform/conformtest.pl: Handle "macro-int-constant" and test for
57378         usability of symbols in #if.
57380         * conform/conformtest.pl: If macro or constant types start
57381         "promoted:", expect the symbol to be of the following type
57382         promoted by the integer promotions.
57384         * conform/conformtest.pl: Parse all "constant" and "macro" lines
57385         in one place.  Also handle "macro-constant".
57387         * conform/conformtest.pl: Only accept expected macro values with
57388         "==".  Parse all "macro" lines in one place.
57389         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
57391         * conform/conformtest.pl: Handle braced types on "constant" lines
57392         instead of handling "typed-constant".
57393         * conform/data/signal.h-data: Use "constant" instead of
57394         "typed-constant".
57396         * conform/conformtest.pl: Handle "optional-" at start of lines in
57397         one place rather than duplicating several cases.  Handle each
57398         format of "macro" line with initial "optional-".
57400         * conform/conformtest.pl: Only accept expected constant or
57401         optional-constant values with "==".  Parse all "constant" lines in
57402         one place.  Parse all "optional-constant" lines in one place.
57403         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
57404         * conform/data/fmtmsg.h-data: Likewise.
57405         * conform/data/netinet/in.h-data: Likewise.
57406         * conform/data/tar.h-data: Likewise.
57407         * conform/data/limits.h-data: Use "==" form on "constant" and
57408         "optional-constant" lines.
57410         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
57411         Use -std=c99 for XOPEN2K.
57412         (@knownproblems): Remove.
57413         (newtoken): Don't check %isknown.
57415         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
57416         Do not expect macro.
57417         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
57418         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
57419         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
57420         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
57421         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
57422         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
57423         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
57424         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
57425         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
57426         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
57427         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
57428         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
57429         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
57430         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
57431         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
57432         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
57433         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
57434         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
57435         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
57436         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
57437         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
57438         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
57439         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
57440         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
57441         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
57442         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
57443         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
57444         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
57445         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
57446         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
57447         [XPG3] (acosh): Likewise.
57448         [XPG3] (asinh): Likewise.
57449         [XPG3] (atanh): Likewise.
57450         [XPG3] (cbrt): Likewise.
57451         [XPG3] (expm1): Likewise.
57452         [XPG3] (ilogb): Likewise.
57453         [XPG3] (log1p): Likewise.
57454         [XPG3] (logb): Likewise.
57455         [XPG3] (nextafter): Likewise.
57456         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
57457         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
57458         [XPG3] (remainder): Likewise.
57459         [XPG3] (rint): Likewise.
57460         [XPG3 || XPG4 || UNIX98] (round): Likewise.
57461         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
57462         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
57463         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
57464         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
57465         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
57466         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
57467         [UNIX98 || XOPEN2K] (scalb): Expect.
57468         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
57469         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
57470         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
57471         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
57472         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
57473         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
57474         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
57475         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
57476         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
57477         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
57478         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
57479         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
57480         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
57481         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
57482         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
57483         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
57484         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
57485         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
57486         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
57487         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
57488         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
57489         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
57490         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
57491         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
57492         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
57493         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
57494         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
57495         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
57496         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
57497         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
57498         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
57499         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
57500         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
57501         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
57502         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
57503         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
57504         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
57505         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
57506         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
57507         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
57508         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
57509         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
57510         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
57511         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
57512         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
57513         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
57514         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
57515         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
57516         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
57517         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
57518         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
57519         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
57520         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
57521         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
57522         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
57523         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
57524         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
57525         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
57526         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
57527         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
57528         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
57529         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
57530         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
57531         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
57532         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
57533         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
57534         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
57535         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
57536         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
57537         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
57538         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
57539         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
57540         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
57541         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
57542         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
57543         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
57544         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
57545         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
57546         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
57547         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
57548         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
57549         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
57550         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
57551         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
57552         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
57553         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
57554         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
57555         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
57556         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
57557         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
57558         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
57559         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
57560         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
57561         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
57562         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
57563         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
57564         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
57565         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
57566         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
57567         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
57568         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
57569         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
57570         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
57571         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
57572         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
57573         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
57574         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
57575         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
57576         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
57577         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
57578         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
57579         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
57580         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
57581         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
57582         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
57583         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
57584         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
57585         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
57586         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
57587         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
57588         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
57589         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
57590         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
57591         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
57592         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
57593         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
57594         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
57595         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
57596         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
57597         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
57598         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
57599         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
57600         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
57601         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
57602         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
57603         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
57604         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
57606         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
57607         _XOPEN_SOURCE_EXTENDED for XPG4.
57609         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
57611         * Makeconfig (localtime): Remove variable.
57612         (inst_localtime-file): Likewise.
57614 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
57616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
57617         Update.
57618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57619         Update.
57620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
57621         Update.
57622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57623         Update.
57624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
57625         Update.
57626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
57627         Update.
57628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57629         Update.
57630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
57631         Update.
57632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57633         Update.
57635 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
57637         [BZ #2550]
57638         [BZ #2570]
57639         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
57640         comparisons to determine direction to adjust input.
57641         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
57642         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
57643         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
57644         Likewise.
57645         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
57646         Likewise.
57647         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57648         Likewise.
57649         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
57650         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
57651         Likewise.
57652         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
57653         Likewise.
57654         * math/libm-test.inc (nexttoward_test): Add more tests.
57656 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
57658         [BZ #14040]
57659         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
57660         in version GLIBC_2.1, not GLIBC_2.0.
57661         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
57662         Likewise.
57664 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
57666         [BZ #13942]
57667         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
57668         (1 - x) * (1 + x).
57669         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
57670         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
57671         * math/libm-test.inc (acos_test): Add more tests.
57672         (asin_test): Likewise.
57673         * sysdeps/i386/fpu/libm-test-ulps: Update.
57674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57676         [BZ #14034]
57677         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
57678         of square root.
57679         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
57680         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
57681         * math/libm-test.inc (acos_test_tonearest): New function.
57682         (acos_test_towardzero): Likewise.
57683         (acos_test_downward): Likewise.
57684         (acos_test_upward): Likewise.
57685         (asin_test_tonearest): Likewise.
57686         (asin_test_towardzero): Likewise.
57687         (asin_test_downward): Likewise.
57688         (asin_test_upward): Likewise.
57689         (main): Call the new functions.
57690         * sysdeps/i386/fpu/libm-test-ulps: Update.
57691         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57693         [BZ #13884]
57694         [BZ #13924]
57695         * math/e_exp10.c: Include <float.h>.
57696         (__ieee754_exp10): Handle underflow here rather than multiplying
57697         large negative argument by M_LN10.
57698         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
57699         of __ieee754_expf.
57700         * math/e_exp10l.c: Include <float.h>.
57701         (__ieee754_exp10l): Handle underflow here rather than multiplying
57702         large negative argument by M_LN10l.
57703         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
57704         spurious overflow exception on underflow.
57706 2012-04-29  Marek Polacek  <polacek@redhat.com>
57708         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
57709         (__fortify_function): New macro.
57710         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
57711         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
57712         __extern_always_inline.
57713         * libio/bits/stdio2.h: Likewise.
57714         * libio/bits/stdio.h: Likewise.
57715         * string/string.h: Likewise.
57716         * string/bits/string3.h: Likewise.
57717         * include/stdio.h: Likewise.
57718         * stdlib/bits/stdlib.h: Likewise.
57719         * stdlib/stdlib.h: Likewise.
57720         * rt/bits/mqueue2.h: Likewise.
57721         * rt/mqueue.h: Likewise.
57722         * posix/bits/unistd.h: Likewise.
57723         * posix/unistd.h: Likewise.
57724         * io/bits/poll2.h: Likewise.
57725         * io/bits/fcntl2.h: Likewise.
57726         * io/fcntl.h: Likewise.
57727         * io/sys/poll.h: Likewise.
57728         * misc/bits/syslog.h: Likewise.
57729         * misc/bits/syslog-ldbl.h: Likewise.
57730         * misc/sys/syslog.h: Likewise.
57731         * socket/bits/socket2.h: Likewise.
57732         * socket/sys/socket.h: Likewise.
57733         * debug/tst-chk1.c: Likewise.
57734         * wcsmbs/bits/wchar2.h: Likewise.
57735         * wcsmbs/bits/wchar-ldbl.h: Likewise.
57736         * wcsmbs/wchar.h: Likewise.
57738 2012-04-29  Andreas Jaeger  <aj@suse.de>
57740         * Makerules (tests): Remove enable-check-abi protection.
57741         (check-abi-warn): Remove.
57742         (check-abi-%): Remove check-abi-warn usage.
57744         * configure.in: Remove check-abi configure option.
57745         * configure: Regenerated.
57746         * config.make.in (enable-check-abi): Remove.
57748 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
57750         [BZ #14033]
57751         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
57752         double functions to double *_finite functions.
57754         [BZ #13941]
57755         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
57756         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
57757         LDBL_MIN_EXP.
57758         * stdio-common/Makefile (tests): Add tst-sprintf3.
57759         * stdio-common/tst-sprintf3.c: New file.
57761         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
57762         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
57764 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57766         * conform/conformtest.pl: Remove duplicate typed-constant
57767         handling.
57769 2012-04-28  David S. Miller  <davem@davemloft.net>
57771         * Makerules (%.abilist): Add vpath on sysdep_dirs.
57772         (check-abi-%): Remove AWK script prerequisite and explicit
57773         abilist directory.
57774         (check-abi): Rewrite to just diff the symlist with the abilist.
57775         (config-tls, config-abi-config): Delete, no longer used.
57776         (update-abi-%): Remove AWK script and explicit abilist directory.
57777         (update-abi): Rewrite to simply compare and conditionally copy the
57778         symlist and the sysdep abilist file.  Remove update-abi-config
57779         checks.
57780         * abilist/ld.abilist: Remove.
57781         * abilist/libBrokenLocale.abilist: Remove.
57782         * abilist/libanl.abilist: Remove.
57783         * abilist/libcrypt.abilist: Remove.
57784         * abilist/libdl.abilist: Remove.
57785         * abilist/librt.abilist: Remove.
57786         * abilist/libthread_db.abilist: Remove.
57787         * abilist/libutil.abilist: Remove.
57788         * scripts/extract-abilist.awk: Remove.
57789         * scripts/merge-abilist.awk: Remove.
57790         * sysdeps/generic/libcidn.abilist: New file.
57791         * sysdeps/generic/libnss_compat.abilist: New file.
57792         * sysdeps/generic/libnss_db.abilist: New file.
57793         * sysdeps/generic/libnss_dns.abilist: New file.
57794         * sysdeps/generic/libnss_files.abilist: New file.
57795         * sysdeps/generic/libnss_hesiod.abilist: New file.
57796         * sysdeps/generic/libnss_nis.abilist: New file.
57797         * sysdeps/generic/libnss_nisplus.abilist: New file.
57798         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
57799         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
57800         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
57801         file.
57802         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
57803         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
57804         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
57805         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
57806         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
57807         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
57808         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
57809         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
57810         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
57811         file.
57812         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
57813         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
57814         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
57815         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
57816         file.
57817         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
57818         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
57819         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
57820         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
57821         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
57822         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
57823         file.
57824         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
57825         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
57826         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
57827         file.
57828         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
57829         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
57830         New file.
57831         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
57832         New file.
57833         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
57834         New file.
57835         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
57836         New file.
57837         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
57838         New file.
57839         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
57840         New file.
57841         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
57842         New file.
57843         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
57844         New file.
57845         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
57846         New file.
57847         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
57848         New file.
57849         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
57850         New file.
57851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
57852         New file.
57853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
57854         New file.
57855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
57856         file.
57857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
57858         New file.
57859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
57860         New file.
57861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
57862         file.
57863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
57864         New file.
57865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
57866         New file.
57867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
57868         file.
57869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
57870         New file.
57871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57872         New file.
57873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
57874         New file.
57875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
57876         New file.
57877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
57878         New file.
57879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
57880         New file.
57881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
57882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
57883         file.
57884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
57885         New file.
57886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
57887         file.
57888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
57889         file.
57890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
57891         file.
57892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
57893         file.
57894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
57895         file.
57896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57897         New file.
57898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
57899         file.
57900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
57901         file.
57902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
57903         New file.
57904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
57905         file.
57906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
57907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
57908         file.
57909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
57910         New file.
57911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
57912         file.
57913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
57914         file.
57915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
57916         file.
57917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
57918         file.
57919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
57920         file.
57921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57922         New file.
57923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
57924         file.
57925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
57926         file.
57927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
57928         New file.
57929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
57930         file.
57931         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
57932         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
57933         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
57934         file.
57935         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
57936         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
57937         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
57938         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
57939         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
57940         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
57941         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
57942         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
57943         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
57944         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
57945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
57946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
57947         file.
57948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
57949         New file.
57950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
57951         file.
57952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
57953         file.
57954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
57955         file.
57956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
57957         file.
57958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
57959         file.
57960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57961         New file.
57962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
57963         New file.
57964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
57965         file.
57966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
57967         New file.
57968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
57969         file.
57970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
57971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
57972         file.
57973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
57974         New file.
57975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
57976         file.
57977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
57978         file.
57979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
57980         file.
57981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
57982         file.
57983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
57984         file.
57985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57986         New file.
57987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
57988         New file.
57989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
57990         file.
57991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
57992         New file.
57993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
57994         file.
57996 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
57998         * conform/conformtest.pl: Fix typo in handling typed-constant from
57999         allow-header.
58001 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58003         * README: Cut down references to pre-2.6 Linux kernels and
58004         Linuxthreads.  Update lists of configurations in libc and ports
58005         and sort alphabetically.  Say "or newer" with Linux kernel version
58006         requirements.
58008         * config.h.in [IS_IN_build]: Allow compiling without optimization.
58010 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58012         [BZ #887]
58013         * math/libm-test.inc (logb_test_downward): New test to expose
58014         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
58015         rounding mode.
58017 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
58019         [BZ #14027]
58020         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
58021         to be done.
58022         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
58023         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
58025 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
58027         * sysdeps/unix/i386/brk.S: Remove file.
58028         * sysdeps/unix/i386/dl-brk.S: Likewise.
58029         * sysdeps/unix/i386/pipe.S: Likewise.
58030         * sysdeps/unix/i386/sigreturn.S: Likewise.
58031         * sysdeps/unix/i386/syscall.S: Likewise.
58032         * sysdeps/unix/i386/vfork.S: Likewise.
58033         * sysdeps/unix/i386/wait.S: Likewise.
58035         * sysdeps/unix/common/tcsendbrk.c: Move to ...
58036         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
58038         * configure.in (arm*-none*): Do not allow without
58039         --enable-hacker-mode.
58040         (netbsd*): Remove case setting base_os.
58041         (386bsd*): Likewise.
58042         (freebsd*): Likewise.
58043         (bsdi*): Likewise.
58044         (osf*): Likewise.
58045         (sunos*): Likewise.
58046         (ultrix*): Likewise.
58047         (newsos*): Likewise.
58048         (dynix*): Likewise.
58049         (*bsd*): Likewise.
58050         (sysv*): Likewise.
58051         (isc*): Likewise.
58052         (esix*): Likewise.
58053         (sco*): Likewise.
58054         (minix*): Likewise.
58055         (irix4*): Likewise.
58056         (irix6*): Likewise.
58057         (solaris[2-9]*): Likewise.
58058         (none): Likewise.
58059         * configure: Regenerated.
58061 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58063         [BZ #11521]
58064         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
58065         overflow or cancellation in calculating denominator.
58066         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
58067         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
58068         down expression to avoid unexpected rounding in newer GCCs.
58069         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
58071 2012-04-26  David S. Miller  <davem@davemloft.net>
58073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
58074         long-double compat symbols.
58075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
58077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
58079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
58080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
58081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
58082         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
58083         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
58084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
58085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
58086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
58087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58089 2012-04-25  David S. Miller  <davem@davemloft.net>
58091         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
58092         HWCAP_* values only after the memory barriers have been defined.
58093         (atomic_full_barrier): Define.
58094         (atomic_read_barrier): Define.
58095         (atomic_write_barrier): Define.
58097 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58099         * shlib-versions: Add libgcc_s version information.
58100         * sysdeps/generic/libgcc_s.h: Remove.
58101         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
58102         libgcc_s.h.
58103         * sysdeps/gnu/unwind-resume.c: Likewise.
58104         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
58106 2012-04-25  David S. Miller  <davem@davemloft.net>
58108         * sysdeps/unix/sparc/brk.S: Delete.
58109         * sysdeps/unix/sparc/dl-brk.S: Delete.
58110         * sysdeps/unix/sparc/pipe.S: Delete.
58111         * sysdeps/unix/sparc/sysdep.S: Delete.
58112         * sysdeps/unix/sparc/sysdep.h: Delete.
58113         * sysdeps/unix/sparc/vfork.S: Delete.
58114         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
58115         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
58116         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
58117         (ret_ERRVAL, r0, r1, MOVE): Define.
58118         (JUMPTARGET): Remove.
58119         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
58120         sysdeps/unix/sparc/sysdep.h
58121         (ENTRY, END): Remove.
58122         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58124 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
58126         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
58127         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
58128         -DIS_IN_build.
58130         * timezone/README: Update upstream location and email address for
58131         tzcode and tzdata.
58132         * timezone/zdump.c: Update from tzcode 2012b.
58133         * timezone/zic.c: Likewise.
58135         * configure.in (libc_cv_as_needed): Remove test.
58136         * configure: Regenerated.
58137         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
58138         conditional definition.
58139         [$(have-as-needed) != yes] (no-as-needed): Likewise.
58140         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
58141         * config.make.in (have-as-needed): Remove variable.
58143 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58144             Paul Pluzhnikov  <ppluzhnikov@google.com>
58146         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
58147         strings correctly.
58149 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
58151         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
58152         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
58153         * sysdeps/sh/strlen.S: Likewise.
58155 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58157         * sysdeps/unix/fork.S: Remove file.
58158         * sysdeps/unix/i386/fork.S: Likewise.
58159         * sysdeps/unix/sparc/fork.S: Likewise.
58161         * sysdeps/unix/system.c: Remove file.
58162         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
58164         * sysdeps/unix/getegid.S: Remove file.
58165         * sysdeps/unix/geteuid.S: Likewise.
58167 2012-04-24  Roland McGrath  <roland@hack.frob.com>
58169         * scripts/check-localplt.awk: New file.
58170         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
58171         of diff.
58172         * scripts/data/localplt-generic.data: Add a comment.
58174         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
58175         NODE when __dir_mkfile failed.
58176         * sysdeps/mach/hurd/symlinkat.c: Likewise.
58177         Reported by Ludovic Courtès <ludo@gnu.org>.
58179 2012-04-24  Andreas Jaeger  <aj@suse.de>
58181         * Makerules (common-clean): Also remove gen-as-const-headers
58182         files.
58184 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58186         * Makerules (native-compile): Do not change working directory for
58187         build.  Use $(OUTPUT_OPTION) in command.
58188         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
58190 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58192         [BZ #13886]
58193         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
58194         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
58195         * math/libm-test.inc (floor_test): Add more tests.
58196         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
58198 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
58200         * sysdeps/unix/getdents.c: Remove file.
58201         * sysdeps/unix/sysv/getdents.c: Likewise.
58202         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
58204         * sysdeps/unix/syscalls.list (madvise): Add syscall from
58205         sysdeps/unix/mman/syscalls.list.
58206         (mmap): Likewise.
58207         (mprotect): Likewise.
58208         (msync): Likewise.
58209         (munmap): Likewise.
58210         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
58211         * sysdeps/unix/mman/syscalls.list: Remove.
58212         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
58214         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
58215         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
58216         * configure: Regenerated.
58217         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
58218         $(libgcc_s_suffix).
58219         * config.make.in (libgcc_s_suffix): Remove variable.
58221 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
58223         * sysdeps/unix/sysv/gethostname.c: Move to ...
58224         * sysdeps/posix/gethostname.c: ... here.
58226         * sysdeps/unix/execve.S: Remove file.
58228         * sysdeps/unix/_exit.S: Remove file.
58230 2012-04-23  Andreas Jaeger  <aj@suse.de>
58232         [BZ #13739]
58233         * manual/Makefile: Remove make dist support, there's no
58234         need for a stand-alone documentation tar ball.
58235         (TEXI2DVI): Define always, it's not in Makeconfig.
58236         (dist): Removed.
58237         (tar-it): Removed.
58238         (edition): Removed.
58239         (glibc-doc-$(edition).tar): Removed
58240         (%.Z): Removed.
58241         (%.gz): Removed.
58242         (%.uu): Removed.
58243         (ETAGS): Remove, it's in Makeconfig.
58244         (move-if-change): Remove, it's in Makeconfig.
58246 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
58248         [BZ #13970]
58249         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
58250         (strtod, strtof, strtold, strtol, strtoul, strtoq)
58251         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
58252         (strtod_l, strtof_l, strtold_l): Remove __wur.
58253         It is not necessarily an error to ignore strtol's return value.
58254         One can reliably look at the stored endptr to decide whether
58255         the number had valid syntax.
58257 2012-04-21  Andreas Jaeger  <aj@suse.de>
58259         [BZ #13739]
58260         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
58262 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
58264         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
58265         * sysdeps/unix/sysv/Versions: Remove file.
58267 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
58269         [BZ #13927]
58270         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58272 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
58274         [BZ #7064]
58275         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
58276         version from __vm86.
58278 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
58280         * sysdeps/unix/common/lxstat.c: Remove file.
58281         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
58283         * sysdeps/unix/sysv/Makefile: Remove file.
58285         * sysdeps/unix/sysv/direct.h: Remove file.
58287         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
58288         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
58289         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
58290         * sysdeps/unix/sysv/bits/signum.h: Likewise.
58291         * sysdeps/unix/sysv/bits/stat.h: Likewise.
58292         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
58293         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
58295         * sysdeps/unix/sysv/setrlimit.c: Remove file.
58297         * sysdeps/unix/xmknod.c: Remove file.
58298         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
58300         * sysdeps/unix/sysv/settimeofday.c: Remove file.
58302         * sysdeps/unix/sysv/i386/time.S: Remove file.
58304         * sysdeps/unix/fxstat.c: Remove file.
58305         * sysdeps/unix/xstat.c: Likewise.
58306         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
58308         * sysdeps/unix/sysv/sigaction.c: Remove file.
58310         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
58311         (sysdep_headers): Remove variable.
58312         [termio.h not in sysdep_headers] (generated): Likewise.
58313         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
58314         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
58315         * sysdeps/unix/sysv/tcdrain.c: Likewise.
58316         * sysdeps/unix/sysv/tcflow.c: Likewise.
58317         * sysdeps/unix/sysv/tcflush.c: Likewise.
58318         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
58319         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
58320         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
58321         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
58322         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
58324         * sysdeps/unix/siglist.c: Remove file.
58326         * sysdeps/unix/getppid.S: Remove file.
58328         * sysdeps/unix/mkdir.c: Remove file.
58329         * sysdeps/unix/rmdir.c: Likewise.
58331 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
58333         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
58334         ERR_MAX value.
58335         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
58336         errlist-compat value.
58338 2012-04-18  David S. Miller  <davem@davemloft.net>
58340         * sysdeps/generic/memcopy.h (reg_char): Delete.
58341         * debug/strcat_chk.c: Use char, not reg_char.
58342         * debug/strcpy_chk.c: Likewise.
58343         * debug/strncat_chk.c: Likewise.
58344         * debug/strncpy_chk.c: Likewise.
58345         * string/memchr.c: Likewise.
58346         * string/memrchr.c: Likewise.
58347         * string/rawmemchr.c: Likewise.
58348         * string/strcat.c: Likewise.
58349         * string/strchr.c: Likewise.
58350         * string/strchrnul.c: Likewise.
58351         * string/strcmp.c: Likewise.
58352         * string/strcpy.c: Likewise.
58353         * string/strncat.c: Likewise.
58354         * string/strncmp.c: Likewise.
58355         * string/strncpy.c: Likewise.
58357 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58359         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
58360         __builtin_memcopy is called when src and dest ranges are known to not
58361         overlap.
58363 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58365         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
58366         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
58367         fwd_align_merge macro call.
58368         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
58369         bwd_align_merge macro call.
58370         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58372 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
58374         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
58375         bwd_align_merge macros.
58376         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
58377         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
58378         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58380 2012-04-18  David S. Miller  <davem@davemloft.net>
58382         * sysdeps/sparc/sparc64/memcopy.h: Delete.
58384 2012-04-18  Andreas Jaeger  <aj@suse.de>
58386         [BZ# 6794]
58387         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58388         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
58389         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58391         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
58392         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
58393         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58395         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
58396         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
58397         Adjust for changed ldbl-128 files.
58399         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
58400         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
58401         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
58403 2012-04-17  David S. Miller  <davem@davemloft.net>
58405         * sysdeps/sparc/sparc32/memcopy.h: Delete.
58407 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
58409         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
58410         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
58411         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
58412         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
58413         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58414         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
58416 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58418         [BZ #6794]
58419         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
58420         * math/libm-test.inc: Add ilogb errno and exception tests.
58421         * math/w_ilogb.c: New file: ilogb wrapper.
58422         * math/w_ilogbf.c: New file: ilogbf wrapper.
58423         * math/w_ilogbl.c: New file: ilogbl wrapper.
58424         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
58425         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
58426         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
58427         exception being thrown with 0.0 as argument.
58428         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58429         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
58430         exception being thrown with 0.0 as argument.
58431         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
58432         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58433         exception being thrown with 0.0 as argument.
58434         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
58435         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
58436         exception being thrown with 0.0 as argument.
58437         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
58438         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
58439         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
58440         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
58441         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
58442         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
58443         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
58444         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
58445         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
58447 2012-04-17  Petr Baudis  <pasky@ucw.cz>
58449         * include/sys/uio.h: Change __vector to __iovec to avoid clash
58450         with altivec.
58452 2012-04-16  Marek Polacek  <polacek@redhat.com>
58454         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
58456 2012-04-16  Marek Polacek  <polacek@redhat.com>
58458         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
58459         operands of fdivp instruction.
58461 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58463         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
58464         * elf/tst-auditmod3b.c: Likewise.
58465         * elf/tst-auditmod4b.c: Likewise.
58466         * elf/tst-auditmod5b.c: Likewise.
58467         * elf/tst-auditmod6b.c: Likewise.
58468         * elf/tst-auditmod6c.c: Likewise.
58469         * elf/tst-auditmod7b.c: Likewise.
58470         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
58471         * sysdeps/x86_64/preconfigure.in: Likewise.
58472         * sysdeps/x86_64/preconfigure: Regenerated.
58474 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
58476         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
58477         __ILP32__.
58479 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
58481         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58482         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
58484 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
58486         [BZ #13973]
58487         * locale/iso-639.def: Fix gl language name. Spotted by
58488         Yaron Shahrabani.
58490 2012-04-12  Roland McGrath  <roland@hack.frob.com>
58492         [BZ #2074]
58493         * libio/libio.h (__io_write_fn): Update comment.
58495 2012-04-12  Petr Baudis  <pasky@ucw.cz>
58497         [BZ #2074]
58498         * stdio.texi (Hook Functions): The user provided writer function
58499         is not allowed to return -1.
58501 2012-04-11  David S. Miller  <davem@davemloft.net>
58503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58505 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
58507         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
58508         Add a leading slash to rtkaio.
58510 2012-04-11  Jim Meyering  <meyering@redhat.com>
58512         [BZ #11959]
58513         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
58514         It is not necessarily an error to ignore fwrite's return
58515         value.  One can reliably use ferror to test for errors after
58516         the fact.
58518 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58520         * bits/types.h (__snseconds_t): New type.
58521         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
58523         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
58524         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58525         (__SNSECONDS_T_TYPE): Likewise.
58526         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58527         (__SNSECONDS_T_TYPE): Likewise.
58528         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58529         (__SNSECONDS_T_TYPE): Likewise.
58531 2012-04-10  Andreas Jaeger  <aj@suse.de>
58533         [BZ #2636]
58534         * manual/time.texi (Processor Time): Return type of times is
58535         elapsed real time since an arbitrary point in the past.
58536         (CPU Time): Move CLK_TCK from here...
58537         (Processor Time): ...to here.  Correct description.
58538         * manual/conf.texi (Constants for Sysconf): Correct description of
58539         _SC_CLK_TCK.
58541 2012-04-10  David S. Miller  <davem@davemloft.net>
58543         [BZ #13967]
58544         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
58545         where the is a gap between DT_REL(A) and DT_JMPREL.
58547 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
58549         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
58550         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
58551         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
58553 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58555         * elf/dl-support.c (_dl_inhibit_cache): New variable.
58556         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
58557         (dl_main): Handle --inhibit-cache.
58558         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
58559         _dl_inhibit_cache.
58560         * elf/dl-load.c (_dl_map_object): Use it.
58561         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
58563 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
58565         [BZ #13872]
58566         * sysdeps/i386/fpu/e_powl.S (p78): New object.
58567         (__ieee754_powl): Saturate large exponents rather than testing for
58568         overflow of y*log2(x).
58569         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58570         * math/libm-test.inc (pow_test): Do not permit spurious overflow
58571         exceptions.
58573         [BZ #11521]
58574         * math/s_ctan.c: Include <float.h>.
58575         (__ctan): Avoid internal overflow or cancellation in calculating
58576         denominator.
58577         * math/s_ctanf.c: Likewise.
58578         * math/s_ctanl.c: Likewise.
58579         * math/s_ctanh.c: Likewise.
58580         * math/s_ctanhf.c: Likewise.
58581         * math/s_ctanhl.c: Likewise.
58582         * math/libm-test.inc (ctan_test): Add more tests.
58583         (ctanh_test): Likewise.
58584         * sysdeps/i386/fpu/libm-test-ulps: Update.
58585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58587 2012-04-09  Andreas Jaeger  <aj@suse.de>
58589         [BZ #6894]
58590         * manual/filesys.texi (Directory Entries): Mention that d_namlen
58591         is an optional BSD extension.
58593         [BZ #10254]
58594         * manual/stdio.texi (Opening Streams): Document additional fopen
58595         parameters.
58597 2012-04-09  Roland McGrath  <roland@hack.frob.com>
58599         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
58600         %eax without telling the compiler.
58602 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
58604         [BZ # 13963]
58605         * manual/install.texi: Use sourceware.org.
58607 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
58609         [BZ #13873]
58610         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
58611         (__ieee754_pow): Generate overflow and underflow using huge*huge
58612         and tiny*tiny rather than just returning constant infinity or zero
58613         for large exponents.
58614         * math/libm-test.inc (pow_test): Require overflow exceptions for
58615         applicable cases of large exponents.
58617         [BZ #706]
58618         * sysdeps/i386/fpu/e_pow.S (p10): New object.
58619         (__ieee754_pow): Use iterative multiplication algorithm only for
58620         integer exponents with absolute value below 1024.  Check for odd
58621         integer exponents when using algorithm for real exponents.
58622         * math/libm-test.inc (pow_test): Add more tests.
58623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58625 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
58627         [BZ #13705]
58628         * math/libm-test.inc (exp_test): Do not allow overflow exception
58629         on underflow test.
58631 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
58633         [BZ #13705]
58634         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
58635         instead of __kernel_standard_f.
58637 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
58639         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
58640         * sysdeps/x86_64/memset_chk.S: Likewise.
58642 2012-04-08  Andreas Jaeger  <aj@suse.de>
58644         [BZ #10153]
58645         * manual/startup.texi (Environment Access): Describe return value
58646         for putenv and setenv.
58648         [BZ #6895]
58649         * manual/filesys.texi (Directory Entries): Add description for
58650         DT_LNK.
58652         [BZ #6890]
58653         * manual/filesys.texi (Directory Entries): Clarify that it's file
58654         system not operating system in the description of DT_UNKNOWN.
58656         [BZ #6578]
58657         * manual/syslog.texi (closelog): Fix reference, it's openlog.
58659 2012-04-08  Stephen Compall  <s11@member.fsf.org>
58661         [BZ #6649]
58662         * manual/llio.texi (Opening and Closing Files): Add cross
58663         reference to explain mode argument.
58665 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
58667         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
58668         * sysdeps/x86_64/memset_chk.S: Likewise.
58670 2012-04-07  David S. Miller  <davem@davemloft.net>
58672         * elf/elf.h (R_SPARC_WDISP10): Define.
58673         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
58674         R_SPARC_SIZE32.
58675         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
58676         R_SPARC_SIZE64 and R_SPARC_H34.
58678 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
58680         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
58681         conditions and remove no longer applicable assertion.
58683 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
58685         * bits/byteswap.h: Include <features.h>.
58686         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
58687         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
58689 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
58691         * bits/byteswap.h (__bswap_16): Removed.
58692         Include <bits/byteswap-16.h> to get __bswap_16.
58693         * sysdeps/i386/bits/byteswap.h: Likewise.
58694         * sysdeps/s390/bits/byteswap.h: Likewise.
58695         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58696         * bits/byteswap-16.h: New file.
58697         * sysdeps/i386/bits/byteswap-16.h: Likewise.
58698         * sysdeps/s390/bits/byteswap-16.h: Likewise.
58699         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
58700         * string/Makefile (headers): Add bits/byteswap-16.h.
58702 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58704         [BZ #13895]
58705         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
58706         extra indirection.
58707         * nss/Makefile (tests-static, tests): Add tst-nss-static.
58708         * nss/tst-nss-static.c: New.
58710 2012-04-06  Robert Millan  <rmh@gnu.org>
58712         [BZ #6486]
58713         * manual/llio.texi (File Position Primitive): lseek
58714         refers to WHENCE when it really means OFFSET.
58716 2012-04-06  Andreas Jaeger  <aj@suse.de>
58718         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
58719         strncmp declarations.
58721         * abilist/libc.abilist: Add __poll and __ppoll.
58723 2012-04-05  David S. Miller  <davem@davemloft.net>
58725         * scripts/check-local-headers.sh: Accept a host triplet in the
58726         path matched by the exclude regexp.
58728         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
58729         definition.
58730         * sysdeps/powerpc/powerpc32/dl-machine.h
58731         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
58732         * sysdeps/s390/s390-32/dl-machine.h
58733         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58734         * sysdeps/sparc/sparc32/dl-machine.h
58735         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58736         * sysdeps/sparc/sparc64/dl-machine.h
58737         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
58739         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
58740         lazy binding.
58741         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
58742         undefined symbol errors.
58744         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
58745         DT_NEEDED entries.
58747 2012-04-05  Michael Matz  <matz@suse.de>
58749         [BZ #13592]
58750         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
58752 2012-04-05  Andreas Jaeger  <aj@suse.de>
58754         [BZ #13908]
58755         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
58756         comment.
58758 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58760         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
58761         which ROUND is no valid rounding mode.
58763 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58765         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
58766         read again.
58767         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
58769 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58771         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
58772         an exception using FPU order intentionally.
58774 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58776         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
58777         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
58778         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
58779         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
58781 2012-04-05  Simon Josefsson  <simon@josefsson.org>
58783         [BZ #12340]
58784         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
58785         EINVAL when BUFLEN is too smal.
58787 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
58789         [BZ #13553]
58790         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
58791         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
58793 2012-04-03  Andreas Jaeger  <aj@suse.de>
58795         [BZ #13938]
58796         * manual/setjmp.texi (System V contexts): Fix sentence.
58798         [BZ #13926]
58799         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
58800         New macro for this case.
58801         [!__GNUC__] (__bswap_64): New inline function for this case.
58802         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58803         * bits/byteswap.h: Likewise.
58804         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
58805         ull, guard with __GLIBC_HAVE_LONG_LONG.
58807         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
58808         __GLIBC_HAVE_LONG_LONG.
58810         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
58811         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
58813 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58815         [BZ #13691]
58816         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
58817         inptr and inend, rather than using last_ch.
58819 2012-04-02  David S. Miller  <davem@davemloft.net>
58821         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
58822         * stdio-common/printf-parse.h (read_int): Change return type to
58823         'int', return -1 on INT_MAX overflow.
58824         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
58825         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
58826         overflows INT_MAX.  Check for overflow of in-format-string precision
58827         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
58828         SIZE_MAX not INT_MAX for integer overflow test.
58829         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
58830         skip the construct in the format string but do not record anything.
58831         * stdio-common/bug22.c: Adjust to test both width/prevision
58832         INT_MAX overflow as well as total length INT_MAX overflow.  Check
58833         explicitly for proper errno values.
58835 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
58837         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
58838         CHAR_MAX.
58839         * string/test-strcmp.c [! WIDE]: Likewise.
58840         * time/tst-mktime2.c: Likewise for INT_MAX.
58841         * string/test-string.h: #include <sys/param.h> for MIN.
58843         * csu/init-first.c (__libc_init_first): Call __ctype_init.
58844         * sysdeps/i386/init-first.c (init): Likewise.
58845         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
58846         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
58847         * sysdeps/sh/init-first.c (init): Likewise.
58849 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
58851         * po/ru.po: Update from translation team.
58852         * po/vi.po: Likewise.
58854 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58856         * resolv/nss_dns/dns-host.c: Merge copyright years.
58858 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58860         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58861         Optimize memcpy with prefetch if
58862         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
58863         src, dst pointers have unequal 16 byte alignments.
58865 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58867         [BZ #13928]
58868         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
58869         from a CNAME entry and return the minimum ttl for the query.
58870         (gaih_getanswer_slice): Likewise.
58872 2012-03-30  Jeff Law  <law@redhat.com>
58874         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
58875         due to long keys.
58876         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
58877         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
58879         * resolv/nss_dns/dns-host.c: Update copyright year.
58881 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
58883         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
58884         requests to save a system call.  Fix check that all bytes are sent.
58886         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
58887         comments for sendmmsg.
58889 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58891         [BZ #13691]
58892         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
58893         with only 1 character between 0x0041 and 0x01b0.
58894         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
58895         * wcsmbs/tst-mbsnrtowcs.c: New file.
58897 2012-03-29  David S. Miller  <davem@davemloft.net>
58899         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
58900         small copies by hand.
58902 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58904         [BZ #13761]
58905         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
58906         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
58907         group memberships.
58909 2012-03-28  David S. Miller  <davem@davemloft.net>
58911         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
58912         that branches into memcpy.
58913         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58914         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
58915         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
58916         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
58917         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
58918         bits.
58919         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
58920         implementation too.
58921         * sysdeps/sparc/mempcpy.S: New file.
58923         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
58924         the IFUNC routine in the libc case.
58925         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58927         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
58928         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
58929         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
58930         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
58931         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
58932         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
58933         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
58934         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
58936         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
58937         loop to 256 bytes instead of 64 bytes and fix test signedness.
58939         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
58940         * sysdeps/sparc/sparc32/Makefile: rather than here...
58941         * sysdeps/sparc/sparc64/Makefile: and here.
58943 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
58945         * malloc/mallocbug.c: Avoid warnings about unused variables.
58947 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58949         [BZ #13760]
58950         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
58951         in the right place. Discard and retry query if response is
58952         larger than input buffer size.
58954 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
58956         [BZ #369]
58957         [BZ #2678]
58958         [BZ #3866]
58959         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
58960         x for large integer exponent.
58961         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58962         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
58963         sign of result as needed afterwards.
58964         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58965         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
58966         result for underflowing pow the same as for overflow.
58967         (__kernel_standard_l): Handle powl overflow and underflow here
58968         rather than calling __kernel_standard.
58969         * math/libm-test.inc (pow_test): Add more tests.
58971         [BZ #3868]
58972         [BZ #13879]
58973         [BZ #13910]
58974         [BZ #13911]
58975         [BZ #13912]
58976         [BZ #13913]
58977         [BZ #13915]
58978         [BZ #13916]
58979         [BZ #13917]
58980         [BZ #13918]
58981         [BZ #13919]
58982         [BZ #13920]
58983         [BZ #13921]
58984         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
58985         * sysdeps/ieee754/k_standard.c: Include <float.h>.
58986         (__kernel_standard_l): New function.
58987         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
58988         __kernel_standard.
58989         * math/w_acosl.c (__acosl): Likewise.
58990         * math/w_asinl.c (__asinl): Likewise.
58991         * math/w_atan2l.c (__atan2l): Likewise.
58992         * math/w_atanhl.c (__atanhl): Likewise.
58993         * math/w_coshl.c (__coshl): Likewise.
58994         * math/w_exp10l.c (__exp10l): Likewise.
58995         * math/w_exp2l.c (__exp2l): Likewise.
58996         * math/w_fmodl.c (__fmodl): Likewise.
58997         * math/w_hypotl.c (__hypotl): Likewise.
58998         * math/w_j0l.c (__j0l, __y0l): Likewise.
58999         * math/w_j1l.c (__j1l, __y1l): Likewise.
59000         * math/w_jnl.c (__jnl, __ynl): Likewise.
59001         * math/w_lgammal.c (__lgammal): Likewise.
59002         * math/w_log10l.c (__log10l): Likewise.
59003         * math/w_log2l.c (__log2l): Likewise.
59004         * math/w_logl.c (__logl): Likewise.
59005         * math/w_powl.c (__powl): Likewise.
59006         * math/w_remainderl.c (__remainderl): Likewise.
59007         * math/w_scalbl.c (sysv_scalbl): Likewise.
59008         * math/w_sinhl.c (__sinhl): Likewise.
59009         * math/w_sqrtl.c (__sqrtl): Likewise.
59010         * math/w_tgammal.c (__tgammal): Likewise.
59011         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
59012         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
59013         * math/libm-test.inc (acos_test): Add more tests.
59014         (acosh_test): Likewise.
59015         (asin_test): Likewise.
59016         (atanh_test): Likewise.
59017         (exp_test): Likewise.
59018         (exp10_test): Likewise.
59019         (exp2_test): Likewise.
59020         (expm1_test): Likewise.
59021         (lgamma_test): Likewise.
59022         (log_test): Likewise.
59023         (log10_test): Likewise.
59024         (log1p_test): Likewise.
59025         (log2_test): Likewise.
59026         (pow_test): Do not allow some spurious overflow exceptions.
59027         (sqrt_test): Add more tests.
59028         (tgamma_test): Likewise.
59029         (y0_test): Likewise.
59030         (y1_test): Likewise.
59031         (yn_test): Likewise.
59033 2012-03-27  Anton Blanchard  <anton@samba.org>
59035         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
59036         MAP_HUGETLB.
59037         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59038         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59039         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59041 2012-03-27  David S. Miller  <davem@davemloft.net>
59043         * conform/Makefile: Run run-conformtest.sh using $(BASH).
59045         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
59046         have-as-vis3 check.
59048 2012-03-27  Andreas Jaeger  <aj@suse.de>
59050         * sysdeps/x86_64/elf/configure.in: Moved to ...
59051         * sysdeps/x86_64/configure.in: ... here.
59052         * sysdeps/x86_64/elf/start.S: Moved to ...
59053         * sysdeps/x86_64/start.S: ... here.
59054         * sysdeps/x86_64/elf/configure: Delete.
59056         * sysdeps/x86_64/configure.in: Merge contents from
59057         sysdeps/i386/configure.in (without i686 check).
59059         * sysdeps/i386/elf/Versions: Merge into ...
59060         * sysdeps/i386/Versions: ... this.
59061         * sysdeps/i386/elf/Versions: Delete file.
59062         * sysdeps/i386/elf/start.S: Moved to ...
59063         * sysdeps/i386/start.S: ...here.
59064         * sysdeps/i386/elf/configure.in: Merge into...
59065         * sysdeps/i386/configure.in: ...here.
59066         * sysdeps/i386/elf/configure.in: Delete file.
59067         * sysdeps/i386/elf/configure: Delete file.
59069         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
59070         * debug/backtracesyms.c: ... here.
59071         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
59072         * debug/backtracesymsfd.c: ... here.
59073         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
59074         * sysdeps/generic/ifunc-sel.h: ... here.
59076         * sysdeps/unix/i386/start.c: Delete file.
59077         * sysdeps/unix/sparc/start.c: Delete file.
59078         * sysdeps/unix/start.c: Delete file.
59080         * sysdeps/sh/elf/configure.in: Moved to ...
59081         * sysdeps/sh/configure.in: ... here.
59082         * sysdeps/sh/elf/start.S: Moved to ...
59083         * sysdeps/sh/start.S: ... here.
59084         * sysdeps/sh/elf/configure: Delete file.
59086         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
59087         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
59088         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
59089         * sysdeps/powerpc/powerpc64/entry.h: ... here.
59090         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
59091         * sysdeps/powerpc/powerpc64/start.S: here.
59092         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
59093         * sysdeps/powerpc/powerpc64/Makefile: ... this.
59094         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
59095         * sysdeps/powerpc/powerpc64/configure.in: ... this.
59096         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
59098         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
59099         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
59100         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
59101         * sysdeps/powerpc/powerpc32/start.S: ... here.
59102         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
59103         * sysdeps/powerpc/powerpc32/configure.in: ... this.
59104         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
59106         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
59107         * sysdeps/powerpc/ifunc-sel.h: ... here.
59108         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
59109         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
59111         * sysdeps/sparc/elf/configure.in: Moved to ...
59112         * sysdeps/sparc/configure.in: ... here.
59113         * sysdeps/sparc/elf/configure: Delete file.
59114         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
59115         * sysdeps/sparc/sparc32/start.S: ... here.
59116         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
59117         * sysdeps/sparc/sparc64/start.S: ... here.
59118         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
59119         * sysdeps/sparc/sparc32/Makefile: ... this.
59120         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
59121         * sysdeps/sparc/sparc64/Makefile: ... this.
59123         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
59124         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
59125         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
59126         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
59127         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
59128         * sysdeps/s390/s390-32/setjmp.S: ... here.
59129         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
59130         * sysdeps/s390/s390-32/configure.in: ... here.
59131         * sysdeps/s390/s390-32/elf/configure: Delete file.
59132         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
59133         * sysdeps/s390/s390-32/start.S: ... here.
59135         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
59136         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
59137         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
59138         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
59139         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
59140         * sysdeps/s390/s390-64/setjmp.S: ... here.
59141         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
59142         * sysdeps/s390/s390-64/configure.in: ... here
59143         * sysdeps/s390/s390-64/elf/configure: Delete file.
59144         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
59145         * sysdeps/s390/s390-64/start.S: ... here.
59146         * sysdeps/s390/s390-64/elf/configure: Delete.
59148         * configure.in: Remove support for elf directories in sysdeps.
59150         * configure: Regenerated.
59151         * sysdeps/i386/configure: Regenerated.
59152         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59153         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59154         * sysdeps/s390/s390-32/configure: Regenerated.
59155         * sysdeps/s390/s390-64/configure: Regenerated.
59156         * sysdeps/sh/configure: Regenerated.
59157         * sysdeps/sparc/configure: Regenerated.
59158         * sysdeps/x86_64/configure: Regenerated.
59160 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
59162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59164         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
59165         denormal result into account.
59167 2012-03-25  Roland McGrath  <roland@hack.frob.com>
59169         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
59170         Reported by Allan McRae <allan@archlinux.org>.
59172 2012-03-23  Jeff Law  <law@redhat.com>
59174         * nss/getnssent.c (__nss_getent): Fix typo.
59176 2012-03-23  David S. Miller  <davem@davemloft.net>
59178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59180 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
59182         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
59183         to pad to uint64_t for each field.
59184         (dl_tls_index): Replace unsigned long with uint64_t.
59186 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
59187         Paul Pluzhnikov  <ppluzhnikov@google.com>
59189         [BZ #6528]
59190         * grp/Makefile (otherlibs): Don't set it.
59191         * inet/Makefile (otherlibs): Likewise.
59192         * login/Makefile (otherlibs): Likewise.
59193         * nscd/Makefile (otherlibs): Likewise.
59194         * posix/Makefile (otherlibs): Likewise.
59195         * pwd/Makefile (otherlibs): Likewise.
59196         * rt/Makefile (otherlibs): Likewise.
59197         * sunrpc/Makefile (otherlibs): Likewise.
59198         * nss/Makefile (otherlibs): Likewise.
59199         Add libnss_files to routines and static-only-routines.
59200         ($(objpfx)getent): Remove rule.
59201         * resolv/Makefile: Add libnss_dns and libresolv to routines and
59202         static-only-routines.
59204 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59206         [BZ #13892]
59207         * math/s_cexp.c: Include <float.h>.
59208         (__cexp): Handle exp result overflowing not necessarily
59209         overflowing both real and imaginary parts of result.
59210         * math/s_cexpf.c: Likewise.
59211         * math/s_cexpl.c: Likewise.
59212         * math/libm-test.inc (cexp_test): Add more tests.
59213         * sysdeps/i386/fpu/libm-test-ulps: Update.
59214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59216 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59218         * include/link.h (ELFW): New macro.
59219         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
59220         Replace ELF64_R_TYPE with ELFW(R_TYPE).
59222 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59224         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
59225         with uint64_t.
59227 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59229         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
59230         declaration.
59231         (struct La_x32_retval): Likewise.
59233 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
59235         * sysdeps/x86_64/preconfigure.in: New file.
59236         * sysdeps/x86_64/preconfigure: New generated file.
59238 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
59240         [BZ #13824]
59241         * math/e_exp2l.c: Include <float.h>.
59242         (__ieee754_exp2l): Handle overflow and underflow cases
59243         separately.  Only pass fractional part of argument to
59244         __ieee754_expl.
59245         * math/libm-test.inc (exp2_test): Add more tests.
59247         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
59248         negating x to take absolute value.
59249         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
59250         Likewise.
59251         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
59252         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
59253         Likewise.
59254         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
59255         computing low part if x was negated.
59256         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
59258 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59260         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
59261         la_x32_gnu_pltexit.
59262         (pltexit): Cast int_retval to ptrdiff_t.
59263         * elf/tst-auditmod3b.c: Likewise.
59264         * elf/tst-auditmod4b.c: Likewise.
59265         * elf/tst-auditmod5b.c: Likewise.
59266         * elf/tst-auditmod6b.c: Likewise.
59267         * elf/tst-auditmod6c.c: Likewise.
59268         * elf/tst-auditmod7b.c: Likewise.
59270         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
59271         and x32_gnu_pltexit.
59273         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
59274         __ELF_NATIVE_CLASS.
59275         (La_x32_regs): New macro.
59276         (La_x32_retval): Likewise.
59277         (la_x32_gnu_pltenter): New function prototype.
59278         (la_x32_gnu_pltexit): Likewise.
59280 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
59282         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
59283         exponent.
59285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59287         * configure.in (libc_cv_cc_nofma): Check for option to disable
59288         generation of FMA instructions.
59289         * configure: Regenerate.
59290         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
59291         * sysdeps/ieee754/dbl-64/Makefile: New file.
59292         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
59293         Remove brandred-fma4.
59294         (CFLAGS-brandred-fma4.c): Remove.
59295         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
59296         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
59297         define.
59298         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
59299         define.
59301 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59303         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
59304         LLONG_MAX != LONG_MAX.
59305         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59306         (_fitoa_word): Likewise.
59307         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
59308         LLONG_MAX != LONG_MAX.
59309         * stdio-common/_itowa.h: Include <_itoa.h>.
59310         (_itowa_word): Use _ITOA_WORD_TYPE on value.
59311         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
59312         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
59313         only if not defined.
59314         (_ITOA_WORD_TYPE): Likewise.
59315         (_itoa_word): Use _ITOA_WORD_TYPE on value.
59316         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
59318 2012-03-21  David S. Miller  <davem@davemloft.net>
59320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59322 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
59324         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
59325         of x86_64 when setting libc_cv_slibdir, libdir and
59326         libc_cv_localedir.
59327         * sysdeps/unix/sysv/linux/configure: Regenerated.
59329 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59331         * manual/lang.texi (Old Varargs): Remove section.
59332         (How Variadic): Update menu.
59333         (va_start): Do not mention varargs.h.
59335 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59336             Joseph Myers  <joseph@codesourcery.com>
59338         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
59339         link test.
59340         * configure: Regenerated.
59342 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59344         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
59345         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
59346         conformtest.pl
59348 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59350         * NOTES: Remove.
59351         * Makefile (files-for-dist): Remove NOTES.
59352         (NOTES): Remove rule.
59353         * README: Don't refer to NOTES.
59354         * manual/creature.texi: Don't include macros.texi.
59355         * manual/intro.texi (creature.texi): Remove comment referring to
59356         NOTES.
59358         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
59359         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
59360         * configure: Regenerated.
59361         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
59362         LIBC_TRY_CC_OPTION.
59363         (libc_cv_as_i686): Likewise.
59364         (libc_cv_cc_avx): Likewise.
59365         (libc_cv_cc_sse2avx): Likewise.
59366         (libc_cv_cc_fma4): Likewise.
59367         (libc_cv_cc_novzeroupper): Likewise.
59368         * sysdeps/i386/configure: Regenerated.
59370         [BZ #13883]
59371         * sysdeps/i386/fpu/s_cexp.S: Remove.
59372         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59373         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59374         * math/libm-test.inc (cexp_test): Add more tests.
59375         * sysdeps/i386/fpu/libm-test-ulps: Update.
59376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59378 2012-03-21  Allan McRae  <allan@archlinux.org>
59380         * timezone/Makefile: Do not install iso3166.tab and zone.tab
59382 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
59384         [BZ #13871]
59385         * math/w_exp2.c: Do not include <float.h>.
59386         (o_threshold, u_threshold): Remove.
59387         (__exp2): Calculate result before checking finiteness and calling
59388         __kernel_standard.
59389         * math/w_exp2f.c: Likewise.
59390         * math/w_exp2l.c: Likewise.
59391         * math/libm-test.inc (exp2_test): Require overflow exception for
59392         1e6 input.
59394         [BZ #3866]
59395         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
59396         range of signed 64-bit integers before using fistpll.  Remove
59397         checks for whether integers fit in mantissa bits.
59398         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
59399         the range of signed 32-bit integers before using fistpl.  Remove
59400         checks for whether integers fit in mantissa bits.
59401         * sysdeps/i386/fpu/e_powl.S (p64): New object.
59402         (__ieee754_powl): Test for y outside the range of signed 64-bit
59403         integers before using fistpll.  Reduce 64-bit values to 63-bit
59404         ones as needed.
59405         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
59406         divide-by-zero is raised for zero to large negative powers.
59407         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
59408         (__ieee754_powl): Test for y outside the range of signed 64-bit
59409         integers before using fistpll.  Reduce 64-bit values to 63-bit
59410         ones as needed.
59411         * math/libm-test.inc (pow_test): Add more tests.
59413 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59415         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
59416         <stdio-common/_itoa.h>.
59417         * debug/segfault.c: Likewise.
59418         * elf/dl-cache.c: Likewise.
59419         * elf/dl-minimal.c: Likewise.
59420         * elf/dl-misc.c: Likewise.
59421         * elf/dl-sysdep.c: Likewise.
59422         * elf/dl-version.c: Likewise.
59423         * elf/rtld.c: Likewise.
59424         * hurd/hurdsock.c: Likewise.
59425         * hurd/lookup-retry.c: Likewise.
59426         * malloc/malloc.c: Likewise.
59427         * malloc/mtrace.c: Likewise.
59428         * nscd/nscd_getgr_r.c: Likewise.
59429         * nscd/nscd_getpw_r.c: Likewise.
59430         * nscd/nscd_getserv_r.c: Likewise.
59431         * posix/getopt_init.c: Likewise.
59432         * posix/wordexp.c: Likewise.
59433         * stdio-common/_itoa.c: Likewise.
59434         * stdio-common/printf_fphex.c: Likewise.
59435         * stdio-common/vfprintf.c: Likewise.
59436         * string/_strerror.c: Likewise.
59437         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
59438         * sysdeps/i386/i686/hp-timing.h: Likewise.
59439         * sysdeps/mach/_strerror.c: Likewise.
59440         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
59441         * sysdeps/mach/hurd/sethostid.c: Likewise.
59442         * sysdeps/mach/hurd/xmknodat.c: Likewise.
59443         * sysdeps/mach/xpg-strerror.c: Likewise.
59444         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59445         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59446         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
59447         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
59448         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59449         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
59450         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
59451         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
59452         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
59453         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
59454         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
59455         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
59456         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
59457         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59458         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59459         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
59460         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
59461         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
59462         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
59463         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
59464         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
59466         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
59468         * stdio-common/_itoa.h: Moved to ...
59469         * sysdeps/generic/_itoa.h: Here.
59471         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
59473         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
59474         instead of "_itoa.h" and "_itowa.h".
59475         * stdio-common/vfprintf.: Likewise.
59477 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59479         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
59480         <bits/wordsize.h>.
59481         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
59482         (__signbit): Likwise.
59483         (llrintf): Likwise.
59484         (llrint): Likwise.
59486 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59488         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
59489         __WORDSIZE != 64.
59491 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
59493         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
59494         OVERFLOW_EXCEPTION_OK.
59495         * math/libm-test.inc ("Philosophy"): Update comment about
59496         exception testing.
59497         (OVERFLOW_EXCEPTION): Define.
59498         (OVERFLOW_EXCEPTION_OK): Likewise.
59499         (INVALID_EXCEPTION_OK): Renumber.
59500         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59501         (IGNORE_ZERO_INF_SIGN): Likewise.
59502         (test_exceptions): Handle FE_OVERFLOW.
59503         (exp10_test): Expect overflow exceptions.
59504         (exp2_test): Likewise.
59505         (expm1_test): Likewise.
59506         (nextafter_test): Likewise.
59507         (pow_test): Likewise.
59508         (scalbn_test): Likewise.
59509         (scalbln_test): Likewise.
59511 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59513         * sysdeps/x86_64/bits/atomic.h
59514         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
59515         64bit integer.
59516         (atomic_exchange_acq): Likewise.
59517         (__arch_exchange_and_add_body): Likewise.
59518         (__arch_add_body): Likewise.
59519         (atomic_add_negative): Likewise.
59520         (atomic_add_zero): Likewise.
59522 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59524         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
59525         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
59527 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59529         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
59530         Check __x86_64__ instead of __WORDSIZE.
59532 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59534         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
59536 2012-03-19  David S. Miller  <davem@davemloft.net>
59538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59540         * sysdeps/sparc/fpu/fenv_private.h: New file.
59541         * sysdeps/sparc/fpu/math_private.h: Use it.
59542         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
59543         Remove.
59544         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
59545         (libc_feholdexcept_setroundl): Remove.
59546         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
59547         Remove.
59548         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
59549         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
59551 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59553         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
59554         int64_t instead of long int.
59555         (INSERT_WORDS64): Likwise.
59557 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
59559         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
59560         _Unwind_GetCFA return to _Unwind_Ptr first.
59562 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
59564         [BZ #13629]
59565         * math/s_clog.c: Include <float.h>.
59566         (__clog): Scale large or subnormal inputs.
59567         * math/s_clogf.c: Likewise.
59568         * math/s_clogl.c: Likewise.
59569         * math/s_clog10.c: Include <float.h>.
59570         (M_LOG10_2): Define.
59571         (__clog10): Scale large or subnormal inputs.
59572         * math/s_clog10f.c: Likewise.
59573         * math/s_clog10l.c: Likewise.
59574         * math/libm-test.inc (clog_test): Add more tests.
59575         (clog10_test): Likewise.
59576         * sysdeps/i386/fpu/libm-test-ulps: Update.
59577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59579         [BZ #11451]
59580         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
59581         x and y.
59582         * math/libm-test.inc (atan2_test): Add another test.
59584         * Makerules (common-objdir-compile): Remove.
59585         * sysdeps/unix/Makefile (config-generated): Do not add
59586         $(unix-generated) to variable.
59587         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
59588         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
59589         Remove rule.
59590         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
59591         Likewise.
59592         [generic bits/local_lim.h] (before-compile): Do not append to
59593         variable.
59594         [generic bits/local_lim.h] (common-generated): Likewise.
59595         [generic sys/param.h] (before-compile): Do not append to variable.
59596         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
59597         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
59598         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
59599         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
59600         include.
59601         [generic sys/param.h] (sys/param.h-includes): Remove variable.
59602         [generic sys/param.h] (sys/param.h-includes): Remove rule.
59603         [generic sys/param.h] ($(addprefix
59604         $(common-objpfx),$(sys/param.h-includes))): Likewise.
59605         [generic sys/param.h] (common-generated): Do not append to
59606         variable.
59607         [generic sys/param.h] (sysdep_headers): Likewise.
59608         [generic bits/errno.h] (before-compile): Do not append to
59609         variable.
59610         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
59611         rule.
59612         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
59613         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
59614         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
59615         [generic bits/errno.h] (common-generated): Do not append to
59616         variable.
59617         [generic bits/ioctls.h] (before-compile): Do not append to
59618         variable.
59619         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
59620         rule.
59621         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
59622         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
59623         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
59624         rule.
59625         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
59626         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
59627         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
59628         [generic bits/ioctls.h] (common-generated): Do not append to
59629         variable.
59630         [generic sys/syscall.h] (syscall.h): Remove variable.
59631         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
59632         rule.
59633         [generic sys/syscall.h] (before-compile): Do not append to
59634         variable.
59635         [generic sys/syscall.h] (common-generated): Likewise.
59636         * sysdeps/unix/errnos-tmpl.c: Remove file.
59637         * sysdeps/unix/errnos.awk: Likewise.
59638         * sysdeps/unix/ioctls-tmpl.c: Likewise.
59639         * sysdeps/unix/ioctls.awk: Likewise.
59640         * sysdeps/unix/mk-local_lim.c: Likewise.
59641         * sysdeps/unix/snarf-ioctls: Likewise.
59643 2012-03-19  Richard Henderson  <rth@twiddle.net>
59645         * sysdeps/i386/fpu/fenv_private.h: New file.
59646         * sysdeps/i386/fpu/math_private.h: Use it.
59647         (math_opt_barrier, math_force_eval): Remove.
59648         (libc_feholdexcept_setround_53bit): Remove.
59649         (libc_feupdateenv_53bit): Remove.
59650         * sysdeps/x86_64/fpu/math_private.h: Likewise.
59651         (math_opt_barrier, math_force_eval): Remove.
59652         (libc_feholdexcept): Remove.
59653         (libc_feholdexcept_setround): Remove.
59654         (libc_fetestexcept, libc_fesetenv): Remove.
59655         (libc_feupdateenv_test): Remove.
59656         (libc_feupdateenv, libc_feholdsetround): Remove.
59657         (libc_feresetround): Remove.
59659         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
59660         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
59662         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
59663         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
59664         (libc_feupdateenv_testl): New.
59665         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
59666         (libc_feupdateenv_testf): New.
59667         (libc_feupdateenv): Use libc_feupdateenv_test.
59668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
59669         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
59671         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
59672         (libc_feholdsetroundf, libc_feholdsetroundl): New.
59673         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
59674         (libc_feresetround_noex): New.
59675         (libc_feresetround_noexf): New.
59676         (libc_feresetround_noexl): New.
59677         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
59678         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
59679         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
59680         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
59681         SET_RESTORE_ROUND.
59682         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
59683         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
59684         (__cos): Likewise.
59685         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
59686         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
59687         SET_RESTORE_ROUND_NOEX.
59688         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
59689         SET_RESTORE_ROUND_NOEXF.
59690         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
59691         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
59692         (libc_feholdsetroundf): New.
59693         (libc_feresetround, libc_feresetroundf): New.
59695         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
59696         (libc_feholdexcept_setround_53bit): Convert from macro to function.
59697         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
59699         * sysdeps/generic/math_private.h: Include <fenv.h>.
59700         (default_libc_feholdexcept): New.
59701         (default_libc_feholdexcept_setround): New.
59702         (default_libc_fesetenv, default_libc_feupdateenv): New.
59703         (libc_feholdexcept): Only define if undefined.
59704         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
59705         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
59706         (libc_feholdexcept_setroundl): Likewise.
59707         (libc_feholdexcept_setround_53bit): Likewise.
59708         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
59709         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
59710         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
59711         (libc_feupdateenv_53bit): Likewise.
59712         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
59713         (libc_feholdexcept): Convert from macro to inline function.
59714         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
59715         (libc_fesetenv, libc_feupdateenv): Likewise.
59717         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
59718         not previously defined.
59719         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
59720         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
59721         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
59722         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
59723         * sysdeps/ieee754/flt-32/math_private.h: New file.
59724         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
59725         math_private.h below SET_FLOAT_WORD.
59726         (__isnan, __isinf_ns, __finite): Remove.
59727         (__isnanf, __isinf_nsf, __finitef): Remove.
59729 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
59731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59733 2012-03-17  David S. Miller  <davem@davemloft.net>
59735         [BZ #6471]
59736         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
59737         for 2.16.
59739 2012-03-16  David S. Miller  <davem@davemloft.net>
59741         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
59742         warnings.
59744         [BZ #6471]
59745         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
59746         properly.
59747         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
59748         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
59749         sysdep_routines when subdir is sysvipc.
59750         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
59751         __getshmlba helper.
59753         * sysdeps/sparc/fpu/libm-test/ulps: Update.
59755 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59757         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
59758         [__LP64__].
59760 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59762         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
59763         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
59764         (__lround): Renamed to ...
59765         (__llround): This.  Replace long int with long long int.
59766         Define lround functions as aliases of llround functions.
59767         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
59769 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59771         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
59772         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
59773         adresses to uintptr_t.  Replace "long int" and "unsigned long
59774         int" with "greg_t" on va_arg.
59776 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59778         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
59779         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
59781         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
59782         Move e_machine check before EI_CLASS check.  Handle x32
59783         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
59784         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
59785         SKIP_EM_IA_64 and include
59786         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
59788         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
59789         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
59790         (add_system_dir): New macro.
59792         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
59793         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
59795 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
59797         [BZ #2551]
59798         [BZ #2552]
59799         [BZ #2553]
59800         [BZ #2554]
59801         [BZ #2562]
59802         [BZ #2563]
59803         [BZ #2565]
59804         [BZ #2566]
59805         [BZ #2576]
59806         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
59807         (y0): Likewise.
59808         * math/w_j0f.c (j0f): Likewise.
59809         (y0f): Likewise.
59810         * math/w_j0l.c (__j0l): Likewise.
59811         (__y0l): Likewise.
59812         * math/w_j1.c (j1): Likewise.
59813         (y1): Likewise.
59814         * math/w_j1f.c (j1f): Likewise.
59815         (y1f): Likewise.
59816         * math/w_j1l.c (__j1l): Likewise.
59817         (__y1l): Likewise.
59818         * math/w_jn.c (jn): Likewise.
59819         (yn): Likewise.
59820         * math/w_jnf.c (jnf): Likewise.
59821         (ynf): Likewise.
59822         * math/w_jnl.c (__jnl): Likewise.
59823         (__ynl): Likewise.
59824         * math/libm-test.inc (j0_test): Add more tests.
59825         (j1_test): Likewise.
59826         (jn_test): Likewise.  Add trailing semicolon to existing test.
59827         (y0_test): Likewise.
59828         (y1_test): Likewise.
59829         * sysdeps/i386/fpu/libm-test-ulps: Update.
59830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59832         [BZ #13851]
59833         [BZ #13854]
59834         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
59835         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
59836         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
59837         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
59838         (__tanl): Set errno for infinite argument.
59839         * sysdeps/i386/fpu/mptan.c: Remove.
59840         * sysdeps/i386/fpu/s_tan.S: Likewise.
59841         * sysdeps/i386/fpu/s_tanl.S: Likewise.
59842         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
59843         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
59844         * math/libm-test.inc (tan_test): Add more tests and enable more
59845         tests for double and long double.
59846         * sysdeps/i386/fpu/libm-test-ulps: Update.
59847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59849 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
59851         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
59852         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
59854 2012-03-16  Roland McGrath  <roland@hack.frob.com>
59856         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
59857         * configure.in: Use it for both main tree and add-ons.
59858         * configure: Regenerated.
59860 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
59862         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
59864 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
59866         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
59867         in comment.
59869         [BZ #13851]
59870         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
59871         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
59872         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
59873         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
59874         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
59875         infinite argument.
59876         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
59877         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
59878         != 0 for prec == 2.
59879         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
59880         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
59881         * sysdeps/i386/fpu/s_cosl.S: Likewise.
59882         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
59883         * sysdeps/i386/fpu/s_sinl.S: Likewise.
59884         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
59885         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
59886         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
59887         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
59888         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
59889         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
59890         * math/libm-test.inc (cos_test): Add more tests and enable more
59891         tests for long double.
59892         (sin_test): Likewise.
59893         (sincos_test): Likewise.
59894         * sysdeps/i386/fpu/libm-test-ulps: Update.
59895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59897 2012-03-16  David S. Miller  <davem@davemloft.net>
59899         * sysdeps/sparc/fpu/math_private.h: New file.
59901 2012-03-15  David S. Miller  <davem@davemloft.net>
59903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
59904         file.
59905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
59906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
59907         file.
59908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
59909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
59910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
59911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
59912         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
59913         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
59914         sysdep routines.
59915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
59917         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
59918         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
59920         * sysdeps/sparc/sparc-ifunc.h: New file.
59921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
59922         sparc-ifunc.h
59923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
59925         Likewise.
59926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
59927         Likewise.
59928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
59929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
59930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59932         Likewise.
59933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
59935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
59937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
59938         Likewise.
59939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
59940         Likewise.
59941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
59943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
59944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
59945         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59946         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59947         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
59948         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
59949         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59950         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
59952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
59953         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
59954         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
59955         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
59956         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
59957         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
59958         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
59959         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
59960         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
59961         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
59962         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
59963         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
59964         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
59966 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
59968         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
59969         scaling.
59970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59972 2012-03-15  Andreas Jaeger  <aj@suse.de>
59974         [BZ #13852]
59975         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
59976         ieee754/flt-32 implementation for sin, cos and sincos.
59977         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
59978         * sysdeps/i386/fpu/s_cosf.S: Likewise.
59979         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
59980         * sysdeps/i386/fpu/s_sinf.S: Likewise.
59981         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
59982         ieee754/flt-32 implementation for tan.
59984         * math/libm-test.inc (cos_test): Enable some large input tests for
59985         float as well
59986         (sin_test): Likewise.
59987         (sincos_test): Likewise.
59988         (tan_test): Add tests for large input.
59990         * sysdeps/i386/fpu/libm-test-ulps: Update.
59992 2012-03-15  Andreas Jaeger  <aj@suse.de>
59994         [BZ #13658]
59995         * math/libm-test.inc (cos_test): Add more test cases.
59996         (sin_test): Likewise.
59997         (sincos_test): Likewise.
59999 2012-03-15  Andreas Jaeger  <aj@suse.de>
60001         [BZ #13837]
60002         * math/libm-test.inc (cos_test): Add a test case for large input
60003         value.
60004         (sin_test): Likewise.
60005         (sincos_test): Likewise.
60007 2012-03-15  Andreas Jaeger  <aj@suse.de>
60008             Joseph Myers  <joseph@codesourcery.com>
60010         [BZ #13658]
60011         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
60012         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
60013         * sysdeps/i386/fpu/branred.c: Likewise.
60014         * sysdeps/i386/fpu/dosincos.c: Likewise.
60015         * sysdeps/i386/fpu/mpa.c: Likewise.
60016         * sysdeps/i386/fpu/s_cos.S: Likewise.
60017         * sysdeps/i386/fpu/s_sin.S: Likewise.
60018         * sysdeps/i386/fpu/s_sincos.S: Likewise.
60019         * sysdeps/i386/fpu/sincos32.c: Likewise.
60021         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
60022         Define.
60023         (libc_feupdateenv_53bit): Define.
60024         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
60025         Define.
60026         (libc_feupdateenv_53bit): Define.
60028         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
60029         53 bit (without extend i386 double precision).
60031         * math/libm-test.inc (sincos_test): Add tests for large input.
60032         (sin): Likewise.
60033         (cos): Likewise.
60035         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
60037 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
60039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60041 2012-03-15  David S. Miller  <davem@davemloft.net>
60043         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
60044         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
60045         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
60046         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
60047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
60048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
60049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
60050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
60051         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
60052         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
60053         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
60054         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
60055         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
60056         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
60057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
60058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
60059         file.
60060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
60061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
60062         file.
60063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
60064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
60065         file.
60066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
60067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
60068         file.
60069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
60070         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
60071         fmin/fmax sysdep routines.
60072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
60074 2012-03-14  David S. Miller  <davem@davemloft.net>
60076         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
60077         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
60078         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
60079         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
60080         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
60081         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
60082         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
60083         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
60084         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
60085         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
60086         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
60087         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
60088         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
60089         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
60090         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
60091         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
60092         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
60093         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
60094         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
60095         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
60096         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
60097         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
60098         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
60099         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
60100         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
60101         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
60102         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
60103         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
60104         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
60105         routines.
60106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
60107         file.
60108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
60109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
60110         file.
60111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
60112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
60113         file.
60114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
60115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
60116         file.
60117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
60118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
60119         file.
60120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
60121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
60122         file.
60123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
60124         file.
60125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
60126         file.
60127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
60128         file.
60129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
60130         New file.
60131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
60132         file.
60133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
60134         file.
60135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
60136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
60137         file.
60138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
60139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
60140         file.
60141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
60142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
60143         file.
60144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
60145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
60146         VIS3 routines.
60148         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60149         New file.
60151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60153         * sysdeps/sparc/configure.in: New file.
60154         * sysdeps/sparc/configure: Generate.
60155         * configure.in (libc_cv_sparc_as_vis3): Substitute.
60156         * configure: Regenerate.
60157         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
60158         * config.make.in (have-as-vis3): New.
60159         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
60160         available use -Av9d instead of -Av9a.
60161         * sysdeps/sparc/sparc64/Makefile: Likewise.
60162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
60163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
60164         New file.
60165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
60166         file.
60167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
60168         New file.
60169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
60170         file.
60171         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
60172         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
60173         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
60174         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
60175         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
60177         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
60178         fzeros/fnegs to load 0x80000000 into a float register instead of
60179         using the stack.
60180         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
60182 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60185         bits/syscall.h.
60186         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
60187         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
60188         ($(inst_includedir)/bits/syscall.h): Remove rule.
60189         ($(objpfx)bits/syscall.d): Include instead of
60190         $(objpfx)syscall-list.d.
60191         (generated): Change syscall-list.h and syscall-list.d to
60192         bits/syscall.h and bits/syscall.d.
60194 2012-03-14  Roland McGrath  <roland@hack.frob.com>
60196         [BZ #13846]
60197         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
60199 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
60201         [BZ #13841]
60202         * math/s_csqrt.c: Include <float.h>.
60203         (__csqrt): Scale large or subnormal inputs.
60204         * math/s_csqrtf.c: Likewise.
60205         * math/s_csqrtl.c: Likewise.
60206         * math/libm-test.inc (csqrt_test): Add more tests.
60207         * sysdeps/i386/fpu/libm-test-ulps: Update.
60208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60210         [BZ #13840]
60211         * math/libm-test.inc (hypot_test): Add more tests.
60213 2012-03-13  David S. Miller  <davem@davemloft.net>
60215         [BZ #13840]
60216         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
60217         double-precision for the calculation instead of scaling.
60219 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
60221         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
60222         manipulate bits before adding and subtracting TWO52[sx].
60223         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
60224         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
60225         Likewise.
60226         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
60228 2012-03-13  David S. Miller  <davem@davemloft.net>
60230         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
60231         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
60232         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
60233         rtld-global-offsets.h
60234         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60236         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
60237         large parameters.
60239         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
60241         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
60242         'err' in the ifdef scope in which it is actually used.
60244         * nss/nss_db/db-init.c: Include string.h
60246 2012-03-12  David S. Miller  <davem@davemloft.net>
60248         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
60249         masking out of the most significant byte of random value used.
60250         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60251         Fix coding style in previous change.
60253         * sysdeps/unix/sysv/linux/kernel-features.h
60254         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
60255         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
60256         expression.
60257         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
60258         later.
60260 2012-03-11  David S. Miller  <davem@davemloft.net>
60262         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60263         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
60264         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
60265         for 'resultvar' otherwise things get truncated on 64-bit.
60267         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
60268         Fix masking out of the most significant byte of random value used.
60270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60272 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
60274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60276 2012-03-09  David S. Miller  <davem@davemloft.net>
60278         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
60279         variables with appropriate CPP guards.
60280         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
60281         from the frame pointer, not the stack pointer.  Correct layout
60282         comments.  Fix test on resulting framesize and the management of
60283         the outregs buffer for pltexit.  Preserve floating point return
60284         values across _dl_call_pltexit call.
60285         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
60286         framesize and the management of the outregs buffer for pltexit.
60287         Preserve floating point return values across _dl_call_pltexit
60288         call.
60289         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
60290         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
60291         (la_sparc64_gnu_pltexit): New functions.
60292         (print_exit): Fix format string for return register value.
60294 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
60296         * sunrpc/Makefile (others): Add rpcgen.
60297         ($(objpfx)rpcgen): Remove special build rule and dependency on
60298         libc.
60299         * sunrpc/rpcgen.c: New file.
60301 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
60303         [BZ #13673]
60304         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
60305         * stdio-common/bug-vfprintf-nargs.c: Likewise.
60306         * sysdeps/i386/crti.S: Likewise.
60307         * sysdeps/i386/crtn.S: Likewise.
60308         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
60309         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
60310         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
60311         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
60312         * sysdeps/sh/crti.S: Likewise.
60313         * sysdeps/sh/crtn.S: Likewise.
60314         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60316         [BZ #13673]
60317         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
60318         with URL.
60319         * locale/programs/locfile-kw.gperf: Likewise.
60320         * locale/programs/charmap-kw.h: Regenerated.
60321         * locale/programs/locfile-kw.h: Likewise.
60323         [BZ #13673]
60324         * intl/plural.y: Replace FSF snail mail address with URL.
60325         * intl/plural.c: Regenerated.
60327 2012-03-09  Richard Henderson  <rth@twiddle.net>
60329         * include/math_private.h: Remove file.
60330         * math/math_private.h: Move file ...
60331         * sysdeps/generic/math_private.h: ... here.
60333         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
60334         * sysdeps/powerpc/fpu/math_private.h: Likewise.
60335         * sysdeps/x86_64/fpu/math_private.h: Likewise.
60337         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
60338         and <math_private.h>.
60339         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
60340         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
60341         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
60342         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
60343         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
60344         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
60345         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
60346         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
60347         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60348         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60349         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60350         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60351         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60352         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60353         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60354         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60355         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60356         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60357         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60358         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60359         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60360         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60361         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60362         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60363         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
60364         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60365         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60366         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60367         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60368         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
60369         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60370         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
60371         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
60372         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
60373         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
60374         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60375         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60376         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
60377         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
60378         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60379         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
60380         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
60381         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
60382         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
60383         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
60384         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
60385         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
60386         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
60387         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60388         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
60389         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
60390         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
60391         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
60392         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
60393         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
60394         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60395         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
60396         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
60397         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
60398         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
60399         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
60400         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
60401         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
60402         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
60403         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
60404         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
60405         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
60406         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
60407         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
60408         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
60409         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60410         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60411         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60412         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60413         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
60414         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
60415         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
60416         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60417         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
60418         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
60419         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60420         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
60421         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60422         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60423         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60424         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
60425         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
60426         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
60427         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60428         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60429         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60430         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60431         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60432         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60433         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60434         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60435         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60436         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60437         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60438         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60439         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60440         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60441         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60442         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60443         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
60444         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60445         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60446         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60447         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
60448         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
60449         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
60450         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
60451         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60452         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
60453         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
60454         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60455         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
60456         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
60457         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
60458         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
60459         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
60460         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
60461         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60462         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
60463         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
60464         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
60465         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60466         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
60467         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
60468         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
60469         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
60470         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
60471         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
60472         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
60473         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
60474         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
60475         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60476         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
60477         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
60478         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60479         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
60480         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
60481         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
60482         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
60483         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
60484         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
60485         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
60486         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
60487         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
60488         * sysdeps/ieee754/k_standard.c: Likewise.
60489         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60490         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60491         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60492         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60493         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60494         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60495         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60496         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60497         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60498         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60499         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60500         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60501         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60502         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60503         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60504         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60505         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
60506         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60507         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60508         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
60509         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
60510         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
60511         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
60512         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
60513         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
60514         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
60515         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
60516         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
60517         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
60518         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
60519         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60520         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
60521         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
60522         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
60523         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
60524         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
60525         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
60526         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
60527         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
60528         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
60529         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
60530         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
60531         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60532         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
60533         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
60534         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
60535         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
60536         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
60537         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
60538         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
60539         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60540         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60541         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
60542         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
60543         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60544         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60545         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
60546         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
60547         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
60548         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
60549         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60550         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
60551         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
60552         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60553         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60555         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60556         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60557         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60558         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60559         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60560         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60561         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60562         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60563         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60564         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60565         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
60566         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60567         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60568         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60569         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60570         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60571         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
60572         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
60573         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
60574         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
60575         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
60576         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
60577         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
60578         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
60579         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
60580         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
60581         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
60582         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
60583         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
60584         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
60585         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
60586         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
60587         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
60588         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
60589         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
60590         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
60591         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
60592         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
60593         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
60594         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
60595         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
60596         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
60597         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
60598         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
60599         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
60600         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
60601         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60602         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60603         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60604         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60605         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60606         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60607         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60608         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60609         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60610         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60611         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60612         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60613         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60614         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
60615         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60616         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
60617         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
60618         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60619         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60620         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60621         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60622         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60623         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
60624         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
60625         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
60626         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60627         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60628         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
60629         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
60630         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60631         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
60632         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
60633         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
60634         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60635         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60636         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
60637         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
60638         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
60639         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60640         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
60641         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
60642         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60643         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
60644         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
60645         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
60646         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
60647         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
60648         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60649         * sysdeps/ieee754/s_lib_version.c: Likewise.
60650         * sysdeps/ieee754/s_matherr.c: Likewise.
60651         * sysdeps/ieee754/s_signgam.c: Likewise.
60652         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60653         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60654         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
60655         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
60656         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
60657         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
60658         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
60659         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
60660         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
60661         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
60662         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60663         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
60664         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
60665         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
60666         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
60667         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
60668         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
60669         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
60670         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
60671         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60672         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60674 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
60676         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
60677         * sunrpc/rpc_main.c: Likewise.
60678         * sunrpc/rpc_svcout.c: Likewise.
60680 2012-03-09  David S. Miller  <davem@davemloft.net>
60682         * include/math_private.h: New file.
60684 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
60686         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
60687         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
60688         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
60689         from <bits/socket_type.h>.
60690         (enum __socket_type): Don't define here.
60691         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
60692         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60693         bits/socket_type.h.
60695         [BZ #13566]
60696         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
60697         checking __USE_GNU.
60699         * Makerules ($(inst_includedir)/%.h): New rule.
60700         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
60701         (install-others): Remove variable setting.
60702         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
60704 2012-03-08  Richard Henderson  <rth@twiddle.net>
60706         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
60707         from macro to inline function; merge with the
60708         !__LIBC_INTERNAL_MATH_INLINES version.
60709         (__ieee754_sqrtf): Likewise.
60711         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
60712         to inline function.
60713         (__rintf, __floor, __floorf): Likewise.
60715         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
60716         macro to inline function.
60717         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
60719         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
60720         not <math/math_private.h>.
60722 2012-03-08  David S. Miller  <davem@davemloft.net>
60724         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
60725         copyright year.
60726         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
60728 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
60730         * resolv/gai_misc.c (handle_requests): Fix struct timespec
60731         normalization.
60732         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
60733         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
60735 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
60737         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
60738         be defined individually, they must be defined as a block.  Define
60739         S for printing a string instead of hidint the different by using a
60740         macro for adding the 'l'.
60741         * stdio-common/tst-fphex-wide.c: Adjust.
60743 2012-03-07  Marek Polacek  <polacek@redhat.com>
60745         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
60747 2012-03-08  Marek Polacek  <polacek@redhat.com>
60749         [BZ #13806]
60750         * stdio-common/Makefile (tests): Add tst-fphex-wide.
60751         * stdio-common/tst-fphex.c: Define a few macros to make the
60752         test reusable.  Use them.
60753         * stdio-common/tst-fphex-wide.c: New file.
60755 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
60757         [BZ #6911]
60758         * manual/macros.texi (gnusystems): New macro.
60759         (nongnusystems): Likewise.
60760         (gnulinuxhurdsystems): Likewise.
60761         (gnuhurdsystems): Likewise..
60762         (gnulinuxsystems): Likewise.
60763         * manual/charset.texi: Use new macros or @theglibc{} to refer to
60764         variants of the GNU system, not "GNU system".
60765         * manual/conf.texi: Likewise.
60766         * manual/errno.texi: Likewise.  Update example of errno macro
60767         expansion.
60768         * manual/filesys.texi: Likewise.
60769         (getumask): Document as specific to GNU/Hurd.
60770         * manual/install.texi: Likewise.  Reword some references to
60771         GNU/Linux.
60772         * manual/intro.texi: Likewise.
60773         * manual/io.texi: Likewise.
60774         (File Name Portability): Detail which constraints are inapplicable
60775         to all GNU systems and which are only inapplicable to GNU/Hurd.
60776         * manual/job.texi: Likewise.
60777         * manual/llio.texi: Likewise.
60778         (O_NOCTTY): Document as present on GNU/Linux.
60779         * manual/maint.texi: Likewise.
60780         * manual/memory.texi: Likewise.
60781         * manual/pattern.texi: Likewise.
60782         * manual/pipe.texi: Likewise.
60783         * manual/process.texi: Likewise.
60784         * manual/resource.texi: Likewise.
60785         (RUSAGE_CHILDREN): Remove statement about specifying a particular
60786         child on GNU/Hurd.
60787         * manual/setjmp.texi: Likewise.
60788         * manual/signal.texi: Likewise.
60789         * manual/startup.texi: Likewise.
60790         * manual/stdio.texi: Likewise.
60791         * manual/terminal.texi: Likewise.
60792         (ONLCR): Document as POSIX.
60793         (OXTABS): Document availability on GNU/Linux as XTABS.
60794         (ONOEOT): Document availability separately from other bits.
60795         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
60796         * manual/time.texi: Likewise.
60797         * manual/users.texi: Likewise.
60798         * INSTALL: Regenerated.
60799         * sysdeps/gnu/errlist.c: Regenerated.
60801         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
60802         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
60803         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
60804         puts.
60805         * configure: Regenerated.
60807 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
60809         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
60810         default includes instead of AC_HEADER_CHECK.
60811         * sysdeps/i386/configure: Regenerated.
60813         [BZ #10716]
60814         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
60815         * math/s_cacoshf.c (__cacoshf): Likewise.
60816         * math/s_cacoshl.c (__cacoshl): Likewise.
60817         * math/s_casinh.c (__casinh): Set signs of result from argument.
60818         * math/s_casinhf.c (__casinhf): Likewise.
60819         * math/s_casinhl.c (__casinhl): Likewise.
60820         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
60821         (casinh_test): Add more tests.
60822         * sysdeps/i386/fpu/libm-test-ulps: Update.
60823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60825 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
60827         * po/zh_TW.po: Update from translation team.
60829         * login/Makefile (distribute): Remove variable.
60830         * catgets/Makefile: Likewise.
60831         * mach/Makefile: Likewise.
60832         * malloc/Makefile: Likewise.
60833         * misc/Makefile: Likewise.
60834         * iconv/Makefile: Likewise.
60835         * nscd/Makefile: Likewise.
60836         * hurd/Makefile: Likewise.
60837         * manual/Makefile: Likewise.
60838         * locale/Makefile: Likewise.
60839         * intl/Makefile: Likewise.
60840         * conform/Makefile: Likewise.
60841         * nss/Makefile: Likewise.
60842         * time/Makefile: Likewise.
60843         * soft-fp/Makefile: Likewise.
60844         * dirent/Makefile: Likewise.
60845         * gmon/Makefile: Likewise.
60846         * po/Makefile: Likewise.
60847         * rt/Makefile: Likewise.
60848         * socket/Makefile: Likewise.
60849         * math/Makefile: Likewise.
60850         * signal/Makefile: Likewise.
60851         * debug/Makefile: Likewise.
60852         * elf/Makefile: Likewise.
60853         * timezone/Makefile: Likewise.
60854         * stdlib/Makefile: Likewise.
60855         * iconvdata/Makefile: Likewise.
60856         * sunrpc/Makefile: Likewise.
60857         * io/Makefile: Likewise.
60858         * argp/Makefile: Likewise.
60859         * inet/Makefile: Likewise.
60860         * hesiod/Makefile: Likewise.
60861         * grp/Makefile: Likewise.
60862         * csu/Makefile: Likewise.
60863         * wctype/Makefile: Likewise.
60864         * crypt/Makefile: Likewise.
60865         * libio/Makefile: Likewise.
60866         * string/Makefile: Likewise.
60867         * nis/Makefile: Likewise.
60868         * resolv/Makefile: Likewise.
60869         * stdio-common/Makefile: Likewise.
60870         * wcsmbs/Makefile: Likewise.
60871         * dlfcn/Makefile: Likewise.
60872         * posix/Makefile: Likewise.
60874         [BZ #6959]
60875         * timezone/Makefile: Don't install timezone files, just the programs
60876         and scripts.
60878 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
60880         * nss/databases.def: Add missing gshadow entry.
60882         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
60884 2012-03-06  Marek Polacek  <polacek@redhat.com>
60886         [BZ #13726]
60887         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
60888         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60889         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
60890         * stdio-common/tst-long-dbl-fphex.c: New file.
60892 2012-03-06  David S. Miller  <davem@davemloft.net>
60894         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60895         (set_obp_int): New function.
60896         (get_obp_int): New function.
60897         (__get_clockfreq_via_dev_openprom): Likewise.
60898         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
60899         Avoid unused variable warnings on 'val' and use builtin_expect.
60900         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
60901         __builtin_expect.
60902         (INLINE_CLONE_SYSCALL): Likewise.
60904 2012-03-05  David S. Miller  <davem@davemloft.net>
60906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60908 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
60910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60912         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
60913         only for |x| >= 40.
60914         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60916 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
60918         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
60919         Replace gettimeofday with __vdso_gettimeofday.
60921         * sysdeps/unix/sysv/linux/x86_64/init-first.c
60922         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
60923         __vdso_clock_gettime and __vdso_getcpu.
60925         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
60926         time with __vdso_time.
60928 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60930         * manual/lang.texi (size_t): Note types to which size_t may be
60931         equivalent with the GNU C Library, but do not describe when
60932         differences between them are significant.
60934 2012-03-05  Andreas Jaeger  <aj@suse.de>
60936         * sysdeps/i386/fpu/libm-test-ulps: Update.
60938 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
60940         [BZ #3976]
60941         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
60942         (__ieee754_pow): Save and restore rounding mode and use
60943         round-to-nearest for main computations.
60944         * math/libm-test.inc (pow_test_tonearest): New function.
60945         (pow_test_towardzero): Likewise.
60946         (pow_test_downward): Likewise.
60947         (pow_test_upward): Likewise.
60948         (main): Call the new functions.
60949         * sysdeps/i386/fpu/libm-test-ulps: Update.
60950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60952         [BZ #3976]
60953         * math/libm-test.inc (cosh_test_tonearest): New function.
60954         (cosh_test_towardzero): Likewise.
60955         (cosh_test_downward): Likewise.
60956         (cosh_test_upward): Likewise.
60957         (sinh_test_tonearest): Likewise.
60958         (sinh_test_towardzero): Likewise.
60959         (sinh_test_downward): Likewise.
60960         (sinh_test_upward): Likewise.
60961         (main): Call the new functions.
60962         * sysdeps/i386/fpu/libm-test-ulps: Update.
60963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60965 2012-03-05  Tom de Vries  <tom@codesourcery.com>
60967         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
60968         default stack guard is set in last bytes.
60969         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
60971 2012-03-05  Kees Cook  <keescook@chromium.org>
60973         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
60975         [BZ #13656]
60976         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
60977         possibly allocate from heap instead of stack.
60978         * stdio-common/bug-vfprintf-nargs.c: New file.
60979         * stdio-common/Makefile (tests): Add nargs overflow test.
60981 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
60983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60985 2012-03-03  Marek Polacek  <polacek@redhat.com>
60987         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
60988         * math/math_private.h: Likewise.
60989         * stdlib/tst-strtod.c: Likewise.
60990         * sysdeps/i386/i486/bits/atomic.h: Likewise.
60991         * sysdeps/x86_64/bits/atomic.h: Likewise.
60993 2012-03-02  David S. Miller  <davem@davemloft.net>
60995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
60996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
60997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
60998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
60999         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
61000         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
61001         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
61002         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
61004 2012-03-02  Roland McGrath  <roland@hack.frob.com>
61006         [BZ #13792]
61007         * manual/examples/README: New file, says the example source files
61008         can be used under GPL>=2.
61009         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
61010         line containing just "*/".
61011         * manual/examples/add.c: Add copyright header (GPL>=2).
61012         * manual/examples/argp-ex1.c: Likewise.
61013         * manual/examples/argp-ex2.c: Likewise.
61014         * manual/examples/argp-ex3.c: Likewise.
61015         * manual/examples/argp-ex4.c: Likewise.
61016         * manual/examples/atexit.c: Likewise.
61017         * manual/examples/db.c: Likewise.
61018         * manual/examples/dir.c: Likewise.
61019         * manual/examples/dir2.c: Likewise.
61020         * manual/examples/execinfo.c: Likewise.
61021         * manual/examples/filecli.c: Likewise.
61022         * manual/examples/filesrv.c: Likewise.
61023         * manual/examples/fmtmsgexpl.c: Likewise.
61024         * manual/examples/genpass.c: Likewise.
61025         * manual/examples/inetcli.c: Likewise.
61026         * manual/examples/inetsrv.c: Likewise.
61027         * manual/examples/isockad.c: Likewise.
61028         * manual/examples/longopt.c: Likewise.
61029         * manual/examples/memopen.c: Likewise.
61030         * manual/examples/memstrm.c: Likewise.
61031         * manual/examples/mkfsock.c: Likewise.
61032         * manual/examples/mkisock.c: Likewise.
61033         * manual/examples/mygetpass.c: Likewise.
61034         * manual/examples/pipe.c: Likewise.
61035         * manual/examples/popen.c: Likewise.
61036         * manual/examples/rprintf.c: Likewise.
61037         * manual/examples/search.c: Likewise.
61038         * manual/examples/select.c: Likewise.
61039         * manual/examples/setjmp.c: Likewise.
61040         * manual/examples/sigh1.c: Likewise.
61041         * manual/examples/sigusr.c: Likewise.
61042         * manual/examples/stpcpy.c: Likewise.
61043         * manual/examples/strdupa.c: Likewise.
61044         * manual/examples/strftim.c: Likewise.
61045         * manual/examples/strncat.c: Likewise.
61046         * manual/examples/subopt.c: Likewise.
61047         * manual/examples/swapcontext.c: Likewise.
61048         * manual/examples/termios.c: Likewise.
61049         * manual/examples/testopt.c: Likewise.
61050         * manual/examples/testpass.c: Likewise.
61051         * manual/examples/timeval_subtract.c: Likewise.
61053         [BZ #13792]
61054         * manual/time.texi (Elapsed Time): Move timeval_subtract example
61055         function to ...
61056         * manual/timeval_subtract.c.texi: ... here, new file.
61058 2012-03-02  David S. Miller  <davem@davemloft.net>
61060         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
61062 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
61064         [BZ #3976]
61065         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
61066         (__sin): Save and restore rounding mode and use round-to-nearest
61067         for all computations.
61068         (__cos): Save and restore rounding mode and use round-to-nearest
61069         for all computations.
61070         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
61071         <fenv.h>.
61072         (tan): Save and restore rounding mode and use round-to-nearest for
61073         all computations.
61074         * math/libm-test.inc (cos_test_tonearest): New function.
61075         (cos_test_towardzero): Likewise.
61076         (cos_test_downward): Likewise.
61077         (cos_test_upward): Likewise.
61078         (sin_test_tonearest): Likewise.
61079         (sin_test_towardzero): Likewise.
61080         (sin_test_downward): Likewise.
61081         (sin_test_upward): Likewise.
61082         (tan_test_tonearest): Likewise.
61083         (tan_test_towardzero): Likewise.
61084         (tan_test_downward): Likewise.
61085         (tan_test_upward): Likewise.
61086         (main): Call the new functions.
61087         * sysdeps/i386/fpu/libm-test-ulps: Update.
61088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61090         [BZ #10135]
61091         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
61092         small n, then large n, before computing and testing k+n.
61093         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
61094         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
61095         Likewise.
61096         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
61097         Likewise.
61098         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
61099         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
61100         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
61101         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
61102         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
61103         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
61104         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
61105         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
61106         * math/libm-test.inc (scalbn_test): Add more tests.
61107         (scalbln_test): Likewise.
61109         * manual/filesys.texi (mode_t): Describe constraints on size and
61110         signedness, not exact equivalence to a particular type.
61111         (ino_t): Likewise.
61112         (ino64_t): Likewise.
61113         (dev_t): Likewise.
61114         (nlink_t): Likewise.
61115         (blkcnt_t): Likewise.
61116         (blkcnt64_t): Likewise.
61117         * manual/llio.texi (off_t): Likewise.
61119         [BZ #3976]
61120         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
61121         (__ieee754_exp): Save and restore rounding mode and use
61122         round-to-nearest for all computations.
61123         * math/libm-test.inc (exp_test_tonearest): New function.
61124         (exp_test_towardzero): Likewise.
61125         (exp_test_downward): Likewise.
61126         (exp_test_upward): Likewise.
61127         (main): Call the new functions.
61128         * sysdeps/i386/fpu/libm-test-ulps: Update.
61129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61131 2012-03-01  Chris Demetriou  <cgd@google.com>
61133         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
61134         have predictable order.
61136 2012-03-01  David S. Miller  <davem@davemloft.net>
61138         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
61140         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
61141         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
61142         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
61143         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
61145         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
61146         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
61147         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
61148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
61149         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
61150         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
61151         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
61152         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
61153         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
61155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61157         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
61158         * sysdeps/sparc/fpu/libm-test-ulps: to here.
61159         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
61161         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
61162         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61163         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61164         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
61165         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
61166         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
61167         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
61168         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61169         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61170         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
61171         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
61172         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61173         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61174         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61175         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61177         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
61178         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
61179         * sysdeps/sparc/elf/configure: Regenerated.
61181 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
61183         * configure.in (AS, LD): Require binutils 2.20 or later.
61184         * configure: Regenerated.
61185         * manual/install.texi (Tools for Compilation): Give binutils 2.20
61186         as required minimum version.
61187         * INSTALL: Regenerated.
61189         [BZ #2541]
61190         [BZ #4108]
61191         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
61192         before squaring exponent.
61193         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
61194         bottom long double and 27 bits of top long double before squaring
61195         exponent.
61196         * math/libm-test.inc (erfc_test): Add more tests.
61197         * sysdeps/i386/fpu/libm-test-ulps: Update.
61198         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61201 2012-03-01  Kai Tietz  <ktietz@redhat.com>
61203         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
61204         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
61205         containing bit-fields.
61206         * soft-fp/extended.h (_FP_UNION_E): Likewise.
61207         * soft-fp/single.h (_FP_UNION_S): Likewise.
61208         * soft-fp/double.h (_FP_UNION_D): Likewise.
61210 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61212         [BZ #13786]
61213         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
61214         not include ../strcmp.S.
61215         [USE_AS_STRNCASECMP_L]: Likewise.
61216         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
61217         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
61218         * sysdeps/i386/i686/multiarch/strncase_l-c.c
61219         (__strncasecmp_l_ia32): Define as alias to
61220         __strncasecmp_l_nonascii.
61222         [BZ #5794]
61223         * math/libm-test.inc (expm1_test): Add test for bug 5794.
61224         * sysdeps/i386/fpu/libm-test-ulps: Update.
61225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61227         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
61228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61230 2012-02-29  Jeff Law  <law@redhat.com>
61232         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
61233         out of bounds read.
61235 2012-02-29  Marek Polacek  <polacek@redhat.com>
61237         [BZ #13706]
61238         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
61239         * elf/Makefile: Add rules to run tst-unused-dep.out.
61241 2012-02-28  David S. Miller  <davem@davemloft.net>
61243         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
61244         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
61245         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
61246         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
61247         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
61248         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
61250 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
61252         * math/libm-test.inc (llround_test): Move one test from
61253         lround_test.  Use TEST_f_L in moved test.
61254         (lround_test): Move misplaced test to llround_test.  Add testcase
61255         from bug 2561.
61257 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
61259         * sysdeps/x86_64/fpu/e_expf.S: New file.
61260         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
61262 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
61264         [BZ #13637]
61265         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
61266         of remain_len that may cause incomplete multi-byte character and
61267         false match.
61268         * posix/bug-regex33.c: New file.
61269         * posix/Makefile (tests): Add bug-regex33.
61271 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
61273         * manual/macros.texi: New file.
61274         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
61275         * manual/libc.texinfo: Include macros.texi.
61276         * manual/creatute.texi: Likewise.
61277         * manual/install.texi: Likewise.
61278         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
61279         @glibcadj{} in references to the GNU C Library.
61280         * manual/charset.texi: Likewise.
61281         * manual/conf.texi: Likewise.
61282         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
61283         when not using those macros.
61284         * manual/creature.texi: Likewise.
61285         * manual/crypt.texi: Likewise.
61286         * manual/errno.texi: Likewise.
61287         * manual/filesys.texi: Likewise.
61288         * manual/header.texi: Likewise.
61289         * manual/install.texi: Likewise.
61290         * manual/intro.texi: Likewise.
61291         * manual/io.texi: Likewise.
61292         * manual/job.texi: Likewise.
61293         * manual/lang.texi: Likewise.
61294         * manual/libc.texiinfo: Likewise.
61295         * manual/llio.texi: Likewise.
61296         * manual/locale.texi: Likewise.
61297         * manual/maint.texi: Likewise.
61298         * manual/math.texi: Likewise.
61299         * manual/memory.texi: Likewise.
61300         * manual/message.texi: Likewise.
61301         * manual/nss.texi: Likewise.
61302         * manual/pattern.texi: Likewise.
61303         * manual/process.texi: Likewise.
61304         * manual/resource.texi: Likewise.
61305         * manual/search.texi: Likewise.
61306         * manual/setjmp.texi: Likewise.
61307         * manual/signal.texi: Likewise.
61308         * manual/socket.texi: Likewise.
61309         * manual/startup.texi: Likewise.
61310         * manual/stdio.texi: Likewise.
61311         * manual/string.texi: Likewise.
61312         * manual/sysinfo.texi: Likewise.
61313         * manual/syslog.texi: Likewise.
61314         * manual/terminal.texi: Likewise.
61315         * manual/time.texi: Likewise.
61316         * manual/users.texi: Likewise.
61317         * INSTALL: Regenerated.
61318         * NOTES: Regenerated.
61319         * sysdeps/gnu/errlist.c: Regenerated.
61321 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
61323         * include/dirent.h: Include <dirstream.h> before
61324         <dirent/dirent.h>.
61326 2012-02-28  David S. Miller  <davem@davemloft.net>
61328         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
61329         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
61330         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
61331         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
61333 2012-02-27  David S. Miller  <davem@davemloft.net>
61335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
61336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
61337         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
61338         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
61340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
61341         frame pointer instead of stack pointer relative arg slot.
61342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61343         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61344         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61346 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
61348         [BZ #3992]
61349         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
61351 2012-02-27  David S. Miller  <davem@davemloft.net>
61353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
61354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
61355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
61357         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
61358         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
61359         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
61360         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
61362 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61364         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
61365         later.  Allow versions 5-9.
61366         * configure: Regenerated.
61367         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
61368         required minimum version and 4.6 as recommended version.  Do not
61369         mention bugs in GCC 2.7 and 2.8.
61370         * INSTALL: Regenerated.
61372 2012-02-27  David S. Miller  <davem@davemloft.net>
61374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
61375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
61376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
61377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
61378         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
61379         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
61380         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
61381         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
61383         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
61384         manipulate bits before adding and subtracting TWO112[sx].
61385         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
61387 2012-02-27  Roland McGrath  <roland@hack.frob.com>
61389         [BZ #13775]
61390         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
61391         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
61392         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
61393         being in POSIX, because they are in 1003.1-2008.
61395         * rt/tst-aio.c: Include <fcntl.h>.
61396         * rt/tst-aio7.c: Likewise.
61397         * rt/tst-aio64.c: Likewise.
61399         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
61401 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
61403         * manual/install.texi (--with-headers): Describe headers as
61404         interface headers, not private headers.
61405         (Specific advice for GNU/Linux systems): Describe use of headers
61406         from "make headers_install", not private headers from older
61407         kernels.
61408         * INSTALL: Regenerated.
61409         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
61410         Change to 2.6.19.
61411         * sysdeps/unix/sysv/linux/configure: Regenerated.
61413         * manual/llio.texi (fclean): Remove documentation.
61415         * manual/Makefile (libc-texi-generated): New variable.  Include
61416         version.texi.
61417         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
61418         $(libc-texi-generated), not duplicated list of files.
61419         (version.texi, stamp-version): New rules.
61420         (realclean): Remove $(libc-texi-generated), not individual files
61421         from that list.  Do not remove dir-add.texinfo.
61422         * manual/libc.texinfo: Comment out uses of edition numbers and
61423         references to printed manual.  Remove last-updated dates.
61424         (EDITION): Comment out.
61425         (ISBN): Likewise.
61426         (VERSION, UPDATED): Remove.
61427         (version.texi): Include.
61429 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
61431         * sysdeps/posix/spawni.c: Include <signal.h>.
61432         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
61433         * sysdeps/pthread/aio_fsync.c: Likewise.
61435 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
61437         * conform/Makefile (tests): Run only when not cross-compiling and
61438         when fast-check is not defined.
61440         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
61441         * conform/data/limits.h-data: Fixes for POSIX2008.
61442         * conform/run-conformtest.sh: Run all tests.
61443         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
61444         headers.
61445         * include/bits/dlfcn.h: Likewise.
61446         * include/langinfo.h: Likewise.
61447         * include/monetary.h: Likewise.
61448         * include/sys/poll.h: Likewise.
61450         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
61451         for __USE_GNU.
61452         * posix/spawn.h: Define __need_sigset_t.
61453         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
61454         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
61455         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
61456         to get sigevent_t only.
61457         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
61458         only for __USE_GNU.
61459         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61460         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
61461         process_vm_writev only for __USE_GNU.
61462         * termios/termios.h: Declare tcgetsid also for POSIX2008.
61464         * conform/Makefile: For now ignore errors from run-conformtest.
61465         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
61466         POSIX to avoid namespace pollution.  Don't prepend headers.
61467         * conform/data/aio.h-data: Fixes for POSIX testing.
61468         * conform/data/fcntl.h-data: Likewise.
61469         * conform/data/glob.h-data: Likewise.
61470         * conform/data/grp.h-data: Likewise.
61471         * conform/data/pthread.h-data: Likewise.
61472         * conform/data/pwd.h-data: Likewise.
61473         * conform/data/signal.h-data: Likewise.
61474         * conform/data/spawn.h-data: Likewise.
61475         * conform/data/stdio.h-data: Likewise.
61476         * conform/data/stdlib.h-data: Likewise.
61477         * conform/data/stropts.h-data: Likewise.
61478         * conform/data/sys/mman.h-data: Likewise.
61479         * conform/data/sys/stat.h-data: Likewise.
61480         * conform/data/sys/types.h-data: Likewise.
61481         * conform/data/sys/wait.h-data: Likewise.
61482         * conform/data/time.h-data: Likewise.
61483         * conform/data/unistd.h-data: Likewise.
61484         * conform/data/utime.h-data: Likewise.
61486         * io/sys/stat.h: fchmod was always in POSIX.
61487         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
61488         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
61489         * rt/aio.h: Define __need_timespec before including <time.h>.
61490         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
61491         struct.  Add forward declaration of pthread_attr_t and use it in
61492         sigevent.
61493         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61494         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61495         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
61496         always remove CLK_TCK definition.
61498 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
61500         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
61502 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
61504         * conform/run-conformtest.sh: New file.
61505         * conform/Makefile: Run run-conformtest for tests.
61506         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
61507         support.
61509         * conform/data/uchar.h-data: New file.
61510         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
61511         * conform/data/arpa/inet.h-data: Likewise.
61512         * conform/data/assert.h-data: Likewise.
61513         * conform/data/complex.h-data: Likewise.
61514         * conform/data/cpio.h-data: Likewise.
61515         * conform/data/ctype.h-data: Likewise.
61516         * conform/data/dirent.h-data: Likewise.
61517         * conform/data/dlfcn.h-data: Likewise.
61518         * conform/data/errno.h-data: Likewise.
61519         * conform/data/fcntl.h-data: Likewise.
61520         * conform/data/float.h-data: Likewise.
61521         * conform/data/fmtmsg.h-data: Likewise.
61522         * conform/data/fnmatch.h-data: Likewise.
61523         * conform/data/ftw.h-data: Likewise.
61524         * conform/data/glob.h-data: Likewise.
61525         * conform/data/grp.h-data: Likewise.
61526         * conform/data/iconv.h-data: Likewise.
61527         * conform/data/inttypes.h-data: Likewise.
61528         * conform/data/langinfo.h-data: Likewise.
61529         * conform/data/libgen.h-data: Likewise.
61530         * conform/data/limits.h-data: Likewise.
61531         * conform/data/locale.h-data: Likewise.
61532         * conform/data/math.h-data: Likewise.
61533         * conform/data/monetary.h-data: Likewise.
61534         * conform/data/mqueue.h-data: Likewise.
61535         * conform/data/ndbm.h-data: Likewise.
61536         * conform/data/net/if.h-data: Likewise.
61537         * conform/data/netdb.h-data: Likewise.
61538         * conform/data/netinet/in.h-data: Likewise.
61539         * conform/data/nl_types.h-data: Likewise.
61540         * conform/data/poll.h-data: Likewise.
61541         * conform/data/pthread.h-data: Likewise.
61542         * conform/data/pwd.h-data: Likewise.
61543         * conform/data/regex.h-data: Likewise.
61544         * conform/data/sched.h-data: Likewise.
61545         * conform/data/search.h-data: Likewise.
61546         * conform/data/semaphore.h-data: Likewise.
61547         * conform/data/setjmp.h-data: Likewise.
61548         * conform/data/signal.h-data: Likewise.
61549         * conform/data/spawn.h-data: Likewise.
61550         * conform/data/stdarg.h-data: Likewise.
61551         * conform/data/stdio.h-data: Likewise.
61552         * conform/data/stdlib.h-data: Likewise.
61553         * conform/data/string.h-data: Likewise.
61554         * conform/data/strings.h-data: Likewise.
61555         * conform/data/stropts.h-data: Likewise.
61556         * conform/data/sys/ipc.h-data: Likewise.
61557         * conform/data/sys/mman.h-data: Likewise.
61558         * conform/data/sys/msg.h-data: Likewise.
61559         * conform/data/sys/resource.h-data: Likewise.
61560         * conform/data/sys/select.h-data: Likewise.
61561         * conform/data/sys/sem.h-data: Likewise.
61562         * conform/data/sys/shm.h-data: Likewise.
61563         * conform/data/sys/socket.h-data: Likewise.
61564         * conform/data/sys/stat.h-data: Likewise.
61565         * conform/data/sys/statvfs.h-data: Likewise.
61566         * conform/data/sys/time.h-data: Likewise.
61567         * conform/data/sys/timeb.h-data: Likewise.
61568         * conform/data/sys/times.h-data: Likewise.
61569         * conform/data/sys/types.h-data: Likewise.
61570         * conform/data/sys/uio.h-data: Likewise.
61571         * conform/data/sys/un.h-data: Likewise.
61572         * conform/data/sys/utsname.h-data: Likewise.
61573         * conform/data/sys/wait.h-data: Likewise.
61574         * conform/data/syslog.h-data: Likewise.
61575         * conform/data/tar.h-data: Likewise.
61576         * conform/data/termios.h-data: Likewise.
61577         * conform/data/utime.h-data: Likewise.
61578         * conform/data/utmpx.h-data: Likewise.
61579         * conform/data/varargs.h-data: Likewise.
61580         * conform/data/wchar.h-data: Likewise.
61581         * conform/data/wctype.h-data: Likewise.
61582         * conform/data/wordexp.h-data: Likewise.
61584         * include/stropts.h: New file.
61585         * include/uchar.h: New file.
61586         * include/aio.h: Changes to allow conformtest.pl to use the headers.
61587         * include/assert.h: Likewise.
61588         * include/ctype.h: Likewise.
61589         * include/dirent.h: Likewise.
61590         * include/dlfcn.h: Likewise.
61591         * include/fcntl.h: Likewise.
61592         * include/fnmatch.h: Likewise.
61593         * include/glob.h: Likewise.
61594         * include/grp.h: Likewise.
61595         * include/libio.h: Likewise.
61596         * include/locale.h: Likewise.
61597         * include/math.h: Likewise.
61598         * include/net/if.h: Likewise.
61599         * include/netdb.h: Likewise.
61600         * include/netinet/in.h: Likewise.
61601         * include/pthread.h: Likewise.
61602         * include/pwd.h: Likewise.
61603         * include/regex.h: Likewise.
61604         * include/sched.h: Likewise.
61605         * include/search.h: Likewise.
61606         * include/setjmp.h: Likewise.
61607         * include/signal.h: Likewise.
61608         * include/stdio.h: Likewise.
61609         * include/stdlib.h: Likewise.
61610         * include/string.h: Likewise.
61611         * include/sys/cdefs.h: Likewise.
61612         * include/sys/mman.h: Likewise.
61613         * include/sys/msg.h: Likewise.
61614         * include/sys/resource.h: Likewise.
61615         * include/sys/select.h: Likewise.
61616         * include/sys/socket.h: Likewise.
61617         * include/sys/stat.h: Likewise.
61618         * include/sys/statvfs.h: Likewise.
61619         * include/sys/time.h: Likewise.
61620         * include/sys/times.h: Likewise.
61621         * include/sys/uio.h: Likewise.
61622         * include/sys/utsname.h: Likewise.
61623         * include/sys/wait.h: Likewise.
61624         * include/termios.h: Likewise.
61625         * include/time.h: Likewise.
61626         * include/ulimit.h: Likewise.
61627         * include/unistd.h: Likewise.
61628         * include/utime.h: Likewise.
61629         * include/wchar.h: Likewise.
61630         * include/wctype.h: Likewise.
61631         * include/wordexp.h: Likewise.
61633         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
61635         * time/time.h: TIME_UTC must be a macro.
61636         Make timespec_get available for ISO C11 only as well.
61638 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
61640         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
61641         Reported by Peng Haitao <penght@cn.fujitsu.com>.
61643 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61645         * configure.in: Use -o not -a in test for unsupported multi-arch.
61647 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61649         * manual/texinfo.tex: Update to version 2012-01-19.16.
61651 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
61653         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
61655 2012-02-24  Roland McGrath  <roland@hack.frob.com>
61657         [BZ #13738]
61658         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
61659         * manual/fdl-1.3.texi: New file.
61660         * manual/fdl-1.1.texi: File removed.
61662         [BZ #13738]
61663         * manual/libc.texinfo (FDL_VERSION): New @set.
61664         Use it for mention of FDL in cover text.
61665         (Documentation License): Use it in @include file name.
61667 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61668             Roland McGrath  <roland@hack.frob.com>
61670         [BZ #5461]
61671         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
61672         (not LONG_LONG_MAX and LONG_LONG_MIN.
61673         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
61674         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
61675         name.
61676         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
61678 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61680         [BZ #2547]
61681         [BZ #11365]
61682         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
61683         manipulate bits before adding and subtracting TWO23[sx].
61684         * math/libm-test.inc (nearbyint_test): Add more tests.
61686 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61688         [BZ #2548]
61689         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
61690         bits before adding and subtracting TWO23[sx].
61691         * math/libm-test.inc (rint_test): Add more tests.
61692         (rint_test_tonearest): Likewise.
61693         (rint_test_towardzero): Likewise.
61694         (rint_test_downward): Likewise.
61695         (rint_test_upward: Likewise.
61697 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61699         [BZ #10110]
61700         * include/stdc-predef.h: New file.  Extracted from features.h.
61701         * include/features.h: Include stdc-predef.h.
61702         * Makefile (headers): Add stdc-predef.h.
61703         * CONFORMANCE (Compiler limitations): Update.
61705 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
61707         * manual/libc.texinfo (VERSION, UPDATED): Revert.
61709 2012-02-21  David S. Miller  <davem@davemloft.net>
61711         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
61712         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
61714 2012-02-20  David S. Miller  <davem@davemloft.net>
61716         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
61717         using a normal save/restore sequence, rather than allocating a
61718         dummy stack frame just to store a frame pointer and restore.
61719         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61721 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61723         * manual/install.texi: Fix stray word in line-wrapped comment.
61725 2012-02-20  David S. Miller  <davem@davemloft.net>
61727         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
61728         both binutils and gcc support GOTDATA.
61730         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
61731         "rd %pc" in the PIC register setup sequences.
61733         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
61734         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
61735         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
61736         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
61737         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
61738         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
61739         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61740         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
61741         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
61742         (SYSCALL_ERROR_HANDLER): Likewise.
61743         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
61744         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
61745         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
61746         (SYSCALL_ERROR_HANDLER): Likewise.
61748         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
61749         (HAVE_GCC_GOTDATA): New.
61750         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
61751         relocation support in both binutils and gcc.
61752         * sysdeps/sparc/elf/configure: Regenerate.
61754         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
61755         * sysdeps/sparc/sparc32/elf/configure: Delete.
61756         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
61757         * sysdeps/sparc/sparc64/elf/configure: Delete.
61758         * sysdeps/sparc/elf/configure.in: New file.
61759         * sysdeps/sparc/elf/configure: Generate.
61761         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
61762         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
61763         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61764         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
61765         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
61767 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61769         * manual/install.texi: Do not mention specific glibc version
61770         numbers.
61771         * manual/libc.texinfo (VERSION, UPDATED): Update.
61772         (@copying): Use @copyright{} and range of years.
61774 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
61776         [BZ #13695]
61777         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
61778         [crti.S not in sysdirs] (generated): Do not append.
61779         [crti.S not in sysdirs] (omit-deps): Likewise.
61780         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
61781         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
61782         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
61783         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
61784         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
61785         Likewise.
61786         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
61787         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
61788         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
61789         * csu/defs.awk: Remove file.
61790         * sysdeps/generic/initfini.c: Likewise.
61791         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
61792         variable.
61793         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
61794         Likewise.
61796 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61798         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
61799         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
61800         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
61801         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
61802         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
61803         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
61804         <bits/epoll.h>.
61805         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
61806         (__EPOLL_PACKED): Define to empty if not defined by
61807         <bits/epoll.h>.
61808         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
61809         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61810         bits/epoll.h.
61812 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61814         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
61815         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
61816         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
61817         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
61818         <bits/timerfd.h>.
61819         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
61820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61821         bits/timerfd.h.
61823 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
61825         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
61826         in C locale.
61827         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
61828         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
61829         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
61830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61832 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
61834         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61835         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
61837 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
61839         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
61840         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
61841         defined.
61842         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
61843         Likewise.
61844         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
61845         entry for 2.16.
61847 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
61849         * math/w_acos.c: Use non-signaling floating-point comparisons.
61850         * math/w_acosf.c: Likewise.
61851         * math/w_acosh.c: Likewise.
61852         * math/w_acoshf.c: Likewise.
61853         * math/w_acoshl.c: Likewise.
61854         * math/w_acosl.c: Likewise.
61855         * math/w_asin.c: Likewise.
61856         * math/w_asinf.c: Likewise.
61857         * math/w_asinl.c: Likewise.
61858         * math/w_atanh.c: Likewise.
61859         * math/w_atanhf.c: Likewise.
61860         * math/w_atanhl.c: Likewise.
61861         * math/w_exp2.c: Likewise.
61862         * math/w_exp2f.c: Likewise.
61863         * math/w_exp2l.c: Likewise.
61864         * math/w_j0.c: Likewise.
61865         * math/w_j0f.c: Likewise.
61866         * math/w_j0l.c: Likewise.
61867         * math/w_j1.c: Likewise.
61868         * math/w_j1f.c: Likewise.
61869         * math/w_j1l.c: Likewise.
61870         * math/w_jn.c: Likewise.
61871         * math/w_jnf.c: Likewise.
61872         * math/w_log.c: Likewise.
61873         * math/w_log10.c: Likewise.
61874         * math/w_log10f.c: Likewise.
61875         * math/w_log10l.c: Likewise.
61876         * math/w_log2.c: Likewise.
61877         * math/w_log2f.c: Likewise.
61878         * math/w_log2l.c: Likewise.
61879         * math/w_logf.c: Likewise.
61880         * math/w_logl.c: Likewise.
61881         * math/w_sqrt.c: Likewise.
61882         * math/w_sqrtf.c: Likewise.
61883         * math/w_sqrtl.c: Likewise.
61884         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61885         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
61886         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61887         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61888         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61890 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61892         [BZ #9739]
61893         * manual/string.texi (strnlen): Use correct parameter name in
61894         equivalent expression.
61896 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61898         [BZ #11174]
61899         * manual/users.texi (seteuid): Consistently use neweuid for
61900         argument name.
61902 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
61904         [BZ #13704]
61905         * manual/nss.texi (Services in the NSS configuration): Correct
61906         list of services in example configuration file.
61908 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
61910         [BZ #11322]
61911         * manual/arith.texi: Remove statements about negative zero
61912         behaving identically to zero.
61914 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61916         [BZ #5993]
61917         * manual/install.texi: Do not document upgrading from libc5.
61919 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
61921         [BZ #4596]
61922         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
61924 2012-02-18  David S. Miller  <davem@davemloft.net>
61926         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
61927         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
61928         %o7 across the call.
61929         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
61930         instead.
61931         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
61932         SETUP_PIC_REG_LEAF.
61933         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61934         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
61935         * sysdeps/sparc/crtn.S: Likewise.
61937 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
61939         * aout/Makefile: Remove.
61941 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
61943         [BZ #13058]
61944         * manual/examples/argp-ex1.c (main): Format definition in GNU
61945         style.
61946         * manual/examples/argp-ex2.c (main): Likewise.
61947         * manual/examples/argp-ex3.c (main): Likewise.
61948         * manual/examples/argp-ex4.c (main): Likewise.
61949         * manual/examples/longopt.c (main): Use new-style prototype
61950         definition.
61951         * manual/examples/strncat.c (main): Specify return type and use
61952         (void) for arguments.
61953         * manual/examples/subopt.c (main): Use char **argv argument.
61955 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61957         [BZ #5077]
61958         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
61959         rounding modes.
61961 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
61963         [BZ #6907]
61964         * manual/string.texi (strchr): Change when strchrnul is
61965         recommended.
61967 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
61969         [BZ #174]
61970         * manual/locale.texi (setlocale): Document LOCPATH.
61972 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
61974         [BZ #10210]
61975         * manual/process.texi (execle): Move @dots{} before last argument.
61977 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
61979         [BZ #12047]
61980         * manual/charset.texi (Generic Charset Conversion): Fix typo
61981         (LC_TYPE -> LC_CTYPE).
61983 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
61985         [BZ #5805]
61986         * manual/arith.texi (scalbn): Use @var{} on parameter names.
61987         (scalbnf): Likewise.
61988         (scalbnl): Likewise.
61989         (scalbln): Likewise.
61990         (scalblnf): Likewise.
61991         (scalblnl): Likewise.
61992         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
61993         (vwarnx): Likewise.
61994         (verr): Likewise.
61995         (verrx): Likewise.
61996         * manual/filesys.texi (telldir): Use braces around return type.
61997         * manual/llio.texi (mmap): Add space after comma.
61998         (mmap64): Likewise.
61999         * manual/math.texi (jn): Use @var{} on parameter names.
62000         (jnf): Likewise.
62001         (jnl): Likewise.
62002         (yn): Likewise.
62003         (ynf): Likewise.
62004         (ynl): Likewise.
62005         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
62006         line.
62007         * manual/resource.texi (ulimit): Use @dots{} instead of literal
62008         "...".
62009         (sched_get_priority_min): Remove semicolon on @deftypefun line.
62010         (sched_get_priority_max): Likewise.
62011         * manual/signal.texi (sigvec): Add space after comma.
62012         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
62013         names.
62014         (if_indextoname): Likewise.
62015         (if_freenameindex): Likewise.
62016         (sendto): Use ',' instead of '.' in prototype.
62017         * manual/startup.texi (syscall): Use @dots{} instead of literal
62018         "...".
62019         * manual/stdio.texi (__fpending): Separate initial words of
62020         paragraph from @deftypefun line.
62021         * manual/syslog.texi (syslog): Use @dots{} instead of literal
62022         "...".
62023         (vsyslog): Use @var{} on parameter names.
62024         * manual/terminal.texi (stty): Use @var{} on parameter names.
62025         * manual/users.texi (getutmp): Use @var{} on parameter names.
62026         (getutmpx): Likewise.
62028 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62030         [BZ #6884]
62031         * manual/stdio.texi (fopen): Fix typos in description of
62032         ",ccs=STRING".
62034 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
62036         [BZ #4026]
62037         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
62038         get clock_id definition.
62040 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
62042         [BZ #4822]
62043         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
62044         (madvise): Cast every argument to void on its own.
62046 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62048         [BZ #9902]
62049         * manual/startup.texi (Exit Status): Fix typo.
62051 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
62053         [BZ #10140]
62054         * manual/examples/argp-ex1.c: Include <stdlib.h>.
62055         * manual/examples/argp-ex2.c: Likewise.
62056         * manual/examples/argp-ex3.c: Likewise.
62058 2012-02-16  Richard Henderson  <rth@redhat.com>
62060         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
62061         * sysdeps/s390/s390-32/initfini.c: Remove.
62062         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
62063         * sysdeps/s390/s390-64/initfini.c: Remove.
62065 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62067         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
62068         compiler output for sysdeps/generic/initfini.c.
62069         * sysdeps/sh/elf/initfini.c: Remove file.
62071 2012-02-16  David S. Miller  <davem@davemloft.net>
62073         [BZ #11494]
62074         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
62076         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
62077         * sysdeps/sparc/crti.S: New file.
62078         * sysdeps/sparc/crtn.S: New file.
62079         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
62080         * sysdeps/sparc/sparc64/Makefile: Likewise.
62082 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
62084         [BZ #3335]
62085         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
62087 2012-02-15  Roland McGrath  <roland@hack.frob.com>
62089         [BZ #4822]
62090         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
62092         * mach/devstream.c (cookie_io_functions_t): Macro removed.
62093         (write, read, close): Likewise.
62094         Patch by Aurelien Jarno <aurelien@aurel32.net>.
62096 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
62098         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
62099         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
62100         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
62101         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
62102         <bits/signalfd.h>.
62103         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
62104         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62105         bits/signalfd.h.
62107 2012-02-14  Marek Polacek  <polacek@redhat.com>
62109         * sysdeps/x86_64/crti.S: New file.
62110         * sysdeps/x86_64/crtn.S: New file.
62111         * sysdeps/x86_64/elf/initfini.c: Remove file.
62113 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62115         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
62116         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
62117         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
62118         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
62119         <bits/inotify.h>.
62120         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
62121         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62122         bits/inotify.h.
62124 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
62126         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
62127         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
62128         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
62129         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
62130         <bits/eventfd.h>.
62131         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
62132         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62133         bits/eventfd.h.
62135 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
62137         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
62138         __feraiseexcept instead of feraiseexcept.
62140         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
62141         nanosleep invocations.
62142         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
62143         strings, and add error checking for a nanosleep invocations.
62145 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
62147         Replace FSF snail mail address with URLs, as per GNU coding standards.
62148         Most of the snail mail addresses were wrong anyway, and omitting
62149         them makes the source code easier to maintain.  Almost all of the
62150         changes are to license notices and to locale LC_IDENTIFICATION
62151         addresses, except for this one:
62152         * manual/libc.texinfo: In "Published by", give the FSF's URL,
62153         not its snail mail address.
62155 2012-02-09  Richard Henderson  <rth@twiddle.net>
62157         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
62158         of kernel-features.h.
62160         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
62162 2012-02-08  Marek Polacek  <polacek@redhat.com>
62164         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
62165         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
62166         * sysdeps/gnu/_G_config.h: Likewise.
62167         * sysdeps/generic/_G_config.h: Likewise.
62169 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
62171         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
62172         tests.
62173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62175         * sysdeps/powerpc/powerpc32/crti.S: New file.
62176         * sysdeps/powerpc/powerpc32/crtn.S: New file.
62177         * sysdeps/powerpc/powerpc64/crti.S: New file.
62178         * sysdeps/powerpc/powerpc64/crtn.S: New file.
62180         * Makeconfig (have-initfini): Don't set.
62181         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
62182         * configure.in (nopic_initfini): Don't substitute.
62183         * config.h.in (HAVE_INITFINI): Don't #undef.
62184         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
62185         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
62187 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
62189         Support crti.S and crtn.S provided directly by architectures.
62190         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
62191         [crti.S in sysdirs] (omit-deps): Likewise.
62192         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
62193         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
62194         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
62195         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
62196         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
62197         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
62198         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
62199         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
62200         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
62201         compiler output for sysdeps/generic/initfini.c.
62202         * sysdeps/i386/elf/Makefile: Remove file.
62203         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
62205 2012-02-07  Marek Polacek  <polacek@redhat.com>
62207         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
62208         * sysdeps/gnu/_G_config.h: Likewise.
62209         * sysdeps/mach/hurd/_G_config.h: Likewise.
62211 2012-02-07  Marek Polacek  <polacek@redhat.com>
62213         * math/Makefile (tests): Add tst-CMPLX2.
62214         * math/tst-CMPLX2.c: New file.
62216 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
62218         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62220         * math/libm-test.inc (jn_test): Add missing L suffix.
62222 2012-02-06  Marek Polacek  <polacek@redhat.com>
62224         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
62225         * sysdeps/i386/fpu/e_powf.S: Likewise.
62226         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62227         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62228         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62229         * sysdeps/i386/fpu/e_pow.S: Likewise.
62230         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62231         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62232         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62233         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62234         * sysdeps/i386/fpu/e_log2.S: Likewise.
62235         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62236         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62237         * sysdeps/i386/fpu/e_powl.S: Likewise.
62238         * sysdeps/i386/fpu/s_log1p.S: Likewise.
62239         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62240         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62241         * sysdeps/i386/fpu/e_logl.S: Likewise.
62242         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62243         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
62244         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62245         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62246         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62247         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62248         * sysdeps/i386/fpu/e_log.S: Likewise.
62249         * sysdeps/i386/fpu/s_cexp.S: Likewise.
62250         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62251         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
62252         * sysdeps/i386/fpu/e_logf.S: Likewise.
62253         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62254         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62255         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
62256         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62257         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62258         * sysdeps/i386/fpu/e_log10.S: Likewise.
62259         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62260         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62261         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62262         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62263         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62264         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62265         * sysdeps/i386/asm-syntax.h: Likewise.
62266         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62267         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62268         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62269         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
62270         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
62271         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62272         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62273         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62274         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62275         * sysdeps/powerpc/sysdep.h: Likewise.
62276         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
62277         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62279 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62281         [BZ #411]
62282         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
62284 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
62286         * sysdeps/i386/sysdep.h: Include <features.h>.
62287         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
62288         version.
62290 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
62292         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
62293         Define.
62294         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
62295         LOAD_PIC_REG_STR.
62297 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62299         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
62300         (SETUP_PIC_REG): Use GET_PC_THUNK.
62301         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
62302         macro.
62304 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62306         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
62307         for non-PIC compilation.
62308         (SETUP_PIC_REG): Add .p2align directive.
62309         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
62310         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
62311         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62312         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62313         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
62314         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62315         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
62316         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
62317         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62318         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62319         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62320         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62321         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62322         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62323         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62324         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
62325         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
62326         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62327         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62328         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62329         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62330         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
62331         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62332         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62333         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
62334         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
62335         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62336         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
62337         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62338         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62339         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62340         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62341         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62342         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62343         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62344         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62345         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62346         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62347         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62348         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62349         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62351 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
62353         * math/tst-CMPLX.c: Include <stdio.h>.
62355 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
62357         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
62358         float.
62359         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62360         * sysdeps/sparc/bits/mathdef.h: Likewise.
62362 2012-01-31  Marek Polacek  <polacek@redhat.com>
62364         * libio/libio.h: Don't define _PARAMS.
62365         * locale/programs/config.h: Don't define PARAMS.
62366         * stdlib/strtol_l.c: Likewise.
62367         (__strtol_l): Remove PARAMS from the prototype.
62369 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
62371         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
62372         names.  Just use the correct names.  Remove unnecessary wrapper
62373         functions.
62374         * malloc/arena.c: Likewise.
62375         * malloc/hooks.c: Likewise.
62377         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
62378         ARENA_TEST says not to.  Simplify test for creation of a new arena.
62379         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
62381 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
62383         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
62384         into tail calls.
62385         (update_get_addr): New function.
62386         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
62387         GET_ADDR_MODULE parameter.
62389 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62391         * crypt/cert.c: Remove __STDC__ conditionals.
62392         * crypt/crypt-entry.c: Likewise.
62393         * crypt/crypt_util.c: Likewise.
62394         * libio/filedoalloc.c: Likewise.
62395         * libio/fileops.c: Likewise.
62396         * libio/genops.c: Likewise.
62397         * libio/iofclose.c: Likewise.
62398         * libio/iofdopen.c: Likewise.
62399         * libio/iofopen.c: Likewise.
62400         * libio/iofopen64.c: Likewise.
62401         * libio/iogetdelim.c: Likewise.
62402         * libio/iopopen.c: Likewise.
62403         * libio/obprintf.c: Likewise.
62404         * libio/oldfileops.c: Likewise.
62405         * libio/oldiofclose.c: Likewise.
62406         * libio/oldiofdopen.c: Likewise.
62407         * libio/oldiofopen.c: Likewise.
62408         * libio/oldiopopen.c: Likewise.
62409         * libio/wfiledoalloc.c: Likewise.
62410         * libio/wgenops.c: Likewise.
62411         * locale/programs/xmalloc.c: Likewise.
62412         * misc/syslog.c: Likewise.
62413         * stdio-common/xbug.c: Likewise.
62414         * string/memchr.c: Likewise.
62415         * string/memcmp.c: Likewise.
62416         * string/memrchr.c: Likewise.
62417         * string/rawmemchr.c: Likewise.
62418         * sysdeps/posix/getcwd.c: Likewise.
62419         * time/strftime_l.c: Likewise.
62421 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
62423         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
62424         * config.make.in (config-cflags-sse2avx): Define.
62425         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
62426         Fix typo.
62428 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
62430         * scripts/config.guess: Update from upstream config git repository.
62431         * scripts/config.sub: Likewise.
62433 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
62435         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
62436         (EM_NUM): Update.
62437         (R_TILEPRO_*, R_TILEGX_*): New macros.
62439         * scripts/firstversions.awk: Fix bug in version range handling.
62441         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
62443         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
62445         * include/sys/epoll.h: New file.
62446         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
62447         libc_hidden_def.
62449 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
62451         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
62452         Avoid unnecessary __WORDSIZE == 64 test.
62453         (fmaxf): Use VEX format if possible.
62454         (fmax): Likewise.
62455         (fminf): Likewise.
62456         (fmin): Likewise.
62458         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
62459         * math/math_private.h: Remove libc_fegetround* and
62460         libc_fesetround*.
62461         * sysdeps/i386/configure.in: Check for -msse2avx.
62462         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
62463         also if SSE2AVX is defined.
62464         Remove libc_fegetround* and libc_fesetround*.
62465         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
62466         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
62467         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
62468         of HAS_YMM_USABLE.
62469         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62470         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62471         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62472         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62473         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62475         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
62477 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62479         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
62480         size is not set.
62481         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62483 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
62485         [BZ #13618]
62486         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
62487         relocation.
62488         * Makeconfig (libm): Define.
62489         * elf/Makefile: Add rules to build and run tst-relsort1.
62490         * elf/tst-relsort1.c: New file.
62491         * elf/tst-relsort1mod1.c: New file.
62492         * elf/tst-relsort1mod2.c: New file.
62494 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
62496         * math/s_ldexp.c: Remove __STDC__ conditionals.
62497         * math/s_ldexpf.c: Likewise.
62498         * math/s_ldexpl.c: Likewise.
62499         * math/s_nextafter.c: Likewise.
62500         * math/s_nexttowardf.c: Likewise.
62501         * math/s_significand.c: Likewise.
62502         * math/s_significandf.c: Likewise.
62503         * math/s_significandl.c: Likewise.
62504         * math/w_jnl.c: Likewise.
62505         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
62506         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
62507         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
62508         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
62509         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
62510         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62511         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
62512         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62513         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62514         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62515         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62516         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62517         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62518         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
62519         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62520         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62521         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62522         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62523         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
62524         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
62525         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
62526         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62527         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62528         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62529         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62530         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62531         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62532         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62533         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62534         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62535         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62536         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62537         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62538         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62539         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62540         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62541         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62542         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62543         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62544         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62545         * sysdeps/ieee754/k_standard.c: Likewise.
62546         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62547         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62548         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62549         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62550         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62551         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62552         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62553         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62554         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62555         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62556         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62557         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62558         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62559         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62560         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62561         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62562         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62563         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62564         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62565         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62566         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62567         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62568         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62569         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62570         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62571         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62572         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62573         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62574         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62575         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62576         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62577         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
62578         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62579         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62580         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62581         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62582         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
62583         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62584         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62585         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
62586         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
62587         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62588         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
62589         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
62590         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62591         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62592         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62593         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62594         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62595         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
62596         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
62597         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62598         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62599         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62600         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62601         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62602         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
62603         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62604         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62605         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62606         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62607         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62608         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62609         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62610         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62611         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62612         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62613         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62614         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62615         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62616         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62617         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62618         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62619         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62620         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62621         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62622         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62623         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62624         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62625         * sysdeps/ieee754/s_matherr.c: Likewise.
62626         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62627         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62628         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62629         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62631 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
62633         * crypt/md5.h: Remove __STDC__ conditionals.
62634         * libio/libioP.h: Likewise.
62635         * locale/programs/config.h: Likewise.
62636         * sysdeps/generic/sysdep.h: Likewise.
62637         * sysdeps/i386/asm-syntax.h: Likewise.
62638         * sysdeps/s390/asm-syntax.h: Likewise.
62639         * sysdeps/unix/sysdep.h: Likewise.
62640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
62641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62643 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
62645         * libio/libio.h: Remove __STDC__ conditionals.
62646         * malloc/obstack.h: Likewise.
62647         * math/complex.h: Likewise.
62648         * math/math.h: Likewise.
62649         * sysdeps/generic/_G_config.h: Likewise.
62650         * sysdeps/gnu/_G_config.h: Likewise.
62651         * sysdeps/mach/hurd/_G_config.h: Likewise.
62652         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62653         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
62654         * sysdeps/sparc/bits/mathdef.h: Likewise.
62656 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
62658         [BZ #13583]
62659         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
62660         Clean up HAS_* macros.
62661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
62662         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
62663         possible.
62664         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
62665         HAS_AVX.
62666         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
62667         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
62668         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
62669         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
62670         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
62672 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
62674         * elf/tst-unique3.cc (gets): Remove declaration.
62675         * elf/tst-unique3lib.cc (gets): Likewise.
62676         * elf/tst-unique3lib2.cc (gets): Likewise.
62677         * elf/tst-unique4.cc (gets): Likewise.
62679 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
62681         * include/stdio.h: Add C++ protection.  Add gets declarations and
62682         definitions.
62683         * debug/tst-chk1.c: Don't declare gets here.
62684         * stdio-common/tst-gets.c: Likewise.
62686 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
62688         * posix/glob: Remove directory.
62690 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
62692         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
62694 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
62696         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
62697         of the non-standard EPFNOSUPPORT.
62699 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62701         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
62702         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
62703         ANYWHERE set to 1 only on KERN_NO_SPACE error.
62705 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
62707         * wcsmbs/uchar.h: Test __STDC_VERSION__.
62709 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
62711         * nscd/aicache.c (addhstaiX): Do not cache negative results of
62712         transient errors.
62713         * nscd/grpcache.c (cache_addgr): Likewise.
62714         * nscd/hstcache.c (cache_addhst): Likewise.
62715         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62716         * nscd/pwdcache.c (cache_addpw): Likewise.
62717         * nscd/servicescache.c (cache_addserv): Likewise.
62719 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
62721         * malloc/malloc.c: Various cleanups.
62722         * malloc/hooks.c: Likewise.
62724         * stdlib/Makefile (tests): Add bug-fmtmsg1.
62725         * stdlib/bug-fmtmsg1.c: New file.
62727         * stdlib/fmtmsg.c (init): Add missing unlock.
62728         Patch by Peng Haitao <penght@cn.fujitsu.com>.
62730 2012-01-12  Marek Polacek  <polacek@redhat.com>
62732         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
62733         and _GNU_SOURCE.
62735 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
62737         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
62738         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
62739         macro to ensure uniqueness of label name.
62740         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
62741         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
62743 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
62745         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
62747         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
62748         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62749         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62750         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
62752 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
62754         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
62756         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
62757         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62758         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62760         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
62762         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
62763         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62764         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62765         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
62767         * math/bits/math-finite.h: Add ldexp support.
62769 2012-01-10  Marek Polacek  <polacek@redhat.com>
62771         * locale/programs/localedef.h (show_archive_content): Add noreturn
62772         attribute.
62774 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
62776         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
62778 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62780         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
62782         * io/Makefile (headers): Add bits/poll2.h.
62784 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
62786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
62787         typo #include statement.
62789 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62791         * include/sys/cdefs.h: Define __attribute_alloc_size.
62792         * catgets/gencat.c: Add alloc_size attribute and apply consistently
62793         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
62794         * elf/pldd.c: Likewise.
62795         * iconv/iconv_charmap.c: Likewise.
62796         * iconv/iconvconfig.c: Likewise.
62797         * iconv/strtab.c: Likewise.
62798         * locale/programs/locale.c: Likewise.
62799         * locale/programs/localedef.h: Likewise.
62800         * locale/programs/simple-hash.c: Likewise.
62801         * nscd/nscd.h: Likewise.
62802         * nss/makedb.c: Likewise.
62803         * sysdeps/generic/ldconfig.h: Likewise.
62804         * locale/programs/localedef.c: Remove xmalloc prototype.
62805         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
62807 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62809         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
62810         appropriate.
62812 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
62814         * math/Makefile (tests): Add tst-CMPLX.
62815         * math/tst-CMPLX.c: New file.
62817         * math/complex.h (CMPLXL): Fix typo.
62819         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
62820         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
62821         GLIBC_2.16.
62822         * debug/tst-chk1.c: Add poll and ppoll tests.
62823         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
62824         * include/sys/poll.h: Add hidden proto for ppoll.
62825         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
62826         * sysdeps/mach/hurd/ppoll.c: Likewise.
62827         * io/ppoll.c: Likewise.
62828         * debug/poll_chk.c: New file.
62829         * debug/ppoll_chk.c: New file.
62830         * include/bits/poll2.h: New file.
62831         * io/bits/poll2.h: New file.
62833         [BZ #1350]
62834         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
62836         * configure.in: static is always set to yes.  Remove.
62837         * config.make.in: Don't set build-static.
62838         * Makeconfig: Remove use of build-static.
62839         * dlfcn/Makefile: Likewise.
62840         * elf/Makefile: Likewise.
62841         * math/Makefile: Likewise.
62842         * misc/Makefile: Likewise.
62843         * nptl/Makefile: Likewise.
62844         * sysdeps/mach/hurd/Makefile: Likewise.
62846         * configure.in: PWD_P is not used anymore.
62847         * config.make.in: Remove PWD_P entry.
62849         * configure.in: Remove last remnants of RANLIB.
62850         No need to check for signed size_t anymore.
62851         Don't set libc_commonpagesize and libc_relro_required here for Alpha
62852         and IA-64.
62853         Remove __builtin_expect test because we require at least gcc 3.4.
62854         * aclocal.m4: Likewise.
62856         * wcsmbs/mbrtoc16.c: Implement using towc function.
62857         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
62858         * wcsmbs/wcsmbsload.c: Likewise.
62859         * iconv/gconv_simple.c: Likewise.
62860         * iconv/gconv_int.h: Likewise.
62861         * iconv/gconv_builtin.h: Likewise.
62862         * iconv/iconv_prog.c: Remove CHAR16 handling.
62864         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
62866         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
62868         * configure.in: Remove --with-elf and --enable-bounded options.
62869         Dont set base_machine for ia64.  More non-ELF conditions removed.
62870         Remove testing and setting of leading underscore information.
62871         * config.make.in (build-bounded): Set to no.
62872         * config.h.in: Remove NO_UNDERSCORES entry.
62873         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
62874         them.
62875         * csu/start.c: Remove !NO_UNDERSCORE code.
62876         * locale/localeinfo.h: Likewise.
62877         * sysdeps/generic/machine-gmon.h: Likewise.
62878         * sysdeps/generic/sysdep.h: Likewise.
62879         * sysdeps/i386/sysdep.h: Likewise.
62880         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
62881         * sysdeps/mach/sysdep.h: Likewise.
62882         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62883         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62884         * sysdeps/sh/sysdep.h: Likewise.
62885         * sysdeps/sparc/sparc32/alloca.S: Likewise.
62886         * sysdeps/unix/i386/sysdep.S: Likewise.
62887         * sysdeps/unix/sparc/start.c: Likewise.
62888         * sysdeps/unix/sparc/sysdep.S: Likewise.
62889         * sysdeps/unix/sparc/sysdep.h: Likewise.
62890         * sysdeps/unix/start.c: Likewise.
62891         * sysdeps/unix/x86_64/sysdep.S: Likewise.
62892         * sysdeps/x86_64/sysdep.h: Likewise.
62894 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
62896         [BZ #13553]
62897         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
62898         for non-gcc.
62899         * argp/argp-fmtstream.h: Use const instead __const.
62900         * argp/argp.h: Likewise.
62901         * assert/assert.h: Likewise.
62902         * bits/fenv.h: Likewise.
62903         * bits/sched.h: Likewise.
62904         * bits/sigset.h: Likewise.
62905         * bits/sigthread.h: Likewise.
62906         * catgets/nl_types.h: Likewise.
62907         * conform/data/pthread.h-data: Likewise.
62908         * crypt/crypt-private.h: Likewise.
62909         * crypt/crypt.h: Likewise.
62910         * crypt/crypt_util.c: Likewise.
62911         * ctype/ctype.h: Likewise.
62912         * debug/execinfo.h: Likewise.
62913         * debug/mbsnrtowcs_chk.c: Likewise.
62914         * debug/mbsrtowcs_chk.c: Likewise.
62915         * debug/wcsnrtombs_chk.c: Likewise.
62916         * debug/wcsrtombs_chk.c: Likewise.
62917         * debug/wcstombs_chk.c: Likewise.
62918         * dirent/dirent.h: Likewise.
62919         * dlfcn/dlfcn.h: Likewise.
62920         * elf/neededtest4.c: Likewise.
62921         * grp/grp.h: Likewise.
62922         * gshadow/gshadow.h: Likewise.
62923         * iconv/gconv.h: Likewise.
62924         * iconv/gconv_int.h: Likewise.
62925         * iconv/gconv_simple.c: Likewise.
62926         * iconv/iconv.h: Likewise.
62927         * iconv/loop.c: Likewise.
62928         * iconv/skeleton.c: Likewise.
62929         * include/aio.h: Likewise.
62930         * include/aliases.h: Likewise.
62931         * include/argz.h: Likewise.
62932         * include/arpa/inet.h: Likewise.
62933         * include/assert.h: Likewise.
62934         * include/dirent.h: Likewise.
62935         * include/dlfcn.h: Likewise.
62936         * include/execinfo.h: Likewise.
62937         * include/fcntl.h: Likewise.
62938         * include/fenv.h: Likewise.
62939         * include/glob.h: Likewise.
62940         * include/grp.h: Likewise.
62941         * include/libintl.h: Likewise.
62942         * include/mntent.h: Likewise.
62943         * include/netdb.h: Likewise.
62944         * include/pwd.h: Likewise.
62945         * include/rpc/netdb.h: Likewise.
62946         * include/sched.h: Likewise.
62947         * include/search.h: Likewise.
62948         * include/shadow.h: Likewise.
62949         * include/signal.h: Likewise.
62950         * include/stdio.h: Likewise.
62951         * include/stdlib.h: Likewise.
62952         * include/string.h: Likewise.
62953         * include/sys/socket.h: Likewise.
62954         * include/sys/stat.h: Likewise.
62955         * include/sys/statfs.h: Likewise.
62956         * include/sys/statvfs.h: Likewise.
62957         * include/sys/syslog.h: Likewise.
62958         * include/sys/time.h: Likewise.
62959         * include/sys/uio.h: Likewise.
62960         * include/time.h: Likewise.
62961         * include/unistd.h: Likewise.
62962         * include/utmp.h: Likewise.
62963         * include/wchar.h: Likewise.
62964         * include/wctype.h: Likewise.
62965         * inet/aliases.h: Likewise.
62966         * inet/arpa/inet.h: Likewise.
62967         * inet/netinet/ether.h: Likewise.
62968         * inet/netinet/in.h: Likewise.
62969         * intl/libintl.h: Likewise.
62970         * io/bits/fcntl2.h: Likewise.
62971         * io/fcntl.h: Likewise.
62972         * io/ftw.h: Likewise.
62973         * io/sys/poll.h: Likewise.
62974         * io/sys/stat.h: Likewise.
62975         * io/sys/statfs.h: Likewise.
62976         * io/sys/statvfs.h: Likewise.
62977         * io/utime.h: Likewise.
62978         * libio/bits/stdio.h: Likewise.
62979         * libio/bits/stdio2.h: Likewise.
62980         * libio/libio.h: Likewise.
62981         * libio/libioP.h: Likewise.
62982         * libio/stdio.h: Likewise.
62983         * locale/lc-ctype.c: Likewise.
62984         * locale/locale.h: Likewise.
62985         * login/utmp.h: Likewise.
62986         * malloc/arena.c: Likewise.
62987         * malloc/malloc.c: Likewise.
62988         * malloc/malloc.h: Likewise.
62989         * malloc/mcheck.c: Likewise.
62990         * malloc/mtrace.c: Likewise.
62991         * math/bits/mathcalls.h: Likewise.
62992         * math/fenv.h: Likewise.
62993         * math/math_private.h: Likewise.
62994         * misc/bits/error.h: Likewise.
62995         * misc/bits/syslog.h: Likewise.
62996         * misc/err.h: Likewise.
62997         * misc/error.h: Likewise.
62998         * misc/fstab.h: Likewise.
62999         * misc/mntent.h: Likewise.
63000         * misc/regexp.h: Likewise.
63001         * misc/search.h: Likewise.
63002         * misc/sgtty.h: Likewise.
63003         * misc/sys/mman.h: Likewise.
63004         * misc/sys/syslog.h: Likewise.
63005         * misc/sys/uio.h: Likewise.
63006         * misc/sys/xattr.h: Likewise.
63007         * misc/ttyent.h: Likewise.
63008         * nis/rpcsvc/ypclnt.h: Likewise.
63009         * nss/nss.h: Likewise.
63010         * posix/bits/unistd.h: Likewise.
63011         * posix/fnmatch.h: Likewise.
63012         * posix/glob.h: Likewise.
63013         * posix/sched.h: Likewise.
63014         * posix/spawn.h: Likewise.
63015         * posix/sys/wait.h: Likewise.
63016         * posix/unistd.h: Likewise.
63017         * posix/wordexp.h: Likewise.
63018         * pwd/pwd.h: Likewise.
63019         * resolv/netdb.h: Likewise.
63020         * resource/sys/resource.h: Likewise.
63021         * rt/aio.h: Likewise.
63022         * rt/bits/mqueue2.h: Likewise.
63023         * rt/mqueue.h: Likewise.
63024         * shadow/shadow.h: Likewise.
63025         * signal/signal.h: Likewise.
63026         * socket/send.c: Likewise.
63027         * socket/sendto.c: Likewise.
63028         * socket/sys/socket.h: Likewise.
63029         * stdio-common/printf.h: Likewise.
63030         * stdlib/bits/stdlib.h: Likewise.
63031         * stdlib/fmtmsg.h: Likewise.
63032         * stdlib/monetary.h: Likewise.
63033         * stdlib/stdlib.h: Likewise.
63034         * stdlib/ucontext.h: Likewise.
63035         * streams/stropts.h: Likewise.
63036         * string/argz.h: Likewise.
63037         * string/bits/string2.h: Likewise.
63038         * string/string.h: Likewise.
63039         * string/strings.h: Likewise.
63040         * sunrpc/rpc/auth.h: Likewise.
63041         * sunrpc/rpc/auth_des.h: Likewise.
63042         * sunrpc/rpc/clnt.h: Likewise.
63043         * sunrpc/rpc/netdb.h: Likewise.
63044         * sunrpc/rpc/pmap_clnt.h: Likewise.
63045         * sunrpc/rpc/xdr.h: Likewise.
63046         * sysdeps/generic/inttypes.h: Likewise.
63047         * sysdeps/generic/net/if.h: Likewise.
63048         * sysdeps/generic/sys/swap.h: Likewise.
63049         * sysdeps/gnu/net/if.h: Likewise.
63050         * sysdeps/gnu/utmpx.h: Likewise.
63051         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
63052         * sysdeps/i386/i486/bits/string.h: Likewise.
63053         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
63054         * sysdeps/s390/bits/string.h: Likewise.
63055         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
63056         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
63057         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
63058         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
63059         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
63060         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
63061         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
63062         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
63063         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
63064         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
63065         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
63066         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
63067         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
63068         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
63069         * sysdeps/unix/sysv/linux/readv.c: Likewise.
63070         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
63071         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
63072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63073         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
63074         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
63075         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63076         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
63077         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
63078         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
63079         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
63080         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
63081         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
63082         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63083         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
63084         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
63085         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
63086         * sysvipc/sys/ipc.h: Likewise.
63087         * sysvipc/sys/msg.h: Likewise.
63088         * sysvipc/sys/sem.h: Likewise.
63089         * sysvipc/sys/shm.h: Likewise.
63090         * termios/termios.h: Likewise.
63091         * time/sys/time.h: Likewise.
63092         * time/time.h: Likewise.
63093         * wcsmbs/bits/wchar2.h: Likewise.
63094         * wcsmbs/uchar.h: Likewise.
63095         * wcsmbs/wchar.h: Likewise.
63096         * wctype/wctype.h: Likewise.
63098         [BZ #13551]
63099         * Makeconfig: Remove all but ELF support including AIX support.
63100         * Makerules: Likewise.
63101         * config.h.in: Likewise.
63102         * config.make.in: Likewise.
63103         * configure: Likewise.
63104         * configure.in: Likewise.
63105         * csu/Makefile: Likewise.
63106         * csu/version.c: Likewise.
63107         * debug/Makefile: Likewise.
63108         * dlfcn/Makefile: Likewise.
63109         * elf/Makefile: Likewise.
63110         * extra-lib.mk: Likewise.
63111         * iconv/Makefile: Likewise.
63112         * include/libc-symbols.h: Likewise.
63113         * include/shlib-compat.h: Likewise.
63114         * resolv/Makefile: Likewise.
63115         * resolv/res_libc.c: Likewise.
63116         * rt/Makefile: Likewise.
63117         * sysdeps/i386/asm-syntax.h: Likewise.
63118         * sysdeps/i386/sysdep.h: Likewise.
63119         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
63120         * sysdeps/mach/sysdep.h: Likewise.
63121         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
63122         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
63123         * sysdeps/s390/asm-syntax.h: Likewise.
63124         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63125         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63126         * sysdeps/sh/sysdep.h: Likewise.
63127         * sysdeps/unix/sparc/sysdep.h: Likewise.
63128         * sysdeps/wordsize-32/divdi3.c: Likewise.
63129         * sysdeps/x86_64/sysdep.h: Likewise.
63131         * argp/Versions: Remove _argp_unlock_xxx.
63133         [BZ #13559]
63134         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
63135         * abilist/libBrokenLocale.abilist: Likewise.
63136         * abilist/libanl.abilist: Likewise.
63137         * abilist/libc.abilist: Likewise.
63138         * abilist/libcrypt.abilist: Likewise.
63139         * abilist/libdl.abilist: Likewise.
63140         * abilist/libm.abilist: Likewise.
63141         * abilist/libnsl.abilist: Likewise.
63142         * abilist/libpthread.abilist: Likewise.
63143         * abilist/libresolv.abilist: Likewise.
63144         * abilist/librt.abilist: Likewise.
63145         * abilist/libthread_db.abilist: Likewise.
63146         * abilist/libutil.abilist: Likewise.
63147         * abilist/libnss_db.abilist: New file.
63149         * scripts/abilist.awk: Add support for indirect functions.
63151         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
63153         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
63155         * shlib-versions: Remove entries for ports architectures.
63157         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
63158         files in ports.
63159         * elf/stackguard-macros.h: Remove support for IA-64.
63160         * elf/tst-auditmod1.c: Likewise.
63161         * sysdeps/generic/ldsodefs.h: Likewise.
63163         * sysdeps/unix/sysv/linux/configure.in: Ports should define
63164         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
63165         configure files.
63167         [BZ #13552]
63168         * configure.in: Remove --enable-omitfp support.
63169         * FAQ.in: Adjust.
63170         * config.make.in: Likewise.
63171         * Makeconfig: Likewise.
63172         * manual/install.texi: Likewise.
63174         In case anyone cares, the IA-64 architecture could move to ports.
63175         * sysdeps/ia64/*: Removed.
63176         * sysdeps/unix/sysv/linux/ia64/*: Removed.
63177         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
63179         [BZ #13555]
63180         * configure.in: Remove entries for unsupported architectures.
63182         [BZ #13533]
63183         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
63184         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
63185         routines.
63186         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
63187         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
63188         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
63189         fall back to using wcrtomb.
63190         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
63191         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
63192         renaming.
63193         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
63194         * wcsmbs/tst-c16c32-1.c: New file.
63196         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
63197         local variable.
63199         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
63201         * elf/tst-unique3.cc: Add explicit declaration of gets.
63202         * elf/tst-unique3lib.cc: Likewise.
63203         * elf/tst-unique3lib2.cc: Likewise.
63204         * elf/tst-unique4.cc: Likewise.
63206         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
63208 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
63210         [BZ #13566]
63211         * assert/assert.h (static_assert): Don't define for C++.
63212         * libio/stdio.h (gets): Do declare for C++ <= C++11.
63213         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
63215 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
63217         * iconv/loop.c (single loop): Fix assertion in storing of
63218         remaining bytes.
63220         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
63222 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
63224         * posix/getconf.c: Update copyright year.
63225         * nss/getent.c: Likewise.
63226         * nss/makedb.c: Likewise.
63227         * iconv/iconvconfig.c: Likewise.
63228         * iconv/iconv_prog.c: Likewise.
63229         * elf/ldconfig.c: Likewise.
63230         * elf/pldd.c: Likewise.
63231         * elf/sotruss.ksh: Likewise.
63232         * catgets/gencat.c: Likewise.
63233         * csu/version.c: Likewise.
63234         * elf/ldd.bash.in: Likewise.
63235         * elf/sprof.c (print_version): Likewise.
63236         * locale/programs/locale.c: Likewise.
63237         * locale/programs/localedef.c: Likewise.
63238         * login/programs/pt_chown.c: Likewise.
63239         * nscd/nscd.c (print_version): Likewise.
63240         * debug/xtrace.sh: Likewise.
63241         * malloc/memusage.sh: Likewise.
63242         * malloc/mtrace.pl: Likewise.
63243         * debug/catchsegv.sh: Likewise.
63245 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
63247         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
63248         pure attribute.
63250 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
63252         [BZ #13533]
63253         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
63254         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
63255         transformations.
63256         * iconv/gconv_int.h: Likewise.
63257         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
63258         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
63259         from libc for GLIBC_2.16.
63260         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
63261         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
63262         * wcsmbs/uchar.h: Really define mbstate_t.
63263         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
63264         * wcsmbs/c16rtomb.c: New file.
63265         * wcsmbs/mbrtoc16.c: New file.
63266         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
63267         for C/POSIX locale.
63268         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
63269         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
63271         * wcsmbs/wchar.h: Add missing __restrict.
63273 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63275         [BZ #13532]
63276         * time/Makefile (routines): Add timespec_get.
63277         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
63278         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
63279         timespec for ISO C11.
63280         * time/timespec_get.c: New file.
63281         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
63282         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
63284         [BZ #13531]
63285         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
63286         * stdlib/stdlib.h: Declare aligned_alloc.
63287         * Versions.def: Add GLIBC_2.16 for libc.
63288         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
63290         [BZ 13527]
63291         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
63292         ISO C11.
63294         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
63295         code.
63297         [BZ #13528]
63298         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
63300         [BZ #13529]
63301         * assert/assert.h (static_assert): Define.
63303         * version.h: Update for 2.16 development version.
63305         [BZ #13526]
63306         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
63307         _ISOC11_SOURCE.
63309         * version.h (RELEASE): Bump for 2.15 release.
63310         * include/features.h (__GLIBC_MINOR__): Bump to 15.
63312         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
63313         Patch by Marek Polacek <mpolacek@redhat.com>.
63315         * bits/byteswap.h: Protect long long constants with __extension__.
63316         * sysdeps/i386/bits/byteswap.h: Likewise.
63317         * sysdeps/ia64/bits/byteswap.h: Likewise.
63318         * sysdeps/s390/bits/byteswap.h: Likewise.
63319         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63321 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63323         [BZ #13540]
63324         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
63325         destination buffer.
63326         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
63328 2011-12-23  Marek Polacek  <polacek@redhat.com>
63330         * elf/dl-addr.c (determine_info): Add inline keyword.
63331         * elf/tst-auditmod4b.c (check_avx): Likewise.
63332         * elf/tst-auditmod6b.c (check_avx): Likewise.
63333         * elf/tst-auditmod6c.c (check_avx): Likewise.
63334         * elf/tst-auditmod7b.c (check_avx): Likewise.
63336 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
63338         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
63339         !__SSE_MATH__.
63341 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63343         [BZ #13540]
63344         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
63345         processing for last bytes.
63347 2011-08-06  Bruno Haible  <bruno@clisp.org>
63349         [BZ #13061]
63350         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
63351         U+0385, not to U+1FEE.
63353         [BZ #13062]
63354         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
63355         entry for U+00A5 U+0301.
63357 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63359         [BZ #13166]
63360         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
63361         buffer for the output is too small.
63363         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
63364         optimization.
63366         [BZ #13185]
63367         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
63368         SSE flags if possible.
63370 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63372         [BZ #13540]
63373         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
63374         processing for last bytes.
63376 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
63378         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
63379         (syscall-list-default-options, syscall-list-default-condition)
63380         (syscall-list-includes): Define.
63381         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
63382         list of ABIs and options and #if conditions for each ABI.  Do not
63383         handle common syscalls between ABIs specially.
63384         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
63385         Remove.
63386         (syscall-list-variants, syscall-list-32bit-options)
63387         (syscall-list-32bit-condition, syscall-list-64bit-options)
63388         (syscall-list-64bit-condition): Define.
63389         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
63390         (syscall-list-variants, syscall-list-32bit-options)
63391         (syscall-list-32bit-condition, syscall-list-64bit-options)
63392         (syscall-list-64bit-condition): Define.
63393         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
63394         Remove.
63395         (syscall-list-variants, syscall-list-32bit-options)
63396         (syscall-list-32bit-condition, syscall-list-64bit-options)
63397         (syscall-list-64bit-condition): Define.
63398         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
63399         Remove.
63400         (syscall-list-variants, syscall-list-32bit-options)
63401         (syscall-list-32bit-condition, syscall-list-64bit-options)
63402         (syscall-list-64bit-condition): Define.
63404 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
63406         * locale/iso-639.def: Add brx entry.
63408         [BZ #13328]
63409         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
63410         Proposed by Mariusz_Cukr <marcukr@op.pl>.
63412         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
63413         __feraiseexcept_renamed.
63415 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63417         [BZ #13538]
63418         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
63419         EPOLLET with unsigned values.
63420         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63421         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
63423         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
63424         to large cancellation.
63425         * math/s_cacoshf.c: Likewise.
63426         * math/s_cacoshl.c: Likewise.
63428 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
63430         [BZ #13305]
63431         [BZ #12786]
63432         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
63433         * math/s_cacoshf.c: Likewise.
63434         * math/s_cacoshl.c: Likewise.
63436 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
63438         [BZ #13439]
63439         * iconv/gconv.h: Define __GCONV_SWAP.
63440         * iconvdata/unicode.c: The swap bit must be stored in __flags.
63441         * iconvdata/utf-16.c: Likewise.
63442         * iconvdata/utf-32.c: Likewise.
63444 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
63446         [BZ #13524]
63447         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
63448         numerator after shifting it by one limb.
63450 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
63452         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
63453         under [__USE_EXTERN_INLINES].
63455 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63457         [BZ #13446]
63458         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
63460 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63462         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
63463         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
63464         optimized code.
63465         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
63466         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
63467         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
63468         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
63469         for strncasecmp/strncasecmp_l compilation.
63470         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
63471         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
63473 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
63475         [BZ #13484]
63476         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
63477         of __asm__.
63479 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
63481         [BZ #13506]
63482         * time/tzfile.c (__tzfile_read): Check values from file header.
63484 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63486         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
63487         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
63488         * powerpc/powerpc32/dl-start.S: Likewise.
63489         * powerpc/powerpc32/elf/start.S: Likewise.
63490         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
63491         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
63492         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
63493         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
63494         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
63495         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
63496         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
63497         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63498         * powerpc/powerpc32/fpu/s_round.S: Likewise.
63499         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
63500         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
63501         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
63502         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
63503         * powerpc/powerpc32/memset.S: Likewise.
63504         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
63505         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
63506         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
63507         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
63508         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
63509         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63510         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63511         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63512         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
63513         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
63514         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
63515         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
63516         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
63518 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63520         * math/libm-test.inc: Added more nearbyint tests.
63521         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
63522         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
63523         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
63524         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
63526 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
63528         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
63529         FD_CLOEXEC.
63531 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63533         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
63534         Add wcscpy-ssse3 wcscpy-c.
63535         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
63536         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
63537         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
63538         * sysdeps/x86_64/wcschr.S: New file.
63539         * sysdeps/x86_64/wcsrchr.S: New file.
63540         * string/test-strcmp.c: Remove checking of wcscmp function for
63541         wrong alignments.
63542         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
63543         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
63544         wcsrchr-sse2 wcsrchr-c.
63545         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
63546         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
63547         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
63548         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
63549         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
63550         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
63551         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
63552         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
63553         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
63554         * wcsmbc/wcschr.c (WCSCHR): New macro.
63556 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63558         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
63559         * wcsmbs/test-wcsrchr.c: New file.
63560         * string/test-strrchr.c: Add wcsrchr support.
63561         (WIDE): New macro.
63562         * wcsmbs/test-wcscpy.c: New file.
63563         * string/test-strcpy.c: Add wcscpy support.
63564         (WIDE): New macro.
63566 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
63568         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
63569         the inner loop.
63571 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
63573         [BZ #13472]
63574         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
63576 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
63578         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
63579         Minor optimizations.
63581         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
63582         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
63583         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
63585 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
63587         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
63588         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
63589         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
63590         for gcc to avoid warnings.
63591         * inet/Makefile (tests): Add tst-checks.
63592         * inet/tst-checks.c: New file.
63594         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
63595         warning.
63597         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
63598         __wmemcmp_sse2.
63600         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
63601         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
63603         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
63605 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
63607         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
63608         problem.
63610         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
63612 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
63614         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
63615         conditional on GCC version.
63616         (__arch_compare_and_exchange_val_8_acq)
63617         (__arch_compare_and_exchange_val_16_acq)
63618         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
63619         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
63620         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
63622 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
63624         * sysdeps/sh/backtrace.c: New file.
63626 2011-12-02  Andreas Schwab  <schwab@redhat.com>
63628         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
63629         parenthesis.
63631 2011-12-01  Andreas Schwab  <schwab@redhat.com>
63633         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
63634         falling back to utime.
63636 2011-11-30  Andreas Schwab  <schwab@redhat.com>
63638         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
63639         expectations for float.
63641 2011-11-29  Andreas Schwab  <schwab@redhat.com>
63643         * locale/weight.h (findidx): Add parameter len.
63644         * locale/weightwc.h (findidx): Likewise.
63645         * posix/fnmatch_loop.c (FCT): Adjust caller.
63646         * posix/regcomp.c (build_equiv_class): Likewise.
63647         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
63648         * posix/regexec.c (check_node_accept_bytes): Likewise.
63649         * string/strcoll_l.c (STRCOLL): Likewise.
63650         * string/strxfrm_l.c (STRXFRM): Likewise.
63652 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
63654         * Makefile.in: Remove CVSOPT handling.
63655         * configure.in: Remove use of AC_REVISION.
63656         * iconvdata/Makefile (distribute): No need to filter out CVS.
63657         * scripts/list-sources.sh: Remove CVS, subversion and monotone
63658         handling.
63660 2011-11-16  Andreas Schwab  <schwab@redhat.com>
63662         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
63663         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
63664         [USE_AS_STRNCASECMP_L]: Likewise.
63665         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
63666         NO_TLS_DIRECT_SEG_REFS.
63667         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
63668         Fix argument offsets for non-PIC.
63669         [USE_AS_STRNCASECMP_L]: Likewise.
63670         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
63671         NO_TLS_DIRECT_SEG_REFS.
63673 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
63675         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
63676         O_CLOEXEC.
63677         * locale/loadlocale.c (_nl_load_locale): Likewise.
63679 2011-11-15  Andreas Schwab  <schwab@redhat.com>
63681         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
63682         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
63683         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
63684         (SYSCALL_GETTIME): Set errno on error.
63686         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
63687         count references to noai6ai_cached.
63689 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
63691         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
63693         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
63694         FD_CLOEXEC for /proc/self/maps.
63696         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
63697         FD_CLOEXEC for /proc/meminfo.
63699         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
63700         gai.conf.
63702         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
63703         FD_CLOEXEC for given file.
63705         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
63707         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
63708         FD_CLOEXEC for /etc/hosts.
63709         (_gethtent): Likewise.
63711         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
63713         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
63714         cancellation and set FD_CLOEXEC for /etc/netgroup.
63716         * nss/nss_files/files-key.c (search): Don't allow cancellation when
63717         reading /etc/publickey.
63719         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
63720         allow cancellation when reading /etc/group.
63722         * nss/nss_files/files-alias.c (internal_setent): Don't allow
63723         cancellation.
63724         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
63726         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
63727         when using data file.
63729         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
63731         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
63732         (write_nis_obj): Use "c" and "e" in fopen.
63734         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
63736         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
63738         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
63740         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
63742         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
63743         locale.alias.
63745         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
63747         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
63749         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
63751         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
63752         file parsing and set FD_CLOEXEC.
63754 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
63756         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
63758 2011-11-14  Andreas Schwab  <schwab@redhat.com>
63760         * malloc/arena.c (arena_get2): Don't call reused_arena when
63761         _int_new_arena failed.
63763 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
63765         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
63766         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
63767         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
63768         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63769         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63770         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
63771         to compile strcasecmp and strncasecmp.
63772         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
63773         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
63775         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
63777 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
63779         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
63780         locale-defines.sym to gen-as-const-headers.
63781         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
63782         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
63783         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
63784         to compile strcasecmp and strncasecmp.
63785         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
63786         strcasecmp_l and strncasecmp_l.
63787         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
63788         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
63789         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
63790         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
63791         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
63792         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
63793         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
63794         * sysdeps/i386/i686/multiarch/strncase.S: New file.
63795         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
63796         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
63797         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
63799 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
63801         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
63802         result of SYSDEP_GETTIME_CPU to retval.
63803         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
63804         parameter list to macro.  Remove trailing semicolon.  Adjust users.
63806         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
63807         variable.
63809         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
63810         mantissa words.
63811         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
63813         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
63814         from unused variable.
63816         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
63817         DWARF definitions.
63818         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
63819         for assembling.
63821         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
63822         over namespaces.
63824         * sunrpc/rpc_prot.c (rejected): Fix case value.
63826         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
63827         unsigned long long int to avoid warnings in shift.
63829         * posix/regex_internal.c (re_string_reconstruct): Actually use result
63830         of use of trans.
63831         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
63832         variable tmp.
63834         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
63835         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
63836         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
63838         * nis/nis_table.c (nis_list): Use variable of correct type for
63839         result of __follow_path call.
63841 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63843         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
63844         of math functions ceil, trunc, floor, round, and sqrt, when
63845         avaliable on the platform.
63846         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
63847         name clash.
63848         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
63849         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
63850         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
63852 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
63854         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
63855         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63857 2011-11-11  Roland McGrath  <roland@hack.frob.com>
63859         * include/unistd.h: Fix __readlink return type.
63860         Reported by Chris Metcalf <cmetcalf@tilera.com>.
63862 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
63864         * stdlib/ucontext.h: Undo last change for makecontext.
63866 2011-11-11  Andreas Schwab  <schwab@redhat.com>
63868         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
63870         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
63871         * setjmp/setjmp.h: Mark functions as non-leaf.
63872         * setjmp/bits/setjmp2.h: Likewise.
63873         * stdlib/ucontext.h: Likewise.
63875 2011-11-10  Andreas Schwab  <schwab@redhat.com>
63877         * malloc/arena.c (_int_new_arena): Don't increment narenas.
63878         (reused_arena): Don't check arena limit.
63879         (arena_get2): Atomically check arena limit.
63881 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
63883         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
63884         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
63886         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
63887         instructions.
63889 2011-11-07  Andreas Schwab  <schwab@redhat.com>
63891         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
63892         handler when locking.
63894         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
63895         Fix size of allocated buffer.
63897 2011-11-04  Andreas Schwab  <schwab@redhat.com>
63899         [BZ #10103]
63900         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
63901         declarations for long double functions.
63902         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
63904         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
63906 2011-11-03  Andreas Schwab  <schwab@redhat.com>
63908         * nscd/nscd.c (main): Don't start AVC thread until credentials are
63909         installed.
63911         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
63912         is disabled.
63914 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63916         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
63918 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
63920         * include/alloca.h (stackinfo_alloca_round): Define.
63921         (extend_alloca): Use it.
63922         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
63923         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
63924         here.
63926         * scripts/check-local-headers.sh: Ignore libaudit.h.
63928         * nscd/Makefile (extra-objs): Make recursively expanded.
63930 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
63932         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
63933         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63935         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
63936         * posix/tst-rfc3484-2.c: Likewise.
63937         * posix/tst-rfc3484-3.c: Likewise.
63939         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63940         process_vm_writev.
63941         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
63942         process_vm_writev.
63943         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
63944         process_vm_writev from libc using GLIBC_2.15 version.
63946         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
63948 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
63950         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
63951         stack usage.
63953 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
63955         [BZ #13367]
63956         * nss/getent.c (initgroups_keys): Show error message in case no group
63957         names are given.
63959         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
63960         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
63961         __bump_nl_timestamp.
63962         * nscd/connections (nscd_init): When host database is served open
63963         netlink socket and request notification about configuration changes.
63964         (main_loop_poll): Track netlink file descriptor and bump timestamp
63965         in case data becomes available.
63966         (main_loop_epoll): Likewise.
63967         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
63968         (database_pers_head): Add extra_data fileds.
63969         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
63970         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
63971         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
63972         Adjust caller.
63973         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
63974         in6ai data, call __free_in6ai.
63975         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
63976         Add -DHAVE_NETLINK.
63977         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
63978         interface information.  Reuse previous data if netlink timestamp
63979         is not changed.
63980         (__bump_nl_timestamp): New function.
63981         (__free_in6ai): New function.
63983 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
63985         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
63986         close_not_cancel_no_status here.
63987         (__check_pf): Reorganize code a bit to not call close twice if OOM.
63989 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
63991         [BZ #13276]
63992         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
63993         return value.
63995         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
63996         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
63997         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
63999 2011-07-03  Andreas Jaeger  <aj@suse.de>
64001         [BZ #10709]
64002         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
64003         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
64004         * math/libm-test.inc (sin_test): Add test case.
64006 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
64008         [BZ #13337]
64009         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
64010         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64012         * elf/chroot_canon.c (chroot_canon): Cleanups.
64014         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
64016         [BZ #13335]
64017         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
64018         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
64020         * string/test-strchr.c: Make usable for strchrnul testing.
64021         * string/test-strchrnul.c: New file.
64022         * string/Makefile (strop-tests): Add strchrnul.
64024         * po/it.po: Update from translation team.
64025         * po/es.po: Likewise.
64027 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
64029         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
64030         the three constants needed as parameters.  Drop the others.
64031         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
64032         __m128i_strloadu_tolower.
64033         Create and initialize variable zero and use it in all the places
64034         where _mm_setzero_si128 was used.
64036         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
64037         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
64038         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
64039         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
64040         anymore.
64041         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
64042         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
64043         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
64044         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
64045         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
64046         __mpranred, __mptan.
64047         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
64048         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
64049         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
64050         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
64051         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
64052         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
64053         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
64054         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
64055         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
64057 2011-10-28  Andreas Schwab  <schwab@redhat.com>
64059         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
64060         redefine if SHARED.
64061         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
64063         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
64064         wide char related routines to wcsmbs subdir.
64066 2011-10-27  Andreas Schwab  <schwab@redhat.com>
64068         [BZ #13344]
64069         * misc/sys/cdefs.h (__THROWNL): Define.
64070         * posix/unistd.h: Use __THREADNL instead of __THREAD
64071         for memory synchronization functions.
64073 2011-10-26  Roland McGrath  <roland@hack.frob.com>
64075         [BZ #13349]
64076         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
64077         doesn't exist.
64078         * manual/stdio.texi (Obstack Streams): Node removed.
64080 2011-10-26  Andreas Schwab  <schwab@redhat.com>
64082         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
64083         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64084         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64086         * math/math_private.h (math_force_eval): Allow non-addressable
64087         arguments.
64088         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
64090 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64092         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
64093         file is not needed.
64095         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
64096         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
64097         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64098         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64099         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64100         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64101         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64102         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
64103         Add AVX variants.
64104         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
64105         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
64106         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
64107         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
64108         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
64109         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
64110         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
64111         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
64112         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
64113         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
64114         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
64115         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
64116         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
64117         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
64118         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
64119         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
64120         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
64121         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
64122         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
64124         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
64125         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
64127         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
64128         place.  Use VEX encoding when compiling for AVX.
64130 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64132         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
64133         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64135         * string/test-strchr.c (do_test): Don't generate NUL bytes.
64137 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64139         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
64140         useless if() expression.
64141         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64142         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
64143         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
64144         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64145         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
64146         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
64147         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64148         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64149         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64150         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64151         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64152         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64153         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
64154         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64155         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
64156         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
64157         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
64158         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
64159         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64161         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
64163 2011-10-25  Andreas Schwab  <schwab@redhat.com>
64165         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
64166         condition.
64167         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64169 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
64171         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
64172         .text section.  Avoid duplicate constants.
64173         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
64174         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64175         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64176         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64177         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64178         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64179         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64180         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64181         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
64182         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
64183         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
64184         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
64185         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
64186         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
64187         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
64188         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
64189         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
64190         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
64191         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
64192         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64193         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
64194         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
64195         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
64196         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
64197         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
64198         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
64199         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
64200         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
64201         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
64202         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
64203         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
64204         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
64205         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64206         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
64207         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
64208         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
64209         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
64210         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
64211         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
64212         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
64213         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
64214         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
64215         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
64216         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
64217         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
64219 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
64221         * sysdeps/x86_64/dla.h: Move to ...
64222         * sysdeps/x86_64/fpu/dla.h: ...here.
64223         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
64224         situations.  Use __builtin_fma only for gcc 4.6 and up.
64226         * config.make.in: Add have-mfma4 entry.
64227         * configure.in: Substitute libc_cv_cc_fma4.
64228         * math/Makefile (dbl-only-routines): Add sincostab.
64229         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
64230         Use __sincostab not sincos.
64231         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
64232         name is a macro.
64233         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64234         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64235         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64236         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
64237         using __copysign.
64238         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
64239         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
64240         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
64241         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
64242         and __inv.
64243         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
64244         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
64245         __copysign.
64246         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
64247         define aliases when function name is a macro.
64248         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
64249         sysdeps/ieee754/dbl-64/sincos.tbl.
64250         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
64251         fma4-enabled routines.
64252         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
64253         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
64254         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
64255         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
64256         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
64257         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
64258         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
64259         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
64260         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
64261         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
64262         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
64263         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
64264         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
64265         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
64266         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
64267         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
64268         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
64269         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
64270         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
64271         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
64272         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
64273         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
64274         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
64275         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
64276         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
64277         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
64278         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
64279         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
64280         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
64281         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
64283         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
64284         rename.
64285         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64286         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64287         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64288         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64289         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64290         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64291         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64292         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64294 2011-10-24  Andreas Schwab  <schwab@redhat.com>
64296         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
64298 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64300         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
64302         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
64303         prediction.
64304         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
64306         * string/strnlen.c: Don't define STRNLEN, reverse logic.
64307         Remove unused variable magic_bits.
64308         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
64310         * string/strnlen.c: Define and use STRNLEN macro.
64311         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
64312         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
64313         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
64314         * wcsmbs/wcslen.c: Define and use WCSLEN.
64315         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
64316         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
64317         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
64318         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
64319         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
64320         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
64321         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
64323 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64326         strnlen-sse2-no-bsf.
64327         Rename strlen-no-bsf to strlen-sse2-no-bsf.
64328         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
64329         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
64330         Add strnlen support.
64331         (USE_AS_STRNLEN): New macro.
64332         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
64333         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
64334         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
64335         * sysdeps/x86_64/wcslen.S: New file.
64337 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
64339         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64340         XMM-moves are used for copying on small sizes.
64342 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64344         * wcsmbs/Makefile (strop-tests): Add wcschr.
64345         * wcsmbs/test-wcschr.c: New file.
64346         * string/test-strchr.c: Update.
64347         Add wcschr support.
64348         (WIDE): New macro.
64350 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64352         * wcsmbs/Makefile (strop-tests): Add wcslen.
64353         * wcsmbs/test-wcslen.c: New file.
64354         * string/test-strlen.c: Update.
64355         Add wcslen support.
64356         (WIDE): New macro.
64358 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64360         * po/it.po: Update from translation team.
64362 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64364         * sysdeps/x86_64/wcscmp.S: Update.
64365         Fix wrong comparison semantics.
64366         wcscmp shall use signed comparison not unsigned.
64367         Don't use substraction to avoid overflow bug.
64368         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
64369         * wcsmbc/wcscmp.c: Likewise.
64370         * string/test-strcmp.c: Likewise.
64371         Add new tests to check cases with negative values.
64373 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
64375         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
64376         * sysdeps/x86_64/dla.h: ...here.  New file.
64377         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
64378         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64379         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64380         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64381         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64382         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64383         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64384         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64385         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64387 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
64389         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
64390         __ynl_finite aliases.
64392 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64396         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
64397         define DLA_FMA.
64398         [DLA_FMA] (EMULV): Use DLA_FMA.
64399         [DLA_FMA] (MUL12): Use EMULV.
64400         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
64401         that are not needed.
64402         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
64403         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64404         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64405         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64406         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64407         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
64408         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
64410 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
64412         * math/s_nan.c: Undef __nan.
64413         * math/s_nanf.c: Undef __nanf.
64414         * math/s_nanl.c: Undef __nanl.
64415         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
64416         "math_private.h".
64418 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
64420         * math/s_catan.c: Add branch predictions.
64421         * math/s_catanf.c: Likewise.
64422         * math/s_catanh.c: Likewise.
64423         * math/s_catanhf.c: Likewise.
64424         * math/s_catanhl.c: Likewise.
64425         * math/s_catanl.c: Likewise.
64426         * math/s_cexp.c: Likewise.
64427         * math/s_cexpf.c: Likewise.
64428         * math/s_cexpl.c: Likewise.
64429         * math/s_clog.c: Likewise.
64430         * math/s_clog10.c: Likewise.
64431         * math/s_clog10f.c: Likewise.
64432         * math/s_clog10l.c: Likewise.
64433         * math/s_clogf.c: Likewise.
64434         * math/s_clogl.c: Likewise.
64435         * math/s_csqrt.c: Likewise.
64436         * math/s_csqrtf.c: Likewise.
64437         * math/s_csqrtl.c: Likewise.
64438         * math/s_ctanf.c: Likewise.
64439         * math/s_ctanh.c: Likewise.
64440         * math/s_ctanhf.c: Likewise.
64441         * math/s_ctanhl.c: Likewise.
64442         * math/s_ctanl.c: Likewise.
64444         * math/math_private.h: Define __nan, __nanf, __nanl.
64445         * math/s_cacosh.c: Include <math_private.h>.
64446         * math/s_cacoshl.c: Likewise.
64447         * math/s_casinh.c: Likewise.
64448         * math/s_casinhf.c: Likewise.
64449         * math/s_casinhl.c: Likewise.
64450         * math/s_ccos.c: Rely entire on ccosh.
64451         * math/s_ccosf.c: Rely entire on ccoshf.
64452         * math/s_ccosl.c: Rely entirely on ccoshl.
64453         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
64454         Remove tests for FE_INVALID.
64455         * math/s_ccoshf.c: Likewise.
64456         * math/s_ccoshl.c: Likewise.
64457         * math/s_csin.c: Likewise.
64458         * math/s_csinf.c: Likewise.
64459         * math/s_csinh.c Likewise.
64460         * math/s_csinhf.c: Likewise.
64461         * math/s_csinhl.c: Likewise.
64462         * math/s_csinl.c: Likewise.
64463         * math/s_ctan.c: Likewise.
64464         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
64465         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
64466         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
64468 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
64470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
64471         compilation problems.
64473         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
64474         __builtin_expect.
64476 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
64478         * sysdeps/i386/configure.in: Test for -mfma4 option.
64479         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
64480         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
64481         COMMON_CPUID_INDEX_80000001.
64482         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
64483         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
64484         use it if FMA3 is not supported.
64485         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
64487         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
64488         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64490 2011-10-20  Andreas Schwab  <schwab@redhat.com>
64492         [BZ #12892]
64493         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
64494         it would create a cycle with a link time dependency.
64496 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
64498         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
64499         instruction.
64500         * string/Makefile (strop-tests): Add rawmemchr.
64501         * string/test-rawmemchr.c: New file.
64503         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
64504         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
64505         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
64506         when compiling str{,n}casecmp and when AVX is available.  Hook up
64507         new optimized code in initializers.
64509 2011-10-19  Andreas Schwab  <schwab@redhat.com>
64511         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
64512         __feraiseexcept instead of feraiseexcept.
64514 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
64516         * math/math_private.h: Define defaults for libc_fetestexcept and
64517         libc_feupdateenv.
64518         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
64519         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
64520         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64521         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64522         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
64523         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64524         libc_fetestexcept and libc_feupdateenv.
64526         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
64527         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
64528         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
64529         * sysdeps/x86_64/fpu/math_private.h: Define special version of
64530         libc_feholdexcept_setround.
64532         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
64533         Add s_nearbyint-c and s_nearbyintf-c.
64534         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
64535         nearbyintf inlines.
64536         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
64537         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
64538         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
64539         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
64541         * math/math_private.h: Define defaults for libc_fegetround,
64542         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
64543         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
64544         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
64545         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
64546         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
64547         standard functions.
64548         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64549         Remove comments and hacks for old compiler versions.
64550         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
64551         libc_fegetround, libc_fesetround, libc_feholdexcept, and
64552         libc_feholdexceptl.
64554 2011-10-18  Andreas Schwab  <schwab@redhat.com>
64556         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
64557         (__feraiseexcept_renamed): Add __NTH.
64558         (feraiseexcept): Add __NTH.  Rename local variables to fix
64559         namespace violations.
64561 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
64563         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
64565         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
64567         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
64568         recently added interfaces.
64569         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
64571         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
64572         about macro parameter expansion.
64574         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
64575         __NO_MATH_INLINES is defined.  Cleanups.
64577         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
64578         and __floorf is target has SSE4.1.
64579         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
64580         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
64581         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
64582         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
64584         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
64585         name.
64586         (floorf): Likewise.
64588         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
64590 2011-10-17  Andreas Schwab  <schwab@redhat.com>
64592         * misc/sys/cdefs.h: Fix last change.
64594         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
64595         database lookup.
64597 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
64599         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
64601         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
64602         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64603         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
64604         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
64605         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64606         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
64607         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
64608         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
64609         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
64610         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
64611         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
64612         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
64613         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
64614         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
64615         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
64616         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
64617         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
64618         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
64619         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
64620         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
64621         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
64622         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
64624         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
64625         ceil, ceilf, floor, floorf.
64627         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
64628         Perform IRELATIVE relocations last.
64630         * elf/do-rel.h: Add another parameter nrelative, replacing the
64631         local variable with the same name.  Change name of the function
64632         to end in Rel or Rela (uppercase).
64633         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
64634         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
64635         elf_dynamic_do_##reloc function.
64637 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
64639         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
64640         is sufficient, at least on modern CPUs.
64642         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
64644         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
64645         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
64647         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
64648         __expl_finite.
64649         * math/bits/math-finite.h: Add entries for exp.
64650         * math/e_expl.c: Add __*_finite alias.
64651         * sysdeps/i386/fpu/e_exp.S: Likewise.
64652         * sysdeps/i386/fpu/e_expf.S: Likewise.
64653         * sysdeps/i386/fpu/e_expl.c: Likewise.
64654         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
64655         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
64656         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64657         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64658         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
64659         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
64660         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
64662         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
64663         is sufficient, at least on modern CPUs.
64665         * ctype/ctype-info.c (__ctype_init): Define.
64666         * include/ctype.h (__ctype_init): Declare.
64667         (__ctype_b_loc): The variable is always initialized.
64668         (__ctype_toupper_loc): Likewise.
64669         (__ctype_tolower_loc): Likewise.
64670         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
64671         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
64673 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
64675         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
64677         * configure.in: Also look in $cxxmachine/include for C++ system
64678         headers.
64680 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64682         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
64683         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
64684         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
64685         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
64686         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
64687         (USE_AS_WMEMCMP): New macro.
64688         Fixing indents.
64689         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
64690         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
64691         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
64692         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
64693         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64694         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
64695         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
64696         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
64697         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
64698         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
64699         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
64700         (USE_AS_WMEMCMP): New macro.
64701         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
64702         * sysdeps/string/test-memcmp.c: Update.
64703         Fix simple_wmemcmp.
64704         Add new tests.
64705         * wcsmbs/wmemcmp.c: Update.
64706         (WMEMCMP): New macro.
64707         Fix overflow bug.
64709 2011-10-12  Andreas Jaeger  <aj@suse.de>
64711         [BZ #13268]
64712         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
64714 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
64716         * libio/iofwide.c (do_length): Avoid warning.
64718         * ctype/ctype.h (__isctype_f): Add missing __THROW.
64720 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
64722         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
64724         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
64725         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
64726         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
64727         * sysdeps/i386/i686/fpu/e_log.S: New file.
64728         * sysdeps/i386/i686/fpu/e_logf.S: New file.
64729         * sysdeps/i386/i686/fpu/e_logl.S: New file.
64731         * ctype/ctype.h: Add support for inlined isXXX functions when
64732         compiling C++ code.
64734 2011-10-14  Andreas Schwab  <schwab@redhat.com>
64736         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
64738         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
64740 2011-10-13  Roland McGrath  <roland@hack.frob.com>
64742         [BZ #13291]
64743         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
64745 2011-10-13  Andreas Schwab  <schwab@redhat.com>
64747         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
64748         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
64749         feraiseexcept.
64751         * sysdeps/x86_64/memrchr.S: Check for zero size.
64753         * string/stratcliff.c: Add memrchr tests.
64755 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64757         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64758         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
64759         rawmemchr-sse2 rawmemchr-sse2-bsf.
64760         * sysdeps/i386/i686/multiarch/memchr.S: New file.
64761         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
64762         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
64763         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
64764         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
64765         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
64766         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
64767         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
64768         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
64769         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
64770         * string/memrchr.c (MEMRCHR): New macro.
64772 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
64774         Add integration with gcc's -ffinite-math-only and optimize wrapper
64775         functions in libm.
64776         * Versions.def: Define GLIBC_2.15 version for libm.
64777         * math/Makefile (headers): Add bits/math-finite.h.
64778         * math/bits/math-finite.h: New file.
64779         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
64780         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
64781         * math/e_acoshl.c: Add __*_finite alias.
64782         * math/e_acosl.c: Likewise.
64783         * math/e_asinl.c: Likewise.
64784         * math/e_atan2l.c: Likewise.
64785         * math/e_atanhl.c: Likewise.
64786         * math/e_coshl.c: Likewise.
64787         * math/e_exp10.c: Likewise.
64788         * math/e_exp10f.c: Likewise.
64789         * math/e_exp10l.c: Likewise.
64790         * math/e_exp2l.c: Likewise.
64791         * math/e_fmodl.c: Likewise.
64792         * math/e_gammal_r.c: Likewise.
64793         * math/e_hypotl.c: Likewise.
64794         * math/e_j0l.c: Likewise.
64795         * math/e_j1l.c: Likewise.
64796         * math/e_jnl.c: Likewise.
64797         * math/e_lgammal_r.c: Likewise.
64798         * math/e_log10l.c: Likewise.
64799         * math/e_log2l.c: Likewise.
64800         * math/e_logl.c: Likewise.
64801         * math/e_powl.c: Likewise.
64802         * math/e_sinhl.c: Likewise.
64803         * math/e_sqrtl.c: Likewise.
64804         * math/e_scalb.c: Completely rewritten and optimized.
64805         * math/e_scalbf.c: Likewise.
64806         * math/e_scalbl.c: Likewise.
64807         * math/w_acos.c: Likewise.
64808         * math/w_acosf.c: Likewise.
64809         * math/w_acosl.c: Likewise.
64810         * math/w_acosh.c: Likewise.
64811         * math/w_acoshf.c: Likewise.
64812         * math/w_acoshl.c: Likewise.
64813         * math/w_asin.c: Likewise.
64814         * math/w_asinf.c: Likewise.
64815         * math/w_asinl.c: Likewise.
64816         * math/w_atan2.c: Likewise.
64817         * math/w_atan2f.c: Likewise.
64818         * math/w_atan2l.c: Likewise.
64819         * math/w_atanh.c: Likewise.
64820         * math/w_atanhf.c: Likewise.
64821         * math/w_atanhl.c: Likewise.
64822         * math/w_exp10.c: Likewise.
64823         * math/w_exp10f.c: Likewise.
64824         * math/w_exp10l.c: Likewise.
64825         * math/w_fmod.c: Likewise.
64826         * math/w_fmodf.c: Likewise.
64827         * math/w_fmodl.c: Likewise.
64828         * math/w_j0.c: Likewise.
64829         * math/w_j0f.c: Likewise.
64830         * math/w_j0l.c: Likewise.
64831         * math/w_j1.c: Likewise.
64832         * math/w_j1f.c: Likewise.
64833         * math/w_j1l.c: Likewise.
64834         * math/w_jn.c: Likewise.
64835         * math/w_jnf.c: Likewise.
64836         * math/w_log.c: Likewise.
64837         * math/w_logf.c: Likewise.
64838         * math/w_logl.c: Likewise.
64839         * math/w_log10.c: Likewise.
64840         * math/w_log10f.c: Likewise.
64841         * math/w_log10l.c: Likewise.
64842         * math/w_log2.c: Likewise.
64843         * math/w_log2f.c: Likewise.
64844         * math/w_log2l.c: Likewise.
64845         * math/w_pow.c: Likewise.
64846         * math/w_powf.c: Likewise.
64847         * math/w_powl.c: Likewise.
64848         * math/w_remainder.c: Likewise.
64849         * math/w_remainderf.c: Likewise.
64850         * math/w_remainderl.c: Likewise.
64851         * math/w_scalb.c: Likewise.
64852         * math/w_scalbf.c: Likewise.
64853         * math/w_scalbl.c: Likewise.
64854         * math/w_sqrt.c: Likewise.
64855         * math/w_sqrtf.c: Likewise.
64856         * math/w_sqrtl.c: Likewise.
64857         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
64858         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
64859         used.
64860         * math/math_private.h: Declare __kernel_standard_f.
64861         * math/w_cosh.c: Remove cruft and optimize a bit.
64862         * math/w_coshf.c: Likewise.
64863         * math/w_coshl.c: Likewise.
64864         * math/w_exp2.c: Likewise.
64865         * math/w_exp2f.c: Likewise.
64866         * math/w_exp2l.c: Likewise.
64867         * math/w_hypot.c: Likewise.
64868         * math/w_hypotf.c: Likewise.
64869         * math/w_hypotl.c: Likewise.
64870         * math/w_lgamma.c: Likewise.
64871         * math/w_lgamma_r.c: Likewise.
64872         * math/w_lgammaf.c: Likewise.
64873         * math/w_lgammaf_r.c: Likewise.
64874         * math/w_lgammal.c: Likewise.
64875         * math/w_lgammal_r.c: Likewise.
64876         * math/w_sinh.c: Likewise.
64877         * math/w_sinhf.c: Likewise.
64878         * math/w_sinhl.c: Likewise.
64879         * math/w_tgamma.c: Likewise.
64880         * math/w_tgammaf.c: Likewise.
64881         * math/w_tgammal.c: Likewise.
64882         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
64883         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
64884         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
64885         Minor optimizations.  Pretty printing.  Remove cruft.
64886         * sysdeps/i386/fpu/e_acosf.S: Likewise.
64887         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64888         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64889         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64890         * sysdeps/i386/fpu/e_acosl.c: Likewise.
64891         * sysdeps/i386/fpu/e_asin.S: Likewise.
64892         * sysdeps/i386/fpu/e_asinf.S: Likewise.
64893         * sysdeps/i386/fpu/e_atan2.S: Likewise.
64894         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
64895         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
64896         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64897         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64898         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64899         * sysdeps/i386/fpu/e_exp10.S: Likewise.
64900         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
64901         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
64902         * sysdeps/i386/fpu/e_exp2.S: Likewise.
64903         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
64904         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
64905         * sysdeps/i386/fpu/e_fmod.S: Likewise.
64906         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
64907         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
64908         * sysdeps/i386/fpu/e_hypot.S: Likewise.
64909         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
64910         * sysdeps/i386/fpu/e_log.S: Likewise.
64911         * sysdeps/i386/fpu/e_log10.S: Likewise.
64912         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64913         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64914         * sysdeps/i386/fpu/e_log2.S: Likewise.
64915         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64916         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64917         * sysdeps/i386/fpu/e_logf.S: Likewise.
64918         * sysdeps/i386/fpu/e_logl.S: Likewise.
64919         * sysdeps/i386/fpu/e_pow.S: Likewise.
64920         * sysdeps/i386/fpu/e_powf.S: Likewise.
64921         * sysdeps/i386/fpu/e_powl.S: Likewise.
64922         * sysdeps/i386/fpu/e_remainder.S: Likewise.
64923         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
64924         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
64925         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64926         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64927         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64928         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
64929         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
64930         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
64931         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
64932         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
64933         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
64934         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
64935         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
64936         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
64937         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
64938         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
64939         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
64940         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
64941         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
64942         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
64943         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
64944         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
64945         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
64946         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
64947         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
64948         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
64949         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
64950         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
64951         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
64952         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
64953         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64954         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64955         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
64956         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
64957         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
64958         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
64959         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
64960         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
64961         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
64962         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
64963         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
64964         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
64965         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
64966         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
64967         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
64968         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
64969         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
64970         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
64971         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
64972         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
64973         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
64974         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
64975         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64976         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
64977         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
64978         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
64979         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
64980         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
64981         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
64982         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
64983         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
64984         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
64985         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
64986         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
64987         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
64988         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
64989         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
64990         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
64991         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
64992         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
64993         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64994         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64995         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
64996         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
64997         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
64998         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
64999         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
65000         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65001         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65002         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65003         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65004         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65005         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65006         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65007         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65008         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65009         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65010         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65011         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65012         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65013         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
65014         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65015         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65016         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65017         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65018         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65019         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65020         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65021         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65022         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65023         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65024         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
65025         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65026         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65027         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65028         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
65029         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
65030         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
65031         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
65032         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
65033         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
65034         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
65035         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65036         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65037         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65038         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65039         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
65040         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65041         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
65042         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
65043         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
65044         (__isnanf): Likewise.
65045         (__isinf_ns): Likewise.
65046         (__isinf_nsf): Likewise.
65047         (__finite): Likewise.
65048         (__finitef): Likewise.
65049         (__ieee754_sqrt): Define as macro.
65050         (__ieee754_sqrtf): Define as macro.
65051         (__ieee754_sqrtl): Define as macro.
65052         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
65053         inlined copy.
65054         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
65055         __FINITE_MATH_ONLY__ consistent.
65056         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
65058 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
65060         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
65061         of rawmemchr.
65063         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
65065 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
65067         * po/ja.po: Update from translation team.
65069 2011-10-08  Roland McGrath  <roland@hack.frob.com>
65071         * locale/programs/locarchive.c (prepare_address_space): New function.
65072         (create_archive, enlarge_archive, open_archive): Use it.
65074         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
65075         inside [SHARED], where it is used.
65077         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
65079         * nss/getent.c (netgroup_keys): Remove unused variable.
65080         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65082 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
65084         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
65085         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
65086         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
65087         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
65088         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
65089         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
65090         * math/Makefile (libm-calls): Add s_isinf_ns.
65091         * math/divtc3.c: Use __isinf_nsl instead of isinf.
65092         * math/multc3.c: Likewise.
65093         * math/s_casin.c: Likewise.
65094         * math/s_casinf.c: Likewise.
65095         * math/s_casinl.c: Likewise.
65096         * math/s_ccos.c: Likewise.
65097         * math/s_ccosf.c: Likewise.
65098         * math/s_ccosl.c: Likewise.
65099         * math/s_ctan.c: Likewise.
65100         * math/s_ctanf.c: Likewise.
65101         * math/s_ctanh.c: Likewise.
65102         * math/s_ctanhf.c: Likewise.
65103         * math/s_ctanhl.c: Likewise.
65104         * math/s_ctanl.c: Likewise.
65105         * math/w_fmod.c: Likewise.
65106         * math/w_fmodf.c: Likewise.
65107         * math/w_fmodl.c: Likewise.
65108         * math/w_remainder.c: Likewise.
65109         * math/w_remainderf.c: Likewise.
65110         * math/w_remainderl.c: Likewise.
65111         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
65112         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
65113         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
65114         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
65115         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
65116         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
65117         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
65118         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
65120         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
65121         of the number.
65122         * stdio-common/printf_fphex.c: Likewise.
65123         * stdio-common/printf_size.c: Likewise.
65125         * math/e_exp10.c: Include math_private.h using <...> not "...".
65126         * math/e_exp10f.c: Likewise.
65127         * math/e_exp10l.c: Likewise.
65128         * math/e_exp2l.c: Likewise.
65129         * math/e_j0l.c: Likewise.
65130         * math/e_j1l.c: Likewise.
65131         * math/e_jnl.c: Likewise.
65132         * math/e_lgammal_r.c: Likewise.
65133         * math/e_rem_pio2l.c: Likewise.
65134         * math/e_scalb.c: Likewise.
65135         * math/e_scalbf.c: Likewise.
65136         * math/e_scalbl.c: Likewise.
65137         * math/k_cosl.c: Likewise.
65138         * math/k_sinl.c: Likewise.
65139         * math/k_tanl.c: Likewise.
65140         * math/s_cacoshf.c: Likewise.
65141         * math/s_catan.c: Likewise.
65142         * math/s_catanf.c: Likewise.
65143         * math/s_catanh.c: Likewise.
65144         * math/s_catanhf.c: Likewise.
65145         * math/s_catanhl.c: Likewise.
65146         * math/s_catanl.c: Likewise.
65147         * math/s_ccosh.c: Likewise.
65148         * math/s_ccoshf.c: Likewise.
65149         * math/s_ccoshl.c: Likewise.
65150         * math/s_cexp.c: Likewise.
65151         * math/s_cexpf.c: Likewise.
65152         * math/s_cexpl.c: Likewise.
65153         * math/s_clog.c: Likewise.
65154         * math/s_clog10.c: Likewise.
65155         * math/s_clog10f.c: Likewise.
65156         * math/s_clog10l.c: Likewise.
65157         * math/s_clogf.c: Likewise.
65158         * math/s_clogl.c: Likewise.
65159         * math/s_csin.c: Likewise.
65160         * math/s_csinf.c: Likewise.
65161         * math/s_csinh.c: Likewise.
65162         * math/s_csinhf.c: Likewise.
65163         * math/s_csinhl.c: Likewise.
65164         * math/s_csinl.c: Likewise.
65165         * math/s_csqrt.c: Likewise.
65166         * math/s_csqrtf.c: Likewise.
65167         * math/s_csqrtl.c: Likewise.
65168         * math/s_ctan.c: Likewise.
65169         * math/s_ctanf.c: Likewise.
65170         * math/s_ctanh.c: Likewise.
65171         * math/s_ctanhf.c: Likewise.
65172         * math/s_ctanhl.c: Likewise.
65173         * math/s_ctanl.c: Likewise.
65174         * math/s_ldexp.c: Likewise.
65175         * math/s_ldexpf.c: Likewise.
65176         * math/s_ldexpl.c: Likewise.
65177         * math/s_significand.c: Likewise.
65178         * math/s_significandf.c: Likewise.
65179         * math/s_significandl.c: Likewise.
65180         * math/w_acos.c: Likewise.
65181         * math/w_acosf.c: Likewise.
65182         * math/w_acosh.c: Likewise.
65183         * math/w_acoshf.c: Likewise.
65184         * math/w_acoshl.c: Likewise.
65185         * math/w_acosl.c: Likewise.
65186         * math/w_asin.c: Likewise.
65187         * math/w_asinf.c: Likewise.
65188         * math/w_asinl.c: Likewise.
65189         * math/w_atan2.c: Likewise.
65190         * math/w_atan2f.c: Likewise.
65191         * math/w_atan2l.c: Likewise.
65192         * math/w_atanh.c: Likewise.
65193         * math/w_atanhf.c: Likewise.
65194         * math/w_atanhl.c: Likewise.
65195         * math/w_cosh.c: Likewise.
65196         * math/w_coshf.c: Likewise.
65197         * math/w_coshl.c: Likewise.
65198         * math/w_dremf.c: Likewise.
65199         * math/w_exp10.c: Likewise.
65200         * math/w_exp10f.c: Likewise.
65201         * math/w_exp10l.c: Likewise.
65202         * math/w_exp2.c: Likewise.
65203         * math/w_exp2f.c: Likewise.
65204         * math/w_fmod.c: Likewise.
65205         * math/w_fmodf.c: Likewise.
65206         * math/w_fmodl.c: Likewise.
65207         * math/w_hypot.c: Likewise.
65208         * math/w_hypotf.c: Likewise.
65209         * math/w_hypotl.c: Likewise.
65210         * math/w_j0.c: Likewise.
65211         * math/w_j0f.c: Likewise.
65212         * math/w_j0l.c: Likewise.
65213         * math/w_j1.c: Likewise.
65214         * math/w_j1f.c: Likewise.
65215         * math/w_j1l.c: Likewise.
65216         * math/w_jn.c: Likewise.
65217         * math/w_jnf.c: Likewise.
65218         * math/w_jnl.c: Likewise.
65219         * math/w_lgamma.c: Likewise.
65220         * math/w_lgamma_r.c: Likewise.
65221         * math/w_lgammaf.c: Likewise.
65222         * math/w_lgammaf_r.c: Likewise.
65223         * math/w_lgammal.c: Likewise.
65224         * math/w_lgammal_r.c: Likewise.
65225         * math/w_log.c: Likewise.
65226         * math/w_log10.c: Likewise.
65227         * math/w_log10f.c: Likewise.
65228         * math/w_log10l.c: Likewise.
65229         * math/w_log2.c: Likewise.
65230         * math/w_log2f.c: Likewise.
65231         * math/w_log2l.c: Likewise.
65232         * math/w_logf.c: Likewise.
65233         * math/w_logl.c: Likewise.
65234         * math/w_pow.c: Likewise.
65235         * math/w_powf.c: Likewise.
65236         * math/w_powl.c: Likewise.
65237         * math/w_remainder.c: Likewise.
65238         * math/w_remainderf.c: Likewise.
65239         * math/w_remainderl.c: Likewise.
65240         * math/w_scalb.c: Likewise.
65241         * math/w_scalbf.c: Likewise.
65242         * math/w_scalbl.c: Likewise.
65243         * math/w_sinh.c: Likewise.
65244         * math/w_sinhf.c: Likewise.
65245         * math/w_sinhl.c: Likewise.
65246         * math/w_sqrt.c: Likewise.
65247         * math/w_sqrtf.c: Likewise.
65248         * math/w_sqrtl.c: Likewise.
65249         * math/w_tgamma.c: Likewise.
65250         * math/w_tgammaf.c: Likewise.
65251         * math/w_tgammal.c: Likewise.
65253         * po/ja.po: Update from translation team.
65255 2011-09-29  Andreas Jaeger  <aj@suse.de>
65257         [BZ #13179]
65258         * sunrpc/netname.c (netname2host): Fix logic.
65260         [BZ #6779]
65261         [BZ #6783]
65262         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
65263         correctly.
65264         * math/w_remainder.c (__remainder): Likewise.
65265         * math/w_remainderf.c (__remainderf): Likewise.
65266         * math/libm-test.inc (remainder_test): Add test cases.
65268 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65270         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
65271         sdiv_qrnnd.
65273 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65275         * string/test-memcmp.c: Avoid unncessary #defines.
65276         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65278 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65280         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
65281         Use new sse2 version for core i3 - i7 as it's faster
65282         than sse42 version.
65283         (bit_Prefer_PMINUB_for_stringop): New.
65284         * sysdeps/x86_64/rawmemchr.S: Update.
65285         Replace with faster SSE2 version.
65286         * sysdeps/x86_64/memrchr.S: New file.
65287         * sysdeps/x86_64/memchr.S: Update.
65288         Replace with faster SSE2 version.
65290 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
65292         * elf/dl-load.c (lose): Add cast to avoid warning.
65294 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
65296         * po/ca.po: Update from translation team.
65298         * inet/getnetgrent_r.c: Hook up nscd.
65299         * nscd/Makefile (routines): Add nscd_netgroup.
65300         (nscd-modules): Add netgroupcache.
65301         (CFLAGS-netgroupcache.c): Define.
65302         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
65303         (cache_search): Add const to second parameter.
65304         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
65305         INNETGR.
65306         (dbs): Add netgrdb entry.
65307         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
65308         (verify_persistent_db): Handle netgrdb.
65309         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
65310         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
65311         GETFDNETGR.
65312         (netgroup_response_header): Define.
65313         (innetgroup_response_header): Define.
65314         (datahead): Add netgroup_response_header and innetgroup_response_header
65315         elements.
65316         * nscd/nscd.conf: Add entries for netgroup cache.
65317         * nscd/nscd.h (dbtype): Add netgrdb.
65318         (_PATH_NSCD_NETGROUP_DB): Define.
65319         (netgroup_iov_disabled): Declare.
65320         (xmalloc, xcalloc, xrealloc): Move declarations here.
65321         (cache_search): Adjust prototype.
65322         Add netgroup-related prototypes.
65323         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
65324         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
65325         (__nscd_innetgr): Declare.
65326         * nscd/selinux.c (perms): Use access_vector_t as element type and
65327         add netgroup-related initializers.
65328         * nscd/netgroupcache.c: New file.
65329         * nscd/nscd_netgroup.c: New file.
65330         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
65331         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
65332         For four parameters use innetgr.
65333         * nss/nss_files/files-init.c: Add definition and callback for netgr.
65334         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
65335         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
65336         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
65338         * nscd/connections.c (register_traced_file): Don't register file
65339         for disabled databases.
65341 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
65343         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
65345         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
65346         from tree and freeing node.
65348 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
65350         * nss/nsswitch.c (__nss_database_lookup): Handle
65351         nss_parse_service_list out of memory case.
65353 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
65355         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
65356         out of memory case.
65358 2011-10-04  Andreas Schwab  <schwab@redhat.com>
65360         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
65361         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
65362         pass it down.
65363         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
65364         elf_machine_rela, elf_machine_lazy_rel.
65365         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
65366         (ELF_DYNAMIC_DO_REL): Likewise.
65367         (ELF_DYNAMIC_DO_RELA): Likewise.
65368         (ELF_DYNAMIC_RELOCATE): Likewise.
65369         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
65370         to ELF_DYNAMIC_DO_REL.
65371         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
65372         (dl_main): In trace mode always set __RTLD_NOIFUNC.
65373         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
65374         elf_machine_rela.
65375         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
65376         skip_ifunc, don't call ifunc function if non-zero.
65377         (elf_machine_rela): Likewise.
65378         (elf_machine_lazy_rel): Likewise.
65379         (elf_machine_lazy_rela): Likewise.
65380         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
65381         (elf_machine_lazy_rel): Likewise.
65382         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
65383         Likewise.
65384         (elf_machine_lazy_rel): Likewise.
65385         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65386         Likewise.
65387         (elf_machine_lazy_rel): Likewise.
65388         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
65389         (elf_machine_lazy_rel): Likewise.
65390         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
65391         (elf_machine_lazy_rel): Likewise.
65392         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65393         (elf_machine_lazy_rel): Likewise.
65394         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
65395         (elf_machine_lazy_rel): Likewise.
65396         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
65397         (elf_machine_lazy_rel): Likewise.
65398         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65399         (elf_machine_lazy_rel): Likewise.
65401 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
65403         * nss/nss_files/files-init.c (_nss_files_init): Use static
65404         initialization for all the *_traced_file variables.
65406 2011-09-28  Andreas Schwab  <schwab@redhat.com>
65408         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65410 2011-09-27  Roland McGrath  <roland@hack.frob.com>
65412         [BZ #13226]
65413         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
65415 2011-09-27  Andreas Schwab  <schwab@redhat.com>
65417         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65418         Reread the line before reparsing it.
65420 2011-09-26  Andreas Schwab  <schwab@redhat.com>
65422         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
65424 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
65425             Maxim Kuvyrkov  <maxim@codesourcery.com>
65426             Joseph Myers  <joseph@codesourcery.com>
65428         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
65429         if needed for __stack_chk_guard.
65431 2011-09-19  Roland McGrath  <roland@hack.frob.com>
65433         * sysdeps/posix/spawni.c (script_execute): Always define it.
65434         It will be optimized away if unused.
65435         (maybe_script_execute): New function.
65436         (__spawni): Call it.
65438         * Makerules: Don't include tls.make.
65439         (config-tls): Always set to thread.
65440         * tls.make.c: File removed.
65442 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
65444         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
65445         * config.make.in (CPPFLAGS-config): New substituted variable.
65447 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65449         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
65451         [BZ #13192]
65452         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
65453         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
65455 2011-09-15  Roland McGrath  <roland@hack.frob.com>
65457         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
65458         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
65459         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
65460         (CALL_FAIL): Likewise.
65461         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
65462         (CALL_FAIL): Macro removed.
65463         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
65465 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
65467         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
65468         for __FINITE_MATH_ONLY__ == 1.
65470 2011-09-15  Andreas Schwab  <schwab@redhat.com>
65472         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
65473         __ieee754_sqrt instead of sqrt.
65474         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
65475         __ieee754_sqrtf instead of sqrtf.
65476         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
65477         __floorf instead of floorf.
65478         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
65479         __floorf, __truncf instead of floorf, truncf.
65481 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
65483         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
65485         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
65486         __extern_always_inline.
65487         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
65488         32-bit.
65490 2011-09-14  Andreas Schwab  <schwab@redhat.com>
65492         * elf/rtld.c (dl_main): Also relocate in dependency order when
65493         doing symbol dependency testing.
65495 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
65497         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65498         Always define `refsym'.
65500 2011-09-13  Andreas Schwab  <schwab@redhat.com>
65502         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
65503         (__FD_ELT): Renamed from __FDELT.
65504         * misc/bits/select2.h (__FD_ELT): Likewise.
65505         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
65506         __FD_MASK instead of __FDELT, __FDMASK.
65507         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65508         Likewise.
65509         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
65510         Likewise.
65512         * elf/Makefile (gen-ldd): Fix pattern.
65514         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
65515         (init_tls): Likewise.
65517 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
65519         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
65521 2011-09-12  Andreas Schwab  <schwab@redhat.com>
65523         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
65524         `struct cmsghdr *' instead of `void *'.
65525         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
65526         Likewise.
65528 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
65530         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
65531         if non-absolute.
65532         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
65533         ldd_rewrite_script.
65535 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
65537         * configure.in: Remove --with-tls option.
65538         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
65539         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
65540         out in case it is missing.
65541         * sysdeps/ia64/elf/configure.in: Likewise.
65542         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
65543         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
65544         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
65545         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
65546         * sysdeps/sh/elf/configure.in: Likewise.
65547         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
65548         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65549         * sysdeps/x86_64/elf/configure.in: Likewise.
65550         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
65551         * sysdeps/mach/hurd/tls.h: Likewise.
65553         [BZ #13067]
65554         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
65556         [BZ #13090]
65557         * configure.in: Fix use of AC_INIT.
65559         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
65561 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
65563         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
65564         __set_errno.
65565         * malloc/hooks.c: Likewise.
65567         [BZ #11929]
65568         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
65569         variables statically.
65570         (narenas): Initialize.
65571         (list_lock): Initialize.
65572         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
65573         initializtion of main_arena and list_lock.  Small cleanups.
65574         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
65575         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
65576         Add initializers to main_arena and mp_.
65577         (malloc_state): Remove pagesize member.  Change all users to use
65578         GLRO(dl_pagesize).
65580         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
65581         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
65582         is always initialized.
65584         * malloc/malloc.c: Removed unused configurations and dead code.
65585         * malloc/arena.c: Likewise.
65586         * malloc/hooks.c: Likewise.
65587         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
65589         * include/tls.h: Removed.  USE___THREAD must always be defined.
65590         * bits/libc-tsd.h: Don't handle !USE___THREAD.
65591         * elf/dl-libc.c: Likewise.
65592         * elf/dl-tsd.c: Likewise.
65593         * include/errno.h: Likewise.
65594         * include/netdb.h: Likewise.
65595         * include/resolv.h: Likewise.
65596         * inet/herrno-loc.c: Likewise.
65597         * inet/herrno.c: Likewise.
65598         * malloc/arena.c: Likewise.
65599         * malloc/hooks.c: Likewise.
65600         * malloc/malloc.c: Likewise.
65601         * resolv/res-state.c: Likewise.
65602         * resolv/res_libc.c: Likewise.
65603         * sysdeps/i386/dl-machine.h: Likewise.
65604         * sysdeps/ia64/dl-machine.h: Likewise.
65605         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
65606         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65607         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
65608         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
65609         * sysdeps/sh/dl-machine.h: Likewise.
65610         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
65611         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
65612         * sysdeps/unix/i386/sysdep.S: Likewise.
65613         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
65614         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
65615         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
65616         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
65617         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
65618         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
65619         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
65620         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
65621         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65622         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
65623         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65624         * sysdeps/x86_64/dl-machine.h: Likewise.
65625         * tls.make.c: Likewise.
65627         * configure.in: Remove --with-__thread option.  Make tests for
65628         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
65629         tls_model attribute fail if no support is available.  Remove
65630         USE_IN_LIBIO.
65631         * Makeconfig: Adjust for dropped configure option.  All features are
65632         now mandatory.
65633         * Makerules: Likewise.
65634         * Versions.def: Likewise.
65635         * argp/argp-fmtstream.c: Likewise.
65636         * argp/argp-fmtstream.h: Likewise.
65637         * argp/argp-help.c: Likewise.
65638         * assert/assert.c: Likewise.
65639         * config.h.in: Likewise.
65640         * config.make.in: Likewise.
65641         * configure: Likewise.
65642         * configure.in: Likewise.
65643         * csu/Versions: Likewise.
65644         * csu/init.c: Likewise.
65645         * elf/tst-audit2.c: Likewise.
65646         * elf/tst-tls10.c: Likewise.
65647         * elf/tst-tls10.h: Likewise.
65648         * elf/tst-tls11.c: Likewise.
65649         * elf/tst-tls12.c: Likewise.
65650         * elf/tst-tls14.c: Likewise.
65651         * elf/tst-tlsmod11.c: Likewise.
65652         * elf/tst-tlsmod12.c: Likewise.
65653         * elf/tst-tlsmod13.c: Likewise.
65654         * elf/tst-tlsmod13a.c: Likewise.
65655         * elf/tst-tlsmod14a.c: Likewise.
65656         * elf/tst-tlsmod15b.c: Likewise.
65657         * elf/tst-tlsmod16a.c: Likewise.
65658         * elf/tst-tlsmod16b.c: Likewise.
65659         * elf/tst-tlsmod7.c: Likewise.
65660         * elf/tst-tlsmod8.c: Likewise.
65661         * elf/tst-tlsmod9.c: Likewise.
65662         * gmon/gmon.c: Likewise.
65663         * grp/fgetgrent_r.c: Likewise.
65664         * grp/putgrent.c: Likewise.
65665         * hurd/fopenport.c: Likewise.
65666         * include/libc-symbols.h: Likewise.
65667         * include/tls.h: Likewise.
65668         * intl/gettextP.h: Likewise.
65669         * intl/loadinfo.h: Likewise.
65670         * locale/global-locale.c: Likewise.
65671         * locale/localeinfo.h: Likewise.
65672         * mach/devstream.c: Likewise.
65673         * malloc/arena.c: Likewise.
65674         * malloc/set-freeres.c: Likewise.
65675         * misc/err.c: Likewise.
65676         * misc/getttyent.c: Likewise.
65677         * misc/mntent_r.c: Likewise.
65678         * posix/getopt.c: Likewise.
65679         * posix/wordexp.c: Likewise.
65680         * pwd/fgetpwent_r.c: Likewise.
65681         * resolv/Versions: Likewise.
65682         * resolv/res_hconf.c: Likewise.
65683         * shadow/fgetspent_r.c: Likewise.
65684         * shadow/putspent.c: Likewise.
65685         * stdio-common/printf_fphex.c: Likewise.
65686         * stdio-common/tmpfile.c: Likewise.
65687         * stdlib/abort.c: Likewise.
65688         * stdlib/fmtmsg.c: Likewise.
65689         * sunrpc/auth_unix.c: Likewise.
65690         * sunrpc/clnt_perr.c: Likewise.
65691         * sunrpc/clnt_tcp.c: Likewise.
65692         * sunrpc/clnt_udp.c: Likewise.
65693         * sunrpc/clnt_unix.c: Likewise.
65694         * sunrpc/openchild.c: Likewise.
65695         * sunrpc/svc_simple.c: Likewise.
65696         * sunrpc/svc_tcp.c: Likewise.
65697         * sunrpc/svc_udp.c: Likewise.
65698         * sunrpc/svc_unix.c: Likewise.
65699         * sunrpc/xdr.c: Likewise.
65700         * sunrpc/xdr_array.c: Likewise.
65701         * sunrpc/xdr_rec.c: Likewise.
65702         * sunrpc/xdr_ref.c: Likewise.
65703         * sunrpc/xdr_stdio.c: Likewise.
65705 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65707         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65709 2011-07-03  Andreas Jaeger  <aj@suse.de>
65711         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
65712         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
65713         regenerate with gen-libm-tests.pl.
65715 2010-05-12  Petr Baudis  <pasky@suse.cz>
65717         [BZ #11589]
65718         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
65719         around j0() zero points by switching to j1().
65720         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65721         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65722         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65723         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65725 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65727         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
65728         instead of 0.
65729         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
65730         instead of 0.
65731         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65732         Patch in part by Pavel Roskin <proski@gnu.org>.
65734         [BZ #13138]
65735         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
65736         realloc.
65737         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
65738         Free memory block if necessary.
65740         [BZ #12847]
65741         * libio/genops.c (INTDEF): For string streams the _lock pointer can
65742         be NULL.  Don't lock in this case.
65744 2011-09-09  Roland McGrath  <roland@hack.frob.com>
65746         * elf/elf.h (ELFOSABI_GNU): New macro.
65747         (ELFOSABI_LINUX): Define to that.
65749 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
65751         * string/strncat.c (strncat): Undef the symbol in case it has been
65752         defined in bits/string.h.
65754 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
65756         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
65758         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
65759         link map.
65761 2011-08-17  Andreas Jaeger  <aj@suse.de>
65763         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
65765 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
65766             Ian Lance Taylor  <iant@google.com>
65768         * math/libm-test.inc (lround_test): New testcase.
65769         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
65771 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
65773         * Makefile: Remove support for automatic cvs check-ins.
65774         * Makerules: Likewise.
65775         * config.make.in: Likewise.
65776         * configure.in: Likewise.
65777         * intl/Makefile: Likewise.
65778         * locale/Makefile: Likewise.
65779         * po/Makefile: Likewise.
65780         * posix/Makefile: Likewise.
65781         * sysdeps/gnu/Makefile: Likewise.
65782         * sysdeps/mach/hurd/Makefile: Likewise.
65783         * sysdeps/sparc/sparc32/Makefile: Likewise.
65785         [BZ #13118]
65786         * posix/Makefile (bug-regex32-ENV): Define.
65787         Patch by John Stanley <jpsinthemix@verizon.net>.
65789         * misc/Makefile (headers): Add bits/select2.h.
65790         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
65791         * misc/bits/select2.h: New file.
65792         * include/bits/select2.h: New file.
65793         * debug/Makefile (routines): Add fdelt_chk.
65794         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
65795         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
65796         FD_ISSET.
65797         * debug/fdelt_chk.c: New file.
65799         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
65800         * wcsmbs/test-wmemcmp.c: Likewise.
65801         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
65802         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
65804 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65806         * string/Makefile (strop-tests): Add memcmp.
65807         * string/test-wmemcmp.c: New file.
65808         * string/test-memcmp.c: Add wmemcmp support.
65810 2011-09-08  Roland McGrath  <roland@hack.frob.com>
65812         [BZ #13153]
65813         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
65814         2011-07-19 change.
65816         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
65817         garbage value in a __mach_port_mod_refs call in the cases of the
65818         task-self and thread-self ports.
65820 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65822         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
65824 2011-09-08  Andreas Schwab  <schwab@redhat.com>
65826         * elf/dl-load.c (lose): Check for non-null L.
65828 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65830         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
65832         * elf/dl-libc.c (dlerror_run): Pass back error code from
65833         dl_catch_error.
65835         [BZ #13123]
65836         * elf/dl-load.c (lose): Free l_origin if it is valid.
65838         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
65839         names.
65840         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
65841         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65842         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
65843         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65844         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
65845         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
65847 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65849         * sysdeps/powerpc/fpu/e_hypot.c: New file.
65850         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
65851         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
65852         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
65853         * sysdeps/powerpc/fpu/k_cosf.c: New file.
65854         * sysdeps/powerpc/fpu/k_sinf.c: New file.
65855         * sysdeps/powerpc/fpu/s_cosf.c: New file.
65856         * sysdeps/powerpc/fpu/s_sinf.c: New file.
65857         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
65858         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
65860 2011-08-15  Alan Modra  <amodra@gmail.com>
65862         [BZ #13092]
65863         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
65864         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
65865         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
65866         ppc_mcount to static-only-routines.
65867         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
65868         __mcount_internal.
65869         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
65870         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
65872 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
65874         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
65875         for finite and infinity parameters.
65877 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
65879         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
65880         and add nop instructions for throughput optimization.
65881         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65883 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
65885         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
65886         aligned copy for power7 with vector-scalar instructions.
65887         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
65889 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
65891         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
65892         AVX check.
65894 2011-09-07  Andreas Schwab  <schwab@redhat.com>
65896         [BZ #13144]
65897         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
65898         last change.
65900 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
65902         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65903         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
65904         syscall wrapper around clock_gettime in __vdso_clock_gettime.
65905         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
65906         clock_gettime.
65908 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65910         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
65911         Forgot to demangle the pointer.
65913         * sysdeps/i386/sysdep.h: Define atom_text_section.
65914         * sysdeps/x86_64/sysdep.h: Likewise.
65915         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
65916         section with atom_text_section.
65917         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
65918         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
65919         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
65920         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
65921         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
65923         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
65924         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
65925         already be defined.  Change to take two parameters and don't assign
65926         result to variable.  Adjust all users.
65927         Define INTERNAL_GETTIME if not already defined.
65928         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
65929         call.
65930         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
65931         HAVE_CLOCK_GETTIME_VSYSCALL.
65932         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
65934         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
65935         gettimeofday vsyscall, just use time.
65937 2011-09-06  Andreas Schwab  <schwab@redhat.com>
65939         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
65940         <errno.h>.
65942 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
65944         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
65945         syscall on x86-64.
65946         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
65947         syscall.
65948         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
65949         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
65950         syscall if possible.
65952 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65954         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
65955         e_ident.  Don't pass to find_mapsXX.
65956         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
65958 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65961         strchr-sse2-no-bsf strrchr-sse2-no-bsf
65962         * sysdeps/x86_64/multiarch/strchr.S: Update.
65963         Check bit_slow_BSF bit.
65964         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65965         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
65966         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
65968 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
65970         [BZ #13134]
65971         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
65972         before glibc 2.15.
65973         (tryshell): Define.
65974         (__spawni): Change last parameter to be flag.  Test
65975         SPAWN_XFLAGS_USE_PATH flag to use path or not.
65976         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
65977         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
65978         * posix/spawni.c: Likewise.
65979         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
65980         * posix/spawnp.c: Likewise.  Change normal version to use
65981         SPAWN_XFLAGS_USE_PATH.
65982         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
65983         SPAWN_XFLAGS_TRY_SHELL.
65985         [BZ #13150]
65986         * posix/glob.h: Remove gcc 1.x support.
65988         [BZ #13068]
65989         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
65991 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65993         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65994         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
65995         strrchr-sse2-bsf
65996         * sysdeps/i386/i686/multiarch/strchr.S: New file.
65997         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
65998         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
65999         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
66000         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
66001         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
66003 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66005         * sysdeps/x86_64/wcscmp.S: New file.
66007         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
66008         wcscmp-c wcscmp-sse2
66009         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
66010         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
66011         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
66012         * wcsmbs/wcscmp.c: Allow renaming.
66014 2011-09-05  David S. Miller  <davem@davemloft.net>
66016         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
66017         stack slot, rather than the struct return pointer slot.
66018         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
66019         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
66020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
66021         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
66023 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
66025         * po/ja.po: Update from translation team.
66027         [BZ #13144]
66028         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
66029         kernel in 64-bit binaries.
66031 2011-09-01  David S. Miller  <davem@davemloft.net>
66033         * elf/elf.h (HWCAP_SPARC_*): Move to..
66034         * sysdeps/sparc/sysdep.h: this new file and add new values.
66035         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
66036         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
66037         _DL_HWCAP_COUNT to 24.
66038         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66039         entries.
66040         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
66041         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
66042         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
66043         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
66044         instead of magic constants.
66045         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66047 2011-08-31  David S. Miller  <davem@davemloft.net>
66049         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
66050         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
66051         Reimplement to do errno handling inline.
66052         (SYSCALL_ERROR_HANDLER): New macro.
66053         (__SYSCALL_STRING): Do not do errno handling in asm.
66054         (__CLONE_SYSCALL_STRING): Delete.
66055         (__INTERNAL_SYSCALL_STRING): Delete.
66056         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
66057         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
66058         (PSEUDO): Reimplement to do errno handling inline.
66059         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
66060         (SYSCALL_ERROR_HANDLER): New macro.
66061         (__SYSCALL_STRING): Do not do errno handling in asm.
66062         (__CLONE_SYSCALL_STRING): Delete.
66063         (__INTERNAL_SYSCALL_STRING): Delete.
66064         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
66065         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
66066         i386.
66067         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
66068         (inline_syscall*): Add 'err' argument.
66069         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
66070         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
66071         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
66072         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
66074         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
66075         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66077 2011-08-30  Andreas Schwab  <schwab@redhat.com>
66079         * elf/rtld.c (dl_main): Relocate objects in dependency order.
66081 2011-08-29  Jiri Olsa <jolsa@redhat.com>
66083         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
66084         directive.
66086 2011-08-24  David S. Miller  <davem@davemloft.net>
66088         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
66090 2011-08-24  Andreas Schwab  <schwab@redhat.com>
66092         * elf/Makefile: Add rules to build and run unload8 test.
66093         * elf/unload8.c: New file.
66094         * elf/unload8mod1.c: New file.
66095         * elf/unload8mod1x.c: New file.
66096         * elf/unload8mod2.c: New file.
66097         * elf/unload8mod3.c: New file.
66099         * elf/dl-close.c (_dl_close_worker): Reset private search list if
66100         it wasn't used.
66102 2011-08-23  David S. Miller  <davem@davemloft.net>
66104         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
66105         subtract stack bias.
66106         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
66107         %sp not %fp in calculations.
66108         (_JMPBUF_UNWINDS_ADJ): Likewise.
66110         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
66111         (aio_suspend): Call it to force an exception region around the
66112         AIO_MISC_WAIT() invocation.
66114 2011-08-23  Andreas Schwab  <schwab@redhat.com>
66116         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
66117         backslash.
66119 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
66121         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
66122         protection macro.
66123         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
66124         and <dl-machine.h>.
66125         (Elf64_FuncDesc): Remove.
66127 2011-08-22  David S. Miller  <davem@davemloft.net>
66129         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
66130         sigaltstack check, add missing cfi directives.
66131         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
66132         missing cfi directives, and sigaltstack handling.
66134 2011-08-16  Andreas Schwab  <schwab@redhat.com>
66136         [BZ #11724]
66137         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
66138         object is seen twice.
66139         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66141         * elf/Makefile (distribute): Add tst-initorder2.c.
66142         (tests): Add tst-initorder2.
66143         (modules-names): Add tst-initorder2a tst-initorder2b
66144         tst-initorder2c tst-initorder2d.  Add rules to build them.
66145         ($(objpfx)tst-initorder2.out): New rule.
66146         * elf/tst-initorder2.c: New file.
66147         * elf/tst-initorder2.exp: New file.
66149 2011-08-22  Andreas Schwab  <schwab@redhat.com>
66151         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
66153         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
66154         dependencies back to end of function.
66156         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66157         $(elfobjdir)/ld.so.
66159 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
66161         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
66162         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
66163         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
66164         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
66165         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
66166         of __vdso_gettimeofday.
66167         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
66168         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
66169         attribute_hidden.
66170         (_libc_vdso_platform_setup): Remove initialization of
66171         __vdso_gettimeofday and __vdso_time.
66173 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66175         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
66176         and fgetc_unlocked.
66177         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
66178         getc_unlocked.
66180         * elf/dl-open.c (add_to_global): Report additions to the global scope
66181         for LD_DEBUG=scopes.
66182         (dl_open_worker): Also print scope of newly loaded dependencies.
66183         (_dl_show_scope): Indicate if there is no scope.
66185         [BZ #13114]
66186         * stdio-common/Makefile (tests): Add bug24.
66187         * stdio-common/bug24.c: New file.
66189 2011-08-19  Andreas Jaeger  <aj@suse.de>
66191         [BZ #13114]
66192         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
66193         non-existant file when using close-on-exec mode.
66195 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
66197         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
66198         the very first instruction.
66200         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
66201         the CFI state in the end.
66202         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
66203         inclusion of dl-trampoline.h.
66204         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
66206 2011-08-19  Andreas Schwab  <schwab@redhat.com>
66208         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
66209         expectations for long double.
66211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
66212         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
66214 2011-08-14  David S. Miller  <davem@davemloft.net>
66216         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
66217         artificual limit depends upon the system page size.
66219 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66221         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
66222         * resolv/Makefile: Define CFLAGS-libresolv.
66224 2011-08-17  Andreas Schwab  <schwab@redhat.com>
66226         * nss/makedb.c (compute_tables): Make variables used in nested
66227         function static.
66229 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
66231         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
66232         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
66233         if buffer was too small.
66235         * elf/pldd.c (main): Attach to all threads in the process.
66236         Rewrite /proc handling to use *at functions.
66238 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
66240         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
66241         specifies first scope to show.
66242         (dl_open_worker): Update callers.  Move printing scope of new
66243         object to before the relocation.
66244         * elf/rtld.c (dl_main): Update _dl_show_scope call.
66245         * sysdeps/generic/ldsodefs.h: Update declaration.
66247         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
66248         string for the scope number.
66250 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
66252         * nscd/servicescache.c (cache_addserv): Make sure written is always
66253         initialized.
66255 2011-08-14  Roland McGrath  <roland@hack.frob.com>
66257         * sysdeps/i386/i486/bits/atomic.h
66258         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
66259         statement expression, so as to suppress "set but not used" warning.
66260         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
66262         * string/strncat.c (STRNCAT): Use prototype definition.
66264         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
66265         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
66266         -Iprograms here.
66267         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
66268         (localedef-modules): Add localedef.
66269         (locale-modules): Add locale.
66271         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
66272         * elf/rtld.c (dl_main): Invert order of assignment in last change,
66273         to avoid a warning.
66275 2011-08-14  David S. Miller  <davem@davemloft.net>
66277         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
66278         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
66280 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
66282         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
66283         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
66284         * elf/rtld.c (dl_main): Set l_name of vDSO.
66285         Call _dl_show_scope when DL_DEBUG_SCOPES.
66286         (process_dl_debug): Recognize scopes flag and also set it for all.
66287         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
66288         Declare _dl_show_scope.
66290         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
66291         (do_dlopen): Pass caller_dlopen to dl_open.
66292         (__libc_dlopen_mode): Initialize caller_dlopen.
66294         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
66295         of libc.  Make tolower call locale-independent.  Optimize a bit by
66296         using isdigit instead of isalnum.
66297         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
66299 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
66301         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
66302         was a dependency or dynamically loaded.
66304 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
66306         * intl/l10nflist.c: Allow architecture-specific pop function.
66307         * sysdeps/x86_64/l10nflist.c: New file.
66309         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
66310         classification.
66312 2011-08-10  Andreas Schwab  <schwab@redhat.com>
66314         * include/dirent.h: Add libc_hidden_proto for scandirat and
66315         scandirat64.  Don't declare __scandirat64.
66316         * dirent/scandirat.c: Add libc_hidden_def.
66317         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
66318         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
66320 2011-08-10  David S. Miller  <davem@davemloft.net>
66322         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
66323         enum.
66324         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66325         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66326         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66328 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
66330         * Versions.def [libc]: Add GLIBC_2.15.
66331         * dirent/Makefile (routines): Add scandirat and scandirat64.
66332         * dirent/Versions [libc]: Export scandirat and scandirat64 for
66333         GLIBC_2.15.
66334         * dirent/dirent.h: Declare scandirat and scandirat64.
66335         * dirent/scandirat.c: New file.
66336         * dirent/scandirat64.c: New file.
66337         * sysdeps/wordsize-64/scandirat.c: New file.
66338         * sysdeps/wordsize-64/scandirat64.c: New file.
66339         * dirent/opendir.c: Define opendirat.
66340         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
66341         using scandirat.
66342         * dirent/scandir64.c: Adjust for scandir.c change.
66343         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
66344         __scandirat64, and __scandir_cancel_handler.
66345         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
66346         additional parameter and use openat instead of open (outside of ld.so).
66347         Add new __opendir as wrapper around __opendirat.
66348         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
66349         here without requiring old scandirat implementation.
66351 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
66353         * dirent/scandir.c (cancel_handler): Renamed to
66354         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
66355         defined.  Adjust users.
66356         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
66357         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
66359 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
66361         * string/test-string.h (IMPL): Use __STRING to expand name and then
66362         stringify it.
66364         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
66365         of cleanups.
66367 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66369         * string/Makefile: Update.
66370         (strop-tests): Append strncat.
66371         * string/test-wcscmp.c: New file.
66372         New comprehensive test for wcscmp.
66373         * string/test-strcmp.c: Update.
66374         (WIDE): New define.
66376 2011-07-22  Andreas Schwab  <schwab@redhat.com>
66378         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
66379         line.
66381 2011-07-26  Andreas Schwab  <schwab@redhat.com>
66383         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
66384         encoding to ACE if AI_IDN.
66386 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
66388         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
66389         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
66391 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66393         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
66394         Fix overflow bug in strncat.
66395         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
66397         * string/test-strncat.c: Update.
66398         Add new tests for checking overflow bugs.
66400 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66402         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66403         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
66404         * sysdeps/i386/i686/multiarch/strcat.S: New file.
66405         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
66406         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
66407         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
66408         * sysdeps/i386/i686/multiarch/strncat.S: New file.
66409         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
66410         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
66412         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
66413         (USE_AS_STRCAT): Define.
66414         Add strcat and strncat support.
66415         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
66417 2011-07-25  Andreas Schwab  <schwab@redhat.com>
66419         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
66420         __n bigger than INT_MAX+1.
66421         (__strncmp_g): Likewise.
66423 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
66425         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
66426         * libio/stido.h: Likewise.
66428         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
66429         (AF_NFC): Define.
66430         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
66431         (AF_NFC): Define.
66433         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
66434         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
66435         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
66436         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
66437         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
66439         [BZ #13021]
66440         * scripts/test-installation.pl: Don't expect libnss_test1 to be
66441         installed.
66443         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
66444         typo.
66445         (_dl_x86_64_save_sse): Likewise.
66447 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
66449         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
66450         OSXSAVE.
66451         (_dl_x86_64_save_sse): Likewise.
66453         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
66455         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
66457 2011-07-21  Andreas Schwab  <schwab@redhat.com>
66459         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
66460         change.
66461         (_dl_x86_64_save_sse): Use correct AVX check.
66463 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66465         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
66466         bug in strncpy/strncat.
66467         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
66469 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
66471         * string/tester.c (test_strcat): Add tests for different alignments
66472         of source and destination.
66473         (test_strncat): Likewise.
66475 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66477         [BZ #12852]
66478         * posix/glob.c (glob): Check passed in values before using them in
66479         expressions to avoid some overflows.
66480         (glob_in_dir): Likewise.
66482         [BZ #13007]
66483         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
66484         check for AVX enablement so that we don't crash with old kernels and
66485         new hardware.
66486         * elf/tst-audit4.c: Add same checks here.
66487         * elf/tst-audit6.c: Likewise.
66489         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
66491 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
66493         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
66495 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
66497         * po/cs.po: Update from translation team.
66498         * po/bg.po: Likewise.
66500 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
66502         * misc/sys/cdefs.h: Add support for const attribute.
66503         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
66504         to gnu_dev_{major,minor,makedev} functions.
66506 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
66508         * intl/dcigettext.c (get_output_charset): Add missing bracket.
66510 2011-07-20  Andreas Schwab  <schwab@redhat.com>
66512         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
66513         strlen results.
66515 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66517         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
66518         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
66519         register in order to avoid conflicts with the soft frame pointer
66520         being held in r11 when necessary.
66521         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
66522         (INTERNAL_VSYSCALL_NCS): Likewise.
66524 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
66526         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
66527         * elf/dl-fini.c (_dl_fini): Adjust caller.
66528         * elf/dl-close.c (_dl_close_worker): Likewise.
66529         * sysdeps/generic/ldsodefs.h: Adjust declaration.
66531 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66533         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
66534         "aux_cache->nlibs < 0".
66536         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
66537         in the reload-count case.
66539 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
66541         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66542         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
66543         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
66544         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
66545         * sysdeps/x86_64/multiarch/strcat.S: New file.
66546         * sysdeps/x86_64/multiarch/strncat.S: New file.
66547         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
66548         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
66549         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
66550         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
66551         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
66552         (USE_AS_STRCAT): Define.
66553         Add strcat and strncat support.
66554         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
66555         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
66556         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
66557         * string/strncat.c: Update.
66558         (USE_AS_STRNCAT): Define.
66559         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66560         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
66561         and i7.
66562         * sysdeps/x86_64/multiarch/init-arch.h
66563         (bit_Prefer_PMINUB_for_stringop): New.
66564         (index_Prefer_PMINUB_for_stringop): Likewise.
66565         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
66566         bit_Prefer_PMINUB_for_stringop.
66568 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
66570         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
66571         buffer64.
66572         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
66573         of casting of buffer.
66574         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
66575         buffer32 and buffer64.
66576         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
66577         writes instead of casting of buffer.
66578         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
66579         buffer32.
66580         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
66581         casting of buffer.
66583 2011-07-19  Andreas Schwab  <schwab@redhat.com>
66585         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
66587 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
66589         * nscd/nscd.c (termination_handler): Don't do anything for a database
66590         if it has not yet been initialized.
66592 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
66594         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
66596 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
66598         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
66600 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
66602         * po/nl.po: Update from translation team.
66603         * po/sv.po: Likewise.
66605 2011-07-16  Roland McGrath  <roland@hack.frob.com>
66607         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
66608         now disallowed by GCC.
66610         * configure.in (use-default-link): Default to yes if a test -shared
66611         link meets our qualifications.
66612         * configure: Regenerated.
66614         * config.make.in (output-format): New variable.
66615         * configure.in: Check for ld --print-output-format support.
66616         * configure: Regenerated.
66617         * Makerules ($(common-objpfx)format.lds)
66618         [$(output-format) != unknown]: Just use $(output-format),
66619         instead of the linker-script munging.
66621 2011-07-14  Roland McGrath  <roland@hack.frob.com>
66623         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
66624         of $(common-objpfx)shlib.lds.
66625         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
66627         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
66628         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
66630         * configure.in (-z relro check): Adjust test code to add a large
66631         writable data section after it.
66632         * configure: Regenerated.
66634 2011-07-11  Roland McGrath  <roland@hack.frob.com>
66636         * configure.in (-z relro check): Fix test code to make the variable
66637         truly const.
66638         * configure: Regenerated.
66640 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
66642         * nscd/nscd.h (struct traced_file): Define.
66643         (struct database_dyn): Remove inotify_descr, reset_res, and filename
66644         elements.  Add traced_files.
66645         (inotify_fd): Declare.
66646         (register_traced_file): Declare.
66647         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
66648         (inotify_fd): Export.
66649         (resolv_conf_descr): Remove.
66650         (nscd_init): Move inotify descriptor creation to main.
66651         Don't register files for notification here.
66652         (register_traced_file): New function.
66653         (invalidate_cache): Don't use reset_res to determine whether to call
66654         res_init, go through the list of registered files.
66655         (main_loop_poll): The inotify descriptors are now stored in the
66656         structures for the traced files.
66657         (main_loop_epoll): Likewise
66658         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
66659         to __nss_disable_nscd.
66660         * nscd/cache.c (prune_cache): There is no single inotify descriptor
66661         for a database anymore.  Check the records for all the registered
66662         files instead.
66663         * nss/Makefile (libnss_files-routines): Add files-init.
66664         (libnss_db-routines): Add db-init.
66665         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
66666         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
66667         * nss/nss_db/db-init.c: New file.
66668         * nss/nss_files/files-init.c: New file.
66669         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
66670         __nss_lookup_function.
66671         (__nss_lookup_function): Call nss_load_library.
66672         (nss_load_all_libraries): New function.
66673         (__nss_disable_nscd): Take parameter with callback function for files
66674         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
66675         used for the cached services.
66676         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
66677         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
66678         options for features to all the files in nscd.
66680         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
66682 2011-07-10  Roland McGrath  <roland@hack.frob.com>
66684         * csu/elf-init.c (__libc_csu_init): Comment typo.
66686 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
66688         * po/pl.po: Update from translation team.
66689         * po/ja.po: Likewise.
66690         * po/ru.po: Likewise.
66691         * po/ko.po: Likewise.
66692         * po/fr.po: Likewise.
66694 2011-07-09  Roland McGrath  <roland@hack.frob.com>
66696         * configure.in (.ctors/.dtors header and trailer check):
66697         Use an empirical test on a built program.
66698         * configure: Regenerated.
66700         * configure.in (-z relro check): Use an empirical test on a built DSO.
66701         Detect, but do not require, on ia64.
66702         * configure: Regenerated.
66704         * configure.in (READELF): Find it with AC_CHECK_TOOL.
66705         Update tests that use readelf to use $READELF instead.
66706         * configure: Regenerated.
66708 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
66710         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
66711         if the result is not used.
66713 2011-07-05  Andreas Jaeger  <aj@suse.de>
66715         [BZ#9696]
66716         * stdlib/tst-strtod.c: Add testcase.
66718 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
66720         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
66721         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
66722         The latter has a higher limit.  Take additional parameter to pass to
66723         the new function.
66724         (__pathconf): Pass file to __statfs_link_max.
66725         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
66726         __statfs_link_max.
66727         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
66728         __statfs_link_max.
66730         [BZ #12868]
66731         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
66732         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66733         Handle Lustre.
66734         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
66735         (__statfs_filesize_max): Likewise.
66736         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
66738 2011-07-05  Andreas Jaeger  <aj@suse.de>
66740         * resolv/res_comp.c (dn_skipname): Remove unused variable.
66742 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
66744         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
66745         `status' variable.
66746         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
66747         Likewise.
66749 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
66751         * Makefile (strop-tests): Add strncat.
66752         * string/test-strncat.c: New file.
66754 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
66756         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
66758 2011-06-21  Andreas Jaeger  <aj@suse.de>
66760         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
66761         Copy rule from iconvdata/Makefile.
66763 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
66765         [BZ #12922]
66766         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
66767         but no long options are defined, just return 'W'.
66769 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
66771         [BZ #9696]
66772         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
66774 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
66776         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
66777         netgroups to read.
66778         (innetgr): Likewise.
66780 2011-07-05  Roland McGrath  <roland@hack.frob.com>
66782         * config.make.in (install_root): Default to $(DESTDIR).
66784 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
66786         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
66788 2011-07-02  Roland McGrath  <roland@hack.frob.com>
66790         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
66792         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
66793         containing directory rather than embedding absolute directory names.
66795         * scripts/check-local-headers.sh: Rewritten using awk.
66796         Match by word, not by line.  Print error messages for matches.
66797         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
66799         * Makerules [shlib-lds-flags empty]:
66800         ($(common-objpfx)libc_pic.opts): New target.
66801         ($(common-objpfx)libc_pic.os.clean): New target.
66802         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
66804         * config.make.in (OBJCOPY): New variable.
66805         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
66806         * configure: Regenerated.
66808         * config.make.in (use-default-link): New variable.
66809         * configure.in (use_default_link): Grok --with-default-link to set it.
66810         * configure: Regenerated.
66811         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
66812         (shlib-lds, shlib-lds-flags): Define to empty.
66814         * Makerules (shlib-lds): New variable.
66815         (shlib-lds-flags): New variable.
66816         (build-shlib, build-moduile, build-module-asneeded): Use it.
66817         ($(common-objpfx)libc.so): Use $(shlib-lds).
66818         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
66819         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
66821         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
66822         DT_FLAGS/DT_FLAGS_1 with zero flags.
66824         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
66825         linker script munging.
66827 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
66829         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
66830         as 128-bit value.
66831         * crypt/sha512.c (sha512_process_block): Perform total addition using
66832         128-bit if possible.
66833         (__sha512_finish_ctx): Likewise.
66834         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
66835         as 64-bit value.
66836         * crypt/sha256.c (SWAP64): Define.
66837         (sha256_process_block): Perform total addition using 64-bit if
66838         possible.
66839         (__sha256_finish_ctx): Likewise.
66841 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
66843         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
66844         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66845         * nscd/hstcache.c (cache_addhst): Likewise.
66846         * nscd/grpcache.c (cache_addgr): Likewise.
66847         * nscd/aicache.c (addhstaiX): Likewise
66848         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
66850 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
66852         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
66853         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66854         * nscd/hstcache.c (cache_addhst): Likewise.
66855         * nscd/grpcache.c (cache_addgr): Likewise.
66856         * nscd/aicache.c (addhstaiX): Likewise
66858 2011-07-01  Andreas Schwab  <schwab@redhat.com>
66860         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
66861         domain only when needed.
66863 2011-06-30  Andreas Schwab  <schwab@redhat.com>
66865         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
66866         is always restored.
66868 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
66870         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
66871         are re-adding the entry.
66872         * nscd/servicescache.c (cache_addserv): Likewise.
66874 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
66876         * sysdeps/generic/dl-irel.h: fix protection against multiple
66877         inclusions.
66878         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
66880 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
66882         [BZ #12935]
66883         * malloc/memusage.sh: Fix quoting in message.
66884         * debug/xtrace.sh: Likewise.
66886         * configure.in: Remove support for --experimental-malloc option, make
66887         it the default.
66888         * config.make.in: Likewise.
66889         * malloc/Makefile: Likewise.
66891 2011-06-27  Andreas Schwab  <schwab@redhat.com>
66893         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
66894         two-byte characters.
66896 2011-06-27  Roland McGrath  <roland@hack.frob.com>
66898         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
66899         AC_CACHE_CHECK invocation.
66900         * configure: Regenerated.
66902         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
66904 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
66906         [BZ #12350]
66907         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
66908         bit from old_res_options.
66910         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
66912         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
66913         value type for setfct.
66915 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
66917         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66918         __gettimeofday instead of gettimeofday.
66920 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
66922         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
66924 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
66926         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
66928         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
66929         info.
66931 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66934         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66935         strcpy-sse2-unaligned strncpy-sse2-unaligned
66936         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
66937         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
66938         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
66939         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
66940         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
66941         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
66942         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
66943         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
66944         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
66945         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
66946         (STRCPY): Support SSE2 and SSSE3 versions.
66948 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
66950         [BZ #12874]
66951         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
66952         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
66953         kernels which artificially limit size of requests.
66955 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
66957         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66958         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
66959         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
66960         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
66961         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
66962         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
66963         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
66964         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
66965         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
66966         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
66967         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
66968         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
66969         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
66970         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
66971         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
66972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66973         Enable unaligned load optimization for Intel Core i3, i5 and i7
66974         processors.
66975         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
66976         Define.
66977         (index_Fast_Unaligned_Load): Define.
66978         (HAS_FAST_UNALIGNED_LOAD): Define.
66980 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
66982         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
66984 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66986         [BZ #12907]
66987         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
66988         until it is clear that the information is realy needed.
66989         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
66991 2011-06-22  Andreas Schwab  <schwab@redhat.com>
66993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
66995 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
66997         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
66998         /sys/devices/system/cpu/online if it is usable.
67000         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
67001         reading the information from the /proc filesystem to once a second.
67003 2011-06-21  Andreas Jaeger  <aj@suse.de>
67005         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
67006         NULL after inclusion of kernel headers.
67008 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
67010         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
67011         calls to internal_setent.
67013         [BZ #12885]
67014         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
67015         addresses using gethostbyname4_r ignore IPv4 addresses.
67017         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
67018         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
67020         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
67022 2011-06-20  David S. Miller  <davem@davemloft.net>
67024         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
67025         inclusions.
67026         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
67028         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
67029         (elf_irel): Use it.
67030         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
67031         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
67032         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
67033         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
67034         * sysdeps/x86_64/dl-irel.h: Likewise.
67036         * elf/dl-runtime.c: Use elf_ifunc_invoke.
67037         * elf/dl-sym.c: Likewise.
67039 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67041         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
67042         need to dereference resplen2.
67044 2011-06-14  Andreas Schwab  <schwab@redhat.com>
67046         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
67048 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
67050         * Makeconfig: Define vardbdir and inst_vardbdir.
67051         * nss/Makefile: Add rules to install db-Makefile.
67053         * nss/nss_db/db-XXX.c: Cleanup.
67055         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
67056         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
67057         GLIBC_PRIVATE.
67058         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
67059         * nss/makedb.c: Implement -g option to specify that value strings
67060         are generated and should not be added to table iterated over for
67061         get*ent calls.
67062         * nss/nss_db/db-initgroups.c: New file.
67064         * nss/getent.c: Add support for initgroups lookups through getgrouplist
67065         interface.
67067         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
67068         (internal_getgrouplist): Adjust to name change.
67069         Update use_initgroups_entry if this is not the first call.
67070         * nss/databases.def: Add initgroups entry.
67072         * nss/makedb.c (compute_tables): Check result of multiple hash table
67073         sizes to minimize maximum chain length.
67075 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
67077         * Versions.def: Add entry for libnss_db.
67078         * shlib-versions: Likewise.
67079         * nss/Makefile: Add rules to build libnss_db.
67080         * nss/Versions: Add libnss_db information.  Organize libnss_files
67081         entries better.
67082         * nss/db-Makefile: Add gshadow support.  Change rules for the new
67083         makedb progra.  Some minor improvements to generate smaller files.
67084         * nss/nss_db/nss_db.h: Move NSS database header data structures to
67085         here from...
67086         * nss/makedb.c: ...here.
67087         Improve database format to be smaller and require less memory at
67088         runtime.
67089         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
67090         db anymore.
67091         * nss/nss_db/db-netgrp.c: Likewise.
67092         * nss/nss_db/db-open.c: Likewise.
67093         * nss/nss_files/flies-XXX.x: Adjust comments.
67094         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
67095         * nss/nss_files/files-grp.c: Likewise.
67096         * nss/nss_files/files-hosts.c: Likewise.
67097         * nss/nss_files/files-network.c: Likewise.
67098         * nss/nss_files/files-proto.c: Likewise.
67099         * nss/nss_files/files-pwd.c: Likewise.
67100         * nss/nss_files/files-rpc.c: Likewise.
67101         * nss/nss_files/files-service.c: Likewise.
67102         * nss/nss_files/files-sgrp.c: Likewise.
67103         * nss/nss_files/files-spwd.c: Likewise.
67104         * nss/nss_db/db-alias.c: Removed.
67105         * nss/nss_db/dummy-db.h: Removed.
67107 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
67109         * nss/makedb.c: Rewritten to not use database library.
67110         * nss/Makefile: Update to build new makedb program.
67112 2011-06-14  Andreas Jaeger  <aj@suse.de>
67114         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
67115         memset declaration.
67117 2011-06-10  Andreas Schwab  <schwab@redhat.com>
67119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
67120         tmpbuf.
67122 2011-06-10  Roland McGrath  <roland@hack.frob.com>
67124         * Makerules (shlib.lds): Fail if the linker script comes out empty.
67125         * elf/Makefile ($(objpfx)ld.so): Likewise.
67127         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
67128         Don't list ld.so twice in dependencies.
67130         * posix/bug-regex31.c: Include <stdlib.h>.
67132         * nscd/hstcache.c (cache_addhst): Remove unused variable.
67134         * nis/nss_compat/compat-spwd.c
67135         (getspent_next_nss_netgr): Remove unused variable.
67136         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
67138         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
67139         nonmembers" output to use the right array.
67141         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
67143         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
67145         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
67146         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
67147         * catgets/gencat.c (read_input_file): Likewise.
67148         * locale/programs/locarchive.c (enlarge_archive): Likewise.
67150         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
67151         variable definition inside #if's controlling its use.
67153         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
67155         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
67157         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
67159         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
67160         unreachable code.
67162         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
67164         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
67165         * configure: Regenerated.
67167         * Makerules: Revert last change.
67168         * elf/Makefile: Likewise.
67170 2011-06-09  Roland McGrath  <roland@hack.frob.com>
67172         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
67173         * elf/Makefile ($(objpfx)librtld.os): Likewise.
67174         (reloc-link): Likewise.
67176 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
67178         * elf/Makefile: Add rules to build pldd.
67179         * elf/pldd.c: New file.
67180         * elf/pldd-xx.c: New file.
67182 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
67184         * version.h: Update for 2.15 development version.
67186 2011-06-07  David S. Miller  <davem@davemloft.net>
67188         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
67189         ifuncs.
67190         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
67191         elf_machine_lazy_rel): Likewise.
67192         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
67193         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
67194         elf_machine_lazy_rel): Likewise.
67195         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
67196         dl_hwcap via passed in argument.
67197         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
67198         Likewise.
67200 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67202         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
67204 2011-06-06  Roland McGrath  <roland@hack.frob.com>
67206         [BZ #12849]
67207         * manual/fdl-1.1.texi: New file, verbatim from:
67208         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
67209         * manual/lgpl-2.1.texi: New file, verbatim from:
67210         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
67211         * manual/Makefile (licenses): New variable, list those new file names.
67212         (texis): Use it.
67213         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
67215         * manual/fdl.texi: File removed.
67216         * manual/lesser.texi: File removed.
67217         * manual/libc.texinfo (Copying, Documentation License):
67218         Use new @include file names, put @appendix directive before @include.
67220 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
67222         [BZ #12841]
67223         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
67224         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
67225         (mq_open): Add __NTH.
67227 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
67229         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67230         Assume Intel Core i3/i5/i7 processor if AVX is available.
67232 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67234         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
67235         typo.
67237 2011-05-31  Andreas Schwab  <schwab@redhat.com>
67239         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
67240         memory.  Use alloca_account.  Fix memory leak when retrying.
67242 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
67244         * version.h (RELEASE): Bump for 2.14 release.
67245         * include/features.h (__GLIBC_MINOR__): Bump to 14.
67247         * config.make.in (RANLIB): Remove entry.
67249 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
67251         * po/Makefile (po-sed-cmd): Add ksh to extensions.
67252         (libc.pot): Work around missing support for .ksh extension in xgettext.
67254         [BZ #12684]
67255         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
67256         if both request failed.
67257         (send_dg): In case of server errors clear resplen or *resplen2.
67259         [BZ #12454]
67260         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
67261         when there are multiple maps.
67262         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
67263         (_dl_fini): Remove test here.
67265         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
67267 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
67269         [BZ #12350]
67270         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
67271         bit from old_res_options.
67272         (gaih_inet): Likewise.
67274         [BZ #11099]
67275         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
67276         as signed.
67278         * resolv/res_init.c (res_setoptions): Make the code more compact.
67280         [BZ #11558]
67281         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
67282         set RES_USEVC.
67284         [BZ #11634]
67285         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
67287         * malloc/malloc.h: Mark malloc hook variables as deprecated.
67289         [BZ #11781]
67290         * malloc/malloc.h: Declare malloc hook variables as volatile.
67292         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
67293         in last patch.
67295         [BZ #11799]
67296         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
67297         raise in the comment.
67298         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67299         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67300         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
67302 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
67304         [BZ #12811]
67305         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
67306         grow the buffers more if it already has to be sufficient.
67307         (build_wcs_upper_buffer): Likewise.
67308         * posix/regexec.c (check_matching): Likewise.
67309         (clean_state_log_if_needed): Likewise.
67310         (extend_buffers): Don't enlarge buffers beyond size of the input
67311         buffer.
67312         Patches mostly by Emil Wojak <emil@wojak.eu>.
67313         * posix/bug-regex32.c: New file.
67314         * posix/Makefile (tests): Add bug-regex32.
67316         * locale/findlocale.c (_nl_find_locale): Return right away if
67317         _nl_explode_name failed.
67318         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
67320         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
67322         * debug/xtrace.sh: Unify messages.
67323         * malloc/memusage.sh: Likewise.
67325         [BZ #12813]
67326         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
67327         time symbol from vDSO.  Substitute with vsyscall if not available.
67328         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
67329         __vdso_time.
67331         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
67332         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
67333         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
67334         Add sendmmsg and internal_sendmmsg.
67335         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
67336         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
67337         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
67339         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
67340         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
67341         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
67343 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
67345         [BZ #12813]
67346         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
67347         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
67348         available.
67349         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
67350         __vdso_getcpu.
67352         [BZ #12814]
67353         * iconvdata/Makefile (tests): Add bug-iconv9.
67354         * iconvdata/bug-iconv9.c: New file.
67356 2011-05-27  Andreas Schwab  <schwab@redhat.com>
67358         [BZ #12814]
67359         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
67361 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
67363         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67364         (struct user_regs_struct): Change intcs field back to cs.
67366 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
67368         * po/ja.po: Update from translation team.
67370 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
67372         [BZ #12795]
67373         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
67374         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
67376 2011-05-20  Andreas Schwab  <schwab@redhat.com>
67378         * stdlib/longlong.h: Update from GCC.
67380 2011-05-23  Andreas Schwab  <schwab@redhat.com>
67382         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
67383         parameter name.
67384         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
67385         Add parameter name.
67386         (__sysconf): Pass it down.
67388 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
67390         [BZ #12671]
67391         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
67392         some situations.
67393         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
67394         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
67395         add in in __libc_use_alloca calls.  Adjust callers.
67396         (glob): Use malloc in some situations.
67398         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
67399         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
67400         pltexit.
67402 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
67404         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
67405         and CLOCK_BOOTTIME_ALARM.
67407         [BZ #12782]
67408         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
67409         is returned.
67411         * string/_strerror.c (__strerror_r): Print negative errors as signed
67412         numbers.
67414         [BZ #12777]
67415         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
67416         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
67417         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
67419         * configure.in: Fix typo in redirection and correct removal of test
67420         files in two cases.
67422         [BZ #12788]
67423         * locale/setlocale.c (new_composite_name): Fix test to check for
67424         identical name of all categories.
67426         [BZ #12792]
67427         * libio/filedoalloc.c (local_isatty): New function.
67428         (_IO_file_doallocate): Use local_isatty.
67429         * stdio-common/perror.c (perror): In case a new stream is used
67430         forward the stream error.
67431         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
67432         error flag.
67434 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
67436         [BZ #11869]
67437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
67438         alloca.
67439         * include/alloca.h (extend_alloca_account): Define.
67441         [BZ #11857]
67442         * posix/regex.h: Fix comments with documentation of user-accessible
67443         fields after compilation and describe correct free'ing of pattern
67444         after re_compile_pattern.
67445         Patch by Reuben Thomas <rrt@sc3d.org>.
67447 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
67449         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
67450         and -mno-altivec to prevent the compiler from using Altivec and/or
67451         VSX instructions when the corresponding registers are not available.
67453 2011-05-19  Andreas Schwab  <schwab@redhat.com>
67455         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
67457 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
67459         * libio/freopen.c (freopen): Use __dup2, not dup2.
67460         * libio/freopen64.c (freopen64): Likewise.
67462 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67464         [BZ #12775]
67465         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
67466         * math/Makefile (tests): Add test-powl.
67467         (CFLAGS-test-powl.c): Define.
67468         * math/test-powl.c: New file.
67470 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67472         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
67474 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
67476         [BZ #11837]
67477         * iconvdata/gb18030.c: Update to GB18020-2005.
67479 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
67481         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
67482         RE_SYNTAX_POSIX_AWK): Update to match recent development.
67483         Patch by Aharon Robbins <arnold@skeeve.com>.
67485         [BZ #11892]
67486         * stdlib/putenv.c (putenv): Don't always create copy of the variable
67487         on the stack.
67489         [BZ #11895]
67490         * misc/pselect.c (__pselect): Handle timeout value errors hidden
67491         through underflows.
67493         [BZ #12766]
67494         * misc/error.c (error_at_line): Ensure file_name and old_file_name
67495         point to strings before performing equality test for error_one_per_line
67496         mode.
67498         [BZ #11697]
67499         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
67501         [BZ #11820]
67502         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
67503         (struct user_fpregs_struct): Avoid __uint*_t types.
67505         [BZ #6420]
67506         * malloc/mtrace.c (tr_where): Add additional parameter to point to
67507         symbol info.  Use it instead of calling _dl_addr locally.
67508         (lock_and_info): New function.
67509         (tr_freehook): Call lock_and_info and pass symbol info as additional
67510         parameter to tr_where.
67511         (tr_mallochook): Likewise.
67512         (tr_reallochook): Likewise.
67513         (tr_memalignhook): Likewise.
67515         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
67516         used and couldn't be at all thread-safe.
67518 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
67520         * libio/freopen.c (freopen): Don't close old file descriptor
67521         before the new one is opened.  Instead dup the new file descriptor
67522         to the old one after the new stream is created.
67523         * libio/freopen64.c (freopen64): Likewise.
67524         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
67525         * libio/fileops.c (_IO_new_file_close_it): Handle new
67526         _IO_FLAGS2_NOCLOSE flag.
67527         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
67528         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
67529         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
67530         _IO_FLAGS2_NOCLOSE flag.
67531         * include/unistd.h: Add hidden_proto for dup3.
67532         Define __have_dup3.
67533         * io/dup3.c: Define hidden symbol.
67534         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
67536         [BZ #7101]
67537         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
67538         when an incomplete long option is used.
67539         * posix/tst-getopt_long1.c: New file.
67540         * posix/Makefile (tests): Add tst-getopt_long1.
67542         [BZ #10138]
67543         * scripts/config.guess: Update from autoconf-2.68.
67544         * scripts/config.sub: Likewise.
67546         [BZ #10157]
67547         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
67548         tests into ...
67549         (has_cpuclock): ...this.  New function.
67550         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
67551         macro here based on has_cpuclock code.
67553         [BZ #10149]
67554         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67555         First byte (not low byte) is now always NUL.
67556         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
67558         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
67559         Use non-cancelable interfaces.
67561         [BZ #9809]
67562         * locale/iso-639.def: Add entry for Sorani.
67564         [BZ #11901]
67565         * include/stdlib.h: Move include protection to the right place.
67566         Define abort_msg_s.  Declare __abort_msg with it.
67567         * stdlib/abort.c (__abort_msg): Adjust type.
67568         * assert/assert.c (__assert_fail_base): New function.  Majority
67569         of code from __assert_fail.  Allocate memory for __abort_msg with
67570         mmap.
67571         (__assert_fail): Now call __assert_fail_base.
67572         * assert/assert-perr.c: Remove bulk of implementation.  Use
67573         __assert_fail_base.
67574         * include/assert.hL Declare __assert_fail_base.
67575         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
67576         mmap.
67577         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
67579 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
67581         [BZ #11952]
67582         [BZ #12453]
67583         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
67584         until all modules are registered in the DTV.
67585         * elf/Makefile: Add rules to build and run tst-tls19.
67586         * elf/tst-tls19.c: New file.
67587         * elf/tst-tls19mod1.c: New file.
67588         * elf/tst-tls19mod2.c: New file.
67589         * elf/tst-tls19mod3.c: New file.
67590         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
67592         [BZ #12083]
67593         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
67594         correctly.
67596         [BZ #12601]
67597         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
67598         two-byte sequence errors.
67599         * iconvdata/Makefile (tests): Add bug-iconv8.
67600         * iconvdata/bug-iconv8.c: New file.
67602         [BZ #12626]
67603         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
67604         buf2 definition.
67606         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
67608         [BZ #12432]
67609         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
67610         (dummy_getcfa): New function.
67611         (init): Get _Unwind_GetCFA address, use dummy if not found.
67612         (backtrace_helper): In recursion check, also check whether CFA changes.
67613         (__backtrace): Completely initialize arg.
67615         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
67616         storing incomplete byte sequence in state object.  Avoid testing for
67617         guaranteed too small input if we know there is enough data available.
67619 2011-05-11  Andreas Schwab  <schwab@redhat.com>
67621         * Makeconfig (+link-pie): Indent.
67622         * Rules (binaries-pie): Define if $(have-fpie) and
67623         $(build-shared).
67624         (binaries-shared): Also filter out $(binaries-pie).
67625         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
67626         * nscd/Makefile (others-pie): Add nscd.
67627         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
67628         ($(objpfx)nscd): Remove command override.
67629         * login/Makefile (others-pie): Add pt_chown.
67630         ($(objpfx)pt_chown): Remove command override.
67631         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
67632         remove command overrides.
67634 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
67636         * libio/tst_putwc.c: Fix error messages.
67638         [BZ #12724]
67639         * libio/fileops.c (_IO_new_file_close_it): Always flush when
67640         currently writing and seek to current position when not.
67641         * libio/Makefile (tests): Add bug-fclose1.
67642         * libio/bug-fclose1.c: New file.
67644 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
67646         [BZ #12511]
67647         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
67648         don't set DF_1_NODELETE here.
67649         (do_lookup_x): When entering new entry test for copy relocation
67650         and if necessary set DF_1_NODELETE flag.
67651         * elf/tst-unique4.cc: New file.
67652         * elf/tst-unique4.h: New file.
67653         * elf/tst-unique4lib.cc: New file.
67654         * elf/Makefile: Add rules to build and run tst-unique4.
67655         Patch by Piotr Bury <pbury@goahead.com>.
67657 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
67659         [BZ #12052]
67660         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
67662         [BZ #12625]
67663         * misc/mntent_r.c (addmntent): Flush the stream after the output
67665         [BZ #12393]
67666         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
67667         (is_trusted_path_normalize): Skip initial colon.  Append slash
67668         to empty buffer.  Duplicate is_trusted_path code but allow
67669         constructed patch to be prefix.
67670         (is_dst): Allow $ORIGIN followed by /.
67671         (_dl_dst_substitute): Correct clearing of check_for_trusted.
67672         Correct testing of result of is_trusted_path_normalize
67673         (decompose_rpath): Fix warning.
67675 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
67677         [BZ #11257]
67678         * grp/initgroups.c (internal_getgrouplist): When we found the service
67679         list through the initgroups entry in nsswitch.conf do not always
67680         continue on a successful lookup.  Don't always use the
67681         __nss_group_database value if it is set.
67682         * nss/nsswitch.conf (initgroups): Change action for successful db
67683         lookup to continue for compatibility.
67685 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
67687         [BZ #11532]
67688         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
67689         and CP774 modules.
67690         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
67691         and CP774 modules.
67692         * iconvdata/tst-tables.sh: Likewise.
67693         * iconvdata/cp770.c: New file.
67694         * iconvdata/cp771.c: New file.
67695         * iconvdata/cp772.c: New file.
67696         * iconvdata/cp773.c: New file.
67697         * iconvdata/cp774.c: New file.
67698         * iconvdata/testdata/CP770: New file.
67699         * iconvdata/testdata/CP770..UTF8: New file.
67700         * iconvdata/testdata/CP771: New file.
67701         * iconvdata/testdata/CP771..UTF8: New file.
67702         * iconvdata/testdata/CP772: New file.
67703         * iconvdata/testdata/CP772..UTF8: New file.
67704         * iconvdata/testdata/CP773: New file.
67705         * iconvdata/testdata/CP773..UTF8: New file.
67706         * iconvdata/testdata/CP774: New file.
67707         * iconvdata/testdata/CP774..UTF8: New file.
67709         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
67710         END CHARMAP line.
67711         * iconvdata/gen-8bit-gap.sh: Likewise.
67712         * iconvdata/gen-8bit.sh: Likewise.
67714         * locale/iso-639.def: Add ary entry.
67716         [BZ #11258]
67717         * locale/C-translit.h.in: Add U20A1 transliteration.
67719         [BZ #12178]
67720         * locale/iso-639.def: Add wae entry.
67721         Patch by Kevin Bortis <bortis@translate-wae.ch>.
67723         [BZ #12545]
67724         * locale/programs/localedef.c (construct_output_path): Use ssize_t
67725         for n.
67727         [BZ #12711]
67728         * locale/C-translit.h.in: Add entry for U20B9.
67729         Patch by pravin.d.s@gmail.com.
67731 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
67733         [BZ #12713]
67734         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
67735         ENAMETOOLONG use generic getcwd.
67736         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
67737         in rtld.  Use *stat64.
67738         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
67739         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
67740         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
67741         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
67742         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
67743         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
67744         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
67745         __fstatat64 macros.
67746         * include/dirent.h: Add libc_hidden_proto for rewinddir.
67747         * dirent/rewinddir.c: Add libc_hidden_def.
67748         * sysdeps/mach/hurd/rewinddir.c: Likewise.
67749         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
67751         * include/dirent.h (__alloc_dir): Add flags parameter.
67752         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
67753         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
67754         __alloc_dir.
67755         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
67756         from fdopendir if O_CLOEXEC is already set.
67758 2011-03-15  Alan Modra  <amodra@gmail.com>
67760         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
67761         l_tls_firstbyte_offset non-zero.  Save padding offset in
67762         l_tls_firstbyte_offset for later use.
67763         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
67764         freeing static tls block.
67766 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
67768         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
67769         where #ifdef was intended.  The intent is to prevent ARG_MAX from
67770         being defined by the kernel headers.
67772 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
67774         [BZ #12734]
67775         * resolv/resolv.h: Define RES_NOTLDQUERY.
67776         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
67777         no-tld-query and set RES_NOTLDQUERY.
67778         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
67779         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
67780         modern BIND to search name as TLD unless forbidden.
67782 2011-05-07  Petr Baudis  <pasky@suse.cz>
67783             Ulrich Drepper  <drepper@gmail.com>
67785         [BZ #12393]
67786         * elf/dl-load.c (fillin_rpath): Move trusted path check...
67787         (is_trusted_path): ...to here.
67788         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
67789         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
67790         using is_trusted_path_normalize() in setuid scripts.
67792 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67794         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
67795         __BEGIN/__END_DECLS.
67797 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
67799         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
67800         NSS_STATUS_NOTFOUND if no record was found.
67802 2011-05-05  Andreas Schwab  <schwab@redhat.com>
67804         * sunrpc/Makefile (headers): Add rpc/netdb.h.
67805         (headers-not-in-tirpc): Remove rpc/netdb.h
67806         * resolv/netdb.h: Revert last change.
67808 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67810         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
67811         circular dependency between libgcc.a and libc.a.
67813 2011-05-05  Andreas Schwab  <schwab@redhat.com>
67815         * resolv/netdb.h: Don't include <rpc/netdb.h>.
67816         * nis/Makefile: Don't install rpcsvc/*.
67817         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
67818         instead of <rpc/types.h>.
67819         (MAXHOSTNAMELEN): Define.
67821 2011-05-03  Andreas Schwab  <schwab@redhat.com>
67823         * elf/ldconfig.c (add_dir): Don't crash on empty path.
67825 2011-04-28  Maciej Babinski  <mbabinski@google.com>
67827         [BZ #12714]
67828         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
67829         gethostbyname4_r when IPv6 results are possible.
67831 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
67833         [BZ #12723]
67834         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
67835         _PC_PIPE_BUF handling.
67837 2011-04-30  Bruno Haible  <bruno@clisp.org>
67839         [BZ #12717]
67840         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
67841         * resolv/netdb.h (getnameinfo): Change type of flags parameter
67842         to 'int'.
67843         * inet/getnameinfo.c (getnameinfo): Likewise.
67845 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
67847         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
67848         to groups setting in database lookup.
67849         * nss/nsswitch.conf: Add initgroups entry.
67851 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
67853         [BZ #12685]
67854         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
67855         mode string.
67856         Patch by Eric Blake <eblake@redhat.com>.
67858 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
67860         * sunrpc/Makefile (need-export-routines): Add svc_run.
67861         (routines): Remove svc_run.
67862         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
67863         * sunrpc/clnt_perr.c (clnt_perrno): Export.
67864         * sunrpc/svc_run.c (svc_run): Likewise.
67865         * sunrpc/svc_udp.c (svcudp_create): Likewise.
67867 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
67869         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
67870         problem in reallocation in last patch.
67872 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
67874         * sunrpc/Makefile: Move inclusion of Rules.
67876 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67878         * nss/nss_files/files-initgroups.c: New file.
67879         * nss/Makefile (libnss_files-routines): Add files-initgroups.
67880         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
67881         _nss_files_initgroups_dyn.
67883 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
67885         * elf/elf.h (R_ARM_IRELATIVE): Define.
67887 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
67889         * po/ru.po: Update from translation team.
67891 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67893         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
67894         dependencies.
67896 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
67898         [BZ #12653]
67899         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
67900         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
67901         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67902         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67903         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67905 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
67907         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
67908         differing bytes.
67909         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67910         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67911         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67913 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
67915         [BZ #12420]
67916         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
67917         storing it.
67918         * stdlib/bug-getcontext.c: New file.
67919         * stdlib/Makefile: Add rules to build and run bug-getcontext.
67921 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67923         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
67924         instructions into .machine "z9-109".
67925         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
67926         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
67928 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67930         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
67931         between environment variables and auxiliary vector.
67933 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
67935         * Makefile: Add rules to build linkobj/libc.so.
67936         * include/libc-symbols.h: Define libc_hidden_nolink.
67937         * include/rpc/auth.h: Mark functions which are to be hidden.
67938         * include/rpc/auth_des.h: Likewise.
67939         * include/rpc/auth_unix.h: Likewise.
67940         * include/rpc/clnt.h: Likewise.
67941         * include/rpc/des_crypt.h: Likewise.
67942         * include/rpc/key_prot.h: Likewise.
67943         * include/rpc/pmap_clnt.h: Likewise.
67944         * include/rpc/pmap_prot.h: Likewise.
67945         * include/rpc/pmap_rmt.h: Likewise.
67946         * include/rpc/rpc_msg.h: Likewise.
67947         * include/rpc/svc.h: Likewise.
67948         * include/rpc/svc_auth.h: Likewise.
67949         * include/rpc/xdr.h: Likewise.
67950         * nis/Makefile: Link all DSOs against linkobj/libc.so.
67951         * nss/Makefile: Likewise.
67952         * sunrpc/Makefile: Don't install headers.  Build library with normal
67953         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
67954         * sunrpc/auth_des.c: Hide exported symbols by default, export some
67955         for the compat linking library.  Remove use of INTDEF/INTUSE.
67956         * sunrpc/auth_none.c: Likewise.
67957         * sunrpc/auth_unix.c: Likewise.
67958         * sunrpc/authdes_prot.c: Likewise.
67959         * sunrpc/authuxprot.c: Likewise.
67960         * sunrpc/clnt_gen.c: Likewise.
67961         * sunrpc/clnt_perr.c: Likewise.
67962         * sunrpc/clnt_raw.c: Likewise.
67963         * sunrpc/clnt_simp.c: Likewise.
67964         * sunrpc/clnt_tcp.c: Likewise.
67965         * sunrpc/clnt_udp.c: Likewise.
67966         * sunrpc/clnt_unix.c: Likewise.
67967         * sunrpc/des_crypt.c: Likewise.
67968         * sunrpc/des_soft.c: Likewise.
67969         * sunrpc/get_myaddr.c: Likewise.
67970         * sunrpc/key_call.c: Likewise.
67971         * sunrpc/key_prot.c: Likewise.
67972         * sunrpc/netname.c: Likewise.
67973         * sunrpc/pm_getmaps.c: Likewise.
67974         * sunrpc/pm_getport.c: Likewise.
67975         * sunrpc/pmap_clnt.c: Likewise.
67976         * sunrpc/pmap_prot.c: Likewise.
67977         * sunrpc/pmap_prot2.c: Likewise.
67978         * sunrpc/pmap_rmt.c: Likewise.
67979         * sunrpc/publickey.c: Likewise.
67980         * sunrpc/rpc_cmsg.c: Likewise.
67981         * sunrpc/rpc_common.c: Likewise.
67982         * sunrpc/rpc_dtable.c: Likewise.
67983         * sunrpc/rpc_prot.c: Likewise.
67984         * sunrpc/rpc_thread.c: Likewise.
67985         * sunrpc/rtime.c: Likewise.
67986         * sunrpc/svc.c: Likewise.
67987         * sunrpc/svc_auth.c: Likewise.
67988         * sunrpc/svc_authux.c: Likewise.
67989         * sunrpc/svc_raw.c: Likewise.
67990         * sunrpc/svc_run.c: Likewise.
67991         * sunrpc/svc_simple.c: Likewise.
67992         * sunrpc/svc_tcp.c: Likewise.
67993         * sunrpc/svc_udp.c: Likewise.
67994         * sunrpc/svc_unix.c: Likewise.
67995         * sunrpc/svcauth_des.c: Likewise.
67996         * sunrpc/xcrypt.c: Likewise.
67997         * sunrpc/xdr.c: Likewise.
67998         * sunrpc/xdr_array.c: Likewise.
67999         * sunrpc/xdr_float.c: Likewise.
68000         * sunrpc/xdr_intXX_t.c: Likewise.
68001         * sunrpc/xdr_mem.c: Likewise.
68002         * sunrpc/xdr_rec.c: Likewise.
68003         * sunrpc/xdr_ref.c: Likewise.
68004         * sunrpc/xdr_sizeof.c: Likewise.
68005         * sunrpc/xdr_stdio.c: Likewise.
68007 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
68009         [BZ #12650]
68010         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
68011         * sysdeps/ia64/dl-tls.h: Likewise.
68012         * sysdeps/powerpc/dl-tls.h: Likewise.
68013         * sysdeps/s390/dl-tls.h: Likewise.
68014         * sysdeps/sh/dl-tls.h: Likewise.
68015         * sysdeps/sparc/dl-tls.h: Likewise.
68016         * sysdeps/x86_64/dl-tls.h: Likewise.
68017         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
68019 2011-03-14  Andreas Schwab  <schwab@redhat.com>
68021         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
68022         rpath element also skip the following colon.
68023         (expand_dynamic_string_token): Add is_path parameter and pass
68024         down to DL_DST_REQUIRED and _dl_dst_substitute.
68025         (decompose_rpath): Call expand_dynamic_string_token with
68026         non-zero is_path.  Ignore empty rpaths.
68027         (_dl_map_object_from_fd): Call expand_dynamic_string_token
68028         with zero is_path.
68030 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
68032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68033         Make cancelable.
68035 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
68037         [BZ #12655]
68038         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
68039         Patch by Filipe David Manana <fdmanana@apache.org>.
68041 2011-04-07  Andreas Schwab  <schwab@redhat.com>
68043         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
68044         Maintain aligned stack.
68045         (CHECK_RSP): Remove unused macro.
68047 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
68049         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
68050         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
68052 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
68054         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
68056         * include/features.h: Mention __USE_XOPEN2K8 in comment.
68058 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
68060         [BZ #12518]
68061         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
68062         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
68063         * sysdeps/x86_64/memmove.c: New file.
68064         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
68065         (memcpy): Renamed to ...
68066         (__new_memcpy): This.
68067         (memcpy): Provide GLIBC_2_14 memcpy.
68068         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
68069         (memcpy): Provide GLIBC_2_2_5 memcpy.
68071 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68073         [BZ #12631]
68074         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
68076 2011-03-30  Andreas Schwab  <schwab@redhat.com>
68078         * misc/syncfs.c: New file.
68079         * misc/Makefile (routines): Add syncfs.
68080         * posix/unistd.h: Declare syncfs.
68081         * sysdeps/unix/syscalls.list: Add syncfs.
68083 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68085         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
68086         open_by_handle_at.
68087         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
68088         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68089         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68090         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68091         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68092         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
68093         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68095 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68097         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
68098         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68099         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
68100         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68101         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68102         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68103         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68105         * io/Makefile: Compile fallocate.c, fallocate64.c, and
68106         sync_file_range.c with -fexceptions.
68107         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
68108         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
68109         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
68110         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
68111         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
68112         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68113         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
68114         sync_file_range as cancellation point
68115         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
68116         now a wrapper around __call_sync_file_range with cancellation handling.
68117         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
68118         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
68119         function name to __call_sync_file_range.
68120         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
68121         Add call_sync_file_range.
68123 2011-04-01  Andreas Schwab  <schwab@redhat.com>
68125         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68126         bits/timex.h.
68128 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
68130         * iconv/iconv.h: Fix typo in comment.
68131         * io/fcntl.h: Likewise.
68132         * libio/stdio.h: Likewise.
68133         * posix/spawn.h: Likewise.
68134         * posix/unistd.h: Likewise.
68135         * stdlib/stdlib.h: Likewise.
68136         * time/time.h: Likewise.
68137         * wcsmbs/wchar.h: Likewise.
68139         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
68140         open_by_handle): Add.
68141         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
68142         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
68143         Augment a few comments.
68144         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
68145         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68146         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
68147         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68148         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
68149         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
68150         open_by_handle.
68152         * io/fcntl.h (AT_EMPTY_PATH): Define.
68154 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
68156         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
68157         * sysdeps/unix/sysv/linux/bits/time.h: New file.
68158         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
68159         to...
68160         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
68161         * Versions.def: Add GLIBC_2.14.
68162         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
68163         Export.
68165 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
68167         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
68168         round counter.
68169         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68171 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68173         [BZ #12597]
68174         * string/test-strncmp.c (do_page_test): New function.
68175         (check2): Likewise.
68176         (test_main): Call check2.
68177         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
68179 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
68181         [BZ #12587]
68182         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
68183         Handle cache information in CPU leaf 4.
68184         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
68186 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
68188         [BZ #12583]
68189         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
68190         character representation.
68191         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
68193 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
68195         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
68196         END(__isnan) to END(__isnanf) to match function entry point/label
68197         EALIGN(__isnanf,...).
68199 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
68201         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
68203 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
68205         [BZ #12510]
68206         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
68207         copy from the symbol referenced in the relocation to initialize the
68208         used variable.
68209         Patch by Piotr Bury <pbury@goahead.com>.
68210         * elf/Makefile: Add rules to build and tst-unique3.
68211         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
68212         * elf/tst-unique3.cc: New file.
68213         * elf/tst-unique3.h: New file.
68214         * elf/tst-unique3lib.cc: New file.
68215         * elf/tst-unique3lib2.cc: New file.
68217         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
68219 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
68221         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
68222         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
68223         to _start.
68225 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
68227         * elf/dl-load.c (_dl_map_object): If we are looking for the first
68228         to-be-loaded object along a path to loader is ld.so.
68230 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68231             Ulrich Drepper  <drepper@gmail.com>
68233         * sysdeps/x86_64/memset.S: After aligning destination, code
68234         branches to different locations depending on the value of
68235         misalignment, when multiarch is enabled. Fix this.
68237 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
68239         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
68240         Set _x86_64_preferred_memory_instruction for AMD processsors.
68241         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68242         Set bit_Prefer_SSE_for_memop for AMD processors.
68244 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
68246         * libio/fmemopen.c (fmemopen): Optimize a bit.
68248 2011-03-03  Andreas Schwab  <schwab@redhat.com>
68250         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
68252 2011-03-03  Roland McGrath  <roland@redhat.com>
68254         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
68256 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
68258         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
68259         __bzero_ultra1 instead of __memset_ultra1.
68261 2011-02-23  Andreas Schwab  <schwab@redhat.com>
68262             Ulrich Drepper  <drepper@gmail.com>
68264         [BZ #12509]
68265         * include/link.h (struct link_map): Add l_orig_initfini.
68266         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
68267         returning unsuccessfully.
68268         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
68269         close of a file loaded at startup, restore the original l_initfini
68270         list.
68271         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
68272         list, store the pointer.
68273         * elf/Makefile ($(objpfx)noload-mem): New rule.
68274         (noload-ENV): Define.
68275         (tests): Add $(objpfx)noload-mem.
68276         * elf/noload.c: Include <memcheck.h>.
68277         (main): Call mtrace.  Close all opened handles.
68279 2011-02-17  Andreas Schwab  <schwab@redhat.com>
68281         [BZ #12454]
68282         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
68283         dependencies are missing.
68285 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68287         Fix __if_freereq crash: Unlike the generic version which uses free,
68288         Hurd needs munmap.
68289         * sysdeps/mach/hurd/ifreq.h: New file.
68291 2011-01-27  Petr Baudis  <pasky@suse.cz>
68292             Ulrich Drepper  <drepper@gmail.com>
68294         [BZ 12445]#
68295         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
68296         to extend_alloca().
68297         * stdio-common/bug23.c: New file.
68298         * stdio-common/Makefile (tests): Add bug23.
68300 2010-09-28  Andreas Schwab  <schwab@redhat.com>
68301             Ulrich Drepper  <drepper@gmail.com>
68303         [BZ #12489]
68304         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
68305         before performing relro protection.  At old place add assertion
68306         to make sure nothing changed.
68308 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
68309             Glauber de Oliveira Costa  <glommer@gmail.com>
68311         * elf/elf.h: Add new ARM TLS relocs.
68313 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
68315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68316         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
68317         cast from r3.
68318         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
68319         'tests' variable.
68320         * sysdeps/wordsize-64/tst-writev.c: New file.
68322 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
68324         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
68325         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
68326         insns in _dl_start to prevent a TOC reference before relocs are
68327         resolved.
68329 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
68331         [BZ #12469]
68332         * Makeconfig: Remove RANLIB definition.
68333         * Makerules: Don't use RANLIB.
68334         * aclocal.m4: Remove ranlib test.
68335         * configure.in: No need to check for ranlib.
68336         * elf/rtld-Rules: Don't use RANLIB.
68338 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68340         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
68341         protection macro.
68342         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
68343         inclusion protection macro.
68345         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
68346         SIGRTMIN and SIGRTMAX and print information in that case only when
68347         SIGRTMIN is defined.
68349 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
68351         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
68352         arginfo fn returning -1.
68354         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
68355         and thousands string is zero terminated.
68357 2011-02-03  Andreas Schwab  <schwab@redhat.com>
68359         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
68360         sysdeps/unix/sysv/linux/bits/socket.h.
68362 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68364         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
68365         (__CPU_COUNT): Remove old macros.
68366         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
68367         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
68368         (__CPU_ALLOC, __CPU_FREE): Add macros.
68369         (__sched_cpualloc, __sched_cpufree): Add declarations.
68371 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
68373         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
68374         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
68375         * nscd/aicache.c (addhstaiX): Return timeout of added value.
68376         (readdhstai): Return value of addhstaiX call.
68377         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
68378         (addgrbyX): Return value returned by cache_addgr.
68379         (readdgrbyname): Return value returned by addgrbyX.
68380         (readdgrbygid): Likewise.
68381         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
68382         (addpwbyX): Return value returned by cache_addpw.
68383         (readdpwbyname): Return value returned by addhstbyX.
68384         (readdpwbyuid): Likewise.
68385         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
68386         (addservbyX): Return value returned by cache_addserv.
68387         (readdservbyname): Return value returned by addservbyX:
68388         (readdservbyport): Likewise.
68389         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
68390         (addhstbyX): Return value returned by cache_addhst.
68391         (readdhstbyname): Return value returned by addhstbyX.
68392         (readdhstbyaddr): Likewise.
68393         (readdhstbynamev6): Likewise.
68394         (readdhstbyaddrv6): Likewise.
68395         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
68396         (readdinitgroups): Return value returned by addinitgroupsX.
68397         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
68398         (prune_cache): Keep track of timeout value of re-added entries.
68399         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
68400         * nscd/nscd.h: Adjust prototypes of readd* functions.
68402 2011-02-04  Roland McGrath  <roland@redhat.com>
68404         * nis/nis_server.c (nis_servstate): Use the right name for 0.
68405         (nis_stats): Likewise.
68406         * nis/nis_modify.c (nis_modify): Likewise.
68407         * nis/nis_remove.c (nis_remove): Likewise.
68408         * nis/nis_add.c (nis_add): Likewise.
68410         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
68412         * posix/fnmatch_loop.c: Add some consts.
68414         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
68416 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
68418         [BZ #12460]
68419         * config.make.in (config-cflags-novzeroupper): Define.
68420         * configure.in: Substitute libc_cv_cc_novzeroupper.
68421         * elf/Makefile (AVX-CFLAGS): Define.
68422         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
68423         (CFLAGS-tst-auditmod4a.c): Likewise.
68424         (CFLAGS-tst-auditmod4b.c): Likewise.
68425         (CFLAGS-tst-auditmod6b.c): Likewise.
68426         (CFLAGS-tst-auditmod6c.c): Likewise.
68427         (CFLAGS-tst-auditmod7b.c): Likewise.
68428         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
68430 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
68432         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
68433         function to the callback.
68434         Patch partly by Jiri Olsa <jolsa@redhat.com>.
68436 2011-02-02  Andreas Schwab  <schwab@redhat.com>
68438         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
68439         of errno.
68441 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
68443         [BZ #11724]
68444         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
68445         of constructors.
68446         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
68447         of destructors.
68448         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
68450         [BZ #11724]
68451         * elf/Makefile: Add rules to build and run new test.
68452         * elf/tst-initorder.c: New file.
68453         * elf/tst-initorder.exp: New file.
68454         * elf/tst-initordera1.c: New file.
68455         * elf/tst-initordera2.c: New file.
68456         * elf/tst-initordera3.c: New file.
68457         * elf/tst-initordera4.c: New file.
68458         * elf/tst-initorderb1.c: New file.
68459         * elf/tst-initorderb2.c: New file.
68460         * elf/tst-order-a1.c: New file.
68461         * elf/tst-order-a2.c: New file.
68462         * elf/tst-order-a3.c: New file.
68463         * elf/tst-order-a4.c: New file.
68464         * elf/tst-order-b1.c: New file.
68465         * elf/tst-order-b2.c: New file.
68466         * elf/tst-order-main.c: New file.
68467         New test case by George Gensure <werkt0@gmail.com>.
68469 2010-10-01  Andreas Schwab  <schwab@redhat.com>
68471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
68472         decoding ACE if AI_CANONIDN.
68474 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
68476         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
68478 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
68480         * version.h (RELEASE): Bump for 2.13 release.
68481         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
68483         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
68485         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
68486         MADV_NOHUGEPAGE.
68487         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
68488         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
68489         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68490         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68491         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68492         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68494         * posix/getconf.c: Update copyright year.
68495         * catgets/gencat.c: Likewise.
68496         * csu/version.c: Likewise.
68497         * debug/catchsegv.sh: Likewise.
68498         * debug/xtrace.sh: Likewise.
68499         * elf/ldconfig.c: Likewise.
68500         * elf/ldd.bash.in: Likewise.
68501         * elf/sprof.c (print_version): Likewise.
68502         * iconv/iconv_prog.c: Likewise.
68503         * iconv/iconvconfig.c: Likewise.
68504         * locale/programs/locale.c: Likewise.
68505         * locale/programs/localedef.c: Likewise.
68506         * malloc/memusage.sh: Likewise.
68507         * malloc/mtrace.pl: Likewise.
68508         * nscd/nscd.c (print_version): Likewise.
68509         * nss/getent.c: Likewise.
68511         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
68512         PF_CAIF, and PF_ALG.
68513         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68515 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
68517         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
68518         (modules-names): Use them.
68519         (ifunc-test-modules, ifunc-pie-tests): Define.
68520         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
68521         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
68522         (test-extras): Likewise.
68523         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
68524         $(compile-command.c).
68525         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
68526         (all-built-dso): Define.
68527         (check-textrel.out, check-execstack.out): Depend on it.
68529         * configure.in: Don't override --enable-multi-arch.
68531 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
68533         [BZ #6812]
68534         * nscd/hstcache.c (tryagain): Define.
68535         (cache_addhst): Return tryagain not notfound for temporary errors.
68536         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
68537         failed.
68539 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
68541         [BZ #10563]
68542         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
68543         to make the syscall.
68544         * sysdeps/unix/sysv/linux/setgroups.c: New file.
68546         [BZ #12378]
68547         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
68548         and fall back to matching as normal character if the string ends before
68549         the matching ']' is found.  This is what POSIX requires.
68550         * posix/testfnm.c: Adjust test result.
68551         * posix/globtest.sh: Adjust test result.  Add new test.
68552         * posix/tst-fnmatch.input: Likewise.
68553         * posix/tst-fnmatch2.c: Add new test.
68555 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
68557         * elf/Makefile (check-execstack): Revert last change.  Depend on
68558         check-execstack.h.
68559         (check-execstack.h): New target.
68560         (generated): Add check-execstack.h.
68561         * elf/check-execstack.c: Include "check-execstack.h".
68562         (main): Revert last change.
68563         (handle_file): Return zero if GNU_STACK is absent and
68564         DEFAULT_STACK_PERMS doesn't include PF_X.
68566 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
68568         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
68569         in child fails because the descriptor is already closed.
68570         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
68571         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
68572         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
68574         [BZ #12397]
68575         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
68576         syscall.
68578         [BZ #10484]
68579         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
68580         temporary buffer used to handle multi lookups locally.
68581         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
68583 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68585         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
68586         loader is ld.so.
68588 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
68590         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
68591         alignment for SSE2.
68593 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
68595         [BZ #12394]
68596         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
68597         characters.  When rounding increased number of integer digits recompute
68598         number of groups.
68599         * stdio-common/tst-grouping.c: New file.
68600         * stdio-common/Makefile: Add rules to build and run tst-grouping.
68602 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
68604         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
68605         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
68607         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
68608         void.
68609         * bits/select.h: Likewise.
68611 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
68613         * po/ja.po: Update from translation team.
68615 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
68617         [BZ #11155]
68618         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
68619         implementation just like for lxstat, fxstatat, et al.
68621 2010-12-27  Jim Meyering  <meyering@redhat.com>
68623         [BZ #12348]
68624         * posix/regexec.c (build_trtable): Return failure indication upon
68625         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
68627 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
68629         [BZ #12201]
68630         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
68631         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
68632         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
68633         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
68635         [BZ #12207]
68636         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
68638         [BZ #12204]
68639         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
68640         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
68642 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
68644         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
68645         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
68646         script has SORT_BY_INIT_PRIORITY.
68647         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
68648         NO_CTORS_DTORS_SECTIONS is defined.
68649         * elf/soinit.c: Likewise.
68650         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
68651         NO_CTORS_DTORS_SECTIONS is defined.
68652         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
68653         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
68654         * sysdeps/sh/init-first.c: Likewise.
68655         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
68657 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
68659         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
68660         always use the slow path.
68662 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
68664         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
68665         similar rule which adds the sysdep directories to the header search in
68666         order to pick up the correct platform stackinfo.h.
68667         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
68668         perform test if it is, otherwise return successfully without testing.
68669         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
68670         DEFAULT_STACK_PERMS define in stackinfo.h.
68671         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
68672         defined in stackinfo.h.
68673         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
68674         DEFAULT_STACK_PERMS defined in stackinfo.h.
68675         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
68676         * sysdeps/ia64/stackinfo.h: Likewise.
68677         * sysdeps/s390/stackinfo.h: Likewise.
68678         * sysdeps/sh/stackinfo.h: Likewise.
68679         * sysdeps/sparc/stackinfo.h: Likewise.
68680         * sysdeps/x86_64/stackinfo.h: Likewise.
68681         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
68682         PF_X for powerpc64.  Retain PF_X for powerpc32.
68684 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
68686         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
68687         accurately.
68688         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
68689         GETDENTS_64BIT_ALIGNED.
68691 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
68693         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
68695 2010-12-10  Andreas Schwab  <schwab@redhat.com>
68697         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
68698         _GNU_SOURCE.
68700         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
68701         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
68702         Remove __restrict.
68703         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
68704         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
68706 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
68708         [BZ #11655]
68709         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
68710         are initialized.
68712 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
68714         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
68716 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
68718         * po/it.po: Update from translation team.
68720 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
68722         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
68723         unused codes.
68725 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
68727         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
68729 2010-11-24  Andreas Schwab  <schwab@redhat.com>
68731         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
68732         specially.
68733         (gaih_getanswer_slice): Likewise.
68735 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
68737         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
68739 2010-05-31  Petr Baudis  <pasky@suse.cz>
68741         [BZ #11149]
68742         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
68743         silently even in the chroot mode.
68745 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
68747         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
68748         last patch a bit.  Pretty printing
68750 2010-05-31  Petr Baudis <pasky@suse.cz>
68752         [BZ #10085]
68753         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
68754         initialization of skip_initgroups_dyn.
68756 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
68758         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
68759         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
68761 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
68763         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
68765 2010-11-11  Andreas Schwab  <schwab@redhat.com>
68767         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
68768         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
68769         (tst-fnmatch-ENV): Set MALLOC_TRACE.
68770         ($(objpfx)tst-fnmatch-mem): New rule.
68771         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
68772         * posix/tst-fnmatch.c (main): Call mtrace.
68774 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
68776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68777         Support Intel processor model 6 and model 0x2c.
68779 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
68781         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
68782           signed comparison.
68784 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
68786         [BZ #12205]
68787         * string/test-strncasecmp.c (check_result): New function.
68788         (do_one_test): Use it.
68789         (check1): New function.
68790         (test_main): Use it.
68791         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
68792         Support strcasecmp and strncasecmp.
68794 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
68796         [BZ #12194]
68797         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
68798         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68800 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68802         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
68803         IFUNC support.
68804         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68805         memset-x86-64.
68806         * sysdeps/x86_64/multiarch/bzero.S: New file.
68807         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
68808         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
68809         * sysdeps/x86_64/multiarch/memset.S: New file.
68810         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
68811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68812         Set bit_Prefer_SSE_for_memop for Intel processors.
68813         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
68814         Define.
68815         (index_Prefer_SSE_for_memop): Define.
68816         (HAS_PREFER_SSE_FOR_MEMOP): Define.
68818 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
68820         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
68821         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
68823 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
68825         [BZ #12191]
68826         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
68827         (__x86_64_raw_data_cache_size_half): Likewise.
68828         (__x86_64_raw_shared_cache_size): Likewise.
68829         (__x86_64_raw_shared_cache_size_half): Likewise.
68831         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
68832         (__x86_64_raw_data_cache_size_half): Likewise.
68833         (__x86_64_raw_shared_cache_size): Likewise.
68834         (__x86_64_raw_shared_cache_size_half): Likewise.
68835         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
68836         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
68837         and __x86_64_raw_shared_cache_size_half.  Round
68838         __x86_64_data_cache_size_half, __x86_64_data_cache_size
68839         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
68840         to multiple of 256 bytes.
68842 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
68844         [BZ #12167]
68845         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
68846         of inacessible symlinks.  Verify result of symlink before returning it.
68847         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
68848         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
68850 2010-10-28  Erich Ritz  <erichritz@gmail.com>
68852         * math/math.h (isinf): Fix typo in comment.
68854 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
68856         * po/da.po: Update from translation team.
68858 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
68860         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
68861         is added to the list.
68863 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68864             Ulrich Drepper  <drepper@gmail.com>
68866         * elf/dl-object.c (_dl_new_object): Don't append the new object to
68867         the global list here.  Move code to...
68868         (_dl_add_to_namespace_list): ...here.  New function.
68869         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
68870         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
68871         * elf/dl-load.c (lose): Don't remove the element from the list.
68872         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
68873         (_dl_map_object): Likewise.
68875 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
68877         [BZ #12159]
68878         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
68879         into all bytes of SSE register.
68880         Patch by Richard Li <richardpku@gmail.com>.
68882 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
68884         [BZ #12140]
68885         * malloc/malloc.c (_int_free): Fill correct number of bytes when
68886         perturbing.
68888 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
68890         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
68891         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
68892         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
68893         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
68895         submachine.
68896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
68898 2010-10-22  Andreas Schwab  <schwab@redhat.com>
68900         * include/dlfcn.h (__RTLD_SECURE): Define.
68901         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
68902         mode & __RTLD_SECURE instead.
68903         (open_path): Rename preloaded parameter to secure.
68904         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
68905         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
68906         * elf/dl-deps.c (openaux): Likewise.
68907         * elf/rtld.c (struct map_args): Remove is_preloaded.
68908         (map_doit): Don't use it.
68909         (dl_main): Likewise.
68910         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
68911         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
68913 2010-09-09  Andreas Schwab  <schwab@redhat.com>
68915         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
68916         (sysd-rules-targets): Remove duplicates.
68917         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
68918         rtld-%.$o dependency.
68920 2010-10-18  Andreas Schwab  <schwab@redhat.com>
68922         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
68923         _dl_map_object do it.
68925 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
68927         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
68928         fast fma builtins, define the macros in the C99 standard.
68929         (FP_FAST_FMAF): Likewise.
68930         (FP_FAST_FMAL): Likewise.
68931         * sysdeps/x86_64/bits/mathdef.h: Likewise.
68933         * bits/mathdef.h: Update copyright year.
68934         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68936 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
68938         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
68939         builtins, define the macros in the C99 standard.
68940         (FP_FAST_FMAF): Likewise.
68941         (FP_FAST_FMAL): Likewise.
68942         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
68943         multiply/add.
68944         (FP_FAST_FMAF): Likewise.
68946 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
68948         [BZ #3268]
68949         * math/libm-test.inc (fma_test): Some new testcases.
68950         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
68951         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
68952         y and infinite z.  Do multiplication by C already in long double.
68953         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
68954         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
68955         y and infinite z.  Do bitwise or of inexact bit into u.d.
68956         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
68957         * sysdeps/i386/fpu/s_fmaf.S: Removed.
68958         * sysdeps/i386/fpu/s_fma.S: Removed.
68959         * sysdeps/i386/fpu/s_fmal.S: Removed.
68961 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
68963         [BZ #3268]
68964         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
68965         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
68966         computation is not scheduled after fetestexcept.  Fix value
68967         of minimum denormal long double.
68969 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
68971         [BZ #3268]
68972         * math/libm-test.inc (fma_test): Add some more tests.
68973         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
68974         correctly.
68976 2010-10-15  Andreas Schwab  <schwab@redhat.com>
68978         * scripts/data/localplt-s390-linux-gnu.data: New file.
68979         * scripts/data/localplt-s390x-linux-gnu.data: New file.
68981 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
68983         [BZ #3268]
68984         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
68985         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
68986         instead of dbl-64.
68987         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
68988         inlines.
68989         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
68990         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
68991         if one of x and y is very large and the other is subnormal.
68992         * sysdeps/s390/fpu/s_fmaf.c: New file.
68993         * sysdeps/s390/fpu/s_fma.c: New file.
68994         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
68995         * sysdeps/powerpc/fpu/s_fma.S: New file.
68996         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
68997         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
68998         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
69000 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
69002         [BZ #3268]
69003         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
69004         fma tests.
69005         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
69006         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
69007         * sysdeps/i386/i686/multiarch/s_fma.c: Include
69008         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
69009         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
69010         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
69011         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
69013 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
69015         [BZ #12078]
69016         * posix/regcomp.c (parse_branch): One more memory leak plugged.
69017         * posix/bug-regex31.input: Add test case.
69019 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69021         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
69022         * posix/bug-regex31.input: New file.
69024         [BZ #12078]
69025         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
69026         (parse_sub_exp): Fix last change, use postorder.
69028         * posix/bug-regex31.c: New file.
69029         * posix/Makefile: Add rules to build and run bug-regex31.
69031         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
69033         [BZ #12078]
69034         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
69036         [BZ #12108]
69037         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
69038         to have entries in sys_siglist.
69040         [BZ #12093]
69041         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
69042         be NULL.
69044 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
69046         [BZ #3268]
69047         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
69048         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
69049         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
69050         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
69051         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69052         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
69053         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
69054         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
69055         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
69056         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
69057         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
69058         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
69059         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
69060         * math/ftestexcept.c (fetestexcept): Likewise.
69061         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
69062         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
69063         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
69064         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
69065         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
69066         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
69067         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69069 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
69071         [BZ #12107]
69072         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
69073         newline.
69075 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
69077         * string/bug-strstr1.c: New file.
69078         * string/Makefile: Add rules to build and run bug-strstr1.
69080 2010-10-05  Eric Blake  <eblake@redhat.com>
69082         [BZ #12092]
69083         * string/str-two-way.h (two_way_long_needle): Always clear memory
69084         when skipping input due to the shift table.
69086 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
69088         [BZ #12005]
69089         * malloc/mcheck.c: Handle large requests.
69091         [BZ #12077]
69092         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
69093         for strncmp and strncasecmp.
69094         * string/stratcliff.c: Add tests for strcmp and strncmp.
69095         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
69097 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69099         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
69100         __set_fpscr.
69102 2010-09-30  Andreas Jaeger  <aj@suse.de>
69104         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
69105         (CGROUP_SUPER_MAGIC): Define.
69106         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69107         Handle btrfs and cgroup file systems.
69108         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69109         Likewise.
69111 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
69113         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
69114         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
69116 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69118         [BZ #12067]
69119         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
69120         trying to locate the ELF header.
69122 2010-09-27  Andreas Schwab  <schwab@redhat.com>
69124         [BZ #11611]
69125         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
69126         Mask out sign-bit copies when constructing f_fsid.
69128 2010-09-24  Petr Baudis <pasky@suse.cz>
69130         * debug/stack_chk_fail_local.c: Add missing licence exception.
69131         * debug/warning-nop.c: Likewise.
69133 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
69135         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
69136         implementing getdents64 using getdents syscall, set d_type if
69137         __ASSUME_GETDENTS32_D_TYPE.
69139 2010-09-16  Andreas Schwab  <schwab@redhat.com>
69141         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
69142         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
69144 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
69146         [BZ #12037]
69147         * posix/unistd.h: Undo change of feature selection for ftruncate from
69148         2010-01-11.
69150 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
69152         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
69153         detection.
69155 2010-09-20  Andreas Schwab  <schwab@redhat.com>
69157         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
69158         fanotify_mark.
69159         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69161 2010-09-14  Andreas Schwab  <schwab@redhat.com>
69163         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
69164         variables after CHECK_SP call.
69165         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
69167 2010-09-13  Andreas Schwab  <schwab@redhat.com>
69168             Ulrich Drepper  <drepper@redhat.com>
69170         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
69171         re-relocationg ld.so.
69172         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
69173         _dl_init_paths call.
69174         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
69175         here anymore.
69177 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
69179         * resolv/res_init.c (__res_vinit): Count the default server we added.
69181 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
69182             Ulrich Drepper  <drepper@redhat.com>
69184         [BZ #11968]
69185         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
69186         (____longjmp_chk): Use %ebx for saving value across system call.
69187         Add unwind info.
69189 2010-09-06  Andreas Schwab  <schwab@redhat.com>
69191         * manual/Makefile: Don't mix pattern rules with normal rules.
69193 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69195         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
69196         operation.
69197         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
69198         * libio/iofopncook.c (_IO_cookie_init): Likewise.
69199         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
69200         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
69201         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
69202         Likewise.
69204 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
69206         [BZ #11979]
69207         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
69208         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
69210 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
69212         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
69213         * sysdeps/x86_64/addmul_1.S: Likewise.
69214         * sysdeps/x86_64/lshift.S: Likewise.
69215         * sysdeps/x86_64/mul_1.S: Likewise.
69216         * sysdeps/x86_64/rshift.S: Likewise.
69217         * sysdeps/x86_64/sub_n.S: Likewise.
69218         * sysdeps/x86_64/submul_1.S: Likewise.
69220 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69222         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
69223         Define __sched_param instead of SCHED_* and sched_param when
69224         <bits/sched.h> is included with __need_schedparam defined.
69225         * bits/sched.h [__need_schedparam]
69226         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
69227         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
69228         (__defined_schedparam): Define to 1.
69229         (__sched_param): New structure, identical to sched_param.
69230         (__need_schedparam): Undefine.
69232 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
69234         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
69235         (epoll_create1): Declare.
69237         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
69239 2010-08-31  Andreas Schwab  <schwab@redhat.com>
69241         [BZ #7066]
69242         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
69243         shifting retval into place.
69245 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
69247         * nis/rpcsvc/nis.h: Update copyright notice.
69248         * nis/rpcsvc/nis.x: Likewise.
69249         * nis/rpcsvc/nis_callback.h: Likewise.
69250         * nis/rpcsvc/nis_callback.x: Likewise.
69251         * nis/rpcsvc/nis_object.x: Likewise.
69252         * nis/rpcsvc/nis_tags.h: Likewise.
69253         * nis/rpcsvc/yp.h: Likewise.
69254         * nis/rpcsvc/yp.x: Likewise.
69255         * nis/rpcsvc/ypupd.h: Likewise.
69256         * nis/yp_xdr.c: Likewise.
69257         * nis/ypupdate_xdr.c: Likewise.
69259         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
69260         mainly the body of pmap_getport.  Add parameters to specify timeouts.
69261         (pmap_getport): Use __libc_rpc_getport.
69262         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
69263         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
69264         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
69266 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
69268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
69269         fanotify_mark.
69271 2010-08-27  Roland McGrath  <roland@redhat.com>
69273         * sysdeps/i386/i686/multiarch/Makefile
69274         (CFLAGS-varshift.c): New variable.
69276 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
69278         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
69279         * sysdeps/i386/i686/multiarch/varshift.c: New file.
69281         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
69283         * sysdeps/x86_64/strlen.S: Minimal code improvement.
69285 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
69287         * sysdeps/x86_64/strlen.S: Unroll the loop.
69288         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69289         strlen-sse2 strlen-sse2-bsf.
69290         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
69291         __strlen_no_bsf if bit_Slow_BSF is set.
69292         (__strlen_sse42): Removed.
69293         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
69294         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
69296 2010-08-25  Roland McGrath  <roland@redhat.com>
69298         * sysdeps/x86_64/multiarch/varshift.S: File removed.
69299         * sysdeps/x86_64/multiarch/varshift.c: New file.
69300         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
69301         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
69302         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
69303         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69305 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
69307         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69308         strlen-sse2 strlen-sse2-bsf.
69309         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
69310         __strlen_sse2_bsf if bit_Slow_BSF is unset.
69311         (__strlen_sse2): Removed.
69312         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
69313         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
69314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
69315         bit_Slow_BSF for Atom.
69316         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
69317         (index_Slow_BSF): Define.
69318         (HAS_SLOW_BSF): Define.
69320 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
69322         [BZ #10851]
69323         * resolv/res_init.c (__res_vinit): When no server address at all
69324         is given default to loopback.
69326 2010-08-24  Roland McGrath  <roland@redhat.com>
69328         * configure.in: Remove config-name.h generation.
69329         * configure: Regenerated.
69330         * config-name.in: File removed.
69331         * scripts/config-uname.sh: New file.
69332         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
69333         ($(objdir)config-name.h): New target.
69335         * sunrpc/rpc_parse.h: Avoid nested comment.
69337 2010-08-24  Richard Henderson  <rth@redhat.com>
69338             Ulrich Drepper  <drepper@redhat.com>
69339             H.J. Lu  <hongjiu.lu@intel.com>
69341         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
69342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
69343         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
69344         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
69345         _mm_alignr_epi8 with _mm_loadu_si128.
69346         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
69347         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
69348         (__m128i_shift_right): Removed.
69349         * sysdeps/i386/i686/multiarch/varshift.h: New file.
69350         * sysdeps/i386/i686/multiarch/varshift.S: New file.
69351         * sysdeps/x86_64/multiarch/varshift.h: New file.
69352         * sysdeps/x86_64/multiarch/varshift.S: New file.
69354 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
69356         * configure.in: Move assembler checks to before sysdep dir checking.
69358 2010-08-20  Petr Baudis  <pasky@suse.cz>
69360         * LICENSES: Sync the sunrpc license.
69362 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
69364         * sunrpc/auth_des.c: Update copyright notice once again.
69365         * sunrpc/auth_none.c: Likewise.
69366         * sunrpc/auth_unix.c: Likewise.
69367         * sunrpc/authdes_prot.c: Likewise.
69368         * sunrpc/authuxprot.c: Likewise.
69369         * sunrpc/bindrsvprt.c: Likewise.
69370         * sunrpc/clnt_gen.c: Likewise.
69371         * sunrpc/clnt_perr.c: Likewise.
69372         * sunrpc/clnt_raw.c: Likewise.
69373         * sunrpc/clnt_simp.c: Likewise.
69374         * sunrpc/clnt_tcp.c: Likewise.
69375         * sunrpc/clnt_udp.c: Likewise.
69376         * sunrpc/clnt_unix.c: Likewise.
69377         * sunrpc/des_crypt.c: Likewise.
69378         * sunrpc/des_soft.c: Likewise.
69379         * sunrpc/get_myaddr.c: Likewise.
69380         * sunrpc/getrpcport.c: Likewise.
69381         * sunrpc/key_call.c: Likewise.
69382         * sunrpc/key_prot.c: Likewise.
69383         * sunrpc/openchild.c: Likewise.
69384         * sunrpc/pm_getmaps.c: Likewise.
69385         * sunrpc/pm_getport.c: Likewise.
69386         * sunrpc/pmap_clnt.c: Likewise.
69387         * sunrpc/pmap_prot.c: Likewise.
69388         * sunrpc/pmap_prot2.c: Likewise.
69389         * sunrpc/pmap_rmt.c: Likewise.
69390         * sunrpc/rpc/auth.h: Likewise.
69391         * sunrpc/rpc/auth_unix.h: Likewise.
69392         * sunrpc/rpc/clnt.h: Likewise.
69393         * sunrpc/rpc/des_crypt.h: Likewise.
69394         * sunrpc/rpc/key_prot.h: Likewise.
69395         * sunrpc/rpc/netdb.h: Likewise.
69396         * sunrpc/rpc/pmap_clnt.h: Likewise.
69397         * sunrpc/rpc/pmap_prot.h: Likewise.
69398         * sunrpc/rpc/pmap_rmt.h: Likewise.
69399         * sunrpc/rpc/rpc.h: Likewise.
69400         * sunrpc/rpc/rpc_des.h: Likewise.
69401         * sunrpc/rpc/rpc_msg.h: Likewise.
69402         * sunrpc/rpc/svc.h: Likewise.
69403         * sunrpc/rpc/svc_auth.h: Likewise.
69404         * sunrpc/rpc/types.h: Likewise.
69405         * sunrpc/rpc/xdr.h: Likewise.
69406         * sunrpc/rpc_clntout.c: Likewise.
69407         * sunrpc/rpc_cmsg.c: Likewise.
69408         * sunrpc/rpc_common.c: Likewise.
69409         * sunrpc/rpc_cout.c: Likewise.
69410         * sunrpc/rpc_dtable.c: Likewise.
69411         * sunrpc/rpc_hout.c: Likewise.
69412         * sunrpc/rpc_main.c: Likewise.
69413         * sunrpc/rpc_parse.c: Likewise.
69414         * sunrpc/rpc_parse.h: Likewise.
69415         * sunrpc/rpc_prot.c: Likewise.
69416         * sunrpc/rpc_sample.c: Likewise.
69417         * sunrpc/rpc_scan.c: Likewise.
69418         * sunrpc/rpc_scan.h: Likewise.
69419         * sunrpc/rpc_svcout.c: Likewise.
69420         * sunrpc/rpc_tblout.c: Likewise.
69421         * sunrpc/rpc_util.c: Likewise.
69422         * sunrpc/rpc_util.h: Likewise.
69423         * sunrpc/rpcinfo.c: Likewise.
69424         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
69425         * sunrpc/rpcsvc/key_prot.x: Likewise.
69426         * sunrpc/rpcsvc/klm_prot.x: Likewise.
69427         * sunrpc/rpcsvc/mount.x: Likewise.
69428         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
69429         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
69430         * sunrpc/rpcsvc/rex.x: Likewise.
69431         * sunrpc/rpcsvc/rstat.x: Likewise.
69432         * sunrpc/rpcsvc/rusers.x: Likewise.
69433         * sunrpc/rpcsvc/sm_inter.x: Likewise.
69434         * sunrpc/rpcsvc/spray.x: Likewise.
69435         * sunrpc/rpcsvc/yppasswd.x: Likewise.
69436         * sunrpc/rtime.c: Likewise.
69437         * sunrpc/svc.c: Likewise.
69438         * sunrpc/svc_auth.c: Likewise.
69439         * sunrpc/svc_authux.c: Likewise.
69440         * sunrpc/svc_raw.c: Likewise.
69441         * sunrpc/svc_run.c: Likewise.
69442         * sunrpc/svc_simple.c: Likewise.
69443         * sunrpc/svc_tcp.c: Likewise.
69444         * sunrpc/svc_udp.c: Likewise.
69445         * sunrpc/svc_unix.c: Likewise.
69446         * sunrpc/svcauth_des.c: Likewise.
69447         * sunrpc/xcrypt.c: Likewise.
69448         * sunrpc/xdr.c: Likewise.
69449         * sunrpc/xdr_array.c: Likewise.
69450         * sunrpc/xdr_float.c: Likewise.
69451         * sunrpc/xdr_mem.c: Likewise.
69452         * sunrpc/xdr_rec.c: Likewise.
69453         * sunrpc/xdr_ref.c: Likewise.
69454         * sunrpc/xdr_sizeof.c: Likewise.
69455         * sunrpc/xdr_stdio.c: Likewise.
69457         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
69458         handling.
69460 2010-08-19  Andreas Schwab  <schwab@redhat.com>
69462         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
69464 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
69466         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
69467         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
69468         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
69469         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
69470         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
69471         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
69472         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
69473         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
69474         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
69475         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
69476         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
69477         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
69478         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
69479         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
69481 2010-07-26  Anton Blanchard  <anton@samba.org>
69483         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
69484         * malloc/arena.c (heap_trim): Likewise.
69486 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
69488         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
69489         here.  Not...
69490         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
69491         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
69493 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
69495         * sysdeps/i386/elf/Makefile: New file.
69497 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69499         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
69500         from fanotify_init.
69501         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
69502         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69504 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
69506         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
69507         of strncasecmp_l.
69508         * sysdeps/multiarch/strcmp.S: Likewise.
69510 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
69512         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69513         strncase_l-nonascii.
69514         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69515         Add strncase_l-ssse3.
69516         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
69517         * sysdeps/x86_64/strcmp.S: Likewise.
69518         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
69519         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
69520         * sysdeps/x86_64/strncase.S: New file.
69521         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
69522         * sysdeps/x86_64/strncase_l.S: New file.
69523         * string/Makefile (strop-tests): Add strncasecmp.
69524         * string/test-strncasecmp.c: New file.
69526         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
69527         warning.
69529         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
69530         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
69532 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
69534         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
69536 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
69538         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
69539         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
69540         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
69542 2010-05-01  Alan Modra  <amodra@gmail.com>
69544         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
69545         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
69546         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
69547         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
69548         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
69549         tidying.  Don't tail-call __sigjmp_save for static lib.
69550         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
69551         save location.
69552         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
69553         (CALL_MCOUNT): Add eh info, and nop after bl.
69554         (TAIL_CALL_SYSCALL_ERROR): New macro.
69555         (PSEUDO_RET): Use it.
69556         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
69557         Correct save location of integer regs and cr.
69558         (_dl_profile_resolve): Correct cr save location.  Delete nops
69559         after bl when SHARED.  Reduce cfi size a little by better
69560         placement of cfi directives.
69561         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
69562         make a stack frame.  Instead use parm save area as a temp.
69563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
69564         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
69565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
69566         Don't make a stack frame for parent, use parm save area.
69567         Increase child stack frame to 112 bytes.  Don't save unused reg,
69568         and adjust reg usage.  Set up cfi on error recovery and
69569         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
69570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
69571         (__makecontext): Add dummy nop after jump to exit.
69572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
69573         Use correct parm save area and cr save, reduce stack frame.
69574         Correct cfi for possible PSEUDO_RET frame setup.
69575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
69576         Branch to local label emitted by PSEUDO_RET rather than
69577         __syscall_error.
69579 2010-08-12  Andreas Schwab  <schwab@redhat.com>
69581         [BZ #11904]
69582         * locale/programs/locale.c (print_assignment): New function.
69583         (show_locale_vars): Use it.
69585 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
69587         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
69588         field.
69589         (struct statfs64): Likewise.
69590         (_STATFS_F_FLAGS): Define.
69591         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
69592         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69593         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
69594         (ST_VALID): Define locally.
69595         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
69596         __statvfs_getflags, use the provided value.
69597         * sysdeps/unix/sysv/linux/kernel-features.h: Define
69598         __ASSUME_STATFS_F_FLAGS.
69600         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
69602         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
69603         Add sys/fanotify.h.
69604         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
69605         fanotify_mask for GLIBC_2.13.
69606         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
69607         fanotify_init and fanotify_mark.
69608         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
69609         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
69611         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
69612         Add prlimit.
69613         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
69614         prlimit64 for GLIBC_2.13.
69615         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
69616         prlimit64.
69617         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
69618         syscall.
69619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
69620         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
69621         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
69622         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
69623         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
69624         add prlimit alias.
69625         * sysdeps/unix/sysv/linux/prlimit.c: New file.
69627         [BZ #11903]
69628         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
69629         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
69631         * nss/Makefile: Add rules to build and run tst-nss-test1.
69632         * shlib-versions: Add entry for libnss_test1.
69633         * nss/nss_test1.c: New file.
69634         * nss/tst-nss-test1.c: New file.
69636         * nss/nsswitch.c (__nss_database_custom): Define new variable.
69637         (__nss_configure_lookup): Set appropriate entry in
69638         __nss_configure_lookup to true.
69639         * nss/nsswitch.h: Define enum with indeces of databases in
69640         databases and __nss_database_custom arrays.  Declare
69641         __nss_database_custom.
69642         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
69643         to avoid using nscd when custom rules are installed.
69644         * nss/getXXbyYY_r.c: Likewise.
69645         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
69647         * nss/nss_files/files-parse.c: Whitespace fixes.
69649 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
69651         [BZ #11883]
69652         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
69653         * posix/fnmatch_loop.c: Likewise.
69655 2010-07-17  Andi Kleen  <ak@linux.intel.com>
69657         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
69658         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
69659         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
69660         * Versions.def [GLIBC_2.13]: Add.
69662 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
69664         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69665         Also fail if tpwd after pwuid call is NULL.
69667 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69669         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
69670         when converting to ms.
69672 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69674         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
69675         EOPNOTSUPP errors with ENOTTY.
69676         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
69677         EOPNOTSUPP errors with ENOTTY.
69679 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
69681         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
69682         Add strcasecmp_l-ssse3.
69683         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
69684         strcasecmp.
69685         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
69686         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
69687         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
69689 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
69691         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
69693         * string/Makefile (strop-tests): Add strcasecmp.
69694         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
69695         strcasecmp_l-nonascii.
69696         (gen-as-const-headers): Add locale-defines.sym.
69697         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
69698         * sysdeps/x86_64/strcasecmp.S: New file.
69699         * sysdeps/x86_64/strcasecmp_l.S: New file.
69700         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
69701         * sysdeps/x86_64/locale-defines.sym: New file.
69702         * string/test-strcasecmp.c: New file.
69704         * string/test-strcasestr.c: Test both ends of the range of characters.
69705         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
69707 2010-07-29  Roland McGrath  <roland@redhat.com>
69709         [BZ #11856]
69710         * manual/locale.texi (Yes-or-No Questions): Fix example code.
69712 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
69714         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
69715         for ld.so.
69717 2010-07-27  Andreas Schwab  <schwab@redhat.com>
69719         * manual/memory.texi (Malloc Tunable Parameters): Document
69720         M_PERTURB.
69722 2010-07-26  Roland McGrath  <roland@redhat.com>
69724         [BZ #11840]
69725         * configure.in (-fgnu89-inline check): Set and substitute
69726         gnu89_inline, not libc_cv_gnu89_inline.
69727         * configure: Regenerated.
69728         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
69730 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
69732         * string/test-strnlen.c: New file.
69733         * string/Makefile (strop-tests): Add strnlen.
69734         * string/tester.c (test_strnlen): Add a few more test cases.
69735         * string/tst-strlen.c: Better error reporting.
69737         * sysdeps/x86_64/strnlen.S: New file.
69739 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
69741         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
69742         lower-latency instructions.
69744 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
69746         * string/test-strcasestr.c: New file.
69747         * string/test-strstr.c: New file.
69748         * string/Makefile (strop-tests): Add strstr and strcasestr.
69749         * string/str-two-way.h: Don't undefine MAX.
69750         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
69752 2010-07-21  Andreas Schwab  <schwab@redhat.com>
69754         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69755         strcasestr-nonascii.
69756         (CFLAGS-strcasestr-nonascii.c): Define.
69757         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
69758         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
69759         Remove unused attribute.
69761 2010-07-20  Roland McGrath  <roland@redhat.com>
69763         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
69764         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
69765         ld.so.cache was broken.  With it, there is no way to disable dsocaps
69766         like LD_HWCAP_MASK can disable hwcaps.
69768 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69770         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
69772 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
69774         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
69775         call in strcasestr.
69776         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
69777         __strcasestr_sse42_nonascii.
69778         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
69779         strcasestr-nonascii.c.
69780         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
69782 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
69784         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
69785         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
69786         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
69787         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
69789 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
69791         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
69792         fcntl.
69794 2010-07-06  Andreas Schwab  <schwab@redhat.com>
69796         [BZ #11577]
69797         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
69798         dl_signal_cerror.
69800 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
69802         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
69803         _PC_PIPE_BUF using F_GETPIPE_SZ.
69805 2010-07-05  Roland McGrath  <roland@redhat.com>
69807         * manual/arith.texi (Rounding Functions): Fix rint description
69808         implicit in round description.
69810 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
69812         * elf/Makefile: Fix linking for a few tests to make recent linker
69813         happy.
69815 2010-06-30  Andreas Schwab  <schwab@redhat.com>
69817         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69818         $(common-objpfx)libc_nonshared.a.
69820 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
69822         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
69823         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
69824         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
69825         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
69826         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
69827         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
69828         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
69829         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
69830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
69831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
69832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
69833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
69834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
69835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
69836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
69837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
69838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
69839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
69840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
69841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
69842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
69843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
69844         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
69845         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
69846         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
69847         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
69848         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
69849         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
69850         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
69851         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
69852         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
69853         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
69854         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
69855         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
69856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
69857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
69858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
69859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
69860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
69861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
69862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
69863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
69864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
69865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
69866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
69867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
69868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
69869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
69871 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
69873         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
69874         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
69875         * string/memmove.c (memmove): Renamed to ...
69876         (MEMMOVE): ...this.  Default to memmove.
69877         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
69878         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
69879         (END_CHK): Define.
69880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69881         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
69882         mempcpy-ssse3-back memmove-ssse3-back.
69883         * sysdeps/x86_64/multiarch/bcopy.S: New file .
69884         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
69885         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
69886         * sysdeps/x86_64/multiarch/memcpy.S: New file.
69887         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
69888         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
69889         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
69890         * sysdeps/x86_64/multiarch/memmove.c: New file.
69891         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
69892         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
69893         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
69894         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
69895         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
69896         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
69897         Define.
69898         (index_Fast_Copy_Backward): Define.
69899         (HAS_ARCH_FEATURE): Define.
69900         (HAS_FAST_REP_STRING): Define.
69901         (HAS_FAST_COPY_BACKWARD): Define.
69903 2010-06-21  Andreas Schwab  <schwab@redhat.com>
69905         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
69906         Restore proper fallback handling.
69908 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
69910         [BZ #11701]
69911         * posix/group_member.c (__group_member): Correct checking loop.
69913         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
69914         OOM in getpwuid_r correctly.  Return error number when the caller
69915         should return, otherwise -1.
69916         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
69917         call returning > 0 value.
69918         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
69920 2010-06-07  Andreas Schwab  <schwab@redhat.com>
69922         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
69923         libc_nonshared.a from targets in modules-names.
69925 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
69927         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
69928         requires it.
69930 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
69932         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
69933         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
69934         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
69935         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
69937 2010-06-02  Andreas Schwab  <schwab@redhat.com>
69939         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
69941 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
69943         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
69944         and F_GETPIPE_SZ.
69945         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69946         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69947         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69948         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69949         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69950         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
69952 2010-06-14  Roland McGrath  <roland@redhat.com>
69954         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
69956 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
69958         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
69959         __REDIRECT followed by __THROW.
69960         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
69961         * posix/getopt.h (getopt): Likewise.
69963 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
69965         * hurd/lookup-at.c (__file_name_lookup_at): Accept
69966         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
69967         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
69968         in AT_FLAGS.
69969         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
69970         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
69972 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
69974         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
69976 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
69978         [BZ #11640]
69979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69980         Properly check family and model.
69982 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
69984         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
69986 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
69988         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
69990 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
69992         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
69993         symbol reference.
69995 2010-05-19  Andreas Schwab  <schwab@redhat.com>
69997         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
69998         symbol reference.
70000 2010-05-21  Andreas Schwab  <schwab@redhat.com>
70002         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
70003         and internal_recvmmsg.
70004         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
70005         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
70006         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
70007         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
70009         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
70010         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
70011         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
70013 2010-05-20  Andreas Schwab  <schwab@redhat.com>
70015         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
70017 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
70019         POWER7 optimizations.
70020         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
70021         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
70023 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
70025         * version.h: Update for 2.13 development version.
70027 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
70029         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
70030         exceptions.  Return 0.
70032 2010-05-07  Roland McGrath  <roland@redhat.com>
70034         * elf/ldconfig.c (main): Add a const.
70036 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
70038         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
70039         (args_options): Add no-idn option.
70040         (ahosts_keys_int): Add idn_flags to ai_flags.
70041         (parse_option): Handle 'i' option to clear idn_flags.
70043         * malloc/malloc.c (_int_free): Possible race in the most recently
70044         added check.  Only act on the data if no current modification
70045         happened.
70047 See ChangeLog.17 for earlier changes.