conformtest: use proper _POSIX_C_SOURCE value for POSIX.
[glibc.git] / ChangeLog
blobf9cda045ba1f46adf77df74207852532c3c5337c
1 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4         -D_POSIX_C_SOURCE=199506L.
6         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
8         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
9         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
10         Do not mention otherwise.
11         [POSIX] (_XOPEN_VERSION): Do not expect.
12         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
13         [POSIX] (_POSIX2_C_BIND): Likewise.
14         [POSIX] (_POSIX2_VERSION): Likewise.
15         [POSIX] (_XOPEN_XPG2): Likewise.
16         [POSIX] (_XOPEN_XPG3): Likewise.
17         [POSIX] (_XOPEN_XPG4): Likewise.
18         [POSIX] (_XOPEN_UNIX): Likewise.
19         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20         [POSIX] (_POSIX_BARRIERS): Likewise.
21         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22         [POSIX] (_POSIX_CPUTIME): Likewise.
23         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
25         [POSIX] (_POSIX_SHELL): Likewise.
26         [POSIX] (_POSIX_SPAWN): Likewise.
27         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
28         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
29         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
30         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
32         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
33         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
34         [POSIX] (_XBS5_LP64_OFF64): Likewise.
35         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
36         [POSIX] (_POSIX_TIMEOUTS): Likewise.
37         [POSIX] (_POSIX2_PBS): Likewise.
38         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
39         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
40         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
41         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
42         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
43         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
44         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
45         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
46         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
47         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
48         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
49         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
50         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
51         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
52         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
53         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
54         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
55         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
56         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
57         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
58         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
59         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
60         [POSIX] (_SC_2_C_BIND): Likewise.
61         [POSIX] (_SC_2_C_VERSION): Likewise.
62         [POSIX] (_SC_2_PBS): Likewise.
63         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
64         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
65         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
66         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
67         [POSIX] (_SC_2_PBS_TRACK): Likewise.
68         [POSIX] (_SC_ATEXIT_MAX): Likewise.
69         [POSIX] (_SC_BARRIERS): Likewise.
70         [POSIX] (_SC_BASE): Likewise.
71         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
72         [POSIX] (_SC_DEVICE_IO): Likewise.
73         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
74         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
75         [POSIX] (_SC_FD_MGMT): Likewise.
76         [POSIX] (_SC_FIFO): Likewise.
77         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
78         [POSIX] (_SC_FILE_LOCKING): Likewise.
79         [POSIX] (_SC_FILE_SYSTEM): Likewise.
80         [POSIX] (_SC_IOV_MAX): Likewise.
81         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
82         [POSIX] (_SC_NETWORKING): Likewise.
83         [POSIX] (_SC_PAGE_SIZE): Likewise.
84         [POSIX] (_SC_PASS_MAX): Likewise.
85         [POSIX] (_SC_PIPE): Likewise.
86         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
87         [POSIX] (_SC_REGEXP): Likewise.
88         [POSIX] (_SC_SHELL): Likewise.
89         [POSIX] (_SC_SIGNALS): Likewise.
90         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
91         [POSIX] (_SC_SPIN_LOCKS): Likewise.
92         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
93         [POSIX] (_SC_USER_GROUPS): Likewise.
94         [POSIX] (_SC_USER_GROUPS_R): Likewise.
95         [POSIX] (_SC_STREAMS): Likewise.
96         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
97         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
98         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
99         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
100         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
101         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
102         [POSIX] (_PC_FILESIZEBITS): Likewise.
103         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
104         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
105         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
106         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
107         [POSIX] (uid_t): Likewise.
108         [POSIX] (gid_t): Likewise.
109         [POSIX] (off_t): Likewise.
110         [POSIX] (pid_t): Likewise.
111         [POSIX] (cuserid): Allow.
112         (_SC_2_CHAR_TERM): Require constant.
113         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
114         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
115         variable.
117 2015-05-20  Roland McGrath  <roland@hack.frob.com>
119         * sysdeps/nacl/pthread-pids.h: New file.
120         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
121         (create_thread): Use __nacl_get_tid to initialize PD->tid.
123         * nptl/pthread-pids.h: New file.
124         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
125         * nptl/nptl-init.c: Include <pthread-pids.h>.
126         (__pthread_initialize_minimal_internal):
127         Call __pthread_initialize_pids instead of set_tid_address syscall.
129         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
130         * sysdeps/posix/usleep.c: ... here.
132 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
134         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
135         call_pselect6 object.
136         [$(subdir) = io]: Remove call_sync_file_range object.
137         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
138         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
139         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
140         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
142 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
144         * math/s_cproj.c: Add include "math_private.h".
145         * math/s_cprojf.c: Likewise.
146         * math/s_cprojl.c: Likewise.
148 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
150         [BZ #18244]
151         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
152         high mantissa bit when testing whether P is a NaN.
153         * math/libm-test.inc (remainder_test_data): Add more tests.
154         (remquo_test_data): Likewise.
156         [BZ #18049]
157         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
158         below -32, return the argument, with underflow if subnormal.
159         * math/auto-libm-test-in: Add more tests of atanh.
160         * math/auto-libm-test-out: Regenerated.
162 2015-05-19  Roland McGrath  <roland@hack.frob.com>
164         [BZ #18434]
165         * nptl/tst-sem15.c: New file.
166         * nptl/Makefile (tests): Add it.
167         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
168         s/<</>>/ to fix typo in EOVERFLOW check.
169         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
171 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
173         * manual/strings.texi (envz_remove): Fix typo in safety
174         annotations.
176 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
177             Steve Ellcey  <sellcey@imgtec.com>
179         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
180         in order to avoid strict alias warnings.
181         (iruserok_af): Ditto for ra.
183 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
185         [BZ #17581]
186         * malloc/hooks.c
187         (magicbyte): Convert to a function and avoid returning 0x01.
188         (mem2mem_check): Avoid using a length byte equal to the magic byte.
189         (mem2chunk_check): Fix unsigned comparisons to zero.
190         Hoist defs of sz and magic.
192 2015-05-19  Richard Henderson  <rth@redhat.com>
194         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
196         * sysdeps/alpha/fpu/libm-test-ulps: Update.
198 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
200         [BZ #16159]
201         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
202         * malloc/arena.c (arena_lock): Check if arena is corrupt.
203         (reused_arena): Find a non-corrupt arena.
204         (heap_trim): Pass arena to unlink.
205         * malloc/hooks.c (malloc_check_get_size): Pass arena to
206         malloc_printerr.
207         (top_check): Likewise.
208         (free_check): Likewise.
209         (realloc_check): Likewise.
210         * malloc/malloc.c (malloc_printerr): Add arena argument.
211         (unlink): Likewise.
212         (munmap_chunk): Adjust.
213         (ARENA_CORRUPTION_BIT): New macro.
214         (arena_is_corrupt): Likewise.
215         (set_arena_corrupt): Likewise.
216         (sysmalloc): Use mmap if there are no usable arenas.
217         (_int_malloc): Likewise.
218         (__libc_malloc): Don't fail if arena_get returns NULL.
219         (_mid_memalign): Likewise.
220         (__libc_calloc): Likewise.
221         (__libc_realloc): Adjust for additional argument to
222         malloc_printerr.
223         (_int_free): Likewise.
224         (malloc_consolidate): Likewise.
225         (_int_realloc): Likewise.
226         (_int_memalign): Don't touch corrupt arenas.
227         * malloc/tst-malloc-backtrace.c: New test case.
229         * Makefile (summarize-tests): Fix return value on success.
231         * manual/string.texi (Envz Functions): Add envz_remove.
233 2015-05-18  Roland McGrath  <roland@hack.frob.com>
235         * sysdeps/posix/opendir.c: Include <stdbool.h>.
236         (invalid_name): New function, broken out of ...
237         (__opendirat): ... here.  Call it.
238         (need_isdir_precheck): New function, broken out of ...
239         (__opendirat): ... here.  Call it.
240         Use __fxstatat64, not __xstatat64.
241         (opendir_oflags): New function, broken out of ...
242         (__opendirat): ... here.  Call it.
243         (opendir_tail): New function, broken out of ...
244         (__opendirat): ... here.  Call it.
245         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
246         opendir_tail, rather than punting to __opendirat.
247         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
249 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
251         * .gitignore: Ignore generated *.pyc.
253 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
255         * include/stdio.h: Define __need_wint_t.
256         * test-skeleton.c: Avoid `for' loop initial declaration.
257         * nptl/tst-initializers1.c: Use test-skeleton.c.
259 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
261         [BZ #18418]
262         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
264 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
266         [BZ #16352]
267         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
268         (__ieee754_atanh): Force underflow exception for results with
269         small absolute value.
270         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
271         (__ieee754_atanhf): Force underflow exception for results with
272         small absolute value.
273         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
274         (__ieee754_atanh): Force underflow exception for results with
275         small absolute value.
276         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
277         (__ieee754_atanhf): Force underflow exception for results with
278         small absolute value.
279         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
280         (__ieee754_atanhl): Force underflow exception for results with
281         small absolute value.
282         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
283         (__ieee754_atanhl): Force underflow exception for results with
284         small absolute value.
285         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
286         (__ieee754_atanhl): Force underflow exception for results with
287         small absolute value.
288         * math/auto-libm-test-in: Do not allow missing underflow
289         exceptions from atanh.
290         * math/auto-libm-test-out: Regenerated.
292         [BZ #18221]
293         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
294         2**-28 as threshold for returning x or +/- 1/x.
295         * math/auto-libm-test-in: Add more tests of tan.
296         * math/auto-libm-test-out: Regenerated.
298         [BZ #18220]
299         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
300         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
301         * math/auto-libm-test-in: Add another test of lgamma.
302         * math/auto-libm-test-out: Regenerated.
304 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
306         * stdio-common/printf_fp.c (___printf_fp): Use abs.
307         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
308         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
309         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
310         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
311         (ADD2A): Use fabs.  (SUB2A): Use fabs.
312         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
313         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
314         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
315         (log1): Use fabs.  (my_log2): Use fabs.
316         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
317         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
318         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
319         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
320         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
321         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
322         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
323         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
324         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
325         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
326         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
328 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
330         [BZ #18217]
331         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
332         as threshold for returning 1 - x.
333         * math/auto-libm-test-in: Add more tests of erfc.
334         * math/auto-libm-test-out: Regenerated.
336 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
338         [BZ #18196]
339         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
340         threshold for large arguments.
341         * math/auto-libm-test-in: Add another test of atan.
342         * math/auto-libm-test-out: Regenerated.
344         [BZ #16339]
345         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
346         (__log1p): Force underflow exception for results with small
347         absolute value.
348         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
349         (__log1pf): Force underflow exception for results with small
350         absolute value.
351         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
352         (__log1p): Force underflow exception for results with small
353         absolute value.
354         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
355         (__log1pf): Force underflow exception for results with small
356         absolute value.
357         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
358         (__log1pl): Force underflow exception for results with small
359         absolute value.
360         * math/auto-libm-test-in: Do not allow missing underflow
361         exceptions from log1p.
362         * math/auto-libm-test-out: Regenerated.
364 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
365             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
367         [BZ #16704]
368         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
370 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
372         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
373         (libmvec): New variable.
374         * configure.ac: Added option for mathvec build.
375         * configure: Regenerated.
376         * mathvec/Depend: New file.
377         * mathvec/Makefile: New file.
378         * shlib-versions: Added libmvec.
379         * math/Makefile: Added rule for libm.so installation.
381         * bits/math-vector.h: New file.
382         * bits/libm-simd-decl-stubs.h: New header.
383         * math/Makefile (headers): Added new header
384         libm-simd-decl-stubs.h.
385         * math/math.h (__MATHCALL_VEC): New macro.
387         * math/gen-libm-have-vector-test.sh: Script generates series of macros
388         for conditions in testing functions.
389         * math/Makefile: Added call of libm-have-vector-test.sh.
390         * math/libm-test.inc (HAVE_VECTOR): New macros.
392         * math/libm-test.inc: START refactored.
393         * math/test-double.c (TEST_MATHVEC): Add define.
394         * math/test-float.c: Likewise.
395         * math/test-idouble.c: Likewise.
396         * math/test-ifloat.c: Likewise.
397         * math/test-ildoubl.c: Likewise.
398         * math/test-ldouble.c: Likewise.
399         * sysdeps/generic/math-tests-arch.h
400         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
401         architecture check.
403         * math/test-double.c (FUNC_TEST): New macro.
404         * math/test-float.c: Likewise.
405         * math/test-idouble.c: Likewise.
406         * math/test-ifloat.c: Likewise.
407         * math/test-ildoubl.c: Likewise.
408         * math/test-ldouble.c: Likewise.
409         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
411 2015-05-13  Roland McGrath  <roland@hack.frob.com>
413         * sysdeps/nacl/fdopendir.c: New file.
415         * dirent/scandir-tail.c: New file.
416         * dirent/scandir64-tail.c: New file.
417         * dirent/Makefile (routines): Add them.
418         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
419         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
420         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
421         [!SCANDIR] (SCANDIR_TAIL): New macro.
422         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
423         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
424         (SCANDIRAT): Macro removed.
425         (SCANDIR_TAIL): New macro.
426         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
427         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
428         (SCANDIRAT): Just call __opendirat and __scandir_tail.
429         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
430         (READDIR): Macro removed.
431         (SCANDIR_TAIL): New macro.
432         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
433         (SCANDIR_TAIL): New macro.
435         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
436         * dirent/scandir-cancel.c: ... to this new file.
437         * dirent/Makefile (routines): Add it.
438         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
439         * sysdeps/unix/sysv/linux/i386/scandir64.c
440         (SKIP_SCANDIR_CANCEL): Macro removed.
441         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
443         * dirent/tst-scandir.c: New file.
444         * dirent/tst-scandir64.c: New file.
445         * dirent/Makefile (tests): Add them.
447 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
449         [BZ #18409]
450         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
452 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
454         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
455         list.
457 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
459         * benchtests/bench-strcoll.c: New benchmark.
460         * benchtests/Makefile: Generate locales and run benchmark.
461         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
462         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
463         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
464         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
465         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
466         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
467         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
468         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
469         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
470         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
471         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
472         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
473         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
474         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
475         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
476         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
477         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
478         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
479         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
480         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
481         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
482         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
483         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
484         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
486 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
488         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
489         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
491 2015-05-12  Roland McGrath  <roland@hack.frob.com>
493         * posix/uname-values.h: New file.
494         * posix/uname.c: Include that instead of <config-name.h>.
495         * sysdeps/nacl/uname-values.h: New file.
496         * sysdeps/arm/nacl/uname-values.h: New file.
498 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
500         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
501         splitting into fields.
503 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
505         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
506         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
507         * locale/localeinfo.h: Add enum collation_encoding_type.
508         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
509         * programs/ld-collate.c (collate_output): Add encoding type info.
510         * string/strcoll_l.c (STRDIFF): New function.
511         * (STRCOLL): Use STRDIFF to skip over equal prefix.
512         * wcsmbs/wcscoll_l.c: Define STRDIFF.
514 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
516         [BZ #18397]
517         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
518         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
519         <fpu_control.h> instead of <math/fpu_control.c>.
520         * sysdeps/mips/mips32/fpu/Makefile: New file.
522 2015-05-11  Andreas Schwab  <schwab@suse.de>
524         [BZ #18007]
525         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
526         nss_endgrent.
527         (_nss_compat_endgrent): Call nss_endgrent.
528         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
529         nss_endpwent.
530         (_nss_compat_endpwent): Call nss_endpwent.
531         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
532         needent, call nss_setspent only if non-zero.
533         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
534         (internal_endspent): Don't call nss_endspent.
535         (_nss_compat_endspent): Call nss_endspent.
536         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
537         Remove.  All uses removed.
538         (internal_setent): Remove parameter stayopen, add parameter
539         stream.  Use it instead of global variable.
540         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
541         (internal_endent, internal_getent): Add parameter stream.  Use it
542         instead of global variable.
543         (CONCAT(_nss_files_end,ENTNAME))
544         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
545         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
546         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
547         uses removed.
548         (internal_setent, internal_endent): Add parameter stream.  Use it
549         instead of global variable.
550         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
551         stream.
552         (get_next_alias): Add parameter stream.
553         (_nss_files_getaliasent_r): Pass global stream.
554         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
555         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
556         (_nss_files_gethostbyname4_r): Pass local stream to
557         internal_setent, internal_getent and internal_endent.  Remove
558         locking.
560 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
562         * tst-strfmon1.c (tests): Update expected currency symbol.
564 2015-05-08  Roland McGrath  <roland@hack.frob.com>
566         * sysdeps/nacl/gethostname.c: New file.
568 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
570         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
571         and sinh.
572         * math/auto-libm-test-out: Regenerated.
573         * sysdeps/i386/fpu/libm-test-ulps: Update.
574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
576 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
578         [BZ #18125]
579         * stdlib/tst-setcontext3.c: New file.
580         * stdlib/tst-setcontext3.sh: New file.
581         * stdlib/Makefile (tests): Add tst-setcontext3.
582         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
583         to verify test program created output file.
584         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
585         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
586         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
587         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
589 2015-05-06  Roland McGrath  <roland@hack.frob.com>
591         [BZ #18383]
592         * elf/tst-tlsalign.c: New file.
593         * elf/tst-tlsalign-static.c: New file.
594         * elf/tst-tlsalign-lib.c: New file.
595         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
596         (tests-static): Add tst-tlsalign-static.
597         (modules-names): Add tst-tlsalign-lib.
598         (test-xfail-tst-tlsalign): New variable.
599         (test-xfail-tst-tlsalign-static): New variable.
601         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
602         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
604 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
606         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
607         csqrt, erfc, sin and sincos.
608         * math/auto-libm-test-out: Regenerated.
609         * sysdeps/i386/fpu/libm-test-ulps: Update.
610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
612 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
614         * sysdeps/aarch64/libm-test-ulps: Update.
616 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
618         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
619         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
620         * math/auto-libm-test-out: Regenerated.
621         * sysdeps/i386/fpu/libm-test-ulps: Update.
622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
624 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
626         [BZ #18265]
627         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
628         (wcsncpy): Likewise.
630 2015-05-05  Florian Weimer  <fweimer@redhat.com>
632         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
633         Assume __ASSUME_FALLOCATE is always true.
634         * sysdeps/unix/sysv/linux/posix_fallocate64.c
635         (__posix_fallocate64_l64): Likweise.
636         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
637         (posix_fallocate): Likewise.
638         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
639         (__posix_fallocate64_l64): Likewise.
640         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
641         [!__ASSUME_FALLOCATE]: Add comment.
643 2015-05-05  Florian Weimer  <fweimer@redhat.com>
645         * sysdeps/unix/sysv/linux/i386/Makefile
646         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
647         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
648         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
649         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
650         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
651         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
652         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
654 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
656         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
657         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
658         tgamma.
659         * math/auto-libm-test-out: Regenerated.
660         * sysdeps/i386/fpu/libm-test-ulps: Update.
661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
663 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
665         * math/auto-libm-test-in: Add more tests of tgamma.
666         * math/auto-libm-test-out: Regenerated.
667         * sysdeps/i386/fpu/libm-test-ulps: Update.
668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
670         * math/auto-libm-test-in: Add more tests of tanh.
671         * math/auto-libm-test-out: Regenerated.
672         * sysdeps/i386/fpu/libm-test-ulps: Update.
673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
675         * math/auto-libm-test-in: Add more tests of tan.
676         * math/auto-libm-test-out: Regenerated.
677         * sysdeps/i386/fpu/libm-test-ulps: Update.
678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
680         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
681         * math/auto-libm-test-out: Regenerated.
682         * sysdeps/i386/fpu/libm-test-ulps: Update.
683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
685         * math/auto-libm-test-in: Add another test of pow.
686         * math/auto-libm-test-out: Regenerated.
687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
689         * math/auto-libm-test-in: Add more tests of lgamma.
690         * math/auto-libm-test-out: Regenerated.
691         * sysdeps/i386/fpu/libm-test-ulps: Update.
692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
694         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
695         log1p.
696         * math/auto-libm-test-out: Regenerated.
697         * sysdeps/i386/fpu/libm-test-ulps: Update.
698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
700 2015-05-01  Mark Wielaard  <mjw@redhat.com>
702         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
703         Elf64_Chdr structs and ELFCOMPRESS constants.
705 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
707         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
708         expm1.
709         * math/auto-libm-test-out: Regenerated.
710         * sysdeps/i386/fpu/libm-test-ulps: Update.
711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
713         * math/auto-libm-test-in: Add more tests of erf and erfc.
714         * math/auto-libm-test-out: Regenerated.
715         * sysdeps/i386/fpu/libm-test-ulps: Update.
716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
718 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
720         * config.h.in (HAVE_AARCH64_BE): Add.
722 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
724         * math/auto-libm-test-in: Add more tests of csqrt.
725         * math/auto-libm-test-out: Regenerated.
726         * sysdeps/i386/fpu/libm-test-ulps: Update.
727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
729         * math/auto-libm-test-in: Add more tests of cosh and sinh.
730         * math/auto-libm-test-out: Regenerated.
731         * sysdeps/i386/fpu/libm-test-ulps: Update.
732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
734         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
736 2015-04-29  Roland McGrath  <roland@hack.frob.com>
738         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
739         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
741         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
742         (euidaccess, eaccess): Define as weak aliases.
744         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
745         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
746         but __suseconds_t is often 'long int' so some sources assume that
747         type is being used (e.g. they use %ld to print tv_usec).
749 2015-04-29  Florian Weimer  <fweimer@redhat.com>
751         [BZ #18007]
752         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
753         (CVE-2014-8121)
754         * nss/tst-nss-getpwent.c: New file.
755         * nss/Makefile (tests): Add new test.
757 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
759         [BZ #18346]
760         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
761         exponents less than 48 as cases where high part of mantissa needs
762         examining to determine whether argument is integral.
763         * math/libm-test.inc (round_test_data): Add more tests.
765 2015-04-28  Mark Wielaard  <mjw@redhat.com>
767         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
769 2015-04-27  David S. Miller  <davem@davemloft.net>
771         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
772         __tls_get_addr.
773         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
775 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
777         [BZ#18333]
778         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
780 2015-04-27  Florian Weimer  <fweimer@redhat.com>
782         [BZ#18333]
783         * time/tzset.c (parse_tzname): Return error on memory allocation
784         failure.
785         * test-skeleton.c (struct temp_name_list): Change type of name
786         member to non-const.
787         (add_temp_file): Create a copy of the file name.
788         (delete_temp_files): Deallocate memory.
789         (create_temp_file): Add comment.
791 2015-04-24  Florian Weimer  <fweimer@redhat.com>
793         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
794         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
796 2015-04-24  Roland McGrath  <roland@hack.frob.com>
798         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
799         * sysdeps/arm/configure: Regenerated.
801 2015-04-24  Florian Weimer  <fweimer@redhat.com>
803         [BZ #17715]
804         * time/tzfile.c (__tzfile_read): Check for large values of
805         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
806         * time/tzset.c (__tzstring_len): New function, based on the old
807         __tzstring function.
808         (__tzstring): Call __tzstring_len.
809         (parse_tzname): New helper function extracted from
810         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
811         the input string.
812         (parse_offset): New helper function extracted from
813         __tzset_parse_tz.  Replace switch with fallthrough with
814         initialization before sscanf.
815         (parse_rule): Likewise.
816         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
817         new-style function definition.
818         * timezone/Makefile (tests): Add tst-tzset.
819         (tst-tzset.out): Dependencies on time zone files.
820         (tst-tzset-ENV): Set TZDIR.
821         (testdata/XT%): Copy crafted time zone files.
822         * timezone/README: Mention crafted time zone files.
823         * timezone/testdata/XT1, timezone/testdata/XT2,
824         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
825         files.
826         * timezone/tst-tzset.c: New test.
828 2015-04-24  Florian Weimer  <fweimer@redhat.com>
830         * Makeconfig (+gccwarn): Remove -Winline.
832 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
834         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
836 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
838         * NEWS: Mention sysconf() cache information support for s390.
839         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
841 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
843         * math/k_casinh.c (__kernel_casinh): Use __copysign.
844         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
845         (__nearbyint): Likewise.
846         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
847         (copysignl): Likewise.
849 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
851         [BZ #18287]
852         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
853         based on padding.  (CVE-2015-1781)
855 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
857         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
858         libc-vdso.h.
859         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
860         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
861         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
862         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
863         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
864         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
865         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
866         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
867         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
868         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
869         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
870         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
871         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
872         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
873         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
874         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
875         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
876         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
877         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
878         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
879         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
880         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
881         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
883 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
885         * stdlib/setenv.c (__add_to_environ):
886         Dump core quickly if setenv (..., NULL, ...) is called.
887         This time, do it the right way, and pacify GCC with a pragma.
889 2015-04-17  Roland McGrath  <roland@hack.frob.com>
891         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
892         IMAP->l_prev cannot be null, and #if out the code for the contrary
893         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
894         believe that NS (&_dl_ns[NSID]) could point outside the array.
896         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
897         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
898         before using NSID as an index.
900 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
902         [BZ #17825]
903         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
904         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
905         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
907 2015-04-17  Roland McGrath  <roland@hack.frob.com>
909         Add preliminary port to Google Native Client on ARM.
910         * abi-tags (.*-.*-nacl.*): New entry.
911         * sysdeps/arm/nacl: New directory.
912         * sysdeps/nacl: New directory.
914 2015-04-16  David S. Miller  <davem@davemloft.net>
916         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
917         lowlevellock-futex.h
919 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
921         * sysdeps/tile/configure.ac: New file.
922         * sysdeps/tile/configure: Regenerated.
924 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
926         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
927         conditionals for weak_alias and libc_hidden_weak.
928         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
929         libc_hidden_weak and weak_alias.
930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
931         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
932         and weak_alias for static one.
934 2015-04-15  David S. Miller  <davem@davemloft.net>
936         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
938 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
940         [BZ #18206]
941         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
942           Use signed comparision instead of substraction to avoid
943           overflow bug.
944         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
945           Take the sign of ret.
946         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
947           Do not expect precise return values. Only the sign matters.
948         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
949         * wcsmbs/test-wcsncmp.c: New File.
950         * string/test-strncmp.c: Add wcsncmp support.
952 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
954         [BZ #6792]
955         * math/w_log1p.c: New file.
956         * math/w_log1pf.c: Likewise.
957         * math/w_log1pl.c: Likewise.
958         * math/Makefile (libm-calls): Add w_log1p.
959         * math/s_log1pl.c (log1pl): Remove weak_alias.
960         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
961         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
962         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
963         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
964         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
965         [NO_LONG_DOUBLE] (log1pl): Likewise.
966         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
967         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
968         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
969         (log1p): Remove long_double_symbol.
970         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
971         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
972         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
973         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
974         remove weak_alias for corresponding log1p function.
975         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
976         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
977         * sysdeps/ia64/fpu/w_log1p.c: New file.
978         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
979         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
980         * math/libm-test.inc (log1p_test_data): Add errno expectations.
982 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
984         [BZ #18247]
985         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
986         decimal exponent by 1.
987         * stdlib/tst-strtod-round-data: Add more tests.
988         * stdlib/tst-strtod-round.c (tests): Regenerated.
990 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
992         * math/auto-libm-test-in: Add more tests of clog and clog10.
993         * math/auto-libm-test-out: Regenerated.
994         * sysdeps/i386/fpu/libm-test-ulps: Update.
995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
997 2015-04-09  Roland McGrath  <roland@hack.frob.com>
999         * Makeconfig (module-cppflags): Exclude all .v.i files.
1000         (skip-module-cppflags): Variable removed.
1002         * configure.ac (libc_config_ok): Initialize before reading
1003         preconfigure scripts, not after.
1004         * configure: Regenerated.
1006         * test-skeleton.c (TIMEOUT): Move #define to top level.
1007         (main): Grok environment variable TEST_DIRECT.  If set, print
1008         test expectation details into that file and then behave as if
1009         given --direct.
1011 2015-04-09  Florian Weimer  <fweimer@redhat.com>
1013         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1014         warning on 32-bit.
1016 2015-04-08  David S. Miller  <davem@davemloft.net>
1018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1020 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1022         * math/auto-libm-test-in: Add more tests of atanh.
1023         * math/auto-libm-test-out: Regenerated.
1024         * sysdeps/i386/fpu/libm-test-ulps: Update.
1025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1027         * math/auto-libm-test-in: Add more tests of atan.
1028         * math/auto-libm-test-out: Regenerated.
1029         * sysdeps/i386/fpu/libm-test-ulps: Update.
1030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1032 2015-04-08  Florian Weimer  <fweimer@redhat.com>
1034         * elf/pldd.c (main): Rewrite to use struct
1035         scratch_buffer instead of extend_alloca.
1036         * elf/pldd-xx.c (find_maps): Likewise.
1037         * grp/initgroups.c: Include <scratch_buffer.h> instead of
1038         <alloca.h>.
1039         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1040         scratch_buffer instead of extend_alloca.
1041         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1042         grp/compat-initgroups.c.
1043         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1044         Rewrite to use struct scratch_buffer instead of extend_alloca.
1045         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
1046         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1048 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1050         * math/auto-libm-test-in: Add more tests of cbrt.
1051         * math/auto-libm-test-out: Regenerated.
1052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1054         * math/auto-libm-test-in: Add more tests of cabs.
1055         * math/auto-libm-test-out: Regenerated.
1056         * sysdeps/i386/fpu/libm-test-ulps: Update.
1057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1059         [BZ #18210]
1060         [BZ #18211]
1061         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1062         (__ieee754_atan2): Set FE_TONEAREST mode for internal
1063         computations.
1064         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1065         clog10.
1066         * math/auto-libm-test-out: Regenerated.
1067         * sysdeps/i386/fpu/libm-test-ulps: Update.
1068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1070         [BZ #18197]
1071         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1072         (atan): Set FE_TONEAREST mode for internal computations.
1073         * math/auto-libm-test-in: Add more tests of atan.
1074         * math/auto-libm-test-out: Regenerated.
1076 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
1078         [BZ #17930]
1079         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1081 2015-04-07  Florian Weimer  <fweimer@redhat.com>
1083         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1085 2015-04-07  Florian Weimer  <fweimer@redhat.com>
1087         * include/scratch_buffer.h: New file.
1088         * malloc/scratch_buffer_grow.c: Likewise.
1089         * malloc/scratch_buffer_grow_preserve.c: Likewise.
1090         * malloc/scratch_buffer_set_array_size.c: Likewise.
1091         * malloc/tst-scratch_buffer.c: Likewise.
1092         * malloc/Makefile (routines): Add scratch_buffer_grow.
1093         (tests): Add test case.
1094         * malloc/Versions (GLIBC_PRIVATE): Export
1095         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1096         __libc_scratch_buffer_set_array_size.
1098 2015-04-06  Richard Henderson  <rth@redhat.com>
1100         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
1101         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1103         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1104         unsigned int before printing.
1106 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1108         [BZ #17596]
1109         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1110         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1112 2015-04-02  Florian Weimer  <fweimer@redhat.com>
1114         * include/libc-internal.h (libc_max_align_t): Define.
1116 2015-04-02  Andreas Schwab  <schwab@suse.de>
1118         [BZ #16850]
1119         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
1121 2015-04-02  Mel Gorman  <mgorman@suse.de>
1123         [BZ #17195]
1124         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
1125         as well as the main arena.
1127 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1129         [BZ #18185]
1130         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
1131         sharing L2 cache to 2 for Silvermont/Knights Landing.
1133 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1135         [BZ #17711]
1136         * config.make.in (have-protected-data): New.
1137         * configure.ac: Check linker support for protected data symbol.
1138         * configure: Regenerated.
1139         * elf/Makefile (modules-names): Add tst-protected1moda and
1140         tst-protected1modb if $(have-protected-data) is yes.
1141         (tests): Add tst-protected1a and tst-protected1b if
1142         $(have-protected-data) is yes.
1143         ($(objpfx)tst-protected1a): New.
1144         ($(objpfx)tst-protected1b): Likewise.
1145         (tst-protected1modb.so-no-z-defs): Likewise.
1146         * elf/tst-protected1a.c: New file.
1147         * elf/tst-protected1b.c: Likewise.
1148         * elf/tst-protected1mod.h: Likewise.
1149         * elf/tst-protected1moda.c: Likewise.
1150         * elf/tst-protected1modb.c: Likewise.
1152 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1154         [BZ #17711]
1155         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1156         indicates it is called from do_lookup_x on relocation against
1157         protected data, skip the data definion in the executable from
1158         copy reloc.
1159         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1160         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1161         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1162         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1163         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1164         otherwise to 0.
1165         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1166         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1167         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1168         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1169         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1170         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1172 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
1174         * sysdeps/nptl/pthread.h: Remove duplicate definition of
1175         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1177 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
1179         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1180         THREAD_SETMEM_NC.
1181         * sysdeps/x86_64/nptl/tls.h: Ditto.
1183 2015-03-27  Roland McGrath  <roland@hack.frob.com>
1185         * dlfcn/tststatic.c (main): Converted to ...
1186         (do_test): ... this.
1187         (TEST_FUNCTION): New macro.
1188         Include test-skeleton.c.
1190 2015-03-26  Alan Modra  <amodra@gmail.com>
1192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1193         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
1194         zero for undefined weak.
1195         (elf_machine_plt_conflict): Similarly.
1197 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1199         * math/auto-libm-test-in: Add more tests of acosh, asinh and
1200         atanh.
1201         * math/auto-libm-test-out: Regenerated.
1202         * sysdeps/i386/fpu/libm-test-ulps: Update.
1203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1205         * math/auto-libm-test-in: Add another test of asin.
1206         * math/auto-libm-test-out: Regenerated.
1207         * sysdeps/i386/fpu/libm-test-ulps: Update.
1208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1210         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1211         Remove macro.
1212         (LLL_EBX_REG): Likewise.
1213         (LLL_ENTER_KERNEL): Likewise.
1215         * math/auto-libm-test-in: Add more tests of asin.
1216         * math/auto-libm-test-out: Regenerated.
1217         * sysdeps/i386/fpu/libm-test-ulps: Update.
1218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1220         [BZ #18138]
1221         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1222         libc_do_syscall_args): New structure.
1223         (INTERNAL_SYSCALL_MAIN_0): New macro.
1224         (INTERNAL_SYSCALL_MAIN_1): Likewise.
1225         (INTERNAL_SYSCALL_MAIN_2): Likewise.
1226         (INTERNAL_SYSCALL_MAIN_3): Likewise.
1227         (INTERNAL_SYSCALL_MAIN_4): Likewise.
1228         (INTERNAL_SYSCALL_MAIN_5): Likewise.
1229         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
1230         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1231         Replace conditional definitions by conditional definitions of ....
1232         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
1233         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1234         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1235         (libpthread-sysdep_routines): Add libc-do-syscall.
1236         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1237         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1238         to __NR_futex not 240.
1240 2015-03-25  Alan Modra  <amodra@gmail.com>
1242         * NEWS: Advertise TLS optimization.
1243         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1244         (DT_PPC_NUM): Increment.
1245         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1246         (CHECK_STATIC_TLS): Use here.
1247         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1248         TLS descriptors.
1249         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1250         * sysdeps/powerpc/dl-tls.c: New file.
1251         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1252         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1253         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1254         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1259 2015-03-25  Alan Modra  <amodra@gmail.com>
1261         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1262         for overlapping .opd entries" to "support...".
1263         * sysdeps/powerpc/powerpc64/configure: Regenerate
1265 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1267         * math/auto-libm-test-in: Add more tests of acos.
1268         * math/auto-libm-test-out: Regenerated.
1269         * sysdeps/i386/fpu/libm-test-ulps: Update.
1270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1272         * math/auto-libm-test-in: Add more tests of expm1.
1273         * math/auto-libm-test-out: Regenerated.
1274         * sysdeps/i386/fpu/libm-test-ulps: Update.
1275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1277 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
1279         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1280         * math/auto-libm-test-out: Regenerated.
1281         * sysdeps/i386/fpu/libm-test-ulps: Update.
1282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1284         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1287         * math/auto-libm-test-in: Add more tests of log2.
1288         * math/auto-libm-test-out: Regenerated.
1289         * sysdeps/i386/fpu/libm-test-ulps: Update.
1290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1292 2015-03-23  Roland McGrath  <roland@hack.frob.com>
1294         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1295         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
1296         _IO_IS_APPENDING bit in READ_WRITE instead.
1298 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1300         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1301         (__determine_cpumask_size): Replace extend_alloca with a
1302         variable-length array.  Do not treat res == 0 as an error.
1304 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1306         [BZ #18100]
1307         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1308         and integer overflow.
1309         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1310         (main): Add integer overflow tests.
1311         * manual/pattern.texi (Calling Wordexp): Document additional use
1312         for WRDE_SYNTAX.
1314 2015-03-23  Alan Modra  <amodra@gmail.com>
1316         * config.h.in: Remove HAVE_ASM_PPC_REL16.
1317         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1318         and false branch of conditional.
1319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1320         Likewise.
1322 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
1324         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1325         libc-modules.h
1326         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1327         unused declaration of _hurd_intr_rpc_msg_in_trap.
1328         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1329         defined instead of whether it is non-zero.
1330         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
1331         input constraint instead of both input and output constraint.  Use ecx
1332         clobber instead of %ecx.
1333         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
1334         mutex_unlock): Use a statement expression instead of an expression list.
1335         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
1336         type to vm_size_t instead of vm_address_t.
1337         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
1338         defined instead of whether it is non-zero.
1339         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
1340         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
1341         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1342         comparisons with mapaddr.
1343         * nscd/nscd-client.h: Include <time.h>.
1344         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1345         9th parameter to __vm_region instead of int.
1346         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
1347         * scripts/check-local-headers.sh (exclude): Add device/,
1348         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1349         cthreads.h.
1351 2015-03-19  Roland McGrath  <roland@hack.frob.com>
1353         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1354         to account for alignment padding.
1355         * sysdeps/arm/memmove.S: Likewise.
1357 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
1359         * sysdeps/unix/sysv/linux/generic/README: New file.
1361 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
1363         [BZ #18138]
1364         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1365         (futex_abstimed_wait)
1366         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1367         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1368         of lll_futex_timed_wait.
1370 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
1372         [BZ #17542]
1373         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1375 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
1377         [BZ #17090]
1378         [BZ #17620]
1379         [BZ #17621]
1380         [BZ #17628]
1381         * NEWS: Update.
1382         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1383         entries with Static TLS too.  Skip entries past the end of the
1384         allocated DTV, from Alan Modra.
1385         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
1386         Static TLS DTV entry set up from...
1387         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1388         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1389         * nptl/allocatestack.c (init_one_static_tls): ... and here...
1390         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1391         for Static TLS.
1392         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
1393         that the slot we find is associated with the given map before
1394         using its generation count.
1395         * nptl_db/db_info.c: Include ldsodefs.h.
1396         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1397         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1398         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1399         (link_map::l_tls_offset): New struct field.
1400         (dtv_t::counter): Likewise.
1401         (rtld_global): New struct.
1402         (_rtld_global): New rtld variable.
1403         (dl_tls_dtv_slotinfo_list): New rtld global field.
1404         (dtv_slotinfo_list): New struct.
1405         (dtv_slotinfo): Likewise.
1406         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1407         (td_lookup): Rename to...
1408         (td_mod_lookup): ... this.  Use new mod parameter instead of
1409         LIBPTHREAD_SO.
1410         * nptl_db/td_thr_tlsbase.c: Include link.h.
1411         (dtv_slotinfo_list, dtv_slotinfo): New functions.
1412         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
1413         addresses even if the DTV is out of date or missing them.
1414         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1415         index zero-length arrays.
1416         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1417         (td_lookup): Make it a macro implemented in terms of...
1418         (td_mod_lookup): ... this declaration.
1419         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1420         (DB_MAIN_VARIABLE): Likewise.
1422 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1424         [BZ #18134]
1425         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1427 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
1429         * stdlib/setenv.c (__add_to_environ): Revert previous change.
1431 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1433         [BZ #18128]
1434         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1435         (atomic_add, atomic_increment_and_test)
1436         (atomic_decrement_and_test): Fix 64-bit arithmetic.
1438 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
1440         * stdlib/setenv.c (__add_to_environ):
1441         Dump core quickly if setenv (..., NULL, ...) is called.
1443 2015-03-13  Roland McGrath  <roland@hack.frob.com>
1445         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1446         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1447         all the necessary asm magic in one place.
1448         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1449         using those.
1451 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
1453         [BZ #14906]
1454         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1455         traced file mtime. Use consistent log message.
1456         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1457         (register_traced_file): Call install_watches. Always set mtime.
1458         (invalidate_cache): Iterate over all trace files. Call install_watches.
1459         (inotify_check_files): Don't inline. Handle watching parent
1460         directories and configuration file movement in and out.
1461         (handle_inotify_events): New function.
1462         (main_loop_poll): Call handle_inotify_events.
1463         (main_loop_epoll): Likewise.
1464         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1465         (struct traced_file): Use array of inotify fds. Add parent directory,
1466         and basename.
1467         (struct database_dyn): Remove unused file_mtime.
1468         (init_traced_file): New inline function.
1469         (define_traced_file): New macro.
1470         * nss/nss_db/db-init.c: Use define_traced_file.
1471         (_nss_db_init): Use init_traced_file.
1472         * nss/nss_files/files-init.c: Use define_traced_file.
1473         (_nss_files_init): Use init_traced_file.
1475 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
1477         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1478         [_LIBC]: Do not include <stdlib.h>.
1479         [!_LIBC] (abort): Remove declaration.
1480         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1481         _FP_STATIC_ASSERT instead of conditionally calling abort.
1482         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1483         (_FP_EXTEND_CNAN): Likewise.
1484         (FP_TRUNC): Likewise.
1485         (__FP_CLZ): Likewise.
1486         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1488 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
1490         * manual/string.texi (XPG basename): Fix prototype.
1492 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1494         [BZ #18080]
1495         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1496         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1497         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1498         (__setcontext): Likewise.
1499         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1500         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1501         Call rt_sigprocmask syscall one time to set new signal mask
1502         and retrieve the current signal mask instead of two calls.
1503         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1504         (__swapcontext): Likewise.
1505         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1506         * stdlib/tst-setcontext2.c: New file.
1508 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1510         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1512 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
1514         [BZ #18093]
1515         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
1516         the wrong size.
1518 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1520         [BZ #18043]
1521         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
1523 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1525         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
1526         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
1527         Remove define.
1528         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
1529         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
1530         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
1531         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
1532         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
1533         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
1534         define.
1535         * nptl_db/td_symbol_list.c (td_lookup): Remove
1536         HAVE_ASM_GLOBAL_DOT_NAME code.
1537         * sysdeps/powerpc/powerpc64/configure.ac: Remove
1538         HAVE_ASM_GLOBAL_DOT_NAME check.
1539         * sysdeps/powerpc/powerpc64/configure: Regenerate.
1540         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
1541         (DOT_LABEL): Remove define.
1542         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
1543         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
1544         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
1545         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
1546         (__TLS_GET_ADDR): Likewise.
1547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
1548         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
1550 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
1552         [BZ #18111]
1553         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
1554         (_FPU_SETCW): Initialize cw from fpsr before storing.
1555         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
1556         (fesetexceptflag): Rewrite using fpu_control.h.
1557         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
1559 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
1561         [BZ #18110]
1562         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
1563         asms.
1564         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1566 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
1568         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
1569         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
1570         abort.
1571         (_FP_FMA): Likewise.
1572         (_FP_DIV): Likewise.
1574 2015-03-10  Roland McGrath  <roland@hack.frob.com>
1576         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
1577         with 0 in that case.
1578         * Makefile (summarize-tests): New canned sequence, factored out of
1579         commands for targets tests and xtests.  Display summary lines that
1580         don't start with PASS: or XFAIL: rather than ones that do start with
1581         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
1582         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
1583         do start with ERROR: or FAIL:.
1584         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
1585         (except for [$(build-shared) = yes]).
1586         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
1587         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
1588         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
1589         * nptl/Makefile: Revert 2015-03-04 changes.
1590         [$(CXX) empty] (tests-unsupported): New variable.
1591         * debug/Makefile: Likewise.
1593         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
1594         gnulib file.  Replace __attribute with __attribute__ throughout.
1596 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
1598         * sysdeps/hppa/fpu/libm-test-ulps: Update.
1600 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
1602         [BZ #18104]
1603         * math/auto-libm-test-in: Add another test of pow.
1604         * math/auto-libm-test-out: Regenerated.
1606 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1608         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1609         $(config-cflags-nofma).
1611 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
1613         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1614         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1615         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1616         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1617         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1618         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1619         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1620         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1621         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1622         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1623         Add comment on closing #endif.
1625 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1627         * posix/wordexp.c (CHAR_IN_SET): New macro.
1628         (parse_param): Use it.
1630 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1632         * sysdeps/powerpc/fpu/libm-test-ulps: update.
1634 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1636         [BZ #18043]
1637         * posix/wordexp.c (parse_param): Fix buffer overflow.
1638         * posix/wordexp-test.c (test_case): Add test case.
1640 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1642         [BZ #18042]
1643         * posix/wordexp.c (parse_backtick): Fix off-by-one.
1644         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1646 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1648         [BZ #18043]
1649         * posix/wordexp-test.c (test_case): Add test for BZ #18043
1650         (do_bz18043): Delete.
1651         (at_page_end): New.
1652         (testit): Refactor to have words at the edge of unreadable page.
1654 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1656         [BZ #16734]
1657         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1658         Cleanup read-only streams as well.
1659         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1661 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1663         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1664         <bits/libc-lockP.h>
1666 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
1668         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
1669         on [__KERNEL__].
1670         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1671         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1672         * soft-fp/op-common.h (_FP_DECL): Likewise.
1674 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1676         * elf/ifuncdep2.c (global): Replace
1677         __attribute__((visibility("protected"))) with
1678         asm (".protected global").
1679         * elf/ifuncmod1.c (global): Likewise.
1680         * elf/ifuncmod5.c (global): Likewise.
1682 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
1684         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1685         <asm/sfp-machine.h> instead of <sfp-machine.h>.
1687 2015-03-06  Roland McGrath  <roland@hack.frob.com>
1689         * manual/install.texi (Configuring and compiling):
1690         Document test-wrapper-env-only.
1691         * INSTALL: Regenerated.
1693 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1695         [BZ #18043]
1696         * posix/wordexp.c (parse_param): Fix buffer overflow.
1697         * posix/wordexp-test.c (do_bz18043): Add test case.
1699 2015-03-06  Vincent Bernat  <vincent@bernat.im>
1701         * time/tst-strptime2.c (do_test): Ensure failing tests are
1702         reported correctly.
1703         * time/tst-strptime3.c (do_test): Likewise.
1705 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
1707         Fix aio_error thread-safety.
1708         * sysdeps/pthread/aio_error.c: New file
1709         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1710         synchronization.
1712 2015-03-06  Florian Weimer  <fweimer@redhat.com>
1714         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1715         (group_number, vfprintf): Use it.
1716         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1717         (JUMP, REF): Use it.
1718         (WORK_BUFFER_SIZE): New enum constant.
1719         (process_arg, vfprintf): Use it.
1721 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
1723         * manual/errno.texi (Error Messages): Complete example function
1724         by adding missing #define.
1725         (program_invocation_name): Add statement indicating GNU
1726         extension and reference which header file declares the variable.
1727         (program_invocation_short_name): Likewise.
1729 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
1731         * manual/errno.texi (Error Messages): Delete strerror ISO C89
1732         compatibility note.
1734 2015-03-05  Roland McGrath  <roland@hack.frob.com>
1736         * Makeconfig (test-wrapper-env-only): New variable.
1737         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1738         then use that with $(test-wrapper-env-only) rather than using
1739         $(test-wrapper-env) $(run-program-env) $($*-ENV).
1741 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1743         [BZ #18082]
1744         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1745         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1746         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1747         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1748         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1749         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1750         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1751         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1752         Likewise.
1753         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1754         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1755         Likewise.
1756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1757         Likewise.
1758         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1759         Likewise.
1760         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1761         Likewise.
1762         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1763         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1764         Likewise.
1765         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1766         Likewise.
1767         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1768         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1770 2015-03-04  Roland McGrath  <roland@hack.frob.com>
1772         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1773         (ETH_ALEN): New macro.
1774         (struct ether_addr): Use it for length of ether_addr_octet.
1776         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1777         (setdb): Don't call __nss_configure_lookup for "rpc".
1778         (do_test): Don't call test_rpc.
1779         (output_rpcent, test_rpc): Functions moved ...
1780         * sunrpc/test-rpcent.c: ... to this new file.
1781         * sunrpc/Makefile (tests): Add it.
1783         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1784         __xpg_sigpause.
1785         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1786         * nptl/tst-signal6.c: Likewise.
1787         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1788         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1790         * configure.ac (libc_cv_cxx_link_ok): New check.
1791         Reset CXX to empty if it fails to link.
1792         * configure: Regenerated.
1793         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1794         bug-atexit3-lib only if $(CXX) is nonempty.
1795         * nptl/Makefile (tests): Likewise for tst-cancel24.
1796         (tests, tests-static): Likewise for tst-cancel24-static.
1797         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1798         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1799         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1800         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1802 2015-03-04  Andreas Schwab  <schwab@suse.de>
1804         [BZ #17631]
1805         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1806         for non-GCC compilers.
1807         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1808         Likewise.
1810 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1812         [BZ #17776]
1813         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1814         integer before bitwise and assembly operations.
1815         (feclearexcept): Likewise.
1816         * math/test-fenvinline.c: New file.
1817         * math/Makefile: Add test-fenvinline test.
1819 2015-03-03  Alan Modra  <amodra@gmail.com>
1821         [BZ #16512]
1822         * scripts/localplt.awk: Strip off symbol version.
1823         * NEWS: Mention bug fix.
1825 2015-03-02  Roland McGrath  <roland@hack.frob.com>
1827         * sysdeps/pthread/timer_routines.c
1828         (timer_free_list, thread_free_list, thread_active_list): Make static.
1830 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
1832         [BZ #17779]
1833         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1834         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1835         Undefine.
1836         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1837         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1838         Likewise.
1839         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1840         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1841         Likewise.
1843 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
1845         [BZ #18036]
1846         * posix/fnmatch_loop.c (END): Detect invalid pattern.
1847         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1849 2015-03-02  Andreas Schwab  <schwab@suse.de>
1851         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1852         variable name.
1854 2015-03-02  Florian Weimer  <fweimer@redhat.com>
1856         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1857         Return error status.
1859 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
1861         [BZ #15969]
1862         * locale/findlocale.c (_nl_find_locale): Introduce const
1863         version of loc_name and drop unsafe type casts.
1865 2015-02-27  Roland McGrath  <roland@hack.frob.com>
1867         * dlfcn/tststatic2.c (main): Converted to ...
1868         (do_test): ... this.
1869         (TEST_FUNCTION): New macro.
1870         Include test-skeleton.c.
1872 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
1874         [BZ #17711]
1875         * elf/Makefile (tests): Add vismain only if PIE is enabled.
1876         (tests-pie): Add vismain.
1877         (CFLAGS-vismain.c): New.
1878         * elf/vismain.c: Add comments for PIE requirement.
1880 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
1882         [BZ #18046]
1883         [BZ #18047]
1884         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1885         0x1p-56L as threshold for just returning the argument.
1886         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1887         0x1p-32L as threshold for just returning the argument.
1888         * math/auto-libm-test-in: Add more tests of atanh.
1889         * math/auto-libm-test-out: Regenerated.
1890         * sysdeps/i386/fpu/libm-test-ulps: Update.
1891         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1893 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1895         * string/bcopy.c (bcopy): Call memmove for performance.
1897 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1899         * string/bzero.c (__bzero): Call memset for performance.
1901 2015-02-27  John David Anglin  <dave.anglin@bell.net>
1903         [BZ #18068]
1904         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1905         to 00100000.
1907 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
1909         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1911 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1913         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1914         (__kernel_standard): Use CSTR macro when setting exc.name.
1915         * sysdeps/ieee754/Makefile [$(subdir) = math]
1916         (CFLAGS-k_standard.c): Remove variable.
1918         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1919         setting p and q from "else if" to "else".
1920         (qzero): Likewise.
1921         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1922         (qone): Likewise.
1923         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1924         (qzerof): Likewise.
1925         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1926         (qonef): Likewise.
1927         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1928         (qzero): Likewise.
1929         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1930         (qone): Likewise.
1932         [BZ #18038]
1933         [BZ #18039]
1934         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1935         return pi/2 for arguments below 0x1p-113L.
1936         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1937         return pi/2 for arguments below 0x1p-106L.
1938         * math/auto-libm-test-in: Add more tests of acos.
1939         * math/auto-libm-test-out: Regenerated.
1941         [BZ #16351]
1942         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1943         (MO): New macro.
1944         (__ieee754_asin): Force underflow exception for results with small
1945         absolute value.
1946         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1947         (MO): New macro.
1948         (__ieee754_asinf): Force underflow exception for results with
1949         small absolute value.
1950         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1951         (__ieee754_asin): Force underflow exception for results with small
1952         absolute value.
1953         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1954         (__ieee754_asinf): Force underflow exception for results with
1955         small absolute value.
1956         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1957         (__ieee754_asinl): Force underflow exception for results with
1958         small absolute value.
1959         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1960         (__ieee754_asinl): Force underflow exception for results with
1961         small absolute value.
1962         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1963         (__ieee754_asinl): Force underflow exception for results with
1964         small absolute value.
1965         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1966         Include <math.h>.
1967         * math/auto-libm-test-in: Do not mark underflow exceptions as
1968         possibly missing for bug 16351.
1969         * math/auto-libm-test-out: Regenerated.
1971         [BZ #18030]
1972         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1973         of power of 2 down when low part has opposite sign.
1974         * math/libm-test.inc (logb_test_data): Add more tests.
1976 2015-02-26  Andreas Schwab  <schwab@suse.de>
1978         [BZ #18032]
1979         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1980         over collating symbol inside a bracket expression.  Minor cleanup.
1981         * posix/tst-fnmatch3.c (do_test): Add test case.
1983 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1985         [BZ #18029]
1986         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1987         Adjust exponent of power of 2 down when low part has opposite
1988         sign.
1989         * math/libm-test.inc (ilogb_test_data): Add more tests.
1991 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
1993         [BZ #15969]
1994         * locale/findlocale.c (_nl_find_locale): Fix constness error in
1995         the previous change.
1997         [BZ #15969]
1998         * locale/findlocale.c (_nl_find_locale): Retry archive search
1999         after alias expansion.
2001 2015-02-25  Roland McGrath  <roland@hack.frob.com>
2003         * iconv/tst-iconv3.c (main): Converted to ...
2004         (do_test): ... this.
2005         (TEST_FUNCTION): New macro.
2006         Include test-skeleton.c.
2008         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2009         (convert): Make function static.
2010         (test_unalign): Likewise.  Add const to argument pointee types.
2011         (main): Replace with static function do_test.
2012         Print "Succeeded." only if RET is zero.
2013         (TEST_FUNCTION): New macro.
2014         Include test-skeleton.c.
2016         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2017         returns a null pointer.
2019 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2021         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2022         to __memcpy_ppc only for static builds.
2024 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
2026         [BZ #18020]
2027         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2028         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2029         * math/auto-libm-test-in: Add more tests of asinh.
2030         * math/auto-libm-test-out: Regenerated.
2031         * sysdeps/i386/fpu/libm-test-ulps: Update.
2032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2034 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
2036         [BZ #15850]
2037         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2038         and ip6_mtuinfo definitions here.
2039         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2040         in this define too.  Update comment.
2042 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
2044         * elf/sprof.c (load_shobj): Tweak error message to match others.
2046 2015-02-24  Kevin Easton  <kevin@guarana.org>
2048         [BZ #16145] (partial fix)
2049         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2050         to reduce lock contention.
2052 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
2054         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2055         (struct timex): Update time comment.
2056         (ADJ_SETOFFSET): Define.
2058 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
2060         [BZ #18019]
2061         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2062         2**56 not 2**28 as threshold for log (2x) formula.
2063         * math/auto-libm-test-in: Add more tests of acosh.
2064         * math/auto-libm-test-out: Regenerated.
2065         * sysdeps/i386/fpu/libm-test-ulps: Update.
2066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2068 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
2070         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2071         parenthesis around the buf assignment.
2072         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2074 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
2076         [BZ #16783]
2077         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2078         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2079         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2080         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2081         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2082         * math/libm-test.inc (scalb_test_data): Add more tests.
2084 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2086         [BZ #17916]
2087         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2088         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2090 2015-02-24  Eric Rannaud  <e@nanocritical.com>
2092         [BZ #17523]
2093         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2094         * io/bits/fcntl2.h (open): Use it.
2095         (openat): Likewise.
2096         * io/open.c (__libc_open): Likewise.
2097         * io/open64.c (__libc_open64): Likewise.
2098         * io/open64_2.c (__open64_2): Likewise.
2099         * io/open_2.c (__open_2): Likewise.
2100         * io/openat.c (__openat): Likewise.
2101         * io/openat64.c (__openat64): Likewise.
2102         * io/openat64_2.c (__openat64_2): Likewise.
2103         * io/openat_2.c (__openat_2): Likewise.
2104         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2105         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2106         * sysdeps/posix/open64.c (__libc_open64): Likewise.
2107         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2108         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2109         (__open_nocancel): Likewise.
2110         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2111         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2112         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2114 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2116         [BZ #14841]
2117         * resolv/gethnamaddr.c (getanswer): Skip logging if
2118         RES_USE_DNSSEC is set.
2119         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2121 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
2123         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
2125 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
2127         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2128         201304L, for Unicode 7.
2130 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
2132         [BZ #17836]
2133         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
2134         shared library.  Add gmon-start.os otherwise.
2135         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
2136         $(objpfx)gmon-start.os if builing shared library.
2137         ($(objpfx)g$(static-start-installed-name)): Likewise.
2139 2015-02-23  Andreas Schwab  <schwab@suse.de>
2141         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
2143 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
2145         [BZ #17269]
2146         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
2147         (enlarge_userbuf): Likewise.
2149 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
2151         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
2152         * math/atest-exp.c (TIMEOUT): Adjust to 200.
2153         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2154         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2156 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
2158         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2159         expression inside statement expression.
2161 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2163         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2164         <sysdeps/nptl/lowlevellock.h> and remove macros and
2165         functions that are now defined there.
2166         (SYS_futex): Remove.
2167         (lll_compare_and_swap): Remove.
2168         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2170 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
2172         [BZ #17999]
2173         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2174         instead of scandirat.
2175         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2176         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2177         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2178         __scandirat.
2179         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2180         (__scandirat): Declare.  Use libc_hidden_proto.
2181         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2182         Remove variable.
2183         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2185 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2187         [BZ #15319]
2188         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2189         (MO): New macro.
2190         (__ieee754_atan2): For results with small absolute value, force
2191         underflow exception and remove excess range and precision from
2192         return value.
2193         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2194         (MO): New macro.
2195         (__ieee754_atan2f): For results with small absolute value, force
2196         underflow exception and remove excess range and precision from
2197         return value.
2198         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2199         (MO): New macro.
2200         (__atan): For results with small absolute value, force underflow
2201         exception and remove excess range and precision from return value.
2202         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2203         (MO): New macro.
2204         (__atanf): For results with small absolute value, force underflow
2205         exception and remove excess range and precision from return value.
2206         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2207         <math.h>.
2208         (__ieee754_atan2): Force underflow exception for results with
2209         small absolute value.
2210         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2211         <math_private.h>.
2212         (atan): Force underflow exception for results with small absolute
2213         value.
2214         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2215         (__atanf): Force underflow exception for results with small
2216         absolute value.
2217         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2218         <math.h>.
2219         (__atanl): Force underflow exception for results with small
2220         absolute value.
2221         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2222         (__atanl): Force underflow exception for results with small
2223         absolute value.
2224         * sysdeps/x86/fpu/bits/mathinline.h
2225         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2226         (__ieee754_atan2): Only define inline for long double.
2227         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2228         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2229         * math/auto-libm-test-in: Do not mark underflow exceptions as
2230         possibly missing for bug 15319.  Add more tests of atan2.
2231         * math/auto-libm-test-out: Regenerated.
2232         * math/libm-test.inc (casin_test_data): Do not mark underflow
2233         exceptions as possibly missing for bug 15319.
2234         (casinh_test_data): Likewise.
2235         * sysdeps/i386/fpu/libm-test-ulps: Update.
2237 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
2239         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2240         * sysdeps/mips/bits/endian.h: Fix comments.
2242 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2244         [BZ #17996]
2245         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2246         (hdestroy_r): Likewise.
2247         (hsearch_r): Likewise.
2248         (__hcreate_r): Declare and use libc_hidden_proto.
2249         (__hdestroy_r): Likewise.
2250         (__hsearch_r): Likewise.
2251         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2252         (hcreate): Call __hcreate_r instead of hcreate_r.
2253         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2254         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2255         as weak alias of __hcreate_r.
2256         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2257         __hdestroy_r.
2258         (hsearch_r): Rename to __hsearch_r and define as weak alias of
2259         __hsearch_r.
2260         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2261         Remove variable.
2262         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2263         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2264         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2265         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2267 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2269         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2270         arena_lock into a single arena_get.
2272 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
2274         * dl-reloc.c: Inlucde libc-internal.h.
2275         (_dl_try_allocate_static_tls): Call ALIGN_UP.
2276         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2277         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2278         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2279         (grow_heap): Likewise.
2280         * malloc/malloc.c: Include libc-internal.h.
2281         (do_check_malloc): Call powerof2.
2282         (sysmalloc): Use pagesize. Call ALIGN_UP.
2283         (systrim): Use pagesize.
2284         (mremap_chunk): Use pagesize. Call ALIGN_UP.
2285         (__libc_valloc): Use pagesize.
2286         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2288 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2290         [BZ #17991]
2291         * include/sys/resource.h (__getrlimit64): Declare.  Use
2292         libc_hidden_proto.
2293         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2294         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
2295         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2296         getrlimit64.
2297         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2298         __getrlimit64.
2299         [!getrlimit64] (getrlimit64): Define as weak alias of
2300         __getrlimit64.  Use libc_hidden_weak.
2301         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2302         using __getrlimit64 not __new_getrlimit64.
2303         (__GI_getrlimit64): Likewise.
2304         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2305         Likewise.
2306         (__GI_getrlimit64): Likewise.
2307         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2309         (getrlimit): Add __getrlimit64 alias.
2310         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2311         Likewise.
2312         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2313         Remove variable.
2314         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2315         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2317 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
2319         * libio/fileops.c: Add missing sys/mman.h
2320         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2322 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2324         * manual/math.texi (Errors in Math Functions): Clarify goals
2325         regarding inexact and underflow exceptions.
2327 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2329         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
2330         * sysdeps/mips/memset.S: Ditto.
2332 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2334         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
2336 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2338         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
2339         (__v1longjmp): Remove versioned symbol.
2340         (__v1siglongjmp): Remove alias and versioned symbol.
2341         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2342         (__v2siglongjmp): Likewise.
2344 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2346         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2348 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
2350         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2352 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2354         [BZ #17987]
2355         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2356         zero result does not depend on the sign resulting from
2357         subtraction.
2358         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2359         Likewise.
2360         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2361         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2362         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2363         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2364         * math/libm-test.inc (remquo_test_data): Add more tests.
2366 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
2368         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2369         Problem reported by J William Piggott.
2371 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2373         [BZ #17978]
2374         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2375         products 4 * y and 2 * y where those would overflow.
2376         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2377         Likewise.
2378         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2379         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2380         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2381         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2382         * math/libm-test.inc (remquo_test_data): Add more tests.
2384         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2386         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2387         [defined _COMPILING_NEWLIB].
2388         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2389         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2391         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2392         [!defined __mips_isa_rev || __mips_isa_rev < 6].
2394 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2396         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2397         acquired.
2399 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
2401         [BZ #17792]
2402         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2403         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2404         HOST_STACK_END_ADDR): Likewise.
2406 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
2408         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2409         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2410         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2412 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2414         * sysdeps/generic/c++-types.data: New file.
2415         * sysdeps/generic/ld.abilist: New file.
2416         * sysdeps/generic/libBrokenLocale.abilist: New file.
2417         * sysdeps/generic/libanl.abilist: New file.
2418         * sysdeps/generic/libc.abilist: New file.
2419         * sysdeps/generic/libcrypt.abilist: New file.
2420         * sysdeps/generic/libdl.abilist: New file.
2421         * sysdeps/generic/libm.abilist: New file.
2422         * sysdeps/generic/libpthread.abilist: New file.
2423         * sysdeps/generic/libresolv.abilist: New file.
2424         * sysdeps/generic/librt.abilist: New file.
2426 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2428         [BZ #17569]
2429         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2430         Compute absolute value of x as modified by fmod, not original
2431         value of x.
2432         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2433         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
2434         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
2435         RUN_TEST_ffI_f1_mod8.
2436         (remquo_test_data): Add more tests.
2438 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2440         * sysdeps/init_array/pt-crti.S: New file.
2442 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2444         [BZ #17967]
2445         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2446         __builtin_fmaf instead of relying on contraction of a * b + c.
2448 2015-02-12  J William Piggott  <elseifthen@gmx.com>
2450         [BZ #17969]
2451         * manual/time.texi: correct the zoneinfo path in the TZ Variable
2452         node.
2454 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2456         [BZ #17964]
2457         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2458         __builtin_fma instead of relying on contraction of a * b + c.
2460 2015-02-12  Roland McGrath  <roland@hack.frob.com>
2462         * Makeconfig (ASFLAGS): Add -Werror=undef.
2463         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2464         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2465         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2467         * Makeconfig (after-link): New variable.
2468         (+link-pie, +link-pie-tests): Use it.
2469         (+link-static, +link-static-tests): Likewise.
2470         (+link, +link-tests): Likewise.
2471         * Makerules (build-module, build-module-asneeded): Likewise.
2472         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2473         Likewise.
2474         * elf/Makefile ($(objpfx)ld.so): Likewise.
2476 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
2478         [BZ #17965]
2479         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2480         both struct timeval and struct timespec.
2482 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2484         [BZ #16560]
2485         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2486         and redefine.
2487         (__ieee754_exp2l): Do not multiply small fractional parts by
2488         M_LN2l.
2489         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2490         small argument.
2491         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2492         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2493         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2494         * math/auto-libm-test-in: Add more tests of exp2.
2495         * math/auto-libm-test-out: Regenerated.
2497 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2499         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2500         unaligned path.
2502 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2504         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2505         little endian.
2507 2015-02-12  Andreas Schwab  <schwab@suse.de>
2509         [BZ #15790]
2510         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2511         Filter out elision flags from value returned in kind.
2512         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2513         * nptl/tst-pthread-mutexattr.c: New file.
2515 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2517         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
2518         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
2519         into gnu-gnu, and update comment to refer to abi-tags.
2521 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
2523         [BZ #15467]
2524         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
2525         (__sincos): Set errno to EDOM for infinite argument.
2526         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
2527         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
2528         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
2529         (__sincosl): Set errno to EDOM for infinite argument.
2530         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
2531         (__sincosl): Set errno to EDOM for infinite argument.
2532         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
2533         (__sincosl): Set errno to EDOM for infinite argument.
2534         * math/libm-test.inc (sincos_test_data): Test errno setting.
2536 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
2538         * string/strxfrm_l.c: Remove #define STRCMP.
2539         * string/strcoll_l.c: Remove #define STRLEN.
2540         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
2541         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
2543 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
2545         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
2546         * sysdeps/mips/mips32/sfp-machine.h: ... here.
2547         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
2548         * sysdeps/mips/mips64/Makefile: ... here.
2549         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
2550         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
2551         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
2552         * sysdeps/mips/mips64/sfp-machine.h: ... here.
2553         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
2554         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
2555         * sysdeps/mips/mips64/n64/Implies: Likewise.
2557 2015-02-10  Roland McGrath  <roland@hack.frob.com>
2559         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
2560         <sys/time.h>, <string.h>, and <errno.h>.
2561         (dest_offset, dest_address, value, zero): Remove unused variables.
2562         (ldouble): Remove typedef.
2563         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
2564         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
2565         1).  Fix code style.
2566         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
2567         (check): Function removed.
2568         (CHECK): New macro.
2569         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
2570         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
2571         Don't call set_sigaction_FP and remove_sigaction_FP here.
2572         (ldouble_test): Just use 'long double' as macro argument, no need for
2573         the 'ldouble' typedef.
2574         (do_test): Set up SIGFPE handler at start, using plain signal rather
2575         than sigaction.  Fix code style.
2577 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
2579         [BZ #17949]
2580         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
2581         jump label.
2583 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2585         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
2586         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2588         * sysdeps/powerpc/configure.ac: Remove file.
2589         * sysdeps/powerpc/configure: Likewise.
2591         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2592         [sysdep_routines]: Remove wordcopy-power6 object.
2593         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2594         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
2595         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
2596         (__memmove_ppc32): Likewise.
2597         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
2598         file.
2599         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
2600         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
2601         Remove preprocessor.
2603         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2604         [sysdep_routines]: Remove wide chars objects.
2605         [wcsmbs]: New rule for wide char objects.
2607         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2608         Remove wordcopy-power6 obejct.
2609         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2610         Use local call for wordcopy and memcpy symbols.
2611         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2612         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2613         implementation for loader.
2614         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2616         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2617         Remove wordcopy-power7 object.
2618         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2619         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2620         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2621         (_wordcopy_fwd_dest_aligned): Likewise.
2622         (_wordcopy_bwd_aligned): Likewise.
2623         (_wordcopy_bwd_dest_aligned): Likewise.
2625         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2626         Rewrite to call __memmove_ppc instead of include default
2627         implementation.
2629         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2630         Remove wide chars objects.
2631         [wcsmbs]: New rule for wide char objects.
2633 2015-02-09  Andreas Schwab  <schwab@suse.de>
2635         [BZ #17912]
2636         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2637         in terms of __O_DIRECTORY.
2639 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2641         * time/getdate.c: Include <stdbool.h>.
2642         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2643         call PTR_MANGLE.
2644         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2645         PTR_DEMANGLE.
2647 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
2649         Add ersatz _Static_assert on older C hosts
2650         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2651         pre-C11 C platform that is not known to support _Static_assert.
2653 2015-02-07  Richard Braun  <rbraun@sceen.net>
2655         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2656         sigstate.
2657         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
2659 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2661         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2662         priority against unexistent AIO_PRIO_DELTA_MAX.
2663         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2664         instead of int.
2665         * misc/fchflags.c (fchflags): Likewise.
2666         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2667         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2668         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2669         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2670         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2671         Declare macros.
2672         [__USE_MISC] (chflags, fchflags): Declare functions.
2673         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2674         EINVAL when nfds is greater than FD_SETSIZE.
2675         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2676         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2677         45.
2678         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2679         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
2680         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2681         MACH_RCV_TIMED_OUT.
2682         * hurd/hurd/signal.h (_hurd_self_sigstate,
2683         _hurd_critical_section_lock, _hurd_critical_section_unlock):
2684         Explicit casts from void *.
2685         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
2686         * abi-tags: Rename gnu-gnu os into gnu.
2688         [BZ #4719]
2689         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2690         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2691         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2692         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2693         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2694         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2696         [BZ #17944]
2697         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2698         duplicates ADDR->sun_path with sockaddr LEN limitation.
2699         * sysdeps/mach/hurd/connect.c: Include <string.h>
2700         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2701         * sysdeps/mach/hurd/sendmsg.c: Likewise.
2702         * sysdeps/mach/hurd/sendto.c: Likewise.
2703         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2704         implementing it by hand.
2706 2015-02-06  Roland McGrath  <roland@hack.frob.com>
2708         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2709         Use sfi_breg on ldr.
2710         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2711         Likewise.
2713         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2714         it's defined.
2715         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2716         Test SIGSETXID only if it's defined.
2718         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2720         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2721         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
2723         * nptl/tst-align2.c: Moved ...
2724         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2725         * nptl/Makefile (tests): Remove tst-align2.
2726         * sysdeps/unix/sysv/linux/Makefile
2727         [$(subdir) = nptl] (tests): Add tst-align-clone.
2728         * nptl/tst-getpid1.c: Moved ...
2729         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2730         * nptl/tst-getpid2.c: Moved ...
2731         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2732         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2733         * sysdeps/unix/sysv/linux/Makefile
2734         [$(subdir) = nptl] (tests): ... here.
2735         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2736         * sysdeps/unix/sysv/linux/Makefile
2737         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2739         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2740         Drop trailing \n from perror argument.  Use return rather than exit.
2742         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2743         on [SA_SIGINFO].
2744         * nptl/tst-cancel21.c (do_test): Likewise.
2745         * debug/tst-backtrace6.c: Include <signal.h> first thing.
2746         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2747         [!SA_SIGINFO]: Make it a stub test.
2749         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2750         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2752         * posix/tst-getlogin.c: Move to ...
2753         * login/tst-getlogin.c: ... here.
2754         * posix/Makefile (tests): Move tst-getlogin to ...
2755         * login/Makefile (tests): ... here.
2757         * libio/tst-atime.c (do_test): Move local variables SV and E
2758         inside [ST_NOATIME] conditional.
2760         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2762         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2764         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2765         (wait_code): New function replaces macro.
2766         Call nanosleep rather than syscall.
2768         * nptl/pt-system.c: Rewritten.  Put everything under
2769         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2770         Use IFUNC to redirect when possible.
2772         * nptl/pt-longjmp.c: Rewritten.  Put everything under
2773         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2774         Use IFUNC to redirect when possible.
2776         * nptl/pt-fork.c: Rewritten.  Put everything under
2777         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2778         Use IFUNC to redirect when possible.
2779         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2781         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2782         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2783         unconditionally nowadays.  This included the only reference to
2784         __vdso_clock_gettime that appears outside libc proper.
2785         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2786         Remove version set (containing only __vdso_clock_gettime).
2787         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2788         Add attribute_hidden.
2789         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2790         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2791         libc_hidden_data_def.
2792         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2793         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2795         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2796         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2797         setrpcent, and getrpcport to ...
2798         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2799         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2800         getrpcbynumber_r, and getrpcent_r to ...
2801         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2802         * inet/getrpcbyname.c: Moved ...
2803         * sunrpc/getrpcbyname.c: ... here.
2804         * inet/getrpcbyname_r.c: Moved ...
2805         * sunrpc/getrpcbyname_r.c: ... here.
2806         * inet/getrpcbynumber.c: Moved ...
2807         * sunrpc/getrpcbynumber.c: ... here.
2808         * inet/getrpcbynumber_r.c: Moved ...
2809         * sunrpc/getrpcbynumber_r.c: ... here.
2810         * inet/getrpcent.c: Moved ...
2811         * sunrpc/getrpcent.c: ... here.
2812         * inet/getrpcent_r.c: Moved ...
2813         * sunrpc/getrpcent_r.c: ... here.
2814         * inet/Makefile (routines): Move those to ...
2815         * sunrpc/Makefile (routines): ... here.
2816         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2817         the $(subdirs) list.
2818         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
2819         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2820         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2821         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2823         * elf/Makefile (routines): Include $(all-dl-routines), not just
2824         $(dl-routines).
2825         (rtld-routines): Likewise.  Use = rather than :=.
2826         * sysdeps/aarch64/Makefile [$(subdir) = elf]
2827         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2828         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2829         * sysdeps/arm/Makefile: Likewise.
2830         * sysdeps/i386/Makefile: Likewise.
2831         * sysdeps/x86_64/Makefile: Likewise.
2832         * sysdeps/hppa/Makefile [$(subdir) = elf]
2833         (sysdep_routines, sysdep-rtld-routines): Don't add
2834         $(sysdep-dl-routines) to these.
2835         * sysdeps/ia64/Makefile: Likewise.
2836         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2837         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2838         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2839         Don't add dl-static to these; sysdep-dl-routines alone is enough.
2840         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2841         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2842         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2843         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2844         * sysdeps/powerpc/Makefile [$(subdir) = elf]
2845         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2846         these; sysdep-dl-routines alone is enough.
2848 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
2850         [BZ #17932]
2851         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2852         where multiplication results in zero and third argument is finite
2853         and nonzero.
2854         * math/auto-libm-test-in: Add more tests of fma.
2855         * math/auto-libm-test-out: Regenerated.
2857         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2858         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2859         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2860         (_FP_CMP_EQ): Likewise.
2861         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2863         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2864         extra argument CHECK_NAN.  Redefine as wrapper around
2865         _FP_EXTEND_CNAN.
2867 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
2869         * version.h (RELEASE): Set to "stable".
2870         (VERSION): Set to "2.21"
2871         * include/features.h (__GLIBC_MINOR__): Set to 21.
2873         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2875 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2876             Paul Eggert  <eggert@cs.ucla.edu>
2878         [BZ #16618]
2879         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2880         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2881         size in bytes. Store needed elements in wpmax. Use needed size
2882         in bytes for extend_alloca.
2884 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
2886         * manual/install.texi: Latest tested versions are GCC 4.9.2,
2887         binutls 2.25, and texinfo 5.2.
2888         * INSTALL: Regenerate.
2889         * sysdeps/nios2/configure: Regenerate.
2890         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2891         * manual/contrib.texi: Update.
2892         * po/be.po: Update.
2893         * po/bg.po: Update.
2894         * po/ca.po: Update.
2895         * po/cs.po: Update.
2896         * po/da.po: Update.
2897         * po/de.po: Update.
2898         * po/el.po: Update.
2899         * po/eo.po: Update.
2900         * po/es.po: Update.
2901         * po/fi.po: Update.
2902         * po/fr.po: Update.
2903         * po/gl.po: Update.
2904         * po/hr.po: Update.
2905         * po/hu.po: Update.
2906         * po/ia.po: Update.
2907         * po/id.po: Update.
2908         * po/it.po: Update.
2909         * po/ja.po: Update.
2910         * po/ko.po: Update.
2911         * po/lt.po: Update.
2912         * po/nb.po: Update.
2913         * po/nl.po: Update.
2914         * po/pl.po: Update.
2915         * po/pt_BR.po: Update.
2916         * po/ru.po: Update.
2917         * po/rw.po: Update.
2918         * po/sk.po: Update.
2919         * po/sl.po: Update.
2920         * po/sv.po: Update.
2921         * po/tr.po: Update.
2922         * po/uk.po: Update.
2923         * po/vi.po: Update.
2924         * po/zh_CN.po: Update.
2925         * po/zh_TW.po: Update.
2927         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2928         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2929         * sysdeps/hppa/dl-irel.h: Remove #warning.
2930         * sysdeps/hppa/entry.h: Provide prototype for
2931         __canonicalize_funcptr_for_compare and cast argument.
2932         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2933         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2934         * sysdeps/hppa/sotruss-lib.c: New file.
2935         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2936         (atomic_compare_and_exchange_val_acq): Use __typeof__.
2937         (atomic_compare_and_exchange_bool_acq): Likewise.
2938         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2939         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2941         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2942         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2943         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2945 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
2947         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2948         called function in non-PIC case.
2950 2015-01-31  David S. Miller  <davem@davemloft.net>
2952         * sysdeps/sparc/sparc32/bits/atomic.h
2953         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2954         unlock not after it.
2955         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2956         volatile register usage warnings from the compiler.
2958         * sysdeps/sparc/nptl/sem_init.c: Delete.
2959         * sysdeps/sparc/nptl/sem_post.c: Delete.
2960         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2961         * sysdeps/sparc/nptl/sem_wait.c: Delete.
2962         * sysdeps/sparc/sparc32/sem_init.c: New file.
2963         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2964         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2965         padding explicitly initialized.
2966         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2967         padding for in-semaphore spinlock.
2968         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2969         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2970         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2971         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2972         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2973         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2974         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2975         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2976         version.
2977         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2978         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2980 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2982         [BZ #17801]
2983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2984         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2985         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2986         New.
2987         (index_AVX_Fast_Unaligned_Load): Likewise.
2988         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2989         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2990         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2991         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2992         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2993         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2994         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2995         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2996         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2998 2015-01-29  Andreas Schwab  <schwab@suse.de>
3000         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3002 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
3004         [BZ #17892]
3005         * nscd/nscd_stat.c (send_stats): Initialize DATA.
3007 2015-01-28  Martin Sebor  <msebor@redhat.com>
3009         * math/README.libm-test: Clarify. Add "How to read the test output."
3011 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
3013         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3014         Define to 0.
3016 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
3018         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3019         (__HAVE_64B_ATOMICS): Define to 0.
3021 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3023         [BZ #17885]
3024         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3025         value to set as new flag.
3027         [BZ #16576]
3028         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3029         and use _ARCH_PPCSQ instead.
3030         (__ieee754_sqrt): Likewise.
3031         (__ieee754_sqrtf): Likewise.
3032         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3033         _ARCH_PPCSQ is defined.
3034         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3035         fsqrt instruction.
3036         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3037         _ARCH_PPCSQ is defined.
3038         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3039         fsqrts instruction.
3040         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3042 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3044         * iconv/loop.c: Suppress array out of bound warning caused by GCC
3045         bug (GCC BZ #64739).
3047 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
3049         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3050         Mark _retval as used.
3051         (lll_futex_wake_unlock): Likewise.
3052         (lll_futex_timed_wait_requeue_pi): Likewise.
3054         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3055         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3056         register variables.
3058         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3059         libm_hidden_def.
3061         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3062         (__bswap_64): Mark as __always_inline.
3064 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
3066         [BZ #15378]
3067         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3068         when none of the search directories exist.
3070 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3072         [BZ #17869]
3073         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3074         power8 in .machine directive.
3076         [BZ #17868]
3077         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3078         set dependency from opd value.
3080 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
3082         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3083         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3084         architecture.
3086 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
3088         [BZ #17870]
3089         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3090         with uint64_t.
3091         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3092         (uint64_t) 1.
3093         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
3094         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3095         Replace 1UL with (uint64_t) 1.
3096         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3097         int with uint64_t.
3099 2015-01-23  Roland McGrath  <roland@hack.frob.com>
3101         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3102         (if_freenameindex): Likewise.
3104         * resource/getrlimit64.c: Add missing libc_hidden_def.
3106 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
3108         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3109         __label__.
3110         (_FP_FMA): Likewise.
3111         (_FP_TO_INT_ROUND): Likewise.
3112         (_FP_FROM_INT): Likewise.
3114 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3116         [BZ #16418]
3117         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3118         Make code racy and cancel safe.
3120 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
3122         * sysdeps/arm/unwind-resume.h: Fix copyright year.
3123         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
3124         attribution.
3126         * pwd/tst-getpw.c: Rewrite.
3128         [BZ #17702]
3129         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
3130         (modules-names): Add moddummy1 and moddummy2.
3131         ($(objpfx)tst-rec-dlopen): Define.
3132         * dlfcn/moddummy1.c: New file.
3133         * dlfcn/moddummy2.c: New file.
3134         * dlfcn/tst-rec-dlopen.c: New file.
3135         * elf/dl-cache.c (_dl_load_cache_lookup):
3136         Return char*. Copy result with alloca/strcpy/strdup.
3137         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
3138         returns char*. Free cached. If not saving realname
3139         free cached.
3140         * elf/dl-open.c (dl_open_worker): Do not assert that
3141         _r_debug->r_state is RT_CONSISTENT.
3142         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
3143         returns char*.
3145 2015-01-21  Torvald Riegel  <triegel@redhat.com>
3146             Carlos O'Donell  <carlos@redhat.com>
3148         [BZ #12674]
3149         * nptl/sem_waitcommon.c: New file.
3150         * nptl/sem_wait.c: Include sem_waitcommon.c.
3151         (__sem_wait_cleanup, do_futex_wait): Remove.
3152         (__new_sem_wait): Adapt.
3153         (__new_sem_trywait): New function.
3154         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3155         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3156         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3157         (sem_timedwait): Adapt.
3158         * nptl/sem_post.c (__new_sem_post): Adapt.
3159         (futex_wake): New function.
3160         (__old_sem_post): Add release MO fence.
3161         * nptl/sem_open.c (sem_open): Adapt.
3162         * nptl/sem_init.c (__new_sem_init): Adapt.
3163         (futex_private_if_supported): New function.
3164         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3165         (__old_sem_getvalue): Add using previous code.
3166         * sysdeps/nptl/internaltypes.h: Adapt.
3167         * nptl/tst-sem13.c (do_test): Adapt.
3168         * nptl/tst-sem11.c (main): Adapt.
3169         * nptl/sem_trywait.c: Remove.
3170         * nptl/DESIGN-sem.txt: Remove.
3171         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3172         (gen-as-const-headers): Remove structsem.sym.
3173         * nptl/structsem.sym: Remove.
3174         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3175         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3176         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3177         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3178         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3179         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3180         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3181         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3182         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3183         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3184         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3185         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3186         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3187         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3188         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3189         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3190         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3191         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3192         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3193         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3194         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3195         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3197 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
3199         * INSTALL: Regenerated.
3201         * po/libc.pot: Regenerated.
3203 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
3204             Sandra Loosemore  <sandra@codesourcery.com>
3205             Andrew Jenner  <andrew@codesourcery.com>
3206             Joseph Myers  <joseph@codesourcery.com>
3207             Nathan Sidwell  <nathan@codesourcery.com>
3209         * NEWS: Mention new Nios II port.
3210         * sysdeps/nios2/Implies: New file.
3211         * sysdeps/nios2/Makefile: New file.
3212         * sysdeps/nios2/Subdirs: New file.
3213         * sysdeps/nios2/Versions: New file.
3214         * sysdeps/nios2/__longjmp.S: New file.
3215         * sysdeps/nios2/abort-instr.h: New file.
3216         * sysdeps/nios2/backtrace.c: New file.
3217         * sysdeps/nios2/bits/endian.h: New file.
3218         * sysdeps/nios2/bits/fenv.h: New file.
3219         * sysdeps/nios2/bits/link.h: New file.
3220         * sysdeps/nios2/bits/setjmp.h: New file.
3221         * sysdeps/nios2/bsd-_setjmp.S: New file.
3222         * sysdeps/nios2/bsd-setjmp.S: New file.
3223         * sysdeps/nios2/configure: New generated file.
3224         * sysdeps/nios2/configure.ac: New file.
3225         * sysdeps/nios2/crti.S: New file.
3226         * sysdeps/nios2/crtn.S: New file.
3227         * sysdeps/nios2/dl-init.c: New file.
3228         * sysdeps/nios2/dl-machine.h: New file.
3229         * sysdeps/nios2/dl-sysdep.h: New file.
3230         * sysdeps/nios2/dl-tls.h: New file.
3231         * sysdeps/nios2/dl-trampoline.S: New file.
3232         * sysdeps/nios2/gccframe.h: New file.
3233         * sysdeps/nios2/gmp-mparam.h: New file.
3234         * sysdeps/nios2/jmpbuf-offsets.h: New file.
3235         * sysdeps/nios2/jmpbuf-unwind.h: New file.
3236         * sysdeps/nios2/ldsodefs.h: New file.
3237         * sysdeps/nios2/libc-tls.c: New file.
3238         * sysdeps/nios2/libm-test-ulps: New file.
3239         * sysdeps/nios2/machine-gmon.h: New file.
3240         * sysdeps/nios2/math-tests.h: New file.
3241         * sysdeps/nios2/math_private.h: New file.
3242         * sysdeps/nios2/memusage.h: New file.
3243         * sysdeps/nios2/nptl/Makefile: New file.
3244         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3245         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3246         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3247         * sysdeps/nios2/nptl/pthreaddef.h: New file.
3248         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3249         * sysdeps/nios2/nptl/tls.h: New file.
3250         * sysdeps/nios2/preconfigure: New file.
3251         * sysdeps/nios2/s_fma.c: New file.
3252         * sysdeps/nios2/s_fmaf.c: New file.
3253         * sysdeps/nios2/setjmp.S: New file.
3254         * sysdeps/nios2/sfp-machine.h: New file.
3255         * sysdeps/nios2/sotruss-lib.c: New file.
3256         * sysdeps/nios2/stackguard-macros.h: New file.
3257         * sysdeps/nios2/stackinfo.h: New file.
3258         * sysdeps/nios2/start.S: New file.
3259         * sysdeps/nios2/sysdep.h: New file.
3260         * sysdeps/nios2/tls-macros.h: New file.
3261         * sysdeps/nios2/tst-audit.h: New file.
3262         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3263         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3264         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3265         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3266         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3267         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3268         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3269         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3270         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3271         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3272         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3273         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3274         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3275         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3276         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3277         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3278         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3279         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3280         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3281         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3282         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3283         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3284         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3285         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3286         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3287         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3288         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3289         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3290         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3291         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3292         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3293         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3294         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3295         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3296         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3297         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3298         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3299         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3300         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3301         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3302         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3303         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3304         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3305         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3307 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3309         [BZ #17844]
3310         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3311         (getutent): Use weak_alias in non SHARED case
3312         and default_symbol_version in SHARED case.
3313         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3314         (getutent_r, pututline): Likewise.
3315         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3316         (getutid): Likewise.
3317         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3318         (getutid_r): Likewise.
3319         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3320         (getutline): Likewise.
3321         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3322         (getutline_r): Likewise.
3323         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3324         (updwtmp): Likewise.
3326 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3328         [BZ #17848]
3329         * sysdeps/s390/s390-32/memcmp.S
3330         (memcmp_g5): Rename to __memcmp_g5.
3331         * sysdeps/s390/s390-32/memcpy.S
3332         (memcpy_g5): Rename to __memcpy_g5.
3333         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3334         (memcpy_mvcle) Rename to __memcpy_mvcle.
3335         * sysdeps/s390/s390-32/memset.S
3336         (memset_g5): Rename to __memset_g5.
3337         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3338         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3339         and use prefixed functions.
3340         * sysdeps/s390/s390-32/multiarch/memcmp.S
3341         (memcmp_z196): Rename to __memcmp_z196.
3342         (memcmp_z10): Rename to __memcmp_z10.
3343         (memcmp): Set alias to __memcmp_g5.
3344         (bcmp): Set alias to __memcmp_g5.
3345         * sysdeps/s390/s390-32/multiarch/memcpy.S
3346         (memcpy_z196): Rename to __memcpy_z196.
3347         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3348         (memcpy_z10): Rename to __memcpy_z10.
3349         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3350         (memcpy): Set alias to __memcpy_g5.
3351         * sysdeps/s390/s390-32/multiarch/memset.S
3352         (memset_z196): Rename to __memset_z196.
3353         Jump to __memset_mvcle instead of memset_mvcle.
3354         (memset_z10): Rename to __memset_z10.
3355         Jump to __memset_mvcle instead of memset_mvcle.
3356         (memset_mvcle) Rename to __memset_mvcle.
3357         (memset): Set alias to __memset_g5.
3358         * sysdeps/s390/s390-64/memcmp.S
3359         (memcmp_z900): Rename to __memcmp_z900.
3360         * sysdeps/s390/s390-64/memcpy.S
3361         (memcpy_z900): Rename to __memcpy_z900.
3362         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3363         (memcpy_mvcle) Rename to __memcpy_mvcle.
3364         * sysdeps/s390/s390-64/memset.S
3365         (memset_z900): Rename to __memset_z900.
3366         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3367         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3368         and use prefixed functions.
3369         * sysdeps/s390/s390-64/multiarch/memcmp.S
3370         (memcmp_z196): Rename to __memcmp_z196.
3371         (memcmp_z10): Rename to __memcmp_z10.
3372         (memcmp): Set alias to __memcmp_z900.
3373         (bcmp): Set alias to __memcmp_z900.
3374         * sysdeps/s390/s390-64/multiarch/memcpy.S
3375         (memcpy_z196): Rename to __memcpy_z196.
3376         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3377         (memcpy_z10): Rename to __memcpy_z10.
3378         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3379         (memcpy): Set alias to __memcpy_z900.
3380         * sysdeps/s390/s390-64/multiarch/memset.S
3381         (memset_z196): Rename to __memset_z196.
3382         Jump to __memset_mvcle instead of memset_mvcle.
3383         (memset_z10): Rename to __memset_z10.
3384         Jump to __memset_mvcle instead of memset_mvcle.
3385         (memset_mvcle) Rename to __memset_mvcle.
3386         (memset): Set alias to __memset_z900.
3388 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
3390         [BZ #17748]
3391         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3392         __fesetenv instead of fesetenv.
3394 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3396         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3397         macro.
3399 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3401         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3402         regression on LE.
3404         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3405         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3406         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3407         strncmp-power8 object.
3408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3409         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3410         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3411         * NEWS: Update.
3413 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3414             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3416         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3417         trailing byte check.
3419 2015-01-13  David S. Miller  <davem@davemloft.net>
3421         * include/signal.h (__sigreturn): Guard with __USE_MISC.
3423 2015-01-13  Roland McGrath  <roland@hack.frob.com>
3425         * login/logout.c (logout): Use memset rather than bzero.
3426         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3427         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3428         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3429         (_gethtbyaddr): Likewise.
3430         * locale/programs/simple-hash.c (bcopy): Macro removed.
3432 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3434         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3435         Add strcmp-power8 object.
3436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3437         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3438         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3439         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3440         __strcmp_power8 implementation.
3441         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3442         * NEWS: Update.
3444         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3445         Add strncpy-power8 and stpncpy-power8 objects.
3446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3447         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3448         implementations.
3449         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3450         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3451         __stpncpy_power8 implementation.
3452         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3453         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3454         __strncpy_power8 implementation.
3455         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3456         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3457         * NEWS: Update.
3459         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3460         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3461         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3463         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3464         strncat-power8 object.
3465         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3466         __strcat_power8 implementation.
3467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3468         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3469         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3470         optimized strcat for power8.
3472         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3473         strcpy-power8 and stpcpy-power8 objects.
3474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3475         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3476         implementations.
3477         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3478         multiarch stpcpy implementation for POWER8.
3479         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3480         multiarch strcpy implementation for POWER8.
3481         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3482         __strcpy_power8 function.
3483         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3484         stpcpy for POWER8.
3485         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3486         strcpy for POWER8.
3487         * NEWS: Update.
3489 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
3491         [BZ #16009]
3492         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3493         weights and rules. Use do_xfrm_cached if data fits in cache,
3494         do_xfrm otherwise.  Moved former main loop to...
3495         * (do_xfrm_cached): New function.
3496         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3497         find_idx, find_position and stack_push.
3498         * (find_idx): New function.
3499         * (find_position): Likewise.
3500         * localedata/sort-test.sh: Added test run for do_xfrm.
3501         * localedata/xfrm-test.c (main): Added command line option
3502         -nocache to run the test with strings that are too large for
3503         the STRXFRM cache.
3505 2015-01-13  Torvald Riegel  <triegel@redhat.com>
3507         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3508         variable to lll_futex_wake call, not the value itself.
3510 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
3512         [BZ #17803]
3513         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3514         twom64.  Adjust value to 0x1p-64L.
3515         (__scalblnl): Only return standard underflowing result for K <=
3516         -64 not K <= -63; adjust exponent for underflowing result by 64
3517         not 63.
3518         * math/libm-test.inc (scalbn_test_data): Add more tests.
3519         (scalbln_test_data): Likewise.
3521         [BZ #17834]
3522         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
3523         0x1p63L.
3524         (__scalblnl): Get new exponent of adjusted subnormal value from ES
3525         not HX.
3526         * math/libm-test.inc (scalbn_test_data): Add more tests.
3527         (scalbln_test_data): Likewise.
3529 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3530             Stefani Seibold  <stefani@seibold.net>
3532         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
3533         (sysdep_routines): Add dl-vdso here, ...
3534         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
3535         (sysdep_routines): ... not here.
3536         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
3537         fallback when vDSO is not presented.
3538         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3539         Define with libc_hidden_proto/libc_hidden_data_def definitions.
3540         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
3541         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
3542         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
3543         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
3544         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
3545         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
3546         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
3547         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
3548         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
3549         fallback configurable symbol when vDSO is not available.
3550         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
3551         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
3552         be able to redefine fallback symbol when vDSO is not available.
3553         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
3554         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
3556 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3558         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
3559         (TLS_INIT_TP): Add tm_capable initialization.
3560         (TLS_DEFINE_INIT_TP): Likewise.
3561         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
3562         TCB.
3563         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
3564         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
3565         calculation.
3566         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
3567         transactoion is lock elision is built and TCB tm_capable is set.
3568         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
3569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3570         (INTERNAL_SYSCALL_NCS): Likewise.
3571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3572         (INTERNAL_SYSCALL_NCS): Likewise.
3573         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
3575         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
3576         for powerpc.
3577         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3578         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
3579         and remove it for 32 bits case.
3580         [pthread_rwlock_t] (__rwelision): New field for lock elision.
3581         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
3582         initialization.
3583         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
3584         Disable lock elision with rdlocks if elision is not available.
3586         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
3587         (sysdep_routines): Add lock elision objects.
3588         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3589         [pthread_mutex_t] (__spins): Rework to add lock elision field.
3590         [pthread_mutex_t] (__elision): Add field.
3591         [__PTHREAD_SPINS]: Adjust to init lock elision field.
3592         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
3593         elision definitions for powerpc.
3594         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
3595         implementation of lock elision for powerpc.
3596         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
3597         implementation of timed lock elision for powerpc.
3598         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
3599         implementation of trylock with lock elision for powerpc.
3600         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
3601         implementaion of unlock for lock elision for powerpc.
3602         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3603         automatic enable lock elision for mutexes.
3604         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3605         transaction execution definitions for powerpc.
3606         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3607         definitions.
3608         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3609         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3610         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3611         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3612         * NEWS: Update.
3614 2015-01-09  Roland McGrath  <roland@hack.frob.com>
3616         * sysdeps/posix/shm-directory.c: Use <> rather than ""
3617         for #include of <shm-directory.h>.
3619 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
3621         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3622         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3624 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
3626         [BZ #17791]
3627         * NEWS: Mention bug fix.
3628         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3629         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3630         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3632 2015-01-09  Torvald Riegel <triegel@redhat.com>
3634         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3636 2015-01-09  Torvald Riegel <triegel@redhat.com>
3638         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3640 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3642         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3643         pointer and cast to uintptr_t.
3645 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3647         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3648         removed.
3649         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3651 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3653         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3654         of 0.
3656 2015-01-08  Roland McGrath  <roland@hack.frob.com>
3658         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3659         <nptl/pthreadP.h> instead.
3660         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3662         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3663         already defined.
3664         [__SIGRTMIN] (init): Function removed.
3665         [__SIGRTMIN] (initialized): Variable removed.
3666         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3667         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3668         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3669         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3670         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3671         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3672         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3673         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3674         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3675         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3676         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3677         * sysdeps/nptl/allocrtsig.c: New file.
3678         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3679         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3680         * sysdeps/generic/testrtsig.h: File removed.
3682         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3683         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3685         * nptl/nptl-init.c (pthread_functions): Conditionalize
3686         .ptr__nptl_setxid initialization on [SIGSETXID].
3688         * sysdeps/nptl/sys/procfs.h: New file.
3689         * nptl_db/Makefile (headers): Add it.
3690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3692         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3693         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3694         * nptl/pthread_attr_setaffinity.c: Include it.
3695         * nptl/pthread_setattr_default_np.c: Likewise.
3696         * nptl/check-cpuset.h: New file.
3698 2015-01-08  Richard Henderson  <rth@redhat.com>
3700         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3701         (CFLAGS-tst-execstack-prog.c): Likewise.
3702         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3704 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
3705             Sandra Loosemore  <sandra@codesourcery.com>
3706             Andrew Jenner  <andrew@codesourcery.com>
3707             Joseph Myers  <joseph@codesourcery.com>
3708             Nathan Sidwell  <nathan@codesourcery.com>
3710         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3711         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3712         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3713         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3714         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3715         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3716         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
3717         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3718         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3719         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3720         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3721         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3722         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
3723         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3724         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3725         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3726         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3728 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3730         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3731         timespec struct member in syscall macro.
3732         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3733         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3734         first timeval struct member in syscall macro.
3735         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3737 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
3739         [BZ #17748]
3740         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3741         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3742         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3743         __feupdateenv and define as weak alias of __feupdateenv.  Use
3744         libm_hidden_weak.
3745         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3746         libm_hidden_def.
3747         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3748         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
3749         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3750         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3751         libm_hidden_def.
3752         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3753         __feupdateenv and define as weak alias of __feupdateenv.  Use
3754         libm_hidden_weak.
3755         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3756         libm_hidden_def.
3757         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3758         __feupdateenv and define as weak alias of __feupdateenv.  Use
3759         libm_hidden_weak.
3760         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3761         libm_hidden_def.
3762         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3763         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3764         (__feupdateenv): Likewise.
3765         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3766         __feupdateenv and define as weak alias of __feupdateenv.  Use
3767         libm_hidden_weak.
3768         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3769         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3770         libm_hidden_def.
3771         * sysdeps/tile/math_private.h (__feupdateenv): New inline
3772         function.
3773         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3774         libm_hidden_def.
3775         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3776         __feupdateenv instead of feupdateenv.
3777         (default_libc_feupdateenv_test): Likewise.
3778         (libc_feresetround_ctx): Likewise.
3780 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3782         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3783         prototype.
3785 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
3787         * posix/regcomp.c (parse_bracket_exp): Initialize type to
3788         COLL_SYM in a couple of places to avoid uninitialized variable
3789         wanings on tilegx gcc 4.8.2.
3791 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
3793         * sysdeps/aarch64/strcpy.S: New file.
3794         * sysdeps/aarch64/stpcpy.S: New file.
3795         * NEWS: Updated.
3797 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
3799         * sysdeps/aarch64/strrchr.S: New file.
3800         * NEWS: Updated.
3802 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
3804         [BZ #17658]
3805         * stdlib/setenv.c: Fix memory leak when setting large,
3806         duplicate string.
3808 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
3810         [BZ #17273]
3811         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3812         and tabs from buffer before parsing fstab entry.
3813         * misc/tst-mntent.c (main): Add test for mount entry with
3814         trailing spaces and tabs.
3816 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
3818         [BZ #17748]
3819         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
3820         * math/fesetround.c (fesetround): Rename to __fesetround and
3821         define as weak alias of __fesetround.  Use libm_hidden_weak.
3822         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3823         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3824         * sysdeps/arm/fesetround.c (fesetround): Likewise.
3825         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3826         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3827         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3828         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3829         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3830         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3831         __fesetround_inline.
3832         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3833         __fesetround_inline instead of __fesetround.
3834         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3835         __fesetround and define as weak alias of __fesetround.  Use
3836         libm_hidden_weak.  Call __fesetround_inline instead of
3837         __fesetround.
3838         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3839         __fesetround and define as weak alias of __fesetround.  Use
3840         libm_hidden_weak.
3841         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3842         Likewise.
3843         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3844         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3845         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3846         * sysdeps/tile/math_private.h (__fesetround): New inline function.
3847         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3848         __fesetround and define as weak alias of __fesetround.  Use
3849         libm_hidden_weak.
3850         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3851         __fesetround instead of fesetround.
3852         (default_libc_feholdexcept_setround): Likewise.
3853         (libc_feholdsetround_ctx): Likewise.
3854         (libc_feholdsetround_noex_ctx): Likewise.
3856         [BZ #17748]
3857         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3858         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3859         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3860         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
3861         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3862         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3863         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3864         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3865         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3866         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3867         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3868         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3869         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3870         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3871         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3872         libm_hidden_def.
3873         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3874         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3875         Likewise.
3876         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3877         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3878         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3879         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3880         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3881         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3882         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
3883         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3884         __fesetenv instead of fesetenv.
3885         (libc_feresetround_noex_ctx): Likewise.
3886         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3887         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3888         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3889         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3890         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3891         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3892         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3893         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3894         (__feupdateenv): Likewise.
3895         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3896         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3897         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3898         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3900 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3902         [BZ #17806]
3903         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3904         addresses have been freed.
3906 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3908         * resolv/res_init.c (__res_vinit): Improve comments about nserv
3909         and nservall.
3911 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
3913         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3914         Clean up check_pf allocation pattern. addresses
3916 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3918         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3919         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3920         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3921         * nptl/pthread_exit.c (__pthread_exit): Likewise.
3922         * nptl/pthread_join.c (pthread_join): Likewise.
3923         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3924         * sysdeps/posix/waitid.c (__waitid): Likewise.
3925         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3926         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3927         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3928         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3929         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3930         Likewise.
3931         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3932         (__libc_pread64): Likewise.
3933         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3934         (__libc_pwrite): Likewise.
3935         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3936         (__libc_pwrite64): Likewsie.
3937         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3938         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3939         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3940         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3941         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3942         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3943         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3945         Likewise.
3946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3947         (__libc_pread64): Likewise.
3948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3949         Likewise.
3950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3951         (__libc_pwrite64): Likewise.
3952         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3953         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3954         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3955         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3956         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3957         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3958         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3959         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3960         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3961         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3962         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3963         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3964         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3965         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3966         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3967         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3968         Likewise.
3970 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3972         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3973         (CFLAGS-test-double.c): Likewise.
3974         (CFLAGS-test-ldouble.c): Likewise.
3975         (CPPFLAGS-test-ifloat.c): Likewise.
3976         (CPPFLAGS-test-idouble.c): Likewise.
3977         (CPPFLAGS-test-ildoubl.c): Likewise.
3978         (CFLAGS-test-test-fenv.c): Remove variable.
3979         (CFLAGS-test-misc.c): Likewise.
3981 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
3983         [BZ #17797]
3984         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3985         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3986         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3987         CLOCKS_PER_SEC == 1000000.
3988         * time/clocktest.c (main): Replace %ld with %jd and cast to
3989         intmax_t.
3991 2015-01-05  Roland McGrath  <roland@hack.frob.com>
3993         * sysdeps/generic/unwind-resume.h: New file.
3994         * sysdeps/gnu/unwind-resume.c: Include it.
3995         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3996         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3997         argument list.
3998         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3999         global rather than static.
4000         (_Unwind_Resume): Update user.
4001         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4002         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
4003         rather than static.  Add __attribute__ ((cold)).
4004         (_Unwind_Resume, __gcc_personality_v0): Update callers.
4005         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4006         * sysdeps/arm/arm-unwind-resume.S: New file.
4007         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4008         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4009         * sysdeps/arm/Makefile [$(subdir) = csu]
4010         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4011         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4012         Add rt-arm-unwind-resume.
4013         [$(subdir) = nptl]
4014         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4015         Add pt-arm-unwind-resume.
4016         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4017         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4019 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4021         [BZ #17748]
4022         * include/fenv.h (__feholdexcept): Declare.  Use
4023         libm_hidden_proto.
4024         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4025         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
4026         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4027         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4028         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4029         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4030         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4031         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4032         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4033         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4034         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4035         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4036         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4037         (feholdexcept): Likewise.
4038         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4039         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4040         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4041         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4042         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4043         __feholdexcept instead of feholdexcept.
4044         (default_libc_feholdexcept_setround): Likewise.
4046 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4048         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4049         to avoid using stl/str to align destination.
4051 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4053         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4055 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4057         [BZ #17796]
4058         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4059         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4060         Define as weak alias not strong alias.
4062 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4064         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4065         bltzal with addiupc.
4066         (RTLD_START): Ditto.
4068 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
4070         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4071         for __vdso_* functions in declarations.
4072         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4073         definitions.
4074         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4075         INTERNAL_VSYSCALL): Use struct return types to check for error.
4077         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4078         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4079         function with cast from llround().
4080         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4081         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4082         Define.
4084 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4086         [BZ #17793]
4087         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4088         Define as weak alias not strong alias.
4090         [BZ #17635]
4091         * ctype/ctype-c99.c: New file.  isblank implementation moved from
4092         ...
4093         * ctype/ctype-extn.c: ... here.
4094         (__isblank_l): Move to ...
4095         * ctype/ctype-c99_l.c: ... here.  New file.
4096         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4097         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4098         Remove variable.
4099         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4100         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4101         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4102         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4103         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4105         [BZ #17777]
4106         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4107         (posix_fadvise64): Define as weak alias not strong alias.
4108         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4109         (posix_fallocate64): Likewise.
4110         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4111         Remove variable.
4112         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4113         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4114         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4115         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4116         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4118 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
4120         [BZ #16191]
4121         * NEWS: Mention bug fix.
4122         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
4123         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
4124         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
4125         (HOST_STACK_END_ADDR): Likewise.
4127 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
4129         [BZ #17748]
4130         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
4131         * math/fegetround.c (fegetround): Rename to __fegetround and
4132         define as weak alias of __fegetround.  Use libm_hidden_weak.
4133         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
4134         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
4135         * sysdeps/arm/fegetround.c (fegetround): Likewise.
4136         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
4137         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4138         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
4139         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
4140         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
4141         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4142         Undefine after rather than before function definition; use
4143         parentheses around function name in definition.
4144         (__fegetround): Also undefine macro after function definition.
4145         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
4146         __fegetround and define as weak alias of __fegetround.  Use
4147         libm_hidden_weak.  Do not undefine as macro.
4148         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4149         Likewise.
4150         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
4151         __fegetround and define as weak alias of __fegetround.  Use
4152         libm_hidden_weak.
4153         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4154         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4155         * sysdeps/tile/math_private.h (__fegetround): New inline function.
4156         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4157         __fegetround and define as weak alias of __fegetround.  Use
4158         libm_hidden_weak.
4159         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4160         __fegetround instead of fegetround.
4162         [BZ #17782]
4163         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4164         Condition macro definition on [__USE_MISC].
4166         [BZ #17781]
4167         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4168         (struct sigaction): Change type of sa_flags field to int.
4170         [BZ #17780]
4171         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4172         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4173         __glibc_reserved0.
4175         * nptl/version.c (banner): Use single year in copyright notice.
4177         * NEWS: Update copyright dates.
4178         * catgets/gencat.c (print_version): Likewise.
4179         * csu/version.c (banner): Likewise.
4180         * debug/catchsegv.sh: Likewise.
4181         * debug/pcprofiledump.c (print_version): Likewise.
4182         * debug/xtrace.sh (do_version): Likewise.
4183         * elf/ldconfig.c (print_version): Likewise.
4184         * elf/ldd.bash.in: Likewise.
4185         * elf/pldd.c (print_version): Likewise.
4186         * elf/sotruss.sh: Likewise.
4187         * elf/sprof.c (print_version): Likewise.
4188         * iconv/iconv_prog.c (print_version): Likewise.
4189         * iconv/iconvconfig.c (print_version): Likewise.
4190         * locale/programs/locale.c (print_version): Likewise.
4191         * locale/programs/localedef.c (print_version): Likewise.
4192         * login/programs/pt_chown.c (print_version): Likewise.
4193         * malloc/memusage.sh (do_version): Likewise.
4194         * malloc/memusagestat.c (print_version): Likewise.
4195         * malloc/mtrace.pl: Likewise.
4196         * manual/libc.texinfo: Likewise.
4197         * nptl/version.c (banner): Likewise.
4198         * nscd/nscd.c (print_version): Likewise.
4199         * nss/getent.c (print_version): Likewise.
4200         * nss/makedb.c (print_version): Likewise.
4201         * posix/getconf.c (main): Likewise.
4202         * scripts/test-installation.pl: Likewise.
4203         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4205 2015-01-02  Will Newton  <will.newton@linaro.org>
4207         * sysdeps/arm/armv7/configure: Removed.
4208         * sysdeps/arm/armv7/configure.ac: Likewise.
4210 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
4212         * All files with FSF copyright notices: Update copyright dates
4213         using scripts/update-copyrights.
4214         * intl/plural.c: Regenerated.
4215         * locale/programs/charmap-kw.h: Likewise.
4216         * locale/programs/locfile-kw.h: Likewise.
4218 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4220         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4222 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4224         [BZ #17748]
4225         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4226         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4227         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4228         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4229         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4230         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4231         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4232         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4233         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4234         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4235         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4236         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4237         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4238         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4239         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4240         libm_hidden_def.
4241         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4242         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4243         Likewise.
4244         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4245         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4246         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4247         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4248         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4249         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4250         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4251         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4252         __fegetenv instead of fegetenv.
4253         (libc_feholdsetround_noex_ctx): Likewise.
4255 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4257         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4258         (Elf_MIPS_ABIFlags_v0): New structure.
4259         (EF_MIPS_FP64): Define.
4260         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4261         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4262         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4263         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4264         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4265         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4266         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4267         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4268         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4269         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4270         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4271         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4272         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4273         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4274         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4275         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4276         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4277         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4278         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4279         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4280         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4281         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4282         field.
4283         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4284         EF_MIPS_FP64.
4285         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4286         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4287         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4288         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4289         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4290         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4291         * sysdeps/mips/tst-abi-interlink.c: Likewise.
4292         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4293         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4294         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4295         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4296         record the current FP ABI extension.
4297         (mips-mode-switch): Define to show if kernel headers support mode
4298         switching.
4299         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4300         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4301         supported SYSV ABI version to 3.
4302         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4303         feature.
4305 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4306             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4308         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4309         path.
4310         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4312 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4314         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4315         __fegetround and redefine to call __fegetround.  Remove condition
4316         on [!__NO_MATH_INLINES].
4317         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4318         function.
4319         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4320         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4321         Remove macro.
4322         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4323         instead of <fenv_libc.h>.
4324         (__llrintl): Call fegetround instead of __fegetround.
4325         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4326         instead of <fenv_libc.h>.
4327         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4328         (__lrintl): Call fegetround instead of __fegetround.
4329         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
4330         instead of <fenv_libc.h>.
4331         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4332         (__rintl): Call fegetround instead of __fegetround.
4334 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4336         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
4337         arrays.
4339 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4341         [BZ #17775]
4342         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4343         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4344         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4346 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4348         * sysdeps/i386/tls-macros.h: Include <features.h>.
4349         (TLS_LE): Use non-PIC version for GCC >= 5.0.
4350         (TLS_IE): Likewise.
4351         (TLS_LD): Likewise.
4352         (TLS_GD): Likewise.
4353         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4354         define for GCC >= 5.0.
4356 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
4358         * math/test-fenv.c (test_single_exception, set_single_exc,
4359         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4360         feexcp_mask_test, feenable_test, fe_single_test): Add
4361         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4362         case where they are not used.
4363         * math/libm-test.inc: Likewise.
4364         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4365         unused in the absence of FP rounding/exception support.
4366         * stdio-common/tst-printf-round.c: Likewise.
4367         * stdlib/tst-strtod-round.c: Likewise.
4368         * stdlib/tst-strtod-underflow.c: Likewise.
4370 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
4372         [BZ #17723]
4373         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4374         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4375         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4376         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4377         libm_hidden_weak.
4378         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4379         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4380         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4381         libm_hidden_def.
4382         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4383         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4384         libm_hidden_weak.
4385         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4386         Likewise.
4387         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4388         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4389         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4390         libm_hidden_weak.
4391         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4392         libm_hidden_def.
4393         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4394         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4395         (__feraiseexcept): Likewise.
4396         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4397         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4398         libm_hidden_weak.
4399         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4400         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4401         libm_hidden_def.
4402         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4403         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4404         Use libm_hidden_def.
4405         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4406         libm_hidden_def.
4407         (feraiseexcept): Define as weak not strong alias.  Use
4408         libm_hidden_weak.
4409         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4410         New inline function.  Factored out of ...
4411         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
4412         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4413         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4414         feraiseexcept.
4415         * math/w_acos.c (__acos): Likewise.
4416         * math/w_asin.c (__asin): Likewise.
4417         * math/w_ilogb.c (__ilogb): Likewise.
4418         * math/w_j0.c (y0): Likewise.
4419         * math/w_j1.c (y1): Likewise.
4420         * math/w_jn.c (yn): Likewise.
4421         * math/w_log.c (__log): Likewise.
4422         * math/w_log10.c (__log10): Likewise.
4423         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4424         * sysdeps/aarch64/fpu/math_private.h
4425         (libc_feupdateenv_test_aarch64): Likewise.
4426         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4427         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4428         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4429         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4430         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4431         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4432         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4433         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4434         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4435         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4437 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4439         [BZ #17732]
4440         * io/test-utime.c (main): Replace %ld with %jd and cast to
4441         intmax_t.
4442         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
4443         * nptl/tst-mutex5.c: Include <stdint.h>.
4444         (do_test): Replace %ld with %jd and cast to intmax_t.
4445         * posix/tst-regex.c (run_test): Likewise.
4446         (run_test_backwards): Likewise.
4447         * rt/tst-clock.c: Include <stdint.h>.
4448         (clock_test): Replace %ld with %jd and cast to intmax_t.
4449         * rt/tst-cpuclock1.c: Include <stdint.h>.
4450         (do_test): Replace %lu with %ju and cast to uintmax_t.
4451         * rt/tst-cpuclock2.c: Include <stdint.h>.
4452         (do_test): Replace %lu with %ju and cast to uintmax_t.
4453         * rt/tst-mqueue1.c: Include <stdint.h>.
4454         (check_attrs): Replace %ld with %jd and cast to intmax_t.
4455         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4456         intmax_t.
4457         * rt/tst-mqueue4.c (do_test): Likewise.
4458         * rt/tst-timer4.c: Include <stdint.h>.
4459         (check_ts): Replace %ld with %jd and cast to intmax_t.
4460         (do_test): Likewise.
4461         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4462         and cast to intmax_t.
4463         * sysdeps/pthread/tst-timer.c (main): Likewise.
4464         * time/clocktest.c (main): Likewise.
4465         * time/tst-posixtz.c (do_test): Likewise.
4466         * timezone/tst-timezone.c (main): Likewise.
4468 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4469             H.J. Lu  <hongjiu.lu@intel.com>
4471         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4472         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4473         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4474         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4475         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4476         version if bit_Fast_Unaligned_Load is set.
4477         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4478         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4479         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4480         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4481         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4482         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4483         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4484         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4485         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4486         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4487         to 4.
4488         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4489         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4490         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4491         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4493 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
4495         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4496         instead of #if to avoid a Wundef warning.
4497         * stdlib/tst-limits.c (do_test): Likewise.
4499         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4500         parallel other exception macros.
4501         (fegetenv): Convert from macro to extern inline so that it applies
4502         retroactively to inline functions already seen by the compiler.
4503         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4505         * posix/Makefile (before-compile): Use $(objpfx) for
4506         posix-conf-vars-def.h.
4508 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4510         * posix/getconf.c (main): Use size_t for type of I.
4511         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4512         NSPEC.
4514         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4515         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
4516         * posix/posix-envs.def: Likewise.
4517         * sysdeps/posix/sysconf.c: Likewise.
4518         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
4519         (specs): Remove array.
4520         * scripts/gen-posix-conf-vars.awk: Support generation of specs
4521         array.
4523         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4524         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
4525         (__sysconf): Use CONF_IS_* macros.
4527         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
4528         ($(objpfx)posix-conf-vars-def.h): New target.
4529         * posix/posix-conf-vars.list: New file.
4530         * posix/posix-conf-vars.h: New file.
4531         * posix/confstr.c: Include posix-conf-vars.h.
4532         (confstr): Use CONF_IS_* macros.
4533         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
4534         CONF_IS_* macros.
4535         * scripts/gen-posix-conf-vars.awk: New file.
4537 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
4539         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
4540         fegetround): Add no-op macros to avoid linknamespace issues.
4542         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
4543         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
4545         * sysdeps/unix/sysv/linux/tile/sysdep.h
4546         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
4547         assembly-specific section to avoid a redefinition warning.
4549         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
4550         long before casting to pointer to avoid a cast warning.
4552 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
4554         * sysdeps/tile/tilegx/Implies: New file.
4556 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
4558         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
4560 2014-12-23  Florian Weimer  <fweimer@redhat.com>
4562         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
4564 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4566         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4567         not define.
4568         * sysdeps/unix/sysv/linux/utimes.c: Do not include
4569         <kernel-features.h>.
4570         (__utimes) [__NR_utimes]: Make code unconditional.
4571         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
4572         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4573         (__ASSUME_UTIMES): Do not undefine.
4574         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4575         (__ASSUME_UTIMES): Likewise.
4576         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4577         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
4578         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
4579         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
4581 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
4583         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
4585 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
4587         [BZ #17747]
4588         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
4589         alias to weak alias for j0l, y0l.
4590         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
4591         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
4593         [BZ #17746]
4594         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
4595         conversion.
4597 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
4599         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
4600         to zero if not already defined.
4602 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4604         [BZ #17724]
4605         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4606         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
4607         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
4608         (char *) casts added.
4609         * sysdeps/ieee754/k_standardf.c: New file.
4610         * sysdeps/ieee754/k_standardl.c: Likewise.
4611         * math/Makefile (libm-support): Remove k_standard.
4612         (libm-calls): Add k_standard.
4614 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4616         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4617         Optimize to avoid an unnecessary FPCR read.
4619 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4621         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4622         Optimize to reduce FPCR/FPSR accesses.
4624 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4626         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4627         Call libc_fetestexcept_aarch64.
4629 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4631         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4632         Call libc_fesetround_aarch64.
4634 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4636         [BZ #17733]
4637         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4638         (__bind): Do not define as weak alias.
4639         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4640         define.
4641         (__getsockname): Do not define as weak alias.
4643 2014-12-22  Will Newton  <will.newton@linaro.org>
4645         * manual/install.texi: Document that we require bison 2.7
4646         or above.
4647         * INSTALL: Regenerate.
4648         * configure.ac: Use AC_CHECK_PROG_VER instead of
4649         AC_PATH_PROG when checking for bison and check for
4650         version 2.7 or above.
4651         * configure: Regenerate.
4653 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
4655         [BZ #17745]
4656         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4657         * sysdeps/tile/ffsll.c (ffsll): To here.
4659         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4661 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
4663         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4664         if not defined.
4665         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4666         definition.
4667         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4668         hidden ___tls_get_addr.
4669         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4670         hidden __tls_get_addr.
4671         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4672         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4673         Likewise.
4675 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
4677         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4678         _dl_init call.
4680 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
4682         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4683         from "call _dl_init@PLT".
4684         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
4686 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
4688         * manual/search.texi: (Array Sort Function): Clarify stable sorting
4689         guarantees.
4691 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
4693         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4695 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
4697         [BZ #17744]
4698         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4699         strnlen.
4701 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
4703         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4704         of multu on MIPSr6.
4705         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4706         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4707         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4708         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4709         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4711 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
4713         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4714         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4715         (PTR_SUBU): Use subu for mips32r6/mips64r6.
4716         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
4717         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
4718         mips32r6/mips64r6.
4719         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4721 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
4723         * string/strncat.c (STRNCAT): Simplify implementation.
4725 2014-12-19  David S. Miller  <davem@davemloft.net>
4727         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4728         access the quad as both a long double and as a series of 4 words.
4730         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4731         link_map->l_info array access.
4733 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
4735         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4737         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4738         * math/atest-exp2.c (TIMEOUT): Likewise.
4739         * math/atest-sincos.c (TIMEOUT): Likewise.
4741 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4743         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4744         -Wno-error with -fno-builtin-lround.
4746 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4748         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4749         Contains futex constants and functions moved over from ...
4750         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
4751         <lowlevellock-futex.h>.
4752         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4753         (lll_timedwait_tid): Add comments and parentheses around macro
4754         arguments.
4756 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4758         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4759         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
4760         (__lll_private_flag): Remove.
4761         (lll_futex_wait): Likewise.
4762         (lll_futex_timed_wait): Likewise.
4763         (lll_futex_wake): Likewise.
4764         (lll_futex_requeue): Likewise.
4765         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4766         (__lll_timedwait_tid): Spell out argument names.
4767         (lll_timedwait_tid): Add comments and parentheses around macro
4768         arguments.
4769         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4770         LLL_SHARED and LLL_PRIVATE usable from assembly code.
4772 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4774         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4775         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4776         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4777         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4778         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4779         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4780         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4781         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4782         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4783         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4784         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4785         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4786         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4787         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4788         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4789         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4790         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4791         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4792         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4794 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4796         * sysdeps/x86_64/x32/Makefile: New file.
4798 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4800         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4801         1L with (mp_limb_t) 1.
4803 2014-12-17  Roland McGrath  <roland@hack.frob.com>
4805         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4806         * nptl/libc_pthread_init.c: ... here.
4807         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4808         * nptl/register-atfork.c: ... here.
4810         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4811         Use pthread_sigmask rather than INTERNAL_SYSCALL.
4812         Use assert_perror to check its return value.
4813         (__gai_create_helper_thread): Likewise.
4815         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4817         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4819 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
4821         [BZ #17725]
4822         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4823         __profil_counter.
4824         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4825         Likewise.
4826         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4827         Likewise.
4828         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4829         Likewise.
4830         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4831         (profil_counter): Likewise.
4832         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4833         (profil_counter): Likewise.
4834         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4835         Likewise.
4836         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4837         Likewise.
4838         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4839         (profil_counter): Likewise.
4840         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4841         Likewise.
4842         [!__profil_counter] (profil_counter): Define as weak alias of
4843         __profil_counter.
4844         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4845         (profil_counter): Rename to __profil_counter.
4846         [!__profil_counter] (profil_counter): Define as weak alias of
4847         __profil_counter.
4848         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4849         (profil_counter): Rename to __profil_counter.
4850         [!__profil_counter] (profil_counter): Define as weak alias of
4851         __profil_counter.
4852         * sysdeps/posix/profil.c: Update comment referring to
4853         profil_counter.
4854         (__profil): Use __profil_counter instead of profil_counter.
4855         * sysdeps/posix/sprofil.c (profil_counter): Rename to
4856         __profil_counter.  Use __profil_counter_ushort and
4857         __profil_counter_uint in definitions.
4858         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4859         instead of profil_counter_uint and profil_counter_ushort.
4861         [BZ #17722]
4862         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4863         define as weak alias of __inet_makeaddr.
4864         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4865         as weak alias of __inet_addr.
4866         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4867         as weak alias of __inet_pton.  Use libc_hidden_weak.
4868         * include/arpa/inet.h (__inet_pton): Declare.  Use
4869         libc_hidden_proto.
4870         (inet_makeaddr): Don't use libc_hidden_proto.
4871         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
4872         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4873         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
4874         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4875         Remove variable.
4876         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4877         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4879 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
4881         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4883 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4885         * stdio-common/bug-vfprintf-nargs.c (do_test):
4886         Cast value to intptr_t to avoid format warning
4887         for usage with PRIdPTR printing macro.
4889 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4891         * libio/tst-widetext.c (do_test):
4892         Use format type %td instead of %Zd for ptrdiff_t
4893         in order to avoid format warning.
4895 2014-12-17  Andreas Schwab  <schwab@suse.de>
4897         * nscd/mem.c (gc): Add size_t cast to match printf format.
4899 2014-12-16  Roland McGrath  <roland@hack.frob.com>
4901         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4902         (init): Apply PTR_MANGLE to pointers before storing them.
4903         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4904         before using them.
4906 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
4908         [BZ #17719]
4909         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4910         define as weak alias of __memrchr.
4911         (__memrchr): Do not define as strong alias of memrchr.
4912         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4913         Remove variable.
4914         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4915         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4916         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4918         [BZ #17717]
4919         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4920         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
4921         (if_indextoname): Rename to __if_indextoname and define as weak
4922         alias of __if_indextoname.  Use libc_hidden_weak.
4923         (if_freenameindex): Rename to __if_freenameindex and define as
4924         weak alias of __if_freenameindex.
4925         (if_nameindex): Rename to __if_nameindex and define as weak alias
4926         of __if_nameindex.
4927         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4928         __if_nametoindex and define as weak alias of __if_nametoindex.
4929         Use libc_hidden_weak.
4930         (if_freenameindex): Rename to __if_freenameindex and define as
4931         weak alias of __if_freenameindex.
4932         (if_nameindex): Rename to __if_nameindex and define as weak alias
4933         of __if_nameindex.
4934         (if_indextoname): Rename to __if_indextoname and define as weak
4935         alias of __if_indextoname.  Use libc_hidden_weak.
4936         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4937         __if_nametoindex and define as weak alias of __if_nametoindex.
4938         Use libc_hidden_weak.
4939         (if_freenameindex): Rename to __if_freenameindex and define as
4940         weak alias of __if_freenameindex.  Use libc_hidden_weak.
4941         (if_nameindex_netlink): Use __if_freenameindex instead of
4942         if_freenameindex.
4943         (if_nameindex): Rename to __if_nameindex and define as weak alias
4944         of __if_nameindex.  Use libc_hidden_weak.
4945         (if_indextoname): Rename to __if_indextoname and define as weak
4946         alias of __if_indextoname.  Use libc_hidden_weak.
4947         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4948         libc_hidden_proto.
4949         [!_ISOMAC] (__if_freenameindex): Likewise.
4950         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4951         if_nametoindex.
4952         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4953         variable.
4954         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4955         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4956         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4957         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4958         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4959         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4960         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4962         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4963         Remove variable.
4964         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4965         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4967 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4969         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4970         subscript above bounds'
4972         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4973         bounds.
4975 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
4977         * libio/tst-fopenloc.c: Use test-skeleton.c.
4979         * stdlib/tst-bsearch.c: Use test-skeleton.c.
4980         (entry): Rename to ITEM.
4981         (do_test, comp): Adjust.
4983         * stdio-common/tst-fseek.c: Use test-skeleton.c.
4985 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4987         * string/tester.c: Include <libc-internal.h>.
4988         (test_memset): Ignore -Wmemset-transposed-args.
4990 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4992         * misc/tst-mntent2.c (do_test): Fix warning.
4994 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4996         * elf/tst-unique4lib.cc(a): Mark as used.
4998 2014-12-16  Florian Weimer  <fweimer@redhat.com>
5000         [BZ #17630]
5001         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5002         names.
5004 2014-12-16  Allan McRae  <allan@archlinux.org>
5006         * stdio-common/Makefile (tests): Re-add bug26.
5008 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
5010         [BZ #17657]
5011         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5012         static array.
5014 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
5016         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5017         (__lll_lock_wait): Likewise.
5018         (__lll_timedlock_wait): Likewise.
5019         (__lll_timedwait_tid): Likewise.
5020         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5021         (__lll_robust_timedlock_wait): Likewise.
5022         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5023         (lll_cond_trylock): Likewise.
5024         (__lll_lock): Likewise.
5025         (__lll_robust_lock): Likewise.
5026         (__lll_cond_lock): Likewise.
5027         (lll_robust_cond_lock): Likewise.
5028         (__lll_timedlock): Likewise.
5029         (__lll_robust_timedlock): Likewise.
5030         (__lll_unlock): Likewise.
5031         (__lll_robust_unlock): Likewise.
5032         (lll_wait_tid): Likewise.
5033         (lll_timedwait_tid): Likewise.
5035 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5037         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5039 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5041         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5043 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5045         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5046         * stdio-common/tst-sprintf.c: Likewise.
5048 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5050         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5052 2014-12-15  Jeff Law  <law@redhat.com>
5054         [BZ #16617]
5055         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5056         on the heap.  (CVE-2012-3406)
5057         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5058         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
5059         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5061 2014-12-15  Will Newton  <will.newton@linaro.org>
5063         * manual/install.texi: Bump required version of texinfo
5064         to 4.7 from 4.5.
5065         * INSTALL: Regenerated.
5066         * configure.ac: Check for makeinfo version 4.7 and above.
5067         * configure: Regenerated.
5069 2014-12-12  Roland McGrath  <roland@hack.frob.com>
5071         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5072         PREFIX, string constant to insert between directory and name.
5073         * sysdeps/posix/shm_open.c: Update caller.
5074         * sysdeps/posix/shm_unlink.c: Likewise.
5075         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5076         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5077         (SEM_SHM_PREFIX): New macro.
5078         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5079         [$(have-thread-library) = no].
5080         * nptl/Makefile (libpthread-routines): Add shm-directory.
5081         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5082         * sysdeps/nptl/shm-directory.h: New file.
5083         * sysdeps/posix/shm-directory.c
5084         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5085         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5086         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5087         INTERNAL_SYSCALL.
5088         (__where_is_shmfs): Function removed.
5089         (mountpoint, defaultmount, defaultdir, __namedsem_once):
5090         Variables removed.
5091         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5092         Use SHM_GET_NAME.
5093         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
5095         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5096         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5097         unconditional for use inside libpthread.
5098         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5100 2014-12-12  Roland McGrath  <roland@hack.frob.com>
5102         * nptl/pthread_getaffinity.c: New file.
5103         * nptl/pthread_setaffinity.c: New file.
5104         * nptl/pthread_getname.c: New file.
5105         * nptl/pthread_setname.c: New file.
5107         * nptl/pthread_create.c (START_THREAD_DEFN)
5108         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5110 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5111             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5113         * resolv/res_send.c (send_vc): Disable warning resplen may
5114         be used uninitialized.
5116 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5118         * nptl/tst-mutex6.c
5119         (ATTR_NULL): New define checks ATTR against NULL.
5120         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
5121         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
5123 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
5125         [BZ #17581]
5126         * malloc/hooks.c
5127         (mem2mem_check): Revert my previous change.
5128         (malloc_check_get_size): Revert my previous change.
5129         (mem2chunk_check): Revert my previous change.
5131 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5133         * sysdeps/posix/shm-directory.c: New file.
5134         * sysdeps/posix/shm-directory.h: New file.
5135         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
5136         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
5137         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
5138         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
5139         Transmute EPERM to EACCES.
5140         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
5141         from ...
5142         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
5143         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
5145 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5147         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
5148         pointer and cast to uintptr_t.
5149         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
5150         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
5151         Add cast to avoid warning.
5152         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5154 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5156         * nptl/semaphore.h: Move to ...
5157         * sysdeps/pthread/semaphore.h: ... here.
5158         * Makefile (installed-headers): Change nptl/semaphore.h to
5159         sysdeps/pthread/semaphore.h.
5161 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5163         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5164         generated error format strings.
5166         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5167         -Wformat-extra-args warnings for scanf formats.
5168         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5169         test of zero-length format (duh).
5170         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5171         corner-case scanf format test.
5172         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5173         generated fprintf format string.
5174         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5175         corner-case sprintf format tests.
5176         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5177         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5178         -Wformat-extra-args warnings throughout.
5179         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5180         (CFLAGS-scanf4.c): Likewise.
5181         (CFLAGS-scanf7.c): Likewise.
5182         (CFLAGS-tst-sprintf.c): Likewise.
5183         (CFLAGS-tst-printf.c): Likewise.
5184         (CFLAGS-tst-printfsz.c): Likewise.
5186 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5188         * include/cpio.h: New file.
5189         * include/fmtmsg.h: Likewise.
5191         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
5192         corresponding format argument to size_t.
5193         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
5194         arguments.
5195         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
5196         corresponding format argument to size_t.
5197         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
5198         arguments.
5199         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
5200         corresponding format argument to size_t.
5201         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5202         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5203         (CFLAGS-tst-mbswcs2.c): Likewise.
5204         (CFLAGS-tst-mbswcs3.c): Likewise.
5205         (CFLAGS-tst-mbswcs4.c): Likewise.
5206         (CFLAGS-tst-mbswcs5.c): Likewise.
5207         (CFLAGS-tst-trans.c): Likewise
5209 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5211         * posix/regexbug1.c (main): Use "%s" format with regerror results,
5212         rather than assuming they won't contain any '%'s.
5214 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
5216         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5217         inhibit_loop_to_libcall to avoid recursive calls.
5218         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5219         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5221 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5223         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5224         prototype.
5226 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5228         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5229         integer value instead of boolean.
5231 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5233         * malloc/malloc.c: Fix powerof2 check.
5235 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5237         * locale/programs/locfile.h (maybe_swap_uint32):
5238         Remove inline and add unused attribute.
5240 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5242         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5243         Truncating assembler expression to a .long expression.
5245 2014-12-11  Andreas Schwab  <schwab@suse.de>
5247         * elf/rtld.c (struct map_args): Constify str member.
5248         (do_preload): Constify fname argument.
5250 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5252         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5253         constants definition.
5255 2014-12-11  Andreas Schwab  <schwab@suse.de>
5257         [BZ #16657]
5258         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5259         FORCE_ELISION instead of DO_ELISION.
5260         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5261         Remove.
5262         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5263         Likewise.
5265         * iconvdata/gconv-modules: Remove duplicate entry.
5267 2014-12-11  Will Newton  <will.newton@linaro.org>
5269         Merge gettext 0.19.3 into intl/.
5271         This involves a number of cosmetic changes to comments
5272         and ANSI function definitions and prototypes throughout
5273         all the files. The gettext copyright header is used but
5274         with the date ranges taken from the glibc copy.
5276         * NEWS: Add gettext merge to 2.21.
5277         * intl/bindtextdom.c: Switch to gettext copyright.
5278         Use ANSI definitions and prototypes.
5279         Use gl_* locking primitives rather than __libc_* ones.
5280         Use __builtin_expect rather than __glibc_likely/unlikely.
5281         * intl/dcgettext.c: Switch to gettext copyright.
5282         Use ANSI definitions and prototypes.
5283         * intl/dcigettext.c: Switch to gettext copyright.
5284         Use ANSI definitions and prototypes.
5285         (INTDIV0_RAISES_SIGFPE): New define.
5286         Use gl_* locking primitives rather than __libc_* ones.
5287         Include eval-plural.h instead of plural-eval.c.
5288         Use __builtin_expect rather than __glibc_likely/unlikely.
5289         * intl/dcngettext.c: Switch to gettext copyright.
5290         Use ANSI definitions and prototypes.
5291         * intl/dgettext.c: Likewise.
5292         * intl/dngettext.c: Likewise.
5293         * intl/plural-eval.c: Renamed to...
5294         * intl/eval-plural.h: ...this.
5295         * intl/explodename.c: Switch to gettext copyright.
5296         Use ANSI definitions and prototypes.
5297         (_nl_explode_name): Use strchr instead of __rawmemchr.
5298         * intl/finddomain.c: Switch to gettext copyright.
5299         Use ANSI definitions and prototypes.
5300         Use gl_* locking primitives rather than __libc_* ones.
5301         (_nl_find_domain): Use malloc rather than alloca for
5302         allocation of temporary locale name.
5303         * intl/gettext.c: Switch to gettext copyright.
5304         Use ANSI definitions and prototypes.
5305         * intl/gettextP.h: Switch to gettext copyright.
5306         Use ANSI definitions and prototypes.
5307         Use gl_* locking primitives rather than __libc_* ones.
5308         * intl/gmo.h: Switch to gettext copyright.
5309         (struct sysdep_string): Move struct segment_pair outside of
5310         struct definition.
5311         * intl/hash-string.c: Use ANSI definitions and prototypes.
5312         * intl/hash-string.h: Switch to gettext copyright.
5313         Use ANSI definitions and prototypes.
5314         * intl/l10nflist.c: Switch to gettext copyright.
5315         Use ANSI definitions and prototypes.
5316         (_nl_normalize_codeset): Avoid integer overflow.
5317         * intl/loadinfo.h: Switch to gettext copyright.
5318         Use ANSI definitions and prototypes.
5319         (LIBINTL_DLL_EXPORTED): New define.
5320         (PATH_SEPARATOR): New define.
5321         * intl/loadmsgcat.c: Switch to gettext copyright.
5322         * intl/localealias.c: Switch to gettext copyright.
5323         Use ANSI definitions and prototypes.
5324         (_nl_expand_alias): Use PATH_SEPARATOR.
5325         * intl/ngettext.c: Switch to gettext copyright.
5326         Use ANSI definitions and prototypes.
5327         * intl/plural-exp.c: Likewise.
5328         * intl/plural-exp.h: Switch to gettext copyright.
5329         Use ANSI definitions and prototypes.
5330         (struct expression): Move definition of enum operator outside
5331         of struct definition.
5332         * intl/plural.c: Regenerate.
5333         * intl/plural.y: Switch to gettext copyright.
5334         Use ANSI definitions and prototypes.
5335         Port to bison 3.0.
5336         * intl/textdomain.c: Switch to gettext copyright.
5337         Use ANSI definitions and prototypes.
5338         Use gl_* locking primitives rather than __libc_* ones.
5340 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
5342         * debug/warning-nop.c: Add used atrribute.
5344 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5346         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5348         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5349         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5350         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5352 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5353             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5355         [BZ #17634]
5356         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5357         Undefine after defining function.  Define as weak alias of
5358         __wcschr.  Use libc_hidden_weak.
5359         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
5360         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5361         (libc_hidden_def): Also define __GI___wcschr alias.
5362         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5363         __wcschr and define as weak alias of __wcschr.
5364         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5365         __wcschr.
5366         [!WCSCHR] (DEFAULT_WCSCHR): Define.
5367         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5368         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
5369         libc_hidden_weak.  Do not use libc_hidden_def.
5370         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5371         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5372         __GI___wcschr alias.
5373         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5374         [IS_IN (libc)] (wcschr): Define as macro expanding to
5375         __redirect_wcschr.
5376         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5377         [IS_IN (libc)] (__wcschr_power6): Likewise.
5378         [IS_IN (libc)] (__wcschr_power7): Likewise.
5379         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
5380         instead of wcschr.
5381         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5382         __libc_wcschr.
5383         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5384         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5385         __wcschr and define as weak alias of __wcschr.  Use
5386         libc_hidden_builtin_def.
5387         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5388         as weak alias of __wcschr.  Use libc_hidden_weak.
5389         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5390         wcschr.
5391         * time/era.c (_nl_init_era_entries): Likewise.
5392         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5393         variable.
5394         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5395         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5397 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5399         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5400         format for long int variable.
5402 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
5404         [BZ #10672]
5405         * manual/search.texi: (Array Sort Function): Remove claim how to make
5406         qsort stable.
5408 2014-12-10  Andreas Schwab  <schwab@suse.de>
5410         [BZ #12847]
5411         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5412         user-controlled locks.
5414 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
5416         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5417         register.
5419 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5421         * configure.ac (--disable-werror): New configure option.
5422         (enable_werror): New AC_SUBST.
5423         * configure: Regenerated.
5424         * config.make.in (enable-werror): New variable.
5425         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5426         -Wno-error=undef.
5427         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5428         * manual/install.texi (Configuring and compiling): Document
5429         --disable-werror.
5430         * INSTALL: Regenerated.
5431         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5432         (CFLAGS-tst-chk2.c): Likewise.
5433         (CFLAGS-tst-chk3.c): Likewise.
5434         (CFLAGS-tst-chk4.cc): Likewise.
5435         (CFLAGS-tst-chk5.cc): Likewise.
5436         (CFLAGS-tst-chk6.cc): Likewise.
5437         (CFLAGS-tst-lfschk1.c): Likewise.
5438         (CFLAGS-tst-lfschk2.c): Likewise.
5439         (CFLAGS-tst-lfschk3.c): Likewise.
5440         (CFLAGS-tst-lfschk4.cc): Likewise.
5441         (CFLAGS-tst-lfschk5.cc): Likewise.
5442         (CFLAGS-tst-lfschk6.cc): Likewise.
5444         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5445         (main): Disable -Wdeprecated-declarations around calls to
5446         register_printf_function.
5448         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5449         (do_test): Disable -Wdiv-by-zero around some calls to
5450         fwrite_unlocked and fread_unlocked.
5452         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5453         (DIAG_POP_NEEDS_COMMENT): Likewise.
5454         (_DIAG_STR1): Likewise.
5455         (_DIAG_STR): Likewise.
5456         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5457         * stdio-common/bug21.c: Include <libc-internal.h>.
5458         (do_test): Disable -Wformat around call to sscanf.
5459         * stdio-common/scanf14.c: Include <libc-internal.h>.
5460         (main): Disable -Wformat around some calls to scanf functions.
5462 2014-12-09  Torvald Riegel  <triegel@redhat.com>
5464         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5466 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5468         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5469         stack variable alignment.
5471 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
5473         [BZ #17682]
5474         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5475         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5476         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5477         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5478         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5479         __getrlimit instead of getrlimit.
5480         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5481         __gettimeofday instead of gettimeofday.
5482         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5483         Likewise.
5484         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5485         Likewise.
5486         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5487         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5488         Remove variable.
5489         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5490         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5492 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5494         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5495         for wide-character tests.
5497 2014-12-04  Roland McGrath  <roland@hack.frob.com>
5499         * io/openat64.c: #include <libc-internal.h>
5500         (__openat64): Prototypify.  Use ignore_value on MODE.
5501         * io/openat.c: Likewise.
5502         * misc/reboot.c: #include <libc-internal.h>
5503         (reboot): Prototypify.  Use ignore_value on HOWTO.
5504         * misc/ptrace.c: #include <libc-internal.h>
5505         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
5507 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
5509         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5510         XPG4, UNIX98 and XOPEN2K.
5511         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5512         Remove variable.
5513         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5515 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5517         * libio/fileops.c: Use ISO C style for function definitions.
5518         * libio/iofopen.c: Likewise.
5519         * libio/wfileops.c: Likewise.
5521         [BZ #17653]
5522         * libio/fileops.c (_IO_new_file_underflow): Unset cached
5523         offset on EOF.
5524         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5525         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
5526         (fgets_func): Function pointer to fgets and fgetws.
5527         (do_ftell_test): Add test to verify ftell value after read
5528         EOF.
5529         (do_test): Set fgets_func.
5531         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
5532         O_TRUNC flag for w and w+ modes.
5533         (do_rewind_test): Likewise.
5534         (do_ftell_test): Likewise.
5535         (do_write_test): Likewise.
5537         [BZ #17647]
5538         * libio/fileops.c (do_ftell): Seek only when there are
5539         unflushed writes.
5540         * libio/wfileops.c (do_ftell_wide): Likewise.
5541         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
5542         test case.
5543         (do_one_test): Call it.
5545 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
5547         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
5548         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
5549         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
5550         Remove variable.
5551         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5552         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5553         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5555 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
5557         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
5558         Remove variable.
5559         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5561         [BZ #17668]
5562         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
5563         as weak alias of __getifaddrs.  Use libc_hidden_weak.
5564         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5565         __freeifaddrs.  Use libc_hidden_weak.
5566         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
5567         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
5568         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5569         __freeifaddrs.  Use libc_hidden_weak.
5570         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
5571         __getifaddrs and define as weak alias of __getifaddrs.  Use
5572         libc_hidden_weak.
5573         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5574         __freeifaddrs.  Use libc_hidden_weak.
5575         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
5576         Remove variable.
5577         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5578         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5580 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
5582         [BZ #17601]
5583         * sysdeps/mips/start.S (__start): Use indirect jump to call
5584         __libc_start_main.
5586 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
5588         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
5590         * nptl/tst-mutex1.c: Include <stdbool.h>.
5591         [!ATTR] (ATTR_NULL): New macro.
5592         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
5593         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
5594         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
5596         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
5597         to char *.
5599         [BZ #17665]
5600         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
5601         Change conditional to [__USE_MISC].
5603         [BZ #17664]
5604         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5605         fgets_unlocked.
5606         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5607         __fgets_unlocked.
5608         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5609         fgets_unlocked.
5610         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5611         Remove variable.
5612         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5613         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5614         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5615         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5616         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5617         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5618         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5619         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5620         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5622         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5624 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5626         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5627         Remove strpbrk objects.
5628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5629         (__libc_ifunc_impl_list): Remove strpbrk implementation.
5630         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5631         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5632         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5633         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5635         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5636         Remove strcspn objects.
5637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5638         (__libc_ifunc_impl_list): Remove strcspn implementation.
5639         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5640         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5641         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5642         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
5644         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5645         Remove strspn objetcs.
5646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5647         (__libc_ifunc_impl_list): Remove strspn implementation.
5648         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5649         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5650         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5651         * sysdeps/powerpc/powerpc64/strspn.S: New file.
5653 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
5655         [BZ #17581]
5656         * malloc/hooks.c
5657         (mem2mem_check): Add a terminator to the chain of checking blocks.
5658         (malloc_check_get_size): Use it here.
5659         (mem2chunk_check): Ditto.
5661 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5663         * sysdeps/powerpc/powerpc64/strtok.S: New file.
5664         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5666 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
5668         * bits/ioctl-types.h: Indent preprocessor directives correctly.
5670         * nptl/nptl-init.c: Include libc-internal.h.
5671         (__pthread_initialize_minimal_internal): Use ROUND_UP.
5673         * elf/ldconfig.c (search_dir): Expand comment.
5675 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
5677         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5678         variable.
5679         (linknamespace-symlist-stdlibs-tests): Likewise.
5680         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5681         instead of $(objpfx)symlist-stdlibs.
5682         (linknamespace-libs-isoc): New variable.
5683         (linknamespace-libs): Use $(linknamespace-libs-isoc).
5684         (linknamespace-libs-ISO): New variable.
5685         (linknamespace-libs-ISO99): Likewise.
5686         (linknamespace-libs-ISO11): Likewise.
5687         (linknamespace-libs-XPG3): Likewise.
5688         (linknamespace-libs-XPG4): Likewise.
5689         (linknamespace-libs-POSIX): Likewise.
5690         (linknamespace-libs-UNIX98): Likewise.
5691         (linknamespace-libs-XOPEN2K): Likewise.
5692         (linknamespace-libs-POSIX2008): Likewise.
5693         (linknamespace-libs-XOPEN2K8): Likewise.
5694         ($(objpfx)symlist-stdlibs): Replace by
5695         $(linknamespace-symlist-stdlibs-tests).  Use
5696         $(linknamespace-libs-$*) as set of libraries.
5697         ($(linknamespace-header-tests)): Update dependencies.  Use
5698         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5699         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5700         * conform/linknamespace.pl: Remove comment about considering
5701         definitions of symbols from irrelevant libraries.
5703 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5705         [BZ #13862]
5706         * elf/dl-tls.c: Include <atomic.h>.
5707         (oom): Remove #ifdef SHARED/#endif.
5708         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5709         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
5710         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5711         big enough.
5712         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5713         * nptl/Makefile (tests): Add tst-stack4.
5714         (modules-names): Add tst-stack4mod.
5715         ($(objpfx)tst-stack4): New.
5716         (tst-stack4mod.sos): Likewise.
5717         ($(objpfx)tst-stack4.out): Likewise.
5718         ($(tst-stack4mod.sos)): Likewise.
5719         (clean): Likewise.
5720         * nptl/tst-stack4.c: New file.
5721         * nptl/tst-stack4mod.c: Likewise.
5723 2014-11-27  J. Brown  <jb999@gmx.de>
5725         * sysdeps/x86/bits/string.h: Add recent CPUs.
5727 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
5729         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5730         sigblock.
5732         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5733         feof.
5735         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5736         variable.
5738 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5740         * nscd/connections.c: Include libc-internal.h because of macro
5741         usage ignore_value.
5743 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5745         * string/bits/string3.h (__warn_memset_zero_len): Don't
5746         declare for gcc newer than 5.0.
5747         (memset): Don't test for zero-length __LEN for gcc newer than
5748         5.0.
5750 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
5752         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5753         size_t for %zu format.
5755         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5756         difference, not %ju.
5758 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
5760         * include/libc-internal.h (ignore_value): New macro.
5761         * nscd/connections.c (restart): Wrap calls to setuid and setgid
5762         with ignore_value.
5764         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5765         definition.
5767         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5768         pthread_cleanup_push to void *.
5770         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5771         Undefine.
5773         [BZ #16619]
5774         [BZ #16740]
5775         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5776         instead of 1L << 52.
5778         * libio/bug-rewind.c (do_test): Check fwscanf return values.
5779         * libio/bug-rewind2.c (do_test): Likewise.
5781         * debug/test-stpcpy_chk-ifunc.c: Remove file.
5782         * debug/test-strcpy_chk-ifunc.c: Likewise.
5783         * wcsmbs/test-wcschr-ifunc.c: Likewise.
5784         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5785         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5786         * wcsmbs/test-wcslen-ifunc.c: Likewise.
5787         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5788         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5789         * Rules [$(multi-arch) = no] (tests): Do not filter out
5790         $(tests-ifunc).
5791         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5792         * debug/Makefile (tests-ifunc): Remove variable.
5793         (tests): Do not add $(tests-ifunc).
5794         * wcsmbs/Makefile (tests-ifunc): Remove variable.
5795         (tests): Do not add $(tests-ifunc).
5796         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5797         [TEST_IFUNC]: Remove conditionals.
5798         * string/test-string.h (TEST_IFUNC): Remove macro.
5799         [TEST_IFUNC]: Remove conditionals.
5801         * string/test-strchr.c [!WIDE] (L): New macro.
5802         [WIDE] (L): Likewise.
5803         (check1): Use CHAR instead of char.  Use L on string and character
5804         constants.
5806 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
5808         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5809         tests.
5810         * sysdeps/powerpc/bits/atomic.h
5811         (__arch_atomic_exchange_and_add_32_acq): Add definition.
5812         (__arch_atomic_exchange_and_add_32_rel): Likewise.
5813         (atomic_exchange_and_add_acq): Likewise.
5814         (atomic_exchange_and_add_rel): Likewise.
5815         * sysdeps/powerpc/powerpc32/bits/atomic.h
5816         (__arch_atomic_exchange_and_add_64_acq): Add definition.
5817         (__arch_atomic_exchange_and_add_64_rel): Likewise.
5818         * sysdeps/powerpc/powerpc64/bits/atomic.h
5819         (__arch_atomic_exchange_and_add_64_acq): Add definition.
5820         (__arch_atomic_exchange_and_add_64_rel): Likewise.
5822 2014-11-26  Torvald Riegel  <triegel@redhat.com>
5824         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5825         Change synchronization of __sched_fifo_min_prio and
5826         __sched_fifo_max_prio.
5827         * nptl/pthread_mutexattr_getprioceiling.c
5828         (pthread_mutexattr_getprioceiling): Likewise.
5829         * nptl/pthread_mutexattr_setprioceiling.c
5830         (pthread_mutexattr_setprioceiling): Likewise.
5831         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5832         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5833         Likewise.
5835 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
5837         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5838         void.
5840 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
5842         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5843         third argument const.
5845 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
5847         fnmatch: work around GCC compiler warning bug with uninit var
5848         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5849         This works around a bug with x86-64 GCC 4.9.2 and earlier
5850         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5851         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5852         used uninitialized in this function [-Wmaybe-uninitialized]".
5854 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
5856         * posix/bug-regex31.c (main): Return RES not 0.
5858 2014-11-25  Anton Blanchard <anton@samba.org>
5860         * sysdeps/powerpc/bits/atomic.h
5861         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5863 2014-11-24  Sterling Augustine  <saugustine@google.com>
5865         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5867 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
5869         [BZ #17608]
5870         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5872 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
5874         [BZ #17633]
5875         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5876         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5877         variable.
5878         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5879         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5881 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
5883         * string/strncpy.c (strncpy): Improve performance by using memset.
5885 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
5887         * string/strcpy.c (strcpy):
5888         Improve performance by using strlen and memcpy.
5890 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
5892         * string/strcoll_l.c (get_next_seq): __always_inline.
5893         * string/strcoll_l.c (do_compare): __always_inline.
5895 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5897         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5898         defined.
5899         * include/mqueue.h: Likewise.
5900         * include/stdlib.h: Likewise.
5902         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5903         (get_null_defines): Adjust.
5904         * sunrpc/Makefile: Adjust comment.
5905         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5906         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5907         (CFLAGS-interp.c): Likewise.
5908         (CFLAGS-ldconfig.c): Likewise.
5909         (CPPFLAGS-.os): Likewise.
5910         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5911         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5912         * extra-modules.mk (extra-modules.mk): Likewise.
5913         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5914         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5915         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5916         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5917         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5918         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5919         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5920         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5921         * iconvdata/Makefile (CPPFLAGS): Likewise.
5922         (cpp-srcs-left): Add libof for all iconvdata routines.
5923         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5924         * include/assert.h: Likewise.
5925         * include/ctype.h: Likewise.
5926         * include/errno.h: Likewise.
5927         * include/libc-symbols.h: Likewise.
5928         * include/math.h: Likewise.
5929         * include/netdb.h: Likewise.
5930         * include/resolv.h: Likewise.
5931         * include/stdio.h: Likewise.
5932         * include/stdlib.h: Likewise.
5933         * include/string.h: Likewise.
5934         * include/sys/stat.h: Likewise.
5935         * include/wctype.h: Likewise.
5936         * intl/l10nflist.c: Likewise.
5937         * libidn/idn-stub.c: Likewise.
5938         * libio/libioP.h: Likewise.
5939         * nptl/libc_multiple_threads.c: Likewise.
5940         * nptl/pthreadP.h: Likewise.
5941         * posix/regex_internal.h: Likewise.
5942         * resolv/res_hconf.c: Likewise.
5943         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5944         * sysdeps/arm/memmove.S: Likewise.
5945         * sysdeps/arm/sysdep.h: Likewise.
5946         * sysdeps/generic/_itoa.h: Likewise.
5947         * sysdeps/generic/symbol-hacks.h: Likewise.
5948         * sysdeps/gnu/errlist.awk: Likewise.
5949         * sysdeps/gnu/errlist.c: Likewise.
5950         * sysdeps/i386/i586/memcpy.S: Likewise.
5951         * sysdeps/i386/i586/memset.S: Likewise.
5952         * sysdeps/i386/i686/memcpy.S: Likewise.
5953         * sysdeps/i386/i686/memmove.S: Likewise.
5954         * sysdeps/i386/i686/mempcpy.S: Likewise.
5955         * sysdeps/i386/i686/memset.S: Likewise.
5956         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5957         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5958         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5959         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5960         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5961         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5962         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5963         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5964         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5965         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5966         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5967         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5968         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5969         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5970         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5971         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5972         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5973         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5974         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5975         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5976         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5977         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5978         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5979         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5980         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5981         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5982         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5983         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5984         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5985         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5986         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5987         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5988         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5989         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5990         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5991         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5992         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5993         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5994         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5995         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5996         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5997         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5998         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5999         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6000         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6001         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6002         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6003         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6004         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6005         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6006         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6007         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6008         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6009         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6010         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6011         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6012         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6013         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6014         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6015         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6016         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6017         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6018         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6019         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6020         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6021         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6022         * sysdeps/posix/closedir.c: Likewise.
6023         * sysdeps/posix/opendir.c: Likewise.
6024         * sysdeps/posix/readdir.c: Likewise.
6025         * sysdeps/posix/rewinddir.c: Likewise.
6026         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6027         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6028         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6029         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6030         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6031         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6032         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6033         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6034         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6035         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6036         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6037         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6038         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6039         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6040         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6041         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6042         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6043         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6044         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6045         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6046         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6047         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6048         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6049         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6050         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6051         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6052         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6053         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6054         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6057         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6058         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6059         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6060         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6061         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6062         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6063         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6064         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6065         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6066         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6067         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6068         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6069         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6070         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6071         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6072         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6073         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6074         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6075         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6076         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6077         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6078         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6079         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6080         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6081         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6082         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6083         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6084         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6085         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6086         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6087         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6088         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6089         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6090         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6091         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6092         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6093         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6094         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6095         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6096         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6097         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6098         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6099         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6100         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6101         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6102         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6103         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6104         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6105         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6106         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6107         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6108         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6109         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6110         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6111         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6112         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6113         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6114         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6115         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6116         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6117         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
6118         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
6119         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6120         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6121         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
6122         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6123         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6124         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
6125         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
6126         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6127         * sysdeps/unix/alpha/sysdep.S: Likewise.
6128         * sysdeps/unix/alpha/sysdep.h: Likewise.
6129         * sysdeps/unix/make-syscalls.sh: Likewise.
6130         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6131         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6132         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6133         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6134         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6135         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6136         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
6137         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6138         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6139         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
6140         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6141         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6142         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6143         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6144         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6145         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6146         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6147         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6148         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6149         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6150         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6151         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6152         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6153         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6154         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6155         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6156         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6159         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6160         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6161         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6162         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6163         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6164         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6165         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6166         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6167         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6168         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6169         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6170         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6171         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6172         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6173         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6174         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6175         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6176         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6177         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6178         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6180         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6181         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6182         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6183         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6184         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6185         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6186         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6187         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6188         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6189         * sysdeps/x86_64/memcpy.S: Likewise.
6190         * sysdeps/x86_64/memmove.c: Likewise.
6191         * sysdeps/x86_64/memset.S: Likewise.
6192         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6193         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6194         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6195         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6196         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6197         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6198         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6199         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6200         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6201         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6202         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6203         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6204         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6205         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6206         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6207         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6208         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6209         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6210         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6211         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6212         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6213         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6214         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6215         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6216         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6217         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6218         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6219         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6220         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6221         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6222         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6223         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6224         * sysdeps/x86_64/strcmp.S: Likewise.
6226         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6228         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6229         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6230         * elf/rtld-Rules: Likewise.
6231         * elf/setup-vdso.h: Likewise.
6232         * include/assert.h: Likewise.
6233         * include/bits/stdlib-float.h: Likewise.
6234         * include/errno.h: Likewise.
6235         * include/sys/stat.h: Likewise.
6236         * include/unistd.h: Likewise.
6237         * sysdeps/aarch64/setjmp.S: Likewise.
6238         * sysdeps/alpha/setjmp.S: Likewise.
6239         * sysdeps/arm/__longjmp.S: Likewise.
6240         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6241         * sysdeps/arm/setjmp.S: Likewise.
6242         * sysdeps/arm/sysdep.h: Likewise.
6243         * sysdeps/generic/_itoa.h: Likewise.
6244         * sysdeps/generic/dl-sysdep.h: Likewise.
6245         * sysdeps/generic/ldsodefs.h: Likewise.
6246         * sysdeps/i386/dl-tls.h: Likewise.
6247         * sysdeps/i386/setjmp.S: Likewise.
6248         * sysdeps/m68k/setjmp.c: Likewise.
6249         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6250         * sysdeps/mach/hurd/opendir.c: Likewise.
6251         * sysdeps/posix/getcwd.c: Likewise.
6252         * sysdeps/posix/opendir.c: Likewise.
6253         * sysdeps/posix/profil.c: Likewise.
6254         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6255         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6256         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6257         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6258         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6259         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6260         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6261         * sysdeps/s390/dl-tls.h: Likewise.
6262         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6263         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6264         * sysdeps/sh/sh3/setjmp.S: Likewise.
6265         * sysdeps/sh/sh4/setjmp.S: Likewise.
6266         * sysdeps/unix/alpha/sysdep.h: Likewise.
6267         * sysdeps/unix/arm/sysdep.S: Likewise.
6268         * sysdeps/unix/i386/sysdep.S: Likewise.
6269         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6270         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6271         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6272         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6273         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6274         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6275         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6276         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6277         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6278         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6279         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6280         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6281         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6284         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6285         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6286         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6287         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6288         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6289         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6290         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6291         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6292         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6293         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6294         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6295         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6296         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6297         * sysdeps/x86_64/setjmp.S: Likewise.
6299         * include/math.h: Use IS_IN instead of IS_IN_libm.
6300         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6301         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6302         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6303         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6304         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6305         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6306         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6307         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6308         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6309         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6310         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6311         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6312         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6313         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6314         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6315         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6316         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6317         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6318         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6319         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6320         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6321         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6322         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6323         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6324         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6325         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6326         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6327         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6328         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6329         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6330         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6331         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6332         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6334         Likewise.
6335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6336         Likewise.
6337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
6338         Likewise.
6339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
6340         Likewise.
6341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6342         Likewise.
6343         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6344         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6345         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6346         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6347         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6348         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6354         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6355         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6356         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6357         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6358         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6359         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6360         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6361         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6362         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6363         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6364         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6365         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6366         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6367         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6369         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6371         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6372         * nptl/pthreadP.h: Likewise.
6373         * nptl_db/structs.def: Likewise.
6374         * sysdeps/arm/sysdep.h: Likewise.
6375         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6376         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6377         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6378         * sysdeps/unix/alpha/sysdep.h: Likewise.
6379         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6380         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6381         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6382         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6383         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6384         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6385         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6386         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6387         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6388         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6389         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6390         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6391         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6392         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6395         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6396         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6397         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6398         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6399         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6400         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6401         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6402         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6403         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6404         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6406         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6407         * nptl/pthreadP.h: Likewise.
6408         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6409         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6410         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6411         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6412         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6413         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6414         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6415         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6416         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6417         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6418         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6419         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6421         Likewise.
6422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6423         Likewise.
6424         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6426         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6427         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6428         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6429         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6430         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6431         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6433         * dlfcn/dladdr.c: Use IS_IN.
6434         * dlfcn/dladdr1.c: Likewise.
6435         * dlfcn/dlclose.c: Likewise.
6436         * dlfcn/dlerror.c: Likewise.
6437         * dlfcn/dlinfo.c: Likewise.
6438         * dlfcn/dlmopen.c: Likewise.
6439         * dlfcn/dlopen.c: Likewise.
6440         * dlfcn/dlsym.c: Likewise.
6441         * dlfcn/dlvsym.c: Likewise.
6443         * include/ifaddrs.h: Use IS_IN.
6444         * inet/check_pf.c: Likewise.
6445         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6446         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6448         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6449         IS_IN_ldconfig.
6450         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6451         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6453         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6454         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6455         IS_IN (libc).
6457         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6459         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6460         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6461         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6462         * include/libc-symbols.h (IS_IN_LIB): New macro.
6463         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6464         * include/netdb.h: Likewise.
6465         * include/stap-probe.h: Remove all uses of IN_LIB.
6467         * Makeconfig (module-cppflags-real): Define MODULE_NAME
6468         instead of IN_MODULE.
6469         * include/libc-symbols.h (IN_MODULE): Define using
6470         MODULE_NAME.
6471         (PASTE_NAME, PASTE_NAME1): New macros.
6472         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6473         of IN_LIB.
6474         (STAP_PROBE_ASM): Likewise.
6476 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6478         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6479         __mach_init in dlopened libc.
6481 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
6483         * sysdeps/arm/preconfigure.ac: Delete EABI check.
6484         * sysdeps/arm/preconfigure: Regenerate.
6486 2014-11-21  Roland McGrath  <roland@hack.frob.com>
6488         * nptl/pthread_create.c (__pthread_create_2_1): Set
6489         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6490         when copying values from IATTR into PD.
6492 2014-11-21  Will Newton  <will.newton@linaro.org>
6493             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6495         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6496         Refactor inline-asm.  Also add comment.
6498         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6499         ElfW macro instead of hardcoded Elf64 types.
6500         (la_aarch64_gnu_pltenter): Likewise.
6501         * sysdeps/aarch64/dl-machine.h
6502         (elf_machine_runtime_setup): Use ElfW(Addr).
6504         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6505         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6506         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6507         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6508         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6509         (R_AARCH64_TLS_DTPMOD64): Rename to ..
6510         (R_AARCH64_TLS_DTPMOD): This.
6511         (R_AARCH64_TLS_DTPREL64): Rename to ...
6512         (R_AARCH64_TLS_DTPREL): This.
6513         (R_AARCH64_TLS_TPREL64): Rename to ...
6514         (R_AARCH64_TLS_TPREL): This.
6515         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
6516         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
6517         R_AARCH64_TLS_TPREL64.
6518         (elf_machine_rela): Likewise.
6520 2014-11-21  Torvald Riegel  <triegel@redhat.com>
6522         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
6523         by setting it to 0.  64b atomics are not supported currently.
6525 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6527         [BZ #16469]
6528         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
6529         search domain names.
6531 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6533         [BZ #16469]
6534         * NEWS: Update.
6535         * resolv/res_query.c (__libc_res_nquerydomain): Retain
6536         trailing dot.
6537         * posix/tst-getaddrinfo5.c: New.
6538         * posix/Makefile (tests): Add it.
6540 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6542         [BZ #14498]
6543         * NEWS: Fixed.
6544         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
6545         after parsing line but before break_if_match.
6546         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
6547         if there is a protocol mismatch.
6549 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
6551         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
6552         because the potential race is on the user-supplied stream.
6554 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6556         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
6557         string literal if not passed a buffer.
6558         * manual/job.texi (ctermid): Update reasoning, note deviation
6559         from posix, suggest mtasurace when not passed a buffer, for
6560         future non-preliminary safety notes.
6562 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6564         * manual/users.texi (cuserid): Fix MT-Safety note for the case
6565         of not passing it a buffer.
6566         Reported by Peng Haitao.
6568 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6570         * manual/Makefile ($(objpfx)stamp-summary): Require
6571         check-safety.sh to pass.
6572         * manual/check-safety.sh: Wish for verification that every
6573         @deftypefn and @deftypefun is followed by a @safety remark.
6575 2014-11-20  Roland McGrath  <roland@hack.frob.com>
6577         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
6579         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
6580         PTHREAD_CANCEL_ASYNCHRONOUS.
6581         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
6582         send SIGCANCEL.
6584         * nptl/default-sched.h: New file.
6585         * sysdeps/unix/sysv/linux/default-sched.h: New file.
6586         * nptl/pthread_create.c: Include it.
6587         (__pthread_create_2_1): Use collect_default_sched instead of making
6588         Linux syscalls here directly.
6590 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6592         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
6593         __pthread_once): Use C11 atomics.
6595 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6597         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
6599 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6601         * include/atomic.h (__atomic_link_error, __atomic_check_size,
6602         atomic_thread_fence_acquire, atomic_thread_fence_release,
6603         atomic_thread_fence_seq_cst, atomic_load_relaxed,
6604         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6605         atomic_compare_exchange_weak_relaxed,
6606         atomic_compare_exchange_weak_acquire,
6607         atomic_compare_exchange_weak_release,
6608         atomic_exchange_acquire, atomic_exchange_release,
6609         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6610         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6611         atomic_fetch_and_acquire,
6612         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6614 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6616         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6617         USE_ATOMIC_COMPILER_BUILTINS): Define.
6618         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6619         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6620         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6621         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6622         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6623         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6624         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6625         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6626         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6627         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6628         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6629         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6630         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6631         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6632         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6633         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6634         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6635         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6636         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6637         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6638         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6639         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6640         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6642         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6644         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6645         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6646         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6647         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6648         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6649         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6650         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6651         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6652         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6653         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6654         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6655         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6656         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6657         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6659 2014-11-19  Roland McGrath  <roland@hack.frob.com>
6661         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6662         the sched_priority value here.  It was already checked when the user
6663         called pthread_attr_setschedparam.
6665         * nptl/tst-bad-schedattr.c: New file.
6666         * nptl/Makefile (tests): Add it.
6668 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
6669             Florian Weimer  <fweimer@redhat.com>
6670             Joseph Myers  <joseph@codesourcery.com>
6671             Adam Conrad  <adconrad@0c3.net>
6672             Andreas Schwab  <schwab@suse.de>
6673             Brooks  <bmoses@google.com>
6675         [BZ #17625]
6676         * wordexp-test.c (__dso_handle): Add prototype.
6677         (__register_atfork): Likewise.
6678         (__app_register_atfork): New function.
6679         (registered_forks): New global.
6680         (register_fork): New function.
6681         (test_case): Add 3 new tests for WRDE_CMDSUB.
6682         (main): Call __app_register_atfork.
6683         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6684         fork count is non-zero fail the test.
6685         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6686         is set.
6687         (parse_dollars): Remove check for WRDE_NOCMD.
6688         (parse_dquote): Likewise.
6690 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6692         * Makeconfig (built-modules): List non-library modules to be
6693         built.
6694         (module-cppflags): Include libc-modules.h for
6695         everything except shlib-versions.v.i.
6696         (CPPFLAGS): Use it.
6697         (before-compile): Add libc-modules.h.
6698         ($(common-objpfx)libc-modules.h,
6699         $(common-objpfx)libc-modules.stmp): New targets.
6700         (common-generated): Add libc-modules.h and libc-modules.stmp.
6701         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6702         * include/libc-symbols.h: Don't include libc-modules.h.
6703         * include/libc-modules.h: Remove file.
6704         * scripts/gen-libc-modules.awk: New script to generate
6705         libc-modules.h.
6706         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6707         Depend on libc-modules.stmp.
6709         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6711         * Makeconfig (in-module): Get value of libof set for the
6712         translation unit.
6713         (CPPFLAGS): Use $(in-module).
6714         * Makerules: Don't suffix routine names for nonlib.
6715         * include/libc-modules.h: New file.
6716         * include/libc-symbols.h: Include libc-modules.h
6717         (IS_IN): New macro to replace IS_IN_* macros.
6718         * elf/Makefile: Set libof-* for each routine.
6719         * elf/rtld-Rules: Likewise.
6720         * extra-modules.mk: Likewise.
6721         * iconv/Makefile: Likewise.
6722         * iconvdata/Makefile: Likewise.
6723         * locale/Makefile: Likewise.
6724         * malloc/Makefile: Likewise.
6725         * nss/Makefile: Likewise.
6726         * sysdeps/gnu/Makefile: Likewise.
6727         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6728         * sysdeps/unix/sysv/linux/Makefile: Likewise.
6729         * sysdeps/s390/s390-64/Makefile: Likewise.
6730         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
6731         CPPFLAGS for nscd instead of nonlib.
6733 2014-11-18  Roland McGrath  <roland@hack.frob.com>
6735         * nptl/createthread.c: New file.
6737         * nptl/createthread.c: Moved ...
6738         * sysdeps/unix/sysv/linux/createthread.c: ... here.
6740         * nptl/createthread.c: Add proper top-line comment.
6741         (do_clone): Folded into ...
6742         (create_thread): ... here.  Take new arguments STOPPED_START and
6743         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
6744         increment __nptl_threads, do event-reporting logic, do
6745         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6746         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
6747         resource cleanup if sched_setaffinity or sched_setscheduler fails,
6748         just send SIGCANCEL.
6749         * nptl/pthread_create.c: Forward-declare create_thread before
6750         including createthread.c.
6751         (start_thread): Use new macro START_THREAD_DEFN to replace defining
6752         declaration, and new macro START_THREAD_SELF to replace argument.
6753         Remove return statement.
6754         (report_thread_creation): New function.
6755         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
6756         synchronization logic, and __nptl_nthreads increment here, around
6757         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
6758         PD->parent_cancelhandling here, before create_thread.  When
6759         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6760         __deallocate_stack, and ENOMEM translation here.
6762 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
6764         [BZ #17616]
6765         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6766         (mptwo): Rename to __mptwo.
6767         (__inv): Use __mptwo instead of mptwo.
6768         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6769         (mptwo): Rename to __mptwo.
6770         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6771         of mpone and __mptwo instead of mptwo.
6772         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6773         instead of mpone.
6774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6775         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6776         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6777         of mpone and __mptwo instead of mptwo.
6778         (__mpranred): Use __mpone instead of mpone.
6779         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6780         variable.
6781         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6782         (test-xfail-ISO99/math.h/linknamespace): Likewise.
6783         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6784         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6785         (test-xfail-ISO11/math.h/linknamespace): Likewise.
6786         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6787         (test-xfail-XPG3/math.h/linknamespace): Likewise.
6788         (test-xfail-XPG4/math.h/linknamespace): Likewise.
6789         (test-xfail-POSIX/math.h/linknamespace): Likewise.
6790         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6791         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6792         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6793         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6794         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6795         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6796         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6797         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6798         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6799         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6801 2014-11-18  Tom de Vries  <tom@codesoucery.com>
6803         * manual/signal.texi (Primitives Interrupted by Signals): In section,
6804         replace BSD Handler xref with BSD Signal Handling.
6806 2014-11-17  Richard Henderson  <rth@redhat.com>
6808         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6809         (_FP_PACK_RAW_2): Remove.
6810         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6811         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6812         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6813         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6814         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6815         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6816         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6817         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6818         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6819         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6820         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6821         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6822         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6823         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6824         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6825         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6827 2014-11-14  Roland McGrath  <roland@hack.frob.com>
6829         * signal/signal.h [__USE_MISC]
6830         (struct sigvec): Remove type.
6831         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6832         (sigvec): Remove declaration.
6833         * sysdeps/posix/sigvec.c: Moved ...
6834         * signal/sigvec.c: ... here, replacing old file.
6835         (struct sigvec): New type, copied from old signal.h definition.
6836         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6837         (__sigvec): Convert definition to prototype.
6838         (sigvec): Replace weak_alias with compat_symbol.
6839         * signal/Versions (libc: GLIBC_2.21): New version set.
6840         * include/signal.h: Remove __sigvec declaration.
6841         * sysdeps/unix/bsd/sigvec.c: Remove file.
6842         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6843         * manual/signal.texi (BSD Handler): Remove subsection.
6844         Move siginterrupt up to ...
6845         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
6846         (Blocking in BSD): Fold subsection into its parent.
6847         * NEWS: Mention sigvec removal.
6849 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
6851         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6852         (DLA_FMS): Make definition conditional only on [__FMA4__].
6853         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6854         definition.
6856         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6857         Make definition conditional only on [PROF].
6858         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6859         definition.
6860         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6861         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6863         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6864         !__GNUC__].
6865         * include/signal.h (__sigpause): Move declaration above call to
6866         libc_hidden_proto.
6867         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6868         variable.
6869         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6870         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6872 2014-11-14  David S. Miller  <davem@davemloft.net>
6874         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6875         Define before including <string/memcpy.c> and <string/mempcpy.c>.
6877 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
6879         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6880         * configure: Regenerated.
6881         * manual/install.texi (Tools for Compilation): Document a
6882         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6883         compiler verified to work.
6884         * INSTALL: Regenerated.
6886         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6887         redeclare with asm name.
6888         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6889         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6890         including <string.h>.
6891         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6892         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6893         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6894         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6895         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6896         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6897         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6899 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
6901         * stdlib/strtol.c (__strtol): Use prototype definition.
6903         [BZ #17594]
6904         * stdlib/strtol.c (SYM__): New macro.
6905         (SYM__1): Likewise.
6906         (__strtol): Likewise.
6907         (strtol): Rename to __strtol and define as weak alias of
6908         __strtol.  Use libc_hidden_weak.
6910 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6912         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6913         Use numbered labels in inline assembly.
6915 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6917         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6918         Add setjmp LIBC_PROBE.
6919         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6920         Likewise.
6921         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6922         Add longjmp, longjmp_target LIBC_PROBE.
6923         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6924         Likewise.
6926 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6928         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6929         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6930         to get rid of unused variable warning.
6932 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6934         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6935         Check for unwind_backtrace ==  NULL only in SHARED case.
6936         (__backchain_backtrace): Compile only in SHARED case.
6937         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6938         Likewise.
6939         (__backchain_backtrace): Declare as static.
6941 2014-11-12  Roland McGrath  <roland@hack.frob.com>
6943         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6944         (__libc_multiple_threads_ptr): Variable moved ...
6945         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6947 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
6949         * conform/GlibcConform.pm: New file.
6950         * conform/conformtest.pl: Use GlibcConform module.
6951         * conform/linknamespace.pl: New file.
6952         * conform/list-header-symbols.pl: Likewise.
6953         * conform/Makefile (linknamespace-symlists-base): New variable.
6954         (linknamespace-symlists-tests): Likewise.
6955         (linknamespace-header-base): Likewise.
6956         (linknamespace-header-tests): Likewise.
6957         (tests-special): Add new tests.
6958         ($(linknamespace-symlists-tests)): New rule.
6959         (linknamespace-libs): New variable.
6960         ($(objpfx)symlist-stdlibs): New rule.
6961         ($(linknamespace-header-tests)): Likewise.
6962         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6963         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6964         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6965         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6966         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6967         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6968         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6969         (test-xfail-ISO/math.h/linknamespace): Likewise.
6970         (test-xfail-ISO/signal.h/linknamespace): Likewise.
6971         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6972         (test-xfail-ISO/time.h/linknamespace): Likewise.
6973         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6974         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6975         (test-xfail-ISO99/math.h/linknamespace): Likewise.
6976         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6977         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6978         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6979         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6980         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6981         (test-xfail-ISO11/math.h/linknamespace): Likewise.
6982         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6983         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6984         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6985         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6986         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6987         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6988         (test-xfail-XPG3/math.h/linknamespace): Likewise.
6989         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6990         (test-xfail-XPG3/search.h/linknamespace): Likewise.
6991         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6992         (test-xfail-XPG3/time.h/linknamespace): Likewise.
6993         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6994         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6995         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6996         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6997         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6998         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6999         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7000         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7001         (test-xfail-XPG4/math.h/linknamespace): Likewise.
7002         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7003         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7004         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7005         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7006         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7007         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7008         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7009         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7010         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7011         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7012         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7013         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7014         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7015         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7016         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7017         (test-xfail-POSIX/math.h/linknamespace): Likewise.
7018         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7019         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7020         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7021         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7022         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7023         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7024         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7025         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7026         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7027         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7028         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7029         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7030         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7031         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7032         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7033         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7034         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7035         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7036         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7037         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7038         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7039         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7040         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7041         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7042         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7043         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7044         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7045         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7046         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7047         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7048         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7049         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7050         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7051         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7052         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7053         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7054         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7055         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7056         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7057         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7058         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7059         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7060         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7061         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7062         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7063         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7064         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7065         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7066         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7067         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7068         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7069         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7070         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7071         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7072         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7073         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7074         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7075         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7076         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7077         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7078         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7079         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7080         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7081         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7082         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7083         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7084         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7085         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7086         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7087         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7088         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7089         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7090         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7091         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7092         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7093         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7094         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7095         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7096         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7097         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7098         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7099         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7100         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7101         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7102         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7103         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7104         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7105         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7106         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7107         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7108         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7109         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7110         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7111         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7112         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7113         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7114         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7115         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7116         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7117         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7118         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7119         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
7120         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7121         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7122         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7124         [BZ #17589]
7125         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
7126         of fgets_unlocked.
7128         [BZ #17585]
7129         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
7130         (memmem): Rename to __memmem and define as weak alias of
7131         __memmem.  Use libc_hidden_weak.
7132         (__memmem): Use libc_hidden_def.
7133         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
7134         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
7135         memmem.
7137         [BZ #17582]
7138         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
7139         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
7140         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
7141         and define as weak alias of __fgets_unlocked.  Use
7142         libc_hidden_weak.
7143         (__fgets_unlocked): Use libc_hidden_def.
7144         * include/stdio.h (__fgets_unlocked): Declare.  Use
7145         libc_hidden_proto.
7146         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
7147         __fgets_unlocked instead of fgets_unlocked.
7148         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
7149         (GET_NPROCS_CONF_PARSER): Likewise.
7150         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
7151         (GET_NPROCS_CONF_PARSER): Likewise.
7153         [BZ #17574]
7154         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7155         weak alias of __wmemset.  Use libc_hidden_weak.
7156         (__wmemset): Use libc_hidden_def.
7157         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
7158         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7159         of wmemset.
7161         [BZ #17573]
7162         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7163         with asm name __mempcpy.
7164         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7166         [BZ #17572]
7167         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7168         and define as weak alias of __rawmemchr.
7169         (__rawmemchr): Do not define as strong alias of rawmemchr.
7171         [BZ #17571]
7172         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7173         alias of __qsort_r.
7174         (qsort): Call __qsort_r instead of qsort_r.
7175         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7176         (__qsort_r): Declare.  Call libc_hidden_proto.
7177         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7178         instead of qsort_r.
7179         * nscd/gai.c (__qsort_r): Define to qsort_r.
7180         * posix/tst-rfc3484.c (__qsort_r): Likewise.
7181         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7182         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7184         [BZ #17570]
7185         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7186         define as weak alias of __malloc_info.
7188         [BZ #17584]
7189         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7190         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7191         (__rewinddir): Use libc_hidden_def.
7192         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7193         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7194         (__rewinddir): Use libc_hidden_def.
7195         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7196         weak alias of __rewinddir.  Don't use libc_hidden_def.
7197         (__rewinddir): Use libc_hidden_def.
7198         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7199         (__rewinddir): Use libc_hidden_proto.
7200         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7201         rewinddir.
7202         (__getcwd): Use __rewinddir instead of rewinddir.
7204         [BZ #17583]
7205         * libio/fileno.c (fileno): Rename to __fileno and define as weak
7206         alias of __fileno.  Use libc_hidden_weak.
7207         (__fileno): Use libc_hidden_def.
7208         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7209         * libio/ftello.c (ftello): Rename to __ftello and define as weak
7210         alias of __ftello.
7211         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7212         __ftello.
7213         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7214         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
7215         libc_hidden_def.
7216         (fread_unlocked): Don't use libc_hidden_ver.
7217         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7218         and define as weak alias of __fread_unlocked.  Don't use
7219         libc_hidden_def.
7220         (__fread_unlocked): Use libc_hidden_def.
7221         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
7222         (ftello): Don't use libc_hidden_proto.
7223         (__ftello): Declare.  Use libc_hidden_proto.
7224         (fread_unlocked): Don't use libc_hidden_proto.
7225         (__fread_unlocked): Declare.  Use libc_hidden_proto.
7226         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7227         and __ftello instead of fileno, fread_unlocked and ftello.
7229 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7231         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7232         GOT12.
7233         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7234         Likewise.
7235         (_dl_start_user): Likewise.
7236         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7238 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
7239             Siddhesh Poyarekar  <siddhesh@redhat.com>
7241         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7242         Move argv and envp down instead of moving argc up.
7243         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7245 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
7247         [BZ #17506]
7248         * test-skeleton.c (main): Return successful if one of
7249         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7250         * string/tst-strcoll-overflow.c: Define expected status.
7252 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
7254         [BZ #17475]
7255         * locale/iso-639.def: Define Bhili and Tulu language codes.
7257 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
7259         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7261 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
7263         [BZ #17555]
7264         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7266 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7268         * configure.ac: Updated check of minimal required version to
7269         2.22.
7270         * manual/install.texi (Tools for Compilation): Updated version
7271         number.
7272         * configure: Regenerated.
7273         * INSTALL: Likewise.
7275 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
7277         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7278         __tls_get_addr.
7280 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
7282         * include/sys/wait.h (__libc_waitpid): Remove declaration.
7283         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7284         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7285         libc_hidden_weak.
7286         (waitpid): Define as alias of __waitpid.
7287         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7288         __waitpid.
7289         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7290         libc_hidden_weak.
7291         (waitpid): Define as alias of __waitpid.
7292         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
7293         __libc_waitpid alias.
7294         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7295         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7296         Likewise.
7297         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7298         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7299         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7300         alias.
7301         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7302         __waitpid.
7303         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7304         libc_hidden_weak.
7305         (waitpid): Define as alias of __waitpid.
7307 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
7309         * manual/llio.texi: Add comment that write safety has been
7310         fixed in Linux.
7312         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7313         (localplt-build-dso): Add elf/ld.so.
7314         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7315         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7316         and free for ld.so.
7317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7318         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7320         Likewise.
7321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7322         Likewise.
7323         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7324         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7325         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7326         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7327         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7328         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7329         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
7330         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
7331         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7332         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
7333         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7335 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
7337         [BZ #14132]
7338         * include/libc-symbols.h (INTUSE): Remove macro.
7339         (INTDEF): Likewise.
7340         (INTVARDEF): Likewise.
7341         (_INTVARDEF): Likewise.
7342         (INTDEF2): Likewise.
7343         (INTVARDEF2): Likewise.
7344         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7345         rtld_hidden_def instead of INTVARDEF.
7346         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7347         (_dl_starting_up_internal): Remove declaration.
7348         (_dl_starting_up): Use rtld_hidden_proto.
7349         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7350         declaration.
7351         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7352         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7353         _dl_starting_up.
7354         * elf/dl-writev.h (_dl_writev): Likewise.
7355         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7356         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7357         _dl_starting_up_internal.
7359 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7361         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7362         test-skeleton.c.
7364 2014-11-05  Will Newton  <will.newton@linaro.org>
7366         * benchtests/Makefile: (bench-malloc): Add malloc thread
7367         scalability benchmark.
7368         * benchtests/bench-malloc-threads.c: New file.
7370 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
7372         * sysdeps/aarch64/strchrnul.S: New file.
7374 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7376         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7377         definition.
7378         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7379         Likwise.
7380         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7381         Likewise.
7382         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7383         Likewise.
7384         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7385         Likewise.
7386         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7387         Likewise.
7389 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
7391         * catgets/test-gencat.c: Use test-skeleton.c.
7392         * catgets/tst-catgets.c: Likewise.
7393         * csu/tst-empty.c: Likewise.
7394         * elf/tst-audit2.c: Likewise.
7395         * elf/tst-global1.c: Likewise.
7396         * elf/tst-pathopt.c: Likewise.
7397         * elf/tst-piemod1.c: Likewise.
7398         * elf/tst-tls10.c: Likewise.
7399         * elf/tst-tls11.c: Likewise.
7400         * elf/tst-tls12.c: Likewise.
7401         * gnulib/tst-gcc.c: Likewise.
7402         * iconvdata/tst-e2big.c: Likewise.
7403         * iconvdata/tst-loading.c: Likewise.
7404         * iconv/tst-iconv1.c: Likewise.
7405         * iconv/tst-iconv2.c: Likewise.
7406         * inet/test-inet6_opt.c: Likewise.
7407         * inet/tst-gethnm.c: Likewise.
7408         * inet/tst-network.c: Likewise.
7409         * inet/tst-ntoa.c: Likewise.
7410         * intl/tst-codeset.c: Likewise.
7411         * intl/tst-gettext2.c: Likewise.
7412         * intl/tst-gettext3.c: Likewise.
7413         * intl/tst-ngettext.c: Likewise.
7414         * intl/tst-translit.c: Likewise.
7415         * io/test-stat.c: Likewise.
7416         * libio/test-fmemopen.c: Likewise.
7417         * libio/tst-freopen.c: Likewise.
7418         * libio/tst-sscanf.c: Likewise.
7419         * libio/tst-ungetwc1.c: Likewise.
7420         * libio/tst-ungetwc2.c: Likewise.
7421         * libio/tst-widetext.c: Likewise.
7422         * localedata/tst-ctype.c: Likewise.
7423         * localedata/tst-digits.c: Likewise.
7424         * localedata/tst-leaks.c: Likewise.
7425         * localedata/tst-mbswcs1.c: Likewise.
7426         * localedata/tst-mbswcs2.c: Likewise.
7427         * localedata/tst-mbswcs3.c: Likewise.
7428         * localedata/tst-mbswcs4.c: Likewise.
7429         * localedata/tst-mbswcs5.c: Likewise.
7430         * localedata/tst-setlocale.c: Likewise.
7431         * localedata/tst-trans.c: Likewise.
7432         * localedata/tst-wctype.c: Likewise.
7433         * localedata/tst-xlocale1.c: Likewise.
7434         * login/tst-grantpt.c: Likewise.
7435         * malloc/tst-calloc.c: Likewise.
7436         * malloc/tst-malloc.c: Likewise.
7437         * malloc/tst-mallocstate.c: Likewise.
7438         * malloc/tst-mcheck.c: Likewise.
7439         * malloc/tst-mtrace.c: Likewise.
7440         * malloc/tst-obstack.c: Likewise.
7441         * math/atest-exp2.c: Likewise.
7442         * math/atest-exp.c: Likewise.
7443         * math/atest-sincos.c: Likewise.
7444         * math/test-matherr.c: Likewise.
7445         * math/test-misc.c: Likewise.
7446         * math/test-powl.c: Likewise.
7447         * math/tst-definitions.c: Likewise.
7448         * misc/tst-dirname.c: Likewise.
7449         * misc/tst-efgcvt.c: Likewise.
7450         * misc/tst-fdset.c: Likewise.
7451         * misc/tst-hsearch.c: Likewise.
7452         * misc/tst-mntent2.c: Likewise.
7453         * nptl/tst-sem7.c: Likewise.
7454         * nptl/tst-sem8.c: Likewise.
7455         * nptl/tst-sem9.c: Likewise.
7456         * nss/test-netdb.c: Likewise.
7457         * posix/tst-fnmatch.c: Likewise.
7458         * posix/tst-getlogin.c: Likewise.
7459         * posix/tst-gnuglob.c: Likewise.
7460         * posix/tst-mmap.c: Likewise.
7461         * pwd/tst-getpw.c: Likewise.
7462         * resolv/tst-inet_ntop.c: Likewise.
7463         * rt/tst-timer.c: Likewise.
7464         * stdio-common/test-fseek.c: Likewise.
7465         * stdio-common/test-popen.c: Likewise.
7466         * stdio-common/test-vfprintf.c: Likewise.
7467         * stdio-common/tst-cookie.c: Likewise.
7468         * stdio-common/tst-fileno.c: Likewise.
7469         * stdio-common/tst-gets.c: Likewise.
7470         * stdio-common/tst-obprintf.c: Likewise.
7471         * stdio-common/tst-perror.c: Likewise.
7472         * stdio-common/tst-sprintf2.c: Likewise.
7473         * stdio-common/tst-sprintf3.c: Likewise.
7474         * stdio-common/tst-sprintf.c: Likewise.
7475         * stdio-common/tst-swprintf.c: Likewise.
7476         * stdio-common/tst-tmpnam.c: Likewise.
7477         * stdio-common/tst-unbputc.c: Likewise.
7478         * stdio-common/tst-wc-printf.c: Likewise.
7479         * stdlib/tst-environ.c: Likewise.
7480         * stdlib/tst-fmtmsg.c: Likewise.
7481         * stdlib/tst-limits.c: Likewise.
7482         * stdlib/tst-rand48-2.c: Likewise.
7483         * stdlib/tst-rand48.c: Likewise.
7484         * stdlib/tst-random2.c: Likewise.
7485         * stdlib/tst-random.c: Likewise.
7486         * stdlib/tst-strtol.c: Likewise.
7487         * stdlib/tst-strtoll.c: Likewise.
7488         * stdlib/tst-tls-atexit.c: Likewise.
7489         * stdlib/tst-xpg-basename.c: Likewise.
7490         * string/test-ffs.c: Likewise.
7491         * string/tst-bswap.c: Likewise.
7492         * string/tst-inlcall.c: Likewise.
7493         * string/tst-strtok.c: Likewise.
7494         * string/tst-strxfrm.c: Likewise.
7495         * sysdeps/x86_64/tst-audit10.c: Likewise.
7496         * sysdeps/x86_64/tst-audit3.c: Likewise.
7497         * sysdeps/x86_64/tst-audit4.c: Likewise.
7498         * sysdeps/x86_64/tst-audit5.c: Likewise.
7499         * time/tst-ftime_l.c: Likewise.
7500         * time/tst-getdate.c: Likewise.
7501         * time/tst-mktime3.c: Likewise.
7502         * time/tst-mktime.c: Likewise.
7503         * time/tst-posixtz.c: Likewise.
7504         * time/tst-strptime2.c: Likewise.
7505         * time/tst-strptime3.c: Likewise.
7506         * wcsmbs/tst-btowc.c: Likewise.
7507         * wcsmbs/tst-mbrtowc.c: Likewise.
7508         * wcsmbs/tst-mbsrtowcs.c: Likewise.
7509         * wcsmbs/tst-wchar-h.c: Likewise.
7510         * wcsmbs/tst-wcpncpy.c: Likewise.
7511         * wcsmbs/tst-wcrtomb.c: Likewise.
7512         * wcsmbs/tst-wcsnlen.c: Likewise.
7513         * wcsmbs/tst-wcstof.c: Likewise.
7515 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
7517         [BZ #14132]
7518         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
7519         INTDEF.
7520         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7521         declaration.
7522         (_dl_mcount): Use rtld_hidden_proto.
7523         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
7524         _dl_mcount.
7525         * elf/rtld.c (_rtld_global_ro): Likewise.
7527         [BZ #14132]
7528         * elf/dl-init.c (_dl_init): Don't use INTDEF.
7529         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
7530         of _dl_init_internal.
7531         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
7532         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
7533         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
7534         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
7535         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
7536         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7537         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
7538         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
7539         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
7540         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
7541         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
7542         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
7543         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7544         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7545         * sysdeps/tile/dl-start.S (_start): Likewise.
7546         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
7547         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
7549         [BZ #14132]
7550         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
7551         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
7552         (rtld_progname): Make macro definition unconditional.
7553         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
7554         INTDEF.
7555         (dlmopen_doit): Do not use INTUSE with _dl_argv.
7556         (dl_main): Likewise.
7557         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7558         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
7559         instead of _dl_argv_internal.
7560         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7561         __GI__dl_argv instead of INTUSE(_dl_argv).
7562         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
7563         __GI__dl_argv instead of _dl_argv_internal.
7565         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
7566         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
7567         macro.
7568         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7569         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
7570         New macro.
7571         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
7572         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
7573         macro.
7574         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
7575         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
7577 2014-11-04  Andreas Schwab  <schwab@suse.de>
7579         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
7581 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7583         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
7584         mtvsrd instruction in binary form.
7586 2014-11-03  Andreas Schwab  <schwab@suse.de>
7588         [BZ #17522]
7589         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
7590         for less than MB_LEN_MAX use a local buffer of that size.
7591         * libio/tst-fputws.c: New file.
7592         * libio/Makefile (tests): Add tst-fputws.
7594 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
7596         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
7597         the size of the fpu_fr.fpu_dregs[] array.
7599 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
7601         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
7602         (__nanosleep): Do not define as alias.
7603         (nanosleep): Define as alias of __nanosleep.
7604         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7605         __libc_nanosleep name.
7607 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
7609         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7610         install.texi in comment.
7612 2014-10-31  Torvald Riegel  <triegel@redhat.com>
7614         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7615         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7616         ... add here and use lwsync or sync ...
7617         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7618         ... and add here using lwsync.
7620 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7622         * elf/dl-machine-reject-phdr.h: New file.
7623         * elf/dl-load.c: #include that.
7624         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7625         if that returned true.
7627 2014-10-31  Roland McGrath  <roland@hack.frob.com>
7629         [BZ #17496]
7630         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7631         gen-as-const-headers chunk.  Add a big scare comment after the last
7632         safe place to touch before-compile.
7634 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
7636         * manual/install.texi (Tools for Compilation): Update autoconf
7637         version requirements.
7638         * INSTALL: Regenerated.
7640         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7641         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7642         (__libc_pselect): Likewise.
7644         [BZ #14138]
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7650 2014-10-31  Torvald Riegel  <triegel@redhat.com>
7652         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7653         correct barrier instruction.
7654         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7655         Likewise.
7656         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7657         Likewise.
7659 2014-10-30  Roland McGrath  <roland@hack.frob.com>
7661         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7662         after defining inlines.  Instead, just use parens to defeat macro
7663         expansion of __isctype in its declaration.
7665 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7667         * include/sys/uio.h (__libc_readv): Remove declaration.
7668         (__libc_writev): Likewise.
7669         * misc/readv.c (__libc_readv): Rename to __readv.
7670         (__readv): Do not define as alias.
7671         (readv): Define as alias of __readv.
7672         * misc/writev.c (__libc_writev): Rename to __writev.
7673         (__writev): Do not define as alias.
7674         (writev): Define as alias of __writev.
7675         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7676         (__readv): Do not define as alias.
7677         (readv): Define unconditionally as alias of __readv.
7678         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7679         (__writev): Do not define as alias.
7680         (writev): Define unconditionally as alias of __writev.
7681         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7682         name.
7683         (writev): Do not define __libc_writev name.
7685 2014-10-30  Roland McGrath  <roland@hack.frob.com>
7687         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7688         (convert_charseq): New function, broken out of ...
7689         (use_from_charmap): ... here.  Call it.
7690         (use_to_charmap): Use convert_charseq and free instead of duplicating
7691         its code with a variable-length stack struct.
7693 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7695         * include/fcntl.h (__libc_creat): Remove declaration.
7696         * io/creat.c (__libc_creat): Rename to creat.
7697         (creat): Do not define as alias.
7698         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7699         of creat instead of __libc_creat.
7700         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7701         to creat.
7702         (creat): Do not define as alias.
7703         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7704         __libc_creat.
7705         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7706         __libc_creat name.
7707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7708         Likewise.
7710 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
7712         * manual/llio.texi: Add comments discussing why write() may be
7713         considered MT-unsafe on Linux.
7715 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
7717         * dl-load.c (local_strdup): Remove.
7718         (expand_dynamic_string_token): Use __strdup.
7719         (decompose_rpath): Likewise.
7720         (_dl_map_object): Likewise.
7722 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
7724         [BZ #14132]
7725         * sysdeps/generic/unwind-dw2-fde.c
7726         (__register_frame_info_bases_internal): Do not declare.
7727         (__register_frame_info_table_bases_internal): Likewise.
7728         (__deregister_frame_info_bases_internal): Likewise.
7729         (__register_frame_info_bases): Declare and use hidden_proto before
7730         definition.  Use hidden_def instead of INTDEF.
7731         (__register_frame_info_table_bases): Likewise.
7732         (__deregister_frame_info_bases): Likewise.
7733         (__register_frame_info): Do not use INTUSE.
7734         (__register_frame): Likewise.
7735         (__register_frame_info_table): Likewise.
7736         (__register_frame_table): Likewise.
7737         (__deregister_frame_info): Likewise.
7738         (__deregister_frame): Likewise.
7740 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
7742         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7743         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7744         not undefine.
7745         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7746         Likewise.
7747         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7748         Likewise.
7750 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
7752         [BZ #14138]
7753         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7754         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7755         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7756         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7757         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7758         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7759         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7760         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7761         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7762         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7763         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7764         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7765         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7766         syscall.
7767         (setfsuid): Likewise.
7768         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7769         (setfsuid): Likewise.
7770         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7771         (setfsuid): Likewise.
7772         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7773         Likewise.
7774         (setfsuid): Likewise.
7775         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7776         (setfsuid): Likewise.
7777         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7778         Likewise.
7779         (setfsuid): Likewise.
7781 2014-10-27  Andreas Schwab  <schwab@suse.de>
7783         [BZ #17501]
7784         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7785         check for Slow_SSE4_2 feature bit.
7786         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7787         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7788         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7789         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
7791 2014-10-24  Roland McGrath  <roland@hack.frob.com>
7793         * configure.ac: Validate compiler version with a empirical test of
7794         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7795         $CC -v output.
7796         * configure: Regenerated.
7798         * inet/htons.c (htons): Prototypify.
7799         * inet/htonl.c (htonl): Likewise.
7801 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7803         * string/strncat.c (strncat): Improve performance by using strlen.
7805 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7807         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7809 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7811         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7812         Call libc_fetestexcept_aarch64.
7814 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7816         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7817         Call libc_feholdexcept_aarch64.
7819 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7821         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7822         Call get_rounding_mode.
7824 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7826         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7827         Simplify logic.
7829 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7831         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7832         Simplify logic.
7834 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
7836         [BZ #14138]
7837         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7838         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7839         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7840         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7841         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7842         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7843         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7844         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7845         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7846         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7847         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7848         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7849         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7850         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7851         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7852         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7853         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7854         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7855         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7856         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7857         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7858         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7859         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7860         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7861         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7862         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7863         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7864         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7865         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7866         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7867         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7868         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7869         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7870         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7871         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7872         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7873         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7874         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7875         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7876         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7877         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7878         syscall.
7879         (geteuid): Likewise.
7880         (getgid): Likewise.
7881         (getuid): Likewise.
7882         (getresgid): Likewise.
7883         (getresuid): Likewise.
7884         (getgroups): Likewise.
7885         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7886         (geteuid): Likewise.
7887         (getgid): Likewise.
7888         (getuid): Likewise.
7889         (getresgid): Likewise.
7890         (getresuid): Likewise.
7891         (getgroups): Likewise.
7892         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7893         (geteuid): Likewise.
7894         (getgid): Likewise.
7895         (getuid): Likewise.
7896         (getresgid): Likewise.
7897         (getresuid): Likewise.
7898         (getgroups): Likewise.
7899         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7900         Likewise.
7901         (geteuid): Likewise.
7902         (getgid): Likewise.
7903         (getuid): Likewise.
7904         (getresgid): Likewise.
7905         (getresuid): Likewise.
7906         (getgroups): Likewise.
7907         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7908         (geteuid): Likewise.
7909         (getgid): Likewise.
7910         (getuid): Likewise.
7911         (getresgid): Likewise.
7912         (getresuid): Likewise.
7913         (getgroups): Likewise.
7914         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7915         Likewise.
7916         (geteuid): Likewise.
7917         (getgid): Likewise.
7918         (getuid): Likewise.
7919         (getgroups): Likewise.
7921         [BZ #14138]
7922         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7923         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7924         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7925         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7926         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7927         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7928         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7929         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7930         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7931         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7932         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7933         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7934         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7935         __chown.
7936         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7937         (lchown): Likewise.
7938         (fchown): Likewise.
7939         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7940         Likewise.
7941         (lchown): Likewise.
7942         (fchown): Likewise.
7943         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7944         (lchown): Likewise.
7945         (fchown): Likewise.
7946         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7947         Likewise.
7948         (lchown): Likewise.
7949         (fchown): Likewise.
7951 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7953         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7954         Simplify logic.
7956 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7958         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7959         Cleanup logic.
7961 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7963         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7964         Remove unused include.
7966 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7968         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7969         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7970         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7971         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7973 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
7974             Helge Deller <deller@gmx.de>
7976         [BZ #17508]
7977         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7978         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7979         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7981 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
7983         [BZ #14132]
7984         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7985         Remove macro definition.
7986         (__ashrdi3_v_glibc20): Likewise.
7987         (__lshrdi3_v_glibc20): Likewise.
7988         (__cmpdi2_v_glibc20): Likewise.
7989         (__ucmpdi2_v_glibc20): Likewise.
7990         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7991         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7992         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7993         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7994         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7995         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7997 2014-10-22  Roland McGrath  <roland@hack.frob.com>
7999         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8000         old GNU extension [0] syntax.
8001         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8002         alloca rather than an array member with variable length.
8003         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8004         * nscd/nscd.c (invalidate_db): New function, broken out of ...
8005         (parse_opt): ... here.  Likewise use alloca there.
8006         Validate the -i argument before checking for rootness.
8007         (send_shutdown): New function, broken out of ...
8008         (parse_opt): ... here.
8010 2014-10-22  Roland McGrath  <roland@hack.frob.com>
8012         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8013         macro to get at the _rt_local_ro field.
8014         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8015         ([PIC] case) or _dl_hwcap ([!PIC] case).
8016         * sysdeps/arm/setjmp.S: Likewise.
8018         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8019         * sysdeps/arm/configure.ac: New check to define it.
8020         * sysdeps/arm/configure: Regenerated.
8021         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8022         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8023         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8024         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8025         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8026         Use move/movt pair instead of a load.
8027         (LDST_GLOBAL): Macro removed.
8028         (LDR_GLOBAL): New macro replaces it.
8029         (LDR_HIDDEN): New macro.
8030         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8031         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8033         * setjmp/tst-setjmp-static.c: New file.
8034         * setjmp/Makefile (tests): Add it.
8035         (tests-static): New variable.
8037 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
8039         [BZ #17485]
8040         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8042 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
8044         [BZ #14132]
8045         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8047 2014-10-21  Roland McGrath  <roland@hack.frob.com>
8049         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8051 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8053         * io/fts.c (dirent_not_directory): New function.
8054         (fts_build): Call it.
8056 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8058         * nptl/version.c (__nptl_main): Use normal __write rather than
8059         INTERNAL_SYSCALL.
8060         (banner): Update copyright years.
8062         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8063         gettimeofday.
8064         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8065         * nptl/pthread_cond_timedwait.c: Likewise.
8066         * nptl/pthread_mutex_timedlock.c: Likewise.
8067         * nptl/sem_timedwait.c: Likewise.
8069         * sysdeps/nptl/bits/libc-lock.h
8070         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8071         (__libc_lock_init_recursive): Return void, not 0.
8072         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8073         (__libc_rwlock_init): Likewise.
8074         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8076 2014-10-20  Torvald Riegel  <triegel@redhat.com>
8078         [BZ #15215]
8079         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8080         (__pthread_once_slow): ... here.
8081         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8082         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8084 2014-10-20  Torvald Riegel  <triegel@redhat.com>
8086         [BZ #15215]
8087         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8088         __PTHREAD_ONCE_FORK_GEN_INCR): New.
8089         * sysdeps/nptl/fork.c (__libc_fork): Use them.
8090         * nptl/pthread_once.c (__pthread_once): Likewise.
8091         Update comments.
8093 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
8095         [BZ #14138]
8096         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8097         name.
8098         (writev): Use __libc_writev as strong name.
8099         * sysdeps/unix/sysv/linux/readv.c: Remove file.
8100         * sysdeps/unix/sysv/linux/writev.c: Likewise.
8102 2014-10-17  Roland McGrath  <roland@hack.frob.com>
8104         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8106         * sysdeps/i386/nptl/tls.h
8107         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8108         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8109         New macros.
8110         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8111         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8112         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8113         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8114         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8115         Call CHECK_THREAD_SYSINFO instead of doing an assert.
8117         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8118         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
8119         on [__NR_futex].
8120         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
8121         broken out of ...
8122         (__pthread_mutex_init): ... here.  Call it.
8123         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
8124         Conditionalize PI cases on [__NR_futex].
8125         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8126         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8127         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8129         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
8130         conditional on [SIGSETXID].
8131         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
8132         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
8133         is defined.  Likewise for SIGSETXID.
8134         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
8135         Conditionalize definitions on [SIGSETXID].
8136         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
8137         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
8138         unblocking on [SIGCANCEL].
8140         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
8141         [__NR_set_robust_list].
8143 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8145         * string/strcoll_l.c (get_next_seq): Fix up formatting.
8146         (do_compare): Likewise.
8148 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
8150         [BZ #15884]
8151         * string/strcoll_l.c: Don't include stdio.h.
8152         (coll_seq): Remove members idxarr and rulearr.
8153         (get_next_seq_cached): Remove function.
8154         (get_next_seq): Likewise.
8155         (get_next_seq_nocache): Rename to get_next_seq.
8156         (do_compare): Remove function.
8157         (do_compare_nocache): Rename to do_compare.
8158         (STRCOLL): Remove weight and rules cache.
8160 2014-10-16  Roland McGrath  <roland@hack.frob.com>
8162         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8163         * sysdeps/arm/sfp-machine.h: ... to here.
8164         * sysdeps/arm/Implies: Remove arm/soft-fp.
8166 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
8168         * conform/data/sys/utsname.h-data (*_t): Allow.
8169         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8170         [POSIX] (WEXITED): Do not expect constant.
8171         [POSIX] (WSTOPPED): Likewise.
8172         [POSIX] (WNOHANG): Likewise.
8173         [POSIX] (WNOWAIT): Likewise.
8174         [POSIX] (siginfo_t): Do not expect type or elements.
8175         [POSIX] (pid_t): Do not expect type.
8176         [POSIX] (signal.h): Do not allow header.
8177         [POSIX] (sys/resource.h): Likewise.
8178         [POSIX] (si_*): Do not allow pattern.
8179         [POSIX] (W*): Likewise.
8180         [POSIX] (P_*): Likewise.
8181         [POSIX] (BUS_*): Likewise.
8182         [POSIX] (CLD_*): Likewise.
8183         [POSIX] (FPE_*): Likewise.
8184         [POSIX] (ILL_*): Likewise.
8185         [POSIX] (POLL_*): Likewise.
8186         [POSIX] (SEGV_*): Likewise.
8187         [POSIX] (SI_*): Likewise.
8188         [POSIX] (TRAP_*): Likewise.
8189         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8190         variable.
8192 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8194         [BZ #12926]
8195         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8196         infinite loop when __recvmsg returns 0.
8198 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
8200         * CANCEL-FCT-WAIVE: Remove file.
8201         * CANCEL-FILE-WAIVE: Likewise.
8203         [BZ #14132]
8204         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8205         instead of INTVARDEF.
8206         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8207         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8208         rtld_hidden_data_def instead of INTVARDEF.
8209         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8210         * elf/dl-deps.c (expand_dst): Likewise.
8211         * elf/dl-load.c (_dl_dst_count): Likewise.
8212         (_dl_dst_substitute): Likewise.
8213         (decompose_rpath): Likewise.
8214         (_dl_init_paths): Likewise.
8215         (open_path): Likewise.
8216         (_dl_map_object): Likewise.
8217         * elf/rtld.c (dl_main): Likewise.
8218         (process_dl_audit): Likewise.
8219         (process_envvars): Likewise.
8220         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8221         Remove declaration.
8222         (__libc_enable_secure): Use rtld_hidden_proto.
8224 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8226         * elf/dl-load.c
8227         (add_path): New function broken out of _dl_rtld_di_serinfo.
8228         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
8230 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8232         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8233         parentheses around macro arguments.
8234         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8235         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8236         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8237         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8238         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8239         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8240         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8241         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8242         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8243         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8244         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8245         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8246         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8247         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8248         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8249         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8250         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8251         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8253         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8254         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8255         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8256         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8257         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8258         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8259         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8260         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8261         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8262         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8263         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8264         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8265         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8266         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8267         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8268         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8269         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8270         Likewise.
8271         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8272         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8273         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8274         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8275         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8276         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8277         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8278         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8279         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8280         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8281         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8282         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8283         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8284         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8285         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8286         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8287         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8288         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8289         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8290         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8291         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8292         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8293         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8294         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8295         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8296         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8297         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8298         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8299         (_FP_FRAC_SRS_1): Likewise.
8300         (_FP_FRAC_CLZ_1): Likewise.
8301         (_FP_MUL_MEAT_1_imm): Likewise.
8302         (_FP_MUL_MEAT_1_wide): Likewise.
8303         (_FP_MUL_MEAT_1_hard): Likewise.
8304         (_FP_SQRT_MEAT_1): Likewise.
8305         (_FP_FRAC_ASSEMBLE_1): Likewise.
8306         (_FP_FRAC_DISASSEMBLE_1): Likewise.
8307         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8308         (__FP_CLZ_2): Likewise.
8309         (_FP_MUL_MEAT_2_wide): Likewise.
8310         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8311         (_FP_MUL_MEAT_2_gmp): Likewise.
8312         (_FP_MUL_MEAT_2_120_240_double): Likewise.
8313         (_FP_SQRT_MEAT_2): Likewise.
8314         (_FP_FRAC_ASSEMBLE_2): Likewise.
8315         (_FP_FRAC_DISASSEMBLE_2): Likewise.
8316         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8317         (_FP_FRAC_CLZ_4): Likewise.
8318         (_FP_MUL_MEAT_4_wide): Likewise.
8319         (_FP_MUL_MEAT_4_gmp): Likewise.
8320         (_FP_SQRT_MEAT_4): Likewise.
8321         (_FP_FRAC_ASSEMBLE_4): Likewise.
8322         (_FP_FRAC_DISASSEMBLE_4): Likewise.
8323         * soft-fp/op-common.h (_FP_CMP): Likewise.
8324         (_FP_CMP_EQ): Likewise.
8325         (_FP_CMP_UNORD): Likewise.
8326         (_FP_TO_INT): Likewise.
8327         (_FP_FROM_INT): Likewise.
8328         [!__FP_CLZ] (__FP_CLZ): Likewise.
8329         (_FP_DIV_HELP_imm): Likewise.
8330         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
8331         Likewise.
8332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
8333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
8334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
8335         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
8336         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
8337         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8338         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8339         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
8340         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
8341         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8342         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8343         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8344         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8345         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8346         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8347         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8348         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8349         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8351         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8353         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8354         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8355         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8357         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8358         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8359         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8361         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8362         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8363         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8364         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8365         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8366         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8367         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8368         (FP_UNPACK_RAW_SP): Likewise.
8369         (FP_PACK_RAW_S): Likewise.
8370         (FP_PACK_RAW_SP): Likewise.
8371         (FP_UNPACK_S): Likewise.
8372         (FP_UNPACK_SP): Likewise.
8373         (FP_UNPACK_SEMIRAW_S): Likewise.
8374         (FP_UNPACK_SEMIRAW_SP): Likewise.
8375         (FP_PACK_S): Likewise.
8376         (FP_PACK_SP): Likewise.
8377         (FP_PACK_SEMIRAW_S): Likewise.
8378         (FP_PACK_SEMIRAW_SP): Likewise.
8379         (_FP_SQRT_MEAT_S): Likewise.
8380         (FP_CMP_S): Likewise.
8381         (FP_CMP_EQ_S): Likewise.
8382         (FP_CMP_UNORD_S): Likewise.
8383         (FP_TO_INT_S): Likewise.
8384         (FP_FROM_INT_S): Likewise.
8386         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8388         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8389         (FP_EX_INVALID_IMZ): Likewise.
8390         (FP_EX_INVALID_IMZ_FMA): Likewise.
8391         (FP_EX_INVALID_ISI): Likewise.
8392         (FP_EX_INVALID_ZDZ): Likewise.
8393         (FP_EX_INVALID_IDI): Likewise.
8394         (FP_EX_INVALID_SQRT): Likewise.
8395         (FP_EX_INVALID_CVI): Likewise.
8396         (FP_EX_INVALID_VC): Likewise.
8397         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8398         "invalid" exceptions.
8399         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8400         (_FP_ADD_INTERNAL): Likewise.
8401         (_FP_MUL): Likewise.
8402         (_FP_FMA): Likewise.
8403         (_FP_DIV): Likewise.
8404         (_FP_CMP_CHECK_NAN): Likewise.
8405         (_FP_SQRT): Likewise.
8406         (_FP_TO_INT): Likewise.
8407         (FP_EXTEND): Likewise.
8409 2014-10-09  Allan McRae  <allan@archlinux.org>
8411         * po/fr.po: Update French translation from translation project.
8413 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8415         [BZ #14132]
8416         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8417         of INTDEF.
8418         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8419         (__cxa_atexit): Use libc_hidden_proto.
8420         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8422         [BZ #14132]
8423         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8424         declaration.
8425         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8426         [!_ISOMAC] (__iswspace_l_internal): Likewise.
8427         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8428         [!_ISOMAC] (__iswctype_internal): Likewise.
8429         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8430         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8431         alias.
8432         (fcntl): Remove __fcntl_internal alias.
8433         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8434         __connect_internal alias.
8435         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8436         Likewise.
8438         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8439         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8440         FP_DENORM_ZERO.
8441         (_FP_CHECK_FLUSH_ZERO): New macro.
8442         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8443         (_FP_CMP): Likewise.
8444         (_FP_CMP_EQ): Likewise.
8445         (_FP_TO_INT): Do not set inexact for subnormal arguments if
8446         FP_DENORM_ZERO.
8447         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8448         (FP_TRUNC): Likewise.
8450         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8451         treated as invalid conversion, not as normal exponent.
8453         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8454         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
8455         (_FP_CMP_EQ): Likewise.
8456         (_FP_CMP_UNORD): Likewise.
8457         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8458         (FP_CMP_EQ_D): Likewise.
8459         (FP_CMP_UNORD_D): Likewise.
8460         * soft-fp/extended.h (FP_CMP_E): Likewise.
8461         (FP_CMP_EQ_E): Likewise.
8462         (FP_CMP_UNORD_E): Likewise.
8463         * soft-fp/quad.h (FP_CMP_Q): Likewise.
8464         (FP_CMP_EQ_Q): Likewise.
8465         (FP_CMP_UNORD_Q): Likewise.
8466         * soft-fp/single.h (FP_CMP_S): Likewise.
8467         (FP_CMP_EQ_S): Likewise.
8468         (FP_CMP_UNORD_S): Likewise.
8469         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8470         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8471         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8472         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8473         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8474         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8475         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8476         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8477         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8478         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8479         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8480         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8481         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8482         to FP_CMP_Q.
8483         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8484         FP_CMP_Q.
8485         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8486         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8487         FP_CMP_EQ_Q.
8488         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8489         FP_CMP_Q.
8490         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8491         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8492         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8493         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8494         FP_CMP_EQ_Q.
8495         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8496         FP_CMP_Q.
8497         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8498         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8499         FP_CMP_EQ_Q.
8500         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8501         FP_CMP_Q.
8502         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8503         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8504         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8505         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8506         FP_CMP_EQ_Q.
8508         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8509         a subnormal result, set the underflow exception if trapping on
8510         underflow is enabled.
8511         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8512         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8513         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8514         redefine to 0.
8515         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
8516         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8517         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8518         * soft-fp/extendxftf2.c (__extendxftf2): Use
8519         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
8521         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
8522         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
8523         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8524         FP_HANDLE_EXCEPTIONS.
8525         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8526         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8527         FP_HANDLE_EXCEPTIONS.
8528         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
8529         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8530         FP_HANDLE_EXCEPTIONS.
8531         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
8532         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8533         FP_HANDLE_EXCEPTIONS.
8535 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
8537         [BZ #14132]
8538         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
8539         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
8540         use INTUSE.
8541         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
8542         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
8543         Remove alias.
8544         (__adjtimex): Define using libc_hidden_ver.
8545         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
8546         Remove declaration.
8547         (ntp_gettime): Call __adjtimex directly.
8548         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
8549         Remove declaration.
8550         (ntp_gettimex): Call __adjtimex directly.
8551         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
8552         __adjtimex_internal alias.
8554 2014-10-08  Roland McGrath  <roland@hack.frob.com>
8556         [BZ #17460]
8557         * nscd/nscd.c (more_help): Rewrite list of tables collection
8558         using xstrdup and asprintf.
8560         * nscd/nscd_conf.c: Remove local xstrdup declaration.
8562 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8563             Roland McGrath  <roland@hack.frob.com>
8565         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
8566         (do_lookup_unique): ... local function 'enter' here; update callers.
8568 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
8570         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
8571         compat_symbol calls on [SHARED].
8572         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
8573         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8574         Remove.
8575         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8576         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
8577         (oldsetrlimit): Remove.
8578         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8580         (lchown): New syscall entry.
8581         (oldsetrlimit): Remove.
8582         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8583         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
8584         (oldsetrlimit): Remove.
8585         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8587         [BZ #14138]
8588         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
8589         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
8590         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
8591         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8592         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8593         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
8594         (fchown): Likewise.
8595         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
8596         (fchown): Likewise.
8597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
8598         Likewise.
8600 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8602         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8603         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8604         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8605         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8606         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8607         Likewise.
8608         (__old_sem_post): Likewise.
8610 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
8612         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8613         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8614         HAVE_CLOCK_GETTIME_VSYSCALL macros.
8615         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8616         Use INLINE_VSYSCALL macro.
8617         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8618         __vdso_clock_gettime.
8619         * sysdeps/unix/sysv/linux/tile/init-first.c
8620         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8621         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8622         __vdso_clock_gettime.
8624         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8625         to set up frame more cleanly.
8627         * sysdeps/tile/memcmp.c: New file.
8629         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8631         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8632         * sysdeps/tile/tilegx/strcasestr.c: New file.
8633         * sysdeps/tile/tilegx/strnlen.c: New file.
8634         * sysdeps/tile/tilegx/strstr.c: New file.
8636         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8638 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
8640         * nptl/tst-setuid3.c: Write errors to stdout.
8642 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8644         * elf/dl-deps.c
8645         (preload): New functions broken out of _dl_map_object_deps.
8646         (_dl_map_object_deps):  Remove a nested function. Update call sites.
8648 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
8650         [BZ #14138]
8651         * sysdeps/unix/sysv/linux/execve.c: Remove file.
8652         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8654 2014-10-01  Steve Ellcey  <sellcey@mips.com>
8656         * sysdeps/mips/strcmp.S: New.
8658 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
8660         [BZ #14138]
8661         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8662         (linkat): Likewise.
8663         (mkdirat): Likewise.
8664         (readlinkat): Likewise.
8665         (renameat): Likewise.
8666         (symlinkat): Likewise.
8667         (unlinkat): Likewise.
8668         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8669         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8670         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8671         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8672         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8673         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8674         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8676 2014-09-30  Will Newton  <will.newton@linaro.org>
8678         * math/math.h: Define long double math functions if
8679         _LIBC_TEST is defined.
8680         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8682         * localedata/Makefile: Move assignment to tests-special
8683         into an ifdef testing run-built-tests.
8684         * timezone/Makefile: Likewise.
8686 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
8688         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8689         with $(BASH) not $(SHELL).
8691 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
8692             Matthew LeGendre  <legendre1@llnl.gov>
8694         [BZ #17411]
8695         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8696         l_reloc_result.
8698 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8700         * stdio-common/printf_fp.c
8701         (hack_digit): New function, broken out of ...
8702         (__printf_fp): ... local function here.  Update call sites.
8703         hack_digit now takes an additional parameter that is a pointer
8704         to a struct of the referenced locals.  Those locals moved inside
8705         the struct and references updated.
8707 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
8709         * aclocal.m4: Require autoconf 2.69.
8710         * configure: Regenerated.
8711         * sysdeps/aarch64/configure: Likewise.
8712         * sysdeps/alpha/configure: Likewise.
8713         * sysdeps/arm/armv7/configure: Likewise.
8714         * sysdeps/arm/configure: Likewise.
8715         * sysdeps/ia64/configure: Likewise.
8716         * sysdeps/mach/configure: Likewise.
8717         * sysdeps/mips/configure: Likewise.
8718         * sysdeps/s390/configure: Likewise.
8719         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8722         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8723         file.
8724         * sysdeps/ia64/configure.ac: Likewise.
8726 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
8728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8729         specify symbol version for ld.so.  Do not include entry for
8730         libpthread.
8731         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8732         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8733         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8735         [BZ #14171]
8736         * Makeconfig [$(build-shared) = yes]
8737         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8738         makefiles.
8739         [$(build-shared) = yes && $(soversions.mk-done) = t]
8740         ($(common-objpfx)gnu/lib-names.h): Remove rule.
8741         [$(build-shared) = yes && $(soversions.mk-done) = t]
8742         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
8743         to Makerules.
8744         [$(build-shared) = yes && $(soversions.mk-done) = t]
8745         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8746         here.
8747         [$(build-shared) = yes && $(soversions.mk-done) = t]
8748         (common-generated): Don't append gnu/lib-names.h and
8749         gnu/lib-names.stmp here.
8750         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8751         (lib-names-h-abi): New variable.
8752         [$(build-shared) = yes && $(soversions.mk-done) = t]
8753         (lib-names-stmp-abi): Likewise.
8754         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8755         abi-variants] (before-compile): Append
8756         $(common-objpfx)$(lib-names-h-abi).
8757         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8758         abi-variants] (common-generated): Append gnu/lib-names.h.
8759         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8760         abi-variants] (install-others-nosubdir): Depend on
8761         $(inst_includedir)/$(lib-names-h-abi).
8762         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8763         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8764         [$(build-shared) = yes && $(soversions.mk-done) = t]
8765         ($(common-objpfx)$(lib-names-h-abi)): New rule.
8766         [$(build-shared) = yes && $(soversions.mk-done) = t]
8767         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8768         [$(build-shared) = yes && $(soversions.mk-done) = t]
8769         (common-generated): Append $(lib-names-h-abi) and
8770         $(lib-names-stmp-abi).
8771         * scripts/lib-names.awk: Do not handle multi being set.
8772         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8773         Remove variable.
8774         (abi-lp64_be-ld-soname): Likewise.
8775         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8776         Likewise.
8777         (abi-hard-ld-soname): Likewise.
8778         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8779         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8780         Remove variable.
8781         (abi-o32_hard-ld-soname): Likewise.
8782         (abi-o32_soft_2008-ld-soname): Likewise.
8783         (abi-o32_hard_2008-ld-soname): Likewise.
8784         (abi-n32_soft-ld-soname): Likewise.
8785         (abi-n32_hard-ld-soname): Likewise.
8786         (abi-n32_soft_2008-ld-soname): Likewise.
8787         (abi-n32_hard_2008-ld-soname): Likewise.
8788         (abi-n64_soft-ld-soname): Likewise.
8789         (abi-n64_hard-ld-soname): Likewise.
8790         (abi-n64_soft_2008-ld-soname): Likewise.
8791         (abi-n64_hard_2008-ld-soname): Likewise.
8792         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8793         Likewise.
8794         (abi-64-v2-ld-soname): Likewise.
8795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8796         ld.so entries.
8797         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8798         variable.
8799         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8800         entry.
8801         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8802         variable.
8803         (abi-64-ld-soname): Likewise.
8804         (abi-x32-ld-soname): Likewise.
8805         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8806         entry.
8807         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8809 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
8811         [BZ #14138]
8812         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8813         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8814         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8815         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8816         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8817         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8818         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8819         syscall entry for GLIBC_2.2 symbol version.
8820         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8821         Likewise.
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8823         (setrlimit): Likewise.
8824         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8825         Likewise.
8827 2014-09-23  Will Newton  <will.newton@linaro.org>
8829         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8830         _LINUX_ARM_SYSDEP_H include guard too.
8831         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8832         define.
8834 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8836         * sysdeps/unix/sysv/linux/eventfd.c:
8837         Make first argument unsigned.
8838         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8839         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8841 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
8843         * socket/recvmmsg.c (recvmmsg): Drop const argument.
8844         * socket/sys/socket.h: Likewise
8845         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8847 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8849         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8851 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
8853         * time/tst-ftime.c: New test.
8854         * time/Makefile (tests): Add tst-ftime.
8856 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
8858         * soft-fp/extended.h: Fix comment formatting.
8859         * soft-fp/op-1.h: Likewise.
8860         * soft-fp/op-2.h: Likewise.
8861         * soft-fp/op-4.h: Likewise.
8862         * soft-fp/op-8.h: Likewise.
8863         * soft-fp/op-common.h: Likewise.
8864         * soft-fp/soft-fp.h: Likewise.
8866         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8868 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
8870         [BZ #6652]
8871         * Makeconfig (soversions-default-setname): Remove variable.
8872         ($(common-objpfx)soversions.i): Don't pass default_setname to
8873         soversions.awk.
8874         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8875         oldest_abi to abi-versions.awk.
8876         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8877         * config.make.in (oldest-abi): Remove variable.
8878         * configure.ac (--enable-oldest-abi): Remove configure option.
8879         * configure: Regenerated.
8880         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8881         text.
8882         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8883         * scripts/soversions.awk: Do not handle default_setname variable.
8884         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8885         variable.
8886         * sysdeps/mach/hurd/configure: Regenerated.
8887         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8888         variable.
8889         * sysdeps/unix/sysv/linux/configure: Regenerated.
8891 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8893         * elf/Makefile (CFLAGS-interp.c): Remove.
8894         ($(elf-objpfx)runtime-linker.h): Generate header with linker
8895         path string.
8896         * elf/interp.c: Include generated runtime-linker.h
8898         * Makerules (lib%.so): Don't include $(+interp) in
8899         prerequisites.
8900         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8901         * dlfcn/eval.c: Remove file.
8903         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8904         macros.
8906         [BZ #17266]
8907         * misc/sys/cdefs.h: Define __extern_always_inline for clang
8908         4.2 and newer.
8910         [BZ #17370]
8911         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8913 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8914             Jakub Jelinek  <jakub@redhat.com>
8916         [BZ #17266]
8917         * libio/stdio.h: Check definition of __fortify_function
8918         instead of __extern_always_inline to include bits/stdio2.h.
8919         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8920         check if __extern_always_inline is defined.
8921         [__USE_MISC || __USE_XOPEN]: Likewise.
8922         [__USE_ISOC99] Likewise.
8923         * misc/sys/cdefs.h (__fortify_function): Define only if
8924         __extern_always_inline is defined.
8925         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8926         __extern_always_inline and __extern_inline only for g++-4.3
8927         and newer or a compatible gcc.
8929 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
8931         [BZ #17371]
8932         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8933         last change to handle zero prefix length.
8935 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8937         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8938         _SC_REGEX_VERSION.
8940         * posix/getconf.c (vars): Add _POSIX_IPV6 and
8941         _POSIX_RAW_SOCKETS.
8943 2014-09-13  Allan McRae  <allan@archlinux.org>
8945         * po/ru.po: Update Russian translation from translation project.
8947 2014-09-12  Roland McGrath  <roland@hack.frob.com>
8949         * locale/programs/locale.c (show_locale_vars): Inline local function
8950         into its sole call site.  Clean up some style nits.
8951         (print_item): New function, broken out of ...
8952         (show_info): ... local function here.  Clean up style nits.
8954         * locale/programs/ld-ctype.c (set_one_default): New function, broken
8955         out of ...
8956         (set_class_defaults): ... local function set_default here.
8957         Define set_default as a macro locally to pass constant parameters.
8958         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8959         rather than a shared local.
8961         * stdlib/rpmatch.c (try): New function, broken out of ...
8962         (rpmatch): ... local function here.  Also, prototypify definition.
8964 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
8966         * scripts/soversions.awk: Do not handle configuration names.
8967         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8968         vendor and os variables to soversions.awk.
8969         * configure.ac: Do not modify gnu-* host_os.
8970         * configure: Regenerated
8971         * shlib-versions: Remove first column with configuration names.
8972         * nptl/shlib-versions: Likewise.
8973         * nptl_db/shlib-versions: Likewise.
8974         * sysdeps/hppa/shlib-versions: Likewise.
8975         * sysdeps/m68k/shlib-versions: Likewise.
8976         * sysdeps/mach/hurd/shlib-versions: Likewise.
8977         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8978         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8979         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8980         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8981         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8982         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8983         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8984         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8986         Likewise.
8987         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8988         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8989         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8990         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8991         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8992         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8993         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8994         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8997         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8999         Regenerated.
9000         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9002         Condition symbol version definitions on [HAVE_ELFV2_ABI].
9004         * shlib-versions: Remove OS-specific entries.  Moved to files in
9005         sysdeps.
9006         * sysdeps/mach/hurd/shlib-versions: New file.
9007         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9009         * nptl/shlib-versions: Remove architecture-specific entries.
9010         Moved to files in sysdeps.
9011         * shlib-versions: Likewise.
9012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9013         file.
9014         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9015         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9016         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9017         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9019         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9020         (UDP_NO_CHECK6_RX): Likewise.
9022 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9024         * sysdeps/posix/sysconf.c (__sysconf): Spell
9025         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9027 2014-08-12  Florian Weimer  <fweimer@redhat.com>
9029         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9030         loading.
9031         * iconv/Versions (__gconv_transliterate): Export for use from
9032         gconv modules.
9033         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9034         (struct __gconv_trans_data, __gconv_trans_fct,
9035         __gconv_trans_context_fct, __gconv_trans_query_fct,
9036         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9037         definitions.
9038         (struct __gconv_step_data): Remove __trans member.
9039         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
9040         longer hidden.  Remove unused trans_data argument.
9041         * iconv/gconv_int.h (struct trans_struct): Remove definition.
9042         (__gconv_translit_find): Remove declaration.
9043         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
9044         prototype.
9045         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9046         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9047         trans_data argument.  Add hidden definition.
9048         (__gconv_translit_find): Remove.
9049         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9050         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9051         * iconv/skeleton.c: Remove transliteration initialization.
9052         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9053         __gconv_step_data initialization.
9054         * libio/iofwide.c (__libio_translit_): Remove.
9055         (_IO_fwide): Adjust struct __gconv_step_data initialization.
9056         * wcsmbs/btowc.c (__btowc): Likewise.
9057         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9058         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9059         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9060         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9061         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9062         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9063         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9064         * wcsmbs/wctob.c (wctob): Likewise.
9066 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9068         [BZ #16194]
9069         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9070         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
9071         register usage.
9072         * sysdeps/x86/Makefile: Adjust.
9074 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9075             Roland McGrath  <roland@hack.frob.com>
9077         * locale/weight.h: Add include guard.
9078         (findidx): Make static rather than auto; take new parameters
9079         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9080         * locale/weightwc.h: Likewise.
9081         * posix/fnmatch_loop.c
9082         (FCT): Change type of EXTRA from int32_t to wint_t.
9083         Don't include either header inside the function.
9084         Call FINDIDX rather than findidx, and pass new arguments.
9085         #undef FINDIDX at the end of the file.
9086         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9087         FINDIDX before including fnmatch_loop.c for the non-wide version.
9088         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9089         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9090         for the wide version.
9091         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9092         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9093         Pass new arguments to findidx.
9094         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9095         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9096         Don't #include it inside the function.  Pass new arguments to findidx.
9097         * posix/regex_internal.h
9098         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9099         (re_string_elem_size_at): Don't #include it inside the function.
9100         Pass new arguments to findidx.
9101         * string/strcoll_l.c: #include WEIGHT_H at top level.
9102         (get_next_seq): Don't #include it inside the function.
9103         Pass new arguments to findidx.
9104         (get_next_seq_nocache): Likewise.
9105         * string/strxfrm_l.c: #include WEIGHT_H at top level.
9106         (STRXFRM): Don't #include it inside the function.
9107         Pass new arguments to findidx.
9109 2014-09-11  Florian Weimer  <fweimer@redhat.com>
9111         [BZ #17344]
9112         * malloc/malloc.c (unlink): Turn asserts into a call to
9113         malloc_printerr.
9115 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
9117         [BZ #17370]
9118         * libio/wfileops (do_ftell_wide): Free OUT.
9120 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
9122         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
9124 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9126         [BZ #17363]
9127         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
9128         group if the current group is empty.
9130 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9132         * benchtests/bench-memset.c (test_main): Add more test from size
9133         from 32 to 512 bytes.
9134         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9135         Add POWER8 memset object.
9136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9137         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
9138         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
9139         implementation.
9140         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
9141         Likewise.
9142         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
9143         multiarch POWER8 memset optimization.
9144         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
9145         POWER8 memset optimization.
9147         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9148         Remove bzero multiarch objects.
9149         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
9150         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
9151         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
9152         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9153         Remove define.
9154         [__bzero]: Redefine to specific name.
9155         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9156         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9157         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9158         define.
9159         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9160         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9162 2014-09-10  Florian Weimer  <fweimer@redhat.com>
9164         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9165         warnings into errors.
9167         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9168         __cxa_thread_atexit_impl prototype.
9170 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9172         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9173         Fix capitalization of error message.
9175 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9177         * sysdeps/mips/preconfigure: Modify ABI tests.
9179 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
9181         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9183 2014-09-07  Roland McGrath  <roland@hack.frob.com>
9184             Carlos O'Donell  <carlos@systemhalted.org>
9186         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9187         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9188         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9189         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9190         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9191         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9192         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9193         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9194         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9195         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9196         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9197         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9198         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9199         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9200         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9201         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9202         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9203         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9204         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9205         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9206         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9207         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9208         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9209         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9210         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9211         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9212         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9213         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9214         Deconditionalize the code that was previously under [RESET_PID].
9215         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9216         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9217         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9218         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9219         include sysdep.h.
9221 2014-09-08  Allan McRae  <allan@archlinux.org>
9223         * version.h (RELEASE): Set to "development".
9224         (VERSION): Set to "2.20.90"
9226 2014-09-07  Allan McRae  <allan@archlinux.org
9228         * version.h (RELEASE): Set to "stable".
9229         (VERSION): Set to "2.20"
9230         * include/features.h (__GLIBC_MINOR__): Set to 20.
9232         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9233         Liebler.
9235         * po/ko.po: Update Korean translation from translation project.
9237 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
9239         [BZ #17354]
9240         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9241         macro for handling signed relocations.
9243 2014-09-03  Florian Weimer  <fweimer@redhat.com>
9245         [BZ #17325]
9246         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9247         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9248         assert.
9249         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9250         * iconvdata/ibm935.c (BODY): Likewise.
9251         * iconvdata/ibm937.c (BODY): Likewise.
9252         * iconvdata/ibm939.c (BODY): Likewise.
9253         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9254         assert.
9255         * iconvdata/Makefile (iconv-test.out): Pass module list to test
9256         script.
9257         * iconvdata/run-iconv-test.sh: New test loop for checking for
9258         decoder crashers.
9260 2014-09-02  Khem Raj  <raj.khem@gmail.com>
9262         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9263         libm_hidden_ver.
9265 2014-09-01  Allan McRae  <allan@archlinux.org>
9267         * po/eo.po: Update Esperanto translation from translation project.
9269         * po/ca.po: Update Catalan translation from translation project.
9271 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9273         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9274         __proc_dostop call.
9276 2014-08-27  Mark Wielaard  <mjw@redhat.com>
9278         [BZ #17319]
9279         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9280         to call set_thread_area instead of hand written asm.
9281         (__NR_set_thread_area): Removed define.
9282         (TLS_FLAG_WRITABLE): Likewise.
9283         (__ASSUME_SET_THREAD_AREA): Remove check.
9284         (TLS_EBX_ARG): Remove define.
9285         (TLS_LOAD_EBX): Likewise.
9287 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9289         Simplify atomicity of socket creation in bind.
9291         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9292         looking up the name after linking the file.
9294 2014-08-27  Allan McRae  <allan@archlinux.org>
9296         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9298 2014-08-26  Florian Weimer  <fweimer@redhat.com>
9300         [BZ #17187]
9301         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9302         trans_compare, open_translit, __gconv_translit_find):
9303         Remove module loading code.
9305 2014-08-26  Allan McRae  <allan@archlinux.org>
9307         * po/vi.po: Update Vietnamese translation from translation project.
9309         * po/uk.po: Update Ukrainian translation from translation project.
9311         * po/fr.po: Update French translation from translation project.
9313         * po/ru.po: Update Russian translation from translation project.
9315         * po/pl.po: Update Polish translation from translation project.
9317         * po/cs.po: Update Czech translation from translation project.
9319         * po/de.po: Update German translation from translation project.
9321         * po/bg.po: Update Bulgarian translation from translation project.
9323         * po/sv.po: Update Sweedish translation from translation project.
9325         * po/nl.po: Update Dutch translation from translation project.
9327         * po/es.po: Update Spanish translation from translation project.
9329 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9331         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
9333         * catgets/Makefile (CPPFLAGS-gencat): Remove.
9334         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
9335         (CPPFLAGS-iconvconfig): Likewise.
9336         * timezone/Makefile (CPPFLAGS-zic): Likewise.
9338         * include/libc-symbols.h: Remove unnecessary check for
9339         NOT_IN_libc.
9340         * nptl/pthreadP.h: Likewise.
9341         * sysdeps/aarch64/setjmp.S: Likewise.
9342         * sysdeps/alpha/setjmp.S: Likewise.
9343         * sysdeps/arm/sysdep.h: Likewise.
9344         * sysdeps/i386/setjmp.S: Likewise.
9345         * sysdeps/m68k/setjmp.c: Likewise.
9346         * sysdeps/posix/getcwd.c: Likewise.
9347         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9348         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9349         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9350         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9351         * sysdeps/sh/sh3/setjmp.S: Likewise.
9352         * sysdeps/sh/sh4/setjmp.S: Likewise.
9353         * sysdeps/unix/alpha/sysdep.h: Likewise.
9354         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9355         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9356         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9357         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9360         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9361         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9362         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9363         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9365         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9366         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9367         * sysdeps/x86_64/setjmp.S: Likewise.
9369 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
9371         [BZ #17263]
9372         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9373         <stdint.h>.
9374         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9375         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9377 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9379         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9381         [BZ #17262]
9382         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9383         and __x86_64__ when disabling x87 inline functions.
9385 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
9387         [BZ #17259]
9388         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9389         asm statement with __cpuid_count.
9391 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
9393         * configure.ac: Change __ehdr_start code to dereference the struct.
9394         Run readelf on the output to look for relocations.
9395         * configure: Regenerated.
9397 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
9399         [BZ #17261]
9400         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9401         value to 0.
9402         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9404 2014-08-12  Roland McGrath  <roland@hack.frob.com>
9406         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9408 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
9410         [BZ #16892]
9411         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9412         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9414 2014-08-12  Sean Anderson  <seanga2@gmail.com>
9416         * malloc/malloc.c: Fix typo in comment.
9418 2014-08-09  Allan McRae  <allan@archlinux.org>
9420         * Regenerate libc.po.
9422 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
9424         * intl/tst-gettext2.sh: Check every lang file for creation.
9426 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9428         * sysdeps/aarch64/fpu/math_private.h
9429         (libc_feholdsetround_noex_aarch64_ctx): New function.
9431 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9433         * sysdeps/arm/armv6/strcpy.S (strcpy):
9434         Fix performance issue in misaligned cases.
9436 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9438         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9439         Move definition from termios.h.
9440         (struct termio): Likewise.
9441         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9442         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9443         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9444         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9445         Likewise.
9446         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9447         Move definition to ioctl-types.h
9448         (struct termio): Likewise.
9449         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9450         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9451         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9452         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9453         Likewise.
9455 2014-08-05  Richard Henderson  <rth@redhat.com>
9457         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9458         exceptions.
9459         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9460         Add fraiseexcpt.
9461         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9462         Use __feraiseexcept.
9463         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9464         Protect libm symbols with IS_IN_libm.
9466         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9468 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
9470         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9472 2014-08-04  Will Newton  <will.newton@linaro.org>
9474         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9475         file.
9477 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
9479         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9480         variants for each function.
9482 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9484         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9485         appended ...
9486         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9487         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9488         appended ...
9489         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9490         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9491         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9492         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9493         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9494         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9495         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9496         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9497         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9498         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9499         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9500         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9501         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9502         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9503         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9504         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9505         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9506         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9507         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9508         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9509         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9510         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9511         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9512         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9513         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9514         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9515         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
9516         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
9517         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
9518         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
9519         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
9520         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
9521         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
9522         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
9523         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
9524         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
9525         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
9526         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
9527         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
9528         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
9529         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
9530         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
9531         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
9532         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
9533         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
9534         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
9535         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
9536         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
9537         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
9538         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
9539         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
9540         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
9541         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
9542         Update #include.
9543         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
9544         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
9546 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9548         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
9549         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
9550         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
9551         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
9552         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
9553         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
9555 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9557         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
9558         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
9559         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9560         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
9562 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9564         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
9565         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
9566         (__libc_vfork): Define function under this name.
9567         (__vfork): Define as an alias.
9568         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
9569         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
9571 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9573         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
9574         that was previously under [RESET_PID].
9575         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
9577 2014-08-04  Andreas Schwab  <schwab@suse.de>
9579         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
9581 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
9583         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
9584         (main): Likewise.
9586 2014-08-01  Roland McGrath  <roland@hack.frob.com>
9588         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9590 2014-08-01  Richard Henderon  <rth@redhat.com>
9592         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
9593         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
9594         typo in exact zero test.
9595         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9596         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9597         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9599 2014-08-01  Roland McGrath  <roland@hack.frob.com>
9601         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
9602         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9603         * sysdeps/arm/sysdep.h: ... here.
9604         [!__ASSEMBLER__]: Include <stdint.h>.
9606 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9608         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9609         (HAVE_WCTYPE_H): Likewise.
9610         (HAVE_ISWCTYPE): Likewise.
9611         (ENABLE_NLS): Likewise.
9612         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9613         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9615         * posix/regex_internal.c: Check if DEBUG is defined and is
9616         set.
9618         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9619         (HAVE_MBSRTOWCS): Likewise.
9620         * posix/fnmatch.c: Include string.h unconditionally.
9622 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9624         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9625         reversal.
9627 2014-07-31  Roland McGrath  <roland@hack.frob.com>
9629         * sysdeps/generic/safe-fatal.h: New file.
9630         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9631         * nptl/forward.c: Include it.
9632         (__pthread_unwind): Use __safe_fatal as default action, rather
9633         than a bogus use of INTERNAL_SYSCALL that could never work.
9635         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9636         * configure.ac (libc_cv_builtin_trap): New test.
9637         * configure: Regenerated.
9638         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9639         (ABORT_INSTRUCTION): Define using __builtin_trap.
9641         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9642         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9643         * sysdeps/nptl/nptl-signals.h: New file.
9644         * nptl/pthreadP.h: Include <nptl-signals.h>.
9646 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9648         * sysdeps/s390/s390-64/utf16-utf32-z9.c
9649         (ONE_DIRECTION): Define.
9650         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9651         (ONE_DIRECTION): Define.
9652         * sysdeps/s390/s390-64/utf8-utf32-z9.c
9653         (ONE_DIRECTION): Define.
9655 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9657         * sysdeps/s390/Makefile: Delete file.
9658         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9659         * sysdeps/s390/__longjmp.c: Delete file.
9660         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9661         Remove fields __flags and __reserved.
9662         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9663         and add versioning.
9664         * sysdeps/s390/rtld-__longjmp.c: Delete file.
9665         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9666         * sysdeps/s390/rtld-setjmp.S: Likewise.
9667         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9668         * sysdeps/s390/s390-32/__longjmp.c: ... here.
9669         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9670         * sysdeps/s390/s390-32/setjmp.S: ... here.
9671         Add versioning.
9672         (__sigsetjmp): Remove setting __flags field.
9673         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9674         * sysdeps/s390/s390-64/__longjmp.c: ... here.
9675         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9676         * sysdeps/s390/s390-64/setjmp.S: ... here.
9677         Add versioning.
9678         (__sigsetjmp): Remove setting __flags field.
9679         * sysdeps/s390/setjmp.S: Delete file.
9680         * sysdeps/s390/sigjmp.c: Likewise.
9681         * sysdeps/s390/v1-longjmp.c: Likewise.
9682         * sysdeps/s390/v1-setjmp.h: Likewise.
9683         * sysdeps/s390/v1-sigjmp.c: Likewise.
9684         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9685         Remove v1-longjmp_chk.
9686         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9687         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9688         Include debug/longjmp_chk.c and add versioning.
9689         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9690         Include nptl/pt-longjmp.c and add versioning.
9691         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9692         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9693         Include __longjmp.c.
9694         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9695         Move to ...
9696         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9697         (__getcontext): Remove setting __flags field.
9698         Add versioning.
9699         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9700         Don't restore upper high grps.
9701         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9702         Likewise.
9703         (__swapcontext): Remove setting uc_flags field.
9704         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9705         Delete file.
9706         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9707         Include __longjmp.c.
9708         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9709         Move to ...
9710         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9711         (__getcontext): Remove setting __flags field.
9712         Add versioning.
9713         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9714         (__swapcontext): Remove setting uc_flags field.
9715         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9716         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9717         Remove fields uc_high_gprs and __reserved.
9718         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9719         New file with reverted content.
9720         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9721         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9722         Regenerated.
9723         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9724         Regenerated.
9726 2014-07-31  Andreas Schwab  <schwab@suse.de>
9728         * config.h.in (HAVE_IFUNC): Define to 0.
9729         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9730         definedness.
9732 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
9734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9735         memmove-avx-unaligned, memcpy-avx-unaligned and
9736         mempcpy-avx-unaligned.
9737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9738         Add tests for AVX memcpy functions.
9739         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9740         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9741         memcpy_chk.
9742         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9743         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9744         memmove_chk.
9745         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9746         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9747         mempcpy_chk.
9748         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9749         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9750         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9752 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9754         [BZ #17213]
9755         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9756         powerpc64le.
9758 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
9760         [BZ #16839]
9761         * manual/llio.texi: Add section about open file description locks.
9762         * manual/examples/ofdlocks.c: Example of open file description
9763         lock usage.
9764         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9765         F_OFD_SETLK, and F_OFD_SETLKW.
9767 2014-07-23  Allan McRae  <allan@archlinux.org>
9769         * po/es.po: Update Spanish translation from translation project.
9771 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
9773         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9775 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
9777         [BZ #17078]
9778         * sysdeps/arm/dl-machine.h (elf_machine_rela)
9779         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9780         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9782 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
9784         [BZ #17088]
9785         * math/fesetenv.c (__fesetenv)
9786         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9787         * math/feupdateenv.c (__feupdateenv)
9788         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9790         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9791         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9792         (__ASSUME_SOCKETCALL): Do not define.
9794         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9795         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9796         (__ASSUME_SOCKETCALL): Do not define.
9797         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9798         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9799         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9800         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9801         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9802         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9803         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9804         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9806         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9807         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9808         (__ASSUME_SOCKETCALL): Do not define.
9809         (__ASSUME_IPC64): Define unconditionally.
9810         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9811         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9812         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9813         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9814         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9815         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9816         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9817         Likewise.
9819         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9820         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9821         (__ASSUME_SOCKETCALL): Do not define.
9822         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9823         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9824         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9825         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9826         (__ASSUME_REQUEUE_PI): Define unconditionally.
9827         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9828         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9829         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9830         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9831         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9832         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9834         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9835         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9836         (__ASSUME_SOCKETCALL): Do not define.
9837         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9838         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9839         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9840         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9841         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9842         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9844         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9845         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9846         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9847         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9848         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9849         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9850         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9851         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9852         (__ASSUME_GETCPU_SYSCALL): Likewise.
9854         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9855         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
9856         cases for individual architectures.
9857         * sysdeps/gnu/configure: Regenerated.
9858         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9859         LIBC_SLIBDIR_RTLDDIR.
9860         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9861         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9862         LIBC_SLIBDIR_RTLDDIR.
9863         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9865         LIBC_SLIBDIR_RTLDDIR.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9867         Regenerated.
9868         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9869         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9870         file.
9871         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9872         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9873         file.
9874         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9875         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9876         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9877         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9879         * sysdeps/aarch64/shlib-versions: Move to ...
9880         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9881         * sysdeps/alpha/shlib-versions: Move to ...
9882         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9883         * sysdeps/arm/shlib-versions: Move to ...
9884         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9885         * sysdeps/hppa/shlib-versions: Move all contents except for
9886         libgcc_s entry to ...
9887         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
9888         entry from ...
9889         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
9890         * sysdeps/ia64/shlib-versions: Move to ...
9891         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
9892         entry from ...
9893         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
9894         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9895         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9896         * sysdeps/microblaze/shlib-versions: Move to ...
9897         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9898         * sysdeps/mips/shlib-versions: Move to ...
9899         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
9900         entry from ...
9901         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
9902         * sysdeps/tile/shlib-versions: Move to ...
9903         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9904         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9905         from ...
9906         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
9907         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9908         entry from ...
9909         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
9911 2014-07-17  Will Newton  <will.newton@linaro.org>
9913         * sysdeps/arm/bits/atomic.h
9914         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9915         (__arch_compare_and_exchange_bool_16_int): Likewise.
9916         (__arch_compare_and_exchange_bool_64_int): Likewise.
9918         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9919         into an #else block.
9921 2014-07-16  Roland McGrath  <roland@hack.frob.com>
9923         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9924         just Linux configurations.  Test empirically that the compiler sets
9925         __ARM_EABI__, rather than using the tuple to decide.
9926         * sysdeps/arm/preconfigure: Regenerated.
9927         * sysdeps/unix/sysv/linux/arm/configure: File removed.
9928         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9929         contents appended ...
9930         * sysdeps/arm/configure.ac: ... here.
9931         * sysdeps/arm/configure: Regenerated.
9933 2014-07-15  Roland McGrath  <roland@hack.frob.com>
9935         * nptl/pthread_kill.c: New file.
9936         * nptl/pthread_sigmask.c: New file.
9937         * nptl/pthread_sigqueue.c: New file.
9939         * sysdeps/nptl/lowlevellock.h: New file.
9940         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9941         * sysdeps/nptl/lowlevellock-futex.h: New file.
9943         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9944         Remove dead declarations.
9946 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
9948         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9949         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9950         config-cflags-avx2.
9951         * sysdeps/x86_64/configure.ac: Likewise.
9952         * sysdeps/i386/configure: Regenerated.
9953         * sysdeps/x86_64/configure: Likewise.
9954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9955         memset-avx2 only if config-cflags-avx2 is yes.
9956         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9957         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9958         defined.
9959         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9960         only if HAVE_AVX2_SUPPORT is defined.
9961         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9963 2014-07-14  Alan Modra  <amodra@gmail.com>
9965         [BZ #17153]
9966         * elf/elf.h (DT_PPC64_NUM): Correct value.
9967         * NEWS: Add to fixed bug list.
9969 2014-07-13  Jim Meyering  <meyering@fb.com>
9971         [BZ 17150]
9972         regex: don't deref NULL upon heap allocation failure
9973         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9974         failure in one more place.
9975         To trigger the segfault, configure grep -with-included-regex,
9976         build it, and run these commands:
9977         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9979 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
9981         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9983 2014-07-11  Richard Henderson  <rth@redhat.com>
9985         * sysdeps/aarch64/libm-test-ulps: Update.
9987 2014-07-10  Florian Weimer  <fweimer@redhat.com>
9989         [BZ #17135]
9990         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9991         * nptl/allocatestack.c (__nptl_setxid_error): New function.
9992         (__nptl_setxid): Initialize error member.  Call
9993         __nptl_setxid_error.
9994         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9995         * nptl/descr.h (struct xid_command): Add error member.
9996         * nptl/tst-setuid3.c: New file.
9997         * nptl/Makefile (tests): Add it.
9999 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10001         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10002         New define.
10003         (__lll_trylock): Use __lll_base_trylock.
10004         (__lll_cond_trylock): Likewise.
10006 2014-07-10  Roland McGrath  <roland@hack.frob.com>
10008         * nptl/pthread_create.c (start_thread): Use atomic_or and
10009         lll_futex_wake directly rather than lll_robust_dead.
10010         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10011         (lll_robust_dead): Macro removed.
10012         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
10013         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10014         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10015         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10016         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10017         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10018         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10019         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10020         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10021         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10022         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10023         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10024         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10025         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10026         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10028         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10029         Use atomic_compare_and_exchange_val_acq directly rather than
10030         lll_robust_trylock.
10031         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10032         (__lll_robust_trylock, lll_robust_trylock): Removed.
10033         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10034         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10035         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10036         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10037         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10038         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10039         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10040         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10041         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10042         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10043         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10044         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10045         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10046         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10048 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10050         * manual/locale.texi (Locale Names): New section documenting
10051         locale name syntax.  Adjust menu and node chaining accordingly.
10052         (Choosing Locale): Reference Locale Names, Locale Categories.
10053         Mention setting LC_ALL=C.  Reflect that name syntax is now
10054         documented.
10055         (Locale Categories): New section title.  Reference Locale Names.
10056         LC_ALL is an environment variable, but not a category.
10057         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10058         description, now in Locale Name.  Reference that section.  Locale
10059         name syntax is now documented.
10061 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10063         [BZ #17137]
10064         * locale/findlocale.c (name_present, valid_locale_name): New
10065         functions.
10066         (_nl_find_locale): Use the loc_name variable to store name
10067         candidates.  Call name_present and valid_locale_name to check and
10068         validate locale names.  Return an error if the locale is invalid.
10070 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10072         * locale/setlocale.c (setlocale): Use strdup for allocating
10073         composite name copy.
10075 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10077         Sync up with gnulib.
10078         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10079         [!_LIBC && ENABLE_NLS]: Include gettext.h.
10080         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10081         and _GL_ARG_NONNULL.
10082         [USE_UNLOCKED_IO]: Include unlocked-io.h.
10083         [!_LIBC]: Include code for Windows and Cygwin.
10084         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10085         Include prototype for int strerror_r.
10086         [!_LIBC] (is_open): New function.
10087         (flush_stdout): New function.
10088         (print_errno_message): Use it.
10089         (error): Likewise.
10090         (error_at_line): Likewise.
10091         (error_tail) Add function attribute macros.  Use
10092         __builtin_expect.
10094         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10096         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10098         * io/ftw.c: Include sys/param.h unconditionally.
10100         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10102         [BZ #17125]
10103         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10104         libc_freeres_ptr.
10105         (freecache): New function to free CACHE on exit.
10107         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10108         initialization.
10110 2014-07-09  David S. Miller  <davem@davemloft.net>
10112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10114         * sysdeps/sparc/nptl/internaltypes.h: Delete.
10115         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10116         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10117         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
10118         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
10119         * sysdeps/sparc/nptl/sem_init.c: Likewise.
10120         * sysdeps/sparc/nptl/sem_post.c: Likewise.
10121         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
10122         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
10123         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
10124         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
10125         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
10126         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
10128 2014-07-09  Andreas Schwab  <schwab@suse.de>
10130         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
10131         output.
10132         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
10133         (do_test): Likewise.
10135         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10137 2014-07-09  Will Newton  <will.newton@linaro.org>
10139         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
10140         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
10141         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10142         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10143         * sysdeps/hppa/start.S (_start): Likewise.
10145 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10147         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
10149         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
10150         defined.
10152 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10154         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10155         after checking that it is non-NULL.
10157         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10159 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10161         * sysdeps/powerpc/memmove.c: Remove file.
10162         * sysdeps/powerpc/powerpc32/power4/memcopy.h
10163         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10164         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10165         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10166         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10167         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10168         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10169         string memmove instead of removed powerpc one.
10171         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10172         [weak_alias]: Fix compiler warning due trailing data.
10173         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10174         [weak_alias]: Likewise.
10175         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10176         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10179         (__libc_ifunc_impl_list): Add memmove functions.
10181 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10183         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10184         Remove code.
10185         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10186         Likewise
10187         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10188         Likewise
10189         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10190         Likewise
10191         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10192         Likewise
10193         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10194         Likewise
10195         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10196         Likewise
10197         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10198         Likewise
10199         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10200         Likewise
10201         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10202         Likewise
10203         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10204         Likewise
10205         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10206         Likewise
10207         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10208         Likewise
10209         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10210         Likewise
10211         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10212         Likewise
10213         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10214         Likewise
10215         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10216         Likewise
10218 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10220         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10221         to avoid alignment traps in non-cacheable memory.
10222         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10224         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10225         multiarch objects.
10226         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10227         file: multiarch power7 memmove.
10228         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10229         multiarch default memmove.
10230         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10231         multiarch memove for powerpc32/power4.
10233         * string/bcopy.c: Use full path to include memmove.c.
10234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10235         multiarch objects.
10236         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10237         bcopy for powerpc64.
10238         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10239         bcopy for powerpc64.
10240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10241         and memmove implementations.
10242         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10243         optimized multiarch memmove for POWER7/powerpc64.
10244         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10245         default multiarch memmove for powerpc64.
10246         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10247         multiarch for powerpc64.
10248         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10249         for POWER7/powerpc64.
10250         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10251         memmove for POWER7/powerpc64.
10253         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10254         glibc default one.
10256         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10257         __ELF_NATIVE_CLASS equal to 64.
10259 2014-07-07  Roland McGrath  <roland@hack.frob.com>
10261         * sysdeps/nptl/lowlevellock.h: File removed.
10263         * NEWS: NPTL is no longer an add-on!
10264         * nptl/internaltypes.h: Moved ...
10265         * sysdeps/nptl/internaltypes.h: ... here.
10266         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10267         * sysdeps/nptl/fork.c: Likewise.
10268         * sysdeps/nptl/gai_misc.h: Likewise.
10269         * sysdeps/nptl/librt-cancellation.c: Likewise.
10270         * sysdeps/nptl/jmp-unwind.c: Likewise.
10271         * sysdeps/nptl/setxid.h: Likewise.
10272         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10273         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10274         * sysdeps/unix/sysv/linux/arm/Implies: New file.
10275         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10276         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10277         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10278         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10279         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10280         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10281         * sysdeps/unix/sysv/linux/mips/Implies: New file.
10282         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10283         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10284         * sysdeps/unix/sysv/linux/sh/Implies: New file.
10285         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10286         * sysdeps/unix/sysv/linux/tile/Implies: New file.
10287         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10288         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10289         * nptl/Makeconfig: Moved ...
10290         * sysdeps/nptl/Makeconfig: ... here.
10291         * nptl/configure: File removed.
10292         * nptl/ANNOUNCE: File removed.
10293         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10294         * sysdeps/unix/sysv/linux/configure: Regenerated.
10296         * nptl/Makefile (routines): Add libc_pthread_init,
10297         libc_multiple_threads, register-atfork and unregister-atfork.
10298         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10299         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10300         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10301         pthread-pi-defines.sym, structsem.sym.
10302         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10303         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10304         [$(subdir) = nptl] (tests): Add tst-setgetname.
10305         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10306         * sysdeps/unix/sysv/linux/sigaction.c: Just include
10307         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10308         [!LIBC_SIGACTION]: Remove aliases.
10309         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10310         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10311         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10312         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10313         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10314         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10315         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10316         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10317         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10318         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10319         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10320         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10321         __libc_allocate_rtsig_private.
10322         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10323         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10324         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10325         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10326         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10327         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10328         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10329         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
10330         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
10331         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
10332         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
10333         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
10334         * nptl/internaltypes.h: ... here.
10335         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
10336         * sysdeps/nptl/jmp-unwind.c: ... here.
10337         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
10338         * nptl/libc-lowlevellock.c: ... here.
10339         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
10340         * nptl/libc_multiple_threads.c: ... here.
10341         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10342         * nptl/libc_pthread_init.c: ... here.
10343         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10344         * nptl/lowlevelbarrier.sym: ... here.
10345         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10346         * nptl/lowlevelcond.sym: ... here.
10347         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10348         * nptl/lowlevellock.c: ... here.
10349         * nptl/lowlevellock.h: Moved ...
10350         * sysdeps/nptl/lowlevellock.h: ... here.
10351         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10352         * nptl/lowlevelrobustlock.c: ... here.
10353         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10354         * nptl/lowlevelrobustlock.sym: ... here.
10355         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10356         * nptl/lowlevelrwlock.sym: ... here.
10357         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10358         * nptl/pt-fork.c: ... here.
10359         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10360         * nptl/pthread-pi-defines.sym: ... here.
10361         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10362         * nptl/pthread_attr_getaffinity.c: ... here.
10363         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10364         * nptl/pthread_attr_setaffinity.c: ... here.
10365         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10366         * nptl/pthread_mutex_cond_lock.c: ... here.
10367         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10368         Update #include.
10369         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10370         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10371         * nptl/pthread_once.c: ... here, replacing old file.
10372         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10373         * nptl/pthread_yield.c: ... here.
10374         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10375         * nptl/register-atfork.c: ... here.
10376         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10377         * nptl/sem_post.c: ... here.
10378         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10379         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10380         * nptl/sem_timedwait.c: ... here.
10381         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10382         * nptl/sem_trywait.c: ... here.
10383         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10384         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10385         * nptl/sem_wait.c: ... here.
10386         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10387         * nptl/structsem.sym: ... here.
10388         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10389         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10390         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10391         * nptl/unregister-atfork.c: ... here.
10392         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10393         * nptl/unwindbuf.sym: ... here.
10394         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10395         * sysdeps/nptl/fork.c: ... here.
10396         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10397         * sysdeps/nptl/fork.h: ... here.
10398         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10399         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10400         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10401         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10402         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10403         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10404         * sysdeps/unix/sysv/linux/getpid.c: ... here.
10405         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10406         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10407         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10408         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10409         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10410         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10411         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10412         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10413         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10414         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10415         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10416         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10417         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10418         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10419         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10420         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10421         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10422         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10423         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10424         * sysdeps/unix/sysv/linux/raise.c: ... here.
10425         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10426         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10427         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10428         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10429         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10430         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10431         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10432         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10433         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10434         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10435         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10436         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10437         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10438         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10439         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10441 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10443         * sysdeps/generic/memcopy.h: Add comment for
10444         MEMCPY_OK_FOR_FWD_MEMMOVE.
10446 2014-07-04  Will Newton  <will.newton@linaro.org>
10448         * string/memchr.c: Merge from gnulib.
10449         [_LIBC]: Remove conditionals.
10450         (__ptr_t): Remove define.
10451         (LONG_MAX_32_BITS): Likewise.
10452         (LONG_MAX): Likewise.
10453         (MEMCHR): Use ANSI prototype and optimize algorithm.
10455         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10457 2014-07-03  Roland McGrath  <roland@hack.frob.com>
10459         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10460         (lll_futex_timed_wait_bitset): Fix syscall argument count.
10462         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10463         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10464         in a bare environment with no <stdlib.h> installed.
10465         * sysdeps/nptl/configure: Regenerated.
10467         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10469         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10470         AC_EGREP_CPP for kernel header checks, so they only succeed if
10471         including <linux/version.h> actually works right.
10472         * sysdeps/unix/sysv/linux/configure: Regenerated.
10474         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10475         value so it's not diagnosed as unused.
10477         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10478         thing) with "ifeq ($(subdir),rt)".
10480 2014-07-03  Richard Henderson  <rth@redhat.com>
10482         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10483         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10484         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10486         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10487         (math_force_eval): New.
10489         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10490         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10492         * sysdeps/alpha/fpu/s_round.c: Remove file.
10493         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10495         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10496         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10497         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10498         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10499         (_dl_start, print_statistics): Likewise.
10500         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10501         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10503         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10504         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10505         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10506         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10507         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10508         (HP_SMALL_TIMING_AVAIL): Define.
10509         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10510         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10511         (HP_SMALL_TIMING_AVAIL): Define.
10512         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10513         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10515         * sysdeps/aarch64/hp-timing.h: New file.
10517         * sysdeps/generic/hp-timing.h: Remove dead comment.
10518         * sysdeps/generic/hp-timing-common.h: New file.
10519         * sysdeps/alpha/hp-timing.h: Include it.
10520         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
10521         * sysdeps/i386/i686/hp-timing.h: Likewise.
10522         * sysdeps/ia64/hp-timing.h: Likewise.
10523         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10524         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10525         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10526         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10527         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
10528         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
10529         (hp_timing_t): New.
10531         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
10532         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
10533         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
10534         * elf/rtld.c (_dl_start_final): Likewise.
10535         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
10536         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10537         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10538         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10539         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10540         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10541         (HP_TIMING_DIFF_INIT): Remove.
10542         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10543         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10544         (HP_TIMING_DIFF_INIT): Remove.
10545         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10546         * sysdeps/i386/i686/hp-timing.c: Remove file.
10547         * sysdeps/x86_64/hp-timing.c: Remove file.
10548         * sysdeps/ia64/hp-timing.c: Remove file.
10549         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
10550         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
10551         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
10552         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
10554         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
10555         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
10556         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
10557         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10558         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10559         (HP_TIMING_ACCUM): Remove.
10560         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10561         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
10562         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10564         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
10565         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
10566         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
10567         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
10568         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
10569         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10570         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
10571         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10573         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
10575 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
10577         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
10579 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10581         Sync up with gettext.
10582         * intl/loadmsgcat.c: Define O_BINARY if not defined.
10583         [_MSC_VER]: Include malloc.h
10584         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
10585         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
10586         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
10587         TEMP_FAILURE_RETRY.  Cast return of alloca.
10588         [!_LIBC] Call gl_rwlock_init.
10589         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
10591 2014-07-02  Roland McGrath  <roland@hack.frob.com>
10593         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
10594         before checking its value.
10596 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10598         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
10600         * debug/memcpy_chk.c: Don't include pagecopy.h.
10601         * debug/mempcpy_chk.c: Likewise.
10602         * string/memcpy.c: Likewise.
10603         * string/memmove.c: Likewise.
10604         * sysdeps/powerpc/memmove.c: Likewise.
10605         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
10606         definition of PAGE_COPY_FWD_MAYBE here...
10607         * sysdeps/generic/pagecopy.h: ... from here.
10608         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10610 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10611             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10613         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10615         optimizations.
10616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10617         (__libc_ifunc_impl_list): Likewise.
10618         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10619         multiarch strcat for PPC64.
10620         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10621         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10623 2014-07-02  Roland McGrath  <roland@hack.frob.com>
10625         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10627 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10629         * intl/loadmsgcat.c: Remove declaration of
10630         get_sysdep_segment_value.
10631         (get_sysdep_segment_value): Use ISO C style.
10632         (_nl_load_domain): Use ISO C style.  Get rid of redundant
10633         semicolon.  Fix typo and formatting in comment.
10634         (_nl_unload_domain): Use ISO C style.
10636         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10638 2014-07-02  Will Newton  <will.newton@linaro.org>
10640         * malloc/obstack.c: Merge from gnulib master.
10641         [HAVE_CONFIG_H]: Remove conditional code.
10642         [!_LIBC]: Include config.h.
10643         [!ELIDE_CODE]: Don't include inttypes.h, include
10644         stdint.h unconditionally.
10645         (print_and_abort): Mark as _Noreturn.
10646         (_obstack_allocated_p): Mark as __attribute_pure__.
10647         (obstack_free): Rename to __obstack_free.
10648         [!__attribute__]: Remove conditional code.
10649         * malloc/obstack.h: Merge from gnulib master.
10650         [__cplusplus]: Move conditional down.
10651         [!__attribute_pure__]: Define __attribute_pure__ here
10652         if it is not already defined.
10653         (_obstack_memory_used): Mark as __attribute_pure__.
10654         [!__obstack_free]: Define as obstack_free.
10655         [__GNUC__]: Remove check for ancient NeXT gcc.
10657 2014-07-02  Will Newton  <will.newton@linaro.org>
10658             Paul Eggert  <eggert@cs.ucla.edu>
10660         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10662 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10664         * resolv/gethnamaddr.c: Add comment warning that the file is
10665         not maintained.
10667 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
10669         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10670         entries.
10672         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10673         entry for aio_cancel and aio_cancel64.
10674         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10675         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10676         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10677         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10678         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10679         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10680         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10681         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10682         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10683         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10684         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10685         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10686         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10688 2014-07-01  Roland McGrath  <roland@hack.frob.com>
10690         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10691         * nptl/pthread_mutex_lock.c: Likewise.
10692         * nptl/pthread_mutex_timedlock.c: Likewise.
10693         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10695 2014-07-01  Richard henderson  <rth@redhat.com>
10697         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10698         (__isnan, __isnanl): Remove.
10699         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10701         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10703 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10705         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10707 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10709         * resolv/nss_dns/dns-host.c (getanswer_r)
10710         [MULTI_PTRS_ARE_ALIASES]: Remove code.
10712 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
10714         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10715         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10716         undefine.
10717         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10718         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10720 2014-07-01  Roland McGrath <roland@hack.frob.com>
10722         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10723         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10725         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10726         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10728         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10729         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10730         ... here.
10731         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10732         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10734         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10735         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10736         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10737         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10739         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10740         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10741         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10742         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10743         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10744         Moved ...
10745         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10746         ... here.
10747         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10748         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10749         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10750         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10751         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10752         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10753         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10754         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10755         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10756         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10757         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10758         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10759         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10760         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10761         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10762         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10763         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10764         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10765         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10766         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10767         ... here.
10768         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10769         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10770         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10771         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10772         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10773         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10774         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10775         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10777 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
10779         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10780         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10781         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10782         Add sysdep.
10784 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10788 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
10790         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10791         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10793         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10795         * sysdeps/arm/libm-test-ulps: Regenerated.
10797 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
10798             Roland McGrath <roland@hack.frob.com>
10800         * test-skeleton.c (signal_handler): Kill the whole process group
10801         before killing the child individually.
10802         (main): Report any failure on `setpgid'.
10804 2014-06-30  Roland McGrath  <roland@hack.frob.com>
10806         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10807         from _TLS_H to _ARM_NPTL_TLS_H.
10808         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10809         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10811 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
10813         [BZ #16539]
10814         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10815         (__expm1l): Return argument unchanged when small but not
10816         subnormal.
10818         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10819         include macro name.
10820         (_FP_UNPACK_RAW_1_P): Likewise.
10821         (_FP_PACK_RAW_1): Likewise.
10822         (_FP_PACK_RAW_1_P): Likewise.
10823         (_FP_MUL_MEAT_1_wide): Likewise.
10824         (_FP_MUL_MEAT_DW_1_hard): Likewise.
10825         (_FP_MUL_MEAT_1_hard): Likewise.
10826         (_FP_DIV_MEAT_1_imm): Likewise.
10827         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10828         (_FP_DIV_MEAT_1_udiv): Likewise.
10829         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10830         (_FP_UNPACK_RAW_2): Likewise.
10831         (_FP_UNPACK_RAW_2_P): Likewise.
10832         (_FP_PACK_RAW_2): Likewise.
10833         (_FP_PACK_RAW_2_P): Likewise.
10834         (_FP_MUL_MEAT_DW_2_wide): Likewise.
10835         (_FP_MUL_MEAT_2_wide): Likewise.
10836         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10837         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10838         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10839         (_FP_MUL_MEAT_2_gmp): Likewise.
10840         (_FP_DIV_MEAT_2_udiv): Likewise.
10841         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10842         (_FP_FRAC_SRL_4): Likewise.
10843         (_FP_FRAC_SRST_4): Likewise.
10844         (_FP_FRAC_SRS_4): Likewise.
10845         (_FP_UNPACK_RAW_4): Likewise.
10846         (_FP_UNPACK_RAW_4_P): Likewise.
10847         (_FP_PACK_RAW_4): Likewise.
10848         (_FP_PACK_RAW_4_P): Likewise.
10849         (_FP_MUL_MEAT_DW_4_wide): Likewise.
10850         (_FP_MUL_MEAT_4_wide): Likewise.
10851         (_FP_MUL_MEAT_4_gmp): Likewise.
10852         (umul_ppppmnnn): Likewise.
10853         (_FP_DIV_MEAT_4_udiv): Likewise.
10854         (__FP_FRAC_ADD_4): Likewise.
10855         (__FP_FRAC_SUB_3): Likewise.
10856         (__FP_FRAC_SUB_4): Likewise.
10857         (__FP_FRAC_DEC_3): Likewise.
10858         (__FP_FRAC_DEC_4): Likewise.
10859         (__FP_FRAC_ADDI_4): Likewise.
10860         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10861         (_FP_FRAC_SRL_8): Likewise.
10862         (_FP_FRAC_SRS_8): Likewise.
10864         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10865         include macro name.
10866         (FP_UNPACK_RAW_EP): Likewise.
10867         (FP_PACK_RAW_E): Likewise.
10868         (FP_PACK_RAW_EP): Likewise.
10869         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10870         (_FP_ISSIGNAN): Likewise.
10871         (_FP_ADD_INTERNAL): Likewise.
10872         (_FP_FMA): Likewise.
10873         (_FP_CMP): Likewise.
10874         (_FP_SQRT): Likewise.
10875         (_FP_TO_INT): Likewise.
10876         (_FP_FROM_INT): Likewise.
10877         (FP_EXTEND): Likewise.
10878         (_FP_DIV_MEAT_N_loop): Likewise.
10880 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
10882         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10883         throughout.
10885 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
10887         [BZ #17097]
10888         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10889         result with correct sign in case of exponents that produce
10890         overflow except for X very close to 1.
10892 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
10894         mktime: merge #if/#ifdef usage from glibc
10895         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10896         as that works with both Glibc's and Gnulib's style.
10897         See thread starting at Siddhesh Poyarekar's bug report at:
10898         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10900 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10902         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10903         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10904         * sysdeps/tile/tilegx/memmove.c: Remove file.
10906 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10908         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10909         abi-name definition.
10910         * scripts/soversions.awk: Do not handle or generate ABI lines.
10911         * shlib-versions: Remove ABI entries.
10912         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10913         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10915 2014-06-27  Roland McGrath  <roland@hack.frob.com>
10917         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10918         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10919         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10920         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10922         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10924         Moved ...
10925         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10926         ... here.
10927         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10928         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10929         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10930         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10932         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10934         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10935         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10936         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10938         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10940         Moved ...
10941         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10942         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10943         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10944         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10945         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10946         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10947         Moved ...
10948         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10950         Moved ...
10951         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10952         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10953         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10955         Moved ...
10956         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10957         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10958         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10959         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10960         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10961         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10962         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10963         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10964         Moved ...
10965         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10966         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10967         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10968         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10969         Moved ...
10970         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10971         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10972         Moved ...
10973         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10974         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10975         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10976         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10977         Moved ...
10978         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10979         ... here.
10980         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10981         Identical file removed.
10982         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10983         Moved ...
10984         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10985         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10986         Identical file removed.
10987         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10988         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10989         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10990         Moved ...
10991         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10992         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10993         Identical file removed.
10994         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10995         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10996         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10997         Identical file removed.
10998         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10999         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11000         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11001         Identical file removed.
11002         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11003         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11004         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11005         Identical file removed.
11006         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11007         Moved ...
11008         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11009         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11010         Identical file removed.
11011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11012         Moved ...
11013         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11014         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11015         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11016         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11017         Identical file removed.
11018         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11019         Moved ...
11020         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11021         ... here.
11022         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11023         Identical file removed.
11024         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11025         Moved ...
11026         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11027         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11028         Identical file removed.
11029         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11030         Moved ...
11031         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11032         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11033         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11034         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11035         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11036         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11037         Moved ...
11038         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11039         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11040         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11042         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11043         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11044         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11045         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11046         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11048 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
11050         [BZ #17092]
11051         * nscd/nscd.c (monitor_child): Return exit status of child
11052         instead of return value from wait syscall.
11054 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
11056         * configure.ac (libc_commonpagesize): Remove variable.
11057         (libc_relro_required): Likewise.
11058         (libc_cv_z_relro): Remove configure test.
11059         * configure: Regenerated.
11060         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11061         variable.
11062         (libc_relro_required): Likewise.
11063         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11064         (libc_relro_required): Likewise.
11065         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11066         (libc_relro_required): Likewise.
11067         * sysdeps/arm/preconfigure: Regenerated.
11068         * sysdeps/ia64/preconfigure: Remove file.
11069         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11070         variable.
11071         (libc_relro_required): Likewise.
11073         [BZ #16561]
11074         [BZ #16562]
11075         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11076         (__ieee754_yn): Set FE_TONEAREST mode internally and then
11077         recompute overflowing results in original rounding mode.
11078         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11079         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11080         recompute overflowing results in original rounding mode.
11081         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11082         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11083         recompute overflowing results in original rounding mode.
11084         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11085         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11086         recompute overflowing results in original rounding mode.
11087         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11088         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11089         recompute overflowing results in original rounding mode.
11090         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11091         (libc_feholdsetround_ctx): New macro.
11092         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11093         * sysdeps/i386/fpu/libm-test-ulps: Update.
11094         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11096 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11098         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11099         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11100         corresponding .cpsetup call.
11102 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11104         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11105         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11106         * sysdeps/arm/Makefile [$(subdir) = csu]
11107         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11108         (static-only-routines): Add aeabi_read_tp here.
11109         (shared-only-routines): Add libc-aeabi_read_tp here.
11110         (CFLAGS-libc-start.c): Add -fexceptions here.
11111         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11112         (sysdep_routines, static-only-routines, shared-only-routines):
11113         Don't add to these here.
11114         (CFLAGS-libc-start.c): Likewise.
11116         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11117         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11118         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
11119         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11120         * sysdeps/arm/Makefile [$(subdir) = rt]
11121         (librt-sysdep_routines, librt-shared-only-routines):
11122         Append rt-aeabi_unwind_cpp_pr1 here.
11123         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
11124         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
11125         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
11126         (libpthread-sysdep_routines, libpthread-shared-only-routines):
11127         Append nptl-aeabi_unwind_cpp_pr1 here.
11128         (tests): Filter out tst-cleanupx4 here.
11129         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
11130         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
11131         Don't do those here.
11133 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11135         * scripts/list-sources.sh: Do not handle ports specially.
11137 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11139         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
11140         * sysdeps/arm/feupdateenv.c: Likewise.
11142         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11144 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11146         * manual/texinfo.tex: Update to version 2014-05-05.10 with
11147         trailing whitespace removed.
11148         * scripts/config.guess: Update to version 2014-03-23.
11149         * scripts/config.sub: Update to version 2014-05-01
11150         * scripts/install-sh: Update to version 2013-12-25.23.
11151         * scripts/move-if-change: Update from gnulib.
11153 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11155         * debug/memmove_chk.c: Remove pagecopy.h include.
11157 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
11159         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
11160         identical to gnulib mktime.
11162 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11164         * configure.ac: Do not test for machine being rs6000.  Do not test
11165         for powerpc*-*soft.
11166         * configure: Regenerated.
11168         [BZ #11505]
11169         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11170         test.
11171         * configure: Regenerated.
11172         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11173         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11174         Remove configure test.
11175         * sysdeps/arm/configure: Regenerated.
11176         * sysdeps/nptl/configure.ac: Do not check
11177         libc_cv_asm_cfi_directives.
11178         * sysdeps/nptl/configure: Regenerated.
11179         * sysdeps/x86_64/nptl/configure.ac: Remove file.
11180         * sysdeps/x86_64/nptl/configure: Remove generated file.
11181         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11182         unconditional.
11183         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11185 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11187         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11188         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11189         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11190         it is defined.
11192         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11193         instead of whether it is defined.
11194         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11195         * sysdeps/hppa/dl-machine.h: Likewise.
11196         * sysdeps/ia64/dl-machine.h: Likewise.
11197         * sysdeps/m68k/dl-machine.h: Likewise.
11198         * sysdeps/microblaze/dl-machine.h: Likewise.
11199         * sysdeps/mips/dl-machine.: Likewise.
11200         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11201         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11202         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11203         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11204         * sysdeps/sh/dl-machine.h: Likewise.
11205         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11206         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11207         * sysdeps/tile/dl-machine.h: Likewise.
11208         * sysdeps/x86_64/dl-machine.h: Likewise.
11210         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11211         code.
11212         (verify_persistent_db): Likewise.
11214 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11217         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11219         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11221         Moved ...
11222         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11223         ... here.
11224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11225         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11227         Identical file removed.
11228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11229         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11231         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11233         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11235         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11237         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11239         Moved ...
11240         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11242         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11244         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11246         Moved ...
11247         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11249         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11251         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11253         Identical file removed.
11254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11255         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11257         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11259         Moved ...
11260         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11261         ... here.
11262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11263         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11265         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11266         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11267         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11269         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11271         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11273         Moved ...
11274         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11276         Moved ...
11277         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11279         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11281         Moved ...
11282         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11284         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11286         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11287         folded into ...
11288         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11289         * sysdeps/unix/sysv/linux/s390/Versions
11290         (libpthread: GLIBC_2.19): New version set.
11291         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11292         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11293         (librt: GLIBC_2.3.3): New version set.
11294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11295         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11296         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11297         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11298         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11299         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11300         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11301         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11302         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11303         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11304         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11305         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11306         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11307         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11308         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11309         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11310         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11311         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11312         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11313         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11314         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11315         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11316         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11317         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11318         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11319         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11320         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11321         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11322         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11323         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11324         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11325         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11326         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11327         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11328         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11329         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
11330         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
11331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
11332         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
11333         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
11334         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
11335         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
11336         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
11337         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
11338         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
11340         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
11341         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11342         (__libc_vfork): Define the function under this name.
11343         [!NOT_IN_libc] (__vfork): Make this an alias.
11344         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11345         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11346         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
11347         (__libc_vfork): Define the function under this name.
11348         [!NOT_IN_libc] (__vfork): Make this an alias.
11349         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11350         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11351         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11353         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11354         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11356         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11357         code that was previously under [RESET_PID].
11358         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11359         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11360         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11362         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11363         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11364         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11365         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11366         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11367         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11368         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11369         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11370         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11371         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11372         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11373         Moved ...
11374         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11375         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11376         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11377         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11378         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11379         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11380         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11381         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11382         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11383         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11384         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11385         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11386         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11387         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11388         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11389         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11390         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11391         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11392         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11393         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11394         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11395         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11396         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11397         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11398         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11399         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11400         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11401         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11402         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11404 2014-06-25  Roland McGrath  <roland@hack.frob.com>
11406         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11407         that was previously under [RESET_PID].
11408         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11410 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11412         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11413         not undefine and redefine.
11414         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11415         [O_CLOEXEC]: Make code unconditional.
11416         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11417         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11418         <kernel-features.h>.
11419         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11420         conditional variable definition.
11421         (shm_open) [O_CLOEXEC]: Make code unconditional.
11422         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11423         code.
11425         * configure.ac (USE_REGPARMS): Don't define here.
11426         * configure: Regenerated.
11427         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11428         * sysdeps/i386/configure: Regenerated.
11430         * nptl/createthread.c: Don't include kernel-features.h.
11431         * nptl/pthread_cancel.c: Likewise.
11432         * nptl/pthread_condattr_setclock.c: Likewise.
11433         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11434         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11435         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11436         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11437         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11438         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11439         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11440         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11441         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11442         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11443         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11444         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11445         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11446         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11447         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11448         * nscd/gai.c: Likewise.
11449         * nss/nss_db/db-open.c: Likewise.
11450         * sysdeps/generic/ldsodefs.h: Likewise.
11451         * sysdeps/sh/nptl/tls.h: Likewise.
11452         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11453         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11454         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11455         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11456         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11457         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11458         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11459         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11460         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11461         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11462         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11463         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11464         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11465         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11466         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11467         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11468         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11469         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11470         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11471         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11472         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11474         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11475         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11476         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11477         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11478         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11479         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11480         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11481         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11482         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11483         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11484         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11485         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11486         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11487         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11488         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11489         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11490         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11491         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11492         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11493         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11494         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11495         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11496         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11497         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11498         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11499         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11500         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11501         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11502         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11503         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11504         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11505         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11506         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11507         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11508         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11509         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
11522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
11523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
11524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
11530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
11531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11532         * sysdeps/unix/sysv/linux/pread.c: Likewise.
11533         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11534         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
11535         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11536         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11537         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
11538         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
11539         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
11540         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
11541         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11542         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11543         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11544         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
11545         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11546         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11547         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11548         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11549         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
11550         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
11551         * sysdeps/unix/sysv/linux/system.c: Likewise.
11552         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
11553         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11554         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11555         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11556         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11557         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11558         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11560         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
11561         * configure: Regenerated.
11562         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
11564         * configure.ac (base_machine): Do not set specially for particular
11565         machines here.
11566         * configure: Regenerated.
11567         * sysdeps/powerpc/preconfigure: Move machine and base_machine
11568         settings from configure.ac.
11569         * sysdeps/i386/preconfigure: New file.
11570         * sysdeps/s390/preconfigure: Likewise.
11571         * sysdeps/sh/preconfigure: Likewise.
11572         * sysdeps/sparc/preconfigure: Likewise.
11574 2014-06-25  Roland McGrath  <roland@hack.frob.com>
11576         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
11577         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
11578         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
11579         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
11580         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
11581         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
11582         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
11583         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11584         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
11585         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
11586         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
11587         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
11588         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
11589         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
11590         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
11591         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
11592         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
11593         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
11594         * sysdeps/sparc/sparc64/Makefile: ... appended here.
11596         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
11597         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
11598         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
11599         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
11600         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
11601         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
11602         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11603         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11604         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11605         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11606         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11607         * sysdeps/sparc/sparc32/sem_post.c: ... here.
11608         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11609         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11610         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11611         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11612         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11613         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11614         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11615         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11616         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11617         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11618         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11619         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11620         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11621         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11622         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11623         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11624         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11625         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11626         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11627         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11628         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11629         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11630         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11631         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11632         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11633         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11636         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11638         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11640         Moved ...
11641         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11642         ... here.
11643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11644         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11646         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11648         Moved ...
11649         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11651         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11653         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11655         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11657         Moved ...
11658         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11660         Moved ...
11661         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11663         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11665         Moved ...
11666         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11668         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11670         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11672         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11674         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11676         Moved ...
11677         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11678         ... here.
11679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11680         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11682         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11684         Moved ...
11685         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11687         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11689         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11691         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11693         Moved ...
11694         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11696         Moved ...
11697         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11699         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11701         Moved ...
11702         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11704         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11706         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11708 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11710         * timezone/checktab.awk: Update from tzcode 2014e.
11711         * timezone/private.h: Likewise.
11712         * timezone/tzfile.h: Likewise.
11713         * timezone/zdump.c: Likewise.
11714         * timezone/zic.c: Likewise.
11716         * sysdeps/unix/sysv/linux/kernel-features.h
11717         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11718         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11719         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11720         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11721         Remove conditional code.
11723 2014-06-25  Will Newton  <will.newton@linaro.org>
11725         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11726         (_dl_arm_cap_flags): Add HWCAP2 values.
11727         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11728         (_DL_HWCAP_COUNT): Increase to 37.
11729         (_DL_HWCAP_LAST): New define.
11730         (_DL_HWCAP2_LAST): New define.
11731         (_dl_procinfo): Add support for printing
11732         AT_HWCAP2 entries.
11733         (_dl_string_hwcap): Use _dl_hwcap_string.
11735 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11739 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11741         * README: Do not mention ports directory.
11743         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11744         Remove macro.
11745         * sysdeps/unix/sysv/linux/futimes.c: Do not include
11746         <kernel-features.h>.
11747         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11748         conditional variable definition.
11749         (__futimes): Update comment.
11750         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11751         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11753         [BZ #16560]
11754         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11755         arguments close to 0.
11756         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11757         Likewise.
11758         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11759         Likewise.
11760         * math/auto-libm-test-in: Add more tests of exp10.
11761         * math/auto-libm-test-out: Regenerated.
11762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11764         * sysdeps/unix/sysv/linux/kernel-features.h
11765         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11766         * sysdeps/unix/sysv/linux/readv.c: Do not include
11767         <kernel-features.h>.
11768         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11769         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11770         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11771         unconditional.
11772         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11773         conditional code.
11774         * sysdeps/unix/sysv/linux/writev.c: Do not include
11775         <kernel-features.h>.
11776         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11777         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11778         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11779         unconditional.
11780         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11781         conditional code.
11783 2014-06-25  Will Newton  <will.newton@linaro.org>
11785         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11786         comment changes throughout the file.  Remove checks
11787         for HAVE_*_H definitions that are not required.
11788         (__gen_tempname): Call abort if an unknown kind value is
11789         passed.
11791 2014-06-25  Andreas Schwab  <schwab@suse.de>
11793         [BZ #17086]
11794         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11795         scalbln, scalblnf, scalblnl in libc.
11797 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11799         [BZ #17086]
11800         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11801         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11802         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11804 2014-06-24  Roland McGrath  <roland@hack.frob.com>
11806         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11807         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11808         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11809         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11810         Update #include.
11811         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11812         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11813         Update #include.
11814         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11815         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11816         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11817         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11818         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11819         * sysdeps/x86/bits/pthreadtypes.h: ... here.
11820         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11821         * sysdeps/x86/bits/semaphore.h: ... here.
11822         * sysdeps/x86/nptl/elide.h: Moved ...
11823         * sysdeps/x86/elide.h: ... here.
11824         * sysdeps/x86_64/nptl/Implies: File removed.
11825         * sysdeps/i386/nptl/Implies: File removed.
11827 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
11829         [BZ #16539]
11830         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11831         return the argument for normal arguments with exponent below -64.
11832         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11833         Likewise.
11834         * math/auto-libm-test-in: Add another test of expm1.
11835         * math/auto-libm-test-out: Regenerated.
11837         [BZ #16287]
11838         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11839         calling __erfcl for arguments at least 16.
11840         * math/auto-libm-test-in: Add more tests of erf.
11841         * math/auto-libm-test-out: Regenerated.
11843         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11844         individual architectures.
11845         * sysdeps/unix/sysv/linux/configure: Regenerated.
11846         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11847         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11848         * sysdeps/unix/sysv/linux/powerpc/configure.ac
11849         (ldd_rewrite_script): Define variable.
11850         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11852         file.
11853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11854         generated file.
11855         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11856         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11857         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11858         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11859         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11860         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11861         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11862         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11864 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11866         [BZ #17084]
11867         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11868         Rename member __data.d to __data.__elision_data.
11870 2014-06-24  Wilco  <wdijkstr@arm.com>
11872         * NEWS: Add 16918 to fixed bug list.
11874 2014-06-24  Wilco  <wdijkstr@arm.com>
11876         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11878 2014-06-24  Wilco  <wdijkstr@arm.com>
11880         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11881         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11882         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11883         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11884         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11885         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11886         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11887         Use _FPU_MASK_RM.
11889 2014-06-24  Wilco  <wdijkstr@arm.com>
11891         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11893 2014-06-24  Wilco  <wdijkstr@arm.com>
11895         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11896         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11897         * sysdeps/arm/fesetround.c (fesetround): Remove space.
11898         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11900 2014-06-24  Wilco  <wdijkstr@arm.com>
11902         [BZ #16918]
11903         * sysdeps/arm/feupdateenv.c (feupdateenv):
11904         Rewrite to reduce FPSCR accesses and fix return value.
11906 2014-06-24  Wilco  <wdijkstr@arm.com>
11908         * sysdeps/arm/fclrexcpt.c (feclearexcept):
11909         Optimize to avoid unnecessary FPSCR writes.
11910         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11911         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11912         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11913         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11915 2014-06-24  Wilco  <wdijkstr@arm.com>
11917         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11918         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11919         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11920         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11921         Call libc_fetestexcept_vfp.
11922         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11923         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11924         __SOFTFP__ ifdef so that they can be built for softfp.
11926 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11928         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11929         argument type signed char.
11931         * Makerules (check-abi): Dump diff of symlist if the test
11932         fails.
11934 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11936         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11937         using abort.
11939         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11940         Remove unused variable ST.
11942 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11944         [BZ #16354]
11945         [BZ #17061]
11946         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11947         small arguments before calling __expm1.
11948         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11949         small arguments before calling __expm1f.
11950         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11951         small arguments before calling __expm1l.
11952         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11953         Likewise.
11954         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11955         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
11956         spurious underflow for some cosh tests.
11957         * math/auto-libm-test-out: Regenerated.
11958         * sysdeps/i386/fpu/libm-test-ulps: Update.
11960         [BZ #17050]
11961         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11962         (__ieee754_y1): Set errno if return value overflows.
11963         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11964         (__ieee754_y1f): Set errno if return value overflows.
11965         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11966         (__ieee754_y1l): Set errno if return value overflows.
11967         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11968         (__ieee754_y1l): Set errno if return value overflows.
11969         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11970         * math/auto-libm-test-out: Regenerated.
11972         * math/gen-auto-libm-tests.c: Document use of
11973         ignore-zero-inf-sign.
11974         (input_flag_type): Add value flag_ignore_zero_inf_sign.
11975         (input_flags): Add ignore-zero-inf-sign.
11976         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11977         * math/gen-libm-test.pl (generate_testfile): Handle
11978         ignore-zero-inf-sign.
11979         * math/auto-libm-test-in: Mark some cpow tests with
11980         ignore-zero-inf-sign and some with xfail-rounding.
11981         * math/auto-libm-test-out: Regenerated.
11982         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11983         * sysdeps/i386/fpu/libm-test-ulps: Update.
11984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11986         [BZ #16315]
11987         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11988         overflowing or underflowing operations take place with sign of
11989         result.
11990         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11991         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11992         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11993         (__ieee754_pow): Recompute overflowing and underflowing results in
11994         original rounding mode.
11995         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11996         (__powl_helper): Allow negative argument X and scale negated value
11997         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
11998         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11999         overflowing or underflowing operations take place with sign of
12000         result.
12001         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12002         Include <math.h>.
12003         * math/auto-libm-test-in: Add more tests of pow.
12004         * math/auto-libm-test-out: Regenerated.
12005         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12006         (pow_tonearest_test_data): Remove.
12007         (pow_test_tonearest): Likewise.
12008         (pow_towardzero_test_data): Likewise.
12009         (pow_test_towardzero): Likewise.
12010         (pow_downward_test_data): Likewise.
12011         (pow_test_downward): Likewise.
12012         (pow_upward_test_data): Likewise.
12013         (pow_test_upward): Likewise.
12014         (main): Don't call removed functions.
12015         * sysdeps/i386/fpu/libm-test-ulps: Update.
12016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12018 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12021         Moved ...
12022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12024         Moved ...
12025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12027         Moved ...
12028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12030         Moved ...
12031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12033         File removed.
12034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12035         File removed.
12036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12037         File removed.
12038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12039         File removed.
12040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12041         File removed.
12042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12043         File removed.
12044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12045         File removed.
12046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12047         File removed.
12048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12049         File removed.
12050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12051         File removed.
12052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12053         File removed.
12054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12055         File removed.
12056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12057         Moved ...
12058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12060         Moved ...
12061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12062         ... here.
12063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12064         Moved ...
12065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12067         Moved ...
12068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12070         Moved ...
12071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12073         Moved ...
12074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12076         Moved ...
12077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12079         Moved ...
12080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12082         Moved ...
12083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12086         ... here.
12087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12088         Moved ...
12089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12091         Moved ...
12092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12093         ... here.
12094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12095         Moved ...
12096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12097         ... here.
12098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12099         Moved ...
12100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12101         ... here.
12102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12103         Moved ...
12104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12106         Moved ...
12107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12111         Moved ...
12112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12113         ... here.
12114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12115         Moved ...
12116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12117         ... here.
12118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12119         Moved ...
12120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
12121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12122         Moved ...
12123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
12124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12125         Moved ...
12126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
12127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12128         Moved ...
12129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
12130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12131         Moved ...
12132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12133         ... here.
12134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12135         Moved ...
12136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
12137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12138         Moved ...
12139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
12140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12141         Moved ...
12142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
12143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12144         Moved ...
12145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
12146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
12147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
12148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12149         Moved ...
12150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
12151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12152         Moved ...
12153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12155         Moved ...
12156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12157         ... here.
12158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12159         Moved ...
12160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12161         ... here.
12162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12163         Moved ...
12164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12165         ... here.
12166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12167         Moved ...
12168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12170         Moved ...
12171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12173         Moved ...
12174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12176         Moved ...
12177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12178         ... here.
12179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12180         Moved ...
12181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12182         ... here.
12183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12184         Moved ...
12185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12186         ... here.
12187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12188         Moved ...
12189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12191         Moved ...
12192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12194 2014-06-23  Will Newton  <will.newton@linaro.org>
12195             Wilco  <wdijkstr@arm.com>
12197         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12198         implementation.  Include get-rounding-mode.h.
12199         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12200         [!libc_feholdsetround_noex_ctx]: Define
12201         libc_feholdsetround_noex_ctx.
12202         [!libc_feholdsetround_noexf_ctx]: Define
12203         libc_feholdsetround_noexf_ctx.
12204         [!libc_feholdsetround_noexl_ctx]: Define
12205         libc_feholdsetround_noexl_ctx.
12206         (libc_feholdsetround_ctx): New function.
12207         (libc_feresetround_ctx): New function.
12208         (libc_feholdsetround_noex_ctx): New function.
12209         (libc_feresetround_noex_ctx): New function.
12211 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12213         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12214         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12215         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12216         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12217         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12218         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12220         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12221         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12222         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12223         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12224         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12225         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12226         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12227         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12228         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12229         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12230         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12231         Moved ...
12232         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12233         ... here.
12234         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12235         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12236         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12237         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12238         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12239         Moved ...
12240         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12241         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12242         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12243         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12244         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12245         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12246         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12248         Moved ...
12249         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12250         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12251         Moved ...
12252         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12253         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12254         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12255         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12256         Moved ...
12257         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12258         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12259         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12260         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12261         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12262         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12263         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12264         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12265         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12266         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12267         Moved ...
12268         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12269         ... here.
12270         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12271         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12272         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12273         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12274         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12275         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12276         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12277         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12278         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12279         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12280         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12281         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12282         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12283         Moved ...
12284         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12285         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12286         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12287         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12288         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12289         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12290         Moved ...
12291         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12292         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12293         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12294         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12295         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12297         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12298         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12299         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12300         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12301         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12302         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12303         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12304         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12305         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12306         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12307         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12308         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12309         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12310         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12311         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12312         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12313         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12314         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12315         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12316         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12317         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12318         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12319         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12320         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12321         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12322         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12323         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12324         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12326 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
12328         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12329         (FALLOC_FL_COLLAPSE_RANGE): New macro.
12330         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
12331         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
12332         (IPV6_PMTUDISC_INTERFACE): Likewise.
12333         (IPV6_PMTUDISC_OMIT): Likewise.
12335 2014-06-23  Andreas Schwab  <schwab@suse.de>
12337         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
12338         Remove unused errout label.
12340 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12342         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12343         macro: hardware supports Vector Crypto instructions.
12345 2014-06-23  Will Newton  <will.newton@linaro.org>
12347         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12348         rather than __builtin_expect.
12350         * elf/dl-lookup.c (undefined_msg): Remove variable.
12351         (_dl_lookup_symbol_x): Replace undefined_msg with string
12352         literal.
12354         * elf/dl-lookup.c (do_lookup_unique): New function.
12355         (do_lookup_x): Move STB_GNU_UNIQUE handling code
12356         to a separate function.
12358 2014-06-23  Andreas Schwab  <schwab@suse.de>
12360         [BZ #17079]
12361         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12362         before reading the next line.
12364 2014-06-23  Will Newton  <will.newton@linaro.org>
12366         * test-skeleton.c (signal_handler): Use printf and %m
12367         rather than perror.  Use printf rather than fprintf to
12368         stderr.  Use puts rather than fputs to stderr.
12369         (main): Likewise.
12371 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
12373         * nscd/nscd.c (thread_info_t): Remove typedef.
12374         (thread_info): Remove variable.
12376 2014-06-21  Allan McRae  <allan@archlinux.org>
12378         * NEWS: Mention CVE-2014-4043.
12380 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12382         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12383         * nptl/smp.h: ... here.
12385         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12387         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12388         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12389         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12390         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12392         * nptl/allocatestack.c: Include <stack-aliasing.h>.
12393         * nptl/stack-aliasing.h: New file.
12394         * sysdeps/i386/i686/stack-aliasing.h: New file.
12395         * sysdeps/i386/i686/nptl/Makefile: File removed.
12396         * sysdeps/x86_64/stack-aliasing.h: New file.
12397         * sysdeps/x86_64/nptl/Makefile
12398         (CFLAGS-pthread_create.c): Variable removed.
12400         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12401         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12402         old file.
12403         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12404         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12405         old file.
12407 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
12409         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12410         (__ASSUME_SIGFRAME_V2): Remove macro.
12411         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12412         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12413         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12414         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12415         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12416         Declare as function.  Remove conditional macro definitions.
12417         (__default_rt_sa_restorer): Likewise.
12418         (__default_sa_restorer_v1): Remove declaration.
12419         (__default_sa_restorer_v2): Likewise.
12420         (__default_rt_sa_restorer_v1): Likewise.
12421         (__default_rt_sa_restorer_v2): Likewise.
12422         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12423         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12424         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12426 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12428         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12429         (libpthread-routines): Add sysdep.
12430         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12431         * sysdeps/unix/sysv/linux/sparc/Versions
12432         (libpthread: GLIBC_2.3.3): New version set.
12433         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12434         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12435         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12436         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12437         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
12438         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12439         Moved ...
12440         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12441         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12442         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12443         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12444         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12445         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12446         * sysdeps/sparc/nptl/sem_init.c: ... here.
12447         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12448         * sysdeps/sparc/nptl/sem_post.c: ... here.
12449         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12450         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12451         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12452         * sysdeps/sparc/nptl/sem_wait.c: ... here.
12453         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12454         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12455         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12456         (libpthread-routines): Add cpu_relax.
12457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12458         File removed.
12459         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12460         (librt: GLIBC_2.3.3): New version set.
12461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12462         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12463         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12464         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12467         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12469         Moved ...
12470         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12472         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12474         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12476         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12478         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12480         Moved ...
12481         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12482         Update #include.
12483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12484         Moved ...
12485         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12486         Update #include.
12487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12488         Moved ...
12489         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12490         Update #include.
12491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12492         Moved ...
12493         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12494         Update #include.
12495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12496         Moved ...
12497         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12498         Update #include.
12499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12500         Moved ...
12501         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12502         Update #include.
12503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12504         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12505         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12506         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12507         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12508         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12509         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12510         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12512         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12514         Moved ...
12515         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
12516         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
12517         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
12518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
12519         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
12521 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12523         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
12524         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
12525         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12526         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
12527         * nscd/nscd.c: Likewise.
12528         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12529         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12530         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12531         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12533         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
12534         <kernel-features.h>.
12535         (init_mq_netlink): Remove conditional have_sock_cloexec
12536         definitions.  Remove code conditional on have_sock_cloexec < 0.
12537         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
12538         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
12539         * sysdeps/unix/sysv/linux/opensock.c: Do not include
12540         <kernel-features.h>.
12541         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
12542         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
12544 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
12546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12547         Add tests for memset_chk and memset.
12549         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
12550         with AVX2_Usable.
12552 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
12554         [BZ #16046]
12555         * elf/tst-dl-iter-static.c: New file.
12556         * elf/Makefile (tests-static): Add tst-dl-iter-static.
12558         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
12559         error.
12561 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12563         * sysdeps/unix/sysv/linux/kernel-features.h
12564         (__ASSUME_F_GETOWN_EX): Remove macro.
12565         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
12566         <kernel-features.h>.
12567         (miss_F_GETOWN_EX): Remove variable or macro.
12568         (do_fcntl): Do not check miss_F_GETOWN_EX.
12569         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
12571         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
12572         Remove macro.
12573         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
12574         [!__ASSUME_AT_RANDOM]: Remove conditional code.
12575         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
12577         * sysdeps/unix/sysv/linux/kernel-features.h
12578         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
12579         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
12580         [ADJ_OFFSET_SS_READ]: Make code unconditional.
12581         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
12583 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
12585         [BZ #17075]
12586         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
12587         Fix calculation of the symbol's value.
12588         * sysdeps/arm/tst-armtlsdescloc.c: New file.
12589         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
12590         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
12591         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
12592         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
12593         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
12594         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
12595         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
12596         (modules-names): Add `tst-armtlsdescmod',
12597         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
12598         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
12599         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12600         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
12601         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
12602         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12603         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12604         ($(objpfx)tst-armtlsdescloc): New dependency.
12605         ($(objpfx)tst-armtlsdescextnow): Likewise.
12606         ($(objpfx)tst-armtlsdescextlazy): Likewise.
12607         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12608         TLS scheme support.
12609         * sysdeps/arm/configure: Regenerate.
12611 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12613         * include/fcntl.h (__atfct_seterrno): Remove prototype.
12614         (__atfct_seterrno_2): Likewise.
12615         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12616         <kernel-features.h>.
12617         (__ASSUME_ATFCTS): Do not undefine and redefine.
12618         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12619         (__have_atfcts): Remove conditional definition.
12620         (__fxstatat([__NR_fstatat64]: Make code unconditional.
12621         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12622         unreachable if [__ASSUME_ATFCTS].
12623         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12624         not undefine and redefine.
12625         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12626         <kernel-features.h>.
12627         (faccessat) [__NR_faccessat]: Make code unconditional.
12628         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12629         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12630         <kernel-features.h>.
12631         (fchmodat) [__NR_fchmodat]: Make code unconditional.
12632         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12633         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12634         <kernel-features.h>.
12635         (fchownat) [__NR_fchownat]: Make code unconditional.
12636         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12637         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12638         <kernel-features.h>.
12639         (futimesat) [__NR_futimesat]: Make code unconditional.
12640         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12641         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12642         <kernel-features.h>.
12643         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12644         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12645         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12646         <kernel-features.h>.
12647         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12648         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12649         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12650         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12651         <kernel-features.h>.
12652         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12653         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12654         * sysdeps/unix/sysv/linux/linkat.c: Do not include
12655         <kernel-features.h>.
12656         (linkat) [__NR_linkat]: Make code unconditional.
12657         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12658         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12659         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12660         <kernel-features.h>.
12661         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12662         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12663         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12664         <kernel-features.h>.
12665         (mkdirat) [__NR_mkdirat]: Make code unconditional.
12666         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12667         * sysdeps/unix/sysv/linux/openat.c: Do not include
12668         <kernel-features.h>.
12669         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12670         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12671         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12672         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12673         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12674         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12675         <kernel-features.h>.
12676         (readlinkat) [__NR_readlinkat]: Make code unconditional.
12677         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
12678         result of INLINE_SYSCALL directly, not via int variable.
12679         * sysdeps/unix/sysv/linux/renameat.c: Do not include
12680         <kernel-features.h>.
12681         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12682         (renameat) [__NR_renameat]: Make code unconditional.
12683         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12684         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12685         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12686         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12687         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12688         (__ASSUME_ATFCTS): Do not undefine and redefine.
12689         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12690         <kernel-features.h>.
12691         (symlinkat) [__NR_symlinkat]: Make code unconditional.
12692         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12693         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12694         <kernel-features.h>.
12695         (unlinkat) [__NR_unlinkat]: Make code unconditional.
12696         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12697         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12698         (__ASSUME_ATFCTS): Do not undefine and redefine.
12699         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12700         <kernel-features.h>.
12701         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12702         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12703         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12704         <kernel-features.h>.
12705         (__xmknodat) [__NR_mknodat]: Make code unconditional.
12706         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12708 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
12710         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12712 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
12714         [BZ #17069]
12715         * posix/regcomp.c (parse_reg_exp): Deallocate partially
12716         constructed tree before returning error.
12717         * posix/bug-regexp36.c: Expand test case.
12719 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12721         [BZ #6803]
12722         * math/libm-test.inc (scalbln_test_date):
12723         Add errno expectations.
12724         * math/w_scalblnf.c: New File.
12725         Add wrapper which checks for setting errno to ERANGE.
12726         Add weak_alias for corresponding scalbln function.
12727         * math/w_scalbln.c: Likewise.
12728         * math/w_scalblnl.c: Likewise.
12729         * math/Makefile (libm-calls): Add w_scalbln.
12730         * sysdeps/ieee754/flt-32/s_scalblnf.c:
12731         Remove weak_alias for corresponding scalbln function.
12732         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12733         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12734         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12735         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12736         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12737         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12738         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12739         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12740         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12741         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12742         Remove long_double_symbol for scalblnl function in libm, libc.
12743         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12744         Add wrapper which checks for setting errno to ERANGE.
12745         Add long_double_symbol for scalblnl function in libm, libc.
12746         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12747         Remove long_double_symbol for scalblnl in libm.
12748         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12749         Add wrapper which checks for setting errno to ERANGE.
12750         Add long_double_symbol for scalblnl function in libm.
12751         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12752         Do not use wrapper because of own implementation.
12754 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
12756         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12757         3 bytes for __pad1 for x32.
12758         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12760 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
12761             H.J. Lu  <hongjiu.lu@intel.com>
12763         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12764         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12765         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12766         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12767         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12769 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
12771         [BZ #17069]
12772         * posix/regcomp.c (parse_expression): Deallocate partially
12773         constructed tree before returning error.
12774         * posix/Makefile.c (tests): Add bug-regex36.
12775         (generated): Add bug-regex36.mtrace.
12776         (tests-special): Add $(objpfx)bug-regex36-mem.out
12777         (bug-regex36-ENV): New variable.
12778         ($(objpfx)bug-regex36-mem.out): New rule.
12779         * posix/bug-regex36.c: New file.
12781 2014-06-19  Will Newton  <will.newton@linaro.org>
12783         * malloc/malloc.c (systrim): If extra is zero then return
12784         early.
12786 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12788         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12790 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
12792         * sysdeps/aarch64/strchr.S: New file.
12794 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
12796         [BZ #17022]
12797         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12798         from arguments -2 or below.
12799         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12800         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12802 2014-06-18  Andreas Schwab  <schwab@suse.de>
12804         [BZ #17062]
12805         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12806         of a bracket expr not to run off the end of the string.
12807         * posix/Makefile (tests): Add tst-fnmatch3.
12808         * posix/tst-fnmatch3.c: New file.
12810 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
12812         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12813         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12814         [$(cross-compiling) = no]: Likewise.
12815         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12816         [$(cross-compiling) = no]: Likewise.
12818 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12820         [BZ #17031]
12821         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12822         double, adjusted for any remainder from the high double.
12823         * math/libm-test.inc (nearbyint): Add tests.
12824         (rint): Likewise.
12826 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12828         * nptl/sysdeps/powerpc/Makefile: Moved ...
12829         * sysdeps/powerpc/nptl/Makefile: ... here.
12830         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12831         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12832         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12833         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12834         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12835         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12836         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12837         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12838         * nptl/sysdeps/powerpc/tls.h: Moved ...
12839         * sysdeps/powerpc/nptl/tls.h: ... here.
12841 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
12843         [BZ #16681]
12844         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12845         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12846         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12847         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12848         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12849         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12850         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12851         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12852         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12854 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
12856         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12858 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
12860         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12861         defined operator.
12863         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12864         $TIMEOUTFACTOR.
12866 2014-06-16  Florian Weimer  <fweimer@redhat.com>
12868         [BZ #17058]
12869         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12870         non-executed part of the test.
12872 2014-06-16  Andreas Schwab  <schwab@suse.de>
12874         * string/bits/string2.h (strdup, strndup): Update feature guard.
12876 2014-06-14  David S. Miller  <davem@davemloft.net>
12878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12880 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
12882         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12883         that was previously under [RESET_PID].
12884         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12886         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12887         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12888         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12889         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12890         (__libc_vfork): New strong alias.
12891         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12893 2014-06-14 Andi Kleen  <ak@linux.intel.com>
12895         * sysdeps/generic/elide.h: New file.
12897 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12899         * Makefile (installed-headers): Adjust path of pthread.h header.
12901 2014-06-13  Roland McGrath  <roland@hack.frob.com>
12903         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12904         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12905         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12906         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12908         * nptl/sysdeps/s390/Makefile: Moved ...
12909         * sysdeps/s390/nptl/Makefile: ... here.
12910         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12911         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12912         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12913         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12914         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12915         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12916         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12917         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12918         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12919         * sysdeps/s390/nptl/pthreaddef.h: ... here.
12920         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12921         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12922         * nptl/sysdeps/s390/tls.h: Moved ...
12923         * sysdeps/s390/nptl/tls.h: ... here.
12925         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12926         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12928 2014-06-13  David S. Miller  <davem@davemloft.net>
12930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12933         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12935         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12937         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12938         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12939         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12940         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12941         Remove RESET_PID cpp guards.
12942         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12943         Remove RESET_PID cpp guards.
12944         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12946 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
12948         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12949         __sp to uintptr_t.
12951 2014-06-13  Andi Kleen  <ak@linux.intel.com>
12953         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12954         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12955         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12956         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12957         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12958         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12959         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12960         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12961         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12962         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12963         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12964         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12965         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12966         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12967         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12968         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12969         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12970         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12971         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12972         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12974         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12975         (pthread_rwlock_rdlock): Add elision.
12976         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12977         (pthread_rwlock_wrlock): Add elision.
12978         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12979         (pthread_rwlock_trywrlock): Add elision.
12980         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12981         (pthread_rwlock_tryrdlock): Add elision.
12982         * nptl/pthread_rwlock_unlock.c: Include elide.h.
12983         (pthread_rwlock_tryrdlock): Add elision unlock.
12984         * nptl/sysdeps/pthread/pthread.h:
12985         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12986         (PTHREAD_RWLOCK_INITIALIZER,
12987         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12988         Handle new elision field.
12989         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12990         * sysdeps/arm/nptl/bits/pthreadtypes.h
12991         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12992         * sysdeps/sh/nptl/bits/pthreadtypes.h
12993         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12994         * sysdeps/tile/nptl/bits/pthreadtypes.h
12995         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12996         * sysdeps/a/nptl/bits/pthreadtypes.h
12997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12998         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12999         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13000         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13001         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13002         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13003         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13004         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13005         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13006         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13007         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13008         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13009         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13010         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13011         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13012         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13013         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13014         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13015         (elision_init): Set try_xbegin to zero when no RTM.
13016         * sysdeps/x86/nptl/bits/pthreadtypes.h
13017         (pthread_rwlock_t): Change __pad1 to __rwelision.
13018         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13020 2014-06-13  Andi Kleen  <ak@linux.intel.com>
13022         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13023         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13024         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13025         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13027 2014-06-13  Meador Inge  <meadori@codesourcery.com>
13029         [BZ #16996]
13030         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
13031         that the cached result has been set before returning it.
13033 2014-06-12  Roland McGrath  <roland@hack.frob.com>
13035         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13036         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13037         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13038         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13039         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13040         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13042         * nptl/sysdeps/sparc/Makefile: Moved ...
13043         * sysdeps/sparc/nptl/Makefile: ... here.
13044         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13045         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13046         * nptl/sysdeps/sparc/tls.h: Moved ...
13047         * sysdeps/sparc/nptl/tls.h: ... here.
13048         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13049         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13050         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13051         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13052         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13053         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13054         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13055         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13056         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13057         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13058         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13059         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13060         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13061         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13062         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13063         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13064         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13065         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13066         Update #include.
13067         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13068         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13069         Update #include.
13070         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13071         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13072         Update #include.
13073         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13074         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13075         Update #include.
13077         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13079         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13080         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13082         * sysdeps/pthread/posix-timer.h: Include <list.h>.
13083         (struct list_links): Type removed.
13084         (struct thread_node, struct timer_node): Replace struct list_links
13085         with struct list_head.
13086         (list_unlink_ip): Likewise.
13087         * sysdeps/pthread/timer_routines.c
13088         (timer_free_list, thread_free_list, thread_active_list): Likewise.
13089         (list_append, list_insbefore): Likewise.
13090         (list_init): Function removed.
13091         (thread_init, init_module): Use INIT_LIST_HEAD instead.
13092         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13093         * sysdeps/pthread/Makefile: ... here, new file.
13095         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13096         * sysdeps/nptl/Implies: ... here.
13097         * sysdeps/unix/sysv/linux/Implies: Add nptl.
13098         * nptl/sysdeps/pthread/list.h: Moved ...
13099         * include/list.h: ... here.
13100         * nptl/sysdeps/pthread/createthread.c: Moved ...
13101         * nptl/createthread.c: ... here.
13102         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13103         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13104         * nptl/pt-longjmp.c: ... here.
13105         * nptl/sysdeps/pthread/Makefile: Moved ...
13106         * sysdeps/nptl/Makefile: ... here.
13107         * nptl/sysdeps/pthread/Subdirs: Moved ...
13108         * sysdeps/nptl/Subdirs: ... here.
13109         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13110         * sysdeps/nptl/aio_misc.h: ... here.
13111         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13112         * sysdeps/nptl/bits/libc-lock.h: ... here.
13113         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13114         * sysdeps/nptl/bits/libc-lockP.h: ... here.
13115         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13116         * sysdeps/nptl/bits/stdio-lock.h: ... here.
13117         * nptl/sysdeps/pthread/configure: Moved ...
13118         * sysdeps/nptl/configure: ... here.
13119         * nptl/sysdeps/pthread/configure.ac: Moved ...
13120         * sysdeps/nptl/configure.ac: ... here.
13121         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
13122         * sysdeps/nptl/gai_misc.h: ... here.
13123         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
13124         * sysdeps/nptl/librt-cancellation.c: ... here.
13125         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
13126         * sysdeps/nptl/malloc-machine.h: ... here.
13127         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
13128         * sysdeps/nptl/pthread-functions.h: ... here.
13129         * nptl/sysdeps/pthread/pthread.h: Moved ...
13130         * sysdeps/nptl/pthread.h: ... here.
13131         * nptl/sysdeps/pthread/setxid.h: Moved ...
13132         * sysdeps/nptl/setxid.h: ... here.
13133         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
13134         * sysdeps/nptl/sigfillset.c: ... here.
13135         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
13136         * sysdeps/nptl/tcb-offsets.h: ... here.
13137         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
13138         * sysdeps/nptl/tst-mqueue8x.c: ... here.
13139         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
13140         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
13141         * nptl/sysdeps/pthread/allocalim.h: Moved ...
13142         * sysdeps/pthread/allocalim.h: ... here.
13143         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
13144         * sysdeps/pthread/bits/sigthread.h: ... here.
13145         * nptl/sysdeps/pthread/flockfile.c: Moved ...
13146         * sysdeps/pthread/flockfile.c: ... here.
13147         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
13148         * sysdeps/pthread/ftrylockfile.c: ... here.
13149         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
13150         * sysdeps/pthread/funlockfile.c: ... here.
13151         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
13152         * sysdeps/pthread/posix-timer.h: ... here.
13153         * nptl/sysdeps/pthread/timer_create.c: Moved ...
13154         * sysdeps/pthread/timer_create.c: ... here.
13155         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13156         * sysdeps/pthread/timer_delete.c: ... here.
13157         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13158         * sysdeps/pthread/timer_getoverr.c: ... here.
13159         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13160         * sysdeps/pthread/timer_gettime.c: ... here.
13161         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13162         * sysdeps/pthread/timer_routines.c: ... here.
13163         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13164         * sysdeps/pthread/timer_settime.c: ... here.
13165         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13166         * sysdeps/pthread/tst-timer.c: ... here.
13167         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13168         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13170         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13171         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13173         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13174         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13175         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13176         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13177         Update #include target.
13178         * nptl/sysdeps/i386/i686/Makefile: Moved ...
13179         * sysdeps/i386/i686/nptl/Makefile: ... here.
13180         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13181         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13182         Update #include target.
13183         * nptl/sysdeps/i386/i686/tls.h: Moved ...
13184         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
13185         * nptl/sysdeps/i386/Makefile: Moved ...
13186         * sysdeps/i386/nptl/Makefile: ... here.
13187         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13188         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13189         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13190         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13191         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13192         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13193         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13194         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13195         * sysdeps/i386/nptl/pthreaddef.h: ... here.
13196         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13197         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13198         * nptl/sysdeps/i386/tls.h: Moved ...
13199         * sysdeps/i386/nptl/tls.h: ... here.
13201         * sysdeps/sh/Makefile [$(subdir) = csu]
13202         (gen-as-const-headers): Add tcb-offsets.sym.
13203         * nptl/sysdeps/sh/Makefile: File removed.
13204         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13205         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13206         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13207         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13208         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13209         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13210         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13211         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13212         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13213         * sysdeps/sh/nptl/pthreaddef.h: ... here.
13214         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13215         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13216         * nptl/sysdeps/sh/tls.h: Moved ...
13217         * sysdeps/sh/nptl/tls.h: ... here.
13218         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13219         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13220         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13221         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13222         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13223         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13224         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13225         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13226         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13227         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13228         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13229         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13230         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13231         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13232         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13233         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13234         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13235         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13236         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13237         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13238         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13239         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13240         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13241         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13242         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13243         Moved ...
13244         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13245         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13246         Moved ...
13247         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13248         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13249         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13250         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13251         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13252         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13253         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13254         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13255         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13256         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13257         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13258         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13259         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13260         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13261         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13262         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13263         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13264         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13265         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13267 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13269         * posix/spawn_faction_addopen.c: Include string.h.
13271 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13273         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13274         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13275         * nptl/sysdeps/x86_64/Makefile: Moved ...
13276         * sysdeps/x86_64/nptl/Makefile: ... here.
13277         * nptl/sysdeps/x86_64/configure: Moved ...
13278         * sysdeps/x86_64/nptl/configure: ... here.
13279         * nptl/sysdeps/x86_64/configure.ac: Moved ...
13280         * sysdeps/x86_64/nptl/configure.ac: ... here.
13281         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13282         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13283         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13284         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13285         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13286         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13287         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13288         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13289         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13290         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13291         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13292         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13293         * nptl/sysdeps/x86_64/tls.h: Moved ...
13294         * sysdeps/x86_64/nptl/tls.h: ... here.
13295         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13296         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13297         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13298         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13300         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13302 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13306 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
13308         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13309         type.
13310         [POSIX] (off_t): Likewise.
13311         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13312         [POSIX] (S_ISBLK): Require macro.
13313         [POSIX] (S_ISCHR): Likewise.
13314         [POSIX] (S_ISDIR): Likewise.
13315         [POSIX] (S_ISFIFO): Likewise.
13316         [POSIX] (S_ISREG): Likewise.
13317         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13318         optional-macro.
13319         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13320         type.
13321         [POSIX] (time_t): Likewise.
13322         [POSIX] (timer_t): Likewise.
13324 2014-06-11  Florian Weimer  <fweimer@redhat.com>
13326         [BZ #17048]
13327         * posix/spawn_int.h (struct __spawn_action): Make the path string
13328         non-const to support deallocation.
13329         * posix/spawn_faction_addopen.c
13330         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
13331         * posix/spawn_faction_destroy.c
13332         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
13333         path in all spawn_do_open actions.
13334         * posix/tst-spawn.c (do_test): Exercise the copy operation in
13335         posix_spawn_file_actions_addopen.
13337 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
13339         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
13340         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
13341         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13342         conditional code always true.
13343         (__libc_vfork): New alias.
13345 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13347         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13348         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13350         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13352         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13353         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13355         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13356         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13358         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13359         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13361 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13363         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13364         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13365         multiarch strcmp for PPC64.
13366         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13367         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13369         multiarch optimizations.
13370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13371         (__libc_ifunc_impl_list): Likewise.
13373 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13375         * benchtests/scripts/validate_benchout.py: New script.
13376         * benchtests/Makefile (bench-func): Call it.
13377         * benchtests/scripts/benchout.schema.json: New file.
13379 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
13381         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13382         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13383         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13384         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13385         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13386         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13387         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13388         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13389         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13390         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13391         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13392         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13393         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13394         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13395         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13396         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
13398         Moved ...
13399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
13400         ... here.
13401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
13402         Moved ...
13403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
13405         Moved ...
13406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
13407         ... here.
13408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
13409         Moved ...
13410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
13411         ... here.
13412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
13413         Moved ...
13414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
13416         Moved ...
13417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
13418         ... here.
13419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
13420         Moved ...
13421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
13422         ... here.
13423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
13424         Moved ...
13425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
13427         Moved ...
13428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
13429         ... here.
13430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
13431         Moved ...
13432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
13433         ... here.
13434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
13435         Moved ...
13436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
13437         ... here.
13438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
13439         Moved ...
13440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
13442         Moved ...
13443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
13444         ... here.
13445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
13446         Moved ...
13447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
13448         ... here.
13449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
13450         Moved ...
13451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
13452         ... here.
13453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
13454         Moved ...
13455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
13457         Moved ...
13458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
13459         ... here.
13460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
13461         Moved ...
13462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
13463         ... here.
13464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
13465         Moved ...
13466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
13468         Moved ...
13469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
13470         ... here.
13471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
13472         Moved ...
13473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
13475         Moved ...
13476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
13478         Moved ...
13479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
13480         ... here.
13481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
13482         Moved ...
13483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
13484         ... here.
13485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
13486         Moved ...
13487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
13488         ... here.
13489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
13490         Moved ...
13491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
13493         Moved ...
13494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
13495         ... here.
13496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
13497         Moved ...
13498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
13499         ... here.
13500         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13501         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13502         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13503         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13504         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
13505         Moved ...
13506         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
13507         ... here.
13508         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13509         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13510         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13511         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13512         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13513         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13514         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13515         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
13516         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
13517         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
13518         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
13519         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
13520         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
13521         Moved ...
13522         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
13523         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
13524         Moved ...
13525         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
13526         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
13527         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
13528         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
13529         Moved ...
13530         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
13531         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
13532         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
13533         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
13534         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
13535         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
13536         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
13538 2014-06-10  Wilco  <wdijkstr@arm.com>
13540         * math/test-fenv-return.c: New file.
13541         * math/Makefile: Add new test test-fenv-return.
13543 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
13545         [BZ #17042]
13546         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
13547         when x - 1 is zero.
13548         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
13549         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13550         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
13551         0.0L for an argument of 1.0L.
13552         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13553         Likewise.
13554         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
13555         value when x - 1 is zero.
13556         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
13557         * sysdeps/i386/fpu/libm-test-ulps: Update.
13558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13560 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
13562         [BZ #15119]
13563         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
13565 2014-06-09  Roland McGrath  <roland@hack.frob.com>
13567         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
13568         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
13570 2014-06-09  Roland McGrath  <roland@hack.frob.com>
13572         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13573         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
13575         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13576         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
13578         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13579         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
13581         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13582         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
13584         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
13585         if not already defined.
13586         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
13587         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13588         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
13589         (TLS_INIT_TP): Use it.
13590         (TLS_DEFINE_INIT_TP): New macro.
13591         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
13593 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
13595         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
13596         constant.
13597         [POSIX] (IXANY): Likewise.
13598         [POSIX] (OLCUC): Likewise.
13599         [POSIX || POSIX2008] (CBAUD): Do not allow.
13600         [POSIX || POSIX2008] (DEFECHO): Likewise.
13601         [POSIX || POSIX2008] (ECHOCTL): Likewise.
13602         [POSIX || POSIX2008] (ECHOKE): Likewise.
13603         [POSIX || POSIX2008] (ECHOPRT): Likewise.
13604         [POSIX || POSIX2008] (EXTA): Likewise.
13605         [POSIX || POSIX2008] (EXTB): Likewise.
13606         [POSIX || POSIX2008] (FLUSHO): Likewise.
13607         [POSIX || POSIX2008] (LOBLK): Likewise.
13608         [POSIX || POSIX2008] (PENDIN): Likewise.
13609         [POSIX || POSIX2008] (SWTCH): Likewise.
13610         [POSIX || POSIX2008] (VDISCARD): Likewise.
13611         [POSIX || POSIX2008] (VDSUSP): Likewise.
13612         [POSIX || POSIX2008] (VLNEXT): Likewise.
13613         [POSIX || POSIX2008] (VREPRINT): Likewise.
13614         [POSIX || POSIX2008] (VSTATUS): Likewise.
13615         [POSIX || POSIX2008] (VWERASE): Likewise.
13616         (B*): Change to B[0123456789]*.
13617         * conform/data/time.h-data [POSIX || UNIX98]
13618         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13619         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13620         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13621         [POSIX] (tm_*): Do not allow.
13623 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
13625         * Makefile (install): Don't set LANGUAGE.
13626         * Makefile.in (install): Likewise.
13627         * assert/Makefile (test-assert-ENV): Remove variable.
13628         (test-assert-perr-ENV): Likewise.
13629         * elf/Makefile (neededtest4-ENV): Likewise.
13630         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13631         [$(cross-compiling) = no]: Don't set LANGUAGE.
13632         * io/ftwtest-sh (LANG): Remove variable.
13633         * libio/Makefile (tst-widetext-ENV): Likewise.
13634         * manual/install.texi (Running make install): Don't refer to
13635         environment settings for make install.
13636         * INSTALL: Regenerated.
13637         * nptl/tst-tls6.sh: Don't set LANG.
13638         * posix/globtest.sh (LANG): Remove variable.
13639         * string/Makefile (tester-ENV): Likewise.
13640         (inl-tester-ENV): Likewise.
13641         (noinl-tester-ENV): Likewise.
13642         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13643         [$(cross-compiling) = no]: Don't set LANGUAGE.
13644         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13645         without explicit environment settings.
13647 2014-06-06  Roland McGrath  <roland@hack.frob.com>
13649         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13650         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13651         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13652         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13654 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
13656         * crypt/crypt-private.h [DOS]: Add some includes taken from the
13657         other files in the crypt directory.
13658         * crypt/crypt.c: Remove duplicate includes.
13659         * crypt/crypt-entry.c: Likewise.
13660         * crypt/crypt_util.c: Likewise.
13662 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
13664         * Makeconfig (run-program-env): New variable.
13665         (run-program-prefix-before-env): Likewise.
13666         (run-program-prefix-after-env): Likewise.
13667         (run-program-prefix): Define in terms of new variables.
13668         (built-program-cmd-before-env): New variable.
13669         (built-program-cmd-after-env): Likewise.
13670         (built-program-cmd): Define in terms of new variables.
13671         (test-program-prefix-before-env): New variable.
13672         (test-program-prefix-after-env): Likewise.
13673         (test-program-prefix): Define in terms of new variables.
13674         (test-program-cmd-before-env): New variable.
13675         (test-program-cmd-after-env): Likewise.
13676         (test-program-cmd): Define in terms of new variables.
13677         * Rules (make-test-out): Use $(run-program-env).
13678         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13679         (help): Do not mention environment variables.  Mention
13680         --timeoutfactor option.
13681         (timeoutfactor): New variable.
13682         (blacklist_exports): Remove function.
13683         (exports): Remove variable.
13684         (command): Do not include ${exports}.
13685         * manual/install.texi (Configuring and compiling): Do not mention
13686         test wrappers preserving environment variables.  Mention that last
13687         assignment to a variable must take precedence.
13688         * INSTALL: Regenerated.
13689         * benchtests/Makefile (run-bench): Use $(run-program-env).
13690         * catgets/Makefile ($(objpfx)test1.cat): Use
13691         $(built-program-cmd-before-env), $(run-program-env) and
13692         $(built-program-cmd-after-env).
13693         ($(objpfx)test2.cat): Do not specify environment variables
13694         explicitly.
13695         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13696         $(run-program-env) and $(built-program-cmd-after-env).
13697         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13698         $(run-program-env) and $(test-program-cmd-after-env).
13699         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13700         explicitly.
13701         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13702         run_program_env and test_program_cmd_after_env arguments.
13703         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13704         * elf/tst-pathopt.sh: Use run_program_env argument.
13705         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13706         $(test-wrapper-env) and $(run-program-env).
13707         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13708         run_program_env arguments.
13709         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13710         * intl/Makefile ($(objpfx)tst-gettext.out): Use
13711         $(test-program-prefix-before-env), $(run-program-env) and
13712         $(test-program-prefix-after-env).
13713         ($(objpfx)tst-gettext2.out): Likewise.
13714         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13715         run_program_env and test_program_prefix_after_env arguments.
13716         * intl/tst-gettext2.sh: Likewise.
13717         * intl/tst-gettext4.sh: Do not set environment variables
13718         explicitly.
13719         * intl/tst-gettext6.sh: Likewise.
13720         * intl/tst-translit.sh: Likewise.
13721         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13722         $(test-program-prefix-before-env), $(run-program-env) and
13723         $(test-program-prefix-after-env).
13724         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13725         run_program_env and test_program_prefix_after_env arguments.
13726         * math/Makefile (run-regen-ulps): Use $(run-program-env).
13727         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13728         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
13729         explicitly with each use of ${test_wrapper_env}.
13730         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13731         $(test-program-prefix-before-env), $(run-program-env) and
13732         $(test-program-prefix-after-env).
13733         * posix/tst-getconf.sh: Do not set environment variables
13734         explicitly.
13735         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13736         run_program_env and test_program_prefix_after_env arguments.
13737         * stdio-common/tst-printf.sh: Do not set environment variables
13738         explicitly.
13739         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13740         $(test-program-prefix-before-env), $(run-program-env) and
13741         $(test-program-prefix-after-env).
13742         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13743         run_program_env and test_program_prefix_after_env arguments.
13744         Split $test calls into $test_pre and $test.
13745         * timezone/Makefile (build-testdata): Use
13746         $(built-program-cmd-before-env), $(run-program-env) and
13747         $(built-program-cmd-after-env).
13749 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13751         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13752         strlen for non SHARED builds.
13754 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13756         * nptl/allocatestack.c (check_list): Inlined function...
13757         (__reclaim_stacks): ... here.
13759 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
13761         [BZ #15698]
13762         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13763         memory overrun.
13765 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
13767         * Rules (make-test-out): Include
13768         LOCPATH=$(common-objpfx)localedata in default environment.
13769         * debug/Makefile (tst-chk1-ENV): Remove variable.
13770         (tst-chk2-ENV): Likewise.
13771         (tst-chk3-ENV): Likewise.
13772         (tst-chk4-ENV): Likewise.
13773         (tst-chk5-ENV): Likewise.
13774         (tst-chk6-ENV): Likewise.
13775         (tst-lfschk1-ENV): Likewise.
13776         (tst-lfschk2-ENV): Likewise.
13777         (tst-lfschk3-ENV): Likewise.
13778         (tst-lfschk4-ENV): Likewise.
13779         (tst-lfschk5-ENV): Likewise.
13780         (tst-lfschk6-ENV): Likewise.
13781         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13782         (tst-iconv7-ENV): Likewise.
13783         * intl/Makefile (LOCPATH-ENV): Likewise.
13784         (tst-codeset-ENV): Likewise.
13785         (tst-gettext3-ENV): Likewise.
13786         (tst-gettext5-ENV): Likewise.
13787         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13788         (tst-fopenloc-ENV): Likewise.
13789         (tst-fgetws-ENV): Remove variable.
13790         (tst-ungetwc1-ENV): Likewise.
13791         (tst-ungetwc2-ENV): Likewise.
13792         (bug-ungetwc2-ENV): Likewise.
13793         (tst-swscanf-ENV): Likewise.
13794         (bug-ftell-ENV): Likewise.
13795         (tst-fgetwc-ENV): Likewise.
13796         (tst-fseek-ENV): Likewise.
13797         (tst-ftell-partial-wide-ENV): Likewise.
13798         (tst-ftell-active-handler-ENV): Likewise.
13799         (tst-ftell-append-ENV): Likewise.
13800         * posix/Makefile (tst-fnmatch-ENV): Likewise.
13801         (tst-regexloc-ENV): Likewise.
13802         (bug-regex1-ENV): Likewise.
13803         (tst-regex-ENV): Likewise.
13804         (tst-regex2-ENV): Likewise.
13805         (bug-regex5-ENV): Likewise.
13806         (bug-regex6-ENV): Likewise.
13807         (bug-regex17-ENV): Likewise.
13808         (bug-regex18-ENV): Likewise.
13809         (bug-regex19-ENV): Likewise.
13810         (bug-regex20-ENV): Likewise.
13811         (bug-regex22-ENV): Likewise.
13812         (bug-regex23-ENV): Likewise.
13813         (bug-regex25-ENV): Likewise.
13814         (bug-regex26-ENV): Likewise.
13815         (bug-regex30-ENV): Likewise.
13816         (bug-regex32-ENV): Likewise.
13817         (bug-regex33-ENV): Likewise.
13818         (bug-regex34-ENV): Likewise.
13819         (bug-regex35-ENV): Likewise.
13820         (tst-rxspencer-ENV): Likewise.
13821         (tst-rxspencer-no-utf8-ENV): Likewise.
13822         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13823         (tst-sscanf-ENV): Likewise.
13824         (tst-swprintf-ENV): Likewise.
13825         (tst-swscanf-ENV): Likewise.
13826         (test-vfprintf-ENV): Likewise.
13827         (scanf13-ENV): Likewise.
13828         (bug14-ENV): Likewise.
13829         (tst-grouping-ENV): Likewise.
13830         * stdlib/Makefile (tst-strtod-ENV): Likewise.
13831         (tst-strtod3-ENV): Likewise.
13832         (tst-strtod4-ENV): Likewise.
13833         (tst-strtod5-ENV): Likewise.
13834         (testmb2-ENV): Likewise./
13835         * string/Makefile (tst-strxfrm-ENV): Likewise.
13836         (tst-strxfrm2-ENV): Likewise.
13837         (bug-strcoll1-ENV): Likewise.
13838         (test-strcasecmp-ENV): Likewise.
13839         (test-strncasecmp-ENV): Likewise.
13840         * time/Makefile (tst-strptime-ENV): Likewise.
13841         (tst-ftime_l-ENV): Likewise.
13842         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13843         (tst-mbrtowc-ENV): Likewise.
13844         (tst-wcrtomb-ENV): Likewise.
13845         (tst-mbrtowc2-ENV): Likewise.
13846         (tst-c16c32-1-ENV): Likewise.
13847         (tst-mbsnrtowcs-ENV): Likewise.
13849 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
13851         * manual/resource.texi (How to get information about the memory
13852         subsystem?): Fix typo.
13853         Reported by Peon de la Parra Ivan <peon@keba.com>
13855 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
13857         [BZ #16882]
13858         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13859         (pthread_spin_lock): Branch out of spin loop to proper location.
13860         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13861         (pthread_spin_lock): Likewise.
13863         * nptl/tst-spin4.c: New test.
13864         * nptl/Makefile (tests): Add tst-spin4.
13866 2014-06-03  Andreas Schwab  <schwab@suse.de>
13868         [BZ #15946]
13869         * resolv/res_send.c (send_dg): Reload file descriptor after
13870         calling reopen.
13872 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
13874         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13876 2014-06-03  Richard Henderson  <rth@redhat.com>
13878         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13879         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13880         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13881         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
13882         in the SAVE_PID block.
13883         (__libc_vfork): New alias.
13884         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13886         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13887         child in registers, not on the stack.  Remove RESET_PID conditionals.
13888         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13890 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13892         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13894 2014-06-03  Wilco  <wdijkstr@arm.com>
13896         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13897         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13898         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13899         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13900         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13901         Likewise.
13903 2014-06-03  Wilco  <wdijkstr@arm.com>
13905         * sysdeps/aarch64/fpu/math_private.h
13906         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13907         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13908         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13909         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13910         Fix declarations.
13912 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13914         * crypt/crypt-private.h: Include ufc-crypt.h.
13915         (__b64_from_24bit): Declare extern.
13916         * crypt/crypt_util.c(__b64_from_24bit): New function.
13917         (b64t): New static const variable.
13918         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13919         (b64t): Remove variable.
13920         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13921         * crypt/sha256-crypt.c: Include crypt-private.h.
13922         (b64t): Remove variable.
13923         (__sha256_crypt_r): Remove b64_from_24bit and replace
13924         with __b64_from_24bit.
13925         * crypt/sha512-crypt.c: Likewise.
13927 2014-06-02  Roland McGrath  <roland@hack.frob.com>
13929         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13930         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13931         Label the code __libc_vfork rather than __vfork.
13932         [!NOT_IN_libc] (vfork): Define as weak alias.
13933         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13934         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13935         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13937 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13939         * malloc/malloc.c (malloc_info): Fix format specifier for
13940         n_mmaps.
13942 2014-06-02  Wilco  <wdijkstr@arm.com>
13944         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13945         FPCR write.
13947 2014-06-02  Wilco  <wdijkstr@arm.com>
13949         [BZ #17009]
13950         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13951         Rewrite to reduce FPCR/FPSR accesses.
13953 2014-06-01  David S. Miller  <davem@davemloft.net>
13955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13957 2014-05-31  David S. Miller  <davem@davemloft.net>
13959         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13960         to occur in round to nearest mode when |x| >= 2.0
13962 2014-05-30  Richard Henderson  <rth@twiddle.net>
13964         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13965         (PSEUDO_RET_NOERRNO): Remove.
13966         (ret): Don't redefine.
13967         (ret_NOERRNO): Define in terms of ret.
13968         (ret_ERRVAL): Likewise.
13970         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13971         use of PSEUDO_RET; perform the error check directly.
13973 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
13975         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13976         with __int128_t.
13978 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13980         * malloc/malloc (malloc_info): Fix formatting.
13982 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13983             Roland McGrath  <roland@hack.frob.com>
13985         * malloc/malloc (malloc_info): Also print mmapped statistics.
13987 2014-05-30  Roland McGrath  <roland@hack.frob.com>
13989         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13990         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13992 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
13994         * malloc/malloc.c (malloc_info): Inline mi_arena.
13996 2014-05-29  Richard Henderson  <rth@twiddle.net>
13998         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13999         Remove comma before expanding ASM_ARGS_##nr.
14000         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14001         Make _x0 a strict output; make _x8 a strict input; adjust expansion
14002         of ASM_ARGS_##nr.
14003         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14004         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14005         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14006         (ASM_ARGS_1): Add leading comma.
14008         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14009         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14010         to __errno_location.
14011         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14012         Remove the expected plt for __errno_location.
14014         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14015         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
14016         call to __read_tp.
14018         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14019         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
14020         it and break it down.
14021         (DOCARGS_0, DOCARGS_1): Do nothing.
14022         (DOCARGS_2): Update to store into the new stack frame.
14023         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14024         (UNDOCARGS_1): Update to restore from the new stack frame.
14025         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14026         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14028         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14029         (SINGLE_THREAD_P): New parameter for result regno.
14030         (PSEUDO): Update to match; use cbz instead of beq.
14032         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14033         Use ENTRY to define the _nocancel entry point.  Share the syscall
14034         and syscall error check paths with the cancel path.
14035         (PSEUDO_END): New.
14037         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14038         whitespace; tabs before and after asm mnemonics.
14040 2014-05-29  Eric Wong  <normalperson@yhbt.net>
14042         [BZ #15132]
14043         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14044         Call fstat64 or stat64 internally, depending on arguments passed.
14045         Replace stat buffer argument with file descriptor argument.
14046         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14047         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14048         Pass fd to __internal_statvfs instead of calling fstat64.
14049         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14050         Pass fd to __internal_statvfs64 instead of calling fstat64.
14051         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14052         Pass -1 to __internal_statvfs instead of calling stat64.
14053         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14054         Pass -1 to __internal_statvfs64 instead of calling stat64.
14056 2014-05-28  Roland McGrath  <roland@hack.frob.com>
14058         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14059         that was previously under [RESET_PID].
14060         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14062         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14063         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14065 2014-05-27  Roland McGrath  <roland@hack.frob.com>
14067         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14069         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14070         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14072 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
14074         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14076 2014-05-27  Andreas Schwab  <schwab@suse.de>
14078         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14079         TLS_INIT_TP macro.
14080         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14081         * elf/rtld.c (init_tls, dl_main): Likewise.
14082         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14083         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14084         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14085         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14086         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14087         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14088         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14089         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14090         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14091         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14092         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14093         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14094         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14095         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14096         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14097         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14098         * sysdeps/generic/tls.h: Update description.
14100 2014-05-27  Will Newton  <will.newton@linaro.org>
14102         [BZ #16990]
14103         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14104         and restore r2 rather than just restoring.
14106 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14108         [BZ #16724]
14109         * libio/tst-ftell-append.c: New test case.
14110         * libio/Makefile (tests): Add test case.
14111         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14112         append mode.
14113         * libio/wfileops.c (do_ftell_wide): Likewise.
14115 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14119         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
14120         ...
14121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
14122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14123         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
14124         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
14125         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
14126         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
14127         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
14128         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
14129         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14130         Moved ...
14131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
14132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14133         Moved ...
14134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
14135         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
14136         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
14137         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
14138         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
14139         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
14140         ...
14141         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
14142         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
14143         Moved ...
14144         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
14145         here.
14146         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
14147         ...
14148         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
14149         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
14150         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
14152         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14153         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14154         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14155         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14158         merge into ...
14159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14161         ...
14162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14163         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14164         ...
14165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14166         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14167         Moved ...
14168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14169         here.
14170         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14171         Moved ...
14172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14173         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14174         Moved ...
14175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14178         conditional [RESET_PID].
14179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14180         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14181         removed.
14182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14183         removed.
14185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14186         <tcb-offsets.h>.
14187         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14188         (__libc_vfork): New strong alias.
14189         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14190         removed.
14191         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14192         Removed.
14194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14195         <tcb-offsets.h>.
14196         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14197         (__libc_vfork): New strong alias.
14198         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14199         removed.
14200         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14201         removed.
14203 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
14205         * malloc/malloc.c (mi_arena): New function.
14206         (malloc_info): Remove nested function mi_arena. Call non-nosted
14207         function mi_arena.
14209 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14211         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14212         by insrwi.
14213         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14214         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14215         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14216         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14217         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14218         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14219         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14221 2014-05-26  Andreas Schwab  <schwab@suse.de>
14223         [BZ #16984]
14224         * locale/programs/repertoire.c (repertoire_read): Add slash
14225         between I18NPATH element and file name.
14226         * locale/programs/locfile.c (locfile_read): Likewise.
14228 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14230         * nptl/pthread_mutexattr_settype.c
14231         (__pthread_mutexattr_settype):
14232         Disable lock elision for PTHREAD_MUTEX_NORMAL.
14234 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14236         * nptl/tst-mutex5 (do_test):
14237         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14239 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14241         * benchtests/README: Document 'init' directive.
14242         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14243         BENCH_INIT.
14244         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14245         (parse_file): Recognize 'init' directive.
14247 2014-05-26  Kyle McMartin  <kyle@redhat.com>
14249         [BZ #16796]
14250         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14251         alignment of struct pthread.
14253 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14255         [BZ #16878]
14256         * nscd/netgroupcache.c (addgetnetgrentX): Look for
14257         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14258         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14259         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14261 2014-05-25  Richard Henderson  <rth@twiddle.net>
14263         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14264         (SINGLE_THREAD_P_PIC): Remove.
14265         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14266         (SINGLE_THREAD_P_PIC): Remove.
14268         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14269         branch to syscall error ...
14270         (PSEUDO): ... here.
14271         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14272         from __local_syscall_error to .Lsyscall_error.
14273         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14274         (SYSCALL_ERROR): Update label name.
14276         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14277         Do not use DOARGS/UNDOARGS.
14278         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14279         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14280         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14281         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14282         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14284         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14285         block comment.
14287         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14288         define if !NOT_IN_libc.
14289         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14290         define with non-default symbol versions.
14292 2014-05-23  Richard Henderson  <rth@twiddle.net>
14294         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14295         (vfork, __vfork): Define via compat_symbol.
14297         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14298         [!HAVE_IFUNC] (vfork_compat): Remove.
14299         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14301 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14303         [BZ #16978]
14304         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14305         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14306         variable.
14308 2014-05-23  Richard Henderson  <rth@twiddle.net>
14310         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14311         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14312         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14313         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14315         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14316         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14317         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14318         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14319         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14320         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14321         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14322         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14323         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14324         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14325         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14326         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14327         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14328         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14329         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
14330         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
14331         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
14332         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
14333         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
14334         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
14335         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
14336         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
14337         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
14338         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
14339         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
14340         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
14341         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14342         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14343         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14344         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14345         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14346         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14347         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14348         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14349         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14350         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14351         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14352         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14353         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14354         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14355         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14356         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14357         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14358         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14359         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14360         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14361         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14362         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14363         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14364         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14365         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14366         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14367         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14368         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14369         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14370         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14372         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14373         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14374         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
14375         before exiting on error.
14376         (__libc_vfork): New strong alias.
14377         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14378         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14380         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14381         that was previously under [RESET_PID].
14382         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14384         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14386 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14388         [BZ #16977]
14389         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14390         value when x - 1 is zero.
14391         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14392         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14393         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14394         0.0L for an argument of 1.0L.
14395         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14396         Likewise.
14397         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14398         value when x - 1 is zero.
14399         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14400         * sysdeps/i386/fpu/libm-test-ulps: Update.
14401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14403 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14405         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14406         alphasort and versionsort.
14408 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14410         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14411         macro.
14412         [copysignf]: Likewise.
14414 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14416         * crypt/md5-crypt.c: Fix formatting.
14418 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14420         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14421         (b64_from_24bit): New function.
14423 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14425         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14426         libc_hidden_builtin_def to ifunc.
14427         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14428         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14430 2014-05-21  Roland McGrath  <roland@hack.frob.com>
14432         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14433         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14435 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
14437         * nscd/Depend (linuxthreads): Remove.
14438         (nptl): Add.
14439         * resolv/Depend (linuxthreads): Remove.
14440         * rt/Depend (linuxthreads): Remove.
14442         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14443         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14444         $(common-objpfx)elf/.
14445         (link-libc-before-gnulib): Likewise.
14446         (elfobjdir): Remove variable.
14447         * Makefile (install): Use $(elf-objpfx) instead of
14448         $(common-objpfx)elf/.
14449         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14450         $(elfobjdir)/.
14451         (link-libc-deps): Likewise.
14452         ($(common-objpfx)libc.so): Likewise.
14453         ($(common-objpfx)linkobj/libc.so): Likewise.
14454         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14455         instead of $(common-objpfx)elf/.
14456         (symbolic-link-list): Likewise.
14457         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14458         [$(cross-compiling) = no]: Likewise.
14459         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14460         $(elfobjdir)/.
14461         (static-gnulib-arch): Likewise.
14462         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14463         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14464         $(common-objpfx)elf/.
14466 2014-05-21  Richard Henderson  <rth@redhat.com>
14468         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14469         (SINGLE_THREAD_P): Use the correct width load.  Fold
14470         into the ldr offset.
14472         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14473         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14475 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
14477         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14478         (libgcc_s_resume): Use __attribute_used__.
14479         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14480         Likewise.
14482 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14484         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14485         optimization when used with float constants.
14487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14489 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
14491         [BZ #16915]
14492         * locale/nl_langinfo_l.c: Make direct reference to every
14493         _nl_current_CATEGORY symbol.
14494         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14495         (tests-static): Add tst-langinfo-static.
14496         (tests-special): Add tst-langinfo-static.out.
14497         ($(objpfx)tst-langinfo.out): Redirect output.
14498         ($(objpfx)tst-langinfo-static.out): New.
14499         * localedata/tst-langinfo.sh: Send output to stdout.
14500         * localedata/tst-langinfo-static.c: New file.
14502         [BZ #16965]
14503         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14504         when the shift amount is modulo the limb size.
14506 2014-05-20  Richard Henderson  <rth@redhat.com>
14508         [BZ #16967]
14509         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14510         Change type of sa_flags from unsigned int to int.
14512         [BZ #16966]
14513         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
14515         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
14517 2014-05-20  Will Newton  <will.newton@linaro.org>
14519         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14520         Test the return value of the system call in the nocancel case.
14522 2014-05-20  Will Newton  <will.newton@linaro.org>
14523             Yvan Roux  <yvan.roux@linaro.org>
14525         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
14526         #include of asm/ptrace.h.
14527         (PTRACE_GET_THREAD_AREA): Remove #undef.
14528         (PTRACE_GETHBPREGS): Likewise.
14529         (PTRACE_SETHBPREGS): Likewise.
14530         (struct user_regs_struct): New structure.
14531         (struct user_fpsimd_struct): New structure.
14532         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
14533         #include of asm/ptrace.h and second #include of sys/user.h.
14534         (PTRACE_GET_THREAD_AREA): Remove #undef.
14535         (PTRACE_GETHBPREGS): Likewise.
14536         (PTRACE_SETHBPREGS): Likewise.
14537         (ELF_NGREG): Use new struct user_regs_struct.
14538         (elf_fpregset_t): Use new struct user_fpsimd_struct.
14540 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14542         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
14543         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
14545 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
14547         [BZ #16958]
14548         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
14549         membar to avoid block loads/stores to overlap previous stores.
14551 2014-05-17  Richard Henderson  <rth@redhat.com>
14553         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
14554         Create the __##syscall_name##_nocancel entry point.
14555         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
14556         Remove; let the sysdep-cancel.h code create it.
14558 2014-05-17  David S. Miller  <davem@davemloft.net>
14560         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
14561         Protect with __USE_GNU.
14562         (TIOCSET_TEMPT): Likewise.
14563         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14564         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
14565         these are already provided in bits/ioctl-types.h
14567 2014-05-16  Roland McGrath  <roland@hack.frob.com>
14569         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
14570         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
14572         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
14573         Use wait4 regardless of [__NR_waitpid].
14575 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
14577         PR libgcc/60166
14578         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14579         (_FP_NANSIGN_Q): Set the quiet bit.
14581 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
14583         * benchtests/Makefile
14584         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
14585         not $(common-objpfx)math/libm.so.
14586         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
14587         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14588         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
14589         $(common-objpfx)dlfcn/libdl.so.
14590         ($(objpfx)tst-audit8): Depend on $(libm), not
14591         $(common-objpfx)math/libm.so.
14592         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
14593         not $(common-objpfx)dlfcn/libdl.so.
14594         * math/Makefile
14595         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14596         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
14597         [$(build-shared) = yes].
14598         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
14599         $(common-objpfx)nptl/libpthread.so.
14600         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
14601         $(common-objpfx)math/libm.so$(libm.so-version) or
14602         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14603         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14604         $(common-objpfx)dlfcn/libdl.so.
14605         * setjmp/Makefile (link-libm): Remove variable.
14606         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14607         * stdio-common/Makefile (link-libm): Remove variable.
14608         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14609         * stdlib/Makefile (link-libm): Remove variable.
14610         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14611         ($(objpfx)tst-strtod-round): Likewise.
14612         ($(objpfx)tst-tininess): Likewise.
14613         ($(objpfx)tst-strtod-underflow): Likewise.
14614         ($(objpfx)tst-strtod6): Likewise.
14615         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14616         $(libdl), not $(common-objpfx)nptl/libpthread.so and
14617         $(common-objpfx)dlfcn/libdl.so.
14619 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14621         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14622         BSD terminal modes definitions.
14624 2014-05-16  Roland McGrath  <roland@hack.frob.com>
14626         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14627         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14629         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
14630         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14631         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14632         Don't do #include_next.
14633         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14634         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14635         Don't do #include_next.
14636         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14637         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14638         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14639         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14641 2014-05-16  Allan McRae  <allan@archlinux.org>
14643         * po/sv.po: Update Swedish translation from translation project.
14645         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14646         in sed expression.
14648 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
14650         [BZ #16917]
14651         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14652         errno if the TIOCGPTN ioctl fails with an error different than
14653         EINVAL.
14654         * login/tst-ptsname.c: New file.
14655         * login/Makefile (tests): Add tst-ptsname.
14657         [BZ #16943]
14658         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14659         and prlimit64.
14661 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14663         [BZ #16849]
14664         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14665         herrno to return EAI_AGAIN.
14667 2014-05-14  Roland McGrath  <roland@hack.frob.com>
14669         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14670         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14671         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14672         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14673         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14674         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14675         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14676         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14677         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14678         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14679         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14680         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14681         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14682         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14683         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14684         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14685         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14686         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14687         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14688         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14689         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14690         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14691         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14692         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14693         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14694         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14695         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14696         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14697         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14698         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14700         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14702         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14704         Moved ...
14705         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14707         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14709         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14711         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14713         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14715         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14717         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14719         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14721         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14723         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14725         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14727         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14729         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14731         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14733         Moved ...
14734         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14736         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14738         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14740         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14742         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14744         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14746         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14748         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14750         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14752         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14754         Moved ...
14755         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14757         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14759         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14760         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14761         (libpthread-sysdep_routines): Add elision-related stuff here instead.
14762         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14763         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14764         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14765         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14766         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14767         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14768         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14769         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14770         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14771         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14772         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14773         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14774         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14775         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14776         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14777         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14778         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14779         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14780         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14781         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14782         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14783         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14784         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14785         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14786         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14787         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14788         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14789         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14791         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14792         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14794         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14795         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14796         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14797         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14798         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14799         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14800         Moved ...
14801         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14802         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14803         Moved ...
14804         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14805         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14806         Moved ...
14807         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14808         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14809         Moved ...
14810         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14811         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14812         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14813         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14814         Moved ...
14815         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14816         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14817         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14818         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14819         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14820         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14821         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14822         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14823         Moved ...
14824         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14825         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14826         Moved ...
14827         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14828         ... here.
14829         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14830         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14831         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14832         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14833         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14834         Moved ...
14835         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14836         ... here.
14837         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14838         Moved ...
14839         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14840         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14841         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14842         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14843         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14844         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14845         Moved ...
14846         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14847         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14848         Moved ...
14849         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14850         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14851         Moved ...
14852         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14853         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14854         Moved ...
14855         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14856         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14857         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14858         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14859         Moved ...
14860         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14861         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14862         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14863         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14864         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14865         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14866         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14867         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14868         Moved ...
14869         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14870         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14871         Moved ...
14872         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14873         ... here.
14874         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14875         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14876         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14877         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14878         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14879         Moved ...
14880         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14881         ... here.
14882         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14883         Moved ...
14884         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14885         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14886         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14887         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14888         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14889         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14890         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14891         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14892         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14893         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14894         Moved ...
14895         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14896         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14897         Moved ...
14898         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14899         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14900         Moved ...
14901         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14902         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14903         Moved ...
14904         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14905         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14906         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14907         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14908         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14909         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14910         Moved ...
14911         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14912         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14913         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14914         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14915         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14916         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14917         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14918         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14919         Moved ...
14920         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14921         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14922         Moved ...
14923         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14924         ... here.
14925         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14926         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14927         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14928         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14929         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14930         Moved ...
14931         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14932         ... here.
14933         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14934         Moved ...
14935         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14936         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14937         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14938         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14939         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14940         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14941         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14942         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14943         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14944         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14945         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14947         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14948         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14950         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14951         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14953         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14954         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14955         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14956         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14957         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14958         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14959         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14960         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14961         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14962         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14963         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14964         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14965         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14966         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14967         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14968         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14969         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14970         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14971         Moved ...
14972         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14973         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14974         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14975         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14976         Moved ...
14977         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14978         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14979         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14980         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14981         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14982         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14983         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14985         Moved ...
14986         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14987         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14988         Moved ...
14989         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14990         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14991         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14992         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14993         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14994         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14995         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14996         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14997         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14998         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14999         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15000         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15001         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15002         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15003         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15004         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15005         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15007         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15008         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15009         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15010         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15011         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15013         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15014         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15015         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15016         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15017         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15018         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15019         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15020         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15021         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15022         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15024         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15025         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15027         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15028         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
15029         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15030         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15031         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15032         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15033         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15034         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15035         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15036         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15037         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15038         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15039         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15040         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15041         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15042         Update #include.
15043         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15044         Likewise.
15045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15046         Likewise.
15047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15048         Likewise.
15049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15050         Likewise.
15051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15052         Likewise.
15053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15054         Likewise.
15055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15056         Likewise.
15057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15058         Likewise.
15059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15060         Likewise.
15061         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15063         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15065         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
15066         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15067         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15068         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15069         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15070         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15071         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15072         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15073         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15074         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
15075         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
15077         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15078         that was previously under [RESET_PID].
15079         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15080         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15081         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15083         * sysdeps/i386/nptl/Implies: New file.
15084         * sysdeps/x86_64/nptl/Implies: New file.
15085         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15086         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15087         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15088         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15090         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15091         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15092         (__libc_vfork): New strong alias.
15093         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15094         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15096         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15097         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15098         (__libc_vfork): New strong alias.
15099         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15100         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15102         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15103         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15104         (__libc_vfork): New strong alias.
15105         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15106         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15107         * nptl/pt-vfork.c: New file.
15108         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15109         (libpthread: GLIBC_2.20): New version set (empty).
15111 2014-05-14  Will Newton  <will.newton@linaro.org>
15113         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15114         rather than #if.
15116 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
15118         [BZ #16564]
15119         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
15120         arguments with exponent 65 or above.
15121         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
15122         arguments 0x1p113L or above.
15123         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
15124         to arguments 0x1p107L or above.
15125         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
15126         positive arguments with exponent 65 or above.
15127         * math/auto-libm-test-in: Add more tests of log1p.
15128         * math/auto-libm-test-out: Regenerated.
15130         [BZ #16928]
15131         * math/s_cacos.c (__cacos): Ensure zero real part of result from
15132         non-finite arguments is +0.
15133         * math/s_cacosf.c (__cacosf): Likewise.
15134         * math/s_cacosl.c (__cacosl): Likewise.
15135         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
15136         * sysdeps/i386/fpu/libm-test-ulps: Update.
15137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15139         [BZ #16927]
15140         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
15141         value.
15142         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15143         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
15144         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
15145         for explicit high bit of mantissa when testing for argument equal
15146         to 1.
15147         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
15148         * sysdeps/i386/fpu/libm-test-ulps: Update.
15149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15151         [BZ #16516]
15152         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15153         (__erf): Scale by 16 instead of 8 in potentially underflowing
15154         case.  Ensure exception if result actually underflows.
15155         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15156         (__erff): Scale by 16 instead of 8 in potentially underflowing
15157         case.  Ensure exception if result actually underflows.
15158         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15159         (efx8): Remove variable.
15160         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15161         case.  Ensure exception if result actually underflows.
15162         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15163         (efx8): Remove variable.
15164         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15165         case.  Ensure exception if result actually underflows.
15166         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15167         (efx8): Remove variable.
15168         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15169         case.  Ensure exception if result actually underflows.
15170         * math/auto-libm-test-in: Add more tests of erf.
15171         * math/auto-libm-test-out: Regenerated.
15173 2014-05-14  Andreas Schwab  <schwab@suse.de>
15175         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15176         Remove code conditionalized on USE___THREAD.
15178         * config.h.in (HAVE_PT_CHOWN): Define as 0.
15179         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15180         not definedness.
15182 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
15184         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15185         Define unconditionally.
15186         (__ASSUME_O_CLOEXEC): Likewise.
15187         (__ASSUME_SOCK_CLOEXEC): Likewise.
15188         (__ASSUME_IN_NONBLOCK): Likewise.
15189         (__ASSUME_PIPE2): Likewise.
15190         (__ASSUME_EVENTFD2): Likewise.
15191         (__ASSUME_SIGNALFD4): Likewise.
15192         (__ASSUME_DUP3): Likewise.
15193         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15194         (__ASSUME_DUP3): Do not define.
15195         (__ASSUME_EVENTFD2): Likewise.
15196         (__ASSUME_IN_NONBLOCK): Likewise.
15197         (__ASSUME_O_CLOEXEC): Likewise.
15198         (__ASSUME_PIPE2): Likewise.
15199         (__ASSUME_SIGNALFD4): Likewise.
15200         (__ASSUME_SOCK_CLOEXEC): Likewise.
15201         (__ASSUME_UTIMES): Undefine.
15202         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15203         (__ASSUME_UTIMES): Do not define.
15204         (__ASSUME_O_CLOEXEC): Likewise.
15205         (__ASSUME_SOCK_CLOEXEC): Likewise.
15206         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15207         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15208         0x020621].
15209         (__ASSUME_PIPE2): Likewise.
15210         (__ASSUME_EVENTFD2): Likewise.
15211         (__ASSUME_SIGNALFD4): Likewise.
15212         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15213         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15214         Do not define.
15215         (__ASSUME_EVENTFD2): Likewise.
15216         (__ASSUME_SIGNALFD4): Likewise.
15217         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15218         (__ASSUME_32BITUIDS): Likewise.
15219         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15220         (__ASSUME_IPC64): Likewise.
15221         (__ASSUME_ST_INO_64_BIT): Likewise.
15222         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15223         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15224         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15225         (__ASSUME_UTIMES): Do not define.
15226         (__ASSUME_PSELECT): Likewise.
15227         (__ASSUME_PPOLL): Likewise.
15228         (__ASSUME_O_CLOEXEC): Likewise.
15229         (__ASSUME_SOCK_CLOEXEC): Likewise.
15230         (__ASSUME_IN_NONBLOCK): Likewise.
15231         (__ASSUME_PIPE2): Likewise.
15232         (__ASSUME_EVENTFD2): Likewise.
15233         (__ASSUME_SIGNALFD4): Likewise.
15234         (__ASSUME_DUP3): Likewise.
15235         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15236         (__ASSUME_UTIMES): Likewise.
15237         (__ASSUME_O_CLOEXEC): Likewise.
15238         (__ASSUME_SOCK_CLOEXEC): Likewise.
15239         (__ASSUME_IN_NONBLOCK): Likewise.
15240         (__ASSUME_PIPE2): Likewise.
15241         (__ASSUME_EVENTFD2): Likewise.
15242         (__ASSUME_SIGNALFD4): Likewise.
15243         (__ASSUME_DUP3): Likewise.
15244         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15245         (__ASSUME_UTIMES): Likewise.
15246         (__ASSUME_O_CLOEXEC): Likewise.
15247         (__ASSUME_SOCK_CLOEXEC): Likewise.
15248         (__ASSUME_IN_NONBLOCK): Likewise.
15249         (__ASSUME_PIPE2): Likewise.
15250         (__ASSUME_EVENTFD2): Likewise.
15251         (__ASSUME_SIGNALFD4): Likewise.
15252         (__ASSUME_DUP3): Likewise.
15253         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15254         Likewise.
15255         (__ASSUME_UTIMES): Likewise.
15256         (__ASSUME_EVENTFD2): Likewise.
15257         (__ASSUME_SIGNALFD4): Likewise.
15258         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15259         (__ASSUME_O_CLOEXEC): Likewise.
15260         (__ASSUME_SOCK_CLOEXEC): Likewise.
15261         (__ASSUME_IN_NONBLOCK): Likewise.
15262         (__ASSUME_PIPE2): Likewise.
15263         (__ASSUME_EVENTFD2): Likewise.
15264         (__ASSUME_SIGNALFD4): Likewise.
15265         (__ASSUME_DUP3): Likewise.
15266         (__ASSUME_UTIMES): Undefine.
15268         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15269         feclearexcept.  Remove symbol versioning code.
15270         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
15271         symbol versioning code.
15272         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
15273         symbol versioning code.
15274         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15275         feupdateenv.  Remove symbol versioning code.
15276         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15277         fegetexceptflag.  Remove symbol versioning code.
15278         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15279         fesetexceptflag.  Remove symbol versioning code.
15280         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15281         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
15282         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15283         (__posix_fadvise64_l32): Remove prototype.
15284         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15285         code.
15287 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15289         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15290         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15291         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15292         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15294 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
15296         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15297         current working directory
15299 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15301         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15302         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15303         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15304         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15305         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15306         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15307         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15308         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15309         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15310         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15311         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15312         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15313         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15314         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15315         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15316         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15317         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15318         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15319         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15320         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15321         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15322         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15323         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15324         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15325         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15326         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15327         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15328         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15329         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
15330         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
15331         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
15332         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
15333         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
15334         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
15335         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
15336         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
15337         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
15338         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
15339         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
15340         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
15341         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15342         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15344         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15345         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15347         * sysdeps/unix/sysv/linux/arm/Makefile
15348         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15349         Add rt-aeabi_unwind_cpp_pr1.
15350         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15351         Add nptl-aeabi_unwind_cpp_pr1.
15352         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15353         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15354         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15355         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15356         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15357         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15359         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15360         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15361         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15362         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15364         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15365         Deconditionalize the code that was previously under [RESET_PID].
15366         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15368         * sysdeps/generic/exit-thread.h: New file.
15369         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15370         * include/unistd.h (__exit_thread): Remove declaration.
15371         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15372         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15373         * csu/libc-start.c: Include <exit-thread.h>.
15374         (LIBC_START_MAIN): Pass no argument to __exit_thread.
15375         * nptl/pthread_create.c: Include <exit-thread.h>.
15376         (start_thread): Call __exit_thread in place of __exit_thread_inline.
15377         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15378         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15379         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15380         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15381         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15382         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15383         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15384         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15385         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15386         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15387         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15388         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15389         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15390         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15391         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15392         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15394 2014-05-13  Andreas Schwab  <schwab@suse.de>
15396         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15398 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
15400         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15401         (__ASSUME_UTIMES): Do not condition on kernel version.
15402         (__ASSUME_PSELECT): Define unconditionally.
15403         (__ASSUME_PPOLL): Likewise.
15404         (__ASSUME_ATFCTS): Likewise.
15405         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15406         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15407         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15408         (__ASSUME_UTIMENSAT): Define unconditionally.
15409         (__ASSUME_PRIVATE_FUTEX): Likewise.
15410         (__ASSUME_FALLOCATE): Likewise.
15411         (__ASSUME_O_CLOEXEC): Likewise.
15412         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15413         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15414         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15415         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15416         (__ASSUME_IN_NONBLOCK): Likewise.
15417         (__ASSUME_PIPE2): Likewise.
15418         (__ASSUME_EVENTFD2): Likewise.
15419         (__ASSUME_SIGNALFD4): Likewise.
15420         (__ASSUME_DUP3): Likewise.
15421         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15422         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15423         (__ASSUME_AT_RANDOM): Likewise.
15424         (__ASSUME_PREADV): Likewise.
15425         (__ASSUME_PWRITEV): Likewise.
15426         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15427         (__ASSUME_F_GETOWN_EX): Define unconditionally.
15428         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15429         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15430         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15431         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15432         (__ASSUME_O_CLOEXEC): Define unconditionally.
15433         (__ASSUME_PSELECT): Do not undefine conditionally.
15434         (__ASSUME_PPOLL): Likewise.
15435         (__ASSUME_ATFCTS): Likewise.
15436         (__ASSUME_SET_ROBUST_LIST): Likewise.
15437         (__ASSUME_UTIMENSAT): Likewise.
15438         (__ASSUME_FDATASYNC): Define unconditionally.
15439         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15440         (__ASSUME_SIGFRAME_V2): Likewise.
15441         )__ASSUME_EVENTFD2): Likewise.
15442         (__ASSUME_SIGNALFD4): Likewise.
15443         (__ASSUME_PSELECT): Do not undefine conditionally.
15444         (__ASSUME_PPOLL): Likewise.
15445         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15446         (__ASSUME_PSELECT): Define unconditionally.
15447         (__ASSUME_PPOLL): Likewise.
15448         (__ASSUME_O_CLOEXEC): Likewise.
15449         (__ASSUME_SOCK_CLOEXEC): Likewise.
15450         (__ASSUME_IN_NONBLOCK): Likewise.
15451         (__ASSUME_PIPE2): Likewise.
15452         (__ASSUME_EVENTFD2): Likewise.
15453         (__ASSUME_SIGNALFD4): Likewise.
15454         (__ASSUME_DUP3): Likewise.
15455         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15456         (__ASSUME_O_CLOEXEC): Likewise.
15457         (__ASSUME_SOCK_CLOEXEC): Likewise.
15458         (__ASSUME_IN_NONBLOCK): Likewise.
15459         (__ASSUME_PIPE2): Likewise.
15460         (__ASSUME_EVENTFD2): Likewise.
15461         (__ASSUME_SIGNALFD4): Likewise.
15462         (__ASSUME_DUP3): Likewise.
15463         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15464         (__ASSUME_EVENTFD2): Likewise.
15465         (__ASSUME_SIGNALFD4): Likewise.
15466         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15468 2014-05-12  Andreas Schwab  <schwab@suse.de>
15470         [BZ #16932]
15471         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15472         (_nss_nis_gethostbyname4_r): Return error if item length is larger
15473         than maximum RPC packet size.
15474         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15475         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15476         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15477         (_nss_nis_getservbyport_r): Likewise.
15479 2014-05-12  Will Newton  <will.newton@linaro.org>
15481         * malloc/Makefile (tests): Add tst-mallopt.
15482         * malloc/tst-mallopt.c: New file.
15484 2014-05-09  Roland McGrath  <roland@hack.frob.com>
15486         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15487         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15489 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15491         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15492         (tst-tlsmod6.so): Likewise.
15494 2014-05-09  Roland McGrath  <roland@hack.frob.com>
15496         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15498 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
15500         [BZ #16064]
15501         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15502         and <dl-procinfo.h>.
15503         (__fegetenv): Save SSE state in envp->__eip if supported.
15504         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15505         envp->__eip if supported.
15506         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15507         and <dl-procinfo.h>.
15508         (__fesetenv): Always set __eip, __cs_selector, __opcode,
15509         __data_offset and __data_selector in environment to 0.  Set SSE
15510         state if supported.
15511         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15512         test-fenv-sse.
15513         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15514         -mfpmath=sse.
15515         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
15517 2014-05-09  Will Newton  <will.newton@linaro.org>
15519         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
15520         and libc_relro_required for ARM.
15521         * sysdeps/arm/preconfigure: Regenerate.
15523 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
15524             Stefan Liebler  <stli@linux.vnet.ibm.com>
15526         * config.make.in (enable-lock-elision): New Makefile variable.
15527         * configure.ac: Likewise.
15528         * configure: Regenerate.
15529         * sysdeps/s390/configure.ac:
15530         Add check for gcc transactions support.
15531         * sysdeps/s390/configure: Regenerate.
15532         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
15533         Build elision files if enabled.
15534         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
15535         Add lock elision support for s390.
15536         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15537         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
15538         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
15539         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15540         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
15541         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15542         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15543         Likewise.
15544         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
15545         Likewise.
15546         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
15547         Likewise.
15548         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
15549         Likewise.
15550         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
15551         (__lll_timedlock_elision, __lll_lock_elision)
15552         (__lll_unlock_elision, __lll_trylock_elision)
15553         (lll_timedlock_elision, lll_lock_elision)
15554         (lll_unlock_elision, lll_trylock_elision): Add.
15555         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15556         (pthread_mutex_t): Add lock elision support for s390.
15558 2014-05-14  Wilco  <wdijkstr@arm.com>
15560         * sysdeps/arm/fclrexcpt.c: Cleanup.
15561         * sysdeps/arm/fedisblxcpt.c: Cleanup.
15562         * sysdeps/arm/feenablxcpt.c: Cleanup.
15563         * sysdeps/arm/fegetenv.c: Cleanup.
15564         * sysdeps/arm/fegetexcept.c: Cleanup.
15565         * sysdeps/arm/fegetround.c: Cleanup.
15566         * sysdeps/arm/feholdexcpt.c: Cleanup.
15567         * sysdeps/arm/fesetenv.c: Cleanup.
15568         * sysdeps/arm/fesetround.c: Cleanup.
15569         * sysdeps/arm/feupdateenv.c: Cleanup.
15570         * sysdeps/arm/fgetexcptflg.c: Cleanup.
15571         * sysdeps/arm/fraiseexcpt.c: Cleanup.
15572         * sysdeps/arm/fsetexcptflg.c: Cleanup.
15573         * sysdeps/arm/ftestexcept.c: Cleanup.
15574         * sysdeps/arm/get-rounding-mode.h: Cleanup.
15575         * sysdeps/arm/setfpucw.c: Cleanup.
15577 2014-05-09  Will Newton  <will.newton@linaro.org>
15579         * sysdeps/arm/armv7/strcmp.S: New file.
15580         * NEWS: Mention addition of ARMv7 optimized strcmp.
15582 2014-05-08  Roland McGrath  <roland@hack.frob.com>
15584         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
15585         look for %.ac rather than %.in.
15587         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
15588         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
15589         * sysdeps/mach/hurd/configure: Regenerated.
15590         * sysdeps/unix/sysv/linux/configure: Regenerated.
15592         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
15594 2014-05-07  Steve Ellcey  <sellcey@mips.com>
15596         [BZ# 16922]
15597         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
15598         (LONG_SUB): Ditto.
15599         (PTR_SUB): Ditto.
15601 2014-05-07  Andreas Schwab  <schwab@suse.de>
15603         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15604         when skipping over non-matching result from nscd.
15606 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
15608         [BZ #16876]
15609         * nptl/sockperf.c (client): Check socket return value.
15611         [BZ #16877]
15612         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15613         nscd security class.
15615 2014-05-06  Roland McGrath  <roland@hack.frob.com>
15617         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15618         * sysdeps/arm/unwind.h: ... here.
15620 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
15622         [BZ# 16916]
15623         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15624         Define.
15626 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15628         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15629         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15630         multiarch strncpy for PPC64.
15631         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15632         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15634         multiarch optimizations.
15635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15636         (__libc_ifunc_impl_list): Likewise.
15637         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15638         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15639         multiarch stpncpy for PPC64.
15640         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15641         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15643 2014-05-06  Andreas Schwab  <schwab@suse.de>
15645         [BZ #16912]
15646         * gmon/mcount.c (_MCOUNT_DECL): Use
15647         atomic_compare_and_exchange_bool_acq instead of
15648         catomic_compare_and_exchange_bool_acq.
15650 2014-05-05  Roland McGrath  <roland@hack.frob.com>
15652         * elf/Makefile (others, install-bin): Remove pldd.
15653         (pldd-modules): Variable removed.
15654         ($(objpfx)pldd): Target removed.
15655         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15656         (others, install-bin): Append pldd here.
15657         ($(objpfx)pldd): New target.
15659         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15660         to 0, so the first #if test emitted later doesn't see it undefined.
15661         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15662         * sysdeps/gnu/errlist.c: Regenerated.
15664 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15666         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15667         [libc_hidden_builtin_def]: Define to empty value.
15668         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15669         [libc_hidden_builtin_def]: Likewise.
15670         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15671         [libc_hidden_builtin_def]: Likewise.
15672         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15673         [libc_hidden_builtin_def]: Likewise.
15674         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15675         __redirect_memcpy and define ifunc as default hidden symbol.
15676         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15677         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15679 2014-05-04  Adam Conrad  <adconrad@0c3.net>
15681         * locale/iso-4217.def: Reintroduce XDR currency.
15683 2014-05-04  Allan McRae  <allan@archlinux.org>
15685         * po/eo.po: Update Esperanto translation from translation project.
15687 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
15689         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15690         and FEATURE_INDEX_MAX to 1.
15691         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15693 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15695         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15696         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15697         * iconvdata/big5.c (ONE_DIRECTION): Define.
15698         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15699         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15700         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15701         * iconvdata/cp932.c (ONE_DIRECTION): Define.
15702         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15703         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15704         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15705         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15706         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15707         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15708         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15709         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15710         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15711         * iconvdata/gbk.c (ONE_DIRECTION): Define.
15712         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15713         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15714         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15715         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15716         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15717         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15718         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15719         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15720         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15721         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15722         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15723         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15724         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15725         * iconvdata/iso646.c (ONE_DIRECTION): Define.
15726         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15727         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15728         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15729         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15730         * iconvdata/johab.c (ONE_DIRECTION): Define.
15731         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15732         * iconvdata/sjis.c (ONE_DIRECTION): Define.
15733         * iconvdata/t.61.c (ONE_DIRECTION): Define.
15734         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15735         * iconvdata/tscii.c (ONE_DIRECTION): Define.
15736         * iconvdata/uhc.c (ONE_DIRECTION): Define.
15737         * iconvdata/unicode.c (ONE_DIRECTION): Define.
15738         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15739         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15740         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15742 2014-05-01  Roland McGrath  <roland@hack.frob.com>
15744         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15745         (_IO_JUMPS_OFFSET): Define to 0.
15747         * nptl/sysdeps/pthread/bits/libc-lock.h
15748         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15749         (__libc_lock_define_initialized_recursive): Always define using
15750         initializer.  Modern compilers treat uninitialized (implicit zero) and
15751         explicit zero initializers the same (i.e. put the datum in bss).
15753 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15755         * nscd/nscd-client.h: Include <string.h>.
15757 2014-05-01  David S. Miller  <davem@davemloft.net>
15759         [BZ #16885]
15760         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15761         multiple zero bytes exist at the end of a string.
15762         Reported by Aurelien Jarno <aurelien@aurel32.net>
15764         * string/test-strcmp.c (check): Add explicit test for situations where
15765         there are multiple zero bytes after the first.
15767 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15769         [BZ #16890]
15770         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15771         when compiling wprintf.
15772         * stdio-common/tstdiomisc.c (t3): New function.
15773         (main): Call it.
15775 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15777         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15778         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15779         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15780         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15782 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15784         * stdlib/longlong.h: Updated from GCC.
15786 2014-05-01  Will Newton  <will.newton@linaro.org>
15787             Bernard Ogden  <bernie.ogden@linaro.org>
15789         * NEWS: Update fixed bug list.
15791         [BZ #15119]
15792         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15794 2014-04-30  David S. Miller  <davem@davemloft.net>
15796         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15797         (libc_feholdexcept_setround_sparc_ctx): New function.
15798         (libc_fesetenv_sparc_ctx): Likewise.
15799         (libc_feupdateenv_sparc_ctx): Likewise.
15800         (libc_feholdsetround_sparc_ctx): Likewise.
15801         (libc_feholdexcept_setround_ctx): Define.
15802         (libc_feholdexcept_setroundf_ctx): Likewise.
15803         (libc_feholdexcept_setroundl_ctx): Likewise.
15804         (libc_fesetenv_ctx): Likewise.
15805         (libc_fesetenvf_ctx): Likewise.
15806         (libc_fesetenvl_ctx): Likewise.
15807         (libc_feupdateenv_ctx): Likewise.
15808         (libc_feupdateenvf_ctx): Likewise.
15809         (libc_feupdateenvl_ctx): Likewise.
15810         (libc_feresetround_ctx): Likewise.
15811         (libc_feresetroundf_ctx): Likewise.
15812         (libc_feresetroundl_ctx): Likewise.
15813         (libc_feholdsetround_ctx): Likewise.
15814         (libc_feholdsetroundf_ctx): Likewise.
15815         (libc_feholdsetroundl_ctx): Likewise.
15817         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15818         with __USE_GNU instead of XOPEN cpp guards.
15820         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15821         0.
15823         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15824         with XOPEN cpp guards.
15826 2014-04-30  Julian Brown  <julian@codesourcery.com>
15828         [BZ #16888]
15829         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15830         handling.
15832 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
15834         [BZ #9894]
15835         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15836         Change to 2.6.32.
15837         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15838         * sysdeps/unix/sysv/linux/configure: Regenerated.
15839         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15840         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15841         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15842         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15843         * README: Update reference to required Linux kernel version.
15844         * manual/install.texi (Linux): Update reference to required Linux
15845         kernel headers version.
15846         * INSTALL: Regenerated.
15848         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15849         header inclusion.
15850         [POSIX] (limits.h): Likewise.
15851         [POSIX] (math.h): Likewise.
15852         [POSIX] (sys/wait.h): Likewise.
15853         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15854         function.
15855         [POSIX] (stddef.h): Do not allow header inclusion.
15857 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15859         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15861 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
15863         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15864         Return immediately after lll_futex_wake.
15866 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15868         [BZ #16791]
15869         * nscd/nscd-client.h (datahead_init_common): Initialize entire
15870         structure.
15871         (datahead_init_pos): Call datahead_init_common early.
15872         (datahead_init_neg): Likewise.
15874         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15875         datahead_init_neg): New functions.
15876         * nscd/aicache.c (addhstaiX): Use them.
15877         * nscd/grpcache.c (cache_addgr): Likewise.
15878         * nscd/hstcache.c (cache_addhst): Likewise.
15879         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15880         * nscd/netgroupcache.c (do_notfound): Likewise.
15881         (addgetnetgrentX): Likewise.
15882         (addinnetgrX): Likewise.
15883         * nscd/pwdcache.c (cache_addpw): Likewise.
15884         * nscd/servicescache.c (cache_addserv): Likewise.
15886 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15887             Atsushi Onoe  <atsushi@onoe.org>
15889         [BZ #14308]
15890         [BZ #12994]
15891         [BZ #13651]
15892         * resolv/res_query.c (__libc_res_nsearch): Return if at least
15893         one response is valid.
15894         * resolv/res_send.c (send_dg): Check for validity of other
15895         response if the current response is a referral.
15897 2014-04-29  Steve Ellcey  <sellcey@mips.com>
15899         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15901 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
15903         [BZ #16823]
15904         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15905         Always divide by positive zero when computing -Inf result.
15906         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15907         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15909 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15911         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15912         FPSCR if value do not change.
15913         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15914         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15915         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15916         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15917         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15918         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15919         function.
15921 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
15923         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15924         * sysdeps/unix/sysv/linux/hppa: Move directory from
15925         ports/systeps/unix/sysv/linux/hppa.
15926         * README: Update listing for hppa-*-linux-gnu.
15928 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
15930         [BZ #16754]
15931         * manual/stdio.texi (Hook functions): Fix types of stream hook
15932         functions.
15933         [BZ #16854]
15934         * socket/sys/socket.h: Fix typo in comment.
15936 2014-04-28  Wilco  <wdijkstr@arm.com>
15938         * sysdeps/arm/fenv_private.h: New file.
15939         * sysdeps/arm/math_private.h: New file.
15940         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15942 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
15944         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15945         with __int128_t.
15946         (La_x86_64_retval): Likewise.
15948 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
15950         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15951         fpsr if value didn't change.
15952         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15953         to fpcr if value didn't change.
15954         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15955         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15956         fpsr or fpcr if value didn't change.
15957         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15958         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15959         fpcr if value didn't change.
15960         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15961         to fpsr if value didn't change.
15963 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15965         * nptl/tst-sem3.c: Use test-skeleton.c
15966         (main): Rename to do_test.  Use return instead of
15967         exit.
15968         * nptl/tst-sem4.c: Use test-skeleton.c
15969         (main): Rename to do_test.
15971 2014-04-22  David S. Miller  <davem@davemloft.net>
15973         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15974         (struct sigaction): New struct member __glibc_reserved0, change
15975         type of sa_flags to int.
15977 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
15979         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15980         (COUNT_LEADING_ZEROS_0): Define for AArch64.
15982 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15984         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15985         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15987 2014-04-22  Will Newton  <will.newton@linaro.org>
15988             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
15990         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15991         (__longjmp): Add longjmp and longjmp_target SystemTap
15992         probes.
15993         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15994         (__sigsetjmp): Add setjmp SystemTap probe.
15996 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
15998         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15999         match manual order.
16001 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16003         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16005         * sysdeps/powerpc/fpu/fenv_private.h
16006         (libc_feholdexcept_setroundl_ctx): Define to
16007         libc_feholdexcept_setround_ppc_ctx.
16008         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16009         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16010         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16011         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16013 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16015         * sysdeps/aarch64/math-tests.h: New file.
16017 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
16019         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16020         New.
16021         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16022         Check and set bit_AVX2_Usable.
16023         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16024         macro.
16025         (bit_AVX2): Likewise.
16026         (index_AVX2_Usable): Likewise.
16027         (CPUID_AVX2): Likewise.
16028         (HAS_AVX2): Likewise.
16030 2014-04-17  Will Newton  <will.newton@linaro.org>
16032         * manual/setjmp.texi (System V contexts): Add note that
16033         calling setcontext on a context created by a call to a
16034         signal handler is undefined.  Update text to note that
16035         setcontext from a signal handler is possible but not
16036         recommended.
16038         [BZ #16629]
16039         * stdlib/tst-setcontext.c: Include signal.h.
16040         (main): Check that the signal stack before and
16041         after swapcontext is the same.
16043         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16044         Re-implement to restore registers in user code and avoid
16045         rt_sigreturn system call.
16047 2014-04-17  Wilco  <wdijkstr@arm.com>
16049         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16050         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16051         * math/test-fenv.c: Skip exception trap tests on targets which only
16052         support non-stop mode.
16054 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16055             Wilco Dijkstra  <wilco.dijkstra@arm.com>
16057         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16058         (libc_feholdsetround_aarch64_ctx)
16059         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16060         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16061         (libc_feresetround_ctx, libc_feresetroundf_ctx)
16062         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16063         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16064         (libc_feresetround_noexl_ctx): Define.
16066 2014-04-16  Richard Henderson  <rth@redhat.com>
16068         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16070         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16071         unwind tables.
16073         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16074         const from the non-libc, non-ldso copy.
16076         * sysdeps/alpha/libm-test-ulps: Regenerate.
16078 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
16079             Wilco Dijkstra  <wilco.dijkstra@arm.com>
16081         * sysdeps/aarch64/fpu/math_private.h: New file.
16083 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16085         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16087 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
16089         [BZ #16275]
16090         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16091         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16092         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16093         Intel MPX bound registers before _dl_profile_fixup.
16094         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16095         registers after _dl_profile_fixup.  Save and restore bound
16096         registers bnd0/bnd1 when calling _dl_call_pltexit.
16097         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16098         (LR_BND_OFFSET): Likewise.
16099         (LRV_BND0_OFFSET): Likewise.
16100         (LRV_BND1_OFFSET): Likewise.
16102 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16104         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16105         to...
16106         * sysdeps/mach/hurd/i386/tls.h: ... here.
16107         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16108         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16109         fields.
16111 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16113         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16115 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16117         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16119 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16121         [BZ #14770]
16122         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
16123         * sysdeps/s390/configure: Regenerate.
16125         [BZ #16824]
16126         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
16127         Set round-to-nearest internally to reduce error accumulation.
16129 2014-04-16  Alan Modra  <amodra@gmail.com>
16131         [BZ #16740]
16132         [BZ #16619]
16133         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
16134         * math/libm-test.inc (frexp_test_data): Add tests.
16135         * NEWS: Update fixed bug list.
16137 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16139         * benchtests/Makefile: Depend on libraries in build directory.
16140         (bench-math): Separate out math tests.
16141         (bench-pthread): Separate out pthread tests.
16142         (bench): Include math and pthread tests.
16144 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
16146         [BZ #16831]
16147         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
16148         _dl_debug_initialize.
16150         * configure.ac: Remove SELinux header check.
16151         * configure: Regenerate.
16152         * nscd/selinux.c (perms): Array of const char* to permission names.
16153         (nscd_request_avc_has_perm): Call security_deny_unknown to find
16154         default policy. Call string_to_security_class and string_to_av_perm to
16155         translate strings. Enforce default policy and call avs_has_perm with
16156         results of translated strings.
16158 2014-04-13  David S. Miller  <davem@davemloft.net>
16160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16162 2014-04-12  Allan McRae  <allan@archlinux.org>
16164         [BZ #16838]
16165         * manual/string.texi (Collation Functions): Fix qsort argument
16166         order in example.
16167         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16169 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
16171         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16172         Make the test a no-op if there are no exceptions defined.
16174 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16176         * elf/Makefile (tests): make tst-dlopen-aout conditional on
16177         enable-hardcoded-path-in-tests
16179 2014-04-11  Will Newton  <will.newton@linaro.org>
16181         * benchtests/Makefile (extra-objs): Add json-lib.o.
16182         (bench-func): Tidy up JSON output.
16183         * benchtests/bench-skeleton.c: Include json-lib.h.
16184         (main): Use JSON library functions to do output of
16185         benchmark results.
16186         * benchtests/bench-timing-type.c (main): Output the
16187         timing type simply, leaving formatting to the user.
16188         * benchtests/json-lib.c: New file.
16189         * benchtests/json-lib.h: Likewise.
16191 2014-04-11  Torvald Riegel  <triegel@redhat.com>
16193         [BZ #15215]
16194         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16195         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
16196         memory barriers.  Add comments.
16197         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16198         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16199         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16200         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16201         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16202         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16204 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16206         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16207         * sysdeps/s390/s390-64/configure.ac: ... this ...
16208         * sysdeps/s390/configure.ac: ... to here.
16209         * sysdeps/s390/s390-32/configure: Delete file.
16210         * sysdeps/s390/s390-64/configure: Delete file.
16211         * sysdeps/s390/configure: Regenerate.
16213 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
16215         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16217 2014-04-11  Will Newton  <will.newton@linaro.org>
16219         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16220         to zero if it is not defined elsewhere.  (mtrim): Test
16221         the value of MALLOC_DEBUG with #if rather than #ifdef.
16223 2014-04-10 Torvald Riegel  <triegel@redhat.com>
16225         * benchtests/pthread_once-inputs: New file.
16226         * benchtests/pthread_once-source.c: New file.
16227         * benchtests/README: Update documentation.
16229 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16230             H.J. Lu  <hongjiu.lu@intel.com>
16232         [BZ #16275]
16233         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16234         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16235         * sysdeps/x86_64/configure: Regenerated.
16236         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16237         macro.
16238         (REGISTER_SAVE_RAX): Likewise.
16239         (REGISTER_SAVE_RCX): Likewise.
16240         (REGISTER_SAVE_RDX): Likewise.
16241         (REGISTER_SAVE_RSI): Likewise.
16242         (REGISTER_SAVE_RDI): Likewise.
16243         (REGISTER_SAVE_R8): Likewise.
16244         (REGISTER_SAVE_R9): Likewise.
16245         (REGISTER_SAVE_BND0): Likewise.
16246         (REGISTER_SAVE_BND1): Likewise.
16247         (REGISTER_SAVE_BND2): Likewise.
16248         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
16249         bound registers when calling _dl_fixup.
16251 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16253         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
16254         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16255         of its definition.
16256         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16257         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16258         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16259         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16260         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16261         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16262         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16264 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
16266         [BZ #15514]
16267         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16268         pathconf(_PC_NAME_MAX).
16270 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16272         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16273         Remove macro usage.
16274         (__PTHREAD_SPINS): Move definition to ...
16275         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16276         (__PTHREAD_SPINS): ... here.
16277         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16278         (__PTHREAD_SPIN): Likewise.
16279         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16280         (__PTHREAD_SPIN): Likewise.
16281         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16282         (__PTHREAD_SPIN): Likewise.
16283         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16284         (__PTHREAD_SPIN): Likewise.
16285         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16286         (__PTHREAD_SPIN): Likewise.
16287         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16288         (__PTHREAD_SPIN): Likewise.
16289         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16290         (__PTHREAD_SPIN): Likewise.
16291         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16292         (__PTHREAD_SPIN): Likewise.
16293         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16294         (__PTHREAD_SPIN): Likewise.
16295         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16296         (__PTHREAD_SPIN): Likewise.
16297         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16298         (__PTHREAD_SPIN): Likewise.
16299         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16300         (__PTHREAD_SPIN): Likewise.
16302         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16303         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16304         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16305         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16306         imply folder.
16307         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16308         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16309         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16310         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16311         correct imply path.
16312         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16313         strlen symbol for non multi-arch builds.
16314         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16315         missing hidden_def and weak_alias.
16317 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
16319         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16321 2014-04-07  Will Newton  <will.newton@linaro.org>
16323         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16324         and contents.  [!_LIBC] Remove #ifndef and contents.
16325         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
16326         * string/memccpy.c (__memccpy): Use ANSI prototype.
16327         * string/memfrob.c (memfrob): Likewise.
16328         * string/strcoll.c (STRCOLL): Likewise.
16329         * string/strlen.c (strlen): Likewise.
16330         * string/strtok.c (STRTOK): Likewise.
16331         * string/strcat.c: Remove unused #include of memcopy.h.
16332         (strcat): Use ANSI prototype.
16333         * string/strchr.c: Remove unused #include of memcopy.h.
16334         (strchr): Use ANSI prototype.
16335         * string/strcmp.c: Remove unused #include of memcopy.h.
16336         (strcmp): Use ANSI prototype.
16337         * string/strcpy.c: Remove unused #include of memcopy.h.
16338         (strcpy): Use ANSI prototype.
16340 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16342         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16343         * config.make.in (config-extra-cppflags): Set it from
16344         libc_extra_cppflags.
16345         * configure.ac (libc_extra_cflags): Make it accumulate over
16346         configure fragments.
16347         (libc_extra_cppflags): New flag.
16348         * configure. Regenerate.
16349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16350         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16351         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
16352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16354         [BZ #16815]
16355         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16356         result for FE_DOWNWARD rounding mode.
16357         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16358         Likewise.
16359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16361 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
16363         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16364         in function argument name.
16366 2014-04-03  David Svoboda  <svoboda@cert.org>
16368         [BZ #5666]
16369         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16370         explicitly.
16372 2014-04-03  Roland McGrath  <roland@hack.frob.com>
16374         * elf/dl-unmap-segments.h: New file.
16375         * sysdeps/generic/ldsodefs.h
16376         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16377         * elf/dl-close.c: Include <dl-unmap-segments.h>.
16378         * elf/dl-fptr.c: Likewise.
16379         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16380         * sysdeps/aarch64/tlsdesc.c: Likewise.
16381         * sysdeps/arm/tlsdesc.c: Likewise.
16382         * sysdeps/i386/tlsdesc.c: Likewise.
16383         * sysdeps/tile/dl-runtime.c: Likewise.
16384         * sysdeps/x86_64/tlsdesc.c: Likewise.
16385         * elf/dl-load.h: New file.
16386         * elf/dl-load.c: Include it.
16387         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16388         Macros moved to dl-load.h.
16389         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16390         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16391         Use _dl_unmap_segments in place of __munmap.
16392         Break out segment-mapping loop into ...
16393         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16395 2014-04-03  Will Newton  <will.newton@linaro.org>
16397         * elf/dl-lookup.c (do_lookup_x): Remove comment
16398         referring to nested function and move variable
16399         declarations down to before first use.
16401 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
16403         [BZ #16799]
16404         [BZ #16800]
16405         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16406         with 0 numerator.
16407         * math/s_catanf.c (__catanf): Likewise.
16408         * math/s_catanh.c (__catanh): Likewise.
16409         * math/s_catanhf.c (__catanhf): Likewise.
16410         * math/s_catanhl.c (__catanhl): Likewise.
16411         * math/s_catanl.c (__catanl): Likewise.
16412         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16413         by positive zero when computing -Inf result.
16414         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16415         (catanh_test): Likewise.
16416         * sysdeps/i386/fpu/libm-test-ulps: Update.
16417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16419         [BZ #16789]
16420         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16421         instead of using underflowing value in computing result.
16422         * math/s_clog10.c (__clog10): Likewise.
16423         * math/s_clog10f.c (__clog10f): Likewise.
16424         * math/s_clog10l.c (__clog10l): Likewise.
16425         * math/s_clogf.c (__clogf): Likewise.
16426         * math/s_clogl.c (__clogl): Likewise.
16427         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16428         (clog10_test): Likewise.
16429         * sysdeps/i386/fpu/libm-test-ulps: Update.
16430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16432 2014-04-02  Alan Modra  <amodra@gmail.com>
16434         [BZ #16739]
16435         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16436         output when value is near a power of two.  Use int64_t for lx and
16437         remove casts.  Use decimal rather than hex exponent constants.
16438         Don't use long double multiplication when double will suffice.
16439         * math/libm-test.inc (nextafter_test_data): Add tests.
16440         * NEWS: Add 16739 and 16786 to bug list.
16442         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16444         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16446 2014-04-01  Will Newton  <will.newton@linaro.org>
16448         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16449         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
16451 2014-04-01  Florian Weimer  <fweimer@redhat.com>
16453         [BZ #13347]
16454         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16455         * nptl/tst-setuid2.c: New file.
16456         * nptl/Makefile (xtests): Add tst-setuid2.
16458 2014-04-01  Alan Modra  <amodra@gmail.com>
16460         [BZ #16786]
16461         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16463 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
16465         [BZ #6803]
16466         [BZ #6804]
16467         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16468         set errno as appropriate.
16469         * math/w_scalbf.c (__scalbf): Likewise.
16470         * math/w_scalbl.c (__scalbl): Likewise.
16471         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16472         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16473         * math/libm-test.inc (scalb_test_data): Add errno expectations.
16474         Add more NaN tests.
16476         [BZ #16349]
16477         * math/w_atan2.c: Include <errno.h>.
16478         (__atan2): Set errno for result underflowing to zero.
16479         * math/w_atan2f.c: Include <errno.h>.
16480         (__atan2f): Set errno for result underflowing to zero.
16481         * math/w_atan2l.c: Include <errno.h>.
16482         (__atan2l): Set errno for result underflowing to zero.
16483         * math/auto-libm-test-in: Don't allow missing errno for some atan2
16484         tests.
16485         * math/auto-libm-test-out: Regenerated.
16487 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16489         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16490         Encode instruction correctly in little endian.
16491         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16492         Likewise.
16493         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16494         Likewise.
16495         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16496         Likewise.
16497         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16498         Likewise.
16500 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
16502         [BZ #9894]
16503         * sysdeps/unix/sysv/linux/kernel-features.h
16504         [__sparc__ && !__arch64__ && !__sparc_v9__]
16505         (__ASSUME_SET_ROBUST_LIST): Do not define.
16506         [__sparc__ && !__arch64__ && !__sparc_v9__]
16507         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16508         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16509         Likewise.
16510         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16511         (__ASSUME_FUTEX_LOCK_PI): Undefine.
16512         (__ASSUME_REQUEUE_PI): Likewise.
16513         (__ASSUME_SET_ROBUST_LIST): Likewise.
16514         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16515         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
16516         Undefine.
16517         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16518         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
16519         Likewise.
16520         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
16521         Likewise.
16522         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
16523         Likewise.
16524         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16525         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
16526         Undefine.
16527         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
16528         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
16529         Likewise.
16531         [BZ #16648]
16532         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16533         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
16534         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
16536 2014-03-31  Will Newton  <will.newton@linaro.org>
16538         * benchtests/Makefile (bench): Add ffs and ffsll to list
16539         of tests.
16540         * benchtests/ffs-inputs: New file.
16541         * benchtests/ffsll-inputs: Likewise.
16543 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
16545         [BZ #16770]
16546         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
16547         too large before casting to int.
16548         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
16549         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
16550         * math/libm-test.inc (scalb_test_data): Add more tests.
16552 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16554         * benchtests/Makefile (DETAILED_OPT): New make option.
16555         (bench-func): Run benchmark program with -d if DETAILED_OPT is
16556         set.
16557         * benchtests/bench-skeleton.c: Include stdbool.h.
16558         (main): Store and print timings per input.
16559         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
16560         member to each argument value.
16561         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
16562         (_print_arg_data): Initialize per-input timing to 0.
16564         * benchtests/Makefile (timing-type): New binary.
16565         (bench-clean): Also remove bench-timing-type.
16566         (bench): New target for timing-type.
16567         (bench-func): Print output in JSON format.
16568         * benchtests/bench-skeleton.c (main): Print output in JSON
16569         format.
16570         * benchtests/bench-timing-type.c: New file.
16571         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
16572         (TIMING_PRINT_STATS): Remove.
16573         * benchtests/scripts/bench.py (_print_arg_data): Store variant
16574         name separately.
16576         * benchtests/bench-modf.c: Remove.
16577         * benchtests/modf-inputs: New inputs file.
16579 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
16581         [BZ #16362]
16582         * math/s_clog10.c (M_PI_LOG10E): New macro.
16583         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
16584         imaginary parts are 0.
16585         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
16586         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
16587         imaginary parts are 0.
16588         * math/s_clog10l.c (M_PI_LOG10El): New macro.
16589         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
16590         imaginary parts are 0.
16591         * math/libm-test.inc (clog10_test_data): Update expected results
16592         for when real and imaginary parts are 0.
16594 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
16596         * elf/dl-load.c: Finish conversion of __builtin_expect into
16597         __glibc_{un}likely.
16599 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
16601         [BZ #16348]
16602         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16603         1+x for argument with exponent below -67.
16604         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16605         Likewise.
16606         * math/auto-libm-test-in: Add more tests of exp.
16607         * math/auto-libm-test-out: Regenerated.
16609 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16611         [BZ #16759]
16612         * inet/getnetgrent_r.c (get_nonempty_val): New function.
16613         (nscd_getnetgrent): Use it.
16615         [BZ #16760]
16616         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16617         of stpcpy.
16619 2014-03-27  Andi Kleen  <ak@linux.intel.com>
16621         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16622         (lll_robust_lock, lll_cond_lock, lll_timedlock)
16623         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16624         (lll_robust_unlock): Remove out of line section. Use cfi
16625         intrinsics.
16626         (LLL_STUB_UNWIND_INFO*): Remove.
16627         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16628         (lll_robust_lock, lll_cond_lock, lll_timedlock)
16629         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16630         (lll_robust_unlock): Remove out of line section. Use cfi
16631         intrinsics.
16632         (LLL_STUB_UNWIND_INFO*): Remove.
16634 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16636         [BZ #16758]
16637         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16638         blank values.
16640 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
16642         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16644 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
16646         [BZ #16198]
16647         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16648         fnstenv.
16649         * math/test-fenv-preserve.c: New file.
16650         * math/Makefile (tests): Add test-fenv-preserve.
16652 2014-03-26  Will Newton <will.newton@linaro.org>
16654         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16656 2014-03-25  Roland McGrath  <roland@hack.frob.com>
16658         * scripts/versionlist.awk: Partition the version sets and emit all
16659         GLIBC_* (sorted) before all others (sorted).
16661 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
16663         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16664         GLIBC_2.2.5 version.
16666 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16668         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16669         calls.
16671         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16672         previous change.
16674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16676 2014-03-25  Andreas Schwab  <schwab@suse.de>
16678         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16679         label to be used after in6ailist is initialized.
16681 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16683         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16684         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16686 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
16688         [BZ #16357]
16689         [BZ #16599]
16690         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16691         min_plus_half.
16692         (fp_formats): Update initializers.
16693         (init_fp_formats): Initialize new field.
16694         (output_for_one_input_case): Allow underflow for results up to
16695         min_plus_half.
16696         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16697         * math/auto-libm-test-in: Don't mark some underflows from asin and
16698         atanh as spurious.
16699         * math/auto-libm-test-out: Regenerated.
16700         * sysdeps/i386/fpu/libm-test-ulps: Update.
16701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16703 2014-03-25  Andreas Schwab  <schwab@suse.de>
16705         * libio/Makefile (tst-ftell-partial-wide-ENV)
16706         (tst-ftell-active-handler-ENV): Define.
16708 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
16710         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16712 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16714         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16716 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
16718         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16719         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16720         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16722 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16724         [BZ #16634]
16725         * elf/dl-load.c (open_verify): Add mode parameter.
16726         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16727         (open_path): Change from boolean 'secure' to complete flag 'mode'
16728         (_dl_map_object): Adjust.
16729         * elf/Makefile (tests): Add tst-dlopen-aout.
16730         * elf/tst-dlopen-aout.c: New test.
16732 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
16734         [BZ #16714]
16735         * sysdeps/unix/sysv/linux/s390/bits/stat.h
16736         (struct stat): Rename member pad0 to __glibc_reserved0.
16738         [BZ #16712]
16739         * sysdeps/s390/s390-32/bits/wordsize.h
16740         (__WORDSIZE32_SIZE_ULONG): New define.
16741         * sysdeps/s390/s390-64/bits/wordsize.h
16742         (__WORDSIZE32_SIZE_ULONG): Likewise.
16743         * sysdeps/generic/stdint.h (SIZE_MAX):
16744         Define as UL if __WORDSIZE32_SIZE_ULONG.
16746         [BZ #16713]
16747         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16748         (__glibc_reserved0): New variable.
16749         (sa_flags): Change type to int.
16751         * posix/Makefile (before-compile): Use += before-compile instead
16752         of a :=.
16754         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16755         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16757 2014-03-20  Andreas Schwab  <schwab@suse.de>
16759         [BZ #16743]
16760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16761         non-matching result from nscd.
16763 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16765         * scripts/bench.py: Moved to ...
16766         * benchtests/scripts/bench.py: ... here.
16767         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16769 2014-03-24  Andreas Schwab  <schwab@suse.de>
16771         [BZ #16002]
16772         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16773         alloca_account and account alloca use for struct in6ailist.
16775 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
16777         [BZ #16284]
16778         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16779         rounding mode to recompute results that overflow to infinity or
16780         underflow to zero.
16781         * math/auto-libm-test-in: Don't mark tests as expected to fail for
16782         bug 16284.
16783         * math/auto-libm-test-out: Regenerated.
16784         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16785         (ccosh_test): Likewise.
16786         (csin_test_data): Use plus_oflow.
16787         (csin_test): Use ALL_RM_TEST.
16788         (csinh_test_data): Use plus_oflow.
16789         (csinh_test): Use ALL_RM_TEST.
16790         * sysdeps/i386/fpu/libm-test-ulps: Update.
16791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16793 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
16795         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16796         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16797         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16799         [BZ #16731]
16800         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16801         when x - 1 is zero.
16802         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16803         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16804         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16805         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16806         argument is 1.
16807         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16808         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16809         zero.
16810         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16811         * sysdeps/i386/fpu/libm-test-ulps: Update.
16812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16814 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16816         * scripts/bench.pl: Remove file.
16817         * scripts/bench.py: New benchmark script.
16818         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16819         * benchtests/README: Mention python dependency.
16820         * scripts/pylintrc: New file.
16821         * scripts/pylint: New file.
16823         * bits/mathdef.h: Use #ifdef instead of #if.
16824         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16825         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16826         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16827         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16828         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16829         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16831 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16832             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16834         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16836         and strpbrk-ppc64 objects.
16837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16838         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16839         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16840         multiarch strpbrk for POWER7.
16841         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16842         multiarch strpbrk for PPC64.
16843         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16844         ifunc selector.
16845         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16846         strpbrk for POWER7.
16848 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
16850         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16851         (atan_test): Likewise.
16852         (atanh_test_data): Use NO_TEST_INLINE for two tests.
16853         (atanh_test): Use ALL_RM_TEST.
16854         (atan2_test_data): Likewise.
16855         (cabs_test): Likewise.
16856         (cacosh_test): Likewise.
16857         (carg_test): Likewise.
16858         (casin_test): Likewise.
16859         (casinh_test): Likewise.
16860         (cbrt_test): Likewise.
16861         (csqrt_test): Likewise.
16862         (erf_test): Likewise.
16863         (erfc_test): Likewise.
16864         (pow10_test): Likewise.
16865         (exp2_test): Likewise.
16866         (hypot_test): Likewise.
16867         (j0_test): Likewise.
16868         (j1_test): Likewise.
16869         (lgamma_test): Likewise.
16870         (gamma_test): Likewise.
16871         (sincos_test): Likewise.
16872         (tanh_test): Likewise.
16873         (y0_test): Likewise.
16874         (y1_test): Likewise.
16875         * sysdeps/i386/fpu/libm-test-ulps: Update.
16876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16878 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16880         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16882         and strcspn-ppc64 objects.
16883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16884         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16885         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16886         multiarch strcspn for POWER7.
16887         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16888         multiarch strcspn for PPC64.
16889         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16890         ifunc selector.
16891         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16892         strcspn for POWER7.
16894 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
16896         * math/gen-libm-test.pl (generate_testfile): Expect only function
16897         name as argument to AUTO_TESTS_* and pass results for all rounding
16898         modes to parse_args.
16899         (parse_auto_input): Separate inputs of automatic tests from
16900         outputs before storing in %auto_tests.
16901         * math/libm-test.inc (acos_test_data): Update call to
16902         AUTO_TESTS_f_f.
16903         (acos_test): Use ALL_RM_TEST.
16904         (acos_tonearest_test_data): Remove.
16905         (acos_test_tonearest): Likewise.
16906         (acos_towardzero_test_data): Likewise.
16907         (acos_test_towardzero): Likewise.
16908         (acos_downward_test_data): Likewise.
16909         (acos_test_downward): Likewise.
16910         (acos_upward_test_data): Likewise.
16911         (acos_test_upward): Likewise.
16912         (acosh_test_data): Update call to AUTO_TESTS_f_f.
16913         (asin_test_data): Likewise.
16914         (asin_test): Use ALL_RM_TEST.
16915         (asin_tonearest_test_data): Remove.
16916         (asin_test_tonearest): Likewise.
16917         (asin_towardzero_test_data): Likewise.
16918         (asin_test_towardzero): Likewise.
16919         (asin_downward_test_data): Likewise.
16920         (asin_test_downward): Likewise.
16921         (asin_upward_test_data): Likewise.
16922         (asin_test_upward): Likewise.
16923         (asinh_test_data): Update call to AUTO_TESTS_f_f.
16924         (atan_test_data): Likewise.
16925         (atanh_test_data): Likewise.
16926         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16927         (cabs_test_data): Update call to AUTO_TESTS_c_f.
16928         (carg_test_data): Likewise.
16929         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16930         (ccos_test_data): Update call to AUTO_TESTS_c_c.
16931         (ccosh_test_data): Likewise.
16932         (cexp_test_data): Likewise.
16933         (clog_test_data): Likewise.
16934         (clog10_test_data): Likewise.
16935         (cos_test_data): Update call to AUTO_TESTS_f_f.
16936         (cos_test): Use ALL_RM_TEST.
16937         (cos_tonearest_test_data): Remove.
16938         (cos_test_tonearest): Likewise.
16939         (cos_towardzero_test_data): Likewise.
16940         (cos_test_towardzero): Likewise.
16941         (cos_downward_test_data): Likewise.
16942         (cos_test_downward): Likewise.
16943         (cos_upward_test_data): Likewise.
16944         (cos_test_upward): Likewise.
16945         (cosh_test_data): Update call to AUTO_TESTS_f_f.
16946         (cosh_test): Use ALL_RM_TEST.
16947         (cosh_tonearest_test_data): Remove.
16948         (cosh_test_tonearest): Likewise.
16949         (cosh_towardzero_test_data): Likewise.
16950         (cosh_test_towardzero): Likewise.
16951         (cosh_downward_test_data): Likewise.
16952         (cosh_test_downward): Likewise.
16953         (cosh_upward_test_data): Likewise.
16954         (cosh_test_upward): Likewise.
16955         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16956         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16957         (ctan_test_data): Likewise.
16958         (ctan_test): Use ALL_RM_TEST.
16959         (ctan_tonearest_test_data): Remove.
16960         (ctan_test_tonearest): Likewise.
16961         (ctan_towardzero_test_data): Likewise.
16962         (ctan_test_towardzero): Likewise.
16963         (ctan_downward_test_data): Likewise.
16964         (ctan_test_downward): Likewise.
16965         (ctan_upward_test_data): Likewise.
16966         (ctan_test_upward): Likewise.
16967         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16968         (ctanh_test): Use ALL_RM_TEST.
16969         (ctanh_tonearest_test_data): Remove.
16970         (ctanh_test_tonearest): Likewise.
16971         (ctanh_towardzero_test_data): Likewise.
16972         (ctanh_test_towardzero): Likewise.
16973         (ctanh_downward_test_data): Likewise.
16974         (ctanh_test_downward): Likewise.
16975         (ctanh_upward_test_data): Likewise.
16976         (ctanh_test_upward): Likewise.
16977         (erf_test_data): Update call to AUTO_TESTS_f_f.
16978         (erfc_test_data): Likewise.
16979         (exp_test_data): Likewise.
16980         (exp_test): Use ALL_RM_TEST.
16981         (exp_tonearest_test_data): Remove.
16982         (exp_test_tonearest): Likewise.
16983         (exp_towardzero_test_data): Likewise.
16984         (exp_test_towardzero): Likewise.
16985         (exp_downward_test_data): Likewise.
16986         (exp_test_downward): Likewise.
16987         (exp_upward_test_data): Likewise.
16988         (exp_test_upward): Likewise.
16989         (exp10_test_data): Update call to AUTO_TESTS_f_f.
16990         (exp10_test): Use ALL_RM_TEST.
16991         (exp10_tonearest_test_data): Remove.
16992         (exp10_test_tonearest): Likewise.
16993         (exp10_towardzero_test_data): Likewise.
16994         (exp10_test_towardzero): Likewise.
16995         (exp10_downward_test_data): Likewise.
16996         (exp10_test_downward): Likewise.
16997         (exp10_upward_test_data): Likewise.
16998         (exp10_test_upward): Likewise.
16999         (exp2_test_data): Update call to AUTO_TESTS_f_f.
17000         (expm1_test_data): Likewise.
17001         (expm1_test): Use ALL_RM_TEST.
17002         (expm1_tonearest_test_data): Remove.
17003         (expm1_test_tonearest): Likewise.
17004         (expm1_towardzero_test_data): Likewise.
17005         (expm1_test_towardzero): Likewise.
17006         (expm1_downward_test_data): Likewise.
17007         (expm1_test_downward): Likewise.
17008         (expm1_upward_test_data): Likewise.
17009         (expm1_test_upward): Likewise.
17010         (fma_test_data): Update call to AUTO_TESTS_fff_f.
17011         (fma_test): Use ALL_RM_TEST.
17012         (fma_towardzero_test_data): Remove.
17013         (fma_test_towardzero): Likewise.
17014         (fma_downward_test_data): Likewise.
17015         (fma_test_downward): Likewise.
17016         (fma_upward_test_data): Likewise.
17017         (fma_test_upward): Likewise.
17018         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17019         (j0_test_data): Update call to AUTO_TESTS_f_f.
17020         (j1_test_data): Likewise.
17021         (jn_test_data): Update call to AUTO_TESTS_if_f.
17022         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17023         (log_test_data): Update call to AUTO_TESTS_f_f.
17024         (log10_test_data): Likewise.
17025         (log1p_test_data): Likewise.
17026         (log2_test_data): Likewise.
17027         (pow_test_data): Update call to AUTO_TESTS_ff_f.
17028         (pow_tonearest_test_data): Likewise.
17029         (sin_test_data): Update call to AUTO_TESTS_f_f.
17030         (sin_test): Use ALL_RM_TEST.
17031         (sin_tonearest_test_data): Remove.
17032         (sin_test_tonearest): Likewise.
17033         (sin_towardzero_test_data): Likewise.
17034         (sin_test_towardzero): Likewise.
17035         (sin_downward_test_data): Likewise.
17036         (sin_test_downward): Likewise.
17037         (sin_upward_test_data): Likewise.
17038         (sin_test_upward): Likewise.
17039         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17040         (sinh_test_data): Update call to AUTO_TESTS_f_f.
17041         (sinh_test): Use ALL_RM_TEST.
17042         (sinh_tonearest_test_data): Remove.
17043         (sinh_test_tonearest): Likewise.
17044         (sinh_towardzero_test_data): Likewise.
17045         (sinh_test_towardzero): Likewise.
17046         (sinh_downward_test_data): Likewise.
17047         (sinh_test_downward): Likewise.
17048         (sinh_upward_test_data): Likewise.
17049         (sinh_test_upward): Likewise.
17050         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17051         (sqrt_test): Use ALL_RM_TEST.
17052         (sqrt_tonearest_test_data): Remove.
17053         (sqrt_test_tonearest): Likewise.
17054         (sqrt_towardzero_test_data): Likewise.
17055         (sqrt_test_towardzero): Likewise.
17056         (sqrt_downward_test_data): Likewise.
17057         (sqrt_test_downward): Likewise.
17058         (sqrt_upward_test_data): Likewise.
17059         (sqrt_test_upward): Likewise.
17060         (tan_test_data): Update call to AUTO_TESTS_f_f.
17061         (tan_test): Use ALL_RM_TEST.
17062         (tan_tonearest_test_data): Remove.
17063         (tan_test_tonearest): Likewise.
17064         (tan_towardzero_test_data): Likewise.
17065         (tan_test_towardzero): Likewise.
17066         (tan_downward_test_data): Likewise.
17067         (tan_test_downward): Likewise.
17068         (tan_upward_test_data): Likewise.
17069         (tan_test_upward): Likewise.
17070         (tanh_test_data): Update call to AUTO_TESTS_f_f.
17071         (tgamma_test_data): Likewise.
17072         (y0_test_data): Likewise.
17073         (y1_test_data): Likewise.
17074         (yn_test_data): Update call to AUTO_TESTS_if_f.
17075         (main): Do not call removed functions.
17077 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
17079         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17080         (ldexp_test_data): Remove.
17081         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
17082         scalbn_test_data.
17083         (scalb_test): Use ALL_RM_TEST.
17085 2014-03-19  Andreas Schwab  <schwab@suse.de>
17087         * nscd/nscd.service: Also invalidate netgroup cache on reload.
17089 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
17091         [BZ #16649]
17092         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17093         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17094         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17095         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17096         (__ASSUME_PREADV): Undefine.
17097         (__ASSUME_PWRITEV): Likewise.
17099 2014-03-18  Roland McGrath  <roland@hack.frob.com>
17101         * bits/mman-linux.h: Add comment about non-Linux use.
17102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17103         bits/mman-linux.h resting place.
17105         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17106         * bits/mman-linux.h: ... here.
17108 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17110         * conform/conformtest.pl: Add standard definition when calling C
17111         preprocessor on data files.
17112         (checknamespace): Remove unused variable.
17114 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
17116         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17117         minus_oflow, plus_uflow and minus_uflow in expected results.
17118         * math/libm-test.inc (scalbn_test_data): Add more tests of
17119         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
17120         minus_uflow.
17121         (scalbn_test): Use ALL_RM_TEST.
17122         (scalbln_test_data): Add more tests of negative arguments.  Use
17123         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
17124         (scalbln_test): Use ALL_RM_TEST.
17126 2014-03-18  Roland McGrath  <roland@hack.frob.com>
17128         * scripts/abilist.awk: Ignore symbols marked with .hidden.
17130 2014-03-18  Will Newton  <will.newton@linaro.org>
17132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
17133         inaccurate comment.
17135 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
17137         * Makerules [!subdir] (check-abi): Exit with error status if a
17138         test failed.
17140 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
17142         * math/libm-test.inc (nearbyint_test_data): Include all tests used
17143         for rint.  Include results for all rounding modes.
17144         (nearbyint_test): Use ALL_RM_TEST.
17145         (rint_test_data): Include all tests used for nearbyint.
17147 2014-03-17  Will Newton  <will.newton@linaro.org>
17149         * nptl/sysdeps/pthread/pthread.h: Revert previous
17150         change.
17152         * sysdeps/generic/ldsodefs.h: Revert previous
17153         change.
17155         * libio/genops.c: Revert previous change.
17156         * libio/libioP.h: Likewise.
17157         * stdio-common/vfprintf.c: Likewise.
17159         * sysdeps/generic/math_private.h: Revert previous
17160         change.
17162         * sysdeps/generic/math_private.h: Check whether
17163         HAVE_RM_CTX is defined with #ifdef rather
17164         than #if.
17166         * argp/argp-fmtstream.h: Check whether
17167         __STRICT_ANSI__ is defined with #ifdef rather
17168         than #if.
17169         * argp/argp.h: Likewise.
17171         * libio/genops.c: Check whether
17172         _IO_JUMPS_OFFSET is defined with #ifdef rather
17173         than #if.
17174         * libio/libioP.h: Likewise.
17175         * stdio-common/vfprintf.c: Likewise.
17177         * sysdeps/generic/ldsodefs.h: Check whether
17178         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17179         than #if.
17181         * nptl/sysdeps/pthread/pthread.h: Check
17182         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17183         its value.
17185 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17187         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17188         setting O_APPEND.
17189         * libio/tst-ftell-active-handler.c (do_append_test): Add a
17190         test case.
17192         [BZ #16680]
17193         * libio/fileops.c (_IO_file_open): Seek to end of file but
17194         don't cache the offset.
17195         (get_file_offset): Remove function.
17196         (do_ftell): Use cached offset when available.
17197         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17198         don't cache the offset.
17199         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17200         case.
17201         (do_one_test): Call it.
17202         (do_ftell_test): Fix up expected old offset for a+ mode.
17203         * libio/wfileops.c (do_ftell_wide): Used cached offset when
17204         available.
17206         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17207         up test status with function return status.
17208         (do_write_test): Likewise.
17209         (do_append_test): Likewise.
17211         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17212         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17213         Remove.
17215 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
17217         * math/gen-libm-test.pl (parse_args): Handle results specified for
17218         each rounding mode separately.
17219         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17220         tests and results from lrint_tonearest_test_data,
17221         lrint_towardzero_test_data, lrint_downward_test_data and
17222         lrint_upward_test_data.
17223         (lrint_test): Use ALL_RM_TEST.
17224         (lrint_tonearest_test_data): Remove.
17225         (lrint_test_tonearest): Likewise.
17226         (lrint_towardzero_test_data): Likewise.
17227         (lrint_test_towardzero): Likewise.
17228         (lrint_downward_test_data): Likewise.
17229         (lrint_test_downward): Likewise.
17230         (lrint_upward_test_data): Likewise.
17231         (lrint_test_upward): Likewise.
17232         (llrint_test_data): Merge in per-rounding-mode tests and results
17233         from llrint_tonearest_test_data, llrint_towardzero_test_data,
17234         llrint_downward_test_data and llrint_upward_test_data.
17235         (llrint_test): Use ALL_RM_TEST.
17236         (llrint_tonearest_test_data): Remove.
17237         (llrint_test_tonearest): Likewise.
17238         (llrint_towardzero_test_data): Likewise.
17239         (llrint_test_towardzero): Likewise.
17240         (llrint_downward_test_data): Likewise.
17241         (llrint_test_downward): Likewise.
17242         (llrint_upward_test_data): Likewise.
17243         (llrint_test_upward): Likewise.
17244         (rint_test_data): Merge in per-rounding-mode tests and results
17245         from rint_tonearest_test_data, rint_towardzero_test_data,
17246         rint_downward_test_data and rint_upward_test_data.  Add
17247         per-rounding-mode results for tests not in those arrays.
17248         (rint_test): Use ALL_RM_TEST.
17249         (rint_tonearest_test_data): Remove.
17250         (rint_test_tonearest): Likewise.
17251         (rint_towardzero_test_data): Likewise.
17252         (rint_test_towardzero): Likewise.
17253         (rint_downward_test_data): Likewise.
17254         (rint_test_downward): Likewise.
17255         (rint_upward_test_data): Likewise.
17256         (rint_test_upward): Likewise.
17257         (main): Don't call removed functions.
17259 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17261         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17262         "Compiled on ..." crapola.  It is anti-useful.
17264 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
17266         * scripts/evaluate-test.sh: Handle fourth argument to determine
17267         whether test run should stop on failure.
17268         * Makeconfig (stop-on-test-failure): New variable.
17269         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17270         $(stop-on-test-failure).
17271         * Makefile (tests): Give a summary of results from testing and
17272         exit with failure status if they include an ERROR or FAIL.
17273         (xtests): Likewise.
17274         * manual/install.texi (Configuring and compiling): Mention
17275         stop-on-test-failure=y.
17276         * INSTALL: Regenerated.
17278 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17280         * scripts/versionlist.awk: New file.
17281         * Makerules [$(build-shared) = yes]
17282         (postclean-generated): Add Versions.def, not Versions.def.v and
17283         Versions.def.v.i.
17284         ($(common-objpfx)Versions.def.v.i): Target removed.
17285         ($(common-objpfx)Versions.def): New target.
17286         ($(common-objpfx)Versions.all): Depend on that rather that
17287         $(common-objpfx)Versions.def.v.
17288         * Versions.def: File removed.
17290         * Makeconfig (+gccwarn): Add -Wundef.
17291         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17292         a dl-sysdep.h breaking its contract.
17293         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17294         * include/stackinfo.h: New file.
17295         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17296         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17297         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17298         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17299         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17300         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17301         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17302         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17303         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17304         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17305         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17306         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17307         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17308         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17309         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17311 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17313         [BZ #16707]
17314         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17315         implementation.
17316         * math/libm-test.inc (round_test_data): Add more tests.
17318         [BZ #16706]
17319         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17320         implementation.
17321         * math/libm-test.inc (nearbyint_test_data): Add more tests.
17323         [BZ #16701]
17324         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17325         implementation.
17326         * math/libm-test.inc (ceil_test_data): Add more tests.
17328         * math/libm-test.inc (trunc_test_data): Add more tests related to
17329         BZ#16414.
17331 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17333         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
17334         with #if rather than #ifdef.
17335         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
17337 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
17339         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
17340         first.  Disable AVX-512 GCC support if assembler doesn't support
17341         it.
17342         * sysdeps/x86_64/configure: Regenerated.
17344 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
17346         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17347         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17348         (__old_pthread_attr_setstack): Likewise.
17349         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17350         [!_STACK_GROWS_DOWN]: Likewise.
17352 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
17354         * config.make.in (have-bash2): Delete.
17355         * configure.ac (libc_cv_have_bash2): Delete.
17356         * configure: Regenerate.
17357         * elf/Makefile (common-ldd-rewrite): Rename to ...
17358         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
17359         (sh-ldd-rewrite): Delete.
17360         (bash-ldd-rewrite): Delete.
17361         (have-bash2): Delete checks.
17362         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17363         ldd-rewrite.
17365         * config.make.in (have-ksh): Delete.
17366         (KSH): Delete.
17367         * configure.ac (libc_cv_have_ksh): Delete.
17368         * configure: Regenerate.
17370         * elf/Makefile: Delete $(have-ksh) check.
17371         ($(objpfx)sotruss): Change KSH to BASH.
17372         * elf/sotruss.ksh: Rename to ...
17373         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
17374         function style to match POSIX.  Drop ksh vim mode setting.
17376         * manual/time.texi (Specifying the Time Zone with TZ): Change
17377         Tuesday to Thursday.
17379         * debug/tst-longjmp_chk2.c: Update header comment.
17380         (stackoverflow_handler): Add comment.  Call assert on pass value.
17382 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
17384         [BZ #16194]
17385         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17386         (HAVE_AVX512_ASM_SUPPORT): Likewise.
17387         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17388         (La_x86_64_vector): Add zmm.
17389         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17390         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17391         ($(objpfx)tst-audit10): New target.
17392         ($(objpfx)tst-audit10.out): Likewise.
17393         (tst-audit10-ENV): New.
17394         (AVX512-CFLAGS): Likewise.
17395         (CFLAGS-tst-audit10.c): Likewise.
17396         (CFLAGS-tst-auditmod10a.c): Likewise.
17397         (CFLAGS-tst-auditmod10b.c): Likewise.
17398         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17399         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17400         * sysdeps/x86_64/configure: Regenerated.
17401         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17402         AVX-512 zmm register support.
17403         (_dl_x86_64_save_sse): Likewise.
17404         (_dl_x86_64_restore_sse): Likewise.
17405         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17406         size vector registers.
17407         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17408         (ZMM_SIZE): Likewise.
17409         * sysdeps/x86_64/tst-audit10.c: New file.
17410         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17411         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17413 2014-03-13  Roland McGrath  <roland@hack.frob.com>
17415         * configure.ac (HAVE_EHDR_START): New check.
17416         * configure: Regenerated.
17417         * config.h.in (HAVE_EHDR_START): New #undef.
17418         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17419         assuming the lowest-addressed segment maps the start of the file.
17421 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
17423         * INSTALL: Regenerated.
17425 2014-03-13  Will Newton  <will.newton@linaro.org>
17427         * manual/setjmp.texi (System V contexts): Improve
17428         clarity and grammar of documentation.
17430 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17432         [BZ #16381]
17433         * elf/Makefile (tests): Add tst-pie2.
17434         (tests-pie): Add tst-pie2.
17435         * elf/tst-pie2.c: New file.
17436         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17437         for ET_EXEC.
17438         * elf/rtld.c (map_doit): Load executable as lt_executable.
17439         (dl_main): Likewise.
17441 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
17443         [BZ #16642]
17444         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17445         (__ASSUME_PSELECT): Undefine.
17447 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17449         [BZ #16689]
17450         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17451         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17452         static build.
17453         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17454         selector for static builds.
17456 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17458         [BZ #16695]
17459         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17460         key in the buffer.
17462 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17464         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17465         IFUNC selector for static builds.
17467 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
17469         * sysdeps/mips/math_private.h [__mips_hard_float]
17470         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17471         libc_feresetround_mips_ctx.
17472         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17473         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17474         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17476         [BZ #16677]
17477         * math/s_nextafter.c (__nextafter): Do not return value from
17478         overflowing computation.
17479         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17480         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17481         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17482         Likewise.
17483         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17484         Likewise.
17485         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17486         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17488 2014-03-11  Roland McGrath  <roland@hack.frob.com>
17490         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17491         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17492         Move sfi_sp use from the load-multiple (that no longer sets sp) to
17493         the new mov targetting sp.
17495 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17497         [BZ #16683]
17498         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17499         Define it for static builds as well.
17500         (NO_BZERO_IMPL): Likewise.
17502 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17504         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17505         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17506         multiarch strspn for PPC64.
17507         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17508         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17510         (__libc_ifunc_impl_list): Likewise.
17511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17512         multiarch optimizations
17513         * string/strspn.c (strspn): Using macro to redefine symbol name.
17515 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17516             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17518         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
17519         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
17520         multiarch strncat for PPC64.
17521         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
17522         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
17523         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17524         (__libc_ifunc_impl_list): Likewise.
17525         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
17526         multiarch optimizations
17528 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17530         [BZ #16639]
17531         * nscd/nscd.service: Make service type forking.
17533 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17535         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
17536         sign in non default rounding modes.
17537         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
17539 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
17541         * math/libm-test.inc (ALL_RM_TEST): New macro.
17542         (ceil_test): Use ALL_RM_TEST.
17543         (cimag_test): Likewise.
17544         (conj_test): Likewise.
17545         (copysign_test): Likewise.
17546         (cproj_test): Likewise.
17547         (creal_test): Likewise.
17548         (fabs_test): Likewise.
17549         (floor_test): Likewise.
17550         (fmax_test): Likewise.
17551         (fmin_test): Likewise.
17552         (fmod_test): Likewise.
17553         (fpclassify_test): Likewise.
17554         (frexp_test): Likewise.
17555         (ilogb_test): Likewise.
17556         (isfinite_test): Likewise.
17557         (finite_test): Likewise.
17558         (isgreater_test): Likewise.
17559         (isgreaterequal_test): Likewise.
17560         (isinf_test): Likewise.
17561         (isless_test): Likewise.
17562         (islessequal_test): Likewise.
17563         (islessgreater_test): Likewise.
17564         (isnan_test): Likewise.
17565         (isnormal_test): Likewise.
17566         (issignaling_test): Likewise.
17567         (isunordered_test): Likewise.
17568         (logb_test): Likewise.
17569         (logb_downward_test_data): Remove.
17570         (logb_test_downward): Likewise.
17571         (lround_test): Use ALL_RM_TEST.
17572         (llround_test): Likewise.
17573         (modf_test): Likewise.
17574         (nexttoward_test): Likewise.
17575         (remainder_test): Likewise.
17576         (drem_test): Likewise.
17577         (remainder_tonearest_test_data): Likewise.
17578         (remainder_test_tonearest): Likewise.
17579         (drem_test_tonearest): Likewise.
17580         (remainder_towardzero_test_data): Likewise.
17581         (remainder_test_towardzero): Likewise.
17582         (drem_test_towardzero): Likewise.
17583         (remainder_downward_test_data): Likewise.
17584         (remainder_test_downward): Likewise.
17585         (drem_test_downward): Likewise.
17586         (remainder_upward_test_data): Likewise.
17587         (remainder_test_upward): Likewise.
17588         (drem_test_upward): Likewise.
17589         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
17590         (round_test): Use ALL_RM_TEST.
17591         (signbit_test): Likewise.
17592         (trunc_test): Likewise.
17593         (significand_test): Likewise.
17594         (main): Don't call removed functions.
17596 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
17598         [BZ #16674]
17599         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
17600         || __USE_XOPEN2K8].
17601         (ILL_ILLOPN): Likewise.
17602         (ILL_ILLADR): Likewise.
17603         (ILL_ILLTRP): Likewise.
17604         (ILL_PRVOPC): Likewise.
17605         (ILL_PRVREG): Likewise.
17606         (ILL_COPROC): Likewise.
17607         (ILL_BADSTK): Likewise.
17608         (FPE_INTDIV): Likewise.
17609         (FPE_INTOVF): Likewise.
17610         (FPE_FLTDIV): Likewise.
17611         (FPE_FLTOVF): Likewise.
17612         (FPE_FLTUND): Likewise.
17613         (FPE_FLTRES): Likewise.
17614         (FPE_FLTINV): Likewise.
17615         (FPE_FLTSUB): Likewise.
17616         (SEGV_MAPERR): Likewise.
17617         (SEGV_ACCERR): Likewise.
17618         (BUS_ADRALN): Likewise.
17619         (BUS_ADRERR): Likewise.
17620         (BUS_OBJERR): Likewise.
17621         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17622         (TRAP_TRACE): Likewise.
17623         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17624         __USE_XOPEN2K8].
17625         (CLD_KILLED): Likewise.
17626         (CLD_DUMPED): Likewise.
17627         (CLD_TRAPPED): Likewise.
17628         (CLD_STOPPED): Likewise.
17629         (CLD_CONTINUED): Likewise.
17630         (POLL_IN): Likewise.
17631         (POLL_OUT): Likewise.
17632         (POLL_MSG): Likewise.
17633         (POLL_ERR): Likewise.
17634         (POLL_PRI): Likewise.
17635         (POLL_HUP): Likewise.
17636         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17637         Likewise.
17638         (ILL_ILLOPN): Likewise.
17639         (ILL_ILLADR): Likewise.
17640         (ILL_ILLTRP): Likewise.
17641         (ILL_PRVOPC): Likewise.
17642         (ILL_PRVREG): Likewise.
17643         (ILL_COPROC): Likewise.
17644         (ILL_BADSTK): Likewise.
17645         (FPE_INTDIV): Likewise.
17646         (FPE_INTOVF): Likewise.
17647         (FPE_FLTDIV): Likewise.
17648         (FPE_FLTOVF): Likewise.
17649         (FPE_FLTUND): Likewise.
17650         (FPE_FLTRES): Likewise.
17651         (FPE_FLTINV): Likewise.
17652         (FPE_FLTSUB): Likewise.
17653         (SEGV_MAPERR): Likewise.
17654         (SEGV_ACCERR): Likewise.
17655         (BUS_ADRALN): Likewise.
17656         (BUS_ADRERR): Likewise.
17657         (BUS_OBJERR): Likewise.
17658         (BUS_MCEERR_AR): Likewise.
17659         (BUS_MCEERR_AO): Likewise.
17660         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17661         (TRAP_TRACE): Likewise.
17662         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17663         __USE_XOPEN2K8].
17664         (CLD_KILLED): Likewise.
17665         (CLD_DUMPED): Likewise.
17666         (CLD_TRAPPED): Likewise.
17667         (CLD_STOPPED): Likewise.
17668         (CLD_CONTINUED): Likewise.
17669         (POLL_IN): Likewise.
17670         (POLL_OUT): Likewise.
17671         (POLL_MSG): Likewise.
17672         (POLL_ERR): Likewise.
17673         (POLL_PRI): Likewise.
17674         (POLL_HUP): Likewise.
17675         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17676         (ILL_ILLOPN): Likewise.
17677         (ILL_ILLADR): Likewise.
17678         (ILL_ILLTRP): Likewise.
17679         (ILL_PRVOPC): Likewise.
17680         (ILL_PRVREG): Likewise.
17681         (ILL_COPROC): Likewise.
17682         (ILL_BADSTK): Likewise.
17683         (FPE_INTDIV): Likewise.
17684         (FPE_INTOVF): Likewise.
17685         (FPE_FLTDIV): Likewise.
17686         (FPE_FLTOVF): Likewise.
17687         (FPE_FLTUND): Likewise.
17688         (FPE_FLTRES): Likewise.
17689         (FPE_FLTINV): Likewise.
17690         (FPE_FLTSUB): Likewise.
17691         (SEGV_MAPERR): Likewise.
17692         (SEGV_ACCERR): Likewise.
17693         (BUS_ADRALN): Likewise.
17694         (BUS_ADRERR): Likewise.
17695         (BUS_OBJERR): Likewise.
17696         (BUS_MCEERR_AR): Likewise.
17697         (BUS_MCEERR_AO): Likewise.
17698         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17699         (TRAP_TRACE): Likewise.
17700         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17701         __USE_XOPEN2K8].
17702         (CLD_KILLED): Likewise.
17703         (CLD_DUMPED): Likewise.
17704         (CLD_TRAPPED): Likewise.
17705         (CLD_STOPPED): Likewise.
17706         (CLD_CONTINUED): Likewise.
17707         (POLL_IN): Likewise.
17708         (POLL_OUT): Likewise.
17709         (POLL_MSG): Likewise.
17710         (POLL_ERR): Likewise.
17711         (POLL_PRI): Likewise.
17712         (POLL_HUP): Likewise.
17713         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17714         Likewise.
17715         (ILL_ILLOPN): Likewise.
17716         (ILL_ILLADR): Likewise.
17717         (ILL_ILLTRP): Likewise.
17718         (ILL_PRVOPC): Likewise.
17719         (ILL_PRVREG): Likewise.
17720         (ILL_COPROC): Likewise.
17721         (ILL_BADSTK): Likewise.
17722         (ILL_BADIADDR): Likewise.
17723         (ILL_BREAK): Likewise.
17724         (FPE_INTDIV): Likewise.
17725         (FPE_INTOVF): Likewise.
17726         (FPE_FLTDIV): Likewise.
17727         (FPE_FLTOVF): Likewise.
17728         (FPE_FLTUND): Likewise.
17729         (FPE_FLTRES): Likewise.
17730         (FPE_FLTINV): Likewise.
17731         (FPE_FLTSUB): Likewise.
17732         (FPE_DECOVF): Likewise.
17733         (FPE_DECDIV): Likewise.
17734         (FPE_DECERR): Likewise.
17735         (FPE_INVASC): Likewise.
17736         (FPE_INVDEC): Likewise.
17737         (SEGV_MAPERR): Likewise.
17738         (SEGV_ACCERR): Likewise.
17739         (SEGV_PSTKOVF): Likewise.
17740         (BUS_ADRALN): Likewise.
17741         (BUS_ADRERR): Likewise.
17742         (BUS_OBJERR): Likewise.
17743         (BUS_MCEERR_AR): Likewise.
17744         (BUS_MCEERR_AO): Likewise.
17745         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17746         (TRAP_TRACE): Likewise.
17747         (TRAP_BRANCH): Likewise.
17748         (TRAP_HWBKPT): Likewise.
17749         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17750         __USE_XOPEN2K8].
17751         (CLD_KILLED): Likewise.
17752         (CLD_DUMPED): Likewise.
17753         (CLD_TRAPPED): Likewise.
17754         (CLD_STOPPED): Likewise.
17755         (CLD_CONTINUED): Likewise.
17756         (POLL_IN): Likewise.
17757         (POLL_OUT): Likewise.
17758         (POLL_MSG): Likewise.
17759         (POLL_ERR): Likewise.
17760         (POLL_PRI): Likewise.
17761         (POLL_HUP): Likewise.
17762         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17763         (ILL_ILLOPN): Likewise.
17764         (ILL_ILLADR): Likewise.
17765         (ILL_ILLTRP): Likewise.
17766         (ILL_PRVOPC): Likewise.
17767         (ILL_PRVREG): Likewise.
17768         (ILL_COPROC): Likewise.
17769         (ILL_BADSTK): Likewise.
17770         (FPE_INTDIV): Likewise.
17771         (FPE_INTOVF): Likewise.
17772         (FPE_FLTDIV): Likewise.
17773         (FPE_FLTOVF): Likewise.
17774         (FPE_FLTUND): Likewise.
17775         (FPE_FLTRES): Likewise.
17776         (FPE_FLTINV): Likewise.
17777         (FPE_FLTSUB): Likewise.
17778         (SEGV_MAPERR): Likewise.
17779         (SEGV_ACCERR): Likewise.
17780         (BUS_ADRALN): Likewise.
17781         (BUS_ADRERR): Likewise.
17782         (BUS_OBJERR): Likewise.
17783         (BUS_MCEERR_AR): Likewise.
17784         (BUS_MCEERR_AO): Likewise.
17785         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17786         (TRAP_TRACE): Likewise.
17787         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17788         __USE_XOPEN2K8].
17789         (CLD_KILLED): Likewise.
17790         (CLD_DUMPED): Likewise.
17791         (CLD_TRAPPED): Likewise.
17792         (CLD_STOPPED): Likewise.
17793         (CLD_CONTINUED): Likewise.
17794         (POLL_IN): Likewise.
17795         (POLL_OUT): Likewise.
17796         (POLL_MSG): Likewise.
17797         (POLL_ERR): Likewise.
17798         (POLL_PRI): Likewise.
17799         (POLL_HUP): Likewise.
17800         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17801         (ILL_ILLOPN): Likewise.
17802         (ILL_ILLADR): Likewise.
17803         (ILL_ILLTRP): Likewise.
17804         (ILL_PRVOPC): Likewise.
17805         (ILL_PRVREG): Likewise.
17806         (ILL_COPROC): Likewise.
17807         (ILL_BADSTK): Likewise.
17808         (FPE_INTDIV): Likewise.
17809         (FPE_INTOVF): Likewise.
17810         (FPE_FLTDIV): Likewise.
17811         (FPE_FLTOVF): Likewise.
17812         (FPE_FLTUND): Likewise.
17813         (FPE_FLTRES): Likewise.
17814         (FPE_FLTINV): Likewise.
17815         (FPE_FLTSUB): Likewise.
17816         (SEGV_MAPERR): Likewise.
17817         (SEGV_ACCERR): Likewise.
17818         (BUS_ADRALN): Likewise.
17819         (BUS_ADRERR): Likewise.
17820         (BUS_OBJERR): Likewise.
17821         (BUS_MCEERR_AR): Likewise.
17822         (BUS_MCEERR_AO): Likewise.
17823         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17824         (TRAP_TRACE): Likewise.
17825         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17826         __USE_XOPEN2K8].
17827         (CLD_KILLED): Likewise.
17828         (CLD_DUMPED): Likewise.
17829         (CLD_TRAPPED): Likewise.
17830         (CLD_STOPPED): Likewise.
17831         (CLD_CONTINUED): Likewise.
17832         (POLL_IN): Likewise.
17833         (POLL_OUT): Likewise.
17834         (POLL_MSG): Likewise.
17835         (POLL_ERR): Likewise.
17836         (POLL_PRI): Likewise.
17837         (POLL_HUP): Likewise.
17838         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17839         (ILL_ILLOPN): Likewise.
17840         (ILL_ILLADR): Likewise.
17841         (ILL_ILLTRP): Likewise.
17842         (ILL_PRVOPC): Likewise.
17843         (ILL_PRVREG): Likewise.
17844         (ILL_COPROC): Likewise.
17845         (ILL_BADSTK): Likewise.
17846         (FPE_INTDIV): Likewise.
17847         (FPE_INTOVF): Likewise.
17848         (FPE_FLTDIV): Likewise.
17849         (FPE_FLTOVF): Likewise.
17850         (FPE_FLTUND): Likewise.
17851         (FPE_FLTRES): Likewise.
17852         (FPE_FLTINV): Likewise.
17853         (FPE_FLTSUB): Likewise.
17854         (SEGV_MAPERR): Likewise.
17855         (SEGV_ACCERR): Likewise.
17856         (BUS_ADRALN): Likewise.
17857         (BUS_ADRERR): Likewise.
17858         (BUS_OBJERR): Likewise.
17859         (BUS_MCEERR_AR): Likewise.
17860         (BUS_MCEERR_AO): Likewise.
17861         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17862         (TRAP_TRACE): Likewise.
17863         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17864         __USE_XOPEN2K8].
17865         (CLD_KILLED): Likewise.
17866         (CLD_DUMPED): Likewise.
17867         (CLD_TRAPPED): Likewise.
17868         (CLD_STOPPED): Likewise.
17869         (CLD_CONTINUED): Likewise.
17870         (POLL_IN): Likewise.
17871         (POLL_OUT): Likewise.
17872         (POLL_MSG): Likewise.
17873         (POLL_ERR): Likewise.
17874         (POLL_PRI): Likewise.
17875         (POLL_HUP): Likewise.
17876         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17877         (ILL_ILLOPN): Likewise.
17878         (ILL_ILLADR): Likewise.
17879         (ILL_ILLTRP): Likewise.
17880         (ILL_PRVOPC): Likewise.
17881         (ILL_PRVREG): Likewise.
17882         (ILL_COPROC): Likewise.
17883         (ILL_BADSTK): Likewise.
17884         (ILL_DBLFLT): Likewise.
17885         (ILL_HARDWALL): Likewise.
17886         (FPE_INTDIV): Likewise.
17887         (FPE_INTOVF): Likewise.
17888         (FPE_FLTDIV): Likewise.
17889         (FPE_FLTOVF): Likewise.
17890         (FPE_FLTUND): Likewise.
17891         (FPE_FLTRES): Likewise.
17892         (FPE_FLTINV): Likewise.
17893         (FPE_FLTSUB): Likewise.
17894         (SEGV_MAPERR): Likewise.
17895         (SEGV_ACCERR): Likewise.
17896         (BUS_ADRALN): Likewise.
17897         (BUS_ADRERR): Likewise.
17898         (BUS_OBJERR): Likewise.
17899         (BUS_MCEERR_AR): Likewise.
17900         (BUS_MCEERR_AO): Likewise.
17901         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17902         (TRAP_TRACE): Likewise.
17903         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17904         __USE_XOPEN2K8].
17905         (CLD_KILLED): Likewise.
17906         (CLD_DUMPED): Likewise.
17907         (CLD_TRAPPED): Likewise.
17908         (CLD_STOPPED): Likewise.
17909         (CLD_CONTINUED): Likewise.
17910         (POLL_IN): Likewise.
17911         (POLL_OUT): Likewise.
17912         (POLL_MSG): Likewise.
17913         (POLL_ERR): Likewise.
17914         (POLL_PRI): Likewise.
17915         (POLL_HUP): Likewise.
17916         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17917         (ILL_ILLOPN): Likewise.
17918         (ILL_ILLADR): Likewise.
17919         (ILL_ILLTRP): Likewise.
17920         (ILL_PRVOPC): Likewise.
17921         (ILL_PRVREG): Likewise.
17922         (ILL_COPROC): Likewise.
17923         (ILL_BADSTK): Likewise.
17924         (FPE_INTDIV): Likewise.
17925         (FPE_INTOVF): Likewise.
17926         (FPE_FLTDIV): Likewise.
17927         (FPE_FLTOVF): Likewise.
17928         (FPE_FLTUND): Likewise.
17929         (FPE_FLTRES): Likewise.
17930         (FPE_FLTINV): Likewise.
17931         (FPE_FLTSUB): Likewise.
17932         (SEGV_MAPERR): Likewise.
17933         (SEGV_ACCERR): Likewise.
17934         (BUS_ADRALN): Likewise.
17935         (BUS_ADRERR): Likewise.
17936         (BUS_OBJERR): Likewise.
17937         (BUS_MCEERR_AR): Likewise.
17938         (BUS_MCEERR_AO): Likewise.
17939         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17940         (TRAP_TRACE): Likewise.
17941         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17942         __USE_XOPEN2K8].
17943         (CLD_KILLED): Likewise.
17944         (CLD_DUMPED): Likewise.
17945         (CLD_TRAPPED): Likewise.
17946         (CLD_STOPPED): Likewise.
17947         (CLD_CONTINUED): Likewise.
17948         (POLL_IN): Likewise.
17949         (POLL_OUT): Likewise.
17950         (POLL_MSG): Likewise.
17951         (POLL_ERR): Likewise.
17952         (POLL_PRI): Likewise.
17953         (POLL_HUP): Likewise.
17954         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17955         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17957         [BZ #16670]
17958         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17959         before #include of <time.h>.
17960         [!__USE_XOPEN2K] (__need_timespec): Likewise.
17961         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17962         (test-xfail-UNIX98/sched.h/conform): Likewise.
17964 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17966         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17967         error absence of trapping exception support.
17968         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17970 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
17972         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17973         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17974         * timezone/Makefile (testdata): Move definition above include of
17975         Rules.
17976         (test-zones): New variable.
17977         (tests-special): Add zone files.
17978         (build-testdata): Use $(evaluate-test).
17980         * elf/Makefile (tests-special): Rename tests to end with .out.
17981         ($(objpfx)noload-mem): Likewise.
17982         ($(objpfx)tst-leaks1-mem): Likewise.
17983         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17984         * iconv/Makefile (xtests-special): Change test-iconvconfig to
17985         $(objpfx)test-iconvconfig.out.
17986         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
17987         set -e inside subshell and redirect output to file.
17988         * iconvdata/Makefile (generated): Rename tests to end with .out.
17989         Correct type.
17990         (tests-special): Rename tests to end with .out.
17991         ($(objpfx)mtrace-tst-loading): Likewise.
17992         * intl/Makefile (generated): Likewise.
17993         (tests-special): Likewise.
17994         ($(objpfx)mtrace-tst-gettext): Likewise.
17995         * misc/Makefile (generated): Likewise.
17996         (tests-special): Likewise.
17997         ($(objpfx)tst-error1-mem): Likewise.
17998         * nptl/Makefile (tests-special): Likewise.
17999         ($(objpfx)tst-stack3-mem): Likewise.
18000         (generated): Likewise.
18001         * posix/Makefile (generated): Likewise.
18002         (tests-special): Likewise.
18003         (xtests-special): Likewise.
18004         ($(objpfx)tst-fnmatch-mem): Likewise.
18005         ($(objpfx)bug-regex2-mem): Likewise.
18006         ($(objpfx)bug-regex14-mem): Likewise.
18007         ($(objpfx)bug-regex21-mem): Likewise.
18008         ($(objpfx)bug-regex31-mem): Likewise.
18009         ($(objpfx)tst-vfork3-mem): Likewise.
18010         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18011         ($(objpfx)tst-pcre-mem): Likewise.
18012         ($(objpfx)tst-boost-mem): Likewise.
18013         ($(objpfx)bug-ga2-mem): Likewise.
18014         ($(objpfx)bug-glob2-mem): Likewise.
18015         * resolv/Makefile (generate): Likewise.
18016         (tests-special): Likewise.
18017         (xtests-special): Likewise.
18018         (generated): Likewise.
18019         ($(objpfx)mtrace-tst-leaks): Likewise.
18020         ($(objpfx)mtrace-tst-leaks2): Likewise.
18022         * scripts/merge-test-results.sh: New file.
18023         * Makefile (tests-special-notdir): New variable.
18024         (tests): Run merge-test-results.sh.
18025         (xtests): Likewise.
18026         * Rules (tests-special-notdir): New variable.
18027         (xtests-special-notdir): Likewise.
18028         (tests): Run merge-test-results.sh
18029         (xtests): Likewise.
18031         * Makeconfig (test-xfail-name): New variable.
18032         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18033         compute variable name for expected failures.
18034         * conform/Makefile (conformtest-headers-data): New variable.
18035         (conformtest-standards): Likewise.
18036         (conformtest-headers-ISO): Likewise.
18037         (conformtest-headers-ISO99): Likewise.
18038         (conformtest-headers-ISO11): Likewise.
18039         (conformtest-headers-POSIX): Likewise.
18040         (conformtest-headers-XPG3): Likewise.
18041         (conformtest-headers-XPG4): Likewise.
18042         (conformtest-headers-UNIX98): Likewise.
18043         (conformtest-headers-XOPEN2K): Likewise.
18044         (conformtest-headers-POSIX2008): Likewise.
18045         (conformtest-headers-XOPEN2K8): Likewise.
18046         (conformtest-header-list-base): Likewise.
18047         (conformtest-header-list-tests): Likewise.
18048         (conformtest-header-base): Likewise.
18049         (conformtest-header-tests): Likewise.
18050         (tests-special): Add $(conformtest-header-list-tests).  If
18051         [$(fast-check) && !$(cross-compiling)], add
18052         $(conformtest-header-tests) instead of
18053         $(objpfx)run-conformtest.out.
18054         (generated): Add $(conformtest-header-list-base).  If
18055         [$(fast-check) && !$(cross-compiling)], add
18056         $(conformtest-header-base).  Remove previous setting.
18057         ($(conformtest-header-list-tests)): New target.
18058         (test-xfail-run-conformtest): Remove variable.
18059         ($(objpfx)run-conformtest.out): Remove target.
18060         (test-xfail-ISO11/complex.h/conform): New variable.
18061         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18062         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18063         (test-xfail-XPG3/varargs.h/conform): Likewise.
18064         (test-xfail-XPG4/varargs.h/conform): Likewise.
18065         (test-xfail-UNIX98/varargs.h/conform): Likewise.
18066         (test-xfail-XPG4/ndbm.h/conform): Likewise.
18067         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18068         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18069         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18070         (test-xfail-XPG3/fcntl.h/conform): Likewise.
18071         (test-xfail-XPG3/ftw.h/conform): Likewise.
18072         (test-xfail-XPG3/grp.h/conform): Likewise.
18073         (test-xfail-XPG3/langinfo.h/conform): Likewise.
18074         (test-xfail-XPG3/limits.h/conform): Likewise.
18075         (test-xfail-XPG3/pwd.h/conform): Likewise.
18076         (test-xfail-XPG3/search.h/conform): Likewise.
18077         (test-xfail-XPG3/signal.h/conform): Likewise.
18078         (test-xfail-XPG3/stdio.h/conform): Likewise.
18079         (test-xfail-XPG3/stdlib.h/conform): Likewise.
18080         (test-xfail-XPG3/string.h/conform): Likewise.
18081         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18082         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18083         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18084         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18085         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18086         (test-xfail-XPG3/sys/types.h/conform): Likewise.
18087         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18088         (test-xfail-XPG3/termios.h/conform): Likewise.
18089         (test-xfail-XPG3/time.h/conform): Likewise.
18090         (test-xfail-XPG3/unistd.h/conform): Likewise.
18091         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18092         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18093         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18094         (test-xfail-XPG4/netdb.h/conform): Likewise.
18095         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18096         (test-xfail-XPG4/signal.h/conform): Likewise.
18097         (test-xfail-XPG4/stdio.h/conform): Likewise.
18098         (test-xfail-XPG4/stdlib.h/conform): Likewise.
18099         (test-xfail-XPG4/stropts.h/conform): Likewise.
18100         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18101         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18102         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18103         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18104         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18105         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18106         (test-xfail-XPG4/sys/time.h/conform): Likewise.
18107         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18108         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18109         (test-xfail-XPG4/termios.h/conform): Likewise.
18110         (test-xfail-XPG4/ucontext.h/conform): Likewise.
18111         (test-xfail-XPG4/unistd.h/conform): Likewise.
18112         (test-xfail-XPG4/utmpx.h/conform): Likewise.
18113         (test-xfail-POSIX/sched.h/conform): Likewise.
18114         (test-xfail-POSIX/signal.h/conform): Likewise.
18115         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18116         (test-xfail-POSIX/tar.h/conform): Likewise.
18117         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
18118         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
18119         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18120         (test-xfail-UNIX98/netdb.h/conform): Likewise.
18121         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
18122         (test-xfail-UNIX98/sched.h/conform): Likewise.
18123         (test-xfail-UNIX98/signal.h/conform): Likewise.
18124         (test-xfail-UNIX98/stdio.h/conform): Likewise.
18125         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18126         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18127         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18128         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18129         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18130         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18131         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18132         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18133         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
18134         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
18135         (test-xfail-UNIX98/unistd.h/conform): Likewise.
18136         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18137         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
18138         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
18139         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18140         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
18141         (test-xfail-XOPEN2K/math.h/conform): Likewise.
18142         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18143         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18144         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18145         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
18146         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
18147         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
18148         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
18149         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18150         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18151         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18152         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18153         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18154         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18155         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18156         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18157         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18158         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18159         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18160         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18161         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18162         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18163         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18164         (test-xfail-POSIX2008/signal.h/conform): Likewise.
18165         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18166         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18167         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18168         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18169         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18170         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18171         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18172         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18173         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18174         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18175         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18176         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18177         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18178         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18179         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18180         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18181         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18182         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18183         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18184         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18185         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18186         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18187         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18188         (conformtest-cc-flags): Likewise.
18189         ($(conformtest-header-tests): New target.
18190         * conform/check-header-lists.sh: New file.
18191         * conform/run-conformtest.sh: Remove.
18193         * conform/conformtest.pl: Allow ' and \ in values given for
18194         constants.
18195         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18196         inclusion.
18197         [POSIX] (sys/types.h): Likewise.
18198         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18199         inclusion.
18200         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18201         inclusion.
18202         * conform/data/signal.h-data (SIGIO): Remove expectation.
18203         [XPG3] (SIGBUS): Do not expect.
18204         [POSIX || XPG3] (SIGPOLL): Likewise.
18205         [POSIX || XPG3] (SIGPROF): Likewise.
18206         [POSIX || XPG3] (SIGSYS): Likewise.
18207         [XPG3] (SIGTRAP): Likewise.
18208         [POSIX || XPG3] (SIGURG): Likewise.
18209         [POSIX || XPG3] (SIGVTALRM): Likewise.
18210         [POSIX || XPG3] (SIGXCPU): Likewise.
18211         [POSIX || XPG3] (SIGXFSZ): Likewise.
18212         [POSIX] (SA_SIGINFO): Expect.
18213         [XPG3] (siginfo_t): Do not expect type or contents.
18214         [POSIX] (si_pid): Do not expect element.
18215         [POSIX] (si_uid): Likewise.
18216         [POSIX] (si_addr): Likewise.
18217         [POSIX] (si_status): Likewise.
18218         [POSIX] (si_band): Likewise.
18219         [XPG4] (si_value): Likewise.
18220         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18221         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18222         [POSIX || XPG3] (ILL_ILLADR): Likewise.
18223         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18224         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18225         [POSIX || XPG3] (ILL_PRVREG): Likewise.
18226         [POSIX || XPG3] (ILL_COPROC): Likewise.
18227         [POSIX || XPG3] (ILL_BADSTK): Likewise.
18228         [POSIX || XPG3] (FPE_INTDIV): Likewise.
18229         [POSIX || XPG3] (FPE_INTOVF): Likewise.
18230         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18231         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18232         [POSIX || XPG3] (FPE_FLTUND): Likewise.
18233         [POSIX || XPG3] (FPE_FLTRES): Likewise.
18234         [POSIX || XPG3] (FPE_FLTINV): Likewise.
18235         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18236         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18237         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18238         [POSIX || XPG3] (BUS_ADRALN): Likewise.
18239         [POSIX || XPG3] (BUS_ADRERR): Likewise.
18240         [POSIX || XPG3] (BUS_OBJERR): Likewise.
18241         [POSIX || XPG3] (CLD_EXITED): Likewise.
18242         [POSIX || XPG3] (CLD_KILLED): Likewise.
18243         [POSIX || XPG3] (CLD_DUMPED): Likewise.
18244         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18245         [POSIX || XPG3] (CLD_STOPPED): Likewise.
18246         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18247         [POSIX || XPG3] (POLL_IN): Likewise.
18248         [POSIX || XPG3] (POLL_OUT): Likewise.
18249         [POSIX || XPG3] (POLL_MSG): Likewise.
18250         [POSIX || XPG3] (POLL_ERR): Likewise.
18251         [POSIX || XPG3] (POLL_PRI): Likewise.
18252         [POSIX || XPG3] (POLL_HUP): Likewise.
18253         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18254         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18255         (SIG*): Do not allow.
18256         [XPG3] (si_*): Likewise.
18257         [XPG3] (SI_*): Likewise.
18258         [XPG3 || XPG4] (sigev_*): Likewise.
18259         [XPG3 || XPG4] (SIGEV_*): Likewise.
18260         [XPG3 || XPG4] (sival_*): Likewise.
18261         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18262         [POSIX || XPG3] (BUS_*): Likewise.
18263         [POSIX || XPG3] (CLD_*): Likewise.
18264         [POSIX || XPG3] (FPE_*): Likewise.
18265         [POSIX || XPG3] (ILL_*): Likewise.
18266         [POSIX || XPG3] (POLL_*): Likewise.
18267         [POSIX || XPG3] (SEGV_*): Likewise.
18268         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18269         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18270         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18271         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18272         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18273         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18274         Specify type and value.
18275         (TVERSLEN): Likewise.
18276         (REGTYPE): Likewise.
18277         (AREGTYPE): Likewise.
18278         (LNKTYPE): Likewise.
18279         (SYMTYPE): Likewise.
18280         (CHRTYPE): Likewise.
18281         (BLKTYPE): Likewise.
18282         (DIRTYPE): Likewise.
18283         (FIFOTYPE): Likewise.
18284         (CONTTYPE): Likewise.
18285         (TSUID): Likewise.
18286         (TSGID): Likewise.
18287         (TSVTX): Likewise.
18288         (TUREAD): Likewise.
18289         (TUWRITE): Likewise.
18290         (TUEXEC): Likewise.
18291         (TGREAD): Likewise.
18292         (TGWRITE): Likewise.
18293         (TGEXEC): Likewise.
18294         (TOREAD): Likewise.
18295         (TOWRITE): Likewise.
18296         (TOEXEC): Likewise.
18297         [POSIX] (TSVTX): Expect constant.
18299 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
18301         * Makefile (tests): Change dependencies to ....
18302         (tests-special): ... additions to this variable.
18303         (tests): Depend on $(tests-special).
18304         * Makerules (check-abi-list): New variable.
18305         (check-abi): Depend on $(check-abi-list).
18306         [$(subdir) = elf] (tests-special): Add
18307         $(objpfx)check-abi-libc.out.
18308         [$(build-shared) = yes && subdir] (tests-special): Add
18309         $(check-abi-list).
18310         [$(build-shared) = yes && subdir] (tests): Do not depend on
18311         check-abi.
18312         * Rules (tests): Depend on $(tests-special).
18313         (xtests): Depend on $(xtests-special).
18314         * catgets/Makefile (tests): Change dependencies to ....
18315         (tests-special): ... additions to this variable.
18316         * conform/Makefile (tests): Change dependencies to ....
18317         (tests-special): ... additions to this variable.
18318         * elf/Makefile (tests): Change dependencies to ....
18319         (tests-special): ... additions to this variable.
18320         * grp/Makefile (tests): Change dependencies to ....
18321         (tests-special): ... additions to this variable.
18322         * iconv/Makefile (xtests): Change dependencies to ....
18323         (xtests-special): ... additions to this variable.
18324         * iconvdata/Makefile (tests): Change dependencies to ....
18325         (tests-special): ... additions to this variable.
18326         * intl/Makefile (tests): Change dependencies to ....
18327         (tests-special): ... additions to this variable.  Also add
18328         $(objpfx)tst-gettext.out.
18329         * io/Makefile (tests): Change dependencies to ....
18330         (tests-special): ... additions to this variable.
18331         * libio/Makefile (tests): Change dependencies to ....
18332         (tests-special): ... additions to this variable.
18333         * malloc/Makefile (tests): Change dependencies to ....
18334         (tests-special): ... additions to this variable.
18335         * misc/Makefile (tests): Change dependencies to ....
18336         (tests-special): ... additions to this variable.
18337         * nptl/Makefile (tests): Change dependencies to ....
18338         (tests-special): ... additions to this variable.
18339         * nptl_db/Makefile (tests): Change dependencies to ....
18340         (tests-special): ... additions to this variable.
18341         * posix/Makefile (tests): Change dependencies to ....
18342         (tests-special): ... additions to this variable.
18343         (xtests): Change dependencies to ....
18344         (xtests-special): ... additions to this variable.
18345         * resolv/Makefile (tests): Change dependencies to ....
18346         (tests-special): ... additions to this variable.
18347         (xtests): Change dependencies to ....
18348         (xtests-special): ... additions to this variable.
18349         * stdio-common/Makefile (tests): Change dependencies to ....
18350         (tests-special): ... additions to this variable.
18351         (do-tst-unbputc): Remove target.
18352         (do-tst-printf): Likewise.
18353         * stdlib/Makefile (tests): Change dependencies to ....
18354         (tests-special): ... additions to this variable.
18355         * string/Makefile (tests): Change dependencies to ....
18356         (tests-special): ... additions to this variable.
18357         * sysdeps/x86/Makefile (tests): Change dependencies to ....
18358         (tests-special): ... additions to this variable.
18360         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18361         whole file.
18362         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18363         whole file.
18364         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18365         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18367         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18368         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18369         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18370         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18371         * conform/data/libgen.h-data [XPG3]: Likewise.
18372         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18373         * conform/data/ndbm.h-data [XPG3]: Likewise.
18374         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18375         * conform/data/netdb.h-data [XPG3]: Likewise.
18376         * conform/data/netinet/in.h-data [XPG3]: Likewise.
18377         * conform/data/poll.h-data [XPG3]: Likewise.
18378         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18379         * conform/data/strings.h-data [XPG3]: Likewise.
18380         * conform/data/stropts.h-data [XPG3]: Likewise.
18381         * conform/data/sys/mman.h-data [XPG3]: Likewise.
18382         * conform/data/sys/resource.h-data [XPG3]: Likewise.
18383         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18384         Likewise.
18385         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18386         * conform/data/sys/time.h-data [XPG3]: Likewise.
18387         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18388         * conform/data/sys/uio.h-data [XPG3]: Likewise.
18389         * conform/data/sys/un.h-data [XPG3]: Likewise.
18390         * conform/data/syslog.h-data [XPG3]: Likewise.
18391         * conform/data/ucontext.h-data [XPG3]: Likewise.
18392         * conform/data/utmpx.h-data [XPG3]: Likewise.
18393         * conform/data/varargs.h-data [UNIX98]: Enable file.
18395         * manual/Makefile (INSTALL_INFO): Remove variable setting.
18397         * math/libm-test.inc (struct test_f_f_data): Move expected results
18398         into structure for each rounding mode.
18399         (struct test_ff_f_data): Likewise.
18400         (struct test_ff_f_data_nexttoward): Likewise.
18401         (struct test_fi_f_data): Likewise.
18402         (struct test_fl_f_data): Likewise.
18403         (struct test_if_f_data): Likewise.
18404         (struct test_fff_f_data): Likewise.
18405         (struct test_c_f_data): Likewise.
18406         (struct test_f_f1_data): Likewise.
18407         (struct test_fF_f1_data): Likewise.
18408         (struct test_ffI_f1_data): Likewise.
18409         (struct test_c_c_data): Likewise.
18410         (struct test_cc_c_data): Likewise.
18411         (struct test_f_i_data): Likewise.
18412         (struct test_ff_i_data): Likewise.
18413         (struct test_f_l_data): Likewise.
18414         (struct test_f_L_data): Likewise.
18415         (struct test_fFF_11_data): Likewise.
18416         (RM_): New macro.
18417         (RM_FE_DOWNWARD): Likewise.
18418         (RM_FE_TONEAREST): Likewise.
18419         (RM_FE_TOWARDZERO): Likewise.
18420         (RM_FE_UPWARD): Likewise.
18421         (RUN_TEST_LOOP_f_f): Update references to expected results.
18422         (RUN_TEST_LOOP_2_f): Likewise.
18423         (RUN_TEST_LOOP_fff_f): Likewise.
18424         (RUN_TEST_LOOP_c_f): Likewise.
18425         (RUN_TEST_LOOP_f_f1): Likewise.
18426         (RUN_TEST_LOOP_fF_f1): Likewise.
18427         (RUN_TEST_LOOP_fI_f1): Likewise.
18428         (RUN_TEST_LOOP_ffI_f1): Likewise.
18429         (RUN_TEST_LOOP_c_c): Likewise.
18430         (RUN_TEST_LOOP_cc_c): Likewise.
18431         (RUN_TEST_LOOP_f_i): Likewise.
18432         (RUN_TEST_LOOP_f_i_tg): Likewise.
18433         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18434         (RUN_TEST_LOOP_f_b): Likewise.
18435         (RUN_TEST_LOOP_f_b_tg): Likewise.
18436         (RUN_TEST_LOOP_f_l): Likewise.
18437         (RUN_TEST_LOOP_f_L): Likewise.
18438         (RUN_TEST_LOOP_fFF_11): Likewise.
18439         * math/gen-libm-test.pl (parse_args): Output four copies of
18440         expected results for each test.
18442         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18443         (__ASSUME_UTIMES): Remove.
18444         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18445         (__ASSUME_UTIMES): Likewise.
18447         * math/gen-auto-libm-tests.c: Update comment on output format.
18448         (output_for_one_input_case): Generate before-rounding and
18449         after-rounding information as conditions on output flags not
18450         floating-point format.
18451         * math/auto-libm-test-out: Regenerated.
18452         * math/gen-libm-test.pl (cond_value): New function.
18453         (or_cond_value): Use cond_value.
18454         (generate_testfile): Handle conditional exceptions.
18456 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
18458         * math/libm-test.inc (max_valid_error): New variable.
18459         (init_max_error): Take new argument specifying whether function
18460         results are exactly determined.  Set max_valid_error and bound
18461         other variables for errors based on this argument.
18462         (set_max_error): Do not record results above max_valid_error.
18463         (check_float_internal): Only accept errors of up to 0.5ulps if
18464         also at most max_valid_error.
18465         (START): Take new argument EXACT and pass it to init_max_error.
18466         (acos_test): Update call to START.
18467         (acos_test_tonearest): Likewise.
18468         (acos_test_towardzero): Likewise.
18469         (acos_test_downward): Likewise.
18470         (acos_test_upward): Likewise.
18471         (acosh_test): Likewise.
18472         (asin_test): Likewise.
18473         (asin_test_tonearest): Likewise.
18474         (asin_test_towardzero): Likewise.
18475         (asin_test_downward): Likewise.
18476         (asin_test_upward): Likewise.
18477         (asinh_test): Likewise.
18478         (atan_test): Likewise.
18479         (atanh_test): Likewise.
18480         (atan2_test): Likewise.
18481         (cabs_test): Likewise.
18482         (cacos_test): Likewise.
18483         (cacosh_test): Likewise.
18484         (carg_test): Likewise.
18485         (casin_test): Likewise.
18486         (casinh_test): Likewise.
18487         (catan_test): Likewise.
18488         (catanh_test): Likewise.
18489         (cbrt_test): Likewise.
18490         (ccos_test): Likewise.
18491         (ccosh_test): Likewise.
18492         (ceil_test): Likewise.
18493         (cexp_test): Likewise.
18494         (cimag_test): Likewise.
18495         (clog_test): Likewise.
18496         (clog10_test): Likewise.
18497         (conj_test): Likewise.
18498         (copysign_test): Likewise.
18499         (cos_test): Likewise.
18500         (cos_test_tonearest): Likewise.
18501         (cos_test_towardzero): Likewise.
18502         (cos_test_downward): Likewise.
18503         (cos_test_upward): Likewise.
18504         (cosh_test): Likewise.
18505         (cosh_test_tonearest): Likewise.
18506         (cosh_test_towardzero): Likewise.
18507         (cosh_test_downward): Likewise.
18508         (cosh_test_upward): Likewise.
18509         (cpow_test): Likewise.
18510         (cproj_test): Likewise.
18511         (creal_test): Likewise.
18512         (csin_test): Likewise.
18513         (csinh_test): Likewise.
18514         (csqrt_test): Likewise.
18515         (ctan_test): Likewise.
18516         (ctan_test_tonearest): Likewise.
18517         (ctan_test_towardzero): Likewise.
18518         (ctan_test_downward): Likewise.
18519         (ctan_test_upward): Likewise.
18520         (ctanh_test): Likewise.
18521         (ctanh_test_tonearest): Likewise.
18522         (ctanh_test_towardzero): Likewise.
18523         (ctanh_test_downward): Likewise.
18524         (ctanh_test_upward): Likewise.
18525         (erf_test): Likewise.
18526         (erfc_test): Likewise.
18527         (exp_test): Likewise.
18528         (exp_test_tonearest): Likewise.
18529         (exp_test_towardzero): Likewise.
18530         (exp_test_downward): Likewise.
18531         (exp_test_upward): Likewise.
18532         (exp10_test): Likewise.
18533         (exp10_test_tonearest): Likewise.
18534         (exp10_test_towardzero): Likewise.
18535         (exp10_test_downward): Likewise.
18536         (exp10_test_upward): Likewise.
18537         (pow10_test): Likewise.
18538         (exp2_test): Likewise.
18539         (expm1_test): Likewise.
18540         (expm1_test_tonearest): Likewise.
18541         (expm1_test_towardzero): Likewise.
18542         (expm1_test_downward): Likewise.
18543         (expm1_test_upward): Likewise.
18544         (fabs_test): Likewise.
18545         (fdim_test): Likewise.
18546         (floor_test): Likewise.
18547         (fma_test): Likewise.
18548         (fma_test_towardzero): Likewise.
18549         (fma_test_downward): Likewise.
18550         (fma_test_upward): Likewise.
18551         (fmax_test): Likewise.
18552         (fmin_test): Likewise.
18553         (fmod_test): Likewise.
18554         (fpclassify_test): Likewise.
18555         (frexp_test): Likewise.
18556         (hypot_test): Likewise.
18557         (ilogb_test): Likewise.
18558         (isfinite_test): Likewise.
18559         (finite_test): Likewise.
18560         (isgreater_test): Likewise.
18561         (isgreaterequal_test): Likewise.
18562         (isinf_test): Likewise.
18563         (isless_test): Likewise.
18564         (islessequal_test): Likewise.
18565         (islessgreater_test): Likewise.
18566         (isnan_test): Likewise.
18567         (isnormal_test): Likewise.
18568         (issignaling_test): Likewise.
18569         (isunordered_test): Likewise.
18570         (j0_test): Likewise.
18571         (j1_test): Likewise.
18572         (jn_test): Likewise.
18573         (ldexp_test): Likewise.
18574         (lgamma_test): Likewise.
18575         (gamma_test): Likewise.
18576         (lrint_test): Likewise.
18577         (lrint_test_tonearest): Likewise.
18578         (lrint_test_towardzero): Likewise.
18579         (lrint_test_downward): Likewise.
18580         (lrint_test_upward): Likewise.
18581         (llrint_test): Likewise.
18582         (llrint_test_tonearest): Likewise.
18583         (llrint_test_towardzero): Likewise.
18584         (llrint_test_downward): Likewise.
18585         (llrint_test_upward): Likewise.
18586         (log_test): Likewise.
18587         (log10_test): Likewise.
18588         (log1p_test): Likewise.
18589         (log2_test): Likewise.
18590         (logb_test): Likewise.
18591         (logb_test_downward): Likewise.
18592         (lround_test): Likewise.
18593         (llround_test): Likewise.
18594         (modf_test): Likewise.
18595         (nearbyint_test): Likewise.
18596         (nextafter_test): Likewise.
18597         (nexttoward_test): Likewise.
18598         (pow_test): Likewise.
18599         (pow_test_tonearest): Likewise.
18600         (pow_test_towardzero): Likewise.
18601         (pow_test_downward): Likewise.
18602         (pow_test_upward): Likewise.
18603         (remainder_test): Likewise.
18604         (drem_test): Likewise.
18605         (remainder_test_tonearest): Likewise.
18606         (drem_test_tonearest): Likewise.
18607         (remainder_test_towardzero): Likewise.
18608         (drem_test_towardzero): Likewise.
18609         (remainder_test_downward): Likewise.
18610         (drem_test_downward): Likewise.
18611         (remainder_test_upward): Likewise.
18612         (drem_test_upward): Likewise.
18613         (remquo_test): Likewise.
18614         (rint_test): Likewise.
18615         (rint_test_tonearest): Likewise.
18616         (rint_test_towardzero): Likewise.
18617         (rint_test_downward): Likewise.
18618         (rint_test_upward): Likewise.
18619         (round_test): Likewise.
18620         (scalb_test): Likewise.
18621         (scalbn_test): Likewise.
18622         (scalbln_test): Likewise.
18623         (signbit_test): Likewise.
18624         (sin_test): Likewise.
18625         (sin_test_tonearest): Likewise.
18626         (sin_test_towardzero): Likewise.
18627         (sin_test_downward): Likewise.
18628         (sin_test_upward): Likewise.
18629         (sincos_test): Likewise.
18630         (sinh_test): Likewise.
18631         (sinh_test_tonearest): Likewise.
18632         (sinh_test_towardzero): Likewise.
18633         (sinh_test_downward): Likewise.
18634         (sinh_test_upward): Likewise.
18635         (sqrt_test): Likewise.
18636         (sqrt_test_tonearest): Likewise.
18637         (sqrt_test_towardzero): Likewise.
18638         (sqrt_test_downward): Likewise.
18639         (sqrt_test_upward): Likewise.
18640         (tan_test): Likewise.
18641         (tan_test_tonearest): Likewise.
18642         (tan_test_towardzero): Likewise.
18643         (tan_test_downward): Likewise.
18644         (tan_test_upward): Likewise.
18645         (tanh_test): Likewise.
18646         (tgamma_test): Likewise.
18647         (trunc_test): Likewise.
18648         (y0_test): Likewise.
18649         (y1_test): Likewise.
18650         (yn_test): Likewise.
18651         (significand_test): Likewise.
18653         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18654         individual tests in comment.
18655         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18656         (prev_max_error): New variable.
18657         (prev_real_max_error): Likewise.
18658         (prev_imag_max_error): Likewise.
18659         (compare_ulp_data): Don't refer to test names in comment.
18660         (find_test_ulps): Remove function.
18661         (find_function_ulps): Likewise.
18662         (find_complex_function_ulps): Likewise.
18663         (init_max_error): Take function name as argument.  Look up ulps
18664         for that function.
18665         (print_ulps): Remove function.
18666         (print_max_error): Use prev_max_error instead of calling
18667         find_function_ulps.
18668         (print_complex_max_error): Use prev_real_max_error and
18669         prev_imag_max_error instead of calling find_complex_function_ulps.
18670         (check_float_internal): Take max_ulp parameter instead of calling
18671         find_test_ulps.  Don't call print_ulps.
18672         (check_float): Update call to check_float_internal.
18673         (check_complex): Update calls to check_float_internal.
18674         (START): Pass argument to init_max_error.
18675         * math/gen-libm-test.pl (%results): Don't include "kind"
18676         information.
18677         (parse_ulps): Don't handle ulps of individual tests.
18678         (print_ulps_file): Likewise.
18679         (output_ulps): Likewise.
18680         * math/README.libm-test: Update.
18681         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18682         individual tests.
18683         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18684         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18685         * sysdeps/arm/libm-test-ulps: Likewise.
18686         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18687         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18688         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18689         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18690         * sysdeps/microblaze/libm-test-ulps: Likewise.
18691         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18692         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18693         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18694         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18695         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18696         * sysdeps/sh/libm-test-ulps: Likewise.
18697         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18698         * sysdeps/tile/libm-test-ulps: Likewise.
18699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18701 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
18703         * math/libm-test.inc (print_complex_max_error): Check separately
18704         whether real and imaginary errors are within allowed range and
18705         pass 0 to print_complex_function_ulps instead of value within
18706         allowed range.
18708 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18710         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18711         formatting.
18712         (get_handles_fopen): Likewise.
18713         (do_write_test): Likewise.
18715         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18717         * libio/fileops.c (do_ftell): Use cached offset when
18718         available.
18719         * libio/iofwide.c (do_ftell_wide): Likewise.
18720         * libio/iofdopen.c (_IO_new_fdopen): Don't use
18721         _IO_file_attach.
18722         * libio/wfileops.c (_IO_fwide): Don't cache offset.
18724         [BZ #16532]
18725         * libio/libioP.h (get_file_offset): New function.
18726         * libio/fileops.c (get_file_offset): Likewise.
18727         (do_ftell): Likewise.
18728         (_IO_new_file_seekoff): Split out ftell logic.
18729         * libio/wfileops.c (do_ftell_wide): Likewise.
18730         (_IO_wfile_seekoff): Split out ftell logic.
18731         * libio/tst-ftell-active-handler.c: New test case.
18732         * libio/Makefile (tests): Add it.
18734 2014-03-03  Roland McGrath  <roland@hack.frob.com>
18736         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18737         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18739 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18741         [BZ #16639]
18742         * nscd/connections.c (nscd_init): Call do_exit.
18743         (start_threads): Call do_exit and notify_parent.
18744         (begin_drop_privileges): Call do_exit.
18745         (finish_drop_privileges): Likewise.
18746         * nscd/selinux.c (preserve_capabilities): Likewise.
18747         (install_real_capabilities): Likewise.
18748         (nscd_selinux_enabled): Likewise.
18749         (avc_create_thread): Likewise.
18750         (avc_alloc_lock): Likewise.
18751         (nscd_avc_init): Likewise.
18752         * nscd/nscd.c (parent_fd): New static variable.
18753         (main): Create a pipe between parent and child processes.
18754         Skip closing parent_fd.
18755         (monitor_child): New function.
18756         (do_exit): Likewise.
18757         (notify_parent): Likewise.
18758         * nscd/nscd.h (notify_parent): Likewise.
18759         (do_exit): Likewise.
18761 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
18763         * malloc/malloc.c (__libc_calloc): Revert last change.
18765 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18769 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18771         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18773         implementation.
18774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18775         (__libc_ifunc_impl_list): Likewise.
18776         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18777         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18778         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18779         * string/strrchr.c: Define STRRCHR.
18781 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
18783         * benchtest/bench-strtok.c (simple_strtok): Delete.
18784         (strtok_string): Use as benchmark.
18785         * string/strtok (STRTOK): New macro.
18787 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
18789         * manual/threads.texi: Add header and standard comments to all
18790         functions.
18792         * elf/dl-lookup.c (check_match): New function.
18793         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18794         (do_lookup_x): Remove nested function check_match. Use non-nested
18795         function check_match.
18797 2014-02-28  Roland McGrath  <roland@hack.frob.com>
18799         * csu/Makefile (generated, before-compile): Use += rather than =.
18800         * catgets/Makefile (generated, generated-dirs): Likewise.
18801         * debug/Makefile (generated): Likewise.
18802         * dlfcn/Makefile (generated): Likewise.
18803         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18804         * iconvdata/Makefile (before-compile, generated): Likewise.
18805         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18806         * libio/Makefile (generated): Likewise.
18807         * malloc/Makefile (generated): Likewise.
18808         * manual/Makefile (generated, generated-dirs): Likewise.
18809         * misc/Makefile (generated): Likewise.
18810         * posix/Makefile (generated): Likewise.
18811         * resolv/Makefile (generated): Likewise.
18812         * sunrpc/Makefile (generated, generated-dirs): Likewise.
18813         * timezone/Makefile (generated, generated-dirs): Likewise.
18815         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18817 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18819         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18820         power8 implementation.
18821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18822         file: POWER8 llround ifunc implementation.
18823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18824         (__lllround): Add POWER8 implementation.
18825         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18826         POWER8 llround implementation.
18828         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18829         power8 implementation.
18830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18831         file: POWER8 llrint ifunc implementation.
18832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18833         Add POWER8 implementation.
18834         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18835         POWER8 llrint implementation.
18837         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18838         power8 implementation.
18839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18840         file: POWER8 finite ifunc implementation.
18841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18842         Add POWER8 implementation.
18843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18844         Likewise.
18845         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18846         POWER8 finite implementation.
18847         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18850         power8 implementation.
18851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18852         file: POWER8 isinf ifunc implementation.
18853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18854         POWER8 implementation.
18855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18856         Likewise.
18857         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18858         isinf implementation.
18859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18861         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18862         (INIT_ARCH): Add hwcap2 initialization.
18863         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18864         power8 implementation.
18865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18866         file: POWER8 isnan ifunc implementation.
18867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18868         POWER8 implementation.
18869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18870         Likewise.
18871         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18872         isnan implementation.
18873         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18875 2014-02-27  Joey Ye  <joey.ye@arm.com>
18877         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18878         (_FP_NANFRAC_Q): Set to zero.
18880 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18882         [BZ #16623]
18883         * math/auto-libm-test-in: New test inputs.
18884         * math/auto-libm-test-out: Regenerate.
18885         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18886         and DA.
18887         (__cos): Likewise.
18888         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18890 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
18892         * scripts/evaluate-test.sh: Take new argument indicating whether
18893         failure is expected.
18894         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18895         indicating whether failure is expected.
18896         * conform/Makefile (test-xfail-run-conformtest): New variable.
18897         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18898         level.
18899         * posix/Makefile (test-xfail-annexc): New variable.
18900         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18902 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
18904         * argp/Makefile: Include Makeconfig immediately after defining
18905         subdir.
18906         * assert/Makefile: Likewise.
18907         * benchtests/Makefile: Likewise.
18908         * catgets/Makefile: Likewise.
18909         * conform/Makefile: Likewise.
18910         * crypt/Makefile: Likewise.
18911         * csu/Makefile: Likewise.
18912         (all): Remove target.
18913         * ctype/Makefile: Include Makeconfig immediately after defining
18914         subdir.
18915         * debug/Makefile: Likewise.
18916         * dirent/Makefile: Likewise.
18917         * dlfcn/Makefile: Likewise.
18918         * gmon/Makefile: Likewise.
18919         * gnulib/Makefile: Likewise.
18920         * grp/Makefile: Likewise.
18921         * gshadow/Makefile: Likewise.
18922         * hesiod/Makefile: Likewise.
18923         * hurd/Makefile: Likewise.
18924         (all): Remove target.
18925         * iconvdata/Makefile: Include Makeconfig immediately after
18926         defining subdir.
18927         * inet/Makefile: Likewise.
18928         * intl/Makefile: Likewise.
18929         * io/Makefile: Likewise.
18930         * libio/Makefile: Likewise.
18931         (all): Remove target.
18932         * locale/Makefile: Include Makeconfig immediately after defining
18933         subdir.
18934         * login/Makefile: Likewise.
18935         * mach/Makefile: Likewise.
18936         (all): Remove target.
18937         * malloc/Makefile: Include Makeconfig immediately after defining
18938         subdir.
18939         (all): Remove target.
18940         * manual/Makefile: Include Makeconfig immediately after defining
18941         subdir.
18942         * math/Makefile: Likewise.
18943         * misc/Makefile: Likewise.
18944         * nis/Makefile: Likewise.
18945         * nss/Makefile: Likewise.
18946         * po/Makefile: Likewise.
18947         (all): Remove target.
18948         * posix/Makefile: Include Makeconfig immediately after defining
18949         subdir.
18950         * pwd/Makefile: Likewise.
18951         * resolv/Makefile: Likewise.
18952         * resource/Makefile: Likewise.
18953         * rt/Makefile: Likewise.
18954         * setjmp/Makefile: Likewise.
18955         * shadow/Makefile: Likewise.
18956         * signal/Makefile: Likewise.
18957         * socket/Makefile: Likewise.
18958         * soft-fp/Makefile: Likewise.
18959         * stdio-common/Makefile: Likewise.
18960         * stdlib/Makefile: Likewise.
18961         * streams/Makefile: Likewise.
18962         * string/Makefile: Likewise.
18963         * sunrpc/Makefile: Likewise.
18964         (all): Remove target.
18965         * sysvipc/Makefile: Include Makeconfig immediately after defining
18966         subdir.
18967         * termios/Makefile: Likewise.
18968         * time/Makefile: Likewise.
18969         * timezone/Makefile: Likewise.
18970         (all): Remove target.
18971         * wcsmbs/Makefile: Include Makeconfig immediately after defining
18972         subdir.
18973         * wctype/Makefile: Likewise.
18975 2014-02-26  Steve Ellcey  <sellcey@mips.com>
18977         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18978         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18979         (libc_feholdexcept_setround_mips): Ditto.
18980         (libc_feholdsetround): New.
18981         (libc_feholdsetroundf): New.
18982         (libc_feholdsetroundl): New.
18983         (libc_feupdateenv_test_mips): New.
18984         (libc_feupdateenv_test): New.
18985         (libc_feupdateenv_testf): New.
18986         (libc_feupdateenv_testl): New.
18987         (libc_feresetround): New.
18988         (libc_feresetroundf): New.
18989         (libc_feresetroundl): New.
18990         (libc_fetestexcept_mips): New.
18991         (libc_fetestexcept): New.
18992         (libc_fetestexceptf): New.
18993         (libc_fetestexceptl): New.
18994         (HAVE_RM_CTX): New.
18995         (libc_feholdexcept_setround_mips_ctx): New.
18996         (libc_feholdexcept_setround_ctx): New.
18997         (libc_feholdexcept_setroundf_ctx): New.
18998         (libc_feholdexcept_setroundl_ctx): New.
18999         (libc_fesetenv_mips_ctx): New.
19000         (libc_fesetenv_ctx): New.
19001         (libc_fesetenv_ctxf): New.
19002         (libc_fesetenv_ctxl): New.
19003         (libc_feupdateenv_mips_ctx): New.
19004         (libc_feupdateenv_ctx): New.
19005         (libc_feupdateenvf_ctx): New.
19006         (libc_feupdateenvl_ctx): New.
19007         (libc_feholdsetround_mips_ctx): New.
19008         (libc_feholdsetround_ctx): New.
19009         (libc_feholdsetroundf_ctx): New.
19010         (libc_feholdsetroundl_ctx): New.
19011         (libc_feresetround_mips_ctx): New.
19012         (libc_feresetround_ctx): New.
19013         (libc_feresetroundf_ctx): New.
19014         (libc_feresetroundl_ctx): New.
19016 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
19018         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19020         * manual/ipc.texi: New file.
19021         * manual/Makefile (chapters): Add ipc.
19022         * manual/job.texi: Add "Inter-Process Communication" to next.
19023         * manual/process.texi: Add "Inter-Process Communication" to prev.
19025 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19029 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
19031         * malloc/malloc.c (__libc_calloc): Simplify implementation.
19033         * manual/arith.texi: Fix spaces after sentences.
19034         * manual/charset.texi: Likewise.
19035         * manual/errno.texi: Likewise.
19036         * manual/install.texi: Likewise.
19037         * manual/llio.texi: Likewise.
19038         * manual/locale.texi: Likewise.
19039         * manual/maint.texi: Likewise.
19040         * manual/math.texi: Likewise.
19041         * manual/memory.texi: Likewise.
19042         * manual/message.texi: Likewise.
19043         * manual/probes.texi: Likewise.
19044         * manual/resource.texi: Likewise.
19045         * manual/signal.texi: Likewise.
19046         * manual/socket.texi: Likewise.
19047         * manual/stdio.texi: Likewise.
19048         * manual/string.texi: Likewise.
19049         * manual/time.texi: Likewise.
19050         * manual/users.texi: Likewise.
19052 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
19054         [BZ #16632]
19055         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19056         _DEFAULT_SOURCE is defined.
19058 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
19059             Carlos O'Donell  <carlos@redhat.com>
19061         [BZ #16613]
19062         * elf/dl-tls.c (_dl_count_modids): New function.
19063         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19064         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19065         audit library and increment generation counter.
19066         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19067         * elf/tst-audit9.c: New file.
19068         * elf/tst-auditmod9a.c: New file.
19069         * elf/tst-auditmod9b.c: New file.
19070         * elf/Makefile: Add rules to build and run tst-audit9.
19072 2014-02-25  Florian Weimer  <fweimer@redhat.com>
19074         [BZ #15347]
19075         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19077 2014-02-25  Will Newton  <will.newton@linaro.org>
19079         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19080         (__longjmp): Restore sp and lr before restoring callee
19081         saved registers.  Add longjmp and longjmp_target
19082         SystemTap probe point.
19083         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19084         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19085         Define to zero to match jmpbuf layout.
19086         * sysdeps/arm/setjmp.S: Include stap-probe.h.
19087         (__sigsetjmp): Save sp and lr before saving callee
19088         saved registers.  Add setjmp SystemTap probe point.
19090 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19092         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19094 2014-02-24  Andreas Schwab  <schwab@suse.de>
19096         [BZ #15804]
19097         * elf/pldd.c (wait_for_ptrace_stop): New function.
19098         (main): Call it after attaching.
19100 2014-02-22  Roland McGrath  <roland@hack.frob.com>
19102         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19103         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19104         Versions files is now verboten.
19105         * hurd/Versions (libc: GLIBC_2.0):
19106         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19107         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19108         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19109         * mach/Versions: Likewise.
19111         * csu/Versions: Remove unused %include.
19112         * resolv/Versions: Likewise.
19114 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
19116         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19117         ($(objpfx)check-local-headers.out): Likewise.
19118         ($(objpfx)begin-end-check.out): Likewise.
19119         * Makerules (check-abi-%.out): Likewise.
19120         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
19121         ($(objpfx)test2.cat): Likewise.
19122         ($(objpfx)de/libc.cat): Likewise.
19123         ($(objpfx)test-gencat.out): Likewise.
19124         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
19125         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
19126         ($(objpfx)noload-mem): Likewise.
19127         ($(objpfx)tst-pathopt.out): Likewise.
19128         ($(objpfx)tst-rtld-load-self.out): Likewise.
19129         ($(objpfx)tst-array1-cmp.out): Likewise.
19130         ($(objpfx)tst-array1-static-cmp.out): Likewise.
19131         ($(objpfx)tst-array2-cmp.out): Likewise.
19132         ($(objpfx)tst-array3-cmp.out): Likewise.
19133         ($(objpfx)tst-array4-cmp.out): Likewise.
19134         ($(objpfx)tst-array5-cmp.out): Likewise.
19135         ($(objpfx)tst-array5-static-cmp.out): Likewise.
19136         ($(objpfx)check-textrel.out): Likewise.
19137         ($(objpfx)check-execstack.out): Likewise.
19138         ($(objpfx)check-localplt.out): Likewise.
19139         ($(objpfx)order2-cmp.out): Likewise.
19140         ($(objpfx)tst-leaks1-mem): Likewise.
19141         ($(objpfx)tst-leaks1-static-mem): Likewise.
19142         ($(objpfx)tst-initorder-cmp.out): Likewise.
19143         ($(objpfx)tst-initorder2-cmp.out): Likewise.
19144         ($(objpfx)tst-unused-dep.out): Likewise.
19145         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
19146         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19147         * iconv/Makefile (test-iconvconfig): Likewise.
19148         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
19149         ($(objpfx)iconv-test.out): Likewise.
19150         ($(objpfx)tst-tables.out): Likewise.
19151         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
19152         ($(objpfx)tst-gettext.out): Likewise.
19153         ($(objpfx)tst-translit.out): Likewise.
19154         ($(objpfx)tst-gettext2.out): Likewise.
19155         ($(objpfx)tst-gettext4.out): Likewise.
19156         ($(objpfx)tst-gettext6.out): Likewise.
19157         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19158         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19159         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19160         ($(objpfx)tst-fopenloc-mem.out): Likewise.
19161         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19162         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19163         * posix/Makefile ($(objpfx)globtest.out): Likewise.
19164         ($(objpfx)wordexp-tst.out): Likewise.
19165         ($(objpfx)annexc.out): Likewise.
19166         ($(objpfx)tst-fnmatch-mem): Likewise.
19167         ($(objpfx)bug-regex2-mem): Likewise.
19168         ($(objpfx)bug-regex14-mem): Likewise.
19169         ($(objpfx)bug-regex21-mem): Likewise.
19170         ($(objpfx)bug-regex31-mem): Likewise.
19171         ($(objpfx)tst-vfork3-mem): Likewise.
19172         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19173         ($(objpfx)tst-pcre-mem): Likewise.
19174         ($(objpfx)tst-boost-mem): Likewise.
19175         ($(objpfx)tst-getconf.out): Likewise.
19176         ($(objpfx)bug-ga2-mem): Likewise.
19177         ($(objpfx)bug-glob2-mem): Likewise.
19178         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19179         ($(objpfx)mtrace-tst-leaks2): Likewise.
19180         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19181         ($(objpfx)tst-printf.out): Likewise.
19182         ($(objpfx)tst-setvbuf1.out): Likewise.
19183         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19184         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19185         ($(objpfx)tst-fmtmsg.out): Likewise.
19186         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19187         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19189         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19190         * bits/sigaction.h [__USE_MISC]: Likewise.
19191         * bits/waitstatus.h: Update #endif comments.
19192         * ctype/ctype.h: Likewise.
19193         * dirent/dirent.h: Likewise.
19194         [__USE_MISC]: Remove redundant conditionals.
19195         * grp/grp.h: Update #endif comments.
19196         [__USE_GNU]: Remove redundant conditionals.
19197         [__USE_MISC]: Likewise.
19198         * inet/netinet/in.h [__USE_GNU]: Likewise.
19199         * io/sys/stat.h [__USE_MISC]: Likewise.
19200         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19201         * libio/bits/stdio.h: Update #endif comments.
19202         [__USE_MISC]: Remove redundant conditionals.
19203         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19204         * libio/stdio.h: Update #endif comments.
19205         [__USE_MISC]: Remove redundant conditionals.
19206         * math/bits/math-finite.h [__USE_MISC]: Likewise.
19207         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19208         * math/math.h: Update #else and #endif comments.
19209         [__USE_MISC]: Remove redundant conditionals.
19210         * misc/sys/uio.h: Update #endif comments.
19211         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19212         * posix/glob.h [__USE_MISC]: Likewise.
19213         * posix/sys/types.h: Update #endif comments.
19214         [__USE_MISC]: Remove redundant conditionals.
19215         * posix/sys/wait.h: Update #endif comments.
19216         [__USE_MISC]: Remove redundant conditionals.
19217         * posix/unistd.h: Update #endif comments.
19218         [__USE_MISC]: Remove redundant conditionals.
19219         * pwd/pwd.h [__USE_GNU]: Likewise.
19220         [__USE_MISC]: Likewise.
19221         * resolv/netdb.h [__USE_GNU]: Likewise.
19222         * signal/signal.h: Update #endif comments.
19223         [__USE_MISC]: Remove redundant conditionals.
19224         * stdlib/stdlib.h: Update #else and #endif comments.
19225         [__USE_MISC]: Remove redundant conditionals.
19226         [__USE_GNU]: Likewise.
19227         * string/bits/string2.h [__USE_MISC]: Likewise.
19228         * string/string.h: Update #endif comments.
19229         [__USE_MISC]: Remove redundant conditionals.
19230         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19231         Likewise.
19232         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19233         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19234         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19235         Likewise.
19236         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19237         Likewise.
19238         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19239         comments.
19240         [__USE_MISC]: Remove redundant conditionals.
19241         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19242         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19243         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19244         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19245         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19246         Likewise.
19247         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19248         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19249         Likewise.
19250         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19251         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19252         Likewise.
19253         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19254         Likewise.
19255         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19256         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19257         Likewise.
19258         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19259         Likewise.
19260         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19261         * sysdeps/x86/bits/string.h: Update #endif comments.
19262         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19263         conditionals.
19264         * time/sys/time.h: Update #endif comments.
19265         * time/time.h: Likewise.
19266         [__USE_MISC]: Remove redundant conditionals.
19268 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
19270         [BZ #16600]
19271         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19273 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
19275         * Versions.def (librt): Add GLIBC_2.17.
19277 2014-02-21  Adam Conrad  <adconrad@0c3.net>
19279         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19280         synonym for _SYS_AUXV_H to allow direct inclusion.
19281         * sysdeps/sparc/bits/hwcap.h: Likewise.
19282         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19283         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19284         * sysdeps/sparc/sysdep.h: Likewise.
19286 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19288         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19290 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19292         * benchtests/bench-strrchr.c: Print length instead of position.
19294 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
19296         [BZ #16611]
19297         * sysdeps/unix/sysv/linux/kernel-features.h
19298         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19299         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19300         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19301         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19302         Likewise.
19303         [__i386__ || __powerpc__ || __sh__ || __sparc__]
19304         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19305         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19306         (__ASSUME_SENDMMSG): Define instead of using previous
19307         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19308         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19309         (__ASSUME_SENDMMSG_SYSCALL): Define.
19310         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19311         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19312         Likewise.
19313         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19314         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19315         Likewise.
19316         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19317         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19318         Likewise.
19319         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19320         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19321         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19322         [__ASSUME_SENDMMSG]: Change conditionals to
19323         [__ASSUME_SENDMMSG_SOCKETCALL].
19324         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19325         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19326         Define.
19327         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19328         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19329         Likewise.
19330         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
19331         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19332         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19333         [!__ASSUME_SENDMMSG]: Change conditional to
19334         [!__ASSUME_SENDMMSG_SOCKETCALL].
19335         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19336         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19337         Define.
19339         [BZ #16610]
19340         * sysdeps/unix/sysv/linux/kernel-features.h
19341         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19342         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19343         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19344         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19345         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19346         [__i386__ || __sparc__]
19347         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19348         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19349         (__ASSUME_RECVMMSG): Define instead of using previous
19350         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19351         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19352         (__ASSUME_RECVMMSG_SYSCALL): Define.
19353         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19354         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19355         Likewise.
19356         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19357         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19358         Likewise.
19359         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19360         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19361         Likewise.
19362         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19363         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19364         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19365         [__ASSUME_RECVMMSG]: Change condition to
19366         [__ASSUME_RECVMMSG_SOCKETCALL].
19367         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19368         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19369         Define.
19370         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19371         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19372         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19373         Likewise.
19374         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19375         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19376         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19377         [!__ASSUME_RECVMMSG]: Change condition to
19378         [!__ASSUME_RECVMMSG_SOCKETCALL].
19379         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19380         (__ASSUME_RECVMMSG_SYSCALL): Define.
19382         [BZ #16609]
19383         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19384         __powerpc__ || __s390__ || __sh__ || __sparc__]
19385         (__ASSUME_SOCKETCALL): Define.
19386         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19387         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19388         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19389         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19390         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19391         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19392         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19393         (__ASSUME_ACCEPT4): Define instead of using previous
19394         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19395         __powerpc__ || __sparc__ || __s390__)] condition.
19396         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19397         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19398         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
19399         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19400         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19401         [!__ASSUME_ACCEPT4]: Change condition to
19402         [!__ASSUME_ACCEPT4_SOCKETCALL].
19403         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19404         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
19405         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19406         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19407         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19408         __ASSUME_ACCEPT4_SYSCALL.
19409         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19410         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19411         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19412         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19413         __ASSUME_ACCEPT4_SYSCALL.
19414         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19415         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19416         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19417         [__ASSUME_ACCEPT4]: Change condition to
19418         [__ASSUME_ACCEPT4_SOCKETCALL].
19419         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19420         (__ASSUME_SOCKETCALL): Define.
19421         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19422         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19423         (__ASSUME_SOCKETCALL): Define.
19424         (__ASSUME_ACCEPT4): Remove.
19425         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19426         Define.
19427         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19428         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19429         Likewise.
19430         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19431         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19433         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19434         macro.
19435         (HWCAP_ARM_LPAE): Likewise.
19436         (HWCAP_ARM_EVTSTRM): Likewise.
19437         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19438         Add vpfd32, lpae and evtstrm.
19439         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19440         Increase to 22.
19442 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
19444         * math/auto-libm-test-in: Add tests of clog10.
19445         * math/auto-libm-test-out: Regenerated.
19446         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19447         * sysdeps/i386/fpu/libm-test-ulps: Update.
19448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19450 2014-02-18  Andreas Schwab  <schwab@suse.de>
19452         [BZ #16574]
19453         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19454         Store non-zero if the second buffer was newly allocated.
19455         (send_dg): Likewise.
19456         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19457         to send_vc and send_dg.
19458         (res_nsend): Pass NULL for ansp2_malloced.
19459         * resolv/res_query.c (__libc_res_nquery): Add parameter
19460         answerp2_malloced and pass it down to __libc_res_nsend.
19461         (res_nquery): Pass additional NULL to __libc_res_nquery.
19462         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19463         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
19464         second answer buffer if answerp2_malloced was set.
19465         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19466         (__libc_res_nquerydomain): Add parameter
19467         answerp2_malloced and pass it down to __libc_res_nquery.
19468         (res_nquerydomain): Pass additional NULL to
19469         __libc_res_nquerydomain.
19470         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19471         additional NULL to __libc_res_nsend and __libc_res_nquery.
19472         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19473         additional NULL to __libc_res_nsearch.
19474         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
19475         parameter of __libc_res_nsearch to check for separately allocated
19476         second buffer.
19477         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19478         __libc_res_nquery.
19479         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19480         additional NULL to __libc_res_nquery.
19481         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19482         __libc_res_nsearch.
19483         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19484         * include/resolv.h: Update prototypes of __libc_res_nquery,
19485         __libc_res_nsearch, __libc_res_nsend.
19487 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
19489         * math/auto-libm-test-in: Add tests of fma.
19490         * math/auto-libm-test-out: Regenerated.
19491         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19492         (fma_towardzero_test_data): Likewise.
19493         (fma_downward_test_data): Likewise.
19494         (fma_upward_test_data): Likewise.
19495         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19496         mpc_mode.
19497         (rounding_modes): Add values for new field.
19498         (func_calc_method): Add value mpfr_fff_f.
19499         (func_calc_desc): Add mpfr_fff_f union field.
19500         (test_function): Add field exact_args.
19501         (FUNC): Add macro argument EXACT_ARGS.
19502         (FUNC_mpfr_f_f): Update call to FUNC.
19503         (FUNC_mpfr_f_f): Likewise.
19504         (FUNC_mpfr_ff_f): Likewise.
19505         (FUNC_mpfr_if_f): Likewise.
19506         (FUNC_mpc_c_f): Likewise.
19507         (FUNC_mpc_c_c): Likewise.
19508         (test_functions): Add fma.  Update calls to FUNC.
19509         (handle_input_arg): Add argument exact_args.
19510         (add_test): Update call to handle_input_arg.
19511         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
19512         (output_for_one_input_case): Update call to calc_generic_results.
19513         Recalculate exact zero results in each rounding mode.
19515         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
19516         non-negative before setting low bit.
19517         * math/auto-libm-test-in: Mark one asin test possibly having
19518         spurious underflow.
19519         * math/auto-libm-test-out: Regenerated.
19520         * sysdeps/i386/fpu/libm-test-ulps: Update.
19521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19523 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
19525         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
19526         * sysdeps/unix/sysv/linux/microblaze: Move directory from
19527         ports/sysdeps/unix/sysv/linux/microblaze.
19528         * README: Add missing listing for microblaze*-*-linux-gnu.
19530 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
19532         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
19533         duplicate code
19535 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
19537         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
19538         * sysdeps/unix/sysv/linux/ia64: Move directory from
19539         ports/sysdeps/unix/sysv/linux/ia64.
19540         * README: Update listing for ia64-*-linux-gnu.
19542 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
19543             Joseph Myers  <joseph@codesourcery.com>
19545         * Makeconfig (test-name): New variable.
19546         (evaluate-test): Likewise.
19547         * Makerules (do-test-clean): Remove .test-result files.
19548         (common-mostlyclean): Likewise.
19549         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
19550         * scripts/evaluate-test.sh: New file.
19552 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
19554         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
19555         separate $(objpfx)tst-fopenloc-cmp.out and
19556         $(objpfx)tst-fopenloc-mem.out targets.
19557         (tests): Update dependencies.
19558         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
19559         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
19560         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
19561         (tst-rxspencer-no-utf8-ARGS): New variable.
19562         (tst-rxspencer-no-utf8-ENV): Likewise.
19563         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
19564         instead of $(objpfx)tst-rxspencer-mem.
19565         ($(objpfx)tst-rxspencer-mem): Change target to
19566         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
19567         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
19568         * posix/tst-rxspencer-no-utf8.c: New file.
19570         * elf/Makefile ($(objpfx)order.out): Remove rule.
19571         [$(run-built-tests) = yes] (tests): Depend on
19572         $(objpfx)order-cmp.out.
19573         ($(objpfx)order-cmp.out): New rule.
19574         [$(run-built-tests) = yes] (tests): Depend on
19575         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
19576         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
19577         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
19578         $(objpfx)tst-array5-static-cmp.out.
19579         ($(objpfx)tst-array1.out): Remove rule.
19580         ($(objpfx)tst-array1-cmp.out): New rule.
19581         ($(objpfx)tst-array1-static.out): Remove rule.
19582         ($(objpfx)tst-array1-static-cmp.out): New rule.
19583         ($(objpfx)tst-array2.out): Remove rule.
19584         ($(objpfx)tst-array2-cmp.out): New rule.
19585         ($(objpfx)tst-array3.out): Remove rule.
19586         ($(objpfx)tst-array3-cmp.out): New rule.
19587         ($(objpfx)tst-array4.out): Remove rule.
19588         ($(objpfx)tst-array4-cmp.out): New rule.
19589         ($(objpfx)tst-array5.out): Remove rule.
19590         ($(objpfx)tst-array5-cmp.out): New rule.
19591         ($(objpfx)tst-array5-static.out): Remove rule.
19592         ($(objpfx)tst-array5-static-cmp.out): New rule.
19593         [$(run-built-tests) = yes] (tests): Depend on
19594         $(objpfx)order2-cmp.out.
19595         ($(objpfx)order2.out): Remove rule.
19596         ($(objpfx)order2-cmp.out): New rule.
19597         ($(objpfx)tst-initorder.out): Remove rule.
19598         [$(run-built-tests) = yes] (tests): Depend on
19599         $(objpfx)tst-initorder-cmp.out.
19600         ($(objpfx)tst-initorder-cmp.out): New rule.
19601         ($(objpfx)tst-initorder2.out): Remove rule.
19602         [$(run-built-tests) = yes] (tests): Depend on
19603         $(objpfx)tst-initorder2-cmp.out.
19604         ($(objpfx)tst-initorder2-cmp.out): New rule.
19605         [$(run-built-tests) = yes] (tests): Depend on
19606         $(objpfx)tst-unused-dep-cmp.out.
19607         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19608         ($(objpfx)tst-unused-dep-cmp.out): New rule.
19609         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19610         on $(objpfx)tst-setvbuf1-cmp.out.
19611         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19612         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19613         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19614         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19615         ($(objpfx)tst-svc.out): Remove rule.
19616         ($(objpfx)tst-svc-cmp.out): New rule.
19618 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
19620         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19621         * ctype/ctype.h [__USE_MISC]: Likewise.
19622         * dirent/dirent.h [__USE_MISC]: Likewise.
19623         * grp/grp.h [__USE_MISC]: Likewise.
19624         * io/fcntl.h [__USE_MISC]: Likewise.
19625         * io/sys/stat.h [__USE_MISC]: Likewise.
19626         * libio/stdio.h [__USE_MISC]: Likewise.
19627         * posix/unistd.h [__USE_MISC]: Likewise.
19628         * pwd/pwd.h [__USE_MISC]: Likewise.
19629         * stdlib.h [__USE_MISC]: Likewise.
19630         * string/bits/string2.h [__USE_MISC]: Likewise.
19631         * string/string.h [__USE_MISC]: Likewise.
19632         * time/time.h [__USE_MISC]: Likewise.
19634 2014-02-13  Andreas Schwab  <schwab@suse.de>
19636         [BZ #16574]
19637         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19638         second answer buffer if it was separately allocated.
19640 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
19642         * sysdeps/mips/math-tests.h: Include <features.h>.
19643         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19644         (ROUNDING_TESTS_long_double): Do not define.
19645         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19646         (EXCEPTION_TESTS_long_double): Likewise.
19647         * sysdeps/mips/mips64/libm-test-ulps: Update.
19649         * include/features.h (__USE_BSD): Remove macro definitions.
19650         (__USE_SVID): Likewise.
19651         (_BSD_SOURCE): Likewise.
19652         (_SVID_SOURCE): Likewise.
19653         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19654         from definition of _DEFAULT_SOURCE.
19655         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19656         [_DEFAULT_SOURCE].
19657         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19658         * bits/mman.h [__USE_BSD]: Likewise.
19659         * bits/termios.h [__USE_BSD]: Likewise.
19660         * bits/waitstatus.h [__USE_BSD]: Likewise.
19661         * ctype/ctype.h [__USE_SVID]: Likewise.
19662         * dirent/dirent.h [__USE_BSD]: Likewise.
19663         * grp/grp.h [__USE_SVID]: Likewise.
19664         [__USE_BSD]: Likewise.
19665         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19666         * io/fcntl.h [__USE_BSD]: Likewise.
19667         * io/ftw.h [__USE_BSD]: Likewise.
19668         * io/sys/stat.h [__USE_BSD]: Likewise.
19669         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19670         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19671         * libio/stdio.h [__USE_SVID]: Likewise.
19672         [__USE_BSD]: Likewise.
19673         * math/math.h [__USE_SVID]: Likewise.
19674         [__USE_BSD]: Likewise.
19675         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19676         * misc/bits/syslog.h [__USE_BSD]: Likewise.
19677         * misc/search.h [__USE_SVID]: Likewise.
19678         * misc/sys/mman.h [__USE_BSD]: Likewise.
19679         * misc/sys/syslog.h [__USE_BSD]: Likewise.
19680         * misc/sys/uio.h [__USE_BSD]: Likewise.
19681         * posix/bits/unistd.h [__USE_BSD]: Likewise.
19682         * posix/glob.h [__USE_BSD]: Likewise.
19683         * posix/regex.h [__USE_BSD]: Likewise.
19684         * posix/sys/types.h [__USE_BSD]: Likewise.
19685         [__USE_SVID]: Likewise.
19686         * posix/sys/utsname.h [__USE_SVID]: Likewise.
19687         * posix/sys/wait.h [__USE_BSD]: Likewise.
19688         [__USE_SVID]: Likewise.
19689         * posix/unistd.h [__USE_BSD]: Likewise.
19690         [__USE_SVID]: Likewise.
19691         * pwd/pwd.h [__USE_SVID]: Likewise.
19692         * resolv/netdb.h [__USE_BSD]: Likewise.
19693         * setjmp/setjmp.h [__USE_BSD]: Likewise.
19694         * signal/signal.h [__USE_BSD]: Likewise.
19695         [__USE_SVID]: Likewise.
19696         * socket/sys/socket.h [__USE_BSD]: Likewise.
19697         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19698         * stdlib/stdlib.h [__USE_BSD]: Likewise.
19699         [__USE_SVID]: Likewise.
19700         * string/bits/string2.h [__USE_BSD]: Likewise.
19701         [__USE_SVID]: Likewise.
19702         * string/bits/string3.h [__USE_BSD]: Likewise.
19703         * string/endian.h [__USE_BSD]: Likewise.
19704         * string/string.h [__USE_SVID]: Likewise.
19705         [__USE_BSD]: Likewise.
19706         * string/strings.h [__USE_BSD]: Likewise.
19707         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19708         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19709         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19710         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19711         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19712         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19713         Likewise.
19714         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19715         Likewise.
19716         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19717         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19718         Likewise.
19719         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19720         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19721         Likewise.
19722         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19723         Likewise.
19724         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19725         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19726         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19727         Likewise.
19728         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19729         Likewise.
19730         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19731         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19732         * termios/termios.h [__USE_BSD]: Likewise.
19733         * time/sys/time.h [__USE_BSD]: Likewise.
19734         * time/time.h [__USE_BSD]: Likewise.
19735         [__USE_SVID]: Likewise.
19737         * Makefile (subdir_targets): Remove subdir_lint.out.
19739         * stdio-common/Makefile (do-tst-unbputc): Remove target.
19740         (do-tst-printf): Likewise.
19741         (tests): Depend directly on $(objpfx)tst-unbputc.out and
19742         $(objpfx)tst-printf.out.
19744         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19746         * Makerules (check-abi-%): Change target to
19747         $(objpfx)check-abi-%.out.
19748         (check-abi target): Update dependencies.
19749         (check-abi-pattern variable): Redirect output of diff to $@.
19750         (check-abi variable): Likewise.
19751         * elf/Makefile (check-abi): Update dependencies.
19753         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19754         unused.
19755         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19756         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19757         subnormal range.
19758         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19759         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19760         value has largest subnormal exponent.
19761         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19762         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19763         * sysdeps/aarch64/soft-fp/sfp-machine.h
19764         (_FP_TININESS_AFTER_ROUNDING): New macro.
19765         * sysdeps/alpha/soft-fp/sfp-machine.h
19766         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19767         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19768         Likewise.
19769         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19770         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19771         * sysdeps/mips/soft-fp/sfp-machine.h
19772         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19773         * sysdeps/powerpc/soft-fp/sfp-machine.h
19774         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19775         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19776         Likewise.
19777         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19778         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19779         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19780         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19781         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19782         Likewise.
19784 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
19786         [BZ #16545]
19787         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19788         model 1.
19790 2014-02-12  Richard Henderson  <rth@redhat.com>
19792         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19793         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19794         * sysdeps/unix/sysv/linux/alpha: Move directory from
19795         ports/sysdeps/unix/sysv/linux/alpha.
19796         * README: Update listing for alpha-*-linux-gnu.
19798 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
19800         * include/features.h: Update comment documenting feature test
19801         macros.
19802         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
19803         _DEFAULT_SOURCE.
19804         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19805         (_SVID_SOURCE): Likewise.
19806         (_DEFAULT_SOURCE): Update description of default features.
19807         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19808         with _GNU_SOURCE.
19809         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19810         (S_ISVTX): Likewise.
19811         * manual/math.texi (Mathematical Constants): Likewise.
19812         * manual/signal.texi (Interrupted Primitives): Likewise.
19813         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19814         * math/test-matherr.c (_SVID_SOURCE): Do not define.
19815         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19816         Don't refer to _SVID_SOURCE in warning text.
19818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19820         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19821         already defined.
19822         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19823         * sysdeps/mips/dl-lookup.c: Remove.
19824         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19826 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19828         [BZ #16447]
19829         * math/auto-libm-test-in: Add testcase for expl.
19830         * math/auto-libm-test-out: Regenerate.
19831         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19832         calculation of unsafe.
19833         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19835 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19837         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19838         * sysdeps/unix/sysv/linux/aarch64: Move directory from
19839         ports/sysdeps/unix/sysv/linux/aarch64.
19840         * README: Update listing for aarch64*-*-linux-gnu.
19842 2014-02-11  Will Newton  <will.newton@linaro.org>
19844         * manual/probes.texi (Mathematical Function Probes): Use
19845         "triggered" instead of "hit".
19847         * manual/probes.texi (Internal Probes): Add documentation
19848         of setjmp, longjmp and longjmp_target probes.
19850         * include/stap-probe.h: Add comment about probe argument
19851         format.
19853         * malloc/mtrace.c (attribute_hidden): Remove unused macro
19854         definition.  (tr_where, tr_freehook, tr_mallochook,
19855         tr_reallochook, tr_memalignhook): Use ANSI protoype.
19857 2014-02-11  David S. Miller  <davem@davemloft.net>
19859         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19860         processing int_tests.
19862 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
19864         * sysdeps/mips: Move directory from ports/sysdeps/mips.
19865         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19866         * sysdeps/unix/sysv/linux/mips: Move directory from
19867         ports/sysdeps/unix/sysv/linux/mips.
19868         * README: Update listing for mips-*-linux-gnu and
19869         mips64-*-linux-gnu.
19871 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
19873         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19874         * sysdeps/unix/sysv/linux/m68k: Move directory from
19875         ports/sysdeps/unix/sysv/linux/m68k.
19876         * README: Update listing for m68k-*-linux-gnu.
19878 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
19880         * sysdeps/tile: Move directory from ports/sysdeps/tile.
19881         * sysdeps/unix/sysv/linux/generic: Move directory from
19882         ports/sysdeps/unix/sysv/linux/generic.
19883         * sysdeps/unix/sysv/linux/tile: Move directory from
19884         ports/sysdeps/unix/sysv/linux/tile.
19885         * README: Update listing for tile*-*-linux-gnu.
19887 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
19889         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19890         __builtin_expect.
19891         * benchtests/bench-memmem.c (simple_memmem): Likewise.
19892         * catgets/open_catalog.c (__open_catalog): Likewise.
19893         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19894         * debug/confstr_chk.c: Likewise.
19895         * debug/fread_chk.c (__fread_chk): Likewise.
19896         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19897         * debug/getgroups_chk.c: Likewise.
19898         * debug/mbsnrtowcs_chk.c: Likewise.
19899         * debug/mbsrtowcs_chk.c: Likewise.
19900         * debug/mbstowcs_chk.c: Likewise.
19901         * debug/memcpy_chk.c: Likewise.
19902         * debug/memmove_chk.c: Likewise.
19903         * debug/mempcpy_chk.c: Likewise.
19904         * debug/memset_chk.c: Likewise.
19905         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19906         * debug/strcat_chk.c (__strcat_chk): Likewise.
19907         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19908         * debug/strncat_chk.c (__strncat_chk): Likewise.
19909         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19910         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19911         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19912         * debug/wcpncpy_chk.c: Likewise.
19913         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19914         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19915         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19916         * debug/wcsncpy_chk.c: Likewise.
19917         * debug/wcsnrtombs_chk.c: Likewise.
19918         * debug/wcsrtombs_chk.c: Likewise.
19919         * debug/wcstombs_chk.c: Likewise.
19920         * debug/wmemcpy_chk.c: Likewise.
19921         * debug/wmemmove_chk.c: Likewise.
19922         * debug/wmempcpy_chk.c: Likewise.
19923         * debug/wmemset_chk.c: Likewise.
19924         * dirent/scandirat.c (SCANDIRAT): Likewise.
19925         * dlfcn/dladdr1.c (dladdr1): Likewise.
19926         * dlfcn/dladdr.c (dladdr): Likewise.
19927         * dlfcn/dlclose.c (dlclose_doit): Likewise.
19928         * dlfcn/dlerror.c (__dlerror): Likewise.
19929         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19930         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19931         * dlfcn/dlopen.c (dlopen_doit): Likewise.
19932         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19933         * dlfcn/dlsym.c (dlsym_doit): Likewise.
19934         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19935         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19936         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19937         Likewise.
19938         * elf/dl-conflict.c: Likewise.
19939         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19940         * elf/dl-dst.h: Likewise.
19941         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19942         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19943         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19944         * elf/dl-init.c (call_init, _dl_init): Likewise.
19945         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19946         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19947         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19948         Likewise.
19949         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19950         Likewise.
19951         * elf/dl-minimal.c (__libc_memalign): Likewise.
19952         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19953         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19954         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19955         * elf/dl-sym.c (do_sym): Likewise.
19956         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19957         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19958         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19959         * elf/dl-writev.h (_dl_writev): Likewise.
19960         * elf/ldconfig.c (search_dir): Likewise.
19961         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19962         (dl_main): Likewise.
19963         * elf/setup-vdso.h (setup_vdso): Likewise.
19964         * grp/compat-initgroups.c (compat_call): Likewise.
19965         * grp/fgetgrent.c (fgetgrent): Likewise.
19966         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19967         * grp/putgrent.c (putgrent): Likewise.
19968         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19969         Likewise.
19970         * hurd/hurdinit.c: Likewise.
19971         * iconvdata/8bit-gap.c (struct): Likewise.
19972         * iconvdata/ansi_x3.110.c : Likewise.
19973         * iconvdata/big5.c : Likewise.
19974         * iconvdata/big5hkscs.c : Likewise.
19975         * iconvdata/cp1255.c: Likewise.
19976         * iconvdata/cp1258.c : Likewise.
19977         * iconvdata/cp932.c : Likewise.
19978         * iconvdata/euc-cn.c: Likewise.
19979         * iconvdata/euc-jisx0213.c : Likewise.
19980         * iconvdata/euc-jp.c: Likewise.
19981         * iconvdata/euc-jp-ms.c : Likewise.
19982         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19983         * iconvdata/gb18030.c : Likewise.
19984         * iconvdata/gbbig5.c (const): Likewise.
19985         * iconvdata/gbgbk.c: Likewise.
19986         * iconvdata/gbk.c : Likewise.
19987         * iconvdata/ibm1364.c : Likewise.
19988         * iconvdata/ibm930.c : Likewise.
19989         * iconvdata/ibm932.c: Likewise.
19990         * iconvdata/ibm933.c : Likewise.
19991         * iconvdata/ibm935.c : Likewise.
19992         * iconvdata/ibm937.c : Likewise.
19993         * iconvdata/ibm939.c : Likewise.
19994         * iconvdata/ibm943.c: Likewise.
19995         * iconvdata/iso_11548-1.c: Likewise.
19996         * iconvdata/iso-2022-cn.c : Likewise.
19997         * iconvdata/iso-2022-cn-ext.c : Likewise.
19998         * iconvdata/iso-2022-jp-3.c: Likewise.
19999         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20000         * iconvdata/iso-2022-kr.c : Likewise.
20001         * iconvdata/iso646.c (gconv_end): Likewise.
20002         * iconvdata/iso_6937-2.c : Likewise.
20003         * iconvdata/iso_6937.c : Likewise.
20004         * iconvdata/iso8859-1.c: Likewise.
20005         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20006         * iconvdata/shift_jisx0213.c : Likewise.
20007         * iconvdata/sjis.c : Likewise.
20008         * iconvdata/t.61.c : Likewise.
20009         * iconvdata/tcvn5712-1.c : Likewise.
20010         * iconvdata/tscii.c: Likewise.
20011         * iconvdata/uhc.c : Likewise.
20012         * iconvdata/unicode.c (gconv_end): Likewise.
20013         * iconvdata/utf-16.c (gconv_end): Likewise.
20014         * iconvdata/utf-32.c (gconv_end): Likewise.
20015         * iconvdata/utf-7.c (base64): Likewise.
20016         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20017         * iconv/gconv_close.c (__gconv_close): Likewise.
20018         * iconv/gconv_open.c (__gconv_open): Likewise.
20019         * iconv/gconv_simple.c (internal_ucs4_loop_single)
20020         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20021         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20022         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20023         (ucs4le_internal_loop_single): Likewise.
20024         * iconv/iconv.c (iconv): Likewise.
20025         * iconv/iconv_close.c: Likewise.
20026         * iconv/loop.c (SINGLE): Likewise.
20027         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20028         * include/atomic.h: Likewise.
20029         * inet/inet6_option.c (option_alloc): Likewise.
20030         * intl/bindtextdom.c (set_binding_values): Likewise.
20031         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20032         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20033         * intl/localealias.c (read_alias_file): Likewise.
20034         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20035         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20036         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
20037         * libio/fmemopen.c (fmemopen): Likewise.
20038         * libio/iofgets.c (_IO_fgets): Likewise.
20039         * libio/iofgets_u.c (fgets_unlocked): Likewise.
20040         * libio/iofgetws.c (fgetws): Likewise.
20041         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20042         * libio/iogetdelim.c (_IO_getdelim): Likewise.
20043         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20044         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
20045         * locale/findlocale.c (_nl_find_locale): Likewise.
20046         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20047         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20048         Likewise.
20049         * locale/setlocale.c (setlocale): Likewise.
20050         * login/programs/pt_chown.c (main): Likewise.
20051         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20052         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
20053         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20054         (mmap, mmap64, mremap, munmap): Likewise.
20055         * math/e_exp2l.c: Likewise.
20056         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20057         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20058         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20059         * math/s_catan.c (__catan): Likewise.
20060         * math/s_catanf.c (__catanf): Likewise.
20061         * math/s_catanh.c (__catanh): Likewise.
20062         * math/s_catanhf.c (__catanhf): Likewise.
20063         * math/s_catanhl.c (__catanhl): Likewise.
20064         * math/s_catanl.c (__catanl): Likewise.
20065         * math/s_ccosh.c (__ccosh): Likewise.
20066         * math/s_ccoshf.c (__ccoshf): Likewise.
20067         * math/s_ccoshl.c (__ccoshl): Likewise.
20068         * math/s_cexp.c (__cexp): Likewise.
20069         * math/s_cexpf.c (__cexpf): Likewise.
20070         * math/s_cexpl.c (__cexpl): Likewise.
20071         * math/s_clog10.c (__clog10): Likewise.
20072         * math/s_clog10f.c (__clog10f): Likewise.
20073         * math/s_clog10l.c (__clog10l): Likewise.
20074         * math/s_clog.c (__clog): Likewise.
20075         * math/s_clogf.c (__clogf): Likewise.
20076         * math/s_clogl.c (__clogl): Likewise.
20077         * math/s_csin.c (__csin): Likewise.
20078         * math/s_csinf.c (__csinf): Likewise.
20079         * math/s_csinh.c (__csinh): Likewise.
20080         * math/s_csinhf.c (__csinhf): Likewise.
20081         * math/s_csinhl.c (__csinhl): Likewise.
20082         * math/s_csinl.c (__csinl): Likewise.
20083         * math/s_csqrt.c (__csqrt): Likewise.
20084         * math/s_csqrtf.c (__csqrtf): Likewise.
20085         * math/s_csqrtl.c (__csqrtl): Likewise.
20086         * math/s_ctan.c (__ctan): Likewise.
20087         * math/s_ctanf.c (__ctanf): Likewise.
20088         * math/s_ctanh.c (__ctanh): Likewise.
20089         * math/s_ctanhf.c (__ctanhf): Likewise.
20090         * math/s_ctanhl.c (__ctanhl): Likewise.
20091         * math/s_ctanl.c (__ctanl): Likewise.
20092         * math/w_pow.c: Likewise.
20093         * math/w_powf.c: Likewise.
20094         * math/w_powl.c: Likewise.
20095         * math/w_scalb.c (sysv_scalb): Likewise.
20096         * math/w_scalbf.c (sysv_scalbf): Likewise.
20097         * math/w_scalbl.c (sysv_scalbl): Likewise.
20098         * misc/error.c (error_tail): Likewise.
20099         * misc/pselect.c (__pselect): Likewise.
20100         * nis/nis_callback.c (__nis_create_callback): Likewise.
20101         * nis/nis_call.c (__nisfind_server): Likewise.
20102         * nis/nis_creategroup.c (nis_creategroup): Likewise.
20103         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20104         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20105         * nis/nis_getservlist.c (nis_getservlist): Likewise.
20106         * nis/nis_lookup.c (nis_lookup): Likewise.
20107         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
20108         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20109         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
20110         * nis/nis_xdr.c (xdr_endpoint): Likewise.
20111         * nis/nss_compat/compat-grp.c (getgrent_next_file)
20112         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20113         * nis/nss_compat/compat-initgroups.c (add_group)
20114         (internal_getgrent_r): Likewise.
20115         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20116         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20117         * nis/nss_compat/compat-spwd.c (getspent_next_file)
20118         (internal_getspnam_r): Likewise.
20119         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
20120         (_nss_nis_getaliasbyname_r): Likewise.
20121         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
20122         (_nss_nis_getntohost_r): Likewise.
20123         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
20124         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
20125         (_nss_nis_getgrgid_r): Likewise.
20126         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
20127         (internal_nis_gethostent_r, internal_gethostbyname2_r)
20128         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
20129         (_nss_nis_gethostbyname4_r): Likewise.
20130         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
20131         (initgroups_netid): Likewise.
20132         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
20133         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
20134         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
20135         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
20136         (_nss_nis_getprotobynumber_r): Likewise.
20137         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
20138         (_nss_nis_getsecretkey): Likewise.
20139         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
20140         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
20141         (_nss_nis_getpwuid_r): Likewise.
20142         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
20143         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
20144         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
20145         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
20146         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
20147         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
20148         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
20149         Likewise.
20150         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
20151         (_nss_nisplus_getntohost_r): Likewise.
20152         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20153         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20154         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20155         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
20156         Likewise.
20157         * nis/nss_nisplus/nisplus-initgroups.c
20158         (_nss_nisplus_initgroups_dyn): Likewise.
20159         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20160         (_nss_nisplus_getnetbyaddr_r): Likewise.
20161         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20162         (_nss_nisplus_getprotobynumber_r): Likewise.
20163         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20164         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
20165         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20166         Likewise.
20167         * nis/nss_nisplus/nisplus-service.c
20168         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20169         (_nss_nisplus_getservbyport_r): Likewise.
20170         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20171         (_nss_nisplus_getspnam_r): Likewise.
20172         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20173         Likewise.
20174         * nscd/aicache.c (addhstaiX): Likewise.
20175         * nscd/cache.c (cache_search, prune_cache): Likewise.
20176         * nscd/connections.c (register_traced_file, send_ro_fd)
20177         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20178         (main_loop_epoll): Likewise.
20179         * nscd/grpcache.c (addgrbyX): Likewise.
20180         * nscd/hstcache.c (addhstbyX): Likewise.
20181         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20182         * nscd/mem.c (gc, mempool_alloc): Likewise.
20183         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20184         (addinnetgrX): Likewise.
20185         * nscd/nscd-client.h (__nscd_acquire_maplock)
20186         (__nscd_drop_map_ref): Likewise.
20187         * nscd/nscd_getai.c (__nscd_getai): Likewise.
20188         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20189         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20190         Likewise.
20191         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20192         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20193         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20194         (__nscd_get_map_ref): Likewise.
20195         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
20196         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20197         Likewise.
20198         * nscd/pwdcache.c (addpwbyX): Likewise.
20199         * nscd/selinux.c (preserve_capabilities): Likewise.
20200         * nscd/servicescache.c (addservbyX): Likewise.
20201         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20202         * posix/fnmatch.c (fnmatch): Likewise.
20203         * posix/getopt.c (_getopt_internal_r): Likewise.
20204         * posix/glob.c (glob, glob_in_dir): Likewise.
20205         * posix/wordexp.c (exec_comm_child): Likewise.
20206         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20207         (getanswer_r, gaih_getanswer_slice): Likewise.
20208         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20209         * resolv/res_init.c: Likewise.
20210         * resolv/res_mkquery.c (res_nmkquery): Likewise.
20211         * resolv/res_query.c (__libc_res_nquery): Likewise.
20212         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20213         Likewise.
20214         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20215         * stdio-common/perror.c (perror): Likewise.
20216         * stdio-common/printf_fp.c (___printf_fp): Likewise.
20217         * stdio-common/tmpnam.c (tmpnam): Likewise.
20218         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20219         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
20220         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20221         Likewise.
20222         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20223         * stdlib/putenv.c (putenv): Likewise.
20224         * stdlib/setenv.c (__add_to_environ): Likewise.
20225         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20226         * stdlib/strtol_l.c (INTERNAL): Likewise.
20227         * string/memmem.c (memmem): Likewise.
20228         * string/strerror.c (strerror): Likewise.
20229         * string/strnlen.c (__strnlen): Likewise.
20230         * string/test-memmem.c (simple_memmem): Likewise.
20231         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20232         * sunrpc/pm_getport.c (__get_socket): Likewise.
20233         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20234         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
20235         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20236         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
20237         Likewise.
20238         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20239         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20240         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20241         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20242         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20243         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20244         Likewise.
20245         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20246         Likewise.
20247         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20248         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20249         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20250         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20251         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20252         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20253         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20254         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20255         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20256         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20257         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20258         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20259         Likewise.
20260         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20261         Likewise.
20262         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20263         Likewise.
20264         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20265         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20266         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20267         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20268         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20269         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20270         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20271         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20272         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20273         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20274         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20275         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20276         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20277         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20278         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20279         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20280         Likewise.
20281         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20282         Likewise.
20283         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20284         Likewise.
20285         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20286         Likewise.
20287         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20288         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20289         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20290         Likewise.
20291         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20292         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20293         * sysdeps/posix/opendir.c (__opendirat): Likewise.
20294         * sysdeps/posix/sleep.c: Likewise.
20295         * sysdeps/posix/tempname.c: Likewise.
20296         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20297         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20298         Likewise.
20299         * sysdeps/powerpc/powerpc32/dl-machine.h
20300         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
20301         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20302         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20303         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20304         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20305         Likewise.
20306         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
20307         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20308         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20309         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20310         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20311         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20312         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20313         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20314         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20315         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
20316         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20317         (elf_machine_lazy_rel): Likewise.
20318         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20319         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20320         (elf_machine_lazy_rel): Likewise.
20321         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20322         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20323         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20324         * sysdeps/unix/grantpt.c (grantpt): Likewise.
20325         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20326         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20327         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20328         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20329         Likewise.
20330         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20331         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20332         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
20333         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
20334         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20335         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20336         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
20337         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
20338         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
20339         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20340         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20341         Likewise.
20342         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20343         (__posix_fallocate64_l64): Likewise.
20344         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20345         (posix_fallocate): Likewise.
20346         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20347         Likewise.
20348         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20349         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20350         (getifaddrs_internal): Likewise.
20351         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20352         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20353         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20354         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20355         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20356         (__posix_fallocate64_l64): Likewise.
20357         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20358         Likewise.
20359         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
20360         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20361         (__get_clockfreq): Likewise.
20362         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20363         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20364         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20365         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20366         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20367         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20368         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20369         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20370         Likewise.
20371         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20372         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20373         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20374         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20375         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20376         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20377         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20378         Likewise.
20379         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20380         (posix_fallocate): Likewise.
20381         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20382         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20383         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
20384         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20385         (elf_machine_rela, elf_machine_rela_relative)
20386         (elf_machine_lazy_rel): Likewise.
20387         * time/asctime.c (asctime_internal): Likewise.
20388         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20389         * time/tzset.c (__tzset_parse_tz): Likewise.
20390         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20391         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20392         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20393         * wcsmbs/wcsmbsload.h: Likewise.
20395         [BZ #15894]
20396         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20398         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20399         (arena_get2): Remove THREAD_STATS conditionals.
20400         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20401         (__malloc_stats, int): Likewise.
20403 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
20405         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20406         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
20408         * manual/setjmp.texi: Fix typos/grammar errors.
20410         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20411         Only return early when n is <= 0.  Delete unused return statement.
20413         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20414         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20415         * debug/tst-longjmp_chk3.c: New file.
20417         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20418         (test_main): Replace code with set_fortify_handler call.
20419         * debug/test-strcpy_chk.c: Likewise.
20420         * debug/tst-chk1.c: Likewise.
20421         * debug/tst-longjmp_chk.c: Likewise.
20422         * test-skeleton.c: Include fcntl.h & paths.h
20423         (set_fortify_handler): Define.
20425         * debug/tst-longjmp_chk.c: Add header comment and include
20426         ../test-skeleton.c.
20427         (do_test): Mark static.
20428         (TEST_FUNCTION): Define.
20430         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20431         (IP_PMTUDISC_INTERFACE): Likewise.
20432         (IP_MULTICAST_IF): Likewise.
20433         (IP_MULTICAST_TTL): Likewise.
20434         (IP_MULTICAST_LOOP): Likewise.
20435         (IP_ADD_MEMBERSHIP): Likewise.
20436         (IP_DROP_MEMBERSHIP): Likewise.
20437         (IP_UNBLOCK_SOURCE): Likewise.
20438         (IP_BLOCK_SOURCE): Likewise.
20439         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20440         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20441         (IP_MSFILTER): Likewise.
20442         (MCAST_JOIN_GROUP): Likewise.
20443         (MCAST_BLOCK_SOURCE): Likewise.
20444         (MCAST_UNBLOCK_SOURCE): Likewise.
20445         (MCAST_LEAVE_GROUP): Likewise.
20446         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20447         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20448         (MCAST_MSFILTER): Likewise.
20449         (IP_MULTICAST_ALL): Likewise.
20450         (IP_UNICAST_IF): Likewise.
20452         * timezone/Makefile: Delete $(have-ksh) check.
20453         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20454         * timezone/tzselect.ksh: Add +x mode bits.
20456         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20457         (ANON_INODE_FS_MAGIC): Likewise.
20458         (BDEVFS_MAGIC): Likewise.
20459         (BINFMTFS_MAGIC): Likewise.
20460         (BTRFS_TEST_MAGIC): Likewise.
20461         (CRAMFS_MAGIC_WEND): Likewise.
20462         (DEBUGFS_MAGIC): Likewise.
20463         (ECRYPTFS_SUPER_MAGIC): Likewise.
20464         (EXT3_SUPER_MAGIC): Likewise.
20465         (EXT4_SUPER_MAGIC): Likewise.
20466         (FUTEXFS_SUPER_MAGIC): Likewise.
20467         (HOSTFS_SUPER_MAGIC): Likewise.
20468         (HUGETLBFS_MAGIC): Likewise.
20469         (MINIX3_SUPER_MAGIC): Likewise.
20470         (MTD_INODE_FS_MAGIC): Likewise.
20471         (NILFS_SUPER_MAGIC): Likewise.
20472         (OPENPROM_SUPER_MAGIC): Likewise.
20473         (PIPEFS_MAGIC): Likewise.
20474         (PSTOREFS_MAGIC): Likewise.
20475         (QNX6_SUPER_MAGIC): Likewise.
20476         (RAMFS_MAGIC): Likewise.
20477         (REISERFS_SUPER_MAGIC_STRING): Likewise.
20478         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20479         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20480         (SECURITYFS_MAGIC): Likewise.
20481         (SELINUX_MAGIC): Likewise.
20482         (SMACK_MAGIC): Likewise.
20483         (SOCKFS_MAGIC): Likewise.
20484         (SQUASHFS_MAGIC): Likewise.
20485         (STACK_END_MAGIC): Likewise.
20486         (TMPFS_MAGIC): Likewise.
20487         (USBDEVICE_SUPER_MAGIC): Likewise.
20488         (V9FS_MAGIC): Likewise.
20489         (XENFS_SUPER_MAGIC): Likewise.
20490         (CRAMFS_MAGIC): Fix typo in comment.
20491         (EXT2_SUPER_MAGIC): Update comment.
20492         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20494 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
20496         * sysdeps/arm: Move directory from ports/sysdeps/arm.
20497         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20498         * sysdeps/unix/sysv/linux/arm: Move directory from
20499         ports/sysdeps/unix/sysv/linux/arm.
20500         * README: Update listing for arm-*-linux-gnueabi.
20502         * README: Remove mention of am33.
20504 2014-02-07  Roland McGrath  <roland@hack.frob.com>
20506         * bits/sigset.h (__sigemptyset): Use a statement expression rather
20507         than the comma operator, to avoid "rhs of comma has no effect"
20508         compiler warnings.
20509         (__sigfillset, __sigandset, __sigorset): Likewise.
20510         * include/signal.h (__sigemptyset): Likewise.
20511         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20513 2014-02-07  Allan McRae  <allan@archlinux.org>
20515         * version.h (RELEASE): Set to "development".
20516         (VERSION): Set to "2.19.90"
20517         * NEWS: Add 2.20 section.
20519 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
20521         [BZ #16529]
20522         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
20524 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20526         * manual/contrib.texi: Update entry for Carlos O'Donell,
20527         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
20529 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
20531         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
20533         * sysdeps/unix/sysv/linux/kernel-features.h
20534         [__LINUX_KERNEL_VERSION >= 0x020621]
20535         (__ASSUME_PROC_PID_TASK_COMM): Define.
20537 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20539         [BZ #16398]
20540         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
20541         conversion when destination buffer does not have enough space.
20542         * libio/tst-ftell-partial-wide.c: New test case.
20543         * libio/Makefile (tests): Add tst-ftell-partial-wide.
20545         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
20546         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
20547         Leonard and Allan McRae.
20549 2014-02-04  David S. Miller  <davem@davemloft.net>
20551         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
20552         32-bit.
20554 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20557         New file
20558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20559         New file
20560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20561         New file.
20562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20563         New file.
20564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20565         New file.
20566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20567         New file.
20568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20569         New file.
20570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20571         New file.
20572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20573         New file.
20574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20575         New file.
20576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20577         New file.
20578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20579         New file.
20580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20581         New file.
20583 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20585         * nptl/shlib-versions: Change powerpc*le start to 2.17.
20586         * shlib-versions: Likewise.
20588 2014-02-04  Roland McGrath  <roland@hack.frob.com>
20589             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20591         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
20592         (abilist-pattern): New variable, set to %-le.abilist.
20594         * Makerules (abilist-pattern): New variable.
20595         (vpath): Use $(abilist-pattern) in place of %.abilist.
20596         (check-abi-% pattern rule): Likewise.
20597         (check-abi, update-abi): Likewise.
20599 2014-02-04  Eric Wong  <normalperson@yhbt.net>
20601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20603 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
20605         * manual/startup.texi: Add next, previous, and top entries for
20606         the `Program Arguments' and `Environment Variables' nodes.
20608 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
20610         * manual/macros.texi: Add comments before MTASC-safety macros.
20612         * manual/users.texi: Document MTASC-safety properties.
20614         * manual/threads.texi (pthread_key_create, pthread_key_delete)
20615         (pthread_getspecific, pthread_setspecific): Format with
20616         @deftypefun, and add @safety note.
20617         * manual/signal.texi: Move comments that analyze the above
20618         functions to their home place.
20620 2014-02-03  Allan McRae  <allan@archlinux.org>
20622         * po/sl.po: Update Slovenian translation from translation project.
20624 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
20626         * manual/time.texi (timegm): Add missing blank after @c.
20627         Reported by Joseph Myers <joseph@codesourcery.com>.
20629 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
20631         * manual/check-safety.sh: New.
20632         * manual/Makefile ($(objpfx)stamp-summary): Run it.
20634         * manual/terminal.texi: Document MTASC-safety properties.
20636         * manual/filesys.texi: Document MTASC-safety properties.
20638         * manual/errno.texi: Document MTASC-safety properties.
20640         * manual/intro.texi: Document safety identifiers and
20641         conditionals.
20643         * manual/string.texi (wcstok): Fix prototype.
20644         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20646         * manual/time.texi: Document MTASC-safety properties.
20648         * manual/string.texi: Document MTASC-safety properties.
20650         * manual/threads.texi: Document MTASC-safety properties.
20652         * manual/stdio.texi: Document MTASC-safety properties.
20654         * manual/syslog.texi: Document MTASC-safety properties.
20656         * manual/sysinfo.texi: Document MTASC-safety properties.
20658         * manual/startup.texi: Document MTASC-safety properties.
20660         * manual/socket.texi: Document MTASC-safety properties.
20662         * manual/signal.texi: Document MTASC-safety properties.
20664 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
20666         * manual/setjmp.texi: Document MTASC-safety properties.
20668         * manual/search.texi: Document MTASC-safety properties.
20670         * manual/resource.texi: Document MTASC-safety properties.
20672         * manual/process.texi: Document MTASC-safety properties.
20674         * manual/platform.texi: Document MTASC-safety properties.
20676         * manual/pipe.texi: Document MTASC-safety properties.
20678         * manual/pattern.texi: Document MTASC-safety properties.
20680         * manual/message.texi: Document MTASC-safety properties.
20682         [BZ #12751]
20683         * manual/memory.texi: Document MTASC-safety properties.
20685         * manual/math.texi: Document MTASC-safety properties.
20687         * manual/locale.texi: Document MTASC-safety properties.
20689         * manual/llio.texi: Document MTASC-safety properties.
20691         * manual/libdl.texi: New.
20693         * manual/lang.texi: Document MTASC-safety properties.
20695         * manual/job.texi: Document MTASC-safety properties.
20697         * manual/getopt.texi: Document MTASC-safety properties.
20699         * manual/ctype.texi: Document MTASC-safety properties.
20701 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
20703         [BZ #16046]
20704         * csu/libc-tls.c (static_map): Remove variable.
20705         (__libc_setup_tls): Use main executable's link map for TLS data.
20706         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20707         casing for LM_ID_BASE and GL(dl_nns).
20708         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20709         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
20710         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20711         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20712         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20713         member.
20714         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20715         l_phnum members.
20717 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
20719         * manual/debug.texi: Document MTASC-safety properties.
20721 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
20723         [BZ #16510]
20724         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20725         of __x86_64__ when disabling x87 inline functions.
20727 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
20729         * manual/charset.texi: Document MTASC-safety properties.
20731         * manual/crypt.texi: Document MTASC-safety properties.
20733         * manual/conf.texi: Document MTASC-safety properties.
20735         * manual/arith.texi: Document MTASC-safety properties.
20737         * manual/argp.texi: Document MTASC-safety properties.
20739         * manual/macros.texi: Introduce macros to document multi
20740         thread, asynchronous signal and asynchronous cancellation
20741         safety properties.
20742         * manual/intro.texi: Introduce the properties themselves.
20744 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20746         * sysdeps/sh/sh4/Makefile: New file.
20748 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
20750         * math/gen-libm-test.pl ($srcdir): New variable.
20751         ($auto_input): Use it.
20753 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20755         [BZ #16506]
20756         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20757         access beyond array bounds when parsing netgroups file.
20759         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20760         the old buffer before realloc.
20762 2014-01-27  Allan McRae  <allan@archlinux.org>
20764         * po/fr.po: Update French translation from translation project.
20766 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20768         * sysdeps/sh/libm-test-ulps: Regenerate.
20770 2014-01-24  David S. Miller  <davem@davemloft.net>
20772         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20774 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20776         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20777         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20779 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20781         [BZ #16474]
20782         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20783         string pointers after reallocation.
20785 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20787         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20788         __SH4A__ instead of __SH_FPU_ANY__.
20790 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20792         * sysdeps/sh/fpu_control.h: New file.
20793         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20794         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20795         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20796         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20797         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20798         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20799         * sysdeps/sh/sys/ucontext.h: Remove.
20800         * sysdeps/sh/sys: Remove directory.
20802 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20804         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20805         s390/sys/ucontext.h.
20806         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20807         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20809 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
20811         [BZ #15605]
20812         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20814 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20816         [BZ#16431]
20817         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20818         Adjust the vDSO correctly for internal calls.
20819         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20821 2014-01-20  Allan McRae  <allan@archlinux.org>
20823         * po/ca.po: Update Catalan translation from translation project.
20825 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
20827         * sysdeps/s390/sotruss-lib.c: New file.
20829 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20831         [BZ#16430]
20832         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20833         (__GI___gettimeofday): Alias for a different internal symbol to avoid
20834         local calls issues by not having a PLT stub required for IFUNC calls.
20835         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20837 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
20839         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20840         * math/test-fpucw-static.c: Likewise.
20842 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20844         [BZ #16453]
20845         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20847 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20849         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20850         implementation for powerpc.
20852 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
20854         [BZ #14782]
20855         * sysdeps/posix/system.c (__libc_system): Do not enable
20856         asynchronous cancellation.
20858 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20860         [BZ #16427]
20861         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20862         handling only for numbers special also in the IEEE case.
20864 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20866         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20868 2014-01-11  Allan McRae  <allan@archlinux.org>
20870         * po/bg.po: Update Bulgarian translation from translation project.
20872         * po/de.po: Update German translation from translation project.
20874 2014-01-10  Roland McGrath  <roland@hack.frob.com>
20876         * sysdeps/generic/gcc-compat.h: New file.
20878 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20880         * benchtests/asin-inputs: Correct slow inputs.
20881         * benchtests/acos-inputs: Likewise.
20883 2014-01-10  Allan McRae  <allan@archlinux.org>
20885         * po:sv.po: Update Swedish translation from translation project.
20887         * po/vi.po: Update Vietnamese translation from translation project.
20889         * po/eo.po: Update Esperanto translation from translation project.
20891         * po/cs.po: Update Czech translation from translation project.
20893         * po/nl.po: Update Dutch translation from translation project.
20895         * po/pl.po: Update Polish translation from translation project.
20897         * po/ru.po: Update Russian translation from translation project.
20899         * po/uk.po: Update Ukrainian translation from translation project.
20901 2014-01-08  Brooks Moses  <bmoses@google.com>
20903         * elf/dl-load.c: Fix comment typo.
20905 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
20907         * po/header.pot: Rename to...
20908         * po/pot.header: ... this.
20909         * po/Makefile: Use pot.header.
20911 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
20912             Maxim Kuvyrkov  <maxim@kugelworks.com>
20914         [BZ #16394]
20915         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20916         SRC and DEST against LEN.
20918 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20920         [BZ #16414]
20921         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20922         implementation.
20923         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20925 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20929 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
20931         [BZ #16408]
20932         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20933         for large positive arguments.
20935 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
20937         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20939         * math/auto-libm-test-in: Mark various tests with
20940         xfail-rounding:ldbl-128ibm.
20941         * math/auto-libm-test-out: Regenerated.
20943         [BZ #16407]
20944         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20945         Increase overflow threshold.
20947 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
20949         [BZ #14286]
20950         * stdio-common/vfprintf.c: Check for integer overflow.
20952 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20954         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20955         the first argument and return value of __tls_get_addr_internal.
20957 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20959         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20960         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20962 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20964         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20965         * sysdeps/s390/rtld-global-offsets.sym: New file.
20966         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20967         GLIBC_2.19 symbol.
20968         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20969         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20970         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20971         ... this.
20972         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20973         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20974         ... this.
20975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20976         Regenerate.
20977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20978         Regenerate.
20979         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20980         halfs of GPRs for high_gprs contexts.
20981         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20982         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
20983         field.
20984         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20985         uc_flags field.
20986         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20987         64 bit versions:
20988         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20989         for high GPRs (uc_high_gprs) and for future extensions
20990         (__reserved).
20991         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20992         for future extensions (__reserved).
20993         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20994         64 bit versions:
20995         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20996         SC_HIGHGPRS offset definition.
20997         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20998         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21000         * Versions.def: Add GLIBC_2.19 for libpthread.
21001         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21002         siglongjmp for libpthread with GLIBC_2.19 symver.
21003         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21004         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21005         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21006         * sysdeps/s390/__longjmp.c: New file.
21007         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21008         * sysdeps/s390/longjmp.c: New file.
21009         * sysdeps/s390/setjmp.S: New file.
21010         * sysdeps/s390/sigjmp.S: New file.
21011         * sysdeps/s390/v1-longjmp.c: New file.
21012         * sysdeps/s390/v1-setjmp.h: New file.
21013         * sysdeps/s390/v1-sigjmp.c: New file.
21014         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21015         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21016         GLIBC_2.19 version.
21017         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21018         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21019         versioned symbols for ____longjmp_chk.
21020         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21021         Likewise.
21022         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21023         Regenerate.
21024         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21025         Regenerate.
21026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21027         Regenerate.
21028         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21029         Regenerate.
21030         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21031         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21032         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21033         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21034         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21035         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21036         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21037         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21038         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21039         * sysdeps/s390/rtld-__longjmp.c: New file.
21040         * sysdeps/s390/rtld-setjmp.S: New file.
21042 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
21044         [BZ #16400]
21045         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21046         Return -__logl (x) for small positive arguments without evaluating
21047         a polynomial.
21049 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
21051         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21052         Rename to ...
21053         (__ptrace_peeksiginfo_args): ... this.
21054         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21055         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21056         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21058 2014-01-06  Allan McRae  <allan@archlinux.org>
21060         * inet/netinet/in.h: Fix typo in comment.
21062 2014-01-05  Andreas Jaeger  <aj@suse.de>
21064         * sysdeps/i386/fpu/libm-test-ulps: Update.
21066 2014-01-05  Allan McRae  <allan@archlinux.org>
21068         * po/libc.pot: Regenerated.
21070         * malloc/memusagestat.c: Fix gettext call formatting.
21072 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
21074         * nscd/nscd.c: Improve usage() output.
21076 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
21078         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21079         * sysdeps/unix/sysv/linux/configure: Regenerated.
21080         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21081         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21083 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
21085         [BZ #16390]
21086         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21087         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21089 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21091         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21092         extra tokens at end of #undef directive.
21093         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21094         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21095         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21097 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
21099         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21101         * math/auto-libm-test-in: Mark various tests with
21102         xfail-rounding:ldbl-128ibm.
21103         * math/auto-libm-test-out: Regenerated.
21105 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
21107         [BZ #16386]
21108         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21109         numbers with subnormal high part when calculating exponent.
21111         [BZ #16385]
21112         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21113         fabs.
21115         [BZ #16384]
21116         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
21117         M_LN2l.
21118         (__ieee754_acoshl): Use __log1pl not __log1p.
21120 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
21122         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
21123         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
21124         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
21125         (grow_heap, heap_trim, _int_new_arena, get_free_list)
21126         (reused_arena, arena_get2): Convert to GNU style.
21127         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
21128         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
21129         (memalign_check, __malloc_set_state): Likewise.
21130         * malloc/mallocbug.c (main): Likewise.
21131         * malloc/malloc.c (__malloc_assert, malloc_init_state)
21132         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
21133         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
21134         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
21135         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
21136         (__posix_memalign, malloc_info): Likewise.
21137         * malloc/malloc.h: Likewise.
21138         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
21139         (mallochook, memalignhook, reallochook, mabort): Likewise.
21140         * malloc/mcheck.h: Likewise.
21141         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
21142         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
21143         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
21144         * malloc/morecore.c (__default_morecore): Likewise.
21145         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
21146         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
21147         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
21148         (print_and_abort): Likewise.
21149         * malloc/obstack.h: Likewise.
21150         * malloc/set-freeres.c (__libc_freeres): Likewise.
21151         * malloc/tst-mallocstate.c (main): Likewise.
21152         * malloc/tst-mtrace.c (main): Likewise.
21153         * malloc/tst-realloc.c (do_test): Likewise.
21155 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21157         [BZ #16366]
21158         * nscd/netgroupcache.c (do_notfound): New function.
21159         (addgetnetgrentX): Use it.
21161         [BZ # 16365]
21162         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21163         NSS_STATUS_NOTFOUND.
21165 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
21167         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21170 2014-01-01  Allan McRae  <allan@archlinux.org>
21172         * scripts/update-copyrights: Update configure input file suffix.
21174         * NEWS: Update copyright year.
21175         * catgets/gencat.c: Likewise.
21176         * csu/version.c: Likewise.
21177         * debug/catchsegv.sh: Likewise.
21178         * debug/pcprofiledump.c: Likewise.
21179         * debug/xtrace.sh: Likewise.
21180         * elf/ldconfig.c: Likewise.
21181         * elf/ldd.bash.in: Likewise.
21182         * elf/pldd.c: Likewise.
21183         * elf/sotruss.ksh: Likewise.
21184         * elf/sprof.c: Likewise.
21185         * iconv/iconv_prog.c: Likewise.
21186         * iconv/iconvconfig.c: Likewise.
21187         * locale/programs/locale.c: Likewise.
21188         * locale/programs/localedef.c: Likewise.
21189         * login/programs/pt_chown.c: Likewise.
21190         * malloc/memusage.sh: Likewise.
21191         * malloc/memusagestat.c: Likewise.
21192         * malloc/mtrace.pl: Likewise.
21193         * manual/libc.texinfo: Likewise.
21194         * nscd/nscd.c: Likewise.
21195         * nss/getent.c: Likewise.
21196         * nss/makedb.c: Likewise.
21197         * posix/getconf.c: Likewise.
21198         * scripts/test-installation.pl: Likewise.
21200         * All files with FSF copyright notices: Update copyright dates
21201         using scripts/update-copyrights.
21202         * intl/plural.c: Regenerated.
21203         * locale/programs/charmap-kw.h: Likewise.
21204         * locale/programs/locfile-kw.h: Likewise.
21206 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
21208         * sysdeps/unix/sysv/linux/configure: Regenerated.
21209         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21210         the linux/fanotify.h header.
21211         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21212         HAVE_LINUX_FANOTIFY_H is defined.
21214 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21216         * benchtests/cos-inputs: New inputs.
21217         * benchtests/sin-inputs: Likewise.
21219         * benchtests/atan-inputs: New inputs. Fix name of multiple
21220         precision fallback inputs.
21222         * benchtests/atanh-inputs: New inputs.
21223         * benchtests/tanh-inputs: Likewise.
21225         * benchtests/acosh-inputs: New inputs.
21226         * benchtests/asinh-inputs: Likewise.
21228         * benchtests/cosh-inputs: New inputs.
21229         * benchtests/sinh-inputs: Likewise.
21231         * benchtests/acos-inputs: Add more inputs.
21232         * benchtests/asin-inputs: Likewise.
21234 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
21236         [BZ #16375]
21237         * manual/arith.texi: Fix spelling.
21238         * manual/charset.texi: Likewise.
21239         * manual/errno.texi: Likewise.
21240         * manual/filesys.texi: Likewise.
21241         * manual/lang.texi: Likewise.
21242         * manual/llio.texi: Likewise.
21243         * manual/locale.texi: Likewise.
21244         * manual/message.texi: Likewise.
21245         * manual/resource.texi: Likewise.
21246         * manual/search.texi: Likewise.
21247         * manual/setjmp.texi: Likewise.
21248         * manual/stdio.texi: Likewise.
21249         * manual/string.texi: Likewise.
21250         * manual/sysinfo.texi: Likewise.
21251         * manual/time.texi: Likewise.
21253 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
21255         * po/sl.po: New file.
21257 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
21259         * .gitignore: Add core/.gdbinit/.gdb_history.
21261 2013-12-27  Allan McRae  <allan@archlinux.org>
21263         [BZ #16369]
21264         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21265         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21267 2013-12-24  Brooks Moses  <bmoses@google.com>
21269         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21270         all compilers that claim C++98 compliance, not just GCC.
21271         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21272         Likewise.
21274 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21276         * NEWS: Restore accidentally deleted bug-fix entries.
21278 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21279             Ondřej Bílka  <neleai@seznam.cz>
21281         [BZ #15073]
21282         * malloc/malloc.c (_int_free): Perform sanity check only if we
21283         have_lock.
21285 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
21287         [BZ #12986]
21288         * manual/stdio.texi (String Input Conversions): Clarify that character
21289         classes are not supported.
21291 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21295 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
21297         [BZ #16337]
21298         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21299         Calculate results for small negative arguments directly rather
21300         than using reflection formula with special underflow handling.
21302         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21303         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21304         sysdeps/unix/bsd/bsd4.4/syscalls.list.
21305         (fchflags): Likewise.
21306         (revoke): Likewise.
21307         (setlogin): Likewise.
21308         (sigaltstack): Likewise.
21309         (wait4): Likewise.
21310         (sigblock): Remove.
21311         (sigsetmask): Likewise.
21312         (wait3): Likewise.
21313         (waitpid): Likewise.
21314         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21315         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21316         file.
21317         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21318         * sysdeps/unix/bsd/Makefile: ... here.
21319         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21320         * sysdeps/unix/bsd/Versions: ... here.
21321         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21322         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21323         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21324         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21325         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21326         * sysdeps/unix/bsd/sigblock.c: ... here.
21327         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21328         * sysdeps/unix/bsd/sigsetmask.c: ... here.
21329         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
21330         * sysdeps/unix/bsd/sigvec.c: ... here.
21331         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
21332         * sysdeps/unix/bsd/tcdrain.c: ... here.
21333         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
21334         * sysdeps/unix/bsd/tcgetattr.c: ... here.
21335         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
21336         * sysdeps/unix/bsd/tcsetattr.c: ... here.
21337         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
21338         * sysdeps/unix/bsd/wait.c: ... here.
21339         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
21340         * sysdeps/unix/bsd/wait3.c: ... here.
21341         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21342         * sysdeps/unix/bsd/waitpid.c: ... here.
21344 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
21346         [BZ #16356]
21347         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21348         round-to-nearest for [!USE_AS_EXPM1L].
21349         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21350         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
21351         more tests of exp and exp10.  Expect some exp10 tests to miss
21352         exceptions or fail in directed rounding modes.
21353         * math/auto-libm-test-out: Regenerated.
21354         * math/libm-test.inc (exp10_tonearest_test_data): New array.
21355         (exp10_test_tonearest): New function.
21356         (exp10_towardzero_test_data): New array.
21357         (exp10_test_towardzero): New function.
21358         (exp10_downward_test_data): New array.
21359         (exp10_test_downward): New function.
21360         (exp10_upward_test_data): New array.
21361         (exp10_test_upward): New function.
21362         (main): Call the new functions.
21363         * sysdeps/i386/fpu/libm-test-ulps: Update.
21364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21366 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
21368         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21369         asinh, atan, atan2, atanh, cbrt, cos and cosh.
21370         * math/auto-libm-test-out: Regenerated.
21371         * math/libm-test.inc (acosh_test_data): Add more tests.
21372         (atanh_test_data): Likewise.
21373         (ceil_test_data): Likewise.
21374         (copysign_test_data): Likewise.
21375         * sysdeps/i386/fpu/libm-test-ulps: Update.
21376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21378         * timezone/checktab.awk: Update from tzcode 2013i.
21379         * timezone/private.h: Likewise.
21380         * timezone/scheck.c: Likewise.
21381         * timezone/tzfile.h: Likewise.
21382         * timezone/tzselect.ksh: Likewise.
21383         * timezone/zdump.c: Likewise.
21384         * timezone/zic.c: Likewise.
21386         * math/auto-libm-test-in: Add tests of cpow.
21387         * math/auto-libm-test-out: Regenerated.
21388         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
21389         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21390         mpc_cc_c.
21391         (func_calc_desc): Add mpc_cc_c union field.
21392         (test_functions): Add cpow.
21393         (special_fill_2pi): New function.
21394         (special_real_inputs): Add 2pi.
21395         (calc_generic_results): Handle mpc_cc_c.
21396         * sysdeps/i386/fpu/libm-test-ulps: Update.
21397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21399         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21400         csqrt, ctan and ctanh.
21401         * math/auto-libm-test-out: Regenerated.
21402         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21403         (TEST_COND_x86): Likewise.
21404         (ccos_test_data): Use AUTO_TESTS_c_c.
21405         (ccosh_test_data): Likewise.
21406         (cexp_test_data): Likewise.
21407         (clog_test_data): Likewise.
21408         (csqrt_test_data): Likewise.
21409         (ctan_test_data): Likewise.
21410         (ctan_tonearest_test_data): Likewise.
21411         (ctan_towardzero_test_data): Likewise.
21412         (ctan_downward_test_data): Likewise.
21413         (ctan_upward_test_data): Likewise.
21414         (ctanh_test_data): Likewise.
21415         (ctanh_tonearest_test_data): Likewise.
21416         (ctanh_towardzero_test_data): Likewise.
21417         (ctanh_downward_test_data): Likewise.
21418         (ctanh_upward_test_data): Likewise.
21419         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21420         mpc_c_c.
21421         (func_calc_desc): Add mpc_c_c union field.
21422         (FUNC_mpc_c_c): New macro.
21423         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21424         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21425         ctanh.
21426         (special_fill_min_subnorm_p120): New function.
21427         (special_real_inputs): Add min_subnorm_p120.
21428         (calc_generic_results): Handle mpc_c_c.
21429         * sysdeps/i386/fpu/libm-test-ulps: Update.
21430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21432 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21434         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21435         (do_sin_slow): New functions.
21436         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21437         (cslow2, csloww1, csloww2): Use the new functions.
21439         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21440         Use M to change sign of result instead of X.  Assume X is
21441         positive.
21442         (csloww1): Likewise.
21443         (__sin): Adjust.
21444         (__cos): Adjust.
21446         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21447         arguments A and DA.
21448         (__sin): Adjust.
21449         (__cos): Likewise.
21451         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21452         (__cos): Likewise.
21453         (sloww1): Don't adjust sign of DX.
21454         (csloww1): Likewise.
21455         (sloww2): Use X directly and don't adjust sign of DX.
21456         (csloww2): Likewise.
21458 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21460         * math/auto-libm-test-in: Add tests of cabs and carg.
21461         * math/auto-libm-test-out: Regenerated.
21462         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21463         (carg_test_data): Likewise.
21464         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21465         mpc_c_f.
21466         (func_calc_desc): Add mpc_c_f union field.
21467         (test_functions): Add cabs and carg.
21468         (calc_generic_results): Handle mpc_c_f.
21470         * sysdeps/powerpc/powerpc32/libgcc-compat.S
21471         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21472         as a macro and a compat symbol.
21473         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21474         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21475         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21476         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21477         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21478         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21479         not use .hidden.
21480         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21481         Likewise.
21482         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21483         Likewise.
21484         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21485         Likewise.
21486         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21487         Likewise.
21488         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21489         Likewise.
21490         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21491         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21492         from GLIBC_2.3.2.
21494 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21498 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21500         * manual/texinfo.tex: Update to version 2013-11-26.10 with
21501         trailing whitespace removed.
21502         * scripts/config.guess: Update to version 2013-11-29.
21503         * scripts/config.sub: Update to version 2013-10-01.
21505         * math/auto-libm-test-in: Add tests of sincos.
21506         * math/auto-libm-test-out: Regenerated.
21507         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21508         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21509         mpfr_f_11.
21510         (func_calc_desc): Add mpfr_f_11 union field.
21511         (test_functions): Add sincos.
21512         (calc_generic_results): Handle mpfr_f_11.
21513         * sysdeps/i386/fpu/libm-test-ulps: Update.
21514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21516 2013-12-19  Andreas Schwab  <schwab@suse.de>
21518         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
21519         CALL_MCOUNT.
21520         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21521         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
21522         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
21524 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21526         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
21527         * sysdeps/i386/fpu/libm-test-ulps: Update.
21528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21530         [BZ #16293]
21531         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
21532         round-to-nearest mode when using frndint.
21533         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
21534         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21535         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21536         Likewise.
21537         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
21538         sinh test to fail.
21539         * math/auto-libm-test-out: Regenerated.
21540         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
21541         (TEST_COND_x86): Likewise.
21542         (expm1_tonearest_test_data): New array.
21543         (expm1_test_tonearest): New function.
21544         (expm1_towardzero_test_data): New array.
21545         (expm1_test_towardzero): New function.
21546         (expm1_downward_test_data): New array.
21547         (expm1_test_downward): New function.
21548         (expm1_upward_test_data): New array.
21549         (expm1_test_upward): New function.
21550         (main): Run the new test functions.
21551         * sysdeps/i386/fpu/libm-test-ulps: Update.
21552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21554         * include/features.h: Update comment documenting feature test
21555         macros.  Mention _DEFAULT_SOURCE in comment.
21556         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
21557         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
21558         _BSD_SOURCE and _SVID_SOURCE.
21559         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
21560         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
21561         !_SVID_SOURCE]: Likewise.
21562         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21563         (__USE_POSIX_IMPLICITLY): Define.
21564         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21565         (_POSIX_SOURCE): Undefine and redefine.
21566         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21567         (_POSIX_C_SOURCE): Likewise.
21568         * manual/creature.texi (_DEFAULT_SOURCE): Document.
21569         (Feature Test Macros): Update documentation of default features.
21571 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21573         * benchtests/Makefile: Add bench-strtok.
21574         * benchtests/bench-strtok.c: New file: strtok benchtest.
21576 2013-12-19  Allan McRae  <allan@archlinux.org>
21578         * manual/install.texi: Suppress menu for plain text output.
21579         * INSTALL: Regenerated.
21581 2013-12-18  Brooks Moses  <bmoses@google.com>
21583         [BZ #15846]
21584         * misc/getauxval.c: Include errno.h.
21585         (__getauxval): Set errno to ENOENT if the requested type is not
21586         found.
21587         * misc/sys/auxv.h (getauxval): Document that it may set errno;
21588         don't declare with __attribute_const__.
21589         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
21590         * manual/startup.texi: Document that getauxval sets errno.
21592 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
21594         * math/auto-libm-test-in: Add tests of jn and yn.
21595         * math/auto-libm-test-out: Regenerated.
21596         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
21597         (yn_test_data): Likewise.
21598         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21599         mpfr_if_f.
21600         (func_calc_desc): Add mpfr_if_f union field.
21601         (FUNC_mpfr_if_f): New macro.
21602         (test_functions): Add jn and yn.
21603         (calc_generic_results): Assert type of second input for
21604         mpfr_ff_f.  Handle mpfr_if_f.
21605         (output_for_one_input_case): Disable all checking for arguments
21606         fitting floating-point types in case of an integer argument.
21607         * sysdeps/i386/fpu/libm-test-ulps: Update.
21608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21611         Don't expect fegetround reference in libm.so.
21613 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21615         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21616         $(config-cflags-nofma).
21618 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
21620         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21621         * math/auto-libm-test-out: Regenerated.
21623         [BZ #16338]
21624         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21625         to determine exponent and adjust argument to have exponent of -1.
21626         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21627         log2.
21628         * math/auto-libm-test-out: Regenerated.
21629         * sysdeps/i386/fpu/libm-test-ulps: Update.
21630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21632 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
21634         * manual/probes.texi: Remove cases when per-thread arenas are
21635         disabled.
21637 2013-12-18  Andreas Schwab  <schwab@suse.de>
21639         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21640         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21641         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21642         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21643         * sysdeps/i386/i686/multiarch/Makefile: Update.
21644         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21646 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21648         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21649         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21651 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
21653         [BZ #15968]
21654         Support TZ transition times < 00:00:00.
21655         This is needed for version-3 tz-format files; it supports time
21656         stamps past 2037 for America/Godthab (the only entry in the tz
21657         database for which this change is relevant).
21658         * manual/time.texi (TZ Variable): Document transition times
21659         from -167:59:59 through -00:00:01.
21660         * time/tzset.c (tz_rule): Time of day is now signed.
21661         (__tzset_parse_tz): Parse negative time of day.
21663         Document TZ transition times >= 25:00:00.
21664         * manual/time.texi (TZ Variable): Document transition times from
21665         25:00:00 through 167:59:59.  These are already supported, and this
21666         support will help with version-3 tz-format files.
21668         * manual/time.texi (TZ Variable): Modernize North America example
21669         to reflect current (i.e., 2007-and-later) daylight saving rules.
21671         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21673 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21675         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21676         * sysdeps/unix/bsd/bits/stat.h: Likewise.
21677         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21678         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21679         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21680         * sysdeps/unix/bsd/bsdstat.h: Likewise.
21681         * sysdeps/unix/bsd/clock.c: Likewise.
21682         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21683         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21684         * sysdeps/unix/bsd/init-posix.c: Likewise.
21685         * sysdeps/unix/bsd/poll.c: Likewise.
21686         * sysdeps/unix/bsd/ptsname.c: Likewise.
21687         * sysdeps/unix/bsd/seekdir.c: Likewise.
21688         * sysdeps/unix/bsd/setegid.c: Likewise.
21689         * sysdeps/unix/bsd/seteuid.c: Likewise.
21690         * sysdeps/unix/bsd/setgid.c: Likewise.
21691         * sysdeps/unix/bsd/setrgid.c: Likewise.
21692         * sysdeps/unix/bsd/setruid.c: Likewise.
21693         * sysdeps/unix/bsd/setsid.c: Likewise.
21694         * sysdeps/unix/bsd/setuid.c: Likewise.
21695         * sysdeps/unix/bsd/sigaction.c: Likewise.
21696         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21697         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21698         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21699         * sysdeps/unix/bsd/telldir.c: Likewise.
21700         * sysdeps/unix/bsd/times.c: Likewise.
21701         * sysdeps/unix/bsd/usleep.c: Likewise.
21703         * misc/Makefile (install-lib): Remove libbsd-compat.a.
21704         ($(objpfx)libbsd-compat.a): Remove rule.
21706         * include/features.h (__FAVOR_BSD): Do not define.
21707         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21708         features conflicting with POSIX.
21709         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21710         (_BSD_SOURCE): Remove description of not being a subset of other
21711         feature test macros.
21712         * manual/job.texi (getpgrp): Do not document BSD version.
21713         (getpgid): Do not document by reference to BSD getpgrp.
21714         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21715         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21716         * signal/signal.h [__FAVOR_BSD]: Likewise.
21717         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21718         instead of making contents conditional on [__FAVOR_BSD].
21719         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21721 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21725 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21727         [BZ #16314]
21728         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21729         values below 2**-450, not 2**-500.
21730         * math/auto-libm-test-in: Don't allow spurious underflow from
21731         hypot.
21732         * math/auto-libm-test-out: Regenerated.
21734         [BZ #16316]
21735         [BZ #16330]
21736         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21737         values of ha and hb and sort them after adjusting subnormal
21738         arguments.
21739         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21740         Likewise.
21741         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21742         values of ea and eb and sort them after adjusting subnormal
21743         arguments.
21744         * math/auto-libm-test-in: Do not expect some hypot tests of
21745         subnormals to fail.  Add more hypot tests.
21746         * math/auto-libm-test-out: Regenerated.
21748 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21750         [BZ #13304]
21751         * sysdeps/sh/s_fma.c: New file.
21752         * sysdeps/sh/s_fmaf.c: New file.
21753         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
21754         version.
21755         * sysdeps/sh/Implies: Add sh/soft-fp.
21757 2013-12-16  Roland McGrath  <roland@hack.frob.com>
21759         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
21760         level of indirection to members `objname', `errstring', `malloced'.
21761         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21762         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
21763         it as the __longjmp argument (just pass 1 instead).
21764         (_dl_catch_error): Initialize C with argument pointers and address of
21765         volatile local ERRCODE rather than copying values out of C at return.
21767 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
21769         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21770         * math/auto-libm-test-out: Regenerated.
21771         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21772         (hypot_test_data): Likewise.
21773         (pow_test_data): Likewise.
21774         (pow_tonearest_test_data): Likewise.
21775         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21776         mpfr_ff_f.
21777         (func_calc_desc): Add mpfr_ff_f union field.
21778         (FUNC_mpfr_ff_f): New macro.
21779         (test_functions): Add atan2, hypot and pow.
21780         (special_fill_min): New function.
21781         (special_fill_minus_min): Likewise.
21782         (special_fill_min_subnorm): Likewise.
21783         (special_fill_minus_min_subnorm): Likewise.
21784         (special_real_inputs): Add min, -min, min_subnorm and
21785         -min_subnorm.
21786         (calc_generic_results): Handle mpfr_ff_f.
21787         * sysdeps/i386/fpu/libm-test-ulps: Update.
21788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21790 2013-12-16  Will Newton  <will.newton@linaro.org>
21792         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21793         (Aligned Memory Blocks): Add documentation for aligned_alloc
21794         and suggest it as an alternative to posix_memalign.
21795         (Hooks for Malloc): Document __memalign_hook is also called
21796         for aligned_alloc.  (Summary of Malloc): Add summary for
21797         aligned alloc.  Document __memalign_hook is also called
21798         for aligned_alloc.
21800 2013-12-16  Will Newton  <will.newton@linaro.org>
21802         * manual/memory.texi (Malloc Examples): Clarify default
21803         alignment documentation.  Suggest posix_memalign rather
21804         than memalign or valloc.
21805         (Aligned Memory Blocks): Remove suggestion to use memalign
21806         or valloc.  Remove obsolete comment about BSD.
21807         Document memalign errno values and mark the function obsolete.
21808         Document posix_memalign returned error codes.  Mark valloc
21809         as obsolete.  (Hooks for Malloc): __memalign_hook is also
21810         called for posix_memalign and valloc.
21811         (Summary of Malloc): Add posix_memalign to function summary.
21812         __memalign_hook is also called for posix_memalign and valloc.
21814 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21816         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21817         TAYLOR_SIN.
21818         (__sin): Adjust.
21819         (__cos): Likewise.
21820         (sloww): Use mynumber union.  Expand ternary operator into
21821         if-else statements.
21822         (cslow): use mynumber union.
21824 2013-12-16  Allan McRae  <allan@archlinux.org>
21826         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21827         * configure: Regenerated.
21829         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21831         [BZ #14120]
21832         * configure.ac: Added --enable-maintainer-mode. Check for
21833         autoconf when enabled.
21834         * configure: Regenerated.
21836         * nscd/nscd.service: New file.
21837         * nscd/nscd.tmpfiles: New file.
21839 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
21841         [BZ #12100]
21842         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21843         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21844         * sysdeps/x86_64/multiarch/strstr.c: ... here.
21845         (strstr): Add __strstr_sse2_unaligned ifunc.
21846         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21847         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21848         (strcasestr): Remove __strcasestr_sse42 ifunc.
21849         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21851         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21853 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21855         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21856         * sysdeps/sh/bits/fenv.h: ... here.
21857         * sysdeps/sh/sh4/fpu/bits: Remove directory.
21859 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21861         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21863         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21864         hypotf multiarch implementations.
21865         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21866         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21867         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21868         multiarch hypot for PPC64.
21869         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21870         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21871         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21872         multiarch hypotf for PPC64.
21874         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21875         modff multiarch implementations.
21876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21879         multiarch modf for PPC64.
21880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21883         multiarch modff for PPC64.
21885         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21886         and logl multiarch implementations.
21887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21890         multiarch logb for PPC64.
21891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21894         multiarch logb for PPC64.
21895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21898         multiarch logb for PPC64.
21900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21901         isinff multiarch implementation.
21902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21903         file.
21904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21906         multiarch isinf for PPC64.
21907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21908         file.
21909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21910         multiarch isinff for PPC64.
21912         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21913         finitef multiarch implementation.
21914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21915         file.
21916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21918         multiarch finite for PPC64.
21919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21920         file.
21921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21922         multiarch finitef for PPC64.
21924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21925         lrint multiarch implementation.
21926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21927         file.
21928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21930         multiarch llrint for PPC64.
21931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21932         multiarch lrint for PPC64.
21934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21935         copysignf multiarch implementation.
21936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21937         file.
21938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21939         file.
21940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21941         multiarch copysign for PPC64.
21942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21943         multiarch copysignf for PPC64.
21945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21946         multiarch implementation.
21947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21948         file.
21949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21950         file.
21951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21952         file.
21953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21954         file.
21955         multiarch llround for PPC64.
21956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21957         multiarch trunc for PPC64.
21958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21959         multiarch truncf for PPC64.
21961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21962         multiarch implementation.
21963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21964         file.
21965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21966         file.
21967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21968         file.
21969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21970         file.
21971         multiarch llround for PPC64.
21972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21973         multiarch round for PPC64.
21974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21975         multiarch roundf for PPC64.
21977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21978         multiarch implementation.
21979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21980         file.
21981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21982         file.
21983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21984         file.
21985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21986         file.
21987         multiarch llround for PPC64.
21988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21989         multiarch floor for PPC64.
21990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21991         multiarch floorf for PPC64.
21993         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21994         multiarch implementation.
21995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21996         file.
21997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21998         file.
21999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22000         file.
22001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22002         file.
22003         multiarch llround for PPC64.
22004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22005         multiarch ceil for PPC64.
22006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22007         multiarch ceilf for PPC64.
22009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22010         multiarch implementation.
22011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22012         file.
22013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22014         file.
22015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22016         file.
22017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22018         multiarch llround for PPC64.
22019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22020         multiarch lround for PPC64.
22022         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22023         multiarch implementation.
22024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22027         file.
22028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22031         multiarch isnan for PPC64.
22032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22033         multiarch isnanf for PPC64.
22035         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22036         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22037         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22038         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22039         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22042         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22043         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22044         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22045         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22048         multiarch implementations.
22049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22050         (__libc_ifunc_impl_list): Likewise.
22051         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22052         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22053         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22054         multiarch stpcpy for PPC64.
22056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22057         multiarch implementations.
22058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22059         (__libc_ifunc_impl_list): Likewise.
22060         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22061         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22062         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22063         multiarch strcpy for PPC64.
22065         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22066         redefine function name.
22067         (_wordcopy_fwd_dest_aligned): Likewise.
22068         (_wordcopy_bwd_aligned): Likewise.
22069         (_wordcopy_bwd_dest_aligned): Likewise.
22070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22071         multiarch implementations.
22072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22073         (__libc_ifunc_impl_list): Likewise.
22074         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22075         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22076         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22077         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22078         multiarch wcscpy for PPC64.
22080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22081         multiarch implementations.
22082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22083         (__libc_ifunc_impl_list): Likewise.
22084         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22085         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22086         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22087         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22088         multiarch wcscpy for PPC64.
22090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22091         multiarch implementations.
22092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22093         (__libc_ifunc_impl_list): Likewise.
22094         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22095         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22096         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22097         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22098         multiarch wcsrchr for PPC64.
22100         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22101         multiarch implementations.
22102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22103         (__libc_ifunc_impl_list): Likewise.
22104         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22105         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22106         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22107         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22108         multiarch wcschr for PPC64.
22110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22111         multiarch implementations.
22112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22113         (__libc_ifunc_impl_list): Likewise.
22114         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22115         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22116         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22117         multiarch strchrnul for PPC64.
22119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
22120         implementations.
22121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22122         (__libc_ifunc_impl_list): Likewise.
22123         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
22124         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
22125         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
22126         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22127         strchr for PPC64.
22129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
22130         implementations.
22131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22132         (__libc_ifunc_impl_list): Likewise.
22133         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
22134         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
22135         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
22136         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
22137         strncmp for PPC64.
22139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
22140         multiarch implementations.
22141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22142         (__libc_ifunc_impl_list): Likewise.
22143         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
22144         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
22145         strncasecmp for PPC64.
22146         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
22147         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
22148         multiarch strncasecmp_l for PPC64.
22150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
22151         multiarch implementations.
22152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22153         (__libc_ifunc_impl_list): Likewise.
22154         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22155         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22156         multiarch strcasecmp for PPC64.
22157         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22158         file.
22159         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22160         multiarch strcasecmp_l for PPC64.
22162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22163         implementations.
22164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22165         (__libc_ifunc_impl_list): Likewise.
22166         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22167         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22168         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22169         strnlen for PPC64.
22171         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22172         implementations.
22173         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22174         (__libc_ifunc_impl_list): Likewise.
22175         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22176         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22177         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22178         strlen for PPC64.
22180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22181         implementations.
22182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22183         (__libc_ifunc_impl_list): Likewise.
22184         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22185         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22186         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22187         rawmemrchr for PPC64.
22189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22190         implementation.
22191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22192         (__libc_ifunc_impl_list): Likewise.
22193         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22194         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22195         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22196         memrchr for PPC64.
22198         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22199         implementation.
22200         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22201         (__libc_ifunc_impl_list): Likewise.
22202         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22203         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22204         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22205         memchr for PPC64.
22207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22208         implementation.
22209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22210         (__libc_ifunc_impl_list): Likewise.
22211         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22212         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22213         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22214         mempcpy for PPC64.
22216         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22217         avoid cretion of __bzero symbol.
22218         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22219         Likewise.
22220         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22221         Likewise.
22222         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22223         Likewise.
22224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22225         multiarch implementations.
22226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22227         (__libc_ifunc_impl_list): Likewise.
22228         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22229         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22230         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22231         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22232         bzero for PPC32.
22233         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22234         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22235         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22236         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22237         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22238         memset for PPC64.
22239         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22241         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22243         implementations.
22244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22245         (__libc_ifunc_impl_list): Likewise.
22246         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22247         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22248         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22249         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22250         memcmp for PPC64.
22252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22253         multiarch for POWER/PPC64.
22254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22255         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22256         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22257         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22258         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22259         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22260         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22261         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22262         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22263         memcpy for PPC64.
22265         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22266         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22267         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22268         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22269         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22270         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22271         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22272         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22273         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22274         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22275         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22276         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22277         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22278         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22279         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22288 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22290         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22292 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22294         * benchtests/Makefile (bench): Add exp2 and log2.
22295         (LDLIBS-bench-exp2): Add -lm.
22296         (LDLIBS-bench-log2): Likewise.
22297         * benchtests/exp2-inputs: New inputs file.
22298         * benchtests/log2-inputs: New inputs file.
22299         * benchtests/log-inputs: Add new inputs.
22300         * benchtests/tan-inputs: Likewise.
22302 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22304         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22305         definition...
22306         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22307         (csloww2): ... from here.
22309         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22310         instead of structures.
22311         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22312         (POLYNOMIAL): Likewise.
22313         (TAYLOR_SLOW): Likewise.
22314         (__sin): Likewise.
22315         (__cos): Likewise.
22316         (slow1): Likewise.
22317         (slow2): Likewise.
22318         (sloww): Likewise.
22319         (sloww1); Likewise.
22320         (sloww2): Likewise.
22321         (bsloww1): Likewise.
22322         (bsloww2): Likewise.
22323         (cslow2): Likewise.
22324         (csloww): Likewise.
22325         (csloww1): Likewise.
22326         (csloww2): Likewise.
22328 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
22330         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
22331         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
22332         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
22333         * malloc/hooks.c (realloc_check): Likewise.
22335         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
22336         * malloc/arena.c: Remove PER_THREAD conditional.
22337         [!PER_THREAD]: Remove code.
22338         (ptmalloc_unlock_all2): Likewise.
22339         (ptmalloc_init): Likewise.
22340         (_int_new_arena): Likewise.
22341         (arena_get2): Likewise.
22342         * malloc/hooks.c (__malloc_get_state): Likewise.
22343         (__malloc_set_state): Likewise.
22344         * malloc/malloc.c: Likewise.
22345         (struct malloc_state): Likewise.
22346         (struct malloc_par): Likewise.
22347         (__libc_realloc): Likewise.
22348         (__libc_mallopt): Likewise.
22350 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22352         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22354 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
22356         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22357         macro to a function.  Check for zero perturb_byte.
22358         (_int_malloc, _int_free): Remove zero perturb_byte checks.
22360         * malloc/malloc.c: (force_reg): Remove.
22361         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22362         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
22363         force_reg by atomic_forced_read.
22364         * malloc/arena.c (ptmalloc_init): Likewise.
22365         * malloc/hooks.c (top_check): Likewise.
22367 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22371 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
22373         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22375 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
22377         * math/auto-libm-test-in: Add tests of lgamma.
22378         * math/auto-libm-test-out: Regenerated.
22379         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22380         (M_LOG_2_SQRT_PIl): Likewise.
22381         (lgamma_test_data): Use AUTO_TESTS_f_f1.
22382         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22383         mpfr_f_f1.
22384         (func_calc_desc): Add mpfr_f_f1 union field.
22385         (ARGS1): New macro.
22386         (ARGS2): Likewise.
22387         (ARGS3): Likewise.
22388         (ARGS4): Likewise.
22389         (RET1): Likewise.
22390         (RET2): Likewise.
22391         (CALC): Likewise.
22392         (FUNC): Likewise.
22393         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22394         (test_functions): Add lgamma.
22395         (calc_generic_results): Handle mpfr_f_f1.
22396         * sysdeps/i386/fpu/libm-test-ulps: Update.
22397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22399 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22401         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22402         __mpn_add_n for PowerPC64/POWER7.
22403         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22404         __mpn_sub_n for PowerPC64/POWER7.
22406         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22407         __mpn_addmul_1 for PowerPC64.
22408         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22409         __mpn_submul_1 for PowerPC64.
22410         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22411         for PowerPC64.
22412         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22413         for PowerPC64.
22415 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
22417         [BZ #15089]
22418         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22420 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22422         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22424         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22425         add multiarch folders.
22426         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22427         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22428         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22429         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22430         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22431         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22432         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22433         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22434         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22435         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22436         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22445         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22447         New file.
22448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22449         New file.
22450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22451         multiarch __ieee754_hypot for PowerPC32.
22452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22453         New file.
22454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22455         New file.
22456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22457         multiarch __ieee754_hypotf for PowerPC32.
22459         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22460         long_double_symbol only if __logbl is defined.
22461         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22462         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22463         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22464         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22465         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22466         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22467         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22468         path for implementation.
22469         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22470         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22472         logb, and logbl multiarch implementations for PowerPC32.
22473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22474         file.
22475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22476         file.
22477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22478         multiarch logb for PowerPC32.
22479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22480         file.
22481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22482         file.
22483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22484         multiarch logbf for PowerPC32.
22485         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22487         file.
22488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22489         multiarch logbl implementation for PowerPC32.
22491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22492         and modff multiarch implementations.
22493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22494         New file.
22495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22496         New file.
22497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22498         multiarch modf for PowerPC32.
22499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22500         New file.
22501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22502         New file.
22503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22504         multiarch modff for PowerPC32.
22506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22507         and lrintf multiarch implementations.
22508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22509         New file.
22510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22511         New file.
22512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22513         multiarch lrint for PowerPC32.
22514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22515         file: multiarch lrintf for PowerPC32.
22517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
22518         and lroundf multiarch implementations.
22519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
22520         New file.
22521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
22522         New file.
22523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
22524         New file.
22525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
22526         multiarch lround for PowerPC32.
22527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
22528         file: multiarch lroundf for PowerPC32.
22530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22531         copysign and copysignf multiarch implementations.
22532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
22533         New file.
22534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
22535         New file.
22536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
22537         file: multiarch copysign for PowerPC32.
22538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
22539         file: multiarch copysignf for PowerPC32.
22541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
22542         and truncf multiarch implementations.
22543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
22544         New file.
22545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
22546         file.
22547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
22548         multiarch trunc for PowerPC32.
22549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
22550         New file.
22551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
22552         New file.
22553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
22554         multiarch truncf for PowerPC32.
22556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
22557         and roundf multiarch implementations.
22558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
22559         New file.
22560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
22561         file.
22562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
22563         multiarch round for PowerPC32.
22564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
22565         New file.
22566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
22567         New file.
22568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
22569         multiarch roundf for PowerPC32.
22571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
22572         and floorf multiarch implementations.
22573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
22574         New file.
22575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
22576         file.
22577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
22578         multiarch floor for PowerPC32.
22579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
22580         New file.
22581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
22582         New file.
22583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
22584         multiarch floorf for PowerPC32.
22586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
22587         and ceilf multiarch implementations.
22588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
22589         New file.
22590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
22591         file.
22592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
22593         multiarch ceil for PowerPC32.
22594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
22595         New file.
22596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
22597         file.
22598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
22599         multiarch ceilf for PowerPC32.
22601         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22602         is defined.
22603         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22604         FINITEF is defined.
22605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22606         and finitef multiarch implementations.
22607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22608         New file.
22609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22610         file.
22611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22612         multiarch finite for PowerPC32.
22613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22614         New file.
22615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22616         file: multiarch finitef for PowerPC32.
22618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22619         and isinff multiarch implementations.
22620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22621         file.
22622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22623         file.
22624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22625         multiarch isinf for PowerPC32.
22626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22627         New file.
22628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22629         multiarch isinff for PowerPC32.
22631         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22632         alias when __isnan is defined.
22633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22634         and isnanf multiarch implementations.
22635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22636         file.
22637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22638         file.
22639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22640         file.
22641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22642         file.
22643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22644         multiarch isnan for PowerPC32.
22645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22646         New file.
22647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22648         New file.
22649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22650         multiarch isnanf for PowerPC32.
22652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22653         and sqrtf multiarch implementations.
22654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22655         file.
22656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22657         file.
22658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22659         multiarch sqrt for PowerPC32.
22660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22661         file.
22662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22663         file.
22664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22665         multiarch sqrtf for PowerPC32.
22667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22668         and llroundf multiarch implementations.
22669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22670         New file.
22671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22672         New file.
22673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22674         New file.
22675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22676         file: multiarch llround for PowerPC32.
22677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22678         file: multiarch llroundf for PowerPC32.
22680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22681         multiarch PowerPC32 fpu implementations.
22682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22683         New file.
22684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22685         New file.
22686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22687         multiarch llrint for PowerPC32.
22688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22689         New file.
22690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22691         New file.
22692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22693         file.
22695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22697         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22698         file.
22699         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22700         file.
22701         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22702         file.
22703         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22704         multiarch wordcopy for PPC32.
22705         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22706         wordcopy objects.
22707         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22708         (__libc_ifunc_impl_list): Likewise.
22709         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22710         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22711         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22712         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22713         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22714         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22716         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22718         file.
22719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22720         file.
22721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22722         file.
22723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22724         multiarch wcscpy for PPC32.
22725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22726         multiarch objects.
22727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22728         (__libc_ifunc_impl_list): Likewise.
22729         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22730         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22731         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22732         sysdeps/powerpc/power6/wcscpy.c.
22734         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22735         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22736         file.
22737         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22738         file.
22739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22740         file.
22741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22742         multiarch wcsrchr for PPC32.
22743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22744         multiarch objects.
22745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22746         (__libc_ifunc_impl_list): Likewise.
22747         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22748         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22749         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22750         sysdeps/powerpc/power6/wcsrchr.c.
22752         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22753         file.
22754         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22755         file.
22756         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22758         multiarch wcschr for PPc32.
22759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22760         multiarch objects.
22761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22762         (__libc_ifunc_impl_list): Likewise.
22763         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22764         * sysdeps/powerpc/power6/wcschr.c: ... to here.
22765         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22766         sysdeps/powerpc/power6/wcschr.c.
22768         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22769         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22770         file.
22771         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22772         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22773         file: multiarch strchr for PPC32.
22774         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22775         multiarch objects.
22776         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22777         (__libc_ifunc_impl_list): Likewise.
22779         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22780         name.
22781         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22782         file.
22783         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22784         file.
22785         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22786         multiarch strchrnul for PPC32.
22787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22788         multiarch objects.
22789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22790         (__libc_ifunc_impl_list): Likewise.
22792         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22793         file.
22794         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22795         multiarch strncasecmp for PPC32.
22796         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22797         file.
22798         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22799         multiarch strncasecmp_l for PPC32.
22800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22801         strncasecmp multiarch objects.
22802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22803         (__libc_ifunc_impl_list): Likewise.
22805         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22806         file.
22807         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22808         multiarch strncasecmp for PPC32.
22809         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22810         New file.
22811         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22812         multiarch strcasecmp_l for PPC32.
22813         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22814         multiarch objects.
22815         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22816         (__libc_ifunc_impl_list): Likewise.
22818         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22819         file.
22820         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22821         file.
22822         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22823         multiarch strncmp for PPC32.
22824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22825         multiarch objects.
22826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22827         (__libc_ifunc_impl_list): Likewise.
22829         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22830         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22831         file.
22832         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22833         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22834         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22835         multiarch objects.
22836         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22837         (__libc_ifunc_impl_list): Likewise.
22839         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22840         file.
22841         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22842         file.
22843         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22845         multiarch objects.
22846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22847         (__libc_ifunc_impl_list): Likewise.
22849         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22850         file.
22851         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22852         file.
22853         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22854         multiarch rawmemchr for PPC32.
22855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22856         multiarch objects.
22857         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22858         (__libc_ifunc_impl_list): Likewise.
22860         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22861         file.
22862         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22863         file.
22864         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22865         file: memrchr multiarch for PPC32.
22866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22867         multiarch objects.
22868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22869         (__libc_ifunc_impl_list): Likewise.
22871         * string/memchr.c (__memchr): Using macro to redefine symbol name.
22872         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22873         file.
22874         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22875         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22876         multiarch memchr for PPC32.
22877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22878         multiarch objects.
22879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22880         (__libc_ifunc_impl_list): Likewise.
22882         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22883         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22884         file.
22885         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22886         file.
22887         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22888         file: multiarch mempcpy for PPC32.
22889         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22890         multiarch objects.
22891         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22892         (__libc_ifunc_impl_list): Likewise.
22894         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22895         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22896         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22897         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22898         multiarch bzero for PPC32.
22899         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22900         file.
22901         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22902         file.
22903         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22904         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22905         file: multiarch memset for PPC32.
22906         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22907         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22908         memset multiarch objects.
22909         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22910         (__libc_ifunc_impl_list): Likewise.
22912         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22913         file.
22914         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22915         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22916         memcmp for PPC32.
22917         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22919         multiarch objects.
22920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22921         (__libc_ifunc_impl_list): Likewise.
22923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22926         file.
22927         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22928         file.
22929         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22930         file.
22931         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22932         multiarch memcpy for PPC32.
22933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22934         multiarch objects.
22935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22936         (__libc_ifunc_impl_list): Likewise.
22938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22939         support multiarch for POWER/PPC32.
22940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22941         Likewise.
22942         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22944         Implies file to make multiarch folder appers before the fpu and
22945         default folder for power4 configuration.
22947 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22949         * scripts/bench.pl: Append volatile keyword to type.
22951 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22953         * sysdeps/sh/sotruss-lib.c: New file.
22954         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22956 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22960 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
22962         [BZ #6810]
22963         * math/w_tgamma.c: Include <errno.h>.
22964         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
22965         * math/w_tgammaf.c: Include <errno.h>.
22966         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
22967         * math/w_tgammal.c: Include <errno.h>.
22968         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
22969         * math/auto-libm-test-in: Do not allow missing errno on tgamma
22970         underflow.  Add more tgamma tests.
22971         * math/auto-libm-test-out: Regenerated.
22972         * sysdeps/i386/fpu/libm-test-ulps: Update.
22973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22975         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22976         sin, sinh, tan, tanh, tgamma, y0 and y1.
22977         * math/auto-libm-test-out: Regenerated.
22978         * math/libm-test.inc (TEST_COND_x86_64): New macro.
22979         (TEST_COND_x86): Likewise.
22980         (M_E2l): Remove macro.
22981         (M_E3l): Likewise.
22982         (M_2_SQRT_PIl): Likewise.
22983         (M_SQRT_PIl): Likewise.
22984         (M_1_DIV_El): Likewise.
22985         (log_test_data): Use AUTO_TESTS_f_f.
22986         (log10_test_data): Likewise.
22987         (log1p_test_data): Likewise.
22988         (log2_test_data): Likewise.
22989         (sin_test_data): Likewise.
22990         (sin_tonearest_test_data): Likewise.
22991         (sin_towardzero_test_data): Likewise.
22992         (sin_downward_test_data): Likewise.
22993         (sin_upward_test_data): Likewise.
22994         (sinh_test_data): Likewise.
22995         (sinh_tonearest_test_data): Likewise.
22996         (sinh_towardzero_test_data): Likewise.
22997         (sinh_downward_test_data): Likewise.
22998         (sinh_upward_test_data): Likewise.
22999         (tan_test_data): Likewise.
23000         (tan_tonearest_test_data): Likewise.
23001         (tan_towardzero_test_data): Likewise.
23002         (tan_downward_test_data): Likewise.
23003         (tan_upward_test_data): Likewise.
23004         (tanh_test_data): Likewise.
23005         (tgamma_test_data): Likewise.
23006         (y0_test_data): Likewise.
23007         (y1_test_data): Likewise.
23008         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23009         (special_real_inputs): Add pi/4.
23010         * sysdeps/i386/fpu/libm-test-ulps: Update.
23011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23013 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23015         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23016         "longjmp_target" static probes.
23017         (__longjmp): Rename to __longjmp_symbol.
23018         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23019         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23020         on which longjmp to generate.
23021         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23022         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23023         probe.
23024         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23025         (__sigjmp_save): Rename to __sigjmp_save_symbol.
23026         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23027         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23028         and __sigjmp_save_symbol based on which sigsetjmp to generated.
23029         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23031         __longjmp_symbol based on which __longjmp to generate.
23032         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23033         probe.
23034         (setjmp): Rename to setjmp_symbol.
23035         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23036         (_setjmp): Rename to _setjmp_symbol.
23037         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23038         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23039         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23040         which setjmp to generate.
23041         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23042         "longjmp_target" static probes.
23044 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23046         * benchtests/README: Add note about output arguments.
23047         * benchtests/bench-sincos.c: Remove file.
23048         * benchtests/sincos-inputs: New file.
23049         * scripts/bench.pl: Identify output arguments and define
23050         static variables for them.
23052         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23054         [BZ #15941]
23055         * Makefile (INSTALL): Add install-plain.texi as the primary
23056         dependency.
23057         * manual/install-plain.texi: New file.
23058         * manual/install.texi: Include node directive only for
23059         non-plaintext output.
23061 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
23063         * stdlib/longlong.h: Update from GCC.
23065         [BZ #6807]
23066         [BZ #15901]
23067         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23068         * math/w_j0f.c (y0f): Likewise.
23069         * math/w_j0l.c (__y0l): Likewise.
23070         * math/w_j1.c (y1): Likewise.
23071         * math/w_j1f.c (y1f): Likewise.
23072         * math/w_j1l.c (__y1l): Likewise
23073         * math/w_jn.c (yn): Likewise.
23074         * math/w_jnf.c (ynf): Likewise.
23075         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23076         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
23077         value for Bessel function domain errors outside _SVID_ mode.
23078         Adjust sign of return value for yn (negative integer, 0).
23079         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23080         by zero in return for negative x and set sign appropriately for
23081         negative n.
23082         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23083         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23084         * math/libm-test.inc (y0_test_data): Add more tests and adjust
23085         expectations in error cases.
23086         (y1_test_data): Likewise.
23087         (yn_test_data): Likewise.
23088         * sysdeps/i386/fpu/libm-test-ulps: Update.
23089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23091 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23093         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23094         "64" to "64-v1".  Add "64-v2".
23095         (abi-64-options): Rename to ...
23096         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
23097         (abi-64-condition): Rename to ...
23098         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
23099         (abi-64-ld-soname): Rename to ...
23100         (abi-64-v1-ld-soname): ... this.
23101         (abi-64-v2-options): Define.
23102         (abi-64-v2-condition): Likewise.
23103         (abi-64-v2-ld-soname): Likewise.
23104         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23105         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23110 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23111             Alan Modra  <amodra@gmail.com>
23113         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23114         New versions for use with the ELFv2 ABI.
23115         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23116         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
23117         declaration.
23118         (struct La_ppc64v2_retval): Likewise.
23119         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
23120         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
23121         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
23122         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
23123         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
23124         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23125         Do not save or restore CR.
23126         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
23127         (_dl_profile_resolve): Do no save or restore CR.  Support extended
23128         return values for ELFv2 ABI.  Fix location of FPR return registers.
23129         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
23130         updated values for _CALL_ELF == 2.
23131         (La_regs, La_retval, int_retval): Likewise.
23133 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23135         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
23136         (FRAME_MIN_SIZE_PARM): Likewise.
23137         (FRAME_BACKCHAIN): Likewise.
23138         (FRAME_CR_SAVE): Likewise.
23139         (FRAME_LR_SAVE): Likewise.
23140         (FRAME_TOC_SAVE): Likewise.
23141         (FRAME_PARM_SAVE): Likewise.
23142         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
23143         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
23144         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23145         (call_mcount_parm_offset): New macro.
23146         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
23147         (PROF): Use symbolic stack frame offsets.
23148         (TAIL_CALL_SYSCALL_ERROR): Likewise.
23149         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
23150         Redefine in terms of FRAME_MIN_SIZE.
23151         (_dl_runtime_resolve): Use symbolic stack frame offsets.
23152         (_dl_profile_resolve): Likewise.  Update comment.
23153         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23154         symbols stack frame offsets.
23155         (__sigsetjmp): Likewise.
23156         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23157         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23158         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23159         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23162         (FRAME_BACKCHAIN): Remove.
23163         (FRAME_CR_SAVE): Likewise.
23164         (FRAME_LR_SAVE): Likewise.
23165         (FRAME_COMPILER_DW): Likewise.
23166         (FRAME_LINKER_DW): Likewise.
23167         (FRAME_TOC_SAVE): Likewise.
23168         (FRAME_PARM_SAVE): Likewise.
23169         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23170         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23171         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23173         (CHECK_SP): Use symbolic stack frame offsets.
23174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23175         zone" instead of caller's parameter save area for temp storage.
23176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23177         Likewise.  Also, use symbolic stack frame offsets.
23178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23179         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23180         our own stack frame instead of the caller's.
23181         (__socket): Use symbolic stack frame offsets.
23183 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23184             Alan Modra  <amodra@gmail.com>
23186         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23187         Define.
23188         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23189         (PPC64_LOCAL_ENTRY_OFFSET): Define.
23190         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23191         New function.
23192         (elf_machine_fixup_plt): Call it.
23193         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
23194         reloc arguments.
23195         (elf_machine_rela): Update call to elf_machine_plt_conflict.
23196         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23197         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
23198         r2 before calling target.
23200 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23201             Alan Modra  <amodra@gmail.com>
23203         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23204         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23205         versions of macros to support ELFv2 ABI.
23206         (LOCALENTRY): New macro.
23207         (ENTRY, EALIGN): Use it.
23208         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23209         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23210         fall through into ENTRY entry point.
23211         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23212         Only define if _CALL_ELF != 2.
23214         (elf_machine_matches_host): Verify ABI version matches.
23215         (RTLD_START): Use LOCALENTRY.
23216         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23217         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23218         (PLT_ENTRY_WORDS): New macro.
23219         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23220         (elf_machine_runtime_setup): Support ELFv2 ABI.
23221         (elf_machine_fixup_plt): Likewise.
23222         (elf_machine_plt_conflict): Likewise.
23223         (resolve_ifunc): Likewise.
23224         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23225         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23226         Likewise.
23227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23228         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23230         (makecontext): Support ELFv2 ABI.
23231         * elf/elf.h (EF_PPC64_ABI): Define.
23233 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23235         * sysdeps/powerpc/powerpc64/sysdep.h
23236         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23237         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23238         (ENTRY) [ASSEMBLER]: ... but instead here ...
23239         (EALIGN) [ASSEMBLER]: ... and here.
23240         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23241         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23242         (ENTRY_2) [!ASSEMBLER]: Use it.
23243         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23244         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
23245         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23246         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
23247         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23249         Use PPC64_LOAD_FUNCPTR.
23251         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23253 2013-12-04  Alan Modra  <amodra@gmail.com>
23255         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23256         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23257         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23258         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23260         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23261         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23262         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23263         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23264         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23265         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23267 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23270         (__makecontext): Fix incorrect CFI when backtracing out of
23271         context created via makecontext.
23272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23273         (__setcontext): Fix incorrect CFI during switch to new context.
23274         (__novec_setcontext): Likewise.
23276 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23278         [BZ #4772]
23279         * time/strptime_l.c (__strptime_internal): Allow modifiers
23280         in strptime.
23281         * time/tst-strptime.c (day_tests): Add testcase.
23283 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23285         * scripts/bench.pl: Skip over blank lines.
23287 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23289         [BZ #926]
23290         * manual/time.texi (Calendar Time): Clarify what timezone functions
23291         use.
23293 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23297 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23299         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23300         implementation.
23301         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23302         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23303         * debug/memset_chk.c (__memset_chk): Likewise.
23304         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23305         * debug/strncpy_chk.c: Likewise.
23307 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23309         [BZ #15268]
23310         [BZ #15425]
23311         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23312         (__ieee754_exp): For possibly underflowing results, check size of
23313         result and force underflow exception if required.
23314         * math/auto-libm-test-in: Add more tests of exp.
23315         * math/auto-libm-test-out: Regenerated.
23316         * sysdeps/i386/fpu/libm-test-ulps: Update.
23317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23319         [BZ #16283]
23320         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23321         * math/w_exp2f.c (__exp2f): Likewise.
23322         * math/w_exp2l.c (__exp2l): Likewise.
23323         * math/auto-libm-test-in: Do not allow missing errno on exp2
23324         underflow.
23325         * math/auto-libm-test-out: Regenerated.
23327 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
23329         [BZ #16274]
23330         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
23331         handle filename validation.
23332         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
23333         (do_open): Delete.
23335 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23337         [BZ #6786]
23338         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
23339         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
23340         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
23341         <float.h>.
23342         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23343         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23344         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23345         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23346         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23347         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23348         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23349         * math/auto-libm-test-in: Don't allow missing errno from erfc.
23350         Add more erfc tests.
23351         * math/auto-libm-test-out: Regenerated.
23352         * sysdeps/i386/fpu/libm-test-ulps: Update.
23353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23355         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23356         exp2, expm1, j0 and j1.
23357         * math/auto-libm-test-out: Regenerated.
23358         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23359         (erfc_test_data): Likewise.
23360         (exp_test_data): Likewise.
23361         (exp_tonearest_test_data): Likewise.
23362         (exp_towardzero_test_data): Likewise.
23363         (exp_downward_test_data): Likewise.
23364         (exp_upward_test_data): Likewise.
23365         (exp10_test_data): Likewise.
23366         (exp2_test_data): Likewise.
23367         (expm1_test_data): Likewise.
23368         (j0_test_data): Likewise.
23369         (j1_test_data): Likewise.
23370         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23371         (input_flag_type): Add flag_xfail_rounding.
23372         (input_flags): Add xfail-rounding.
23373         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23374         (output_for_one_input_case): Handle flag_xfail_rounding.
23375         * sysdeps/i386/fpu/libm-test-ulps: Update.
23376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23378 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
23380         [BZ #16289]
23381         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23382         division by 0.
23384 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23386         [BZ #16195]
23387         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23388         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23389         (STAP_PROBE0): New macro.
23390         (STAP_PROBE1): Likewise.
23391         (STAP_PROBE2): Likewise.
23392         (STAP_PROBE3): Likewise.
23393         (STAP_PROBE4): Likewise.
23395 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
23397         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23399 2013-12-02  Steve Ellcey  <sellcey@mips.com>
23401         * benchtests/Makefile (bench): Add sqrt.
23402         (LDLIBS-bench-sqrt): New.
23403         * benchtests/sqrt-input: New.
23405 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
23407         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23408         (GAIH_EAI): Likewise.
23409         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23410         (gaih_inet): Likewise.
23411         (getaddrinfo): Don't use GAIH_EAI.
23413         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23414         (struct gaih): Remove definition.
23416 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23418         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23419         Use HERRNOP directly.
23421 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23425 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
23427         * math/gen-auto-libm-tests.c (test_functions): Add more
23428         single-argument functions.
23429         (special_fill_pi_2): New function.
23430         (special_fill_minus_pi_2): Likewise.
23431         (special_fill_pi_6): Likewise.
23432         (special_fill_minus_pi_6): Likewise.
23433         (special_fill_pi_3): Likewise.
23434         (special_fill_2pi_3): Likewise.
23435         (special_fill_e): Likewise.
23436         (special_fill_1_e): Likewise.
23437         (special_fill_e_minus_1): Likewise.
23438         (special_real_inputs): Add more special inputs.
23439         (output_for_one_input_case): Do not require ERANGE on underflow to
23440         zero if round-to-nearest result does not underflow to zero, unless
23441         exact results required.
23442         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23443         atan, atanh, cbrt, cos and cosh.
23444         * math/auto-libm-test-out: Regenerated.
23445         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23446         (acos_tonearest_test_data): Likewise.
23447         (acos_towardzero_test_data): Likewise.
23448         (acos_downward_test_data): Likewise.
23449         (acos_upward_test_data): Likewise.
23450         (acosh_test_data): Likewise.
23451         (asin_test_data): Likewise.
23452         (asin_tonearest_test_data): Likewise.
23453         (asin_towardzero_test_data): Likewise.
23454         (asin_upward_test_data): Likewise.
23455         (asinh_test_data): Likewise.
23456         (atan_test_data): Likewise.
23457         (atanh_test_data): Likewise.
23458         (cbrt_test_data): Likewise.
23459         (cos_test_data): Likewise.
23460         (cos_tonearest_test_data): Likewise.
23461         (cos_towardzero_test_data): Likewise.
23462         (cos_downward_test_data): Likewise.
23463         (cos_upward_test_data): Likewise.
23464         (cosh_test_data): Likewise.
23465         (cosh_tonearest_test_data): Likewise.
23466         (cosh_towardzero_test_data): Likewise.
23467         (cosh_downward_test_data): Likewise.
23468         (cosh_upward_test_data): Likewise.
23469         * sysdeps/i386/fpu/libm-test-ulps: Update.
23470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23472 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
23474         [BZ #6787]
23475         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23476         * math/w_exp10f.c (__exp10f): Likewise.
23477         * math/w_exp10l.c (__exp10l): Likewise.
23478         * math/libm-test.inc (exp10_test_data): Add more tests and expect
23479         errno settings in existing tests.
23481         [BZ #14032]
23482         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23483         precision control set to double precision.
23484         * sysdeps/i386/fpu/w_sqrt.c: New file.
23485         * math/auto-libm-test-in: Add more tests.
23486         * math/auto-libm-test-out: Update.
23488         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23489         (sqrt_test_tonearest): New function.
23490         (sqrt_towardzero_test_data): New variable.
23491         (sqrt_test_towardzero): New function.
23492         (sqrt_downward_test_data): New variable.
23493         (sqrt_test_downward): New function.
23494         (sqrt_upward_test_data): New variable.
23495         (sqrt_test_upward): New function.
23496         (main): Call the new functions.
23498         * math/gen-auto-libm-tests.c: New file.
23499         * math/auto-libm-test-in: Likewise.
23500         * math/auto-libm-test-out: New generated file.
23501         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23502         variables.
23503         (%beautify): Add generated representations of zero.
23504         (top level): Set $auto_input and call parse_auto_input.
23505         (beautify): Remove trailing "f" from hex float constants.
23506         (parse_args): Handle XFAIL_TEST.
23507         (convert_condition): New function.
23508         (or_value): Likewise.
23509         (or_cond_value): Likewise.
23510         (generate_testfile): Handle AUTO_TESTS_* lines.
23511         (parse_auto_input): New function.
23512         * math/libm-test.inc (XFAIL_TEST): New macro.
23513         (ERRNO_UNCHANGED): Update value.
23514         (ERRNO_EDOM): Likewise.
23515         (ERRNO_ERANGE): Likewise.
23516         (IGNORE_RESULT): Likewise.
23517         (TEST_COND_flt_32): New macro.
23518         (TEST_COND_dbl_64): Likewise.
23519         (TEST_COND_ldbl_96_intel): Likewise.
23520         (TEST_COND_ldbl_96_m68k): Likewise.
23521         (TEST_COND_ldbl_128): Likewise.
23522         (TEST_COND_ldbl_128ibm): Likewise.
23523         (TEST_COND_long32): Likewise.
23524         (TEST_COND_long64): Likewise.
23525         (TEST_COND_before_rounding): Likewise.
23526         (TEST_COND_after_rounding): Likewise.
23527         (enable_test): Handle XFAIL_TEST flag.
23528         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
23529         with finite results.
23530         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
23531         auto-libm-test-out.
23533 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23534             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23536         [BZ #16214]
23537         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
23538         __tls_get_addr_internal instead of __tls_get_offset in order to
23539         avoid GOT pointer dependency.  Make rtld export
23540         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
23541         __tls_get_addr since we are a __tls_get_offset platform.
23542         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
23543         GOT pointer being set up before.
23544         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
23546 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
23548         * manual/math.texi (Errors in Math Functions): Document accuracy
23549         goals.
23551         [BZ #15004]
23552         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
23553         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
23554         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23555         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23556         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23557         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23558         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23559         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23560         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23561         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23562         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23563         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23564         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23565         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23566         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23567         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23569         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
23570         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
23571         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
23572         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
23573         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
23574         Likewise.
23575         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
23576         Likewise.
23577         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
23578         Likewise.
23579         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
23580         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
23581         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
23582         atomic-feupdateenv and flt-rounds.
23583         * sysdeps/powerpc/nofpu/Versions (libc): Add
23584         __atomic_feholdexcept, __atomic_feclearexcept,
23585         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
23586         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
23587         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
23588         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
23589         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
23590         here.
23591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23592         Update.
23594         * manual/arith.texi (FP Exceptions): Document that exceptions may
23595         not be raised when matherr is used.
23596         (Math Error Reporting): Document overflow in directed rounding
23597         modes.  Document that errno may not be set when finite values are
23598         returned on overflow.  Document intent to set errno on underflow
23599         only for underflow to zero.
23601         [BZ #16271]
23602         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23603         round-to-nearest then adjust result for other rounding modes.
23604         * include/fenv.h (fegetround): Use libm_hidden_proto.
23605         * math/fegetround.c (fegetround): Use libm_hidden_def.
23606         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23607         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23608         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23609         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23610         Likewise.
23611         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23612         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23613         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23614         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23616 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23618         [BZ #16077]
23619         * nss/Versions (libnss_files): Add
23620         _nss_files_gethostbyname3_r.
23621         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23622         New function.
23623         (HOST_DB_LOOKUP): Remove macro.
23624         (_nss_files_gethostbyname_r): Implement function without the
23625         HOST_DB_LOOKUP macro.
23626         (_nss_files_gethostbyname2_r): Likewise.
23628 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
23630         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23632 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
23634         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23635         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23636         warning.
23638 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23640         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23641         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23642         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23643         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23644         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23645         __fe_nomask_env_priv and attribute_hidden.
23646         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23647         (libc_feupdateenv_test_ppc): Likewise.
23648         (libc_feresetround_ppc): Likewise.
23649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23650         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23651         compat_symbol macro.
23652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23653         (__fe_nomask_env): Likewise.
23654         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23656 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23658         * string/Makefile: Remove ifunc tests.
23659         * string/test-string.h: Define TEST_IFUNC.
23660         * string/test-bcopy-ifunc.c: Remove.
23661         * string/test-bzero-ifunc.c: Likewise.
23662         * string/test-memccpy-ifunc.c: Likewise.
23663         * string/test-memchr-ifunc.c: Likewise.
23664         * string/test-memcmp-ifunc.c: Likewise.
23665         * string/test-memcpy-ifunc.c: Likewise.
23666         * string/test-memmem-ifunc.c: Likewise.
23667         * string/test-memmove-ifunc.c: Likewise.
23668         * string/test-mempcpy-ifunc.c: Likewise.
23669         * string/test-memrchr-ifunc.c: Likewise.
23670         * string/test-memset-ifunc.c: Likewise.
23671         * string/test-rawmemchr-ifunc.c: Likewise.
23672         * string/test-stpcpy-ifunc.c: Likewise.
23673         * string/test-stpncpy-ifunc.c: Likewise.
23674         * string/test-strcasecmp-ifunc.c: Likewise.
23675         * string/test-strcasestr-ifunc.c: Likewise.
23676         * string/test-strcat-ifunc.c: Likewise.
23677         * string/test-strchr-ifunc.c: Likewise.
23678         * string/test-strchrnul-ifunc.c: Likewise.
23679         * string/test-strcmp-ifunc.c: Likewise.
23680         * string/test-strcpy-ifunc.c: Likewise.
23681         * string/test-strcspn-ifunc.c: Likewise.
23682         * string/test-strlen-ifunc.c: Likewise.
23683         * string/test-strncasecmp-ifunc.c: Likewise.
23684         * string/test-strncat-ifunc.c: Likewise.
23685         * string/test-strncmp-ifunc.c: Likewise.
23686         * string/test-strncpy-ifunc.c: Likewise.
23687         * string/test-strnlen-ifunc.c: Likewise.
23688         * string/test-strpbrk-ifunc.c: Likewise.
23689         * string/test-strrchr-ifunc.c: Likewise.
23690         * string/test-strspn-ifunc.c: Likewise.
23691         * string/test-strstr-ifunc.c: Likewise.
23693 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23695         * benchtests/Makefile: Remove ifunc tests.
23696         * benchtests/bench-string.h: Define TEST_IFUNC.
23697         * benchtests/bench-bcopy-ifunc.c: Remove.
23698         * benchtests/bench-bzero-ifunc.c: Likewise.
23699         * benchtests/bench-memccpy-ifunc.c: Likewise.
23700         * benchtests/bench-memchr-ifunc.c: Likewise.
23701         * benchtests/bench-memcmp-ifunc.c: Likewise.
23702         * benchtests/bench-memcpy-ifunc.c: Likewise.
23703         * benchtests/bench-memmem-ifunc.c: Likewise.
23704         * benchtests/bench-memmove-ifunc.c: Likewise.
23705         * benchtests/bench-mempcpy-ifunc.c: Likewise.
23706         * benchtests/bench-memrchr-ifunc.c: Likewise.
23707         * benchtests/bench-memset-ifunc.c: Likewise.
23708         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23709         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23710         * benchtests/bench-stpcpy-ifunc.c: Likewise.
23711         * benchtests/bench-stpncpy-ifunc.c: Likewise.
23712         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23713         * benchtests/bench-strcasestr-ifunc.c: Likewise.
23714         * benchtests/bench-strcat-ifunc.c: Likewise.
23715         * benchtests/bench-strchr-ifunc.c: Likewise.
23716         * benchtests/bench-strchrnul-ifunc.c: Likewise.
23717         * benchtests/bench-strcmp-ifunc.c: Likewise.
23718         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23719         * benchtests/bench-strcpy-ifunc.c: Likewise.
23720         * benchtests/bench-strcspn-ifunc.c: Likewise.
23721         * benchtests/bench-strlen-ifunc.c: Likewise.
23722         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23723         * benchtests/bench-strncat-ifunc.c: Likewise.
23724         * benchtests/bench-strncmp-ifunc.c: Likewise.
23725         * benchtests/bench-strncpy-ifunc.c: Likewise.
23726         * benchtests/bench-strnlen-ifunc.c: Likewise.
23727         * benchtests/bench-strpbrk-ifunc.c: Likewise.
23728         * benchtests/bench-strrchr-ifunc.c: Likewise.
23729         * benchtests/bench-strsep-ifunc.c: Likewise.
23730         * benchtests/bench-strspn-ifunc.c: Likewise.
23731         * benchtests/bench-strstr-ifunc.c: Likewise.
23733 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23735         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23737 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23739         * resolv/netdb.h: Use __glibc_reserved instead __unused.
23740         * rt/aio.h: Likewise.
23741         * sysdeps/gnu/bits/utmp.h: Likewise.
23742         * sysdeps/gnu/bits/utmpx.h: Likewise.
23743         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23744         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23745         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23746         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23747         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23748         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23749         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23750         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23751         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23752         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23753         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23754         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23755         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23757         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23758         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23759         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23760         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23761         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23762         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23763         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23764         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23765         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23766         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23767         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23768         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23769         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23770         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23771         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23772         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23773         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23774         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23775         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23776         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23777         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23778         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23779         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23780         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23781         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23782         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23783         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23784         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23786 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
23788         [BZ #16245]
23789         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23790         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23792 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
23794         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23795         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23796         Likewise.
23798 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23800         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23801         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23802         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23803         (__fesetround): Remove define.
23804         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23805         rounding and exceptions handling.
23806         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23807         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23808         (__fe_nomask_env): Likewise.
23809         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23810         __fegetround instead of fegetround.
23811         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23812         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23814 2013-11-21  Roland McGrath  <roland@hack.frob.com>
23816         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23817         it's there.
23819         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23821 2013-11-21  Meador Inge  <meadori@codesourcery.com>
23823         [BZ #11157]
23824         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23825         (encrypt_r): Likewise.
23826         * malloc/obstack.h (obstack_free): Likewise.
23827         * posix/unistd.h (encrypt): Likewise.
23829 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
23831         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23832         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23833         DL_CALL_DT_FINI() that call the functions directly.
23834         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23835         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23836         * elf/dl-fini.c: Likewise.
23838 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
23840         * malloc/hooks.c (memalign_check): Add alignment rounding.
23841         * malloc/malloc.c (_mid_memalign): New function.
23842         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23843         Implement by calling _mid_memalign.
23844         * manual/probes.texi (Memory Allocation Probes): Remove
23845         memory_valloc_retry and memory_pvalloc_retry.
23847 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23849         * locale/programs/locarchive.c (open_archive): Add const
23850         qualifier to ARCHIVEFNAME and copy default fname to
23851         DEFAULT_FNAME.
23853         [BZ #15601]
23854         * libio/tst-widetext.input: Rename Oriya to Odia.
23855         * locale/iso-639.def: Likewise.
23857         * manual/probes.texi (Mathematical Function Probes): Add
23858         documentation for sin, cos, asin and acos probes.
23859         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23860         (__sin32): Add slowasin probe.
23861         (__cos32): Add slowacos probe.
23862         (__mpsin): Add slowsin probe.
23863         (__mpcos): Add slowcos probe.
23865 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
23867         [BZ #15483]
23868         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23869         thread-local __sim_exceptions_thread and global
23870         __sim_exceptions_global.
23871         (__sim_disabled_exceptions): Change to thread-local
23872         __sim_disabled_exceptions_thread and global
23873         __sim_disabled_exceptions_global.
23874         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23875         and global __sim_round_mode_global.
23876         (__simulate_exceptions): Use thread-local floating-point state and
23877         set global state from it as needed.
23878         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23879         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23880         __sim_round_mode_thread.
23881         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23882         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23883         and global __sim_exceptions_global.
23884         (__sim_disabled_exceptions): Change to thread-local
23885         __sim_disabled_exceptions_thread and global
23886         __sim_disabled_exceptions_global.
23887         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23888         and global __sim_round_mode_global.
23889         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23890         (SIM_SET_GLOBAL): Likewise.
23891         * sysdeps/powerpc/soft-fp/sfp-machine.h
23892         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23893         __sim_round_mode_thread.
23894         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23895         __sim_disabled_exceptions_thread.
23896         (__sim_exceptions): Change to __sim_exceptions_thread.
23897         (__sim_disabled_exceptions): Change to
23898         __sim_disabled_exceptions_thread.
23899         (__sim_round_mode): Change to __sim_round_mode_thread.
23900         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23901         thread-local floating-point state and set global state from it as
23902         needed.
23903         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23904         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23905         (__sim_disabled_exceptions): Remove extern declaration.
23906         (feenableexcept): Use thread-local floating-point state and set
23907         global state from it as needed.
23908         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23909         extern declaration.
23910         (__sim_disabled_exceptions): Likewise.
23911         (__sim_round_mode): Likewise.
23912         (__fegetenv): Use thread-local floating-point state.
23913         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23914         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23915         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23916         floating-point state and set global state from it as needed.
23917         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23918         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23919         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23920         Likewise.
23921         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23922         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23923         Likewise.
23924         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23925         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23926         Use __sim_round_mode_thread.
23927         * math/test-fenv-tls.c: New file.
23928         * math/Makefile (tests): Add test-fenv-tls.
23929         ($(objpfx)test-fenv-tls): Depend on
23930         $(common-objpfx)nptl/libpthread.so.
23932 2013-11-19  Andreas Schwab  <schwab@suse.de>
23934         * locale/programs/locale.c (show_info): Decode wordarray elements.
23935         * locale/categories.def (LC_MONETARY): Add element for
23936         _NL_MONETARY_CRNCYSTR.
23937         * locale/C-monetary.c (conversion_rate): New variable.
23938         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23939         element.
23941 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
23943         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23944         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23946 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23948         * elf/Makefile (tst-auxv): New test.
23949         * elf/tst-auxv.c: New
23950         * elf/rtld.c (dl_main): Adjust AT_EXECFN
23952 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
23954         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23955         (hidden_proto): Caller changed.
23956         (hidden_tls_proto): New macro.
23957         (libc_hidden_tls_proto): Likewise.
23958         (rtld_hidden_tls_proto): Likewise.
23959         (libm_hidden_tls_proto): Likewise.
23960         (libresolv_hidden_tls_proto): Likewise.
23961         (librt_hidden_tls_proto): Likewise.
23962         (libdl_hidden_tls_proto): Likewise.
23963         (libnss_files_hidden_tls_proto): Likewise.
23964         (libnsl_hidden_tls_proto): Likewise.
23965         (libnss_nisplus_hidden_tls_proto): Likewise.
23966         (libutil_hidden_tls_proto): Likewise.
23968 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
23970         [BZ #10253]
23971         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23972         (decompose_rpath): Defer expansion to fillin_rpath.
23973         (_dl_init_paths): Pass linkmap to fillin_rpath.
23975 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23977         * benchtests/Makefile: Add strsep.
23978         * benchtests/bench-strsep.c: New file: strsep benchtest.
23979         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23981 2013-11-18  Andreas Schwab  <schwab@suse.de>
23983         * locale/programs/locale.c (show_info) [case byte]: Check for
23984         '\377' instead of '\177'.
23985         * locale/C-monetary.c (not_available): Always use "\377".
23986         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23987         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
23988         detect unavailable sign_posn locale elements.
23989         * locale/localeconv.c (__localeconv): For grouping and
23990         mon_grouping handle "\177" and "\377" like no grouping.
23991         (INT_ELEM): New macro.  Use it to set all numeric members.
23992         * locale/programs/ld-monetary.c (monetary_read)
23993         <tok_mon_grouping>: Normalize single -1 to the empty string.
23994         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23995         Likewise.
23997 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23999         [BZ #16055]
24000         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24001         when we match (nil).
24002         * stdio-common/tst-sscanf.c (struct test): Add testcase.
24004 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
24006         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24007         (NO_TEST_INLINE): Update value.
24008         (ERRNO_UNCHANGED): Likewise.
24009         (ERRNO_EDOM): Likewise.
24010         (ERRNO_ERANGE): Likewise.
24011         (IGNORE_RESULT): Likewise.
24012         (check_float_internal): Check signs of NaN results if
24013         TEST_NAN_SIGN used.
24014         (check_complex): Pass TEST_NAN_SIGN flag through to second
24015         check_float_internal call.
24016         (copysign_test_data): Add tests with quiet NaNs as second
24017         argument.  Use TEST_NAN_SIGN.
24018         (fabs_test_data): Add test of negative quiet NaN argument.  Use
24019         TEST_NAN_SIGN.
24020         (signbit_test_data): Add tests of quiet NaN argument.
24021         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24023         * math/gen-libm-test.pl (show_exceptions): Take extra argument
24024         $ignore_result.
24025         (parse_args): Handle function results specified as IGNORE.
24026         * math/libm-test.inc (IGNORE_RESULT): New macro.
24027         (check_float_internal): Do not check numerical result if flag
24028         IGNORE_RESULT set.
24029         (check_complex): Pass through IGNORE_RESULT to second
24030         check_float_internal call.
24031         (check_int): Do not check numerical result if flag IGNORE_RESULT
24032         set.
24033         (check_long): Likewise.
24034         (check_bool): Likewise.
24035         (check_longlong): Likewise.
24036         (lrint_test_data): Add tests of infinite and NaN arguments.
24037         (lrint_tonearest_test_data): Likewise.
24038         (lrint_towardzero_test_data): Likewise.
24039         (lrint_downward_test_data): Likewise.
24040         (lrint_upward_test_data): Likewise.
24041         (llrint_test_data): Likewise.
24042         (llrint_tonearest_test_data): Likewise.
24043         (llrint_towardzero_test_data): Likewise.
24044         (llrint_downward_test_data): Likewise.
24045         (llrint_upward_test_data): Likewise.
24046         (lround_test_data): Likewise.
24047         (llround_test_data): Likewise.
24049         * math/libm-test.inc (NO_TEST_INLINE): New macro.
24050         (ERRNO_UNCHANGED): Update value.
24051         (ERRNO_EDOM): Likewise.
24052         (ERRNO_ERANGE): Likewise.
24053         (NO_TEST_INLINE_FLOAT): New macro.
24054         (NO_TEST_INLINE_DOUBLE): Likewise.
24055         (enable_test): New function.
24056         (RUN_TEST_f_f): Check enable_test before running test.
24057         (RUN_TEST_2_f): Likewise.
24058         (RUN_TEST_fff_f): Likewise.
24059         (RUN_TEST_c_f): Likewise.
24060         (RUN_TEST_f_f1): Likewise.
24061         (RUN_TEST_fF_f1): Likewise.
24062         (RUN_TEST_fI_f1): Likewise.
24063         (RUN_TEST_ffI_f1): Likewise.
24064         (RUN_TEST_c_c): Likewise.
24065         (RUN_TEST_cc_c): Likewise.
24066         (RUN_TEST_f_i): Likewise.
24067         (RUN_TEST_f_i_tg): Likewise.
24068         (RUN_TEST_ff_i_tg): Likewise.
24069         (RUN_TEST_f_b): Likewise.
24070         (RUN_TEST_f_b_tg): Likewise.
24071         (RUN_TEST_f_l): Likewise.
24072         (RUN_TEST_f_L): Likewise.
24073         (RUN_TEST_fFF_11): Likewise.
24074         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24075         conditionals.
24076         (cosh_test_data): Likewise.
24077         (exp_test_data): Likewise.
24078         (expm1_test_data): Likewise.
24079         (hypot_test_data): Likewise.
24080         (pow_test_data): Likewise.
24081         (sinh_test_data): Likewise.
24082         (tanh_test_data): Likewise.
24083         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24084         flags argument.
24086         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24087         tests with quiet NaN input and output.
24088         (acosh_test_data): Likewise.
24089         (asin_test_data): Likewise.
24090         (asinh_test_data): Likewise.
24091         (atan_test_data): Likewise.
24092         (atanh_test_data): Likewise.
24093         (atan2_test_data): Likewise.
24094         (cbrt_test_data): Likewise.
24095         (cos_test_data): Likewise.
24096         (cosh_test_data): Likewise.
24097         (erf_test_data): Likewise.
24098         (erfc_test_data): Likewise.
24099         (exp_test_data): Likewise.
24100         (exp10_test_data): Likewise.
24101         (exp2_test_data): Likewise.
24102         (expm1_test_data): Likewise.
24103         (hypot_test_data): Likewise.
24104         (j0_test_data): Likewise.
24105         (j1_test_data): Likewise.
24106         (jn_test_data): Likewise.
24107         (lgamma_test_data): Likewise.
24108         (log_test_data): Likewise.
24109         (log10_test_data): Likewise.
24110         (log1p_test_data): Likewise.
24111         (log2_test_data): Likewise.
24112         (pow_test_data): Likewise.
24113         (scalb_test_data): Likewise.
24114         (sin_test_data): Likewise.
24115         (sincos_test_data): Likewise.
24116         (sinh_test_data): Likewise.
24117         (tan_test_data): Likewise.
24118         (tanh_test_data): Likewise.
24119         (tgamma_test_data): Likewise.
24120         (y0_test_data): Likewise.
24121         (y1_test_data): Likewise.
24122         (yn_test_data): Likewise.
24124         [BZ #16167]
24125         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
24126         argument being NaN and avoid computations with second argument in
24127         that case.
24128         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24129         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24130         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24132 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
24134         * locale/iso-639.def: Add Chitwani Tharu (the).
24136 2013-11-14  Andreas Schwab  <schwab@suse.de>
24138         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
24139         word instead of empty string.
24141 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24144         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24146         (__fe_nomask_env): Likewise.
24148 2013-11-13  Steve Ellcey  <sellcey@mips.com>
24150         * benchtests/bench-timing.h: Include time.h.
24152 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
24154         [BZ #15997]
24155         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24156         to 3.4.0 for x32.
24157         * sysdeps/unix/sysv/linux/configure: Regenerated.
24159 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
24161         [BZ #16151]
24162         * stdlib/strtod_l.c (round_and_return): Do not consider
24163         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24164         exponent one less than half the least subnormal exponent.
24165         * stdlib/test-strtod-round-data: Add more tests.
24166         * stdlib/tst-strtod-round.c (tests): Regenerated.
24168 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24170         [BZ #14143]
24171         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24172         (__fe_mask_env): Likewise.
24173         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24174         libm_hidden_proto and add function prototype.
24175         (__fe_mask_env): Add function prototype.
24176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24177         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24179         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24181         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24183 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24185         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
24186         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24188 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24190         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24191         of htab_find_slot().
24193 2013-11-11  David S. Miller  <davem@davemloft.net>
24195         [BZ #16150]
24196         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24197         symbol in the non-vis3 case in static builds.
24198         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24199         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24200         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24201         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24203 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
24205         [BZ #387]
24206         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24207         it is empty.
24209 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24211         * benchtests/Makefile: Add bench-strtod.
24212         * benchtests/bench-strtod.c: New file: strtod benchtest
24214 2013-11-11  Andreas Schwab  <schwab@suse.de>
24216         [BZ #16153]
24217         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24218         terminating NUL in key length.
24220 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24222         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24223         Add artificial ODP entry for vDSO symbol for PPC64.
24224         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24225         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24227 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
24229         [BZ #15374]
24230         * nss/getent.c (services_keys): Recognize services starting with digit.
24232 2013-11-06  David S. Miller  <davem@davemloft.net>
24234         [BZ #15985]
24235         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24236         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24238 2013-11-06  Will Newton  <will.newton@linaro.org>
24240         * manual/memory.texi (Malloc Examples): Remove register
24241         keyword from examples.
24243 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
24245         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
24247 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
24249         [BZ #6981]
24250         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24251         depending on [__GCC_IEC_559 > 0].
24252         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24253         depending on [__GCC_IEC_559_COMPLEX > 0].
24255 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
24257         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24258         to iso-639.def.
24260 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
24262         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24264 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
24266         [BZ #16112]
24267         * malloc/malloc (malloc_info): Do not handle first bin as
24268         special case.
24270 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
24272         * locale/iso-639.def: Add Central Nahuatl (nhn).
24274 2013-11-01  Bruno Haible  <bruno@clisp.org>
24276         [BZ #7003]
24277         * manual/math.texi (BSD Random): Specify range upper bound as
24278         in POSIX.
24280 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
24282         * locale/iso-639.def: Add Meadow Mari (mhr).
24284 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
24286         [BZ #14752], [BZ #15763]
24287         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24288         Validate name.
24289         * rt/tst_shm.c: Add test for escaping directory.
24291 2013-10-31  Andreas Schwab  <schwab@suse.de>
24293         [BZ #15917]
24294         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24295         followed by 'x' as part of digit sequence.
24296         * stdio-common/tst-sscanf.c (double_tests2): New tests.
24298 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24300         [BZ #16037]
24301         * configure.ac: allow GNU Make 4.0 and greater.
24302         * configure: Regenerated.
24304 2013-10-30  Will Newton  <will.newton@linaro.org>
24306         [BZ #16038]
24307         * malloc/hooks.c (memalign_check): Limit alignment to the
24308         maximum representable power of two.
24309         * malloc/malloc.c (__libc_memalign): Likewise.
24310         * malloc/tst-memalign.c (do_test): Add test for very
24311         large alignment values.
24312         * malloc/tst-posix_memalign.c (do_test): Likewise.
24314 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24316         [BZ #11087]
24317         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24318         (munmap_chunk): Likewise.
24319         (mremap_chunk): Likewise.
24321 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24323         [BZ #15799]
24324         * stdlib/div.c (div): Remove obsolete code.
24325         * stdlib/ldiv.c (ldiv): Likewise.
24326         * stdlib/lldiv.c (lldiv): Likewise.
24328 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24330         [BZ #16071]
24331         * nss/nss_files/files-XXX.c (get_contents_ret): New
24332         enumerator.
24333         (get_contents): New function.
24334         (internal_getent): Use it.  Expand size of LINEBUFLEN.
24336 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
24338         * configure.in: Moved to ...
24339         * configure.ac: ... here. Change reference to configure.in
24340         to configure.ac.
24341         * sysdeps/arm/preconfigure.ac: ... here.
24342         configure.in to configure.ac.
24343         * sysdeps/gnu/configure.in: Moved to ...
24344         * sysdeps/gnu/configure.ac: ... here.
24345         * sysdeps/i386/configure.in: Moved to ...
24346         * sysdeps/i386/configure.ac: ... here.
24347         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24348         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24349         * sysdeps/mach/configure.in: Moved to ...
24350         * sysdeps/mach/configure.ac: ... here.
24351         * sysdeps/mach/hurd/configure.in: Moved to ...
24352         * sysdeps/mach/hurd/configure.ac: ... here.
24353         * sysdeps/powerpc/configure.in: Moved to ...
24354         * sysdeps/powerpc/configure.ac: ... here.
24355         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24356         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24357         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24358         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24359         * sysdeps/s390/s390-32/configure.in: Moved to ...
24360         * sysdeps/s390/s390-32/configure.ac: ... here.
24361         * sysdeps/s390/s390-64/configure.in: Moved to ...
24362         * sysdeps/s390/s390-64/configure.ac: ... here.
24363         * sysdeps/sh/configure.in: Moved to ...
24364         * sysdeps/sh/configure.ac: ... here.
24365         * sysdeps/sparc/configure.in: Moved to ...
24366         * sysdeps/sparc/configure.ac: ... here.
24367         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24368         * sysdeps/unix/sysv/linux/configure.ac: ... here.
24369         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24370         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24371         * sysdeps/x86_64/configure.in: Moved to ...
24372         * sysdeps/x86_64/configure.ac: ... here.
24373         * sysdeps/x86_64/preconfigure.in: Moved to ...
24374         * sysdeps/x86_64/preconfigure.ac: ... here.
24375         * aclocal.m4: Change reference to configure.in to configure.ac.
24376         * config.h.in: Likewise.
24377         * manual/install.texi: Likewise.
24378         * manual/maint.texi: Likewise.
24379         * Makefile: Likewise.
24380         * malloc/Makefile: Likewise.
24381         * nscd/Makefile: Likewise.
24382         * Makeconfig: Change reference to configure.in and
24383         preconfigure.in to configure.ac and preconfigure.ac
24384         respectively.
24385         * INSTALL: Regenerated.
24386         * configure: Likewise.
24387         * sysdeps/gnu/configure: Likewise.
24388         * sysdeps/i386/configure: Likewise.
24389         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24390         * sysdeps/mach/configure: Likewise.
24391         * sysdeps/mach/hurd/configure: Likewise.
24392         * sysdeps/powerpc/configure: Likewise.
24393         * sysdeps/powerpc/powerpc32/configure: Likewise.
24394         * sysdeps/powerpc/powerpc64/configure: Likewise.
24395         * sysdeps/s390/s390-32/configure: Likewise.
24396         * sysdeps/s390/s390-64/configure: Likewise.
24397         * sysdeps/sh/configure: Likewise.
24398         * sysdeps/sparc/configure: Likewise.
24399         * sysdeps/unix/sysv/linux/configure: Likewise.
24400         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24401         * sysdeps/x86_64/configure: Likewise.
24402         * sysdeps/x86_64/preconfigure: Likewise.
24404 2013-10-29  Andreas Schwab  <schwab@suse.de>
24406         * stdio-common/Makefile (tst-swscanf-ENV): Define.
24408 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24410         * benchtests/pow-inputs: Add new inputs.
24412         * benchtests/exp-inputs: Add new inputs.
24414         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24415         conditional check for return value.
24416         (__cos32): Likewise.
24418 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24420         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24421         to provide a boost for large inputs with word alignment.
24422         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24423         implementation based on optimized PPC64 strcpy.
24424         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24425         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24426         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24427         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24429 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24431         [BZ #2801]
24432         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24434 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24436         [BZ #14876]
24437         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24438         * time/tst-strptime.c (day_tests): Add testcase.
24440 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24442         [BZ #14029]
24443         * manual/pattern.texi: Acknowledge that fnmatch can fail.
24445 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
24447         [BZ #16074]
24448         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24449         MAP_FAILED on error.
24451 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24453         [BZ #16072]
24454         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24455         heap for large requests.
24457 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
24459         [BZ #9954]
24460         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24461         result if the result has no associated interface.
24462         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24463         interface for all 127.X.Y.Z addresses.
24465 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
24467         * locale/iso-639.def: Add Ligurian (lij)
24469 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
24471         [BZ #15825]
24472         * sunrpc/rpc_main.c: Document rpcgen -5.
24474 2013-10-19  Michael Stahl  <mstahl@redhat.com>
24476         * elf/rtld.c (do_preload): Print the reason why preloading failed.
24478 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24480         [BZ #10278]
24481         * posix/glob.c: Match only directories when trailing slash is present.
24482         * posix/tst-gnuglob.c (my_opendir): Do not open files.
24483         (main): Add testcase.
24485 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24487         [BZ #15670]
24488         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24490 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
24492         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24493         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24494         AUTH_DES and cindex for FIPS 140-2.
24495         (DES Encryption): Add cindex FIPS 46-3.
24497         * locale/locarchive.h (struct locarhandle): Add fname.
24498         * locale/programs/localedef.c (main): Pass ARGV[remaining]
24499         if an optional argument was specified to --list-archive,
24500         otherwise NULL.
24501         * locale/programs/locarchive.c (show_archive_content): Take new
24502         argument fname and pass it via ah.fname to open_archive.
24503         * locale/programs/localedef.h: Update decl.
24504         (open_archive): If AH->fname is non-null, open that file
24505         rather than the default file name, and don't ignore ENOENT.
24506         (create_archive): Set AH.fname to NULL.
24507         (delete_locales_from_archive): Likewise.
24508         (add_locales_to_archive): Likewise.
24509         * locale/programs/locfile.c (write_all_categories): Likewise.
24511 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
24512             Aldy Hernandez  <aldyh@redhat.com>
24514         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24515         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
24516         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
24517         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24518         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
24519         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
24520         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
24521         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
24522         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
24523         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
24524         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
24525         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
24526         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
24527         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
24528         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
24529         Likewise.
24530         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
24531         Likewise.
24532         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
24533         Likewise.
24534         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
24535         Likewise.
24536         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
24537         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
24538         Likewise.
24539         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
24540         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
24541         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
24542         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
24543         Likewise.
24544         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
24545         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
24546         * sysdeps/powerpc/preconfigure: Likewise.
24547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
24548         Likewise.
24549         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
24550         Replace contents of file by #include of <fenv_libc.h>.
24551         * sysdeps/powerpc/soft-fp/sfp-machine.h
24552         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
24553         and <sys/prctl.h>.
24554         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
24555         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
24556         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
24557         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
24558         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
24559         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
24560         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
24561         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
24562         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
24563         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
24564         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
24565         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
24566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24567         Allow copysignl PLT reference to be missing.
24569 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
24570             Joseph Myers  <joseph@codesourcery.com
24572         [BZ #15948]
24573         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
24574         single character.
24575         (add_to_tablewc): Assert sequence of wide characters is nonempty.
24577 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24579         * elf/tst-tls-dlinfo.c: Don't include tls.h.
24580         * elf/tst-tls1.c: Likewise.
24581         * elf/tst-tls10.h: Likewise.
24582         * elf/tst-tls14.c: Likewise.
24583         * elf/tst-tls2.c: Likewise.
24584         * elf/tst-tls3.c: Likewise.
24585         * elf/tst-tls4.c: Likewise.
24586         * elf/tst-tls5.c: Likewise.
24587         * elf/tst-tls6.c: Likewise.
24588         * elf/tst-tls7.c: Likewise.
24589         * elf/tst-tls8.c: Likewise.
24590         * elf/tst-tls9.c: Likewise.
24591         * elf/tst-tlsmod1.c: Likewise.
24592         * elf/tst-tlsmod13.c: Likewise.
24593         * elf/tst-tlsmod13a.c: Likewise.
24594         * elf/tst-tlsmod14a.c: Likewise.
24595         * elf/tst-tlsmod16a.c: Likewise.
24596         * elf/tst-tlsmod16b.c: Likewise.
24597         * elf/tst-tlsmod2.c: Likewise.
24598         * elf/tst-tlsmod3.c: Likewise.
24599         * elf/tst-tlsmod4.c: Likewise.
24600         * elf/tst-tlsmod5.c: Likewise.
24601         * elf/tst-tlsmod6.c: Likewise.
24603 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
24605         [BZ #12486]
24606         * malloc/malloc.c: remove checks for statistics.
24608 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
24610         [BZ #15277]
24611         * inet/inet_net.c (inet_network): Detect additional invalid strings.
24612         * inet/tst-network.c: Add testcase.
24614 2013-10-17  Andreas Schwab  <schwab@suse.de>
24616         [BZ #15218]
24617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24618         to determine canonical name.
24620 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
24622         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24623         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24624         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24625         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24626         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24627         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24628         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24629         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24630         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24631         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24632         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24633         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24634         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24635         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24636         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24637         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24638         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24639         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24640         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24641         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24642         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24643         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24644         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24645         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24646         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24647         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24648         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24649         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24650         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24651         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24652         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24653         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24654         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24655         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24656         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24657         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24658         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24659         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24660         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24661         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24662         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24663         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24664         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24665         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24666         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24667         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24668         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24669         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24670         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24671         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24672         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24673         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24674         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24675         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24676         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24677         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24678         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24679         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24681 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
24683         [BZ #16041]
24684         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24685         make result into a quiet NaN.
24687 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
24689         * soft-fp/adddf3.c: Fix horizontal whitespace.
24690         * soft-fp/addsf3.c: Likewise.
24691         * soft-fp/addtf3.c: Likewise.
24692         * soft-fp/divdf3.c: Likewise.
24693         * soft-fp/divsf3.c: Likewise.
24694         * soft-fp/divtf3.c: Likewise.
24695         * soft-fp/double.h: Likewise.
24696         * soft-fp/eqdf2.c: Likewise.
24697         * soft-fp/eqsf2.c: Likewise.
24698         * soft-fp/eqtf2.c: Likewise.
24699         * soft-fp/extenddftf2.c: Likewise.
24700         * soft-fp/extended.h: Likewise.
24701         * soft-fp/extendsfdf2.c: Likewise.
24702         * soft-fp/extendsftf2.c: Likewise.
24703         * soft-fp/extendxftf2.c: Likewise.
24704         * soft-fp/fixdfdi.c: Likewise.
24705         * soft-fp/fixdfsi.c: Likewise.
24706         * soft-fp/fixdfti.c: Likewise.
24707         * soft-fp/fixsfdi.c: Likewise.
24708         * soft-fp/fixsfsi.c: Likewise.
24709         * soft-fp/fixsfti.c: Likewise.
24710         * soft-fp/fixtfdi.c: Likewise.
24711         * soft-fp/fixtfsi.c: Likewise.
24712         * soft-fp/fixtfti.c: Likewise.
24713         * soft-fp/fixunsdfdi.c: Likewise.
24714         * soft-fp/fixunsdfsi.c: Likewise.
24715         * soft-fp/fixunsdfti.c: Likewise.
24716         * soft-fp/fixunssfdi.c: Likewise.
24717         * soft-fp/fixunssfsi.c: Likewise.
24718         * soft-fp/fixunssfti.c: Likewise.
24719         * soft-fp/fixunstfdi.c: Likewise.
24720         * soft-fp/fixunstfsi.c: Likewise.
24721         * soft-fp/fixunstfti.c: Likewise.
24722         * soft-fp/floatdidf.c: Likewise.
24723         * soft-fp/floatdisf.c: Likewise.
24724         * soft-fp/floatditf.c: Likewise.
24725         * soft-fp/floatsidf.c: Likewise.
24726         * soft-fp/floatsisf.c: Likewise.
24727         * soft-fp/floatsitf.c: Likewise.
24728         * soft-fp/floattidf.c: Likewise.
24729         * soft-fp/floattisf.c: Likewise.
24730         * soft-fp/floattitf.c: Likewise.
24731         * soft-fp/floatundidf.c: Likewise.
24732         * soft-fp/floatundisf.c: Likewise.
24733         * soft-fp/floatunditf.c: Likewise.
24734         * soft-fp/floatunsidf.c: Likewise.
24735         * soft-fp/floatunsisf.c: Likewise.
24736         * soft-fp/floatunsitf.c: Likewise.
24737         * soft-fp/floatuntidf.c: Likewise.
24738         * soft-fp/floatuntisf.c: Likewise.
24739         * soft-fp/floatuntitf.c: Likewise.
24740         * soft-fp/fmadf4.c: Likewise.
24741         * soft-fp/fmasf4.c: Likewise.
24742         * soft-fp/fmatf4.c: Likewise.
24743         * soft-fp/gedf2.c: Likewise.
24744         * soft-fp/gesf2.c: Likewise.
24745         * soft-fp/getf2.c: Likewise.
24746         * soft-fp/ledf2.c: Likewise.
24747         * soft-fp/lesf2.c: Likewise.
24748         * soft-fp/letf2.c: Likewise.
24749         * soft-fp/muldf3.c: Likewise.
24750         * soft-fp/mulsf3.c: Likewise.
24751         * soft-fp/multf3.c: Likewise.
24752         * soft-fp/negdf2.c: Likewise.
24753         * soft-fp/negsf2.c: Likewise.
24754         * soft-fp/negtf2.c: Likewise.
24755         * soft-fp/op-1.h: Likewise.
24756         * soft-fp/op-2.h: Likewise.
24757         * soft-fp/op-4.h: Likewise.
24758         * soft-fp/op-8.h: Likewise.
24759         * soft-fp/op-common.h: Likewise.
24760         * soft-fp/quad.h: Likewise.
24761         * soft-fp/single.h: Likewise.
24762         * soft-fp/soft-fp.h: Likewise.
24763         * soft-fp/sqrtdf2.c: Likewise.
24764         * soft-fp/sqrtsf2.c: Likewise.
24765         * soft-fp/sqrttf2.c: Likewise.
24766         * soft-fp/subdf3.c: Likewise.
24767         * soft-fp/subsf3.c: Likewise.
24768         * soft-fp/subtf3.c: Likewise.
24769         * soft-fp/truncdfsf2.c: Likewise.
24770         * soft-fp/trunctfdf2.c: Likewise.
24771         * soft-fp/trunctfsf2.c: Likewise.
24772         * soft-fp/trunctfxf2.c: Likewise.
24773         * soft-fp/unorddf2.c: Likewise.
24774         * soft-fp/unordsf2.c: Likewise.
24775         * soft-fp/unordtf2.c: Likewise.
24777 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
24779         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24780         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24782 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
24784         * elf/dl-libc.c: Clear initfini list after freeing.
24786 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
24788         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24789         * soft-fp/addsf3.c: Likewise.
24790         * soft-fp/addtf3.c: Likewise.
24791         * soft-fp/divdf3.c: Likewise.
24792         * soft-fp/divsf3.c: Likewise.
24793         * soft-fp/divtf3.c: Likewise.
24794         * soft-fp/double.h: Likewise.
24795         * soft-fp/eqdf2.c: Likewise.
24796         * soft-fp/eqsf2.c: Likewise.
24797         * soft-fp/eqtf2.c: Likewise.
24798         * soft-fp/extenddftf2.c: Likewise.
24799         * soft-fp/extended.h: Likewise.
24800         * soft-fp/extendsfdf2.c: Likewise.
24801         * soft-fp/extendsftf2.c: Likewise.
24802         * soft-fp/extendxftf2.c: Likewise.
24803         * soft-fp/fixdfdi.c: Likewise.
24804         * soft-fp/fixdfsi.c: Likewise.
24805         * soft-fp/fixdfti.c: Likewise.
24806         * soft-fp/fixsfdi.c: Likewise.
24807         * soft-fp/fixsfsi.c: Likewise.
24808         * soft-fp/fixsfti.c: Likewise.
24809         * soft-fp/fixtfdi.c: Likewise.
24810         * soft-fp/fixtfsi.c: Likewise.
24811         * soft-fp/fixtfti.c: Likewise.
24812         * soft-fp/fixunsdfdi.c: Likewise.
24813         * soft-fp/fixunsdfsi.c: Likewise.
24814         * soft-fp/fixunsdfti.c: Likewise.
24815         * soft-fp/fixunssfdi.c: Likewise.
24816         * soft-fp/fixunssfsi.c: Likewise.
24817         * soft-fp/fixunssfti.c: Likewise.
24818         * soft-fp/fixunstfdi.c: Likewise.
24819         * soft-fp/fixunstfsi.c: Likewise.
24820         * soft-fp/fixunstfti.c: Likewise.
24821         * soft-fp/floatdidf.c: Likewise.
24822         * soft-fp/floatdisf.c: Likewise.
24823         * soft-fp/floatditf.c: Likewise.
24824         * soft-fp/floatsidf.c: Likewise.
24825         * soft-fp/floatsisf.c: Likewise.
24826         * soft-fp/floatsitf.c: Likewise.
24827         * soft-fp/floattidf.c: Likewise.
24828         * soft-fp/floattisf.c: Likewise.
24829         * soft-fp/floattitf.c: Likewise.
24830         * soft-fp/floatundidf.c: Likewise.
24831         * soft-fp/floatundisf.c: Likewise.
24832         * soft-fp/floatunsidf.c: Likewise.
24833         * soft-fp/floatunsisf.c: Likewise.
24834         * soft-fp/floatuntidf.c: Likewise.
24835         * soft-fp/floatuntisf.c: Likewise.
24836         * soft-fp/floatuntitf.c: Likewise.
24837         * soft-fp/fmadf4.c: Likewise.
24838         * soft-fp/fmasf4.c: Likewise.
24839         * soft-fp/fmatf4.c: Likewise.
24840         * soft-fp/gedf2.c: Likewise.
24841         * soft-fp/gesf2.c: Likewise.
24842         * soft-fp/getf2.c: Likewise.
24843         * soft-fp/ledf2.c: Likewise.
24844         * soft-fp/lesf2.c: Likewise.
24845         * soft-fp/letf2.c: Likewise.
24846         * soft-fp/muldf3.c: Likewise.
24847         * soft-fp/mulsf3.c: Likewise.
24848         * soft-fp/multf3.c: Likewise.
24849         * soft-fp/negdf2.c: Likewise.
24850         * soft-fp/negsf2.c: Likewise.
24851         * soft-fp/negtf2.c: Likewise.
24852         * soft-fp/op-1.h: Likewise.
24853         * soft-fp/op-2.h: Likewise.
24854         * soft-fp/op-4.h: Likewise.
24855         * soft-fp/op-8.h: Likewise.
24856         * soft-fp/op-common.h: Likewise.
24857         * soft-fp/quad.h: Likewise.
24858         * soft-fp/single.h: Likewise.
24859         * soft-fp/soft-fp.h: Likewise.
24860         * soft-fp/sqrtdf2.c: Likewise.
24861         * soft-fp/sqrtsf2.c: Likewise.
24862         * soft-fp/sqrttf2.c: Likewise.
24863         * soft-fp/subdf3.c: Likewise.
24864         * soft-fp/subsf3.c: Likewise.
24865         * soft-fp/subtf3.c: Likewise.
24866         * soft-fp/truncdfsf2.c: Likewise.
24867         * soft-fp/trunctfdf2.c: Likewise.
24868         * soft-fp/trunctfsf2.c: Likewise.
24869         * soft-fp/trunctfxf2.c: Likewise.
24870         * soft-fp/unorddf2.c: Likewise.
24871         * soft-fp/unordsf2.c: Likewise.
24872         * soft-fp/unordtf2.c: Likewise.
24874 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
24876         [BZ #15672]
24877         * misc/error.c (error_tail): Fix possible buffer overflow.
24879 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
24881         [BZ #13028]
24882         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24883         address.
24885 2013-10-14  P. J. McDermott  <pj@pehjota.net>
24887         [BZ #832]
24888         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
24889         testing pipefail option.
24891 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24893         * soft-fp/double.h: Indent preprocessor directives inside #if.
24894         * soft-fp/extended.h: Likewise.
24895         * soft-fp/op-2.h: Likewise.
24896         * soft-fp/op-4.h: Likewise.
24897         * soft-fp/op-common.h: Likewise.
24898         * soft-fp/quad.h: Likewise.
24899         * soft-fp/single.h: Likewise.
24900         * soft-fp/soft-fp.h: Likewise.
24902 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
24904         * iconv/iconv_prog.c: Fix typos.
24905         * stdio-common/psiginfo-data.h: Likewise.
24907 2013-10-12   Reuben Thomas <rrt@sc3d.org>
24909         [BZ #15764]
24910         * locale/setlocale.c: Fix typo.
24912 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24914         [BZ #16036]
24915         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24916         signaling NaN arguments.
24917         * soft-fp/unordsf2.c (__unordsf2): Likewise.
24918         * soft-fp/unordtf2.c (__unordtf2): Likewise.
24920         [BZ #14910]
24921         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24922         unordered operands.
24923         * soft-fp/gesf2.c (__gesf2): Likewise.
24924         * soft-fp/getf2.c (__getf2): Likewise.
24925         * soft-fp/ledf2.c (__ledf2): Likewise.
24926         * soft-fp/lesf2.c (__lesf2): Likewise.
24927         * soft-fp/letf2.c (__letf2): Likewise.
24929         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24930         * soft-fp/eqsf2.c (__eqsf2): Likewise.
24931         * soft-fp/eqtf2.c (__eqtf2): Likewise.
24932         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24933         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24934         * soft-fp/fixdfti.c (__fixdfti): Likewise.
24935         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24936         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24937         * soft-fp/fixsfti.c (__fixsfti): Likewise.
24938         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24939         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24940         * soft-fp/fixtfti.c (__fixtfti): Likewise.
24941         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24942         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24943         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24944         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24945         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24946         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24947         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24948         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24949         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24950         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24951         * soft-fp/floatdisf.c (__floatdisf): Likewise.
24952         * soft-fp/floatsisf.c (__floatsisf): Likewise.
24953         * soft-fp/floattidf.c (__floattidf): Likewise.
24954         * soft-fp/floattisf.c (__floattisf): Likewise.
24955         * soft-fp/floattitf.c (__floattitf): Likewise.
24956         * soft-fp/floatundidf.c (__floatundidf): Likewise.
24957         * soft-fp/floatundisf.c (__floatundisf): Likewise.
24958         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24959         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24960         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24961         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24962         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24963         * soft-fp/gesf2.c (__gesf2): Likewise.
24964         * soft-fp/getf2.c (__getf2): Likewise.
24965         * soft-fp/ledf2.c (__ledf2): Likewise.
24966         * soft-fp/lesf2.c (__lesf2): Likewise.
24967         * soft-fp/letf2.c (__letf2): Likewise.
24969         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24970         Undefine and redefine.
24971         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24972         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24973         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24974         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24975         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24976         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24977         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24978         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24979         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24980         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24981         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24982         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24983         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24984         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24985         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24987         [BZ #16032]
24988         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24989         without decrementing exponent if mantissa >= that for the
24990         denominator, not >.
24991         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24992         denominator, not >.  Decrement exponent in < case instead of
24993         incrementing in >= case.
24994         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24995         without decrementing exponent if mantissa >= that for the
24996         denominator, not >.
24998         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24999         computing saturated result for unsigned overflow.
25001 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25002             Jeff Law  <law@redhat.com>
25004         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25005         (atan2Mp): Add systemtap probe marker.
25006         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25007         (__ieee754_log): Add systemtap probe marker.
25008         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25009         (atanMp): Add systemtap probe marker.
25010         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25011         (tanMp): Add systemtap probe marker.
25012         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25013         (__slowexp): Add systemtap probe marker.
25014         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25015         (__slowpow): Add systemtap probe marker.
25016         * manual/probes.texi: Document probes.
25018 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
25020         [BZ #15362]
25021         * libio/fileops.c (_IO_new_file_write): Return count of bytes
25022         written.
25023         (_IO_new_file_xsputn): Don't return EOF if nothing has been
25024         written.
25025         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25026         written to buffer but not flushed.
25027         * libio/iofwrite_u.c:  Likewise.
25028         * libio/iopadn.c:  Return bytes returned even if EOF was
25029         encountered.
25030         * libio/iowpadn.c:  Likewise.
25031         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25032         if _IO_padn does not write the whole buffer.
25033         [!COMPILE_WPRINTF] (PAD): Likewise.
25035 2013-10-10  David S. Miller  <davem@davemloft.net>
25037         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25038         directory block.
25040 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
25042         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
25043         instead of FSF address.
25044         * soft-fp/fixdfti.c: Likewise.
25045         * soft-fp/fixsfti.c: Likewise.
25046         * soft-fp/fixtfti.c: Likewise.
25047         * soft-fp/fixunsdfti.c: Likewise.
25048         * soft-fp/fixunssfti.c: Likewise.
25049         * soft-fp/fixunstfti.c: Likewise.
25050         * soft-fp/floattidf.c: Likewise.
25051         * soft-fp/floattisf.c: Likewise.
25052         * soft-fp/floattitf.c: Likewise.
25053         * soft-fp/floatuntidf.c: Likewise.
25054         * soft-fp/floatuntisf.c: Likewise.
25055         * soft-fp/floatuntitf.c: Likewise.
25056         * soft-fp/trunctfxf2.c: Likewise.
25058         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
25059         * soft-fp/fixdfti.c: Likewise.
25060         * soft-fp/fixsfti.c: Likewise.
25061         * soft-fp/fixtfti.c: Likewise.
25062         * soft-fp/fixunsdfti.c: Likewise.
25063         * soft-fp/fixunssfti.c: Likewise.
25064         * soft-fp/fixunstfti.c: Likewise.
25065         * soft-fp/floattidf.c: Likewise.
25066         * soft-fp/floattisf.c: Likewise.
25067         * soft-fp/floattitf.c: Likewise.
25068         * soft-fp/floatuntidf.c: Likewise.
25069         * soft-fp/floatuntisf.c: Likewise.
25070         * soft-fp/floatuntitf.c: Likewise.
25071         * soft-fp/trunctfxf2.c: Likewise.
25073 2013-10-10  David S. Miller  <davem@davemloft.net>
25075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25077 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
25079         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25080         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25081         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25082         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25083         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25084         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25085         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25087         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25088         for NaNs before doing comparisons on argument.
25089         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25090         Likewise.
25092 2013-10-10  Will Newton  <will.newton@linaro.org>
25094         * malloc/hooks.c (memalign_check): Ensure the value of bytes
25095         passed to _int_memalign does not overflow.
25097 2013-10-10  Torvald Riegel  <triegel@redhat.com>
25099         * scripts/bench.pl: Add include-sources directive.
25100         * benchtests/README: Update documentation.
25102 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
25104         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25105         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25106         instead of FP_INIT_ROUNDMODE.
25107         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25108         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25110         [BZ #16034]
25111         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
25112         copy class of input value.
25113         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
25114         not handle exceptions.
25115         * soft-fp/negsf2.c (__negsf2): Likewise.
25116         * soft-fp/negtf2.c (__negtf2): Likewise.
25117         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
25119 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
25121         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
25122         semicolon.  From Linux kernel.
25124 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
25126         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
25128 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
25130         [BZ #156]
25131         * manual/socket.texi: Added statement about buffer
25132         for gethostbyname2_r.
25134 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
25136         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
25137         Use .p2align directive instead, throughout.
25138         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25139         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25140         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
25141         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25142         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25143         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25144         * sysdeps/x86_64/strchr.S: Likewise.
25145         * sysdeps/x86_64/strrchr.S: Likewise.
25147 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25149         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
25151         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25153         * sysdeps/generic/math_private.h (__mpsin1): Remove
25154         declaration.
25155         (__mpcos1): Likewise.
25156         (__mpsin): New argument __range_reduce.
25157         (__mpcos): Likewise.
25158         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25159         (slow): Use __mpsin and __mpcos.
25160         (slow1): Likewise.
25161         (slow2): Likewise.
25162         (sloww): Likewise.
25163         (sloww1): Likewise.
25164         (sloww2): Likewise.
25165         (bsloww): Likewise.
25166         (bsloww1): Likewise.
25167         (bsloww2): Likewise.
25168         (cslow2): Likewise.
25169         (csloww): Likewise.
25170         (csloww1): Likewise.
25171         (csloww2): Likewise.
25172         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25173         range_reduce.  Merge in __mpsin1.
25174         (__mpcos): Likewise.
25175         (__mpsin1): Remove.
25176         (__mpcos1): Likewise.
25178 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
25180         * locale/loadlocale.c (_nl_intern_locale_data): Use
25181         LOCFILE_ALIGNED_P.
25182         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25183         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25184         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25185         obstack data is appropriately aligned.
25186         (obstack_int32_grow_fast): Likewise.
25187         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25188         * locale/programs/locfile.c (add_locale_uint32): Likewise.
25189         (add_locale_uint32_array): Likewise.
25191 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25193         * benchtests/Makefile: Remove ARGLIST and RET variables.
25194         ($(objpfx)bench-%.c): Pass only function name to the script.
25195         * benchtests/README: Update documentation.
25196         * benchtests/acos-inputs: Add new directives.
25197         * benchtests/acosh-inputs: Likewise.
25198         * benchtests/asin-inputs: Likewise.
25199         * benchtests/asinh-inputs: Likewise.
25200         * benchtests/atan-inputs: Likewise.
25201         * benchtests/atanh-inputs: Likewise.
25202         * benchtests/cos-inputs: Likewise.
25203         * benchtests/cosh-inputs: Likewise.
25204         * benchtests/exp-inputs: Likewise.
25205         * benchtests/log-inputs: Likewise.
25206         * benchtests/pow-inputs: Likewise.
25207         * benchtests/rint-inputs: Likewise.
25208         * benchtests/sin-inputs: Likewise.
25209         * benchtests/sinh-inputs: Likewise.
25210         * benchtests/tan-inputs: Likewise.
25211         * benchtests/tanh-inputs: Likewise.
25212         * scripts/bench.pl: Add support for new directives.
25214 2013-10-07  Alan Modra  <amodra@gmail.com>
25216         * README: Fix careless merge.
25218 2013-10-05  Alan Modra  <amodra@gmail.com>
25220         * NEWS: Mention powerpc64le support and bugs fixed.
25221         * README: Both big-endian and little-endian powerpc64 supported.
25223 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25225         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25226         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
25227         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25228         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25230 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
25232         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25233         match prototype.
25235 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
25237         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25238         Move -mhard-float appending from
25239         ports/sysdeps/powerpc/powerpc32/Makefile.
25240         [$(with-fp) = yes] (ASFLAGS): Likewise.
25241         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25242         * sysdeps/powerpc/nofpu: Move directory from
25243         ports/sysdeps/powerpc/nofpu.
25244         * sysdeps/powerpc/soft-fp: Move directory from
25245         ports/sysdeps/powerpc/soft-fp.
25246         * sysdeps/powerpc/powerpc32/405: Move directory from
25247         ports/sysdeps/powerpc/powerpc32/405.
25248         * sysdeps/powerpc/powerpc32/440: Move directory from
25249         ports/sysdeps/powerpc/powerpc32/440.
25250         * sysdeps/powerpc/powerpc32/464: Move directory from
25251         ports/sysdeps/powerpc/powerpc32/464.
25252         * sysdeps/powerpc/powerpc32/476: Move directory from
25253         ports/sysdeps/powerpc/powerpc32/476.
25254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25255         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25257         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25259         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25261         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25263         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25264         * README: Update for powerpc-*-linux-gnu software floating point
25265         support in libc.
25267         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25268         case to powerpc/powerpc32*.
25269         * sysdeps/unix/sysv/linux/configure: Regenerated.
25271         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25272         (_FPU_MASK_OM): Define as 0x04.
25273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25275         0x00c10080.
25276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25277         0x0000003c.
25278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25281         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25282         getcontext_e500.
25283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25284         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25285         setcontext_e500.
25286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25287         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25288         and setcontext_e500.
25290 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
25292         * locale/iso-3166.def: Update iso-1366.def and related occurrences
25294 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25296         * manual/threads.texi (Default Thread Attributes): Fix typo.
25298 2013-10-04  Will Newton  <will.newton@linaro.org>
25300         * malloc/Makefile: Add tst-memalign.
25301         * malloc/tst-memalign.c: New file.
25303         * malloc/tst-posix_memalign.c: Add comments.
25304         (do_test): Add comments and call free on all potentially
25305         allocated pointers. Add space after cast.
25307         * malloc/tst-pvalloc.c: Add comments.
25308         (do_test): Add comments and call free on all potentially
25309         allocated pointers. Remove duplicate check for NULL pointer.
25310         Add space after cast.
25312         * malloc/tst-valloc.c: Add comments.
25313         (do_test): Add comments and call free on all potentially
25314         allocated pointers. Remove duplicate check for NULL pointer.
25315         Add space after cast.
25317 2013-10-04  Alan Modra  <amodra@gmail.com>
25319         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25320         Use stdint types in rather than __attribute__((mode())).
25321         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25323 2013-10-04  Alan Modra  <amodra@gmail.com>
25325         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25326         Correct handling of unaligned relocs for little-endian.
25327         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25329 2013-10-04  Alan Modra  <amodra@gmail.com>
25331         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
25332         * configure: Regenerate.
25333         * nptl/shlib-versions: Powerpc*le starts at 2.18.
25334         * shlib-versions: Likewise.
25336 2013-10-04  Alan Modra  <amodra@gmail.com>
25338         * string/tester.c (test_memrchr): Increment reported test cycle.
25340 2013-10-04  Alan Modra  <amodra@gmail.com>
25342         * string/test-memcpy.c (do_one_test): When reporting errors, print
25343         string address and don't overrun end of string.
25345 2013-10-04  Alan Modra  <amodra@gmail.com>
25347         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25348         insrdi.  Make better use of reg selection to speed exit slightly.
25349         Schedule entry path a little better.  Remove useless "are we done"
25350         checks on entry to main loop.  Handle wrapping around zero address.
25351         Correct main loop count.  Handle single left-over word from main
25352         loop inline rather than by using loop_small.  Remove extra word
25353         case in loop_small caused by wrong loop count.  Add little-endian
25354         support.
25355         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25356         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
25357         cache hint.
25358         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25359         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25360         support.  Avoid rlwimi.
25361         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25363 2013-10-04  Alan Modra  <amodra@gmail.com>
25365         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
25366         insrdi.  Formatting.
25367         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25368         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25369         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25370         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25371         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25372         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25374 2013-10-04  Alan Modra  <amodra@gmail.com>
25376         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25377         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25378         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25379         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25380         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25381         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25382         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25383         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25384         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
25385         use of regs.  Use power7 mtocrf.  Tidy function tails.
25387 2013-10-04  Alan Modra  <amodra@gmail.com>
25389         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25390         Formatting.  Consistently use rXXX register defines or rN defines.
25391         Use early exit labels that avoid restoring unused non-volatile regs.
25392         Make cr field use more consistent with rWORDn compares.  Rename
25393         regs used as shift registers for unaligned loop, using rN defines
25394         for short lifetime/multiple use regs.
25395         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25396         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
25397         addi 1,1,64 to pop stack frame.  Simplify return value code.
25398         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25400 2013-10-04  Alan Modra  <amodra@gmail.com>
25402         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25403         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
25404         rather than rlwimi.
25405         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25406         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25407         little-endian support.  Correct typos.
25408         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
25409         rather than rlwimi.
25410         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
25411         in loop and entry code to keep "and." results.
25412         (strchr): Add little-endian support.  Comment.  Move cntlzd
25413         earlier in tail.
25414         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25416 2013-10-04  Alan Modra  <amodra@gmail.com>
25418         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25419         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25420         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25421         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25423 2013-10-04  Alan Modra  <amodra@gmail.com>
25425         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25426         (rTMP): Define as r11.
25427         (strcmp): Add little-endian support.  Optimise tail.
25428         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25429         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25430         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25431         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25432         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25433         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25434         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25436 2013-10-04  Alan Modra  <amodra@gmail.com>
25438         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25439         little-endian support.  Remove unnecessary "are we done" tests.
25440         Handle "s" wrapping around zero and extremely large "size".
25441         Correct main loop count.  Handle single left-over word from main
25442         loop inline rather than by using small_loop.  Correct comments.
25443         Delete "zero" tail, use "end_max" instead.
25444         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25446 2013-10-04  Alan Modra  <amodra@gmail.com>
25448         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25449         support.  Don't branch over align.
25450         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25451         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25452         support.  Rearrange tmp reg use to suit.  Comment.
25453         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25455 2013-10-04  Alan Modra  <amodra@gmail.com>
25457         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25459 2013-10-04  Alan Modra  <amodra@gmail.com>
25461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25462         conditional form of branch and link when obtaining pc.
25463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25465 2013-10-04  Alan Modra  <amodra@gmail.com>
25467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25468         HIWORD/LOWORD.
25469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25472 2013-10-04  Alan Modra  <amodra@gmail.com>
25474         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25475         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25476         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25477         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25478         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25479         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25480         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25481         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25482         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25483         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25485 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25486             Alistair Popple <alistair@ozlabs.au.ibm.com>
25487             Alan Modra <amodra@gmail.com>
25489         [BZ #15723]
25490         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25491         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25492         _dl_hwcap access for little-endian.
25493         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
25494         destroy vmx regs when saving unaligned.
25495         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25496         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
25497         destroy vmx regs when saving unaligned.
25499 2013-10-04  Alan Modra  <amodra@gmail.com>
25501         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25502         Don't use a union to pack hi/low value.
25504 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25506         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25507         for little-endian.
25508         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25509         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25510         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25511         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25512         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25514 2013-10-04  Alan Modra  <amodra@gmail.com>
25516         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
25517         constants to usual value for .cst8 section, and remove redundant
25518         high address load.
25519         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
25520         constant for 0x1p52.  Load little-endian words of double from
25521         correct stack offsets.
25523 2013-10-04  Alan Modra  <amodra@gmail.com>
25525         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
25526         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
25527         words of double from correct stack offsets.
25528         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25529         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
25530         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25531         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25532         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25533         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25534         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25535         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25536         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25537         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25538         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25539         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25540         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25541         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25542         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25543         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
25544         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25546 2013-10-04  Alan Modra  <amodra@gmail.com>
25548         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
25549         64-bit int/double union.
25550         (_FPU_SETCW): Likewise.
25551         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
25552         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
25554 2013-10-04  Alan Modra  <amodra@gmail.com>
25556         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
25557         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
25559 2013-10-04  Alan Modra  <amodra@gmail.com>
25561         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
25562         use vector int constants.
25563         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
25565 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25567         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
25568         array with long long.
25569         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
25570         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
25571         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
25572         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
25573         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
25574         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
25575         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
25576         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
25577         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25578         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
25579         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
25580         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
25581         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
25583 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25585         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
25586         (__signbit): Likewise.  Correct for little-endian.
25587         (__signbitl): Call __signbit.
25588         (lrint): Correct for little-endian.
25589         (lrintf): Call lrint.
25591 2013-10-04  Alan Modra  <amodra@gmail.com>
25593         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
25594         union 32-bit int array member with 64-bit int array.
25595         (t515, tm256): Double rather than long double.
25596         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
25598 2013-10-04  Alan Modra  <amodra@gmail.com>
25600         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
25601         Delete.
25602         (IEEE854_LONG_DOUBLE_BIAS): Delete.
25603         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25604         version of math_ldbl.h.
25606 2013-10-04  Alan Modra  <amodra@gmail.com>
25608         [BZ #15734], [BZ #15735]
25609         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25610         all uses of ieee875 long double macros and unions.  Simplify test
25611         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
25612         ldbl_extract_mantissa value for ix,iy exponents.  Properly
25613         normalize after ldbl_extract_mantissa, and don't add hidden bit
25614         already handled.  Don't treat low word of ieee854 mantissa like
25615         low word of IBM long double and mask off bit when testing for
25616         zero.
25617         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25618         all uses of ieee875 long double macros and unions.  Simplify tests
25619         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
25620         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
25621         two1022, instead use their values.  Recognise that tests for large
25622         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
25623         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25624         Rewrite all uses of ieee875 long double macros and unions.  Simplify
25625         test for 0.0L and nan.  Correct negation.
25626         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25627         ieee875 long double macros and unions.  Correct output for large
25628         magnitude x.  Correct absolute value calculation.
25629         (__erfcl): Likewise.
25630         * math/libm-test.inc: Add tests for errors discovered in IBM long
25631         double versions of fmodl, remainderl, erfl and erfcl.
25633 2013-10-04  Alan Modra  <amodra@gmail.com>
25635         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25636         all uses of ieee854 long double macros and unions.  Simplify tests
25637         for long doubles that are fully specified by the high double.
25638         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25639         Likewise.
25640         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25641         Remove dead code too.
25642         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25643         (__ieee754_ynl): Likewise.
25644         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25645         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25646         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25647         Remove dead code too.
25648         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25649         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25650         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25651         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25652         Simplify.
25653         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25654         Simplify.
25655         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25656         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25657         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25658         Comment on variable precision.
25659         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25660         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25661         Likewise.
25662         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25663         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25664         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25665         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25666         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25668 2013-10-04  Alan Modra  <amodra@gmail.com>
25670         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25671         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25672         all uses of ieee854 long double macros and unions.
25673         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25674         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25675         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25676         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25677         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25678         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25679         Likewise.
25680         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25681         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25682         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25683         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25684         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25685         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25686         Simplify sign and nan test too.
25687         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25688         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25689         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25690         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25691         Likewise.
25692         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25693         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25694         Likewise.
25695         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25696         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25697         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25698         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25699         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25700         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25702 2013-10-04  Alan Modra  <amodra@gmail.com>
25704         * stdio-common/printf_size.c (__printf_size): Don't use
25705         union ieee854_long_double in fpnum union.
25706         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
25707         signbit macro to retrieve sign from long double.
25708         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25709         retrieve sign from long double.
25710         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25711         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25712         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25713         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25714         * math/test-misc.c (main): Don't use union ieee854_long_double.
25716 2013-10-04  Alan Modra  <amodra@gmail.com>
25718         [BZ #15680]
25719         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25720         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25721         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25722         calculation.  Remove unnecessary test for denormal exponent.
25723         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25724         Correct handling of denormals.  Avoid undefined shift behaviour.
25725         Correct normalisation of low mantissa when low double is denormal.
25726         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25727         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
25728         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25729         Correct normalisation of low mantissa.  Test for overflow of high
25730         mantissa and normalise.
25731         (ldbl_nearbyint): Use more readable constant for two52.
25732         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25733         (__mpn_construct_long_double): Fix test for overflow of high
25734         mantissa and correct normalisation.  Avoid undefined shift.
25736 2013-10-04  Alan Modra  <amodra@gmail.com>
25738         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25739         (union ibm_extended_long_double): Define as an array of ieee754_double.
25740         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25741         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25742         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25743         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25744         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25745         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25746         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25747         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25748         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25749         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25750         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25752 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
25754         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25755         page size instead of calling getpagesize.
25757         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25758         (LOCFILE_ALIGN_MASK): Likewise.
25759         (LOCFILE_ALIGN_UP): Likewise.
25760         (LOCFILE_ALIGNED_P): Likewise.
25761         * locale/programs/ld-collate.c (collate_output): Use the new
25762         macros instead of __alignof__ (int32_t).
25763         * locale/weight.h (findidx): Likewise.
25765 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
25767         [BZ #431]
25768         * manual/string.texi: Fix strncat and wcsncat.
25770 2013-10-03  Brooks Moses  <bmoses@google.com>
25772         [BZ #15915]
25773         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25774         * Makerules: ...here, and adjust associated comments.
25776 2013-10-02  Will Newton  <will.newton@linaro.org>
25778         * malloc/Makefile: Add tst-pvalloc.
25779         * malloc/tst-pvalloc.c: New file.
25781 2013-10-02  Will Newton  <will.newton@linaro.org>
25783         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25784         improve test coverage.
25786 2013-10-02  Will Newton  <will.newton@linaro.org>
25788         * malloc/Makefile: Add tst-posix_memalign.
25789         * malloc/tst-posix_memalign.c: New file.
25791 2013-10-01  Eric Blake  <eblake@redhat.com>
25793         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25794         Use __THROWNL rather than __THROW on static functions.
25796 2013-09-30  Petr Machata  <pmachata@redhat.com>
25798         * elf/elf.h (R_AARCH64_ABS16): New macro.
25799         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25800         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25801         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25802         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25803         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25804         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25805         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25806         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25807         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25808         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25809         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25810         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25811         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25812         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25813         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25814         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25815         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25816         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25817         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25818         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25819         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25820         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25821         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25822         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25823         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25824         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25825         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25826         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25827         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25828         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25829         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25830         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25831         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25832         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25833         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25834         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25835         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25836         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25837         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25838         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25839         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25840         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25841         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25842         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25843         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25844         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25845         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25846         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25847         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25848         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25849         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25850         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25851         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25852         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25853         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25854         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25855         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25856         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25857         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25858         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25859         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25860         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25861         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25862         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25863         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25864         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25865         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25866         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25867         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25868         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25869         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25870         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25871         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25872         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25873         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25874         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25875         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25876         (R_AARCH64_TLSDESC_LDR): Likewise.
25877         (R_AARCH64_TLSDESC_ADD): Likewise.
25878         (R_AARCH64_TLSDESC_CALL): Likewise.
25880 2013-09-30  Andreas Schwab  <schwab@suse.de>
25882         [BZ #15048]
25883         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25884         the nss database lookup.
25885         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25888 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
25890         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25892 2013-09-28  P. J. McDermott  <pj@pehjota.net>
25894         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25895         ${Bash-specific parameter/pattern/string} parameter expansion.
25896         * sysdeps/unix/make-syscalls.sh: Likewise.
25898 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25900         * sysdeps/sh/stackguard-macros.h: New file.
25902 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
25904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25905         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25906         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25907         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25908         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25909         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25911 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25913         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25914         Fix thread ID register.
25916 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
25918         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25919         [POSIX || UNIX98]: Require rather than permitting all symbols from
25920         <time.h>.
25921         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25922         element of struct sched_param.
25923         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25924         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25925         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25926         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25927         constant.
25929 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
25931         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25932         argument calculation.
25934 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25936         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25937         Expect macro.
25938         [POSIX] (pthread_attr_t): Do not require type.
25939         [POSIX] (pthread_cond_t): Likewise.
25940         [POSIX] (pthread_condattr_t): Likewise.
25941         [POSIX] (pthread_key_t): Likewise.
25942         [POSIX] (pthread_mutex_t): Likewise.
25943         [POSIX] (pthread_mutexattr_t): Likewise.
25944         [POSIX] (pthread_once_t): Likewise.
25945         [POSIX] (pthread_t): Likewise.
25946         [POSIX-based standards] (pthread_atfork): Expect function.
25948 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25949             Richard Sandiford  <richard@codesourcery.com>
25951         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25952         (swap_endianness_p): New extern variable.
25953         (set_big_endian): New inline function.
25954         (maybe_swap_uint32): Likewise.
25955         (maybe_swap_uint32_array): Likewise.
25956         (maybe_swap_uint32_obstack): Likewise.
25957         * locale/programs/locfile.c: Include <stdbool.h>.
25958         (swap_endianness_p): New variable.
25959         (add_locale_uint32): Call maybe_swap_uint32.
25960         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25961         (write_locale_data): Call maybe_swap_uint32_array.
25962         * locale/programs/ld-collate.c (obstack_int32_grow): Call
25963         maybe_swap_uint32.
25964         (obstack_int32_grow_fast): Likewise.
25965         (output_weightwc): Call maybe_swap_uint32_obstack.
25966         (collate_output): Likewise.
25967         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25968         (OPT_LITTLE_ENDIAN): Likewise.
25969         (options): Add --little-endian and --big-endian options.
25970         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25971         * locale/programs/locarchive.c: Include "locfile.h".
25972         (GET): New macro.
25973         (SET): Likewise.
25974         (INC): Likewise.
25975         (create_archive): Use the new macros to access fields of
25976         structures directly mapped from or written to locale archives.
25977         (oldlocrecentcmp): Likewise.
25978         (enlarge_archive): Likewise.
25979         (insert_name): Likewise.
25980         (add_alias): Likewise.
25981         (add_locale): Likewise.
25982         (delete_locales_from_archive): Likewise.
25983         (show_archive_content): Likewise.
25984         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
25985         locale data.
25987 2013-09-24  Roland McGrath  <roland@hack.frob.com>
25989         * manual/freemanuals.texi: Updated from (newly) canonical copy at
25990         http://www.gnu.org/doc/freemanuals.texi.
25991         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25993 2013-09-24  Will Newton  <will.newton@linaro.org>
25995         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25996         macro.
25998 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
26000         * locale/hashval.h (compute_hashval): Interpret bytes of key as
26001         unsigned char.
26003 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
26005         * manual/threads.texi (POSIX Threads): Fix a typo.
26007 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26009         [BZ #14547]
26010         * string/tst-strcoll-overflow.c: New test case.
26011         * string/Makefile (xtests): Add tst-strcoll-overflow.
26012         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26013         cache if string sizes may cause integer overflow.
26015         [BZ #14547]
26016         * string/strcoll_l.c (coll_seq): New members rule, idx,
26017         save_idx and back_us.
26018         (get_next_seq_nocache): New function.
26019         (do_compare_nocache): New function.
26020         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26021         when malloc fails.
26023 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
26025         [BZ #15754]
26026         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26027         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26028         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26030         [BZ #15754]
26031         * elf/Makefile (tests): Add tst-ptrguard1.
26032         (tests-static): Add tst-ptrguard1-static.
26033         (tst-ptrguard1-ARGS): Define.
26034         (tst-ptrguard1-static-ARGS): Define.
26035         * elf/tst-ptrguard1.c: New file.
26036         * elf/tst-ptrguard1-static.c: New file.
26037         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26038         * sysdeps/i386/stackguard-macros.h: Likewise.
26039         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26040         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26041         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26042         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26043         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26044         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26046 2013-09-23  Hector Marco  <hecmargi@upv.es>
26047             Ismael Ripoll  <iripoll@disca.upv.es>
26048             Carlos O'Donell  <carlos@redhat.com>
26050         [BZ #15754]
26051         * sysdeps/generic/stackguard-macros.h: Define
26052         __pointer_chk_guard_local and POINTER_CHK_GUARD.
26053         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26054         Define __pointer_chk_guard_local.
26055         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26056         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26058 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
26060         [BZ #15859]
26061         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26063 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
26065         * include/string.h (__ffs): Declare as hidden.
26066         * string/ffs.c (__ffs): Define as hidden.
26067         * sysdeps/i386/ffs.c (__ffs): Likewise.
26068         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26069         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26070         * sysdeps/s390/ffs.c (__ffs): Likewise.
26071         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26073 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
26075         * NEWS: Mention malloc probes.
26077         * malloc/arena.c (new_heap): New memory_heap_new probe.
26078         (grow_heap): New memory_heap_more probe.
26079         (shrink_heap): New memory_heap_less probe.
26080         (heap_trim): New memory_heap_free probe.
26081         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26082         (systrim): New memory_sbrk_less probe.
26083         * manual/probes.texi: Document them.
26085         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26086         * manual/probes.texi: Document it.
26088         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26089         (__libc_realloc): Add memory_realloc_retry probe.
26090         (__libc_memalign): Add memory_memalign_retry probe.
26091         (__libc_valloc): Add memory_valloc_retry probe.
26092         (__libc_pvalloc): Add memory_pvalloc_retry probe.
26093         (__libc_calloc): Add memory_calloc_retry probe.
26094         * manual/probes.texi: Document them.
26096         * malloc/arena.c (get_free_list): Add probe
26097         memory_arena_reuse_free_list.
26098         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26099         and memory_arena_reuse.
26100         (arena_get2) [!PER_THREAD]: Likewise.
26101         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26102         memory_arena_reuse_realloc.
26103         * manual/probes.texi: Document them.
26105         * malloc/malloc.c (__libc_free): Add
26106         memory_mallopt_free_dyn_thresholds probe.
26107         (__libc_mallopt): Add multiple memory_mallopt probes.
26108         * manual/probes.texi: Document them.
26110         * malloc/malloc.c: Include stap-probe.h.
26111         (__libc_mallopt): Add memory_mallopt probe.
26112         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26113         * manual/probes.texi: New.
26114         * manual/Makefile (chapters): Add probes.
26115         * manual/threads.texi: Set next node.
26117 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
26119         [BZ #15963, #13985]
26120         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
26121         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
26122         Add `Chinese' to `nan' entry name.
26124 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26126         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
26127         (POLYNOMIAL): Likewise.
26128         (TAYLOR_SINCOS): Likewise.
26129         (TAYLOR_SLOW): Likewise.
26130         (__sin): Use TAYLOR_SINCOS.
26131         (__cos): Likewise.
26132         (slow): Use TAYLOR_SLOW.
26133         (sloww): Likewise.
26134         (bsloww): Likewise.
26135         (csloww): Likewise.
26137 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26139         * stdlib/strtod_l.c: Fix buffer overrun.
26141 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26143         * benchtests/Makefile (bench): Add sincos.
26144         * benchtests/bench-sincos.c: New file.
26146         * math/libm-test.inc (cos_test_data): New test inputs.
26147         (sin_test_data): Likewise.
26149         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
26150         macro.
26151         (__sin): Use it.
26152         (__cos): Likewise.
26153         (slow1): Likewise.
26154         (slow2): Likewise.
26155         (sloww1): Likewise.
26156         (sloww2): Likewise.
26157         (bsloww1): Likewise.
26158         (bsloww2): Likewise.
26159         (cslow2): Likewise.
26160         (csloww1): Likewise.
26161         (csloww2): Likewise.
26163         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26164         function.
26165         (__sin): Use it.
26166         (__cos): Likewise.
26168         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26169         gotos.
26170         (__cos): Likewise.
26172 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
26174         * config.h.in (HAVE_MIPS_NAN2008): New macro.
26175         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26176         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26177         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26178         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26179         * elf/cache.c (print_entry): Handle the new cache flags.
26181 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26182             Aldy Hernandez  <aldyh@redhat.com>
26184         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26185         Change condition to [_SOFT_FLOAT].
26186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26193         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26197         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26198         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26200         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26201         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26202         declaration.
26204 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26206         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26207         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26208         (__longjmp): Use LOAD_GP to load saved GPRs.
26209         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26210         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26211         (__sigsetjmp): Use SAVE_GP to save GPRs.
26213         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26214         Do not append -msoft-float.
26215         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26217 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26219         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26221 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
26223         [BZ #15966]
26224         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26225         (_FPU_GETCW): Use initial "__" on variable and field names but not
26226         on macro parameter name.
26227         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
26228         parentheses around reference to macro parameter.
26230 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
26232         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26233         prototype.
26234         (ctype_startup): Use uint32_t in cast and sizeof for
26235         ctype->charnames.
26237 2013-09-11  Jia Liu  <proljc@gmail.com>
26239         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26240         __daddr_t_defined.
26241         [__FreeBSD__]: Likewise.
26243 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
26245         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26246         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26247         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26248         (strchr): Remove __strchr_sse42 ifunc selection.
26249         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26250         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26252 2013-09-11  Will Newton  <will.newton@linaro.org>
26254         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26255         parameter to RES. Remove hardcoded 1000 value.
26256         * benchtests/bench-skeleton.c (main): Pass RES parameter
26257         to TIMING_INIT and multiply result by 1000.
26259 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26263 2013-09-11  Andreas Schwab  <schwab@suse.de>
26265         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26266         if not defined.
26267         (O_TMPFILE) [__USE_GNU]: Define.
26268         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26269         Define.
26271 2013-09-11  Will Newton  <will.newton@linaro.org>
26273         [BZ #15857]
26274         * malloc/malloc.c (__libc_memalign): Check the value of bytes
26275         does not overflow.
26277 2013-09-11  Will Newton  <will.newton@linaro.org>
26279         [BZ #15856]
26280         * malloc/malloc.c (__libc_valloc): Check the value of bytes
26281         does not overflow.
26283 2013-09-11  Will Newton  <will.newton@linaro.org>
26285         [BZ #15855]
26286         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26287         does not overflow.
26289 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
26291         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26292         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26293         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26294         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26295         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26297 2013-09-10  Allan McRae  <allan@archlinux.org>
26299         [BZ #15748]
26300         * manual/arith.texi (Parsing of Floats): Clarify
26301         cross-reference.
26303         [BZ #15849]
26304         * manual/install.texi (Running make install): Mention
26305         --enable-pt-chown.
26306         * INSTALL: Regenerated.
26308 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
26310         * csu/init-first.c (_init): Remove the !SHARED condition around
26311         FPU control word initialization.
26312         * elf/dl-support.c (_dl_fpu_control): New variable.
26313         (_dl_aux_init) <AT_FPUCW>: Initialize it.
26314         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26315         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26316         * math/test-fpucw-static.c: New file.
26317         * math/test-fpucw-ieee.c: New file.
26318         * math/test-fpucw-ieee-static.c: New file.
26319         * math/Makefile (tests): Add `test-fpucw-ieee' and
26320         `$(tests-static)'.
26321         (tests-static): New variable.
26322         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26323         dependency to...
26324         [($(build-shared),yes)]
26325         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26326         ... this.
26327         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26328         New dependency.
26330 2013-09-09  Allan McRae  <allan@archlinux.org>
26332         [BZ #15939]
26333         * manual/string.texi (Collation Functions): Fix typo in
26334         strcoll example.
26335         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
26337         [BZ #15893]
26338         * stdlib/isomac.c (get_null_defines): Fix memory leak.
26340         [BZ #15892]
26341         * libio/memstream.c (open_memstream): Fix memory leak.
26342         * libio/wmemstream.c (open_wmemstream): Likewise.
26344         [BZ #15895]
26345         * nscd/netgroupcache.c: Fix nesting of ifdefs.
26347 2013-09-09  Will Newton  <will.newton@linaro.org>
26349         * malloc/Makefile: Add tst-realloc to tests.
26350         * malloc/tst-realloc.c: New file.
26352 2013-09-09  Allan McRae  <allan@archlinux.org>
26354         [BZ #15844]
26355         * COPYING: Update from GNU website to fix FSF address.
26356         * COPYING.LIB: Likewise.
26358 2013-09-06  David S. Miller  <davem@davemloft.net>
26360         * po/zh_TW.po: Update Chinese (traditional) translation from
26361         translation project.
26363 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
26364             Joseph Myers  <joseph@codesourcery.com>
26366         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26367         "localeinfo.h".
26368         (obstack_chunk_alloc): New macro.
26369         (obstack_chunk_free): Likewise.
26370         (record_offset): New function.
26371         (init_locale_data): Likewise.
26372         (align_locale_data): Likewise.
26373         (add_locale_empty): Likewise.
26374         (add_locale_raw_data): Likewise.
26375         (add_locale_raw_obstack): Likewise.
26376         (add_locale_string): Likewise.
26377         (add_locale_wstring): Likewise.
26378         (add_locale_uint32): Likewise.
26379         (add_locale_uint32_array): Likewise.
26380         (add_locale_char): Likewise.
26381         (start_locale_structure): Likewise.
26382         (end_locale_structure): Likewise.
26383         (start_locale_prelude): Likewise.
26384         (end_locale_prelude): Likewise.
26385         (write_locale_data): Take locale_file structure rather than an
26386         iovec.
26387         * locale/programs/locfile.h: Include "obstack.h".
26388         (struct locale_file): Change to store locale file contents instead
26389         of header.
26390         (init_locale_data): New prototype.
26391         (align_locale_data): Likewise.
26392         (add_locale_empty): Likewise.
26393         (add_locale_raw_data): Likewise.
26394         (add_locale_raw_obstack): Likewise.
26395         (add_locale_string): Likewise.
26396         (add_locale_wstring): Likewise.
26397         (add_locale_uint32): Likewise.
26398         (add_locale_uint32_array): Likewise.
26399         (add_locale_char): Likewise.
26400         (start_locale_structure): Likewise.
26401         (end_locale_structure): Likewise.
26402         (start_locale_prelude): Likewise.
26403         (end_locale_prelude): Likewise.
26404         (write_locale_data): Update prototype.
26405         * locale/programs/3level.h (struct TABLE): Remove result field.
26406         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26407         Use new locale_file interface.
26408         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26409         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26410         * locale/programs/ld-address.c (address_output): Use new
26411         locale_file interface.
26412         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26413         NO_ADD_LOCALE.
26414         (collate_finish): Don't call collseq_table_finalize.
26415         (collate_output): Use new locale_file interface.
26416         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26417         in file.
26418         (NO_FINALIZE): Change to NO_ADD_LOCALE.
26419         (TABLE): Move defines earlier in file.
26420         (ELEMENT): Likewise.
26421         (DEFAULT): Likewise.
26422         (wctrans_table_add): Move macro and inline function earlier in
26423         file.
26424         (struct wctype_table): Move type earlier in file.
26425         (add_locale_wctype_table): New static prototype.
26426         (struct locale_ctype_t): Use logical types instead of struct iovec
26427         pointers for members.
26428         (ctype_output): Use new locale_file interface.
26429         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
26430         new locale_file interface.
26431         (allocate_arrays): Update for use of new locale_file interface.
26432         * locale/programs/ld-identification.c (identification_output): Use
26433         new locale_file interface.
26434         * locale/programs/ld-measurement.c (measurement_output): Likewise.
26435         * locale/programs/ld-messages.c (messages_output): Likewise.
26436         * locale/programs/ld-monetary.c (monetary_output): Likewise.
26437         * locale/programs/ld-name.c (name_output): Likewise.
26438         * locale/programs/ld-numeric.c (numeric_output): Likewise.
26439         * locale/programs/ld-paper.c (paper_output): Likewise.
26440         * locale/programs/ld-telephone.c (telephone_output): Likewise.
26441         * locale/programs/ld-time.c (time_output): Likewise.
26443 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26445         * benchtests/Makefile: Add memrchr benchmark.
26446         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26447         benchmark as memrchr.
26448         * benchtests/bench-memrchr-ifunc.c: New file.
26449         * benchtests/bench-memrchr.c: New file.
26451 2013-09-06   Will Newton  <will.newton@linaro.org>
26453         * benchtests/Makefile (string-bench): Add memcpy.
26455 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
26456             Cong Wang  <amwang@redhat.com>
26458         [BZ #15850]
26459         * sysdeps/unix/sysv/linux/bits/in.h
26460         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26461         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26462         before __USE_KERNEL_IPV6_DEFS uses.
26463         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26464         IPPROTO_BEETPH.
26465         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26466         sockaddr_in6, or ipv6_mreq.
26468 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26470         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26471         memory access for final bytes in some large inputs.
26472         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26474 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26476         * string/test-memrchr.c: New file.
26477         * string/test-memrchr-ifunc.c: New file.
26478         * string/Makefile: Add new memrchr testcase.
26480 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
26482         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26483         fanotify_init returns EPERM.
26485 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
26487         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26488         errors.
26489         (top level): Treat second token from macro or constant entries for
26490         allowed headers as allowed.
26491         * include/complex.h: Condition internal declarations on
26492         [!_ISOMAC].
26493         * include/fenv.h: Condition include of <stdbool.h> and internal
26494         declarations on [!_ISOMAC].
26496 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
26498         [BZ #15923]
26499         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26501 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
26503         * configure.in (--enable-versioning): Remove configure option.
26504         (libc_cv_asm_symver_directive): Remove configure test.
26505         (libc_cv_ld_version_script_option): Likewise.
26506         (VERSIONING): Remove variable and AC_SUBST.
26507         (DO_VERSIONING): Remove AC_DEFINE.
26508         * configure: Regenerated.
26509         * config.h.in (DO_VERSIONING): Remove macro.
26510         * Makerules [$(versioning) = yes]: Change conditionals to
26511         [$(build-shared) = yes].
26512         * config.make.in (versioning): Remove variable.
26513         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26514         [$(build-shared) = yes].
26515         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
26516         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
26517         * elf/Makefile [$(versioning) = yes]: Change conditionals to
26518         [$(build-shared) = yes].
26519         * extra-lib.mk [$(versioning) = yes]: Likewise.
26520         * hurd/Makefile [$(versioning) = yes]: Likewise.
26521         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
26522         [SHARED].
26523         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
26524         [SHARED].
26525         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26526         [SHARED && !NO_HIDDEN].
26527         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
26528         [SHARED].
26529         [SHARED && DO_VERSIONING]: Likewise..
26530         * libio/Makefile [$(versioning) = yes]: Change conditionals to
26531         [$(build-shared) = yes].
26532         * manual/install.texi (--disable-versioning): Remove
26533         documentation.
26534         * INSTALL: Regenerated.
26535         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
26536         to [SHARED].
26537         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
26538         [$(build-shared) = yes].
26539         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
26540         * sysdeps/i386/i686/multiarch/strstr-c.c
26541         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26542         [SHARED && !NO_HIDDEN].
26543         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
26544         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
26545         * sysdeps/powerpc/powerpc32/dl-machine.c
26546         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
26547         * sysdeps/powerpc/powerpc32/sysdep.h
26548         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
26549         to [SHARED && PIC && !NO_HIDDEN].
26550         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
26551         conditional to [SHARED].
26553 2013-09-04   Will Newton  <will.newton@linaro.org>
26555         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
26556         * benchtests/bench-string.h: Include bench-timing.h instead
26557         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
26558         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
26559         call to HP_TIMING_DIFF_INIT.
26560         * benchtests/bench-memccpy.c: Use bench-timing.h macros
26561         instead of hp-timing.h macros.
26562         * benchtests/bench-memchr.c: Likewise.
26563         * benchtests/bench-memcmp.c: Likewise.
26564         * benchtests/bench-memcpy.c: Likewise.
26565         * benchtests/bench-memmem.c: Likewise.
26566         * benchtests/bench-memmove.c: Likewise.
26567         * benchtests/bench-memset.c: Likewise.
26568         * benchtests/bench-rawmemchr.c: Likewise.
26569         * benchtests/bench-strcasecmp.c: Likewise.
26570         * benchtests/bench-strcasestr.c: Likewise.
26571         * benchtests/bench-strcat.c: Likewise.
26572         * benchtests/bench-strchr.c: Likewise.
26573         * benchtests/bench-strcmp.c: Likewise.
26574         * benchtests/bench-strcpy.c: Likewise.
26575         * benchtests/bench-strcpy_chk.c: Likewise.
26576         * benchtests/bench-strlen.c: Likewise.
26577         * benchtests/bench-strncasecmp.c: Likewise.
26578         * benchtests/bench-strncat.c: Likewise.
26579         * benchtests/bench-strncmp.c: Likewise.
26580         * benchtests/bench-strncpy.c: Likewise.
26581         * benchtests/bench-strnlen.c: Likewise.
26582         * benchtests/bench-strpbrk.c: Likewise.
26583         * benchtests/bench-strrchr.c: Likewise.
26584         * benchtests/bench-strspn.c: Likewise.
26585         * benchtests/bench-strstr.c: Likewise.
26587 2013-09-04  Will Newton  <will.newton@linaro.org>
26589         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
26591 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
26593         [BZ #15427]
26594         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26595         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
26596         * math/libm-test.inc (lgamma_test_data): Add more tests.
26597         * sysdeps/i386/fpu/libm-test-ulps: Update.
26598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26600 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
26602         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26603         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26604         Add ifunc.
26605         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26606         Add strcmp-sse2-unaligned
26607         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26609 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
26611         * Versions.def (libc): Add GLIBC_2.19.
26613 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
26615         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26616         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26618 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
26620         [BZ #14155]
26621         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26622         intermediate calculations in recurrence.
26623         (__ieee754_ynf): Likewise.
26624         * math/libm-test.inc (jn_test_data): Do not allow spurious
26625         underflow exception.  Add more tests.
26626         (yn_test_data): Add more tests.
26627         * sysdeps/i386/fpu/libm-test-ulps: Update.
26628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26630 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
26632         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26634 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
26636         * csu/init-first.c: Fix then/than typos.
26637         * locale/programs/ld-collate.c: Likewise.
26638         * locale/programs/linereader.h: Likewise.
26639         * manual/charset.texi: Likewise.
26640         * manual/filesys.texi: Likewise.
26641         * manual/stdio.texi: Likewise.
26642         * manual/string.texi: Likewise.
26643         * stdlib/fmtmsg.c: Likewise.
26644         * sysdeps/i386/stpncpy.S: Likewise.
26645         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26646         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26647         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26648         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26650 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
26652         * elf/dl-open.c: Fix typos.
26653         * iconvdata/gbbig5.c: Likewise.
26654         * iconvdata/iso-2022-jp.c: Likewise.
26655         * iconv/gconv_int.h: Likewise.
26656         * iconv/loop.c: Likewise.
26657         * nis/rpcsvc/nis.h: Likewise.
26658         * resolv/ns_name.c: Likewise.
26659         * stdio-common/vfscanf.c: Likewise.
26660         * streams/stropts.h: Likewise.
26661         * sunrpc/rpc_thread.c: Likewise.
26662         * sysdeps/i386/strpbrk.S: Likewise.
26663         * sysdeps/ieee754/k_standard.c: Likewise.
26664         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26665         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26666         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26667         * sysdeps/mach/hurd/profil.c: Likewise.
26668         * sysdeps/s390/dl-procinfo.h: Likewise.
26669         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26670         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26671         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26672         * sysdeps/x86_64/dl-trampoline.S: Likewise.
26673         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26675 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
26677         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26678         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26680 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
26682         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26683         aix specific files.
26684         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26685         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26686         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26687         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26688         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26689         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26690         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26691         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26693 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
26694             Roland McGrath  <roland@hack.frob.com>
26696         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26697         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26699 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26701         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26702         __executable_start symbol instead of _start.
26704 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
26706         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26707         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26708         Move macros to...
26709         * sysdeps/gnu/ldsodefs.h: ... this new file.
26711         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26712         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26713         instead of ELFOSABI_LINUX.
26715         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
26716         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26717         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26718         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26719         Likewise.
26720         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26721         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26722         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26723         Likewise.
26724         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26725         (ibm_extended_long_double): Add ieee_nan member.
26726         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26727         (do_test): New function.
26729         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26730         TEST_TRUNC.
26731         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26732         functions, renamed from truncdfsf_test, trunctfsf_test,
26733         trunctfdf_test.
26734         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26735         functions.
26736         (do_test): Run all these.
26738 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
26740         * argp/argp-help.c: Fix typos.
26741         * argp/argp-parse.c: Likewise.
26742         * debug/backtracesyms.c: Likewise.
26743         * elf/elf.h: Likewise.
26744         * malloc/malloc.c: Likewise.
26745         * nis/nis_print.c: Likewise.
26746         * resolv/res_comp.c: Likewise.
26747         * stdlib/stdlib.h: Likewise.
26748         * sunrpc/clnt_tcp.c: Likewise.
26749         * sunrpc/clnt_udp.c: Likewise.
26750         * sunrpc/clnt_unix.c: Likewise.
26751         * sysdeps/unix/bsd/ptsname.c: Likewise.
26752         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26753         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
26754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26755         Likewise.
26756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26757         Likewise.
26758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26759         Likewise.
26760         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26762 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26764         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26767 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
26769         [BZ #15897]
26770         * dlfcn/Makefile (tests): Add bug-dl-leaf.
26771         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26772         ($(objpfx)bug-dl-leaf): New rule.
26773         ($(objpfx)bug-dl-leaf.so): Likewise.
26774         ($(objpfx)bug-dl-leaf.out): Likewise.
26775         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26776         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26777         * dlfcn/bug-dl-leaf.c: New test.
26778         * dlfcn/bug-dl-leaf-lib.c: Likewise.
26779         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26780         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26781         (dlclose): Likewise.
26782         (dlmopen): Likewise.
26784 2013-08-27  Roland McGrath  <roland@hack.frob.com>
26786         * include/netdb.h [!_ISOMAC]:
26787         Don't include <tls.h>.
26788         (h_errno, __libc_h_errno): Move declaration and macros out of
26789         [_LIBC_REENTRANT].
26791         * include/resolv.h [_RESOLV_H_]:
26792         Don't include <tls.h>.
26793         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26794         * resolv/res_libc.c: Don't include <tls.h>.
26795         (_res): Use __attribute__ ((nocommon)) in place of
26796         __attribute__ ((section (".bss"))).
26798         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26799         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26801         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26803         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26804         only under [SIOCGIFCONF && SIOCGIFNETMASK].
26806         * resolv/res_mkquery.c: Include <sys/time.h>.
26808         * inet/ifreq.c: Moved to ...
26809         * sysdeps/unix/ifreq.c: ... here.
26810         * inet/ifreq.c: New file, true stub version.
26812         * socket/sa_len.c: New file.
26813         * socket/Makefile (aux): Add it.
26814         * sysdeps/unix/sysv/linux/Makefile
26815         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26816         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26817         and #include <socket/sa_len.c>.
26818         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26819         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26821         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26822         * bits/socket.h: ... here.
26824         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26825         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26826         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26828 2013-08-27  Andreas Schwab  <schwab@suse.de>
26830         [BZ #15736]
26831         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26832         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26833         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26834         * string/test-strcasecmp.c (test_main): Run tests in several
26835         locales.
26836         * string/test-strncasecmp.c (test_main): Likewise.
26838         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26839         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26840         to __strcasecmp_nonascii and __strncasecmp_nonascii.
26841         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26842         (__strncasecmp_ssse3) [PIC]: Likewise.
26844 2013-08-26  Roland McGrath  <roland@hack.frob.com>
26846         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26848         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26849         instead of explicitly declaring xdecrypt.
26850         * nis/nss_nis/nis-publickey.c: Likewise.
26852 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26854         [BZ #15890]
26855         * nscd/aicache.c: Include res_hconf.h.
26856         (addhstaiX): Initialize res_hconf.
26858 2013-08-26  Andreas Schwab  <schwab@suse.de>
26860         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26861         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26863 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26865         * nscd/aicache.c (addhstaiX): Fix indentation.
26867 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
26869         * configure.ac: Quote $build_pt_chown test.
26870         * configure: Regenerated.
26872 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
26874         [BZ #15532]
26875         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26876         * math/s_cexpf.c (__cexpf): Likewise.
26877         * math/s_cexpl.c (__cexpl): Likewise.
26878         * math/libm-test.inc (cexp_test_data): Correct expected return
26879         value for NaN + i0.  Add another test.
26881 2013-08-22  David S. Miller  <davem@davemloft.net>
26883         * po/ca.po: Update Catalan translation from translation project.
26884         * po/uk.po: Add Ukrainian translations from translation project.
26886 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
26888         [BZ #15797]
26889         * math/s_fdim.c (__fdim): Check for infinite arguments if result
26890         is infinite, not alongside NaN test.
26891         * math/s_fdimf.c (__fdimf): Likewise.
26892         * math/s_fdiml.c (__fdiml): Likewise.
26893         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
26894         errno is unchanged.
26896 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
26898         * argp/argp-help.c: Fix typos.
26899         * crypt/speeds.c: Likewise.
26900         * csu/check_fds.c: Likewise.
26901         * elf/dl-load.c: Likewise.
26902         * elf/dl-open.c: Likewise.
26903         * elf/reldep3.c: Likewise.
26904         * elf/reldep.c: Likewise.
26905         * elf/sprof.c: Likewise.
26906         * iconv/iconv_charmap.c: Likewise.
26907         * iconv/skeleton.c: Likewise.
26908         * iconv/strtab.c: Likewise.
26909         * io/lockf64.c: Likewise.
26910         * libio/libioP.h: Likewise.
26911         * resolv/gai_notify.c: Likewise.
26912         * resolv/ns_name.c: Likewise.
26913         * resolv/ns_samedomain.c: Likewise.
26914         * resolv/res_send.c: Likewise.
26915         * stdlib/random.c: Likewise.
26916         * sunrpc/rpc/xdr.h: Likewise.
26917         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26918         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26919         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26920         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26921         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26922         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26923         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26924         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26925         * sysdeps/mach/hurd/check_fds.c: Likewise.
26926         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26927         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26928         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26929         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26930         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26931         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26932         * sysdeps/pthread/aio_notify.c: Likewise.
26933         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26934         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26935         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26936         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26937         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26939 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26941         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26942         version if bit_Slow_SSE4_2 is set.
26943         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26944         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26946 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26948         [BZ #15867]
26949         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26950         trampoline stack frame information.
26951         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26952         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26953         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26954         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26955         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26956         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26957         (_libc_vdso_platform_setup): Initialize the signal trampolines.
26958         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26959         sa_flags value.
26960         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26961         interrupting a syscall and set with option SA_SIGINFO.
26963 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26965         [BZ #15531]
26966         * math/s_cproj.c (__cproj): Only return an infinity if one part of
26967         argument is infinite.
26968         * math/s_cprojf.c (__cprojf): Likewise.
26969         * math/s_cprojl.c (__cprojl): Likewise.
26970         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26971         * math/libm-test.inc (cproj_test_data): Add more tests.
26973         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26975         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26976         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26977         size.  Use __ffs to determine corresponding shift.
26979 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26980             Roland McGrath  <roland@hack.frob.com>
26982         * Makefile (INSTALL): Remove trailing blank lines from output of
26983         makeinfo.
26985 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26987         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26988         Align 32 bit compat elf_greg to 8 bytes.
26990 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
26992         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26994 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26996         * string/strcoll_l.c (coll_seq): New structure.
26997         (get_next_seq_cached): New function.
26998         (get_next_seq): New function.
26999         (do_compare): New function.
27000         (STRCOLL): Use GNU style definition.  Simplify implementation
27001         by using get_next_seq, get_next_seq_cached and do_compare.
27003 2013-08-16  Florian Weimer  <fweimer@redhat.com>
27005         [BZ #14699]
27006         CVE-2013-4237
27007         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27008         member.
27009         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27010         member.
27011         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27012         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27013         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
27014         conditional.
27015         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27016         GETDENTS_64BIT_ALIGNED.
27017         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27018         * manual/filesys.texi (Reading/Closing Directory): Document
27019         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
27020         strongly.
27021         * manual/conf.texi (Limits for Files): Add portability note to
27022         NAME_MAX, PATH_MAX.
27023         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27025 2013-08-13  Andreas Schwab  <schwab@suse.de>
27027         [BZ #15749]
27028         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27029         of fabs.
27030         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27031         LDBL_MAX_EXP >= 16384]: Add tests for it.
27033 2013-08-12  David S. Miller  <davem@davemloft.net>
27035         * version.h (RELEASE): Set to "development".
27036         (VERSION): Set to "2.18.90".
27037         * NEWS: Add 2.19 section.
27039 2013-08-03  David S. Miller  <davem@davemloft.net>
27041         * po/ko.po: Update Korean translation from translation project.
27043 2013-08-01  David S. Miller  <davem@davemloft.net>
27045         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
27046         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27047         Bilka.
27049 2013-07-30  David S. Miller  <davem@davemloft.net>
27051         * po/fr.po: Update French translation from translation project.
27053 2013-07-28  David S. Miller  <davem@davemloft.net>
27055         * po/cs.po: Update Czech translation from translation project.
27057         * po/sv.po: Update Swedish translation from translation project.
27059 2013-07-27  David S. Miller  <davem@davemloft.net>
27061         * po/eo.po: Update Esperanto translation from translation project.
27063         * po/vi.po: Update Vietnamese translation from translation project.
27065         * po/de.po: Update German translation from translation project.
27067 2013-07-26  David S. Miller  <davem@davemloft.net>
27069         * po/bg.po: Update Bulgarian translation from translation project.
27071         * po/nl.po: Update Dutch translation from translation project.
27072         * po/pl.po: Update Polish translation from translation project.
27073         * po/ru.po: Update Russian translation from translation project.
27075 2013-07-24  David S. Miller  <davem@davemloft.net>
27077         * po/libc.pot: Update.
27079 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27081         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27082         variable page size.
27083         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27084         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27085         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27087 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27089         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27091 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27092             Andreas Schwab  <schwab@suse.de>
27093             Roland McGrath  <roland@hack.frob.com>
27094             Joseph Myers  <joseph@codesourcery.com>
27095             Carlos O'Donell  <carlos@redhat.com>
27097         [BZ #15755]
27098         * config.h.in: Define HAVE_PT_CHOWN.
27099         * config.make.in (build-pt-chown): New variable.
27100         * configure.in (--enable-pt_chown): New configure option.
27101         * configure: Regenerate.
27102         * login/Makefile: Include Makeconfig.  Build pt_chown only if
27103         build-pt-chown is enabled.
27104         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27105         pt_chown to fix pty ownership.
27106         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27107         CLOSE_ALL_FDS.
27108         * manual/install.texi (Configuring and compiling): Mention
27109         --enable-pt_chown. Add @findex for grantpt.
27110         * INSTALL: Regenerate.
27112 2013-07-20  David S. Miller  <davem@davemloft.net>
27114         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27115         difference between 32-bit and 64-bit.
27117 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
27119         [BZ #15711]
27120         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
27121         Avoid system header dependency with -ffreestanding.
27122         ($(objpfx)bits/syscall%d): Likewise.
27124 2013-07-13  David S. Miller  <davem@davemloft.net>
27126         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
27127         underflows from atanl/atan2l due to bug 15319.
27128         (casinh_test_data): Likewise.
27130 2013-07-07  David S. Miller  <davem@davemloft.net>
27132         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27134 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
27136         * sysdeps/i386/fpu/libm-test-ulps: Update.
27137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27139 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27141         * configure.in (--enable-lock-elision): Fix message text.
27142         * INSTALL: Regenerate.
27143         * configure: Regenerate.
27145 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27149 2013-07-03  Andreas Jaeger  <aj@suse.de>
27151         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
27152         define.
27153         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27154         (ptrace_peeksiginfo_args): Add.
27155         (__ptrace_peeksiginfo_flags): Add.
27156         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27157         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27158         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27160 2013-07-03  Allan McRae  <allan@archlinux.org>
27162         * sysdeps/i386/fpu/libm-test-ulps: Update.
27164 2013-07-02  David S. Miller  <davem@davemloft.net>
27166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27168 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
27170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27172 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27174         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27177 2013-07-02  Andi Kleen <ak@linux.intel.com>
27179         * config.h.in (ENABLE_LOCK_ELISION): Add.
27180         * configure.in (--enable-lock-elision): Add option.
27181         * manual/install.texi: Document --enable lock elision.
27182         * configure: Regenerate
27183         * INSTALL: Regenerate.
27185 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
27187         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27188         SSE4.2 strcasecmp for libc.a.
27189         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27191 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27193         [BZ #13304]
27194         * soft-fp/op-common.h (_FP_FMA): New macro.
27195         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27196         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
27197         (_FP_MUL_MEAT_1_imm): ... here.
27198         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
27199         (_FP_MUL_MEAT_1_wide): ... here.
27200         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
27201         (_FP_MUL_MEAT_1_hard): ... here.
27202         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27203         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
27204         (_FP_MUL_MEAT_2_wide): ... here.
27205         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
27206         (_FP_MUL_MEAT_2_wide_3mul): ... here.
27207         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
27208         (_FP_MUL_MEAT_2_gmp): ... here.
27209         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27210         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
27211         (_FP_MUL_MEAT_4_wide): ... here.
27212         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
27213         (_FP_MUL_MEAT_4_gmp): ... here.
27214         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27215         (_FP_WFRACBITS_DW_S): Likewise.
27216         (_FP_WFRACXBITS_DW_S): Likewise.
27217         (_FP_HIGHBIT_DW_S): Likewise.
27218         (FP_FMA_S): Likewise.
27219         (_FP_FRAC_HIGH_DW_S): Likewise.
27220         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27221         (_FP_WFRACBITS_DW_D): Likewise.
27222         (_FP_WFRACXBITS_DW_D): Likewise.
27223         (_FP_HIGHBIT_DW_D): Likewise.
27224         (FP_FMA_D): Likewise.
27225         (_FP_FRAC_HIGH_DW_D): Likewise.
27226         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27227         (_FP_WFRACBITS_DW_E): Likewise.
27228         (_FP_WFRACXBITS_DW_E): Likewise.
27229         (_FP_HIGHBIT_DW_E): Likewise.
27230         (FP_FMA_E): Likewise.
27231         (_FP_FRAC_HIGH_DW_E): Likewise.
27232         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27233         (_FP_WFRACBITS_DW_Q): Likewise.
27234         (_FP_WFRACXBITS_DW_Q): Likewise.
27235         (_FP_HIGHBIT_DW_Q): Likewise.
27236         (FP_FMA_Q): Likewise.
27237         (_FP_FRAC_HIGH_DW_Q): Likewise.
27238         * soft-fp/fmasf4.c: New file.
27239         * soft-fp/fmadf4.c: Likewise.
27240         * soft-fp/fmatf4.c: Likewise.
27242 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27245         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27246         Silvermont.
27247         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27248         macro.
27249         (index_Slow_SSE4_2): Likewise.
27250         (index_Prefer_PMINUB_for_stringop): Likewise.
27251         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27252         bit_Slow_SSE4_2 is set.
27253         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27254         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27256 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27258         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27259         rtld_global._dl_hwcap2.
27260         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27261         POWER8.
27262         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27263         POWER8 feature descriptions defined in _dl_hwcap2.
27264         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27265         string handling for POWER8 feature bits.
27266         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27267         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27268         _dl_powerpc_cap_flags.
27269         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27270         * sysdeps/powerpc/rtld-global-offsets.sym
27271         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27272         _dl_hwcap2 in the rtld_global_ro structure.
27274 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27276         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27277         hardware capabilities in support of AT_HWCAP2.
27278         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27279         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27280         GLRO(dl_hwcap2).
27281         (_dl_show_auxv): Add support for calling _dl_procinfo to display
27282         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
27283         explicitly the unknown a_type display mechanism is used.
27284         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27285         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27286         struct member.
27287         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27288         to macro prototype for AT_HWCAP2 support.
27289         * sysdeps/i386/dl-procinfo.h: Likewise.
27290         * sysdeps/s390/dl-procinfo.h: Likewise.
27291         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27292         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
27293         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
27294         return -1 for unknown a_type display fallback.
27295         * sysdeps/sparc/dl-procinfo.h: Likewise.
27296         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27297         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27299 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
27301         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27302         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27304 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
27306         [BZ #12492]
27307         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27308         mprotect making __stack_prot writable.
27310 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
27311             Joseph Myers  <joseph@codesourcery.com>
27313         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27314         as being properly aligned.
27316 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
27318         * dlfcn/modstatic5.c: New file.
27319         * dlfcn/tststatic5.c: New file.
27320         * dlfcn/Makefile (tests): Add tststatic5.
27321         (tests-static): Likewise.
27322         (modules-names): Add modstatic5.
27323         (tststatic5-ENV): New variable.
27324         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27326         [BZ #15022]
27327         * elf/dl-support.c (_dl_main_map): New variable.
27328         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27329         (_dl_nns, _dl_load_adds): Set to 1.
27330         (_dl_initial_searchlist): Refer to _dl_main_map.
27331         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
27332         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
27333         call to _dl_get_origin.
27334         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
27335         around call_map.
27336         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
27337         * dlfcn/modstatic3.c: New file.
27338         * dlfcn/tststatic3.c: New file.
27339         * dlfcn/tststatic4.c: New file.
27340         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
27341         (tests-static): Likewise.
27342         (modules-names): Add modstatic3.
27343         (tststatic3-ENV, tststatic4-ENV): New variables.
27344         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27345         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27347 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
27349         * configure.in (CC): Require GCC version 4.4 or later.
27350         * configure: Regenerated.
27351         * manual/install.texi (Tools for Compilation): Update GCC version
27352         requirement.
27353         * INSTALL: Regenerated.
27355 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27357         [BZ #15674]
27358         * string/test-memcmp.c (check2): New.
27359         (main): Call check2.
27361         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27363 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
27365         [BZ #15022]
27366         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27367         over to...
27368         (dl_open_worker) [!SHARED]: ... here.
27370 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27372         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27374 2013-06-25  Richard Henderson  <rth@redhat.com>
27376         * locale/programs/locarchive.c: Include <libc-internal.h>
27378 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
27380         * manual/texinfo.tex: Update to version 2013-06-21.17, with
27381         trailing whitespace removed.
27383 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27385         [BZ #10283]
27386         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27387         * locale/programs/locarchive.c: Include libc-mmap.h.
27388         (prepare_address_space): Take two new outputs (the mmap base and len).
27389         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
27390         values.
27391         (create_archive): Declare new mmap base and len values for
27392         prepare_address_space, and store the result in ah.
27393         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27394         (enlarge_archive): If ah->mmap_base is not NULL, use that and
27395         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27396         Declare new mmap base and len values for
27397         prepare_address_space, and store the result in new_ah.
27398         (open_archive): Declare new mmap base and len values for
27399         prepare_address_space, and store the result in ah.
27400         (close_archive): If ah->mmap_base is not NULL, use that and
27401         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27402         * sysdeps/generic/libc-mmap.h: New file.
27404 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27406         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27407         (ALIGN_UP): Likewise.
27408         (PTR_ALIGN_DOWN): Likewise.
27409         (PTR_ALIGN_UP): Likewise.
27411 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27413         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27414         entry mapped to PPC_PLATFORM_POWER8.
27415         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27416         POWER8.
27417         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27418         (_dl_string_platform): Add case for exporting platform position for
27419         POWER8.
27420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27421         search path to sysdeps/powerpc/powerpc32/power8 directory.
27422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27423         search path to sysdeps/powerpc/powerpc64/power8 directory.
27424         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27425         power7 directories.
27426         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27427         power7 directories.
27429 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27431         * INSTALL: Regenerate.
27433         * nscd/connections.c (nscd_init): Fix comment.
27435 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
27437         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27439         [BZ #15667]
27440         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27441         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27443 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27445         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27446         DL_DST_REQ_STATIC.
27447         (DL_DST_REQ_STATIC): Remove macro.
27449 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
27451         [BZ #7006]
27452         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27453         with a shift of 0 bits.
27455 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27457         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27458         $(tststatic-ENV).
27460 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27462         [BZ #15655]
27463         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27465 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27467         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27468         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27469         accepts -fno-tree-loop-distribute-patterns.
27470         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27471         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27472         recursive call.
27473         * string/memset.c (memset): Likewise.
27474         * string/test-memmove.c (simple_memmove): Disable loop transformation
27475         to library calls.
27476         * string/test-memset.c (simple_memset): Likewise.
27477         * benchtests/bench-memmove.c (simple_memmove): Likewise.
27478         * benchtests/bench-memset.c (simple_memset): Likewise.
27479         * configure: Regenerated.
27481 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
27483         * math/test-misc.c (main): Ignore fesetround failure when failures
27484         of subsequent rounding tests would be ignored.
27486         [BZ #15654]
27487         * math/fedisblxcpt.c (fedisableexcept): Return 0.
27488         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27489         * math/fegetenv.c (__fegetenv): Return 0.
27490         * math/fegetexcept.c (fegetexcept): Return 0.
27491         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27492         FE_TONEAREST.
27493         * math/feholdexcpt.c (feholdexcept): Return 0.
27494         * math/fesetenv.c (__fesetenv): Return 0.
27495         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27496         argument FE_TONEAREST.
27497         * math/feupdateenv.c (__feupdateenv): Return 0.
27498         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27500 2013-06-18  Roland McGrath  <roland@hack.frob.com>
27502         * elf/rtld-Rules (rtld-compile-command.S): New variable.
27503         (rtld-compile-command.s, rtld-compile-command.c): New variables.
27504         ($(objpfx)rtld-%.os rules): Use them.
27506 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27508         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27509         fields.
27511 2013-06-17  Roland McGrath  <roland@hack.frob.com>
27513         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27514         length of target pattern, then descending length of dependency pattern.
27515         * configure.in (AWK): Require gawk 3.1.2 or newer.
27516         * manual/install.texi (Tools for Compilation): Say that we do.
27517         * configure: Regenerated.
27519         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
27520         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
27521         * scripts/sysd-rules.awk: ... this new script.
27522         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
27523         than a glob-style pattern.
27525 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
27527         * math/test-misc.c (main): Do not treat incorrectly rounded
27528         conversions as failure unless ROUNDING_TESTS passes.
27530 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
27532         [BZ #15631]
27533         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
27534         restore exception state around main square root computation, then
27535         check for inexactness explicitly.
27537         * math/libm-test.inc (fma_test_data): Add another test.
27539 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27541         * manual/threads.texi (Non-POSIX Extensions): New document
27542         node.  Document pthread_getattr_default_np and
27543         pthread_setattr_default_np.
27545         * Versions.def (libpthread): Add GLIBC_2.18.
27546         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
27547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27548         Likewise.
27549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27550         Likewise.
27551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27552         Likewise.
27553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27554         Likewise.
27555         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
27556         Likewise.
27557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27558         Likewise.
27559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27560         Likewise.
27561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27562         Likewise.
27563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27564         Likewise.
27566 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27569         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
27571 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27572             H.J. Lu  <hjl.tools@gmail.com>
27574         [BZ #15627]
27575         * sysdeps/x86_64/rtld-memset.c: Remove file.
27576         * sysdeps/x86_64/rtld-memset.S: New file.
27578 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
27580         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
27581         (test_in_one_mode): Take arguments for whether the rounding mode
27582         is supported for each floating-point type.
27583         (do_test): Pass new arguments to test_in_one_mode using
27584         ROUNDING_TESTS.
27586 2013-06-13  Roland McGrath  <roland@hack.frob.com>
27588         * posix/tst-waitid.c (do_test): Distinguish different instances of
27589         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
27590         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
27591         before entering the kernel for waitpid.
27593 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27595         * NEWS: Fix note on clock function precision.  Text by Roland
27596         McGrath.
27598 2013-06-13  Roland McGrath  <roland@hack.frob.com>
27600         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
27601         it into place only when and if the sanity check passes.
27603 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
27605         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27606         output for whether conversion result is exact.  Take argument
27607         indicating whether type is IBM long double.
27608         (round_for_all): Change need_exact field to ibm_ld.
27609         * stdlib/tst-strtod-round.c (struct exactness): New type.
27610         (struct test): Change bool ld_ok field to struct exactness exact.
27611         (TEST): Update all definitions for change to field.
27612         (tests): Regenerate array contents.
27613         (test_in_one_mode): Take pointer to new field instead of old ld_ok
27614         field value.  Check for IBM long double here.
27615         (do_test): Update calls to test_in_one_mode.
27617 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27619         [BZ #12515]
27620         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27621         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27623 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27625         [BZ #15605]
27626         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27627         generated by the compiler on loop optimizations.
27628         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27629         general definitions.
27631 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
27633         * math/bug-nextafter.c: Include <math-tests.h>.
27634         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27635         the relevant type.
27636         * math/bug-nexttoward.c: Include <math-tests.h>.
27637         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27638         the relevant type.
27639         * math/test-misc.c: Include <math-tests.h>.
27640         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27641         the relevant type.
27643 2013-06-12  Andreas Jaeger  <aj@suse.de>
27645         * po/ia.po: Update Interlingua translation from translation
27646         project.
27648 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27650         * include/fenv.h: Include stdbool.h.
27651         (struct rm_ctx): New structure.
27652         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27653         Define macro.
27654         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27655         (SET_RESTORE_ROUNDF): Likewise.
27656         (SET_RESTORE_ROUNDL): Likewise.
27657         (SET_RESTORE_ROUND_NOEX): Likewise.
27658         (SET_RESTORE_ROUND_NOEXF): Likewise.
27659         (SET_RESTORE_ROUND_NOEXL): Likewise.
27660         (SET_RESTORE_ROUND_53BIT): Likewise.
27661         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27662         (libc_feresetround_noexf_ctx): Likewise.
27663         (libc_feresetround_noexl_ctx): Likewise.
27664         (libc_feholdsetround_53bit_ctx): Likewise.
27665         (libc_feresetround_53bit_ctx): Likewise.
27666         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27667         (libc_feholdexcept_setround_sse_ctx): New function.
27668         (libc_fesetenv_sse_ctx): Likewise.
27669         (libc_feupdateenv_sse_ctx): Likewise.
27670         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27671         (libc_feholdexcept_setround_387_ctx): Likewise.
27672         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27673         (libc_feholdsetround_387_prec_ctx): Likewise.
27674         (libc_feholdsetround_387_ctx): Likewise.
27675         (libc_feholdsetround_387_53bit_ctx): Likewise.
27676         (libc_feholdsetround_sse_ctx): Likewise.
27677         (libc_feresetround_sse_ctx): Likewise.
27678         (libc_feresetround_387_ctx): Likewise.
27679         (libc_feupdateenv_387_ctx): Likewise.
27680         (libc_feholdexcept_setroundf_ctx): Define macro.
27681         (libc_fesetenvf_ctx): Likewise.
27682         (libc_feupdateenvf_ctx): Likewise.
27683         (libc_feholdsetroundf_ctx): Likewise.
27684         (libc_feresetroundf_ctx): Likewise.
27685         (libc_feholdexcept_setround_ctx): Likewise.
27686         (libc_fesetenv_ctx): Likewise.
27687         (libc_feupdateenv_ctx): Likewise.
27688         (libc_feholdsetround_ctx): Likewise.
27689         (libc_feresetround_ctx): Likewise.
27690         (libc_feholdexcept_setroundl_ctx): Likewise.
27691         (libc_feupdateenvl_ctx): Likewise.
27692         (libc_feholdsetroundl_ctx): Likewise.
27693         (libc_feresetroundl_ctx): Likewise.
27694         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27695         (libc_feresetround_53bit_ctx): Likewise.
27697 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27699         * locale/iso-639.def: Convert to UTF-8.
27701 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
27703         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27704         (EXCEPTION_TESTS_double): Likewise.
27705         (EXCEPTION_TESTS_long_double): Likewise.
27706         (EXCEPTION_TESTS): Likewise.
27707         * math/libm-test.inc (test_exceptions): Only test exceptions if
27708         EXCEPTION_TESTS (FLOAT).
27710 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27712         * benchtests/Makefile (string-bench): Add strcpy_chk and
27713         stpcpy_chk.
27714         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27715         * benchtests/bench-stpcpy_chk.c: New file.
27716         * benchtests/bench-strcpy_chk-ifunc.c: New file.
27717         * benchtests/bench-strcpy_chk.c: New file.
27718         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27719         code.
27720         (do_test): Likewise.
27722 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27724         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27725         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27726         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27727         with tabs where appropriate.
27728         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27729         dl-procinfo.h.
27730         [PPC_PLATFORM_PPC440]: Likewise.
27731         [PPC_PLATFORM_PPC464]: Likewise.
27732         [PPC_PLATFORM_PPC476]: Likewise.
27733         (_dl_string_platform): Add support for detecting ppc405, ppc440,
27734         ppc464, and ppc476 platform strings merging from ports/
27735         dl-procinfo.h.
27737 2013-06-11  Andreas Schwab  <schwab@suse.de>
27739         [BZ #14991]
27740         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27741         (from_ucs4_idx): Regenerate.
27742         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27743         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27744         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27745         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27746         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27747         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27748         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27749         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27750         from FROM_LOOP and TO_LOOP specific macros.
27751         (BODY): Handle combining characters.
27752         * iconvdata/BIG5HKSCS.irreversible: Update.
27753         * iconvdata/BIG5HKSCS.precomposed: New file.
27754         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27755         characters.
27756         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27758 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27760         * include/sys/time.h: Fix indentation and add copyright header.
27762         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27763         (do_test): Likewise.
27764         * string/test-memchr.c (do_one_test): Likewise.
27765         (do_test): Likewise.
27766         * string/test-memcmp.c (do_one_test): Likewise.
27767         (do_test): Likewise.
27768         * string/test-memcpy.c (do_one_test): Likewise.
27769         (do_test): Likewise.
27770         * string/test-memmem.c (do_one_test): Likewise.
27771         (do_test): Likewise.
27772         (do_random_tests): Likewise.
27773         * string/test-memmove.c (do_one_test): Likewise.
27774         (do_test): Likewise.
27775         * string/test-memset.c (do_one_test): Likewise.
27776         (do_test): Likewise.
27777         * string/test-rawmemchr.c (do_one_test): Likewise.
27778         (do_test): Likewise.
27779         * string/test-strcasecmp.c (do_one_test): Likewise.
27780         (do_test): Likewise.
27781         * string/test-strcasestr.c (do_one_test): Likewise.
27782         (do_test): Likewise.
27783         * string/test-strcat.c (do_one_test): Likewise.
27784         (do_test): Likewise.
27785         * string/test-strchr.c (do_one_test): Likewise.
27786         (do_test): Likewise.
27787         * string/test-strcmp.c (do_one_test): Likewise.
27788         (do_test): Likewise.
27789         * string/test-strcpy.c (do_one_test): Likewise.
27790         (do_test): Likewise.
27791         * string/test-string.h: Likewise.
27792         (test_init): Likewise.
27793         * string/test-strlen.c (do_one_test): Likewise.
27794         (do_test): Likewise.
27795         * string/test-strncasecmp.c (do_one_test): Likewise.
27796         (do_test): Likewise.
27797         * string/test-strncat.c (do_one_test): Likewise.
27798         (do_test): Likewise.
27799         * string/test-strncmp.c (do_one_test): Likewise.
27800         (do_test_limit): Likewise.
27801         (do_test): Likewise.
27802         * string/test-strncpy.c (do_one_test): Likewise.
27803         (do_test): Likewise.
27804         * string/test-strnlen.c (do_one_test): Likewise.
27805         (do_test): Likewise.
27806         * string/test-strpbrk.c (do_one_test): Likewise.
27807         (do_test): Likewise.
27808         * string/test-strrchr.c (do_one_test): Likewise.
27809         (do_test): Likewise.
27810         * string/test-strspn.c (do_one_test): Likewise.
27811         (do_test): Likewise.
27812         * string/test-strstr.c (do_one_test): Likewise.
27813         (do_test): Likewise.
27815         * benchtests/Makefile (string-bench): Add string benchmarks.
27816         * benchtests/bench-bcopy-ifunc.c: New file.
27817         * benchtests/bench-bcopy.c: New file.
27818         * benchtests/bench-bzero-ifunc.c: New file.
27819         * benchtests/bench-bzero.c: New file.
27820         * benchtests/bench-memccpy-ifunc.c: New file.
27821         * benchtests/bench-memccpy.c: New file.
27822         * benchtests/bench-memchr-ifunc.c: New file.
27823         * benchtests/bench-memchr.c: New file.
27824         * benchtests/bench-memcmp-ifunc.c: New file.
27825         * benchtests/bench-memcmp.c: New file.
27826         * benchtests/bench-memmem-ifunc.c: New file.
27827         * benchtests/bench-memmem.c: New file.
27828         * benchtests/bench-memmove-ifunc.c: New file.
27829         * benchtests/bench-memmove.c: New file.
27830         * benchtests/bench-mempcpy-ifunc.c: New file.
27831         * benchtests/bench-mempcpy.c: New file.
27832         * benchtests/bench-memset-ifunc.c: New file.
27833         * benchtests/bench-memset.c: New file.
27834         * benchtests/bench-rawmemchr-ifunc.c: New file.
27835         * benchtests/bench-rawmemchr.c: New file.
27836         * benchtests/bench-stpcpy-ifunc.c: New file.
27837         * benchtests/bench-stpcpy.c: New file.
27838         * benchtests/bench-stpncpy-ifunc.c: New file.
27839         * benchtests/bench-stpncpy.c: New file.
27840         * benchtests/bench-strcasecmp-ifunc.c: New file.
27841         * benchtests/bench-strcasecmp.c: New file.
27842         * benchtests/bench-strcasestr-ifunc.c: New file.
27843         * benchtests/bench-strcasestr.c: New file.
27844         * benchtests/bench-strcat-ifunc.c: New file.
27845         * benchtests/bench-strcat.c: New file.
27846         * benchtests/bench-strchr-ifunc.c: New file.
27847         * benchtests/bench-strchr.c: New file.
27848         * benchtests/bench-strchrnul-ifunc.c: New file.
27849         * benchtests/bench-strchrnul.c: New file.
27850         * benchtests/bench-strcmp-ifunc.c: New file.
27851         * benchtests/bench-strcmp.c: New file.
27852         * benchtests/bench-strcpy-ifunc.c: New file.
27853         * benchtests/bench-strcpy.c: New file.
27854         * benchtests/bench-strcspn-ifunc.c: New file.
27855         * benchtests/bench-strcspn.c: New file.
27856         * benchtests/bench-strlen-ifunc.c: New file.
27857         * benchtests/bench-strlen.c: New file.
27858         * benchtests/bench-strncasecmp-ifunc.c: New file.
27859         * benchtests/bench-strncasecmp.c: New file.
27860         * benchtests/bench-strncat-ifunc.c: New file.
27861         * benchtests/bench-strncat.c: New file.
27862         * benchtests/bench-strncmp-ifunc.c: New file.
27863         * benchtests/bench-strncmp.c: New file.
27864         * benchtests/bench-strncpy-ifunc.c: New file.
27865         * benchtests/bench-strncpy.c: New file.
27866         * benchtests/bench-strnlen-ifunc.c: New file.
27867         * benchtests/bench-strnlen.c: New file.
27868         * benchtests/bench-strpbrk-ifunc.c: New file.
27869         * benchtests/bench-strpbrk.c: New file.
27870         * benchtests/bench-strrchr-ifunc.c: New file.
27871         * benchtests/bench-strrchr.c: New file.
27872         * benchtests/bench-strspn-ifunc.c: New file.
27873         * benchtests/bench-strspn.c: New file.
27874         * benchtests/bench-strstr-ifunc.c: New file.
27875         * benchtests/bench-strstr.c: New file.
27877         * benchtests/Makefile: Disable parallel execution of targets.
27878         (string-bench): Add memcpy.
27879         (benchset): New variable to store a list of benchmark sets.
27880         (bench-func): Renamed from bench.
27881         (bench-set): New target.
27882         (bench): Depend on bench-func and bench-set.
27883         * benchtests/README: Add section on benchmark sets.
27884         * benchtests/bench-memcpy-ifunc.c: New file.
27885         * benchtests/bench-memcpy.c: New file.
27886         * benchtests/bench-string.h: New file.
27888 2013-06-11  Andreas Schwab  <schwab@suse.de>
27890         [BZ #15577]
27891         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27892         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27893         values in the triple.
27894         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27895         terminator in the group key.
27897 2013-06-11  Andreas Jaeger  <aj@suse.de>
27899         * po/zh_TW.po: Update Chinese (traditional) translation from
27900         translation project.
27902 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27904         * include/time.h (__clock_gettime): Add libc_hidden_proto.
27905         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27906         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
27907         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27908         (clock_getcpuclockid): Likewise.
27909         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27910         Add weak_alias and libc_hidden_def.
27911         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27912         * rt/clock_gettime.c (clock_gettime): Rename to
27913         __clock_gettime.  Add weak_alias and libc_hidden_def.
27914         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27915         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27916         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
27917         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27918         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27919         Likewise.
27920         * rt/clock_settime.c (clock_settime): Rename to
27921         __clock_settime.  Add weak_alias and libc_hidden_def.
27922         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27924 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
27926         * mach/err_boot.sub: Remove trailing whitespace.
27927         * mach/err_ipc.sub: Likewise.
27928         * mach/err_mach.sub: Likewise.
27930         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27931         (ROUNDING_TESTS_double): Likewise.
27932         (ROUNDING_TESTS_long_double): Likewise.
27933         (ROUNDING_TESTS): Likewise.
27934         * math/libm-test.inc: Include <math-tests.h>.
27935         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27936         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27937         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27938         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27940 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27942         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27943         of assigning.
27945 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
27947         * sysdeps/gnu/errlist.awk: Do not generate space at end of
27948         otherwise empty TRANS lines.
27949         * sysdeps/gnu/errlist.c: Regenerated.
27951         * catgets/gencat.c (error_print): Use (void) in function
27952         definition.
27953         * crypt/crypt_util.c (__init_des): Likewise.
27954         * crypt/speeds.c (Stop): Likewise.
27955         (main): Likewise.
27956         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27957         * inet/ruserpass.c (token): Likewise.
27958         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27959         * intl/localealias.c (extend_alias_table): Likewise.
27960         * intl/plural-exp.c (init_germanic_plural): Likewise.
27961         * libio/fcloseall.c (__fcloseall): Likewise.
27962         * libio/genops.c (_IO_flush_all): Likewise.
27963         (_IO_flush_all_linebuffered): Likewise.
27964         (_IO_cleanup): Likewise.
27965         (_IO_iter_begin): Likewise.
27966         (_IO_iter_end): Likewise.
27967         (_IO_list_lock): Likewise.
27968         (_IO_list_unlock): Likewise.
27969         (_IO_list_resetlock): Likewise.
27970         * libio/getchar.c (getchar): Likewise.
27971         * libio/getchar_u.c (getchar_unlocked): Likewise.
27972         * libio/getwchar.c (getwchar): Likewise.
27973         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27974         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27975         * login/getpt.c (__getpt): Likewise.
27976         * login/tst-utmp.c (main): Likewise.
27977         * malloc/hooks.c (__malloc_check_init): Likewise.
27978         * malloc/malloc.c (__malloc_stats): Likewise.
27979         * malloc/mtrace.c (tr_break): Likewise.
27980         (mtrace): Likewise.
27981         (muntrace): Likewise.
27982         * misc/fstab.c (endfsent): Likewise.
27983         * misc/getclktck.c (__getclktck): Likewise.
27984         * misc/getdtsz.c (__getdtablesize): Likewise.
27985         * misc/gethostid.c (gethostid): Likewise.
27986         * misc/getpagesize.c (__getpagesize): Likewise.
27987         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27988         (__get_nprocs): Likewise.
27989         (__get_phys_pages): Likewise.
27990         (__get_avphys_pages): Likewise.
27991         * misc/getttyent.c (getttyent): Likewise.
27992         (setttyent): Likewise.
27993         (endttyent): Likewise.
27994         * misc/getusershell.c (getusershell): Likewise.
27995         (endusershell): Likewise.
27996         (setusershell): Likewise.
27997         (initshells): Likewise.
27998         * misc/hsearch.c (__hdestroy): Likewise.
27999         * misc/sync.c (sync): Likewise.
28000         * misc/syslog.c (closelog_internal): Likewise.
28001         (closelog): Likewise.
28002         * misc/ttyslot.c (ttyslot): Likewise.
28003         * misc/vhangup.c (vhangup): Likewise.
28004         * posix/fork.c (__fork): Likewise.
28005         * posix/getegid.c (__getegid): Likewise.
28006         * posix/geteuid.c (__geteuid): Likewise.
28007         * posix/getgid.c (__getgid): Likewise.
28008         * posix/getpid.c (__getpid): Likewise.
28009         * posix/getppid.c (__getppid): Likewise.
28010         * posix/getuid.c (__getuid): Likewise.
28011         * posix/pause.c (pause): Likewise.
28012         * posix/setpgrp.c (setpgrp): Likewise.
28013         * posix/setsid.c (__setsid): Likewise.
28014         * posix/test-vfork.c (noop): Likewise.
28015         * resolv/gethnamaddr.c (_endhtent): Likewise.
28016         (_gethtent): Likewise.
28017         (ht_endhostent): Likewise.
28018         (gethostent): Likewise.
28019         (dns_service): Likewise.
28020         * stdlib/drand48.c (drand48): Likewise.
28021         * stdlib/lrand48.c (lrand48): Likewise.
28022         * stdlib/mrand48.c (mrand48): Likewise.
28023         * stdlib/rand.c (rand): Likewise.
28024         * stdlib/random.c (__random): Likewise.
28025         * stdlib/setenv.c (clearenv): Likewise.
28026         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28027         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28028         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28029         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28030         (__get_nprocs): Likewise.
28031         (__get_phys_pages): Likewise.
28032         (__get_avphys_pages): Likewise.
28033         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28034         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28035         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28036         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28037         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28038         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28039         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28040         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28041         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28042         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28043         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28044         * sysdeps/mach/hurd/sync.c (sync): Likewise.
28045         * sysdeps/posix/clock.c (clock): Likewise.
28046         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28047         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28048         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28049         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28050         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28051         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28052         (__get_nprocs_conf): Likewise.
28053         (__get_phys_pages): Likewise.
28054         (__get_avphys_pages): Likewise.
28055         * time/clock.c (clock): Likewise.
28056         * time/tzset.c (__tzname_max): Likewise.
28058 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
28060         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28061         (__bswap_32): Do not use "register".
28062         * crypt/crypt.c (_ufc_doit_r): Likewise.
28063         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28064         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28065         * gmon/gmon.c (__monstartup): Likewise.
28066         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28067         * hurd/hurdmalloc.c (more_memory): Likewise.
28068         (malloc): Likewise.
28069         (free): Likewise.
28070         (realloc): Likewise.
28071         (malloc_fork_prepare): Likewise.
28072         (malloc_fork_parent): Likewise.
28073         (malloc_fork_child): Likewise.
28074         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28075         (_svcauth_des): Likewise.
28076         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28077         * inet/inet_net.c (inet_network): Likewise.
28078         * inet/inet_netof.c (inet_netof): Likewise.
28079         * inet/rcmd.c (__validuser2_sa): Likewise.
28080         * io/fts.c (fts_open): Likewise.
28081         (fts_load): Likewise.
28082         (fts_close): Likewise.
28083         (fts_read): Likewise.
28084         (fts_children): Likewise.
28085         (fts_build): Likewise.
28086         (fts_stat): Likewise.
28087         (fts_sort): Likewise.
28088         (fts_alloc): Likewise.
28089         (fts_lfree): Likewise.
28090         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28091         (_IO_file_xsgetn): Likewise.
28092         (_IO_file_xsgetn_mmap): Likewise.
28093         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28094         (_IO_cookie_write): Likewise.
28095         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28096         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28097         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28098         * malloc/obstack.c (_obstack_begin): Likewise.
28099         (_obstack_begin_1): Likewise.
28100         (_obstack_newchunk): Likewise.
28101         (_obstack_allocated_p): Likewise.
28102         (obstack_free): Likewise.
28103         (_obstack_memory_used): Likewise.
28104         * misc/getttyent.c (getttynam): Likewise.
28105         (getttyent): Likewise.
28106         (skip): Likewise.
28107         (value): Likewise.
28108         * misc/getusershell.c (initshells): Likewise.
28109         * misc/syslog.c (__vsyslog_chk): Likewise.
28110         * misc/ttyslot.c (ttyslot): Likewise.
28111         * nis/nis_hash.c (__nis_hash): Likewise.
28112         * posix/fnmatch_loop.c (FCT): Likewise.
28113         * posix/getconf.c (print_all): Likewise.
28114         (main): Likewise.
28115         * posix/getopt.c (exchange): Likewise.
28116         * posix/glob.c (globfree): Likewise.
28117         (prefix_array): Likewise.
28118         (__glob_pattern_type): Likewise.
28119         * resolv/arpa/nameser.h (NS_GET16): Likewise.
28120         (NS_GET32): Likewise.
28121         (NS_PUT16): Likewise.
28122         (NS_PUT32): Likewise.
28123         * resolv/gethnamaddr.c (getanswer): Likewise.
28124         (gethostbyname2): Likewise.
28125         (gethostbyaddr): Likewise.
28126         (_gethtent): Likewise.
28127         (_gethtbyname2): Likewise.
28128         (_gethtbyaddr): Likewise.
28129         * resolv/ns_print.c (dst_s_get_int16): Likewise.
28130         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28131         * resolv/res_init.c (__res_vinit): Likewise.
28132         (net_mask): Likewise.
28133         * resolv/res_mkquery.c (outchar): Likewise.
28134         (PRINT): Likewise.
28135         * stdio-common/printf_fp.c (outchar): Likewise.
28136         (PRINT): Likewise.
28137         * stdio-common/printf_fphex.c (outchar): Likewise.
28138         (PRINT): Likewise.
28139         * stdio-common/printf_size.c (outchar): Likewise.
28140         (PRINT): Likewise.
28141         * stdio-common/test_rdwr.c (main): Likewise.
28142         * stdio-common/tfformat.c (matches): Likewise.
28143         * stdio-common/vfprintf.c (outchar): Likewise.
28144         (printf_unknown): Likewise.
28145         (buffered_vfprintf): Likewise.
28146         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28147         * stdio-common/xbug.c (AppendToBuffer): Likewise.
28148         (ReadFile): Likewise.
28149         * stdlib/qsort.c (SWAP): Likewise.
28150         (_quicksort): Likewise.
28151         * stdlib/setenv.c (__add_to_environ): Likewise.
28152         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28153         * stdlib/strtol_l.c (__strtol_l): Likewise.
28154         * stdlib/tst-strtod.c (main): Likewise.
28155         * stdlib/tst-strtol.c (main): Likewise.
28156         * stdlib/tst-strtoll.c (main): Likewise.
28157         * string/bits/string2.h (__strcmp_cc): Likewise.
28158         (__strcmp_cg): Likewise.
28159         (__strcspn_c1): Likewise.
28160         (__strcspn_c2): Likewise.
28161         (__strcspn_c3): Likewise.
28162         (__strspn_c1): Likewise.
28163         (__strspn_c2): Likewise.
28164         (__strspn_c3): Likewise.
28165         (__strsep_1c): Likewise.
28166         (__strsep_2c): Likewise.
28167         (__strsep_3c): Likewise.
28168         * string/memccpy.c (__memccpy): Likewise.
28169         * string/stpcpy.c (__stpcpy): Likewise.
28170         * string/strcmp.c (strcmp): Likewise.
28171         * string/strrchr.c (strrchr): Likewise.
28172         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28173         Likewise.
28174         * sysdeps/mach/hurd/getcwd.c
28175         (_hurd_canonicalize_directory_name_internal): Likewise.
28176         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28177         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28178         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28179         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28180         Likewise, in both definitions.
28181         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28182         definitions.
28183         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28184         64] (__bswap_64): Likewise.
28185         * time/test_time.c (main): Likewise.
28186         * time/tzfile.c (__tzfile_read): Likewise.
28187         (__tzfile_compute): Likewise.
28188         * time/tzset.c (__tzset_parse_tz): Likewise.
28189         (tzset_internal): Likewise.
28190         (compute_change): Likewise.
28191         * wcsmbs/wcscat.c (__wcscat): Likewise.
28192         * wcsmbs/wcschr.c (wcschr): Likewise.
28193         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28194         * wcsmbs/wcscspn.c (wcscspn): Likewise.
28195         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28196         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28197         * wcsmbs/wcsspn.c (wcsspn): Likewise.
28198         * wcsmbs/wcsstr.c (wcsstr): Likewise.
28199         * wcsmbs/wmemchr.c (wmemchr): Likewise.
28200         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28201         * wcsmbs/wmemset.c (wmemset): Likewise.
28203 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
28205         * scripts/config.guess: Update to version 2013-05-16.
28206         * scripts/config.sub: Update to version 2013-04-24.
28207         * scripts/install-sh: Update to version 2011-11-20.07.
28208         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28209         * scripts/move-if-change: Update to version 2012-01-06 07:23.
28211 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
28213         * debug/fgetws_u_chk.c: Fix leading whitespaces.
28214         * elf/sln.c: Likewise.
28215         * hurd/hurd/ioctl.h: Likewise.
28216         * hurd/hurdmalloc.c: Likewise.
28217         * hurd/xattr.c: Likewise.
28218         * include/shlib-compat.h: Likewise.
28219         * inet/ruserpass.c: Likewise.
28220         * libio/iofgets_u.c: Likewise.
28221         * libio/iofgetws_u.c: Likewise.
28222         * locale/programs/ld-identification.c: Likewise.
28223         * locale/programs/ld-time.c: Likewise.
28224         * mach/msg-destroy.c: Likewise.
28225         * nss/nss_files/files-netgrp.c: Likewise.
28226         * resolv/res_data.c: Likewise.
28227         * soft-fp/op-1.h: Likewise.
28228         * soft-fp/op-2.h: Likewise.
28229         * soft-fp/op-4.h: Likewise.
28230         * soft-fp/op-common.h: Likewise.
28231         * stdio-common/printf_fphex.c: Likewise.
28232         * stdlib/strtod_l.c: Likewise.
28233         * sunrpc/rpc/clnt.h: Likewise.
28234         * sysdeps/generic/framestate.c: Likewise.
28235         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28236         * sysdeps/i386/bsd-setjmp.S: Likewise.
28237         * sysdeps/i386/__longjmp.S: Likewise.
28238         * sysdeps/i386/setjmp.S: Likewise.
28239         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28240         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28241         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28242         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28243         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28244         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28245         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28246         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28247         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28248         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28249         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28250         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28251         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28252         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28253         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28254         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28255         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28256         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28257         * sysdeps/ieee754/support.c: Likewise.
28258         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28259         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28260         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28261         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28262         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28263         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28264         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28265         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28266         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28267         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28268         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28269         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28270         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28271         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28272         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28273         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28274         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28277 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
28279         * posix/transbug.c: Remove executable mode.
28281 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
28283         * crypt/speeds.c: Remove trailing whitespace.
28284         * dlfcn/default.c: Likewise.
28285         * elf/ifuncdep2.c: Likewise.
28286         * elf/ifuncmain1.c: Likewise.
28287         * elf/ifuncmain1vis.c: Likewise.
28288         * elf/testobj.h: Likewise.
28289         * elf/tst-stackguard1.c: Likewise.
28290         * gmon/sys/gmon.h: Likewise.
28291         * hurd/hurdmsg.c: Likewise.
28292         * hurd/new-fd.c: Likewise.
28293         * hurd/ports-get.c: Likewise.
28294         * iconvdata/ibm1008_420.c: Likewise.
28295         * inet/tst-getni1.c: Likewise.
28296         * inet/tst-getni2.c: Likewise.
28297         * libio/ioungetc.c: Likewise.
28298         * libio/wfiledoalloc.c: Likewise.
28299         * manual/libm-err-tab.pl: Likewise.
28300         * math/w_dremf.c: Likewise.
28301         * misc/ftruncate.c: Likewise.
28302         * posix/bug-glob2.c: Likewise.
28303         * posix/tst-pcre.c: Likewise.
28304         * posix/wait4.c: Likewise.
28305         * resolv/README: Likewise.
28306         * resolv/res_debug.h: Likewise.
28307         * resolv/tst-inet_ntop.c: Likewise.
28308         * setjmp/bug269-setjmp.c: Likewise.
28309         * soft-fp/extended.h: Likewise.
28310         * soft-fp/op-1.h: Likewise.
28311         * soft-fp/op-2.h: Likewise.
28312         * soft-fp/op-4.h: Likewise.
28313         * soft-fp/op-8.h: Likewise.
28314         * soft-fp/testit.c: Likewise.
28315         * stdio-common/bug16.c: Likewise.
28316         * stdlib/random.c: Likewise.
28317         * sunrpc/rpcsvc/rquota.x: Likewise.
28318         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28319         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28320         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28321         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28322         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28323         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28324         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28325         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28326         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28327         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28328         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28329         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28330         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28331         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28332         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28333         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28334         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28335         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28336         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28337         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28338         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28339         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28340         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
28341         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28342         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28343         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28344         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28345         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28346         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28347         * sysdeps/ieee754/s_lib_version.c: Likewise.
28348         * sysdeps/mach/hurd/check_fds.c: Likewise.
28349         * sysdeps/mach/hurd/getsockname.c: Likewise.
28350         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28351         * sysdeps/mach/hurd/recvfrom.c: Likewise.
28352         * sysdeps/powerpc/bits/link.h: Likewise.
28353         * sysdeps/powerpc/dl-procinfo.c: Likewise.
28354         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28355         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28356         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28357         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28358         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28359         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28360         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28361         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28362         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28363         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28364         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28365         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28366         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28367         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28368         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28369         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28370         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28371         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28372         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28373         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28374         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28375         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28376         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28377         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28378         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28379         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28380         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28381         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28382         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28383         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28384         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28385         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28386         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28387         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28388         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28389         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28390         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28391         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28392         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28393         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28394         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28395         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28396         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28397         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28398         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28399         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28400         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28401         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28402         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28403         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28404         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28405         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28406         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28407         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28408         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28409         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28410         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28411         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28412         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28413         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28414         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28415         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28416         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28417         * sysdeps/powerpc/sysdep.h: Likewise.
28418         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28419         * sysdeps/s390/s390-64/sub_n.S: Likewise.
28420         * sysdeps/sh/dl-trampoline.S: Likewise.
28421         * sysdeps/sh/memset.S: Likewise.
28422         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28423         * sysdeps/sh/strlen.S: Likewise.
28424         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28425         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28426         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28427         * sysdeps/sparc/sparc32/rem.S: Likewise.
28428         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28429         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28430         * sysdeps/sparc/sparc32/strchr.S: Likewise.
28431         * sysdeps/sparc/sparc32/udiv.S: Likewise.
28432         * sysdeps/sparc/sparc32/urem.S: Likewise.
28433         * sysdeps/sparc/sparc64/add_n.S: Likewise.
28434         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28435         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28436         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28437         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28438         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28439         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28440         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28441         * sysdeps/unix/bsd/times.c: Likewise.
28442         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28443         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28447         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28448         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28449         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28450         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28451         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28452         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28453         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28454         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28455         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28456         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28457         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28458         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28459         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28460         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28461         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28462         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28463         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28464         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28465         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28466         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28467         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28468         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28469         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28470         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28471         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28472         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28473         * sysdeps/x86_64/strcspn.S: Likewise.
28475 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28477         * locale/C-translit.h: Revert #include <stdint.h> because this is a
28478         generated file.  Regenerate properly from gen-translit.pl.
28479         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
28480         locale/C-translit.h.
28482 2013-06-05  Andreas Schwab  <schwab@suse.de>
28484         [BZ #15100]
28485         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28486         week as 6 instead of -1.
28487         * time/tst-strptime.c (day_tests): Add test case.
28489 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28491         * sysdeps/generic/math_private.h
28492         (libc_feholdexcept_setround_53bit): Replace with
28493         libc_feholdsetround_53bit.
28494         (libc_feupdateenv_53bit): Replace with
28495         libc_feresetround_53bit.
28496         (SET_RESTORE_ROUND_53BIT): Adjust.
28498 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28500         * string/test-strchrnul.c: Add copyright header.
28502         * posix/tst-getaddrinfo4.c: Increase test timeout.
28504 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
28506         [BZ #15536]
28507         * math/libm-test.inc (MAX_EXP): Remove
28508         (MIN_EXP): Define.
28509         (ulp): Use MIN_EXP - MANT_DIG.
28510         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28512 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
28514         * po/be.po: Revert last change.
28515         * po/zh_CN.po: Likewise.
28516         * po/header.pot: Likewise.
28518 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
28520         * Makefile ($(common-objpfx)linkobj/libc.so): Define
28521         link-libc-deps to empty as target-specific variable.
28522         * Makerules (link-libc-args): New variable.
28523         (libc-for-link): Likewise.
28524         (link-libc-deps): Likewise.
28525         (lib%.so): Depend on $(link-libc-deps).  Link with
28526         $(link-libc-args).
28527         (build-module): Link with $(link-libc-args).
28528         (build-module-asneeded): Likewise.
28529         (build-module-helper-objlist): Filter out $(link-libc-deps) from
28530         list of objects.
28531         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
28532         target-specific variable.
28533         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
28534         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
28535         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
28536         libc.
28537         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
28538         libc and ld.so.
28539         ($(objpfx)libpcprofile.so): Likewise.
28540         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
28541         libc_nonshared.a.
28542         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
28543         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
28544         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
28545         $(link-libc-deps).
28546         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
28547         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
28548         * login/Makefile ($(objpfx)libutil.so): Likewise.
28549         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
28550         * math/Makefile ($(objpfx)libm.so): Likewise.
28551         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
28552         $(objpfx)libnsl.so): Define libc-for-link as target-specific
28553         variable instead of depending directly on libc.
28554         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
28555         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
28556         $(link-libc-deps).
28557         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
28558         libc.
28559         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
28560         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
28561         ($(objpfx)libanl.so): Likewise.
28562         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
28563         ld.so.
28564         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
28565         $(link-libc-deps).
28566         * sysdeps/i386/fpu/Makefile: Remove file.
28567         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
28568         ($(objpfx)libm.so): Remove dependency on ld.so.
28570 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
28572         [BZ # 15553]
28573         * nis/yp_xdr.c (XDRMAXNAME): Define.
28574         (XDRMAXRECORD): Define.
28575         (xdr_domainname): Use XDRMAXNAME.
28576         (xdr_mapname): Likewise.
28577         (xdr_peername): Likewise.
28578         (xdr_keydat): Use XDRMAXRECORD.
28579         (xdr_valdat): Likewise.
28581 2013-05-30  Jeff Law  <law@redhat.com>
28583         [BZ #14256]
28584         * manual/errno.texi (ESTALE): Update to account for more than
28585         just NFS file systems.
28586         * sysdeps/gnu/errlist.c: Regenerated.
28588 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28590         [BZ #15465]
28591         * elf/Makefile (tests): Add tst-null-argv.
28592         (modules-names):  Add tst-null-argv-lib.
28593         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
28594         (tst-null-argv-ENV): Set environment for tst-null-argv.
28595         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
28596         (RTLD_PROGNAME): New macro.
28597         * elf/tst-null-argv.c: New test case.
28598         * elf/tst-null-argv-lib.c: Library for test case.
28599         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
28600         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
28601         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
28602         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28603         * elf/dl-init.c (call_init): Likewise.
28604         (_dl_init): Likewise.
28605         * elf/dl-load.c (print_search_path): Likewise.
28606         (_dl_map_object): Likewise.
28607         * elf/dl-lookup.c (do_lookup_x): Likewise.
28608         (add_dependency): Likewise.
28609         (_dl_lookup_symbol_x): Likewise.
28610         (_dl_debug_bindings): Likewise.
28611         * elf/dl-open.c (_dl_show_scope): Likewise.
28612         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28613         * elf/dl-version.c (match_symbol): Likewise.
28614         (_dl_check_map_versions): Likewise.
28615         * elf/rtld.c (dl_main): Likewise.
28616         (print_unresolved): Use RTLD_PROGNAME.
28617         (print_missing_version): Likewise.
28618         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28619         (elf_machine_rela): Likewise.
28620         * sysdeps/powerpc/powerpc32/dl-machine.c
28621         (__process_machine_rela): Likewise.
28622         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28623         Likewise.
28624         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28625         Likewise.
28626         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28627         Likewise.
28628         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28629         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28630         Likewise.
28631         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28632         Likewise.
28633         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28635 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
28637         * po/be.po: Add descriptive title.
28638         * po/zh_CN.po: Likewise.
28639         * po/header.pot: Likewise.
28641 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
28643         * locale/programs/locarchive.c (create_archive): Inlucde fname in
28644         error message.
28645         (enlarge_archive): Likewise.
28647 2013-05-28  Ben North  <ben@redfrontdoor.org>
28649         * manual/arith.texi (frexp): It is the magnitude of the return
28650         value which lies in [0.5, 1), not the return value itself.
28652 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28656 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
28658         * stdio-common/bug26.c (main): Correct fscanf template.
28660         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28661         declare _dl_skip_args.
28663         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28664         Don't declare.
28666         * manual/platform.texi: Add missing @end deftypefun.
28668 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
28670         [BZ #15529]
28671         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28672         bit of mantissa of 2^16382.
28673         * math/libm-test.inc (hypot_test_data): Add more tests.
28675         * math/libm-test.inc: Add drem and pow10 to list of tested
28676         functions.
28677         (pow10_test): New function.
28678         (drem_test): Likewise.
28679         (drem_test_tonearest): Likewise.
28680         (drem_test_towardzero): Likewise.
28681         (drem_test_downward): Likewise.
28682         (drem_test_upward): Likewise.
28683         (main): Call the new functions.
28685         * math/libm-test.inc (finite_test_data): Remove.
28686         (finite_test): Run tests from isfinite_test_data.
28687         (gamma_test_data): Remove.
28688         (gamma_test): Run tests from lgamma_test_data.
28689         * sysdeps/i386/fpu/libm-test-ulps: Update.
28690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28692 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28694         * manual/platform.texi: Add PowerPC PPR function set documentation.
28695         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28696         implementation.
28698 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
28700         * math/libm-test.inc (MAX_EXP): Define.
28701         (ULPDIFF): Define.
28702         (ulp): New function.
28703         (check_float_internal): Use ULPDIFF.
28704         (cpow_test): Disable failing test.
28705         (check_ulp): Test ulp() implemetnation.
28706         (main): Call check_ulp before starting tests.
28708 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
28710         * math/gen-libm-test.pl (generate_testfile): Do not handle
28711         START_DATA and END_DATA.
28712         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28713         END_DATA.
28714         (acos_tonearest_test_data): Likewise.
28715         (acos_towardzero_test_data): Likewise.
28716         (acos_downward_test_data): Likewise.
28717         (acos_upward_test_data): Likewise.
28718         (acosh_test_data): Likewise.
28719         (asin_test_data): Likewise.
28720         (asin_tonearest_test_data): Likewise.
28721         (asin_towardzero_test_data): Likewise.
28722         (asin_downward_test_data): Likewise.
28723         (asin_upward_test_data): Likewise.
28724         (asinh_test_data): Likewise.
28725         (atan_test_data): Likewise.
28726         (atanh_test_data): Likewise.
28727         (atan2_test_data): Likewise.
28728         (cabs_test_data): Likewise.
28729         (cacos_test_data): Likewise.
28730         (cacosh_test_data): Likewise.
28731         (carg_test_data): Likewise.
28732         (casin_test_data): Likewise.
28733         (casinh_test_data): Likewise.
28734         (catan_test_data): Likewise.
28735         (catanh_test_data): Likewise.
28736         (cbrt_test_data): Likewise.
28737         (ccos_test_data): Likewise.
28738         (ccosh_test_data): Likewise.
28739         (ceil_test_data): Likewise.
28740         (cexp_test_data): Likewise.
28741         (cimag_test_data): Likewise.
28742         (clog_test_data): Likewise.
28743         (clog10_test_data): Likewise.
28744         (conj_test_data): Likewise.
28745         (copysign_test_data): Likewise.
28746         (cos_test_data): Likewise.
28747         (cos_tonearest_test_data): Likewise.
28748         (cos_towardzero_test_data): Likewise.
28749         (cos_downward_test_data): Likewise.
28750         (cos_upward_test_data): Likewise.
28751         (cosh_test_data): Likewise.
28752         (cosh_tonearest_test_data): Likewise.
28753         (cosh_towardzero_test_data): Likewise.
28754         (cosh_downward_test_data): Likewise.
28755         (cosh_upward_test_data): Likewise.
28756         (cpow_test_data): Likewise.
28757         (cproj_test_data): Likewise.
28758         (creal_test_data): Likewise.
28759         (csin_test_data): Likewise.
28760         (csinh_test_data): Likewise.
28761         (csqrt_test_data): Likewise.
28762         (ctan_test_data): Likewise.
28763         (ctan_tonearest_test_data): Likewise.
28764         (ctan_towardzero_test_data): Likewise.
28765         (ctan_downward_test_data): Likewise.
28766         (ctan_upward_test_data): Likewise.
28767         (ctanh_test_data): Likewise.
28768         (ctanh_tonearest_test_data): Likewise.
28769         (ctanh_towardzero_test_data): Likewise.
28770         (ctanh_downward_test_data): Likewise.
28771         (ctanh_upward_test_data): Likewise.
28772         (erf_test_data): Likewise.
28773         (erfc_test_data): Likewise.
28774         (exp_test_data): Likewise.
28775         (exp_tonearest_test_data): Likewise.
28776         (exp_towardzero_test_data): Likewise.
28777         (exp_downward_test_data): Likewise.
28778         (exp_upward_test_data): Likewise.
28779         (exp10_test_data): Likewise.
28780         (exp2_test_data): Likewise.
28781         (expm1_test_data): Likewise.
28782         (fabs_test_data): Likewise.
28783         (fdim_test_data): Likewise.
28784         (finite_test_data): Likewise.
28785         (floor_test_data): Likewise.
28786         (fma_test_data): Likewise.
28787         (fma_towardzero_test_data): Likewise.
28788         (fma_downward_test_data): Likewise.
28789         (fma_upward_test_data): Likewise.
28790         (fmax_test_data): Likewise.
28791         (fmin_test_data): Likewise.
28792         (fmod_test_data): Likewise.
28793         (fpclassify_test_data): Likewise.
28794         (frexp_test_data): Likewise.
28795         (gamma_test_data): Likewise.
28796         (hypot_test_data): Likewise.
28797         (ilogb_test_data): Likewise.
28798         (isfinite_test_data): Likewise.
28799         (isgreater_test_data): Likewise.
28800         (isgreaterequal_test_data): Likewise.
28801         (isinf_test_data): Likewise.
28802         (isless_test_data): Likewise.
28803         (islessequal_test_data): Likewise.
28804         (islessgreater_test_data): Likewise.
28805         (isnan_test_data): Likewise.
28806         (isnormal_test_data): Likewise.
28807         (issignaling_test_data): Likewise.
28808         (isunordered_test_data): Likewise.
28809         (j0_test_data): Likewise.
28810         (j1_test_data): Likewise.
28811         (jn_test_data): Likewise.
28812         (ldexp_test_data): Likewise.
28813         (lgamma_test_data): Likewise.
28814         (lrint_test_data): Likewise.
28815         (lrint_tonearest_test_data): Likewise.
28816         (lrint_towardzero_test_data): Likewise.
28817         (lrint_downward_test_data): Likewise.
28818         (lrint_upward_test_data): Likewise.
28819         (llrint_test_data): Likewise.
28820         (llrint_tonearest_test_data): Likewise.
28821         (llrint_towardzero_test_data): Likewise.
28822         (llrint_downward_test_data): Likewise.
28823         (llrint_upward_test_data): Likewise.
28824         (log_test_data): Likewise.
28825         (log10_test_data): Likewise.
28826         (log1p_test_data): Likewise.
28827         (log2_test_data): Likewise.
28828         (logb_test_data): Likewise.
28829         (logb_downward_test_data): Likewise.
28830         (lround_test_data): Likewise.
28831         (llround_test_data): Likewise.
28832         (modf_test_data): Likewise.
28833         (nearbyint_test_data): Likewise.
28834         (nextafter_test_data): Likewise.
28835         (nexttoward_test_data): Likewise.
28836         (pow_test_data): Likewise.
28837         (pow_tonearest_test_data): Likewise.
28838         (pow_towardzero_test_data): Likewise.
28839         (pow_downward_test_data): Likewise.
28840         (pow_upward_test_data): Likewise.
28841         (remainder_test_data): Likewise.
28842         (remainder_tonearest_test_data): Likewise.
28843         (remainder_towardzero_test_data): Likewise.
28844         (remainder_downward_test_data): Likewise.
28845         (remainder_upward_test_data): Likewise.
28846         (remquo_test_data): Likewise.
28847         (rint_test_data): Likewise.
28848         (rint_tonearest_test_data): Likewise.
28849         (rint_towardzero_test_data): Likewise.
28850         (rint_downward_test_data): Likewise.
28851         (rint_upward_test_data): Likewise.
28852         (round_test_data): Likewise.
28853         (scalb_test_data): Likewise.
28854         (scalbn_test_data): Likewise.
28855         (scalbln_test_data): Likewise.
28856         (signbit_test_data): Likewise.
28857         (sin_test_data): Likewise.
28858         (sin_tonearest_test_data): Likewise.
28859         (sin_towardzero_test_data): Likewise.
28860         (sin_downward_test_data): Likewise.
28861         (sin_upward_test_data): Likewise.
28862         (sincos_test_data): Likewise.
28863         (sinh_test_data): Likewise.
28864         (sinh_tonearest_test_data): Likewise.
28865         (sinh_towardzero_test_data): Likewise.
28866         (sinh_downward_test_data): Likewise.
28867         (sinh_upward_test_data): Likewise.
28868         (sqrt_test_data): Likewise.
28869         (tan_test_data): Likewise.
28870         (tan_tonearest_test_data): Likewise.
28871         (tan_towardzero_test_data): Likewise.
28872         (tan_downward_test_data): Likewise.
28873         (tan_upward_test_data): Likewise.
28874         (tanh_test_data): Likewise.
28875         (tgamma_test_data): Likewise.
28876         (trunc_test_data): Likewise.
28877         (y0_test_data): Likewise.
28878         (y1_test_data): Likewise.
28879         (yn_test_data): Likewise.
28880         (significand_test_data): Likewise.
28882         * math/gen-libm-test.pl (@functions): Remove variable.
28883         (generate_testfile): Don't handle START and END lines.
28884         * math/libm-test.inc (START): New macro.
28885         (END): Likewise.
28886         (END_COMPLEX): Likewise.
28887         (acos_test): Use END macro without arguments.
28888         (acos_test_tonearest): Likewise.
28889         (acos_test_towardzero): Likewise.
28890         (acos_test_downward): Likewise.
28891         (acos_test_upward): Likewise.
28892         (acosh_test): Likewise.
28893         (asin_test): Likewise.
28894         (asin_test_tonearest): Likewise.
28895         (asin_test_towardzero): Likewise.
28896         (asin_test_downward): Likewise.
28897         (asin_test_upward): Likewise.
28898         (asinh_test): Likewise.
28899         (atan_test): Likewise.
28900         (atanh_test): Likewise.
28901         (atan2_test): Likewise.
28902         (cabs_test): Likewise.
28903         (cacos_test): Use END_COMPLEX macro without arguments.
28904         (cacosh_test): Likewise.
28905         (carg_test): Use END macro without arguments.
28906         (casin_test): Use END_COMPLEX macro without arguments.
28907         (casinh_test): Likewise.
28908         (catan_test): Likewise.
28909         (catanh_test): Likewise.
28910         (cbrt_test): Use END macro without arguments.
28911         (ccos_test): Use END_COMPLEX macro without arguments.
28912         (ccosh_test): Likewise.
28913         (ceil_test): Use END macro without arguments.
28914         (cexp_test): Use END_COMPLEX macro without arguments.
28915         (cimag_test): Use END macro without arguments.
28916         (clog_test): Use END_COMPLEX macro without arguments.
28917         (clog10_test): Likewise.
28918         (conj_test): Likewise.
28919         (copysign_test): Use END macro without arguments.
28920         (cos_test): Likewise.
28921         (cos_test_tonearest): Likewise.
28922         (cos_test_towardzero): Likewise.
28923         (cos_test_downward): Likewise.
28924         (cos_test_upward): Likewise.
28925         (cosh_test): Likewise.
28926         (cosh_test_tonearest): Likewise.
28927         (cosh_test_towardzero): Likewise.
28928         (cosh_test_downward): Likewise.
28929         (cosh_test_upward): Likewise.
28930         (cpow_test): Use END_COMPLEX macro without arguments.
28931         (cproj_test): Likewise.
28932         (creal_test): Use END macro without arguments.
28933         (csin_test): Use END_COMPLEX macro without arguments.
28934         (csinh_test): Likewise.
28935         (csqrt_test): Likewise.
28936         (ctan_test): Likewise.
28937         (ctan_test_tonearest): Likewise.
28938         (ctan_test_towardzero): Likewise.
28939         (ctan_test_downward): Likewise.
28940         (ctan_test_upward): Likewise.
28941         (ctanh_test): Likewise.
28942         (ctanh_test_tonearest): Likewise.
28943         (ctanh_test_towardzero): Likewise.
28944         (ctanh_test_downward): Likewise.
28945         (ctanh_test_upward): Likewise.
28946         (erf_test): Use END macro without arguments.
28947         (erfc_test): Likewise.
28948         (exp_test): Likewise.
28949         (exp_test_tonearest): Likewise.
28950         (exp_test_towardzero): Likewise.
28951         (exp_test_downward): Likewise.
28952         (exp_test_upward): Likewise.
28953         (exp10_test): Likewise.
28954         (exp2_test): Likewise.
28955         (expm1_test): Likewise.
28956         (fabs_test): Likewise.
28957         (fdim_test): Likewise.
28958         (finite_test): Likewise.
28959         (floor_test): Likewise.
28960         (fma_test): Likewise.
28961         (fma_test_towardzero): Likewise.
28962         (fma_test_downward): Likewise.
28963         (fma_test_upward): Likewise.
28964         (fmax_test): Likewise.
28965         (fmin_test): Likewise.
28966         (fmod_test): Likewise.
28967         (fpclassify_test): Likewise.
28968         (frexp_test): Likewise.
28969         (gamma_test): Likewise.
28970         (hypot_test): Likewise.
28971         (ilogb_test): Likewise.
28972         (isfinite_test): Likewise.
28973         (isgreater_test): Likewise.
28974         (isgreaterequal_test): Likewise.
28975         (isinf_test): Likewise.
28976         (isless_test): Likewise.
28977         (islessequal_test): Likewise.
28978         (islessgreater_test): Likewise.
28979         (isnan_test): Likewise.
28980         (isnormal_test): Likewise.
28981         (issignaling_test): Likewise.
28982         (isunordered_test): Likewise.
28983         (j0_test): Likewise.
28984         (j1_test): Likewise.
28985         (jn_test): Likewise.
28986         (ldexp_test): Likewise.
28987         (lgamma_test): Likewise.
28988         (lrint_test): Likewise.
28989         (lrint_test_tonearest): Likewise.
28990         (lrint_test_towardzero): Likewise.
28991         (lrint_test_downward): Likewise.
28992         (lrint_test_upward): Likewise.
28993         (llrint_test): Likewise.
28994         (llrint_test_tonearest): Likewise.
28995         (llrint_test_towardzero): Likewise.
28996         (llrint_test_downward): Likewise.
28997         (llrint_test_upward): Likewise.
28998         (log_test): Likewise.
28999         (log10_test): Likewise.
29000         (log1p_test): Likewise.
29001         (log2_test): Likewise.
29002         (logb_test): Likewise.
29003         (logb_test_downward): Likewise.
29004         (lround_test): Likewise.
29005         (llround_test): Likewise.
29006         (modf_test): Likewise.
29007         (nearbyint_test): Likewise.
29008         (nextafter_test): Likewise.
29009         (nexttoward_test): Likewise.
29010         (pow_test): Likewise.
29011         (pow_test_tonearest): Likewise.
29012         (pow_test_towardzero): Likewise.
29013         (pow_test_downward): Likewise.
29014         (pow_test_upward): Likewise.
29015         (remainder_test): Likewise.
29016         (remainder_test_tonearest): Likewise.
29017         (remainder_test_towardzero): Likewise.
29018         (remainder_test_downward): Likewise.
29019         (remainder_test_upward): Likewise.
29020         (remquo_test): Likewise.
29021         (rint_test): Likewise.
29022         (rint_test_tonearest): Likewise.
29023         (rint_test_towardzero): Likewise.
29024         (rint_test_downward): Likewise.
29025         (rint_test_upward): Likewise.
29026         (round_test): Likewise.
29027         (scalb_test): Likewise.
29028         (scalbn_test): Likewise.
29029         (scalbln_test): Likewise.
29030         (signbit_test): Likewise.
29031         (sin_test): Likewise.
29032         (sin_test_tonearest): Likewise.
29033         (sin_test_towardzero): Likewise.
29034         (sin_test_downward): Likewise.
29035         (sin_test_upward): Likewise.
29036         (sincos_test): Likewise.
29037         (sinh_test): Likewise.
29038         (sinh_test_tonearest): Likewise.
29039         (sinh_test_towardzero): Likewise.
29040         (sinh_test_downward): Likewise.
29041         (sinh_test_upward): Likewise.
29042         (sqrt_test): Likewise.
29043         (tan_test): Likewise.
29044         (tan_test_tonearest): Likewise.
29045         (tan_test_towardzero): Likewise.
29046         (tan_test_downward): Likewise.
29047         (tan_test_upward): Likewise.
29048         (tanh_test): Likewise.
29049         (tgamma_test): Likewise.
29050         (trunc_test): Likewise.
29051         (y0_test): Likewise.
29052         (y1_test): Likewise.
29053         (yn_test): Likewise.
29054         (significand_test): Likewise.
29056 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
29058         [BZ #15381]
29059         * libio/genops.c (_IO_no_init): Initialize wide struct info.
29061 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29063         [BZ #14894]
29064         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29065         __ppc_mdoio and __ppc_mdoom.
29066         * manual/platform.texi: Document new functions __ppc_yield,
29067         __ppc_mdoio and __ppc_mdoom.
29069 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
29071         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29072         (main): Mention "tls" pseudo-hwcap is legacy.
29073         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29075 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
29077         * math/gen-libm-test.pl (parse_args): Output only string of
29078         arguments as text for test name, not full call or descriptions of
29079         tests for extra outputs.
29080         (generate_testfile): Do not pass function name to parse_args.
29081         Generate this_func variable from START.
29082         * math/libm-test.inc (struct test_f_f_data): Rename test_name
29083         field to arg_str.
29084         (struct test_ff_f_data): Likewise.
29085         (test_ff_f_data_nexttoward): Likewise.
29086         (struct test_fi_f_data): Likewise.
29087         (struct test_fl_f_data): Likewise.
29088         (struct test_if_f_data): Likewise.
29089         (struct test_fff_f_data): Likewise.
29090         (struct test_c_f_data): Likewise.
29091         (struct test_f_f1_data): Likewise.  Remove field extra_name.
29092         (struct test_fF_f1_data): Likewise.
29093         (struct test_ffI_f1_data): Likewise.
29094         (struct test_c_c_data): Rename test_name field to arg_str.
29095         (struct test_cc_c_data): Likewise.
29096         (struct test_f_i_data): Likewise.
29097         (struct test_ff_i_data): Likewise.
29098         (struct test_f_l_data): Likewise.
29099         (struct test_f_L_data): Likewise.
29100         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
29101         and extra2_name.
29102         (COMMON_TEST_SETUP): New macro.
29103         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29104         (COMMON_TEST_CLEANUP): Likewise.
29105         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29106         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
29107         macros.
29108         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29109         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
29110         macros.
29111         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29112         (RUN_TEST_fff_f): Take argument string.  Call new setup and
29113         cleanup macros.
29114         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29115         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
29116         macros.
29117         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
29118         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
29119         macros.
29120         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29121         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
29122         cleanup macros.
29123         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29124         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
29125         cleanup macros.
29126         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29127         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
29128         cleanup macros.
29129         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29130         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
29131         macros.
29132         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
29133         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
29134         macros.
29135         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
29136         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
29137         macros.
29138         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
29139         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
29140         cleanup macros.
29141         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
29142         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
29143         cleanup macros.
29144         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
29145         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
29146         macros.
29147         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
29148         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
29149         cleanup macros.
29150         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
29151         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
29152         macros.
29153         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29154         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
29155         macros.
29156         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29157         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
29158         cleanup macros.
29159         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29161 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
29163         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29164         to _sifields.sigfault.
29165         (si_addr_lsb): Define new macro.
29166         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29167         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29168         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29170 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
29172         [BZ #15441]
29173         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29174         returns -1.
29175         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29176         null return -1.
29177         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29178         loading the domain.
29180 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
29182         * math/gen-libm-test.pl (parse_args): Do not include expected
29183         result in test name.
29184         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29185         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29186         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29187         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29188         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29191 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29193         * benchtests/Makefile: Sort function entries.
29195         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29196         tanh, asinh, acosh, atanh.
29197         * benchtests/acos-inputs: New file.
29198         * benchtests/acosh-inputs: New file.
29199         * benchtests/asin-inputs: New file.
29200         * benchtests/asinh-inputs: New file.
29201         * benchtests/atanh-inputs: New file.
29202         * benchtests/cosh-inputs: New file.
29203         * benchtests/log-inputs: New file.
29204         * benchtests/sinh-inputs: New file.
29205         * benchtests/tanh-inputs: New file.
29207 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
29209         [BZ #15339]
29210         * posix/tst-getaddrinfo4.c: New test.
29211         * posix/Makefile (tests): Add it.
29213 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29215         [BZ #15339]
29216         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29217         when no services were used.
29218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29219         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29221 2013-05-21  Andreas Schwab  <schwab@suse.de>
29223         [BZ #15014]
29224         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29225         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29226         successful.
29227         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29228         redundant variable declarations and reallocation of buffer when
29229         parsing as IPv6 address.  Always set NSS status when called from
29230         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
29231         buffer too small.  Correct computation of needed size.
29232         * nss/Makefile (tests): Add test-digits-dots.
29233         * nss/test-digits-dots.c: New test.
29235 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29237         * benchtests/Makefile: Remove instructions for adding
29238         benchmark tests.
29239         * benchtests/README: New file to explain how to execute and
29240         enhance the benchmark tests.
29242 2013-05-21  Andreas Schwab  <schwab@suse.de>
29244         [BZ #15493]
29245         * setjmp/Makefile (tests): Add tst-sigsetjmp.
29246         * setjmp/tst-sigsetjmp.c: New test.
29248 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29250         * sysdeps/x86_64/memset.S (memset): New implementation.
29251         (__bzero): Likewise.
29252         (__memset_tail): New function.
29254 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29256         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29257         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29258         __memcpy_sse2_unaligned ifunc selection.
29259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29260         Add memcpy-sse2-unaligned.S.
29261         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29262         Add: __memcpy_sse2_unaligned.
29264 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
29266         [BZ #15490]
29267         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29268         math_force_eval before restoring floating-point envrionment.
29269         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29270         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29271         Likewise.
29272         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29273         <math_private.h>.
29274         (__nearbyintl): Use math_force_eval before restoring
29275         floating-point environment.
29276         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29278         * math/gen-libm-test.pl (special_functions): Remove.
29279         (parse_args): Don't handle TEST_extra.  Handle functions with no
29280         return value.
29281         * math/libm-test.inc (struct test_sincos_data): Replace with
29282         struct test_fFF_11_data.
29283         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29284         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29285         (sincos_test_data): Change element type to struct
29286         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
29287         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29288         RUN_TEST_LOOP_sincos.
29289         * math/README.libm-test: Don't mention special handling of
29290         individual functions.
29291         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29292         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29293         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29294         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29295         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29298         * math/gen-libm-test.pl (get_variable): Remove function.
29299         (parse_args): Don't show pointer parameters to call in test
29300         names.  Use "extra output N" in test names for extra outputs
29301         rather than naming variables.
29303 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
29305         [BZ #15488]
29306         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29307         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29308         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29309         double tests.
29310         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29311         disable.
29312         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29313         check_long_double.
29315         * math/gen-libm-test.pl (@tests): Remove variable.
29316         ($count): Likewise.
29317         (new_test): Remove function.
29318         (show_exceptions): New function.
29319         (special_functions): Use show_exceptions instead of new_test.
29320         (parse_args): Likewise.
29321         (generate_testfile): Pass only function name in generated call to
29322         print_max_error or print_complex_max_error.
29323         (get_ulps): Do not handle complex tests specially.
29324         (output_test): Rename to ...
29325         (get_all_ulps_for_test): ... this.  Return a string rather than
29326         printing to a file.  Require ulps to be present.
29327         (output_ulps): Generate arrays rather than #defines.
29328         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29329         (struct ulp_data): New type.
29330         (BUILD_COMPLEX_ULP): Remove macro.
29331         (compare_ulp_data): New function.
29332         (find_ulps): Likewise.
29333         (find_test_ulps): Likewise.
29334         (find_function_ulps): Likewise.
29335         (find_complex_function_ulps): Likewise.
29336         (print_max_error): Determine allowed ulps using
29337         find_function_ulps.
29338         (print_complex_max_error): Determine allowed ulps using
29339         find_complex_function_ulps.
29340         (check_float_internal): Determine max ulps using find_test_ulps.
29341         (check_float): Do not take max_ulp parameter.  Update call to
29342         check_float_internal.
29343         (check_complex): Likewise.
29344         (check_int): Do not take max_ulp parameter.
29345         (check_long): Likewise.
29346         (check_bool): Likewise.
29347         (check_longlong): Likewise.
29348         (struct test_f_f_data): Remove max_ulp field.
29349         (struct test_ff_f_data): Likewise.
29350         (struct test_ff_f_data_nexttoward): Likewise.
29351         (struct test_fi_f_data): Likewise.
29352         (struct test_fl_f_data): Likewise.
29353         (struct test_if_f_data): Likewise.
29354         (struct test_fff_f_data): Likewise.
29355         (struct test_c_f_data): Likewise.
29356         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29357         (struct test_fF_f1_data): Likewise.
29358         (struct test_ffI_f1_data): Likewise.
29359         (struct test_c_c_data): Remove max_ulp field.
29360         (struct test_cc_c_data): Likewise.
29361         (struct test_f_i_data): Likewise.
29362         (struct test_ff_i_data): Likewise.
29363         (struct test_f_l_data): Likewise.
29364         (struct test_f_L_data): Likewise.
29365         (struct test_sincos_data): Likewise.
29366         (RUN_TEST_f_f): Do not handle ulps.
29367         (RUN_TEST_LOOP_f_f): Likewise.
29368         (RUN_TEST_2_f): Likewise.
29369         (RUN_TEST_LOOP_2_f): Likewise.
29370         (RUN_TEST_fff_f): Likewise.
29371         (RUN_TEST_LOOP_fff_f): Likewise.
29372         (RUN_TEST_c_f): Likewise.
29373         (RUN_TEST_LOOP_c_f): Likewise.
29374         (RUN_TEST_f_f1): Likewise.
29375         (RUN_TEST_LOOP_f_f1): Likewise.
29376         (RUN_TEST_fF_f1): Likewise.
29377         (RUN_TEST_LOOP_fF_f1): Likewise.
29378         (RUN_TEST_fI_f1): Likewise.
29379         (RUN_TEST_LOOP_fI_f1): Likewise.
29380         (RUN_TEST_ffI_f1): Likewise.
29381         (RUN_TEST_LOOP_ffI_f1): Likewise.
29382         (RUN_TEST_c_c): Likewise.
29383         (RUN_TEST_LOOP_c_c): Likewise.
29384         (RUN_TEST_cc_c): Likewise.
29385         (RUN_TEST_LOOP_cc_c): Likewise.
29386         (RUN_TEST_f_i): Likewise.
29387         (RUN_TEST_LOOP_f_i): Likewise.
29388         (RUN_TEST_f_i_tg): Likewise.
29389         (RUN_TEST_LOOP_f_i_tg): Likewise.
29390         (RUN_TEST_ff_i_tg): Likewise.
29391         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29392         (RUN_TEST_f_b): Likewise.
29393         (RUN_TEST_LOOP_f_b): Likewise.
29394         (RUN_TEST_f_b_tg): Likewise.
29395         (RUN_TEST_LOOP_f_b_tg): Likewise.
29396         (RUN_TEST_f_l): Likewise.
29397         (RUN_TEST_LOOP_f_l): Likewise.
29398         (RUN_TEST_f_L): Likewise.
29399         (RUN_TEST_LOOP_f_L): Likewise.
29400         (RUN_TEST_sincos): Likewise.
29401         (RUN_TEST_LOOP_sincos): Likewise.
29403 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
29405         [BZ #15480]
29406         [BZ #15485]
29407         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29408         main case of finite arguments, set rounding mode to FE_TONEAREST
29409         and discard exceptions.
29410         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29411         exceptions.
29412         (remainder_tonearest_test_data): New variable.
29413         (remainder_test_tonearest): New function.
29414         (remainder_towardzero_test_data): New variable.
29415         (remainder_test_towardzero): New function.
29416         (remainder_downward_test_data): New variable.
29417         (remainder_test_downward): New function.
29418         (remainder_upward_test_data): New variable.
29419         (remainder_test_upward): New function.
29420         (main): Call the new test functions.
29422         * math/libm-test.inc (struct test_f_f1_data): Remove field
29423         extra_init.
29424         (struct test_fF_f1_data): Likewise.
29425         (struct test_ffI_f1_data): Likewise.
29426         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
29427         based on value of EXTRA_EXPECTED.
29428         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29429         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
29430         EXTRA_VAR based on value of EXTRA_EXPECTED.
29431         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29432         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
29433         EXTRA_VAR based on value of EXTRA_EXPECTED.
29434         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29435         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
29436         EXTRA_VAR based on value of EXTRA_EXPECTED.
29437         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29438         * math/gen-libm-test.pl (parse_args): Don't output initializers
29439         for extra output values.
29441         * math/libm-test.inc (check_int): Expect result to be exactly
29442         equal to expected value and do not handle ulps.
29443         (check_long): Likewise.
29444         (check_longlong): Likewise.
29446         * math/libm-test.inc (ceil_test_data): Test for "inexact"
29447         exceptions.
29448         (cimag_test_data): Likewise.
29449         (conj_test_data): Likewise.
29450         (copysign_test_data): Likewise.
29451         (cproj_test_data): Likewise.
29452         (creal_test_data): Likewise.
29453         (fabs_test_data): Likewise.
29454         (fdim_test_data): Likewise.
29455         (finite_test_data): Likewise.
29456         (floor_test_data): Likewise.
29457         (fmax_test_data): Likewise.
29458         (fmin_test_data): Likewise.
29459         (fmod_test_data): Likewise.
29460         (fpclassify_test_data): Likewise.
29461         (frexp_test_data): Likewise.
29462         (ilogb_test_data): Likewise.
29463         (isfinite_test_data): Likewise.
29464         (isgreater_test_data): Likewise.
29465         (isgreaterequal_test_data): Likewise.
29466         (isinf_test_data): Likewise.
29467         (isless_test_data): Likewise.
29468         (islessequal_test_data): Likewise.
29469         (islessgreater_test_data): Likewise.
29470         (isnan_test_data): Likewise.
29471         (isnormal_test_data): Likewise.
29472         (issignaling_test_data): Likewise.
29473         (isunordered_test_data): Likewise.
29474         (ldexp_test_data): Likewise.
29475         (lrint_test_data): Likewise.
29476         (lrint_test_data) [TEST_FLOAT]: Disable one test.
29477         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29478         (lrint_tonearest_test_data): Test for "inexact" exceptions.
29479         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29480         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29481         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29482         test input.
29483         (lrint_towardzero_test_data): Test for "inexact" exceptions.
29484         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29485         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29486         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29487         that test input.
29488         (lrint_downward_test_data): Test for "inexact" exceptions.
29489         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29490         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29491         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29492         test input.
29493         (lrint_upward_test_data): Test for "inexact" exceptions.
29494         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29495         test input.
29496         (llrint_test_data): Test for "inexact" exceptions.
29497         (llrint_test_data) [TEST_FLOAT]: Disable one test.
29498         (llrint_tonearest_test_data): Test for "inexact" exceptions.
29499         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29500         (llrint_towardzero_test_data): Test for "inexact" exceptions.
29501         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29502         (llrint_downward_test_data): Test for "inexact" exceptions.
29503         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29504         (llrint_upward_test_data): Test for "inexact" exceptions.
29505         (logb_test_data): Likewise.
29506         (logb_downward_test_data): Likewise.
29507         (nextafter_test_data): Likewise.
29508         (nexttoward_test_data): Likewise.
29509         (remainder_test_data): Likewise.
29510         (remquo_test_data): Likewise.
29511         (scalbn_test_data): Likewise.
29512         (scalbln_test_data): Likewise.
29513         (signbit_test_data): Likewise.
29514         (sqrt_test_data): Likewise.
29515         (significand_test_data): Likewise.
29517 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29519         [BZ #15424]
29520         * benchtests/bench-modf.c (struct args): Mark arg0 as
29521         volatile.
29522         * scripts/bench.pl: Mark members of struct args as volatile.
29524 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29526         [BZ # 15497]
29527         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
29528         negative infinity on POWER6 or lower.
29529         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
29531 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
29533         [BZ #15442]
29534         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
29535         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
29536         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
29537         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
29538         (_FP_SETQNAN): New macro.
29539         (_FP_SETQNAN_SEMIRAW): Likewise.
29540         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
29541         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
29542         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
29543         (FP_EXTEND): Use _FP_FRAC_SNANP.
29544         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
29545         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
29546         into account.
29547         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29548         New macro.
29549         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29550         Likewise.
29552 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29554         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
29555         with DIVIDE_BY_ZERO_EXCEPTION.
29556         (gamma_test_data): Likewise.
29557         (lgamma_test_data): Likewise.
29558         (log_test_data): Likewise.
29559         (log10_test_data): Likewise.
29560         (log2_test_data): Likewise.
29561         (tgamma_test_data): Likewise.
29563         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
29564         (acos_test_tonearest): Likewise.
29565         (acos_test_towardzero): Likewise.
29566         (acos_test_downward): Likewise.
29567         (acos_test_upward): Likewise.
29568         (acosh_test): Likewise.
29569         (asin_test): Likewise.
29570         (asin_test_tonearest): Likewise.
29571         (asin_test_towardzero): Likewise.
29572         (asin_test_downward): Likewise.
29573         (asin_test_upward): Likewise.
29574         (asinh_test): Likewise.
29575         (atan_test): Likewise.
29576         (atanh_test): Likewise.
29577         (atan2_test): Likewise.
29578         (cabs_test): Likewise.
29579         (cacos_test): Likewise.
29580         (cacosh_test): Likewise.
29581         (casin_test): Likewise.
29582         (casinh_test): Likewise.
29583         (catan_test): Likewise.
29584         (catanh_test): Likewise.
29585         (cbrt_test): Likewise.
29586         (ccos_test): Likewise.
29587         (ccosh_test): Likewise.
29588         (cexp_test): Likewise.
29589         (clog_test): Likewise.
29590         (clog10_test): Likewise.
29591         (cos_test): Likewise.
29592         (cos_test_tonearest): Likewise.
29593         (cos_test_towardzero): Likewise.
29594         (cos_test_downward): Likewise.
29595         (cos_test_upward): Likewise.
29596         (cosh_test): Likewise.
29597         (cosh_test_tonearest): Likewise.
29598         (cosh_test_towardzero): Likewise.
29599         (cosh_test_downward): Likewise.
29600         (cosh_test_upward): Likewise.
29601         (cpow_test): Likewise.
29602         (csin_test): Likewise.
29603         (csinh_test): Likewise.
29604         (csqrt_test): Likewise.
29605         (ctan_test): Likewise.
29606         (ctan_test_tonearest): Likewise.
29607         (ctan_test_towardzero): Likewise.
29608         (ctan_test_downward): Likewise.
29609         (ctan_test_upward): Likewise.
29610         (ctanh_test): Likewise.
29611         (ctanh_test_tonearest): Likewise.
29612         (ctanh_test_towardzero): Likewise.
29613         (ctanh_test_downward): Likewise.
29614         (ctanh_test_upward): Likewise.
29615         (erf_test): Likewise.
29616         (erfc_test): Likewise.
29617         (exp_test): Likewise.
29618         (exp_test_tonearest): Likewise.
29619         (exp_test_towardzero): Likewise.
29620         (exp_test_downward): Likewise.
29621         (exp_test_upward): Likewise.
29622         (exp10_test): Likewise.
29623         (exp2_test): Likewise.
29624         (expm1_test): Likewise.
29625         (fmod_test): Likewise.
29626         (gamma_test): Likewise.
29627         (hypot_test): Likewise.
29628         (j0_test): Likewise.
29629         (j1_test): Likewise.
29630         (jn_test): Likewise.
29631         (lgamma_test): Likewise.
29632         (log_test): Likewise.
29633         (log10_test): Likewise.
29634         (log1p_test): Likewise.
29635         (log2_test): Likewise.
29636         (logb_test_downward): Likewise.
29637         (pow_test): Likewise.
29638         (pow_test_tonearest): Likewise.
29639         (pow_test_towardzero): Likewise.
29640         (pow_test_downward): Likewise.
29641         (pow_test_upward): Likewise.
29642         (remainder_test): Likewise.
29643         (remquo_test): Likewise.
29644         (sin_test): Likewise.
29645         (sin_test_tonearest): Likewise.
29646         (sin_test_towardzero): Likewise.
29647         (sin_test_downward): Likewise.
29648         (sin_test_upward): Likewise.
29649         (sincos_test): Likewise.
29650         (sinh_test): Likewise.
29651         (sinh_test_tonearest): Likewise.
29652         (sinh_test_towardzero): Likewise.
29653         (sinh_test_downward): Likewise.
29654         (sinh_test_upward): Likewise.
29655         (sqrt_test): Likewise.
29656         (tan_test): Likewise.
29657         (tan_test_tonearest): Likewise.
29658         (tan_test_towardzero): Likewise.
29659         (tan_test_downward): Likewise.
29660         (tan_test_upward): Likewise.
29661         (tanh_test): Likewise.
29662         (tgamma_test): Likewise.
29663         (y0_test): Likewise.
29664         (y1_test): Likewise.
29665         (yn_test): Likewise.
29667         * math/gen-libm-test.pl (adjust_arg): Remove function.
29668         (special_function): Remove argument $in_func.  Only handle
29669         generating output for tables of tests, not inside functions.
29670         (parse_args): Likewise.
29671         (generate_testfile): Remove variable $in_func.  Update call to
29672         parse_args.
29673         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29674         (MINUS_ZERO_INIT): Rename macro to minus_zero.
29675         (PLUS_INFTY_INIT): Rename macro to plus_infty.
29676         (MINUS_INFTY_INIT): Rename macro to minus_infty.
29677         (QNAN_VALUE_INIT): Rename macro to qnan_value.
29678         (MAX_VALUE_INIT): Rename macro to max_value.
29679         (MIN_VALUE_INIT): Rename macro to min_value.
29680         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29681         (plus_zero): Remove variable.
29682         (minus_zero): Likewise.
29683         (plus_infty): Likewise.
29684         (minus_infty): Likewise.
29685         (qnan_value): Likewise.
29686         (max_value): Likewise.
29687         (min_value): Likewise.
29688         (min_subnorm_value): Likewise.
29690 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29692         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29693         uint64_t or uint32_t usage.
29694         * crypt/sha256-block.c: Likewise.
29695         * crypt/sha256-crypt.c: Likewise.
29696         * crypt/sha256.c: Likewise.
29697         * crypt/sha512-block.c: Likewise.
29698         * crypt/sha512-crypt.c: Likewise.
29699         * crypt/sha512.c: Likewise.
29700         * debug/backtrace-tst.c: Likewise.
29701         * debug/pcprofiledump.c: Likewise.
29702         * elf/cache.c: Likewise.
29703         * elf/dl-cache.c: Likewise.
29704         * elf/dl-misc.c: Likewise.
29705         * elf/dl-profile.c: Likewise.
29706         * elf/dl-support.c: Likewise.
29707         * elf/ldconfig.c: Likewise.
29708         * elf/sprof.c: Likewise.
29709         * iconv/dummy-repertoire.c: Likewise.
29710         * iconv/iconv_charmap.c: Likewise.
29711         * iconv/skeleton.c: Likewise.
29712         * iconvdata/8bit-generic.c: Likewise.
29713         * iconvdata/cp737.h: Likewise.
29714         * iconvdata/cp775.h: Likewise.
29715         * iconvdata/ibm1008.h: Likewise.
29716         * iconvdata/ibm1025.h: Likewise.
29717         * iconvdata/ibm1046.h: Likewise.
29718         * iconvdata/ibm1097.h: Likewise.
29719         * iconvdata/ibm1112.h: Likewise.
29720         * iconvdata/ibm1122.h: Likewise.
29721         * iconvdata/ibm1123.h: Likewise.
29722         * iconvdata/ibm1124.h: Likewise.
29723         * iconvdata/ibm1129.h: Likewise.
29724         * iconvdata/ibm1130.h: Likewise.
29725         * iconvdata/ibm1132.h: Likewise.
29726         * iconvdata/ibm1133.h: Likewise.
29727         * iconvdata/ibm1137.h: Likewise.
29728         * iconvdata/ibm1140.h: Likewise.
29729         * iconvdata/ibm1141.h: Likewise.
29730         * iconvdata/ibm1142.h: Likewise.
29731         * iconvdata/ibm1143.h: Likewise.
29732         * iconvdata/ibm1144.h: Likewise.
29733         * iconvdata/ibm1145.h: Likewise.
29734         * iconvdata/ibm1146.h: Likewise.
29735         * iconvdata/ibm1147.h: Likewise.
29736         * iconvdata/ibm1148.h: Likewise.
29737         * iconvdata/ibm1149.h: Likewise.
29738         * iconvdata/ibm1153.h: Likewise.
29739         * iconvdata/ibm1154.h: Likewise.
29740         * iconvdata/ibm1155.h: Likewise.
29741         * iconvdata/ibm1156.h: Likewise.
29742         * iconvdata/ibm1157.h: Likewise.
29743         * iconvdata/ibm1158.h: Likewise.
29744         * iconvdata/ibm1160.h: Likewise.
29745         * iconvdata/ibm1161.h: Likewise.
29746         * iconvdata/ibm1162.h: Likewise.
29747         * iconvdata/ibm1163.h: Likewise.
29748         * iconvdata/ibm1164.h: Likewise.
29749         * iconvdata/ibm1166.h: Likewise.
29750         * iconvdata/ibm1167.h: Likewise.
29751         * iconvdata/ibm12712.h: Likewise.
29752         * iconvdata/ibm1390.h: Likewise.
29753         * iconvdata/ibm1399.h: Likewise.
29754         * iconvdata/ibm16804.h: Likewise.
29755         * iconvdata/ibm4517.h: Likewise.
29756         * iconvdata/ibm4899.h: Likewise.
29757         * iconvdata/ibm4909.h: Likewise.
29758         * iconvdata/ibm4971.h: Likewise.
29759         * iconvdata/ibm5347.h: Likewise.
29760         * iconvdata/ibm803.h: Likewise.
29761         * iconvdata/ibm856.h: Likewise.
29762         * iconvdata/ibm901.h: Likewise.
29763         * iconvdata/ibm902.h: Likewise.
29764         * iconvdata/ibm9030.h: Likewise.
29765         * iconvdata/ibm9066.h: Likewise.
29766         * iconvdata/ibm921.h: Likewise.
29767         * iconvdata/ibm922.h: Likewise.
29768         * iconvdata/ibm9448.h: Likewise.
29769         * iconvdata/isiri-3342.h: Likewise.
29770         * iconvdata/jis0201.h: Likewise.
29771         * include/link.h: Likewise.
29772         * include/netdb.h: Likewise.
29773         * inet/check_native.c: Likewise.
29774         * inet/check_pf.c: Likewise.
29775         * inet/getipv4sourcefilter.c: Likewise.
29776         * inet/getnameinfo.c: Likewise.
29777         * inet/getsourcefilter.c: Likewise.
29778         * inet/htonl.c: Likewise.
29779         * inet/setipv4sourcefilter.c: Likewise.
29780         * inet/setsourcefilter.c: Likewise.
29781         * inet/test-inet6_opt.c: Likewise.
29782         * inet/tst-network.c: Likewise.
29783         * locale/C-collate.c: Likewise.
29784         * locale/C-ctype.c: Likewise.
29785         * locale/C-time.c: Likewise.
29786         * locale/C-translit.h: Likewise.
29787         * locale/loadarchive.c: Likewise.
29788         * locale/programs/3level.h: Likewise.
29789         * locale/programs/charmap.c: Likewise.
29790         * locale/programs/charmap.h: Likewise.
29791         * locale/programs/ld-address.c: Likewise.
29792         * locale/programs/ld-collate.c: Likewise.
29793         * locale/programs/ld-ctype.c: Likewise.
29794         * locale/programs/ld-identification.c: Likewise.
29795         * locale/programs/ld-measurement.c: Likewise.
29796         * locale/programs/ld-messages.c: Likewise.
29797         * locale/programs/ld-monetary.c: Likewise.
29798         * locale/programs/ld-name.c: Likewise.
29799         * locale/programs/ld-numeric.c: Likewise.
29800         * locale/programs/ld-paper.c: Likewise.
29801         * locale/programs/ld-telephone.c: Likewise.
29802         * locale/programs/ld-time.c: Likewise.
29803         * locale/programs/linereader.c: Likewise.
29804         * locale/programs/locale.c: Likewise.
29805         * locale/programs/locarchive.c: Likewise.
29806         * locale/programs/locfile.h: Likewise.
29807         * locale/programs/repertoire.c: Likewise.
29808         * locale/programs/simple-hash.c: Likewise.
29809         * locale/programs/simple-hash.h: Likewise.
29810         * malloc/memusage.c: Likewise.
29811         * malloc/memusagestat.c: Likewise.
29812         * nis/nis_defaults.c: Likewise.
29813         * nis/nis_hash.c: Likewise.
29814         * nis/nis_print.c: Likewise.
29815         * nis/nis_xdr.c: Likewise.
29816         * nscd/connections.c: Likewise.
29817         * nscd/hstcache.c: Likewise.
29818         * nscd/nscd_gethst_r.c: Likewise.
29819         * nscd/nscd_getserv_r.c: Likewise.
29820         * nscd/nscd_helper.c: Likewise.
29821         * nscd/servicescache.c: Likewise.
29822         * nss/makedb.c: Likewise.
29823         * nss/nss_db/db-XXX.c: Likewise.
29824         * nss/nss_db/db-initgroups.c: Likewise.
29825         * nss/nss_db/db-netgrp.c: Likewise.
29826         * nss/nss_files/files-network.c: Likewise.
29827         * nss/nss_files/files-parse.c: Likewise.
29828         * posix/bug-regex5.c: Likewise.
29829         * posix/fnmatch_loop.c: Likewise.
29830         * posix/regcomp.c: Likewise.
29831         * posix/regexec.c: Likewise.
29832         * posix/tst-rfc3484-2.c: Likewise.
29833         * posix/tst-rfc3484-3.c: Likewise.
29834         * posix/tst-rfc3484.c: Likewise.
29835         * resolv/nss_dns/dns-canon.c: Likewise.
29836         * resolv/nss_dns/dns-network.c: Likewise.
29837         * resolv/res_init.c: Likewise.
29838         * resolv/res_mkquery.c: Likewise.
29839         * resolv/tst-aton.c: Likewise.
29840         * stdlib/cxa_atexit.c: Likewise.
29841         * stdlib/cxa_finalize.c: Likewise.
29842         * stdlib/gen-fpioconst.c: Likewise.
29843         * stdlib/strtol_l.c: Likewise.
29844         * string/tst-endian.c: Likewise.
29845         * sunrpc/auth_des.c: Likewise.
29846         * sunrpc/clnt_udp.c: Likewise.
29847         * sunrpc/rtime.c: Likewise.
29848         * sunrpc/svcauth_des.c: Likewise.
29849         * sunrpc/xdr.c: Likewise.
29850         * sunrpc/xdr_intXX_t.c: Likewise.
29851         * sunrpc/xdr_rec.c: Likewise.
29852         * sysdeps/generic/ldconfig.h: Likewise.
29853         * sysdeps/generic/ldsodefs.h: Likewise.
29854         * sysdeps/generic/memusage.h: Likewise.
29855         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29856         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29857         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29858         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29859         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29860         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29861         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29862         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29863         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29864         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29865         * sysdeps/posix/getaddrinfo.c: Likewise.
29866         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29867         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29868         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29869         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29870         * sysdeps/powerpc/test-gettimebase.c: Likewise.
29871         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29872         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29873         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29874         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29875         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29876         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29877         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29878         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29879         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29880         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29881         * sysdeps/x86_64/dl-tls.h: Likewise.
29882         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29883         * time/alt_digit.c: Likewise.
29884         * time/era.c: Likewise.
29885         * wcsmbs/tst-c16c32-1.c: Likewise.
29887 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29889         * math/libm-test.inc (struct test_sincos_data): New type.
29890         (RUN_TEST_LOOP_sincos): New macro.
29891         (sincos_test_data): New variable.
29892         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29894 2013-05-16  Richard Henderson  <rth@redhat.com>
29896         * math/atest-exp2.c (LIMB64): New macro.
29897         (CONSTSZ): New macro.
29898         (mp_exp1, mp_exp_m1, mp_log2): New variables.
29899         (hexdig): Move ...
29900         (print_mpn_fp): ... to function scope.
29901         (read_mpn_hex): Remove.
29902         (get_log2): Remove.
29903         (exp2_mpn): Use mp_log2.
29904         (main): Use mp_exp1.
29906 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29908         * math/libm-test.inc: Remove comment about not testing "inexact"
29909         exceptions.
29910         (INEXACT_EXCEPTION): New macro.
29911         (NO_INEXACT_EXCEPTION): Likewise.
29912         (INVALID_EXCEPTION_OK): Update value.
29913         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29914         (OVERFLOW_EXCEPTION_OK): Likewise.
29915         (UNDERFLOW_EXCEPTION_OK): Likewise.
29916         (IGNORE_ZERO_INF_SIGN): Likewise.
29917         (ERRNO_UNCHANGED): Likewise.
29918         (ERRNO_EDOM): Likewise.
29919         (ERRNO_ERANGE): Likewise.
29920         (test_exceptions): Handle testing "inexact" exceptions.
29921         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29922         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29923         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29924         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29925         INEXACT_EXCEPTION.
29926         (rint_towardzero_test_data): Likewise.
29927         (rint_downward_test_data): Likewise.
29928         (rint_upward_test_data): Likewise.
29930         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29931         with OVERFLOW_EXCEPTION.
29932         (exp10_test_data): Likewise.
29933         (exp2_test_data): Likewise.
29934         (expm1_test_data): Likewise.
29935         (lgamma_test_data): Likewise.
29936         (pow_test_data): Likewise.
29937         (tgamma_test_data): Likewise.
29938         (yn_test_data): Remove duplicate test of overflow.
29940         * math/libm-test.inc (struct test_cc_c_data): New type.
29941         (RUN_TEST_LOOP_cc_c): New macro.
29942         (cpow_test_data): New variable.
29943         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29945         * math/libm-test.inc (struct test_f_L_data): New type.
29946         (RUN_TEST_LOOP_f_L): New macro.
29947         (llrint_test_data): New variable.
29948         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29949         (llrint_tonearest_test_data): New variable.
29950         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29951         (llrint_towardzero_test_data): New variable.
29952         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29953         (llrint_downward_test_data): New variable.
29954         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29955         (llrint_upward_test_data): New variable.
29956         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29957         (llround_test_data): New variable.
29958         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29960 2013-05-13  Peter Collingbourne  <pcc@google.com>
29962         * math/atest-exp2.c (get_log2): Remove const attribute.
29964 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
29966         * math/libm-test.inc (struct test_f_l_data): New type.
29967         (RUN_TEST_LOOP_f_l): New macro.
29968         (lrint_test_data): New variable.
29969         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29970         (lrint_tonearest_test_data): New variable.
29971         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29972         (lrint_towardzero_test_data): New variable.
29973         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29974         (lrint_downward_test_data): New variable.
29975         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29976         (lrint_upward_test_data): New variable.
29977         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29978         (lround_test_data): New variable.
29979         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29981 2013-05-15  Peter Collingbourne  <pcc@google.com>
29983         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29984         (EXTRACT_WORDS64) Use where appropriate.
29985         (INSERT_WORDS64) Likewise.
29987         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29988         constraints with x constraints.
29989         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29991         * malloc/obstack.c (_obstack_compat): Add initializer.
29993 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29995         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29996         si_trapno and add si_addr_lsb to _sifields.sigfault.
29997         (si_trapno): Remove macro.
29998         (si_addr_lsb): Define new macro.
29999         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30001 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
30003         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30004         instead of TEST_f_l.
30005         (llrint_test_tonearest): Likewise.
30006         (llrint_test_towardzero): Likewise.
30007         (llrint_test_downward): Likewise.
30008         (llrint_test_upward): Likewise.
30009         (llround_test): Likewise.
30011         * math/libm-test.inc (struct test_f_i_data): Add comment.
30012         (RUN_TEST_LOOP_f_b): New macro.
30013         (RUN_TEST_LOOP_f_b_tg): Likewise.
30014         (finite_test_data): New variable.
30015         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30016         (isfinite_test_data): New variable.
30017         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30018         (isinf_test_data): New variable.
30019         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30020         (isnan_test_data): New variable.
30021         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30022         (isnormal_test_data): New variable.
30023         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30024         (issignaling_test_data): New variable.
30025         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30026         (signbit_test_data): New variable.
30027         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30029         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30030         with INVALID_EXCEPTION.
30031         (acosh_test_data): Likewise.
30032         (asin_test_data): Likewise.
30033         (atanh_test_data): Likewise.
30034         (fmod_test_data): Likewise.
30035         (log_test_data): Likewise.
30036         (log10_test_data): Likewise.
30037         (log2_test_data): Likewise.
30038         (pow_test_data): Likewise.
30039         (sqrt_test_data): Likewise.
30040         (y0_test_data): Likewise.
30041         (y1_test_data): Likewise.
30042         (yn_test_data): Likewise.
30044         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30045         function contents.
30047         * math/libm-test.inc (struct test_ff_i_data): New type.
30048         (RUN_TEST_LOOP_ff_i_tg): New macro.
30049         (isgreater_test_data): New variable.
30050         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30051         (isgreaterequal_test_data): New variable.
30052         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30053         (isless_test_data): New variable.
30054         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30055         (islessequal_test_data): New variable.
30056         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30057         (islessgreater_test_data): New variable.
30058         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30059         (isunordered_test_data): New variable.
30060         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30062 2013-05-14  David S. Miller  <davem@davemloft.net>
30064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30066 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
30068         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30070         * math/libm-test.inc (struct test_fF_f1_data): Change type of
30071         extra_test to int.
30072         (struct test_f_i_data): Change type of max_ulp to int.
30074         * math/libm-test.inc (test_ffI_f1_data): New type.
30075         (RUN_TEST_LOOP_ffI_f1): New macro.
30076         (remquo_test_data): New variable.
30077         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30079         * setjmp/tst-setjmp-fp.c: New file.
30080         * setjmp/Makefile (tests): Add tst-setjmp-fp.
30081         (link-libm): New variable.
30082         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30084         * math/libm-test.inc (struct test_f_i_data): New type.
30085         (RUN_TEST_LOOP_f_i): New macro.
30086         (RUN_TEST_LOOP_f_i_tg): Likewise.
30087         (fpclassify_test_data): New variable.
30088         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30089         (ilogb_test_data): New variable.
30090         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30092         * math/libm-test.inc (scalbln_test): Correct function name in END
30093         call.
30095         * math/libm-test.inc (struct test_f_f1_data): Add comment.
30096         (RUN_TEST_LOOP_fI_f1): New macro.
30097         (frexp_test_data): New variable.
30098         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30100         * math/libm-test.inc (struct test_fF_f1_data): New type.
30101         (RUN_TEST_LOOP_fF_f1): New macro.
30102         (modf_test_data): New variable.
30103         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30105         * math/libm-test.inc (struct test_f_f1_data): New type.
30106         (RUN_TEST_LOOP_f_f1): New macro.
30107         (gamma_test_data): New variable.
30108         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30109         (lgamma_test_data): New variable.
30110         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30112 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
30114         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30115         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30116         (main): Comment "tls" pseudo-hwcap.
30118 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
30120         * math/libm-test.inc (struct test_fl_f_data): New type.
30121         (RUN_TEST_LOOP_fl_f): New variable.
30122         (scalbln_test_data): New variable.
30123         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
30125         * math/libm-test.inc (struct test_fi_f_data): New type.
30126         (RUN_TEST_LOOP_fi_f): New macro.
30127         (ldexp_test_data): New variable.
30128         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
30129         (scalbn_test_data): New variable.
30130         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30132         * math/libm-test.inc (struct test_c_f_data): New type.
30133         (RUN_TEST_LOOP_c_f): New macro.
30134         (cabs_test_data): New variable.
30135         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
30136         (carg_test_data): New variable.
30137         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
30138         (cimag_test_data): New variable.
30139         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
30140         (creal_test_data): New variable.
30141         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
30143         * math/libm-test.inc (struct test_if_f_data): New type.
30144         (RUN_TEST_LOOP_if_f): New macro.
30145         (jn_test_data): New variable.
30146         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
30147         (yn_test_data): New variable.
30148         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
30150         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30152 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30154         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30155         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30157 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30159         * benchtests/Makefile (CPPFLAGS-nonlib): Add
30160         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30161         (bench-deps): Add bench-timing.h.
30162         * benchtests-bench-skeleton.c: Include bench-timing.h.
30163         (main): Use TIMING_* macros instead of clock_gettime.
30164         * benchtests/bench-timing.h: New file.
30166         [BZ #14582]
30167         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30168         Renamed from _LIB_VERSION.
30169         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30171 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
30173         * math/libm-test.inc (struct test_fff_f_data): New type.
30174         (RUN_TEST_LOOP_fff_f): New macro.
30175         (fma_test_data): New variable.
30176         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30177         (fma_towardzero_test_data): New variable.
30178         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30179         (fma_downward_test_data): New variable.
30180         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30181         (fma_upward_test_data): New variable.
30182         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30184         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30185         (struct test_c_c_data): New type.
30186         (RUN_TEST_LOOP_c_c): New macro.
30187         (cacos_test_data): New variable.
30188         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30189         (cacosh_test_data): New variable.
30190         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30191         (casin_test_data): New variable.
30192         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30193         (casinh_test_data): New variable.
30194         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30195         (catan_test_data): New variable.
30196         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30197         (catanh_test_data): New variable.
30198         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30199         (ccos_test_data): New variable.
30200         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30201         (ccosh_test_data): New variable.
30202         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30203         (cexp_test_data): New variable.
30204         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30205         (clog_test_data): New variable.
30206         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30207         (clog10_test_data): New variable.
30208         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30209         (conj_test_data): New variable.
30210         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30211         (cproj_test_data): New variable.
30212         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30213         (csin_test_data): New variable.
30214         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30215         (csinh_test_data): New variable.
30216         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30217         (csqrt_test_data): New variable.
30218         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30219         (ctan_test_data): New variable.
30220         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30221         (ctan_tonearest_test_data): New variable.
30222         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30223         (ctan_towardzero_test_data): New variable.
30224         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30225         (ctan_downward_test_data): New variable.
30226         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30227         (ctan_upward_test_data): New variable.
30228         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30229         (ctanh_test_data): New variable.
30230         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30231         (ctanh_tonearest_test_data): New variable.
30232         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30233         (ctanh_towardzero_test_data): New variable.
30234         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30235         (ctanh_downward_test_data): New variable.
30236         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30237         (ctanh_upward_test_data): New variable.
30238         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30239         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30240         of BUILD_COMPLEX.
30242         * math/libm-test.inc (struct test_ff_f_data): New type.
30243         (struct test_ff_f_data_nexttoward): Likewise.
30244         (RUN_TEST_LOOP_2_f): New macro.
30245         (RUN_TEST_LOOP_ff_f): Likewise.
30246         (atan2_test_data): New variable.
30247         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30248         (copysign_test_data): New variable.
30249         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30250         (fdim_test_data): New variable.
30251         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30252         (fmax_test_data): New variable.
30253         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30254         (fmin_test_data): New variable.
30255         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30256         (fmod_test_data): New variable.
30257         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30258         (hypot_test_data): New variable.
30259         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30260         (nextafter_test_data): New variable.
30261         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30262         (nexttoward_test_data): New variable.
30263         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30264         (pow_test_data): New variable.
30265         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30266         (pow_tonearest_test_data): New variable.
30267         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30268         (pow_towardzero_test_data): New variable.
30269         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30270         (pow_downward_test_data): New variable.
30271         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30272         (pow_upward_test_data): New variable.
30273         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30274         (remainder_test_data): New variable.
30275         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30276         (scalb_test_data): New variable.
30277         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30278         * sysdeps/i386/fpu/libm-test-ulps: Update.
30280 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
30282         * math/libm-test.inc (fma_test): Use max_value instead of local
30283         variable fltmax.
30284         (nextafter_test): Likewise.
30286         * math/libm-test.inc (acos_towardzero_test_data): New variable.
30287         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30288         (acos_downward_test_data): New variable.
30289         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30290         (acos_upward_test_data): New variable.
30291         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30292         (acosh_test_data): New variable.
30293         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30294         (asin_test_data): New variable.
30295         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30296         (asin_tonearest_test_data): New variable.
30297         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30298         (asin_towardzero_test_data): New variable.
30299         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30300         (asin_downward_test_data): New variable.
30301         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30302         (asin_upward_test_data): New variable.
30303         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30304         (asinh_test_data): New variable.
30305         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30306         (atan_test_data): New variable.
30307         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30308         (atanh_test_data): New variable.
30309         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30310         (cbrt_test_data): New variable.
30311         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30312         (ceil_test_data): New variable.
30313         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30314         (cos_test_data): New variable.
30315         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30316         (cos_tonearest_test_data): New variable.
30317         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30318         (cos_towardzero_test_data): New variable.
30319         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30320         (cos_downward_test_data): New variable.
30321         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30322         (cos_upward_test_data): New variable.
30323         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30324         (cosh_test_data): New variable.
30325         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30326         (cosh_tonearest_test_data): New variable.
30327         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30328         (cosh_towardzero_test_data): New variable.
30329         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30330         (cosh_downward_test_data): New variable.
30331         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30332         (cosh_upward_test_data): New variable.
30333         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30334         (erf_test_data): New variable.
30335         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
30336         (erfc_test_data): New variable.
30337         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
30338         (exp_test_data): New variable.
30339         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
30340         (exp_tonearest_test_data): New variable.
30341         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30342         (exp_towardzero_test_data): New variable.
30343         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30344         (exp_downward_test_data): New variable.
30345         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30346         (exp_upward_test_data): New variable.
30347         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30348         (exp10_test_data): New variable.
30349         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30350         (exp2_test_data): New variable.
30351         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30352         (expm1_test_data): New variable.
30353         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30354         (fabs_test_data): New variable.
30355         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30356         (floor_test_data): New variable.
30357         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30358         (j0_test_data): New variable.
30359         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30360         (j1_test_data): New variable.
30361         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30362         (log_test_data): New variable.
30363         (log_test): Run tests with RUN_TEST_LOOP_f_f.
30364         (log10_test_data): New variable.
30365         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30366         (log1p_test_data): New variable.
30367         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30368         (log2_test_data): New variable.
30369         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30370         (logb_test_data): New variable.
30371         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30372         (logb_downward_test_data): New variable.
30373         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30374         (nearbyint_test_data): New variable.
30375         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30376         (rint_test_data): New variable.
30377         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30378         (rint_tonearest_test_data): New variable.
30379         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30380         (rint_towardzero_test_data): New variable.
30381         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30382         (rint_downward_test_data): New variable.
30383         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30384         (rint_upward_test_data): New variable.
30385         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30386         (round_test_data): New variable.
30387         (round_test): Run tests with RUN_TEST_LOOP_f_f.
30388         (sin_test_data): New variable.
30389         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30390         (sin_tonearest_test_data): New variable.
30391         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30392         (sin_towardzero_test_data): New variable.
30393         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30394         (sin_downward_test_data): New variable.
30395         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30396         (sin_upward_test_data): New variable.
30397         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30398         (sinh_test_data): New variable.
30399         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30400         (sinh_tonearest_test_data): New variable.
30401         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30402         (sinh_towardzero_test_data): New variable.
30403         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30404         (sinh_downward_test_data): New variable.
30405         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30406         (sinh_upward_test_data): New variable.
30407         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30408         (sqrt_test_data): New variable.
30409         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30410         (tan_test_data): New variable.
30411         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30412         (tan_tonearest_test_data): New variable.
30413         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30414         (tan_towardzero_test_data): New variable.
30415         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30416         (tan_downward_test_data): New variable.
30417         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30418         (tan_upward_test_data): New variable.
30419         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30420         (tanh_test_data): New variable.
30421         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30422         (tgamma_test_data): New variable.
30423         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30424         (trunc_test_data): New variable.
30425         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30426         (y0_test_data): New variable.
30427         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30428         (y1_test_data): New variable.
30429         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30430         (significand_test_data): New variable.
30431         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30433 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
30435         [BZ #12387]
30436         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30438 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30440         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30442 2013-05-10  Andreas Jaeger  <aj@suse.de>
30444         [BZ #15448]
30445         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30446         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30448 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30450         * math/gen-libm-test.pl (adjust_arg): New function.
30451         (special_functions): Handle generating output in both functions
30452         and arrays.
30453         (parse_args): Likewise.
30454         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
30455         $in_func argument to parse_args.
30456         * math/libm-test.inc (struct test_f_f_data): New type.
30457         (IF_ROUND_INIT_): New macro.
30458         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30459         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30460         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30461         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30462         (ROUND_RESTORE_): Likewise.
30463         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30464         (ROUND_RESTORE_FE_TONEAREST): Likewise.
30465         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30466         (ROUND_RESTORE_FE_UPWARD): Likewise.
30467         (RUN_TEST_LOOP_f_f): New macro.
30468         (acos_test_data): New variable.
30469         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30470         (acos_tonearest_test_data): New variable.
30471         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30473 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30475         * benchtests/bench-skeleton.c (startup): Fix coding style.
30477 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30479         [BZ #6809]
30480         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30481         negative infinity argument.
30482         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30483         negative infinity argument.
30484         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30485         negative infinity argument.
30486         * math/libm-test.inc (tgamma_test): Expect errno to be set for
30487         domain errors.
30489 2013-05-10  Florian Weimer  <fweimer@redhat.com>
30491         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30492         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30493         * iconv/iconv_prog.c (main): Likewise.
30494         * locale/programs/charmap-dir.c (charmap_readdir)
30495         (fopen_uncompressed): Likewise.
30496         * locale/programs/locfile.c (siblings_uncached)
30497         (write_locale_data): Use lstat64 instead of lstat.
30498         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30499         stat.
30501 2013-05-10  Andreas Jaeger  <aj@suse.de>
30503         [BZ #15395]
30504         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30505         localization.
30506         Include <locale.h>.
30508 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
30510         * elf/dl-close.c (_dl_close_worker): Add comments.
30512 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
30514         [BZ #15359]
30515         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
30516         high part of pi/2.
30517         (__ieee754_rem_pio2l): Update comments.
30519         [BZ #15429]
30520         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
30521         high part of pi/2.
30522         (__ieee754_rem_pio2l): Update comments.
30524         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
30525         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
30527         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
30528         M_PI_4l.
30530         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
30531         (M_PI_34_LOG10El): Likewise.
30532         (M_PI2_LOG10El): Likewise.
30533         (M_PI4_LOG10El): Likewise.
30534         (M_PI_LOG10El): Likewise.
30536 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30540 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
30542         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
30543         (MINUS_ZERO_INIT): Likewise.
30544         (PLUS_INFTY_INIT): Likewise.
30545         (MINUS_INFTY_INIT): Likewise.
30546         (QNAN_VALUE_INIT): Likewise.
30547         (MAX_VALUE_INIT): Likewise.
30548         (MIN_VALUE_INIT): Likewise.
30549         (MIN_SUBNORM_VALUE_INIT): Likewise.
30550         (plus_zero): Initialize with PLUS_ZERO_INIT.
30551         (minus_zero): Initialize with MINUS_ZERO_INIT.
30552         (plus_infty): Initialize with PLUS_INFTY_INIT.
30553         (minus_infty): Initialize with MINUS_INFTY_INIT.
30554         (qnan_value): Initialize with QNAN_VALUE_INIT.
30555         (max_value): Initialize with MAX_VALUE_INIT.
30556         (min_value): Initialize with MIN_VALUE_INIT.
30557         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
30559         * math/libm-test.inc (RUN_TEST_if_f): New macro.
30560         (jn_test): Use TEST_if_f instead of TEST_ff_f.
30561         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
30562         (yn_test): Use TEST_if_f instead of TEST_ff_f.
30564         * math/libm-test.inc (RUN_TEST_f_f): New macro.
30565         (RUN_TEST_2_f): Likewise.
30566         (RUN_TEST_ff_f): Likewise.
30567         (RUN_TEST_fi_f): Likewise.
30568         (RUN_TEST_fl_f): Likewise.
30569         (RUN_TEST_fff_f): Likewise.
30570         (RUN_TEST_c_f): Likewise.
30571         (RUN_TEST_f_f1): Likewise.
30572         (RUN_TEST_fF_f1): Likewise.
30573         (RUN_TEST_fI_f1): Likewise.
30574         (RUN_TEST_ffI_f1): Likewise.
30575         (RUN_TEST_c_c): Likewise.
30576         (RUN_TEST_cc_c): Likewise.
30577         (RUN_TEST_f_i): Likewise.
30578         (RUN_TEST_f_i_tg): Likewise.
30579         (RUN_TEST_ff_i_tg): Likewise.
30580         (RUN_TEST_f_b): Likewise.
30581         (RUN_TEST_f_b_tg): Likewise.
30582         (RUN_TEST_f_l): Likewise.
30583         (RUN_TEST_f_L): Likewise.
30584         (RUN_TEST_sincos): Likewise.
30585         * math/gen-libm-test.pl (new_test): Take new argument to indicate
30586         whether to show exceptions.  Do not include ");\n" in return
30587         value.
30588         (special_functions): Output call to RUN_TEST_sincos instead of
30589         check_float calls.  Update calls to new_test.
30590         (parse_args): Output call to single RUN_TEST_* macro instead of
30591         check_* calls and other assignments.  Update calls to new_test.
30593         [BZ #2546]
30594         [BZ #2560]
30595         [BZ #5159]
30596         [BZ #15426]
30597         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
30598         input to result for tgamma overflow.
30599         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
30600         (gamma_coeff): New variable.
30601         (NCOEFF): New macro.
30602         (gamma_positive): New function.
30603         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30604         underflow here.  Use gamma_positive instead of exp (lgamma) for
30605         other arguments.
30606         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30607         (gamma_coeff): New variable.
30608         (NCOEFF): New macro.
30609         (gammaf_positive): New function.
30610         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30611         underflow here.  Use gamma_positive instead of exp (lgamma) for
30612         other arguments.
30613         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30614         (gamma_coeff): New variable.
30615         (NCOEFF): New macro.
30616         (gammal_positive): New function.
30617         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30618         underflow here.  Use gamma_positive instead of exp (lgamma) for
30619         other arguments.
30620         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30621         (gamma_coeff): New variable.
30622         (NCOEFF): New macro.
30623         (gammal_positive): New function.
30624         (__ieee754_gammal_r): Handle positive infinity, overflow and
30625         underflow here.  Handle NaN the same as positive infinity.  Remove
30626         check x < 0xffffffff for negative integers.  Use gamma_positive
30627         instead of exp (lgamma) for other arguments.
30628         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30629         (gamma_coeff): New variable.
30630         (NCOEFF): New macro.
30631         (gammal_positive): New function.
30632         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30633         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30634         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30635         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30636         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30637         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30638         * sysdeps/generic/math_private.h (__gamma_productf): New
30639         prototype.
30640         (__gamma_product): Likewise.
30641         (__gamma_productl): Likewise.
30642         * math/Makefile (libm-calls): Add gamma_product.
30643         * math/libm-test.inc (tgamma_test): Add more tests.
30644         * sysdeps/i386/fpu/libm-test-ulps: Update.
30645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30647 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
30649         * benchtests/bench-skeleton.c (main): Preheat CPU.
30651 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
30653         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30655 2013-05-07  Roland McGrath  <roland@hack.frob.com>
30657         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30658         and _dl_skip_args_internal.
30660 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
30662         * manual/message.texi (Message Translation): Talk about users.
30663         Message to key mapping impacts design.
30665 2013-05-06  Roland McGrath  <roland@hack.frob.com>
30667         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30669         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30671         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30672         * sysdeps/wordsize-64/glob64.c: ... here.
30674         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30675         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30676         New macros.
30678         * debug/getlogin_r_chk.c: Moved to ...
30679         * login/getlogin_r_chk.c: ... here.
30680         * debug/Makefile (routines): Move getlogin_r_chk to ...
30681         * login/Makefile (routines): ... here.
30682         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30683         * login/Versions (libc: GLIBC_2.4): ... here.
30685         * io/poll.c (__poll): Renamed from poll.
30686         Add libc_hidden_def.
30687         (poll): Define as weak alias.
30689         * debug/ptsname_r_chk.c: Moved to ...
30690         * login/ptsname_r_chk.c: ... here.
30691         * debug/Makefile (routines): Move ptsname_r_chk to ...
30692         * login/Makefile (routines): ... here.
30693         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30694         * login/Versions (libc: GLIBC_2.4): ... here.
30696         * posix/getlogin.c: Moved to ...
30697         * login/getlogin.c: ... here.
30698         * posix/getlogin_r.c: Moved to ...
30699         * login/getlogin_r.c: ... here.
30700         * posix/getlogin_r.c: Moved to ...
30701         * login/getlogin_r.c: ... here.
30702         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30703         * login/Makefile (routines): ... here.
30704         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30705         * login/Versions (libc: GLIBC_2.0): ... here.
30707         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30708         (setrlimit): Define as weak alias.
30710         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30711         Call __ names for open, ftruncate, and close.
30712         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30713         (truncate): Define as weak alias.
30715 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
30717         * math/gen-libm-test.pl (parse_args): Initialize x before each
30718         test of frexp, modf and remquo.
30720         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30721         test signgam value.
30723 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30725         [BZ #15418]
30726         [BZ #15419]
30727         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30728         internal tests.
30729         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30731 2013-05-06  Roland McGrath  <roland@hack.frob.com>
30733         * elf/dl-writev.h: New file.
30734         * elf/dl-misc.c: Include it.
30735         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30736         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30738 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
30740         * math/libm-test.inc (noXFails): Remove variable.
30741         (noXPasses): Likewise.
30742         (BUILD_COMPLEX_INT): Remove macro.
30743         (print_screen): Remove xfail argument.
30744         (print_screen_max_error): Likewise.
30745         (update_stats): Likewise.
30746         (print_max_error): Likewise.  Update calls to other affected
30747         functions.
30748         (print_complex_max_error): Likewise.
30749         (test_single_exception): Update calls to print_screen.
30750         (test_single_errno): Likewise.
30751         (check_float_internal): Remove xfail argument.  Update calls to
30752         other affected functions.
30753         (check_float): Likewise.
30754         (check_complex): Likewise.
30755         (check_int): Likewise.
30756         (check_long): Likewise.
30757         (check_bool): Likewise.
30758         (check_longlong): Likewise.
30759         (main): Don't print noXFails and noXPasses.
30760         * math/gen-libm-test.pl (top level): Don't mention expected
30761         failure handling in comment.
30762         (new_test): Don't handle expected failures.
30763         (parse_args): Don't mention expected failure handling in comment.
30764         (generate_testfile): Don't handle expected failures.
30765         (parse_ulps): Likewise.
30766         (print_ulps_file): Likewise.
30767         (get_failure): Remove function.
30768         (output_test): Don't handle expected failures.
30769         * make/README.libm-test: Don't mention expected failure handling.
30771         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
30772         (minus_zero): Likewise.
30773         (plus_infty): Likewise.
30774         (minus_infty): Likewise.
30775         (qnan_value): Likewise.
30776         (max_value): Likewise.
30777         (min_value): Likewise.
30778         (min_subnorm_value): Likewise.
30779         (initialize): Do not initialize those variables dynamically.
30781 2013-05-03  Roland McGrath  <roland@hack.frob.com>
30783         * io/open.c (__open_2): Moved to ...
30784         * io/open_2.c: ... this new file.
30785         * io/open64.c (__open64_2): Moved to ...
30786         * io/open64_2.c: ... this new file.
30787         * io/openat.c (__openat_2): Moved to ...
30788         * io/openat_2.c: ... this new file.
30789         * io/openat64.c (__openat64_2): Moved to ...
30790         * io/openat64_2.c: ... this new file.
30791         * io/Makefile (routines): Add them.
30792         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30793         * sysdeps/unix/sysv/linux/open_2.c: File removed.
30794         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30795         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30796         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30797         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30798         (__openat64): Add hidden_ver.
30799         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30800         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30802         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30803         Separately conditionalize setting of GLRO(dl_sysinfo) so
30804         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30805         as well, but the actual setting is only under [NEED_DL_SYSINFO].
30807 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30809         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30810         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30811         definition.
30812         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30813         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30814         (_libc_vdso_platform_setup): Add __vdso_time initialization.
30815         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30816         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30818 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
30820         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30821         test signgam value.
30823         * math/libm-test.inc (hypot_test): Do not use
30824         IGNORE_ZERO_INF_SIGN.
30826 2013-05-03  Andreas Jaeger  <aj@suse.de>
30828         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30829         Linux 3.9.
30830         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30831         (PF_MAX): Adjust for VSOCK change.
30833 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30837 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
30839         [BZ #15264]
30840         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30841         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30842         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30844 2013-05-02  David S. Miller  <davem@davemloft.net>
30846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30848 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
30850         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30852 2013-05-01  Roland McGrath  <roland@hack.frob.com>
30854         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30856 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
30858         [BZ #14952]
30859         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30860         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30861         Use __attribute__ ((__gnu_inline__)).
30862         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30863         Don't use __attribute__ ((__gnu_inline__)).
30865 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
30867         [BZ #15423]
30868         * math/s_catan.c (__catan): Handle small real or imaginary part of
30869         input specially to avoid spurious underflow.
30870         * math/s_catanf.c (__catanf): Likewise.
30871         * math/s_catanh.c (__catanh): Likewise.
30872         * math/s_catanhf.c (__catanhf): Likewise.
30873         * math/s_catanhl.c (__catanhl): Likewise.
30874         * math/s_catanl.c (__catanl): Likewise.
30875         * math/libm-test.inc (catan_test): Add more tests.
30876         (catanh_test): Likewise.
30877         * sysdeps/i386/fpu/libm-test-ulps: Update.
30878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30880 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30884 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
30886         [BZ #15416]
30887         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30888         accurately for denominator in atan2.
30889         * math/s_catanf.c (__catanf): Likewise.
30890         * math/s_catanh.c (__catanh): Likewise.
30891         * math/s_catanhf.c (__catanhf): Likewise.
30892         * math/s_catanhl.c (__catanhl): Likewise.
30893         * math/s_catanl.c (__catanl): Likewise.
30894         * math/libm-test.inc (catan_test): Add more tests.
30895         (catanh_test): Likewise.
30896         * sysdeps/i386/fpu/libm-test-ulps: Update.
30897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30899 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30901         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30903         * benchtests/Makefile (bench): Remove slow benchmarks.
30904         * benchtests/atan-inputs: Add slow benchmark inputs.
30905         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30906         (BENCH_FUNC): Accept variant offset.
30907         (VARIANT): Define.
30908         * benchtests/bench-skeleton.c (main): Run benchmark for each
30909         variant.
30910         * benchtests/cos-inputs: Add slow benchmark inputs.
30911         * benchtests/exp-inputs: Likewise.
30912         * benchtests/pow-inputs: Likewise.
30913         * benchtests/sin-inputs: Likewise.
30914         * benchtests/slowatan-inputs: Remove.
30915         * benchtests/slowatan.c: Remove.
30916         * benchtests/slowcos-inputs: Remove.
30917         * benchtests/slowcos.c: Remove.
30918         * benchtests/slowexp-inputs: Remove.
30919         * benchtests/slowexp.c: Remove.
30920         * benchtests/slowpow-inputs: Remove.
30921         * benchtests/slowpow.c: Remove.
30922         * benchtests/slowsin-inputs: Remove.
30923         * benchtests/slowsin.c: Remove.
30924         * benchtests/slowtan-inputs: Remove.
30925         * benchtests/slowtan.c: Remove.
30926         * benchtests/tan-inputs: Add slow benchmark inputs.
30927         * scripts/bench.pl: Parse comments and directives.
30929         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
30930         in CPPFLAGS.
30931         ($(objpfx)bench-%.c): Remove *-ITER.
30932         * benchtests/bench-modf.c: Remove definition of ITER.
30933         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30934         (main): Loop for DURATION seconds instead of fixed number of
30935         iterations.
30936         * scripts/bench.pl: Don't expect iterations in parameters.
30938 2013-04-29  Roland McGrath  <roland@hack.frob.com>
30940         * io/fchdir.c (__fchdir): Renamed from fchdir.
30941         (fchdir): Define as weak alias.
30943 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30945         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30946         (ERRNO_EDOM): Likewise.
30947         (ERRNO_ERANGE): Likewise.
30948         (noErrnoTests): New variable.
30949         (init_max_error): Set errno to 0.
30950         (test_single_errno): New function.
30951         (test_errno): Likewise.
30952         (check_float_internal): Call test_errno.  Set errno to 0.
30953         (check_complex): Refer to errno tests in comment.
30954         (check_int): Call test_errno.  Set errno to 0.
30955         (check_long): Likewise.
30956         (check_bool): Likewise.
30957         (check_longlong): Likewise.
30958         (cos_test): Use ERRNO_* flags for errno tests instead of
30959         check_int.
30960         (expm1_test): Likewise.
30961         (fmod_test): Likewise.
30962         (ilogb_test): Likewise.
30963         (lgamma_test): Likewise.
30964         (pow_test): Likewise.
30965         (remainder_test): Likewise.
30966         (sin_test): Likewise.
30967         (tan_test): Likewise.
30968         (yn_test): Likewise.
30969         (initialize): Set errno to 0.
30970         (main): Print number of errno tests.
30971         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30973 2013-04-29  Andreas Jaeger  <aj@suse.de>
30975         [BZ #15084]
30976         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30977         and RES_USEVC.
30979         [BZ #15085]
30980         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30981         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30982         unimplemented.
30984         [BZ #15380]
30985         * stdlib/random.c (__initstate): Return NULL if
30986         __initstate fails.
30988         [BZ #15086]
30989         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30990         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30991         RES_SNGLKUPREOP.
30993 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30997 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30999         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31000         of individual tests.
31001         (casin_test): Likewise.
31002         (casinh_test): Likewise.
31004 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
31006         [BZ #15409]
31007         * math/s_catan.c (__catan): Handle arguments with large real or
31008         imaginary part separately without squaring.
31009         * math/s_catanf.c (__catanf): Likewise.
31010         * math/s_catanh.c (__catanh): Likewise.
31011         * math/s_catanhf.c (__catanhf): Likewise.
31012         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31013         and redefine.
31014         (__catanhl): Handle arguments with large real or imaginary part
31015         separately without squaring.
31016         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31017         and redefine.
31018         (__catanl): Handle arguments with large real or imaginary part
31019         separately without squaring.
31020         * math/libm-test.inc (catan_test): Add more tests.
31021         (catanh_test): Likewise.
31022         * sysdeps/i386/fpu/libm-test-ulps: Update.
31023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31025 2013-04-27  Andreas Jaeger  <aj@suse.de>
31027         [BZ #15007]
31028         * stdlib/stdlib.h: Update guards for qecvt.
31029         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31030         <stdlib.h>.
31032 2013-04-27  Allan McRae  <allan@archlinux.org>
31034         * sysdeps/i386/fpu/libm-test-ulps: Update.
31036 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
31038         [BZ #15406]
31039         * math/s_catan.c: Include <float.h>.
31040         (__catan): Ensure underflow exception occurs for underflowed
31041         result.
31042         * math/s_catanf.c: Include <float.h>.
31043         (__catanf): Ensure underflow exception occurs for underflowed
31044         result.
31045         * math/s_catanh.c: Include <float.h>.
31046         (__catanh): Ensure underflow exception occurs for underflowed
31047         result.
31048         * math/s_catanhf.c: Include <float.h>.
31049         (__catanhf): Ensure underflow exception occurs for underflowed
31050         result.
31051         * math/s_catanhl.c: Include <float.h>.
31052         (__catanhl): Ensure underflow exception occurs for underflowed
31053         result.
31054         * math/s_catanl.c: Include <float.h>.
31055         (__catanl): Ensure underflow exception occurs for underflowed
31056         result.
31057         * math/libm-test.inc (catan_test): Add more tests.
31058         (catanh_test): Likewise.
31060         [BZ #15405]
31061         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31062         underflowed result.
31063         * math/s_ccoshf.c (__ccoshf): Likewise.
31064         * math/s_ccoshl.c (__ccoshl): Likewise.
31065         * math/s_csin.c (__csin): Likewise.
31066         * math/s_csinf.c (__csinf): Likewise.
31067         * math/s_csinh.c (__csinh): Likewise.
31068         * math/s_csinhf.c (__csinhf): Likewise.
31069         * math/s_csinhl.c (__csinhl): Likewise.
31070         * math/s_csinl.c (__csinl): Likewise.
31071         * math/libm-test.inc (ccos_test): Add more tests.
31072         (ccosh_test): Likewise.
31073         (csin_test): Likewise.
31074         (csinh_test): Likewise.
31076 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31078         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31079         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31080         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31081         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31082         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31083         powerpc/power5+/fpu folders.
31084         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31087 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31091 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
31093         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31094         additions to variable.
31095         [$(config-machine) = x86_64] (modules-names): Likewise.
31096         ($(objpfx)tst-audit3): Remove dependency.
31097         ($(objpfx)tst-audit3.out): Likewise.
31098         ($(objpfx)tst-audit4): Likewise.
31099         ($(objpfx)tst-audit4.out): Likewise.
31100         ($(objpfx)tst-audit5): Likewise.
31101         ($(objpfx)tst-audit5.out): Likewise.
31102         ($(objpfx)tst-audit6): Likewise.
31103         ($(objpfx)tst-audit6.out): Likewise.
31104         ($(objpfx)tst-audit7): Likewise.
31105         ($(objpfx)tst-audit7.out): Likewise.
31106         (tst-audit3-ENV): Remove variable.
31107         (tst-audit4-ENV): Likewise.
31108         (tst-audit5-ENV): Likewise.
31109         (tst-audit6-ENV): Likewise.
31110         (tst-audit7-ENV): Likewise.
31111         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31112         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31113         addition to variable.
31114         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31115         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31116         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31117         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
31118         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
31119         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
31120         tst-audit3, tst-audit4 and tst-audit5.
31121         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
31122         tst-audit6 and tst-audit7.
31123         [$(subdir) = elf] (modules-names): Add audit modules for those
31124         tests.
31125         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
31126         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
31127         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
31128         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
31129         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
31130         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
31131         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
31132         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
31133         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
31134         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
31135         [$(subdir) = elf] (tst-audit3-ENV): New variable.
31136         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
31137         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
31138         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
31139         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
31140         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
31141         Likewise.
31142         [$(subdir) = elf && $(config-cflags-avx) = yes]
31143         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
31144         [$(subdir) = elf && $(config-cflags-avx) = yes]
31145         (CFLAGS-tst-auditmod4a.c): Likewise.
31146         [$(subdir) = elf && $(config-cflags-avx) = yes]
31147         (CFLAGS-tst-auditmod4b.c): Likewise.
31148         [$(subdir) = elf && $(config-cflags-avx) = yes]
31149         (CFLAGS-tst-auditmod6b.c): Likewise.
31150         [$(subdir) = elf && $(config-cflags-avx) = yes]
31151         (CFLAGS-tst-auditmod6c.c): Likewise.
31152         [$(subdir) = elf && $(config-cflags-avx) = yes]
31153         (CFLAGS-tst-auditmod7b.c): Likewise.
31154         * elf/tst-audit3.c: Move to ...
31155         * sysdeps/x86_64/tst-audit3.c: ... here.
31156         * elf/tst-audit4.c: Move to ...
31157         * sysdeps/x86_64/tst-audit4.c: ... here.
31158         * elf/tst-audit5.c: Move to ...
31159         * sysdeps/x86_64/tst-audit5.c: ... here.
31160         * elf/tst-audit6.c: Move to ...
31161         * sysdeps/x86_64/tst-audit6.c: ... here.
31162         * elf/tst-audit7.c: Move to ...
31163         * sysdeps/x86_64/tst-audit7.c: ... here.
31164         * elf/tst-auditmod3a.c: Move to ...
31165         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31166         * elf/tst-auditmod3b.c: Move to ...
31167         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31168         * elf/tst-auditmod4a.c: Move to ...
31169         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31170         * elf/tst-auditmod4b.c: Move to ...
31171         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31172         * elf/tst-auditmod5a.c: Move to ...
31173         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31174         * elf/tst-auditmod5b.c: Move to ...
31175         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31176         * elf/tst-auditmod6a.c: Move to ...
31177         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31178         * elf/tst-auditmod6b.c: Move to ...
31179         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31180         * elf/tst-auditmod6c.c: Move to ...
31181         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31182         * elf/tst-auditmod7a.c: Move to ...
31183         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31184         * elf/tst-auditmod7b.c: Move to ...
31185         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31187 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
31189         [BZ #15366]
31190         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31191         define unconditionally.
31192         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31193         define unconditionally.
31194         (INT8_C, INT16_C, etc.): Likewise.
31196 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
31198         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31199         __ehdr_start with hidden visibility.
31201         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31203 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
31205         * math/libm-test.inc (cos_test): Use accurate hex constants.
31206         (sincost_test): Likewise.
31208 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
31210         * math/libm-test.inc (catan_test): Add more tests.
31211         (catanh_test): Likewise.
31213         * math/s_catanf.c (__catanf): Use suffixed floating-point
31214         constants.
31215         * math/s_catanhf.c (__catanhf): Likewise.
31216         * math/s_catanhl.c (__catanhl): Likewise.
31217         * math/s_catanl.c (__catanl): Likewise.
31219         [BZ #15394]
31220         * math/s_catan.c (__catan): Calculate imaginary part of result
31221         with log1p not log unless computing log of number close to 0.
31222         * math/s_catanf.c (__catanf): Likewise.
31223         * math/s_catanl.c (__catanl): Likewise.
31224         * math/s_catanh.c (__catanh): Calculate real part of result with
31225         log1p not log unless computing log of number close to 0.
31226         * math/s_catanhf.c (__catanhf): Likewise.
31227         * math/s_catanhl.c (__catanhl): Likewise.
31228         * math/libm-test.inc (catan_test): Add more tests.
31229         (catanh_test): Likewise.
31230         * sysdeps/i386/fpu/libm-test-ulps: Update.
31231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31233 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31235         * benchtests/Makefile: Mention files in which fast and slow
31236         paths of math functions are implemented.
31238 2013-04-23  Roland McGrath  <roland@hack.frob.com>
31240         * sysdeps/posix/timespec_get.c: New file.
31242 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31244         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31245         POWER.
31246         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31247         for POWER.
31248         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31249         powerpc/power5/fpu folders.
31250         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31251         * benchtests/Makefile: Add modf testcase.
31252         * benchtests/bench-modf.c: New file: Benchmark test for mo
31254 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31256         [BZ #14888]
31257         * time/Makefile (tests): Add tst-strptime-whitespace.
31258         * time/strptime_l.c (get_number): Use ISSPACE.
31259         (__strptime_internal): Likewise.
31260         * time/tst-strptime-whitespace.c: New test case.
31262 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
31264         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31265         member.
31266         (_nss_files_init): Set it here.
31268 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
31270         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31271         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31272         unsigned.
31274 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
31276         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31278 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31280         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31281         size just once.
31283 2013-04-21  David S. Miller  <davem@davemloft.net>
31285         * po/ru.po: Update Russion translation from translation project.
31287 2013-04-17  Adam Conrad  <adconrad@0c3.net>
31289         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31290         and setfsgid.
31292 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
31294         * configure.in: Remove i386 configure warning. Remove i386 case.
31295         * configure: Regenerate.
31296         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
31297         Add example to error message.
31298         * sysdeps/i386/configure: Regenerate.
31300 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31302         * benchtests/Makefile (bench): Add cos, tan, slowcos and
31303         slowtan.
31304         * benchtests/cos-inputs: New file.
31305         * benchtests/slowcos-inputs: New file.
31306         * benchtests/slowcos.c: New file.
31307         * benchtests/slowtan-inputs: New file.
31308         * benchtests/slowtan.c: New file.
31309         * benchtests/tan-inputs: New file.
31311 2013-04-16  Roland McGrath  <roland@hack.frob.com>
31313         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31314         considered kosher.
31316 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31318         * benchtests/Makefile: Include cppflags-iterator.mk to add
31319         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31321         * Makefile.in (bench-clean): New target.
31322         * benchtests/Makefile (bench-clean): Likewise.
31324 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
31326         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31328 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
31330         * stdio-common/tstdiomisc.c: Fix coding-style violation.
31332 2013-04-15  Andreas Schwab  <schwab@suse.de>
31334         * nscd/grpcache.c (cache_addgr): Properly check for short write.
31335         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31336         * nscd/pwdcache.c (cache_addpw): Likewise.
31337         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
31338         more than recsize.
31340 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31342         * benchtests/Makefile (bench): Write all output to
31343         bench-out.tmp together.
31345 2013-04-15  Andreas Schwab  <schwab@suse.de>
31347         * nscd/nscd.c (main): Don't fork again after closing files.
31349 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31351         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31353         * benchtests/Rules (bench-deps): Collect dependencies into a
31354         single variable.  Add Makefile to dependencies.
31355         ($(objpfx)bench-%.c): Depend on bench-deps.
31357 2013-04-12  Roland McGrath  <roland@hack.frob.com>
31358             Xavier Roche  <roche+kml2@exalead.com>
31360         [BZ #15361]
31361         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31362         just that it's a file descriptor.
31363         * manual/llio.texi (Synchronizing AIO Operations): Update description
31364         for EBADF error from aio_fsync.
31366 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31368         * Rules (bench): Move target definition...
31369         * benchtests/Makefile: ... here.
31371 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
31373         * math/libm-test.inc (cos_test): Fix PI/2 test.
31374         (sincos_test): Likewise.
31375         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31376         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31378 2013-04-11  Andreas Schwab  <schwab@suse.de>
31380         [BZ #13988]
31381         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31382         accept exponent character only when digits were seen.
31383         * stdio-common/Makefile (tests): Add bug26.
31384         * stdio-common/bug26.c: New file.
31386         [BZ #14293]
31387         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31388         non-freeable.
31390 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31392         * Makeconfig (rtld-prefix): Define built linker prefix.
31393         * Rules (run-bench): Use it.
31394         * math/Makefile (run-regen-ulps): Likewise.
31396         * Rules (bench): Remove eval.
31398 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31399             Roland McGrath  <roland@hack.frob.com>
31400             Ondrej Bilka  <neleai@seznam.cz>
31402         [BZ #15346]
31403         * time/getdate.c: Include ctype.h and alloca.h.
31404         (__getdate_r): Trim leading and trailing spaces of input.
31405         * time/tst-getdate.c (tests): Add tests with leading and
31406         trailing spaces.
31408 2013-04-08  Roland McGrath  <roland@hack.frob.com>
31410         [BZ #14280]
31411         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31412         when computing value.
31414 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31416         * math/README.libm-test (How can I generate "libm-test-ulps"?):
31417         Use testrun.sh to run libm tests.
31419         [BZ #15309]
31420         * elf/dl-open.c (dl_open_worker): memset all of seen array.
31422 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
31424         [BZ #15264]
31425         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31427 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31429         * Makefile.in (regen-ulps): New target.
31430         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31431         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31432         [ifneq (no,$(PERL)] (regen-ulps): New target.
31433         [ifeq (no,$(PERL)] (regen-ulps): New target.
31434         * math/libm-test.inc (ulps_file_name): Define.
31435         (output_dir): New variable.
31436         (options): Add "output-dir" option.
31437         (parse_opt): Handle 'o' case.
31438         (main): If output_dir is non-NULL use it as a prefix
31439         otherwise use "".
31440         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31442 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31444         [BZ #10060, #10062]
31445         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31446         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31447         fail configure if __sync_val_compare_and_swap is not inlined.
31448         * sysdeps/i386/configure: Regenerate.
31449         * configure.in: Build for i686 when configured for i386.
31450         * configure: Regenerate.
31451         * README: Remove i386 reference.
31453 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31455         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31456         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31458 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31460         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31461         (lmsnanval): New variables.
31462         (F): Add conversion tests.
31463         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31464         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31466         * stdio-common/tstdiomisc.c (F): Properly collect individual
31467         tests' results.
31469         [BZ #14686, #15336]
31470         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31471         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31472         Instead, use input NaN values or generate a qNaN by arithmetic
31473         operation.  Also fix bugs to comply with the standard.
31474         * math/libm-test.inc (remainder_test): Add more tests.
31476         [BZ #15335, #15342]
31477         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31478         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31479         input NaN values or generate a qNaN by arithmetic operation.
31481         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31482         unreachable code.
31484         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31485         definitions.
31487 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
31489         [BZ #14478]
31490         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31491         underflowed result.
31492         * math/s_cexpf.c (__cexpf): Likewise.
31493         * math/s_cexpl.c (__cexpl): Likewise.
31494         * math/libm-test.inc (cexp_test): Add more tests.
31496 2013-04-03  Andreas Schwab  <schwab@suse.de>
31498         [BZ #15330]
31499         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31500         order arrays from heap if bigger than alloca cutoff.
31502 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
31504         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31505         (SNAN_TESTS_double): Refer to GCC PR56831.
31506         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31507         GCC PR56828.
31509 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31511         * Rules (bench): Move bench.out after the run is complete.
31513         * Rules (bench): Echo currently running benchmark.
31515         * benchtests/Makefile (bench): Add atan and slowatan.
31516         * benchtests/atan-inputs: New file.
31517         * benchtests/slowatan-inputs: New file.
31518         * benchtests/slowatan.c: New file.
31520         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
31521         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
31522         its value.
31524         [BZ #15305]
31525         * sysdeps/unix/sysv/linux/kernel-features.h
31526         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
31527         __ASSUME_XFS_RESTRICTED_CHOWN.
31528         * sysdeps/unix/sysv/linux/pathconf.c
31529         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31530         Save and restore errno.
31532 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
31534         [BZ #15327]
31535         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
31536         arguments using __kernel_casinh.
31537         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
31538         arguments using __kernel_casinhf.
31539         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
31540         arguments using __kernel_casinhl.
31541         * math/libm-test.inc (cacosh_test): Add more tests.
31542         * sysdeps/i386/fpu/libm-test-ulps: Update.
31543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31545 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31547         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
31548         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
31550         * bench/Makefile (bench): Add sin and slowsin.
31551         * benchtests/sin-inputs: New file.
31552         * benchtests/slowsin-inputs: New file.
31553         * benchtests/slowsin.c: New file.
31555         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
31556         (bench): Add slowexp and slowpow.
31557         (exp-ITER): Increase iterations.
31558         (pow-ITER): Likewise.
31559         * benchtests/exp-inputs: Change input.
31560         * benchtests/pow-inputs: Likewise.
31561         * benchtests/slowexp-inputs: New file.
31562         * benchtests/slowexp.c: New file.
31563         * benchtests/slowpow-inputs: New file.
31564         * benchtests/slowpow.c: New file.
31566 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31568         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
31569         instructions.
31570         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31571         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
31572         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31573         * benchtests/Makefile: Add rint benchtest.
31574         * benchtests/rint-inputs: Input for rint benchtest.
31576 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31578         * Versions.def (libm): Add GLIBC_2.18.
31579         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
31580         hidden libm prototypes.
31581         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
31582         * math/Makefile (libm-calls): Add s_issignaling.
31583         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
31584         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
31585         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
31586         declaration.
31587         * math/math.h [__USE_GNU] (issignaling): New macro.
31588         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
31589         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
31590         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
31591         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
31592         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
31593         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
31594         * manual/arith.texi (issignaling): New section.
31595         * manual/libm-err-tab.pl (@all_functions): Update comment.
31596         * math/gen-libm-test.pl (parse_args): Apply special handling for
31597         issignaling.
31598         * math/libm-test.inc (print_float, issignaling_test): New
31599         functions.
31600         (check_float_internal): Add issignaling checks.
31601         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
31602         default definition.
31603         * sysdeps/powerpc/math-tests.h: New file.
31604         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31605         tests.
31606         * math/test-snan.c (TEST_FUNC): Likewise.
31608 2013-03-30  David S. Miller  <davem@davemloft.net>
31610         * po/de.po: Update from translation team.
31612 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
31614         [BZ #10357]
31615         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31616         imaginary part less than 1.0 and real part less than 0.5
31617         specially.
31618         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31619         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31620         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31621         (cacos_test): Add more tests.
31622         (casin_test): Likewise.
31623         (casinh_test): Likewise.
31624         * sysdeps/i386/fpu/libm-test-ulps: Update.
31625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31627 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31629         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31630         ONE with its value.
31632         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31633         (__pow_mp): Replace ONE and MONE with their values.
31634         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31635         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31636         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31637         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31638         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31639         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31641         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31643         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31644         (__pow_mp): Replace ZERO and MZERO with their values.
31645         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31646         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31647         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31648         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31649         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31650         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31651         (__sqr): Likewise.
31653         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31655         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31657 2013-03-28  Roland McGrath  <roland@hack.frob.com>
31659         * include/stdlib.h [!SHARED] (__call_tls_dtors):
31660         Declare with __attribute__ ((weak)).
31661         * stdlib/exit.c (__libc_atexit) [!SHARED]:
31662         Call __call_tls_dtors only if it's not NULL.
31664 2013-03-28  Roland McGrath  <roland@hack.frob.com>
31666         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31667         didn't do it already, then set _dl_phdr and _dl_phnum based on the
31668         magic __ehdr_start linker symbol if it's defined.
31669         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31670         them up here if it was already done.
31672         * elf/dl-support.c (_dl_phdr): Make pointer to const.
31673         (_dl_aux_init): Use const in cast when setting it.
31674         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31675         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31676         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31678         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31679         Declare them here.
31680         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31681         * csu/libc-tls.c: Nor here.
31682         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31684         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31685         (__libc_message): Never call vsyslog.
31687 2013-03-28  Alan Modra  <amodra@gmail.com>
31689         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31690         Define as empty.
31691         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31692         Likewise.
31694 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31696         [BZ #15214]
31697         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31698         underflow.
31699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31701 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31703         [BZ #15304]
31704         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31705         Don't add gid passed as argument.
31707         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31709 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
31711         [BZ #15307]
31712         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31713         imaginary part between 1.0 and 1.5 and real part less than 0.5
31714         specially.
31715         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31716         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31717         * math/libm-test.inc (cacos_test): Add more tests.
31718         (casin_test): Likewise.
31719         (casinh_test): Likewise.
31720         * sysdeps/i386/fpu/libm-test-ulps: Update.
31721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31723 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31725         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31726         constants.
31727         (norm): Likewise.
31728         (denorm): Likewise.
31729         (__dbl_mp): Likewise.
31730         (add_magnitudes): Likewise.
31731         (sub_magnitudes): Likewise.
31732         (__add): Likewise.
31733         (__sub): Likewise.
31734         (__mul): Likewise.
31735         (__sqr): Likewise.
31736         (__inv): Likewise.
31737         (__dvd): Likewise.
31739         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31740         commented code.
31741         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31742         (__dubcos): Likewise.
31743         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31744         (__ieee754_acos): Likewise.
31745         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31746         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31747         (__exp1): Likewise.
31748         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31749         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31750         (log1): Likewise.
31751         (my_log2): Likewise.
31752         (checkint): Likewise.
31753         * sysdeps/ieee754/dbl-64/e_remainder.c
31754         (__ieee754_remainder): Likewise.
31755         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31756         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31757         (bsloww): Likewise.
31758         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31760         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31761         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31762         MANTISSA_STORE_T to store computations on mantissa.  Use
31763         macros for rounding and division.
31764         (denorm): Likewise.
31765         (__dbl_mp): Likewise.
31766         (add_magnitudes): Likewise.
31767         (sub_magnitudes): Likewise.
31768         (__mul): Likewise.
31769         (__sqr): Likewise.
31770         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31771         powers of two in terms of TWOPOW macro.
31772         (mp_no): Make type of mantissa as MANTISSA_T.
31773         [!RADIXI]: Define RADIXI.
31774         [!TWO52]: Define TWO52.
31775         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31777 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31779         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31780         llroundl symbol when building for PPC32.
31782 2013-03-24  Mark H Weaver  <mhw@netris.org>
31784         * manual/arith.texi (Normalization Functions): Fix prototypes for
31785         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31787 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31789         [BZ #13889]
31790         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31791         high value to check if expl overflow.
31792         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31793         to check for underflow and overflow.
31794         * math/libm-test.inc: Add exp test.
31796 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
31798         [BZ #11120]
31799         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31800         with NOT_IN_libc.
31802 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31804         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31805         symbol.
31807 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31809         * math/gen-libm-test.pl (parse_args, special_functions): Properly
31810         wrap blocks consisting of several statements.
31812         * sysdeps/generic/math-tests.h: New file.
31813         * sysdeps/i386/fpu/math-tests.h: Likewise.
31814         * math/test-snan.c: Include it.
31815         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31817 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
31819         [BZ #15285]
31820         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31821         (__ieee754_j0l): Do not improve calculations using cos of twice
31822         input for inputs above LDBL_MAX / 2.0L.
31823         (__ieee754_y0l): Likewise.
31824         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31825         (__ieee754_j1l): Do not improve calculations using cos of twice
31826         input for inputs above LDBL_MAX / 2.0L.
31827         (__ieee754_y1l): Likewise.
31828         * math/libm-test.inc (j0_test): Add another test.
31829         (j1_test): Likewise.
31830         (y0_test): Likewise.
31831         (y1_test): Likewise.
31832         * sysdeps/i386/fpu/libm-test-ulps: Update.
31834 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31836         * Rules ($(objpfx)bench-%.c): Include code from a C source
31837         file.
31839 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
31841         [BZ #15287]
31842         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31843         imaginary part 1.0 and real part less than 0.5 specially.
31844         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31845         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31846         * math/libm-test.inc (cacos_test): Add more tests.
31847         (casin_test): Likewise.
31848         (casinh_test): Likewise.
31849         * sysdeps/i386/fpu/libm-test-ulps: Update.
31850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31852 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31854         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31855         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31857 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
31859         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31860         * config.make.in (config-cflags-sse4): Remove variable.
31861         (config-cflags-avx): Likewise.
31862         (config-cflags-sse2avx): Likewise.
31863         (config-cflags-novzeroupper): Likewise.
31864         (config-asflags-i686): Likewise.
31865         (have-mfma4): Likewise.
31866         (have-as-vis3): Likewise.
31867         (MIG): Likewise.
31868         * configure.in (MIG): Do not AC_SUBST.
31869         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31870         (libc_cv_cc_sse4): Do not AC_SUBST.
31871         (libc_cv_cc_avx): Likewise.
31872         (libc_cv_cc_sse2avx): Likewise.
31873         (libc_cv_cc_novzeroupper): Likewise.
31874         (libc_cv_cc_fma4): Likewise.
31875         (libc_cv_as_i686): Likewise.
31876         (libc_cv_sparc_as_vis3): Likewise.
31877         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31878         LIBC_CONFIG_VAR.
31879         (config-asflags-i686): Likewise.
31880         (config-cflags-avx): Likewise.
31881         (config-cflags-sse2avx): Likewise.
31882         (have-mfma4): Likewise.
31883         (config-cflags-novzeroupper): Likewise.
31884         * sysdeps/mach/configure.in (MIG): Likewise.
31885         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31886         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31887         LIBC_CONFIG_VAR.
31888         (config-cflags-avx): Likewise.
31889         (config-cflags-sse2avx): Likewise.
31890         (have-mfma4): Likewise.
31891         (config-cflags-novzeroupper): Likewise.
31892         * configure: Regenerated.
31893         * sysdeps/i386/configure: Likewise.
31894         * sysdeps/mach/configure: Likewise.
31895         * sysdeps/sparc/configure: Likewise.
31896         * sysdeps/x86_64/configure: Likewise.
31898 2013-03-20  Roland McGrath  <roland@hack.frob.com>
31900         [BZ #14812]
31901         * locale/programs/localedef.c (options): Put N_ translation marker
31902         on argument names, not just descriptions.
31904 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31906         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31908 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
31910         [BZ #14176]
31911         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31913 2013-03-19  Roland McGrath  <roland@hack.frob.com>
31915         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31916         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31917         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31918         [!BEFORE_ABORT] (before_abort): New function.
31919         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31920         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31921         (writev_for_fatal): New function.
31922         (WRITEV_FOR_FATAL): New macro; call that.
31923         (backtrace_and_maps): New function.
31924         (BEFORE_ABORT): New macro; call that.
31925         (struct str_list): Type removed.
31926         (__libc_message, __libc_fatal): Functions removed.
31927         Include <sysdeps/posix/libc_fatal.c> instead.
31929 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
31931         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31932         constants.
31933         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31934         double constants.
31936 2013-03-19  Andreas Schwab  <schwab@suse.de>
31938         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31939         * sysdeps/gnu/configure: Regenerate.
31941         * configure.in: Substitute libc_cv_rtlddir.
31942         * configure: Regenerate.
31943         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31944         * Makeconfig (rtlddir, inst_rtlddir): New variables.
31945         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31946         * elf/Makefile (install-others, CFLAGS-interp.c)
31947         (ldso_install, common-ldd-rewrite): Likewise.
31948         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31949         $(inst_slibdir)/$(rtld-installed-name).
31950         * scripts/rellns-sh: Add -p option.
31951         * Makerules (make-shlib-link): Use rellns-sh to get relative name
31952         for source.
31954 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31956         * manual/nptl.texi: Renamed to ...
31957         * manual/threads.texi: ... this.
31958         * manual/Makefile (chapters): Update.
31960 2013-03-18  Roland McGrath  <roland@hack.frob.com>
31962         [BZ #14812]
31963         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31964         on argument names, not just descriptions.
31965         * malloc/memusagestat.c (options): Likewise.
31966         * nss/getent.c (options): Likewise.
31968 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
31970         [BZ #14812]
31971         * iconv/iconv_prog.c (options): Put N_ translation marker
31972         on argument names, not just descriptions.
31973         * iconv/iconvconfig.c (options): Likewise.
31975 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
31977         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31978         implementation which is faster on all x86_64 architectures.
31979         Tested on AMD, Intel Nehalem, SNB, IVB.
31980         * sysdeps/x86_64/strnlen.S: Likewise.
31982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31983         Remove all multiarch strlen and strnlen versions.
31984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31985         Remove strlen and strnlen related parts.
31987         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31988         Inline strlen part.
31989         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31991         * sysdeps/x86_64/multiarch/strlen.S: Remove.
31992         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31993         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31994         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31995         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31996         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31998 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
32000         * manual/memory.texi (Malloc Tunable Parameters):
32001         Sort parameters alphabetically. Add comments for missing entries.
32003 2013-03-17  David S. Miller  <davem@davemloft.net>
32005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32007 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
32009         [BZ #15283]
32010         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32011         for arguments at most half maximum finite value.
32012         * math/libm-test.inc (j0_test): Add more tests.
32013         (j1_test): Likewise.
32014         (y0_test): Likewise.
32015         (y1_test): Likewise.
32016         * sysdeps/i386/fpu/libm-test-ulps: Update.
32017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32019         [BZ #14155]
32020         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32021         1 / x and functions P and Q for arguments above 0x1p256L.
32022         (__ieee754_y0l): Likewise.
32023         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32024         (__ieee754_y1l): Likewise.
32025         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32026         (j1_test): Likewise.
32027         (y0_test): Likewise.
32028         (y1_test): Likewise.
32030 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
32032         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32033         variable.
32035 2013-03-15  Roland McGrath  <roland@hack.frob.com>
32037         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32038         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32039         zero since it's initialized to EXEC_PAGESIZE.
32041         * sysdeps/unix/sysv/linux/ldsodefs.h
32042         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32043         * sysdeps/generic/ldsodefs.h: ... here.
32045 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
32047         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32049         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32050         math/test-snan.c.
32051         * math/test-snan.c: Renamed from
32052         sysdeps/powerpc/fpu/test-powerpc-snan.c.
32053         * math/Makefile (tests): Add test-snan.
32054         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32055         test-powerpc-snan.
32057         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32058         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
32059         functions.
32060         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
32061         __builtin_nan family of functions.
32062         * math/libm-test.inc (initialize): Initialize qnan_value with
32063         __builtin_nan family of functions.
32064         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32065         Remove variables.
32066         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32067         Remove functions.
32068         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
32069         storage class.  Initialize qNaN_var and sNaN_var with
32070         __builtin_nan and __builtin_nans families of functions,
32071         respectively.
32073         * math/libm-test.inc (acosh_test): Also test with qNaN input.
32074         (sqrt_test): Remove duplicate test with qNaN input.
32075         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32076         (round_test, signbit_test, significand_test): Note missing +/-Inf
32077         as well as qNaN tests.
32079         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32080         qNaN_var.  Fix a few strings, too.
32081         * math/libm-test.inc (nan_value): Rename to qnan_value.
32082         * math/gen-libm-test.pl (%beautify): Adjust to that.
32083         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32084         * math/test-misc.c (main): Likewise.
32085         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32086         to __qnan_bytes, and __qnan_union, respectively.
32087         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32088         Likewise.
32089         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32090         and lqnanval, respectively.
32091         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32092         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32093         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32094         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32096         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32097         * math/test-misc.c (main) [__x86_64__]: Enable test for long
32098         doubles.
32100         * math/test-misc.c (main): Fix copy'n'pastos.
32101         * misc/tst-efgcvt.c (special): Likewise.
32103         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32104         Remove declarations.
32106 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32108         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32109         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32110         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32111         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32113 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32115         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32116         macro to return vdso values correctly in IFUNC implementations.
32117         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32118         Optimization by using IFUNC.
32120 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32121             Richard Henderson  <rth@redhat.com>
32122             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32124         * Makefile.in (bench): New target.
32125         * NEWS: Mention the benchmark framework.
32126         * Rules (bench): Likewise.
32127         (binaries-bench): Generate binaries for functions to
32128         benchmark.
32129         * benchtests/Makefile: New makefile for benchmark tests.
32130         * benchtests/bench-skeleton.c: New skeleton file for benchmark
32131         programs.
32132         * benchtests/exp-inputs: New input file for EXP function.
32133         * benchtests/pow-inputs: New input file for POW function.
32134         * scripts/bench.pl: New script to generate source files for
32135         benchmark programs.
32137 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32139         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32140         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
32141         computations on mantissa.  Use macros for rounding and
32142         division.
32143         (denorm): Likewise.
32144         (__dbl_mp): Likewise.
32145         (add_magnitudes): Likewise.
32146         (sub_magnitudes): Likewise.
32147         (__mul): Likewise.
32148         (__sqr): Likewise.
32149         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
32150         powers of two in terms of TWOPOW macro.
32151         (mp_no): Make type of mantissa as MANTISSA_T.
32152         [!RADIXI]: Define RADIXI.
32153         [!TWO52]: Define TWO52.
32154         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32156         * manual/nptl.texi (cindex): Modify threads to pthreads.
32158 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
32160         * sysdeps/x86_64/preconfigure: Regenerated.
32162 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
32164         [BZ #14155]
32165         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32166         0x1p28 and above.
32167         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32168         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32169         0x1p28 and above.
32170         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32171         * math/libm-test.inc (j0_test): Do not allow one spurious
32172         underflow exception.
32173         (y1_test): Likewise.
32175 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32177         * manual/Makefile (chapters): Add nptl.
32178         * manual/debug.texi (Debugging Support): Add link to Threads
32179         chapter.
32180         * manual/nptl.texi: New file.
32182         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32184 2013-03-14  Petr Baudis  <pasky@ucw.cz>
32186         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32187         for non-NULL pointer before the memory validity test. Pointed
32188         out by Holger Brunck <holger.brunck@keymile.com>.
32190 2013-03-13  Andreas Schwab  <schwab@suse.de>
32192         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32193         instead of .os.
32195 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
32197         * timezone/zic.c: Update from tzcode 2013b.
32199 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
32201         * manual/install.texi (Configuring and compiling):
32202         Mention i686 and i586.
32203         * INSTALL: Regenerate.
32205 2013-03-12  Roland McGrath  <roland@hack.frob.com>
32207         * sysdeps/init_array/elf-init.c: New file.
32208         * csu/elf-init.c
32209         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32210         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32212         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32213         __gmon_start__ as global, but as static with a .preinit_array pointer.
32214         * sysdeps/init_array/gmon-start.c: New file.  Use that.
32215         * sysdeps/init_array/crti.S: New file, empty except for comments.
32216         * sysdeps/init_array/crtn.S: Likewise.
32218 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
32220         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32221         definining bcopy.
32222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32223         Remove Prefer_SSE_for_memop.
32224         * sysdeps/x86_64/multiarch/init-arch.h: Remove
32225         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32226         HAS_PREFER_SSE_FOR_MEMOP.
32227         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32228         memset-x86-64.
32229         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32230         Remove bzero, memset ifunc support.
32231         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32232         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32233         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32234         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32236 2013-03-11  Andreas Schwab  <schwab@suse.de>
32238         [BZ #15234]
32239         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32240         by SHLIB_COMPAT.
32241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32242         (GLIBC_2.16): Remove pthread_atfork.
32244 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32246         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32247         (ptestcases.h): Likewise.
32249 2013-03-08  Roland McGrath  <roland@hack.frob.com>
32251         * Makeconfig ($(common-objpfx)config.status): Depend on
32252         sysdeps/*/preconfigure{,.in} too.
32254 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
32256         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32257         (__free_hook): Use void * instead of __malloc_ptr_t.
32258         (__malloc_hook): Likewise.
32259         (__realloc_hook): Likewise.
32260         (__memalign_hook): Likewise.
32261         (__after_morecore_hook): Likewise.
32262         * malloc/arena.c (save_malloc_hook): Likewise.
32263         (save_free_hook): Likewise.
32264         * malloc/hooks.c (malloc_hook_ini): Likewise.
32265         (realloc_hook_ini): Likewise.
32266         (memalign_hook_ini): Likewise.
32267         * malloc/malloc.c (malloc_hook_ini): Likewise.
32268         (realloc_hook_ini): Likewise.
32269         (memalign_hook_ini): Likewise.
32270         (__free_hook): Likewise.
32271         (__malloc_hook): Likewise.
32272         (__realloc_hook): Likewise.
32273         (__memalign_hook): Likewise.
32274         (__libc_malloc): Likewise.
32275         (__libc_free): Likewise.
32276         (__libc_realloc): Likewise.
32277         (__libc_memalign): Likewise.
32278         (__libc_valloc): Likewise.
32279         (__libc_pvalloc): Likewise.
32280         (__libc_calloc): Likewise.
32281         (__posix_memalign): Likewise.
32282         * malloc/morecore.c (__sbrk): Likewise.
32283         (__default_morecore): Likewise.
32285         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32287         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32288         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32289         __malloc_ptrdiff_t.
32291         * malloc/malloc.h (__malloc_size_t): Remove macro.
32292         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32293         __malloc_size_t.
32294         (old_memalign_hook): Likewise.
32295         (old_realloc_hook): Likewise.
32296         (struct hdr): Likewise.
32297         (flood): Likewise.
32298         (mallochook): Likewise.
32299         (memalignhook): Likewise.
32300         (reallochook): Likewise.
32301         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32302         (tr_old_realloc_hook): Likewise.
32303         (tr_old_memalign_hook): Likewise.
32304         (tr_mallochook): Likewise.
32305         (tr_reallochook): Likewise.
32306         (tr_memalignhook): Likewise.
32308 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32310         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32311         default_ldbl_pack and using as default implementation.
32312         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32313         implementation.
32314         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32315         redundant definition.
32316         (ldbl_insert_mantissa): Likewise.
32317         (ldbl_canonicalize): Likewise.
32318         (ldbl_nearbyint): Likewise.
32319         (ldbl_pack): Rename to ldbl_pack_ppc.
32320         (ldbl_unpack): Rename to ldbl_unpack_ppc.
32321         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32322         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32324 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32326         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32327         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32328         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32329         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
32330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
32331         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
32332         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
32333         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
32335 2013-03-07  Andreas Jaeger  <aj@suse.de>
32337         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32338         bits/mman-linux.h.
32340 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32342         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32343         Include mpa.h and declare __MPEXP.
32344         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32345         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32346         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32347         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32348         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32349         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32350         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32352         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32353         (__slowpow): Use long double EXPL and LOGL functions to
32354         compute POW.
32355         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32356         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32357         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32358         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32359         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32360         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32363         intermediate variable to calculate exponent.
32364         (__sqr): Likewise.
32365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32366         Likewise.
32367         (__sqr): Likewise.
32369         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32370         [!NO__SQR]: Define __sqr.
32371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32372         and NO__SQR.  Remove all code except __mul and __sqr.  Include
32373         sysdeps/ieee754/dbl-64/mpa.c.
32374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32376         [BZ #12723]
32377         * posix/Makefile (tests): Add tst-pathconf.
32378         * posix/tst-pathconf.c: New test case.
32379         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32380         _PC_PIPE_BUF.
32381         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32383 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
32385         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32387 2013-03-06  Andreas Jaeger  <aj@suse.de>
32389         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32390         definition via __MAP_ANONYMOUS.
32392         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32393         it's not part of Linux headers.
32395         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32396         (MAP_HUGE_MASK): Define.
32398         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32399         Define.
32400         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32401         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32402         Define.
32403         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32404         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32405         Define.
32406         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32407         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32408         Define.
32409         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32411         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32412         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32413         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32414         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32415         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32416         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32418         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32419         Handle f2fs.
32421         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32422         Handle f2fs and efivarfs.
32424         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32425         f2fs.
32427         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32428         (EFIVARFS_MAGIC): Add.
32429         (F2FS_LINK_MAX): Add.
32431 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32433         * stdio-common/vfprintf.c: Replace __builtin_expect with
32434         __glibc_unlikely.
32436 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
32438         [BZ #13550]
32439         * sysdeps/generic/bp-sym.h: Remove file.
32440         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32441         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32442         <bp-sym.h> and <bp-asm.h>.
32443         (__longjmp): Don't use BP_SYM.
32444         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32445         and <bp-asm.h>.
32446         (memcpy): Don't use BP_SYM.
32447         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32448         <bp-sym.h> and <bp-asm.h>.
32449         (memcpy): Don't use BP_SYM.
32450         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32451         <bp-asm.h>.
32452         (memcpy): Don't use BP_SYM.
32453         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32454         <bp-asm.h>.
32455         (memset): Don't use BP_SYM.
32456         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32457         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32458         (__bzero): Don't use BP_SYM.
32459         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32460         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32461         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32462         <bp-sym.h> and <bp-asm.h>.
32463         (memcmp): Don't use BP_SYM.  Remove comment about bounded
32464         pointers.
32465         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32466         <bp-sym.h> and <bp-asm.h>.
32467         (memcpy): Don't use BP_SYM.
32468         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32469         <bp-sym.h> and <bp-asm.h>.
32470         (memset): Don't use BP_SYM.
32471         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32472         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32473         (__bzero): Don't use BP_SYM.
32474         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32475         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32476         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32477         <bp-sym.h> and <bp-asm.h>.
32478         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32479         pointers.
32480         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32481         <bp-sym.h> and <bp-asm.h>.
32482         (memcpy): Don't use BP_SYM.
32483         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32484         <bp-sym.h> and <bp-asm.h>.
32485         (memset): Don't use BP_SYM.
32486         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32487         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32488         (__bzero): Don't use BP_SYM.
32489         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32490         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32491         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32492         <bp-sym.h> and <bp-asm.h>.
32493         (__memchr): Don't use BP_SYM.
32494         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32495         <bp-sym.h> and <bp-asm.h>.
32496         (memcmp): Don't use BP_SYM.  Remove comment about bounded
32497         pointers.
32498         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32499         <bp-sym.h> and <bp-asm.h>.
32500         (memcpy): Don't use BP_SYM.
32501         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32502         <bp-sym.h> and <bp-asm.h>.
32503         (__mempcpy): Don't use BP_SYM.
32504         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32505         <bp-sym.h> and <bp-asm.h>.
32506         (__memrchr): Don't use BP_SYM.
32507         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32508         <bp-sym.h> and <bp-asm.h>.
32509         (memset): Don't use BP_SYM.
32510         (__bzero): Likewise.
32511         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32512         <bp-sym.h> and <bp-asm.h>.
32513         (__rawmemchr): Don't use BP_SYM.
32514         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32515         <bp-sym.h> and <bp-asm.h>.
32516         (__STRCMP): Don't use BP_SYM.
32517         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
32518         <bp-sym.h> and <bp-asm.h>.
32519         (strchr): Don't use BP_SYM.
32520         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
32521         <bp-sym.h> and <bp-asm.h>.
32522         (__strchrnul): Don't use BP_SYM.
32523         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
32524         <bp-sym.h> and <bp-asm.h>.
32525         (strlen): Don't use BP_SYM.
32526         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
32527         <bp-sym.h> and <bp-asm.h>.
32528         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32529         pointers.
32530         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
32531         <bp-sym.h> and <bp-asm.h>.
32532         (__strnlen): Don't use BP_SYM.
32533         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
32534         <bp-sym.h> and <bp-asm.h>.
32535         (__GI__setjmp): Don't use BP_SYM.
32536         (_setjmp): Likewise.
32537         (__sigsetjmp): Likewise.
32538         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
32539         (L(start_addresses)): Don't use BP_SYM.
32540         (_start): Likewise.
32541         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
32542         <bp-asm.h>.
32543         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
32544         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
32545         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32546         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32547         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
32548         <bp-asm.h>.
32549         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
32550         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
32551         about bounded pointers.
32552         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32553         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32554         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
32555         <bp-asm.h>.
32556         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
32557         about bounded pointers.  Remove GKM FIXME comments.
32558         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32559         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
32560         <bp-asm.h>.
32561         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
32562         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
32563         Remove GKM FIXME comments.
32564         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32565         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32566         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
32567         <bp-asm.h>.
32568         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
32569         about bounded pointers.  Remove GKM FIXME comment.
32570         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
32571         and <bp-asm.h>.
32572         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32573         pointers.
32574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
32575         <bp-sym.h> and <bp-asm.h>.
32576         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
32578         <bp-sym.h> and <bp-asm.h>.
32579         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
32580         comment.
32582 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32584         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
32585         call free(NULL).
32587 2013-03-05  David S. Miller  <davem@davemloft.net>
32589         * po/es.po: Update from translation team.
32591 2013-03-05  Andreas Jaeger  <aj@suse.de>
32593         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
32594         <bits/mman-linux.h>.
32595         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32596         is fine.
32597         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
32598         <bits/mman-linux.h> to end of file.
32599         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32600         is fine.
32601         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
32602         <bits/mman-linux.h> to end of file.
32603         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32604         is fine.
32605         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32606         <bits/mman-linux.h> to end of file.
32608         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32609         (MCL_CURRENT, MCL_FUTURE): Define here.
32611 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32613         [BZ #15232]
32614         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32615         attribute_hidden.
32616         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32618 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32620         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32621         fourth parameter needed for rt_sigprocmask syscall.
32622         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32623         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32624         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32625         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32626         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32627         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32629 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
32631         [BZ #13550]
32632         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32633         comment about bounded pointers.
32634         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32635         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32637 2013-03-04  Andreas Jaeger  <aj@suse.de>
32639         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32640         common definitions.
32642         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32643         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32644         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32645         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32646         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32647         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32649 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32651         [BZ #15055]
32652         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32653         __ieee754_sqrl instead of __sqrl.
32655 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
32657         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32658         * sysdeps/powerpc/fpu_control.h: ... here.
32659         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32660         * sysdeps/powerpc/bits/fenvinline.h: ... here.
32661         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32662         * sysdeps/powerpc/bits/mathinline.h: ... here.
32664 2013-03-01  Roland McGrath  <roland@hack.frob.com>
32666         * elf/dl-hwcaps.c (_dl_important_hwcaps):
32667         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32668         to just [NEED_DL_SYSINFO_DSO].
32669         * elf/dl-support.c: Likewise.
32670         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32671         * elf/rtld.c (dl_main): Likewise.
32672         * elf/setup-vdso.h (setup_vdso): Likewise.
32673         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32674         * sysdeps/unix/sysv/linux/dl-sysdep.c
32675         (_dl_discover_osversion): Likewise.
32677 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
32679         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32680         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32682 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32684         * NEWS: Mention libm performance improvements and non-x86 PI
32685         futex support.
32687         * csu/libc-start.c (__pthread_initialize_minimal): Change
32688         function arguments.
32689         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32691 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
32693         [BZ #13550]
32694         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32695         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32696         <bp-sym.h> and <bp-asm.h>.
32697         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32698         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32699         and <bp-asm.h>.
32700         (memcpy): Don't use BP_SYM.
32701         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32702         <bp-asm.h>.
32703         (__mpn_add_n): Don't use BP_SYM.
32704         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32705         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32706         and <bp-asm.h>.
32707         (__mpn_addmul_1): Don't use BP_SYM.
32708         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32709         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32710         <bp-sym.h>.
32711         (_setjmp): Don't use BP_SYM.
32712         (__novmx_setjmp): Likewise.
32713         (__GI__setjmp): Likewise.
32714         (__vmx_setjmp): Likewise.
32715         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32716         <bp-sym.h>.
32717         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32718         (__bzero): Don't use BP_SYM.
32719         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32720         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32721         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32722         <bp-sym.h> and <bp-asm.h>.
32723         (memcpy): Don't use BP_SYM.
32724         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32725         <bp-sym.h> and <bp-asm.h>.
32726         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32727         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32728         <bp-sym.h> and <bp-asm.h>.
32729         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32730         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32731         <bp-asm.h>.
32732         (__mpn_lshift): Don't use BP_SYM.
32733         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32734         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32735         <bp-asm.h>.
32736         (memset): Don't use BP_SYM.
32737         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32738         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32739         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32740         <bp-asm.h>.
32741         (__mpn_mul_1): Don't use BP_SYM.
32742         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32743         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32744         <bp-sym.h> and <bp-asm.h>.
32745         (memcmp): Don't use BP_SYM.
32746         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32747         <bp-sym.h> and <bp-asm.h>.
32748         (memcpy): Don't use BP_SYM.
32749         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32750         <bp-sym.h> and <bp-asm.h>.
32751         (memset): Don't use BP_SYM.
32752         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32753         <bp-sym.h> and <bp-asm.h>.
32754         (strncmp): Don't use BP_SYM.
32755         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32756         <bp-sym.h> and <bp-asm.h>.
32757         (memcpy): Don't use BP_SYM.
32758         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32759         <bp-sym.h> and <bp-asm.h>.
32760         (memset): Don't use BP_SYM.
32761         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32762         <bp-sym.h> and <bp-asm.h>.
32763         (__memchr): Don't use BP_SYM.
32764         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32765         <bp-sym.h> and <bp-asm.h>.
32766         (memcmp): Don't use BP_SYM.
32767         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32768         <bp-sym.h> and <bp-asm.h>.
32769         (memcpy): Don't use BP_SYM.
32770         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32771         <bp-sym.h> and <bp-asm.h>.
32772         (__mempcpy): Don't use BP_SYM.
32773         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32774         <bp-sym.h> and <bp-asm.h>.
32775         (__memrchr): Don't use BP_SYM.
32776         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32777         <bp-sym.h> and <bp-asm.h>.
32778         (memset): Don't use BP_SYM.
32779         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32780         <bp-sym.h> and <bp-asm.h>.
32781         (__rawmemchr): Don't use BP_SYM.
32782         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32783         <bp-sym.h> and <bp-asm.h>.
32784         (__STRCMP): Don't use BP_SYM.
32785         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32786         <bp-sym.h> and <bp-asm.h>.
32787         (strchr): Don't use BP_SYM.
32788         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32789         <bp-sym.h> and <bp-asm.h>.
32790         (__strchrnul): Don't use BP_SYM.
32791         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32792         <bp-sym.h> and <bp-asm.h>.
32793         (strlen): Don't use BP_SYM.
32794         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32795         <bp-sym.h> and <bp-asm.h>.
32796         (strncmp): Don't use BP_SYM.
32797         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32798         <bp-sym.h> and <bp-asm.h>.
32799         (__strnlen): Don't use BP_SYM.
32800         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32801         <bp-asm.h>.
32802         (__mpn_rshift): Don't use BP_SYM.
32803         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32804         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32805         <bp-sym.h> and <bp-asm.h>.
32806         (__sigsetjmp): Don't use BP_SYM.
32807         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32808         (L(start_addresses)): Don't use BP_SYM.
32809         (_start): Likewise.
32810         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32811         <bp-asm.h>.
32812         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32813         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32814         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32815         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32816         <bp-asm.h>.
32817         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32818         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32819         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32820         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32821         <bp-asm.h>.
32822         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
32823         comments.
32824         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32825         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32826         <bp-asm.h>.
32827         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
32828         FIXME comments.
32829         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32830         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32831         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32832         <bp-asm.h>.
32833         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
32834         comment.
32835         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32836         and <bp-asm.h>.
32837         (strncmp): Don't use BP_SYM,
32838         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32839         <bp-asm.h>.
32840         (__mpn_sub_n): Don't use BP_SYM.
32841         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32842         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32843         and <bp-asm.h>.
32844         (__mpn_submul_1): Don't use BP_SYM.
32845         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32847         <bp-sym.h> and <bp-asm.h>.
32848         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32850         <bp-sym.h> and <bp-asm.h>.
32851         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
32852         comment.
32854 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32857         Use ZK to minimize writes to Z.
32858         (sub_magnitudes): Simplify code a bit.
32859         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32860         Use ZK to minimize writes to Z.
32861         (sub_magnitudes): Simplify code a bit.
32863 2013-02-27  Roland McGrath  <roland@hack.frob.com>
32865         * csu/gmon-start.c: Add special exception to license text.
32867 2013-02-27  Richard Henderson  <rth@redhat.com>
32869         * scripts/config.guess: Update from config.git.
32870         * scripts/config.sub: Likewise.
32872 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32874         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32876         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32878         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32880         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32882         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32884 2013-02-26  Roland McGrath  <roland@hack.frob.com>
32886         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32887         [$(build-shared = yes].
32889 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32891         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32892         (__mul): Reduce iterations for calculating mantissa.
32894         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32895         MPTWO.
32896         (__mpranred): Likewise.
32898         [BZ #15160]
32899         * malloc/memusagestat.c (main): Draw graphs for heap and stack
32900         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32902 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
32904         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32905         Define __attribute__.
32907 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32909         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32910         unused.
32911         * posix/regex_internal.h (__attribute): Remove.
32912         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32913         (re_string_context_at): Likewise.
32914         (bitset_not): Use __attribute__ and mark function as possibly
32915         unused.
32916         (bitset_merge): Likewise.
32917         (bitset_mask): Likewise.
32918         (re_string_char_size_at): Likewise.
32919         (re_string_wchar_at): Likewise.
32920         (re_string_elem_size_at): Likewise.
32922 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32924         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32925         code.
32926         (cc32): Likewise.
32928         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32929         (__acr): Likewise.
32930         (__cpy): Likewise.
32931         (norm): Likewise.
32932         (denorm): Likewise.
32933         (__dbl_mp): Likewise.
32934         (add_magnitudes): Likewise.
32935         (sub_magnitudes): Likewise.
32936         (__mul): Likewise.
32937         (__inv): Likewise.
32939         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32940         style.
32942         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32943         style.
32945         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32946         code.
32948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32949         up changes with default code.
32950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32951         Likewise.
32953 2013-02-24  Allan McRae  <allan@archlinux.org>
32955         * manual/socket.texi (The Internet Namespace): Order menu items
32956         to match that in the file.
32958         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32959         node listing of the info page menu.
32961 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
32963         [BZ #13550]
32964         * sysdeps/i386/bp-asm.h: Remove file.
32965         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32966         (PARMS): Do not use macros from bp-asm.h.
32967         (S1): Likewise.
32968         (S2): Likewise.
32969         (SIZE): Likewise.
32970         (__mpn_add_n): Do not use BP_SYM
32971         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32972         "bp-asm.h".
32973         (PARMS): Do not use macros from bp-asm.h.
32974         (S1): Likewise.
32975         (SIZE): Likewise.
32976         (__mpn_addmul_1): Do not use BP_SYM
32977         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32978         "bp-asm.h".
32979         (PARMS): Do not use macros from bp-asm.h.
32980         (SIGMSK): Likewise.
32981         (_setjmp): Likewise.  Do not use BP_SYM.
32982         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32983         "bp-asm.h".
32984         (PARMS): Do not use macros from bp-asm.h.
32985         (SIGMSK): Likewise.
32986         (setjmp): Likewise.  Do not use BP_SYM.
32987         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32988         "bp-asm.h".
32989         (PARMS): Do not use macros from bp-asm.h.
32990         (__frexp): Do not use BP_SYM.
32991         (frexp): Likewise.
32992         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32993         "bp-asm.h".
32994         (PARMS): Do not use macros from bp-asm.h.
32995         (__frexpf): Do not use BP_SYM.
32996         (frexpf): Likewise.
32997         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32998         "bp-asm.h".
32999         (PARMS): Do not use macros from bp-asm.h.
33000         (__frexpl): Do not use BP_SYM.
33001         (frexpl): Likewise.
33002         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33003         "bp-asm.h".
33004         (PARMS): Do not use macros from bp-asm.h.
33005         (__remquo): Do not use BP_SYM.
33006         (remquo): Likewise.
33007         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33008         "bp-asm.h".
33009         (PARMS): Do not use macros from bp-asm.h.
33010         (__remquof): Do not use BP_SYM.
33011         (remquof): Likewise.
33012         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33013         "bp-asm.h".
33014         (PARMS): Do not use macros from bp-asm.h.
33015         (__remquol): Do not use BP_SYM.
33016         (remquol): Likewise.
33017         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33018         "bp-asm.h".
33019         (PARMS): Do not use macros from bp-asm.h.
33020         (DEST): Likewise.
33021         (SRC): Likewise.
33022         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
33023         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33024         "bp-asm.h".
33025         (PARMS): Do not use macros from bp-asm.h.
33026         (strlen): Do not use BP_SYM.
33027         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33028         "bp-asm.h".
33029         (PARMS): Do not use macros from bp-asm.h.
33030         (S1): Likewise.
33031         (S2): Likewise.
33032         (SIZE): Likewise.
33033         (__mpn_add_n): Do not use BP_SYM.
33034         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33035         "bp-asm.h".
33036         (PARMS): Do not use macros from bp-asm.h.
33037         (S1): Likewise.
33038         (SIZE): Likewise.
33039         (__mpn_addmul_1): Do not use BP_SYM.
33040         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33041         weak_alias.
33042         (bzero): Likewise.
33043         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33044         "bp-asm.h".
33045         (PARMS): Do not use macros from bp-asm.h.
33046         (S): Likewise.
33047         (SIZE): Likewise.
33048         (__mpn_lshift): Do not use BP_SYM.
33049         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33050         "bp-asm.h".
33051         (PARMS): Do not use macros from bp-asm.h.
33052         (DEST): Likewise.
33053         (SRC): Likewise.
33054         (LEN): Likewise.
33055         (memcpy): Likewise.  Do not use BP_SYM.
33056         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33057         libc_hidden_def and weak_alias.
33058         (mempcpy): Do not use BP_SYM in weak_alias.
33059         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33060         "bp-asm.h".
33061         (PARMS): Do not use macros from bp-asm.h.
33062         (DEST): Likewise.
33063         (LEN): Likewise.
33064         [!BZERO_P] (CHR): Likewise.
33065         (memset): Likewise.  Do not use BP_SYM.
33066         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33067         "bp-asm.h".
33068         (PARMS): Do not use macros from bp-asm.h.
33069         (S1): Likewise.
33070         (SIZE): Likewise.
33071         (__mpn_mul_1): Do not use BP_SYM.
33072         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33073         "bp-asm.h".
33074         (PARMS): Do not use macros from bp-asm.h.
33075         (S): Likewise.
33076         (SIZE): Likewise.
33077         (__mpn_rshift): Do not use BP_SYM.
33078         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33079         "bp-asm.h".
33080         (PARMS): Do not use macros from bp-asm.h.
33081         (STR): Likewise.
33082         (CHR): Likewise.
33083         (strchr): Likewise.  Do not use BP_SYM.
33084         (index): Do not use BP_SYM in weak_alias.
33085         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33086         "bp-asm.h".
33087         (PARMS): Do not use macros from bp-asm.h.
33088         (DEST): Likewise.
33089         (SRC): Likewise.
33090         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
33091         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33092         "bp-asm.h".
33093         (PARMS): Do not use macros from bp-asm.h.
33094         (strlen): Do not use BP_SYM.
33095         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33096         "bp-asm.h".
33097         (PARMS): Do not use macros from bp-asm.h.
33098         (S1): Likewise.
33099         (S2): Likewise.
33100         (SIZE): Likewise.
33101         (__mpn_sub_n): Do not use BP_SYM.
33102         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33103         "bp-asm.h".
33104         (PARMS): Do not use macros from bp-asm.h.
33105         (S1): Likewise.
33106         (SIZE): Likewise.
33107         (__mpn_submul_1): Do not use BP_SYM.
33108         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33109         "bp-asm.h".
33110         (PARMS): Do not use macros from bp-asm.h.
33111         (S1): Likewise.
33112         (S2): Likewise.
33113         (SIZE): Likewise.
33114         (__mpn_add_n): Do not use BP_SYM.
33115         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
33116         weak_alias.
33117         (bzero): Likewise.
33118         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
33119         "bp-asm.h".
33120         (PARMS): Do not use macros from bp-asm.h.
33121         (BLK2): Likewise.
33122         (LEN): Likewise.
33123         (memcmp): Do not use BP_SYM.
33124         (bcmp): Do not use BP_SYM in weak_alias.
33125         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
33126         "bp-asm.h".
33127         (PARMS): Do not use macros from bp-asm.h.
33128         (DEST): Likewise.
33129         (SRC): Likewise.
33130         (LEN): Likewise.
33131         (memcpy): Likewise.  Do not use BP_SYM.
33132         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
33133         "bp-asm.h".
33134         (PARMS): Do not use macros from bp-asm.h.
33135         (DEST): Likewise.
33136         (SRC): Likewise.
33137         (LEN): Likewise.
33138         (memmove): Likewise.  Do not use BP_SYM.
33139         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
33140         "bp-asm.h".
33141         (PARMS): Do not use macros from bp-asm.h.
33142         (DEST): Likewise.
33143         (SRC): Likewise.
33144         (LEN): Likewise.
33145         (__mempcpy): Likewise.  Do not use BP_SYM.
33146         (mempcpy): Do not use BP_SYM in weak_alias.
33147         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
33148         "bp-asm.h".
33149         (PARMS): Do not use macros from bp-asm.h.
33150         (DEST): Likewise.
33151         (LEN): Likewise.
33152         [!BZERO_P] (CHR): Likewise.
33153         (memset): Likewise.  Do not use BP_SYM.
33154         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33155         "bp-asm.h".
33156         (PARMS): Do not use macros from bp-asm.h.
33157         (STR2): Likewise.
33158         (strcmp): Do not use BP_SYM.
33159         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33160         "bp-asm.h".
33161         (PARMS): Do not use macros from bp-asm.h.
33162         (STR): Likewise.
33163         (DELIM): Likewise.
33164         [USE_AS_STRTOK_R] (SAVE): Likewise.
33165         (FUNCTION): Likewise.  Do not use BP_SYM.
33166         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33167         aliases.
33168         (strtok_r): Likewise.
33169         (__GI___strtok_r): Likewise.
33170         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33171         (PARMS): Do not use macros from bp-asm.h.
33172         (S): Likewise.
33173         (SIZE): Likewise.
33174         (__mpn_lshift): Do not use BP_SYM.
33175         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33176         (PARMS): Do not use macros from bp-asm.h.
33177         (STR): Likewise.
33178         (CHR): Likewise.
33179         (__memchr): Do not use BP_SYM.
33180         (memchr): Do not use BP_SYM in weak_alias.
33181         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33182         (PARMS): Do not use macros from bp-asm.h.
33183         (BLK2): Likewise.
33184         (LEN): Likewise.
33185         (memcmp): Do not use BP_SYM.
33186         (bcmp): Do not use BP_SYM in weak_alias.
33187         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33188         (PARMS): Do not use macros from bp-asm.h.
33189         (S1): Likewise.
33190         (SIZE): Likewise.
33191         (__mpn_mul_1): Do not use BP_SYM.
33192         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33193         "bp-asm.h".
33194         (PARMS): Do not use macros from bp-asm.h.
33195         (STR): Likewise.
33196         (CHR): Likewise.
33197         (__rawmemchr): Do not use BP_SYM.
33198         (rawmemchr): Do not use BP_SYM in weak_alias.
33199         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33200         (PARMS): Do not use macros from bp-asm.h.
33201         (S): Likewise.
33202         (SIZE): Likewise.
33203         (__mpn_rshift): Do not use BP_SYM.
33204         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33205         (PARMS): Do not use macros from bp-asm.h.
33206         (SIGMSK): Likewise.
33207         (__sigsetjmp): Likewise.  Do not use BP_SYM.
33208         * sysdeps/i386/start.S: Do not include "bp-sym.h".
33209         (_start): Do not use BP_SYM.
33210         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33211         (PARMS): Do not use macros from bp-asm.h.
33212         (DEST): Likewise.
33213         (SRC): Likewise.
33214         (__stpcpy): Likewise.  Do not use BP_SYM.
33215         (stpcpy): Do not use BP_SYM in weak_alias.
33216         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33217         "bp-asm.h".
33218         (PARMS): Do not use macros from bp-asm.h.
33219         (DEST): Likewise.
33220         (SRC): Likewise.
33221         (LEN): Likewise.
33222         (__stpncpy): Likewise.  Do not use BP_SYM.
33223         (stpncpy): Do not use BP_SYM in weak_alias.
33224         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33225         (PARMS): Do not use macros from bp-asm.h.
33226         (STR): Likewise.
33227         (CHR): Likewise.
33228         (strchr): Likewise.  Do not use BP_SYM.
33229         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33230         "bp-asm.h".
33231         (PARMS): Do not use macros from bp-asm.h.
33232         (STR): Likewise.
33233         (CHR): Likewise.
33234         (__strchrnul): Likewise.  Do not use BP_SYM.
33235         (strchrnul): Do not use BP_SYM in weak_alias.
33236         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33237         "bp-asm.h".
33238         (PARMS): Do not use macros from bp-asm.h.
33239         (STOP): Likewise.
33240         (strcspn): Do not use BP_SYM.
33241         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33242         "bp-asm.h".
33243         (PARMS): Do not use macros from bp-asm.h.
33244         (STR): Likewise.
33245         (STOP): Likewise.
33246         (strpbrk): Likewise.  Do not use BP_SYM.
33247         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33248         "bp-asm.h".
33249         (PARMS): Do not use macros from bp-asm.h.
33250         (STR): Likewise.
33251         (CHR): Likewise.
33252         (strrchr): Likewise.  Do not use BP_SYM.
33253         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33254         (PARMS): Do not use macros from bp-asm.h.
33255         (SKIP): Likewise.
33256         (strspn): Do not use BP_SYM.
33257         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33258         (PARMS): Do not use macros from bp-asm.h.
33259         (STR): Likewise.
33260         (DELIM): Likewise.
33261         (SAVE): Likewise.
33262         (FUNCTION): Likewise.  Do not use BP_SYM.
33263         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33264         aliases.
33265         (strtok_r): Likewise.
33266         (__GI___strtok_r): Likewise.
33267         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33268         (PARMS): Do not use macros from bp-asm.h.
33269         (S1): Likewise.
33270         (S2): Likewise.
33271         (SIZE): Likewise.
33272         (__mpn_sub_n): Do not use BP_SYM.
33273         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33274         "bp-asm.h".
33275         (PARMS): Do not use macros from bp-asm.h.
33276         (S1): Likewise.
33277         (SIZE): Likewise.
33278         (__mpn_submul_1): Do not use BP_SYM.
33279         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33280         <bp-sym.h>.
33281         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33282         and <bp-asm.h>.
33283         (PARMS): Do not use macros from bp-asm.h.
33284         (FLAGS): Likewise.
33285         (PTID): Likewise.
33286         (TLS): Likewise.
33287         (CTID): Likewise.
33288         (__clone): Do not use BP_SYM.
33289         (clone): Do not use BP_SYM in weak_alias.
33290         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33291         and <bp-asm.h>.
33292         (PARMS): Do not use macros from bp-asm.h.
33293         (LEN): Likewise.
33294         (__mmap64): Do not use BP_SYM.
33295         (mmap64): Do not use BP_SYM in weak_alias.
33296         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33297         <bp-sym.h> and <bp-asm.h>.
33298         (PARMS): Do not use macros from bp-asm.h.
33299         (__posix_fadvise64_l64): Do not use BP_SYM.
33300         * sysdeps/unix/sysv/linux/i386/semtimedop.S
33301         (PARMS): Do not use macros from bp-asm.h.
33302         (NSOPS): Likewise.
33303         (semtimedop): Do not use BP_SYM.
33304         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33305         and <bp-asm.h>.
33307 2013-02-21  Allan McRae  <allan@archlinux.org>
33309         * manual/message.texi (Charset conversion in gettext):
33310         Move @end statement to beginning of line.
33312 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33315         static.
33316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33317         Likewise.
33319         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33320         (denorm): Likewise.
33321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33324 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33326         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33327         tail-call to the resolved function if pltexit isn't needed.
33329 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33331         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
33332         or Y being zero as being unlikely.
33333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33334         Likewise.
33336 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
33338         * manual/nss.texi (System Databases and Name Service Switch):
33339         Remove frobnicate @pxref.
33341 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33343         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33344         __attribute__ ((unused)) to __attribute__ ((__unused__)).
33346 2013-02-20  Petr Machata  <pmachata@redhat.com>
33348         * elf/elf.h (R_ARM_TARGET1): New macro.
33349         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33350         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33351         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33352         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33353         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33354         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33355         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33356         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33357         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33358         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33359         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33360         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33361         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33362         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33363         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33364         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33365         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33366         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33367         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33368         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33369         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33370         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33371         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33372         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33373         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33374         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33375         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33376         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33377         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33378         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33379         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33380         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33381         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33382         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33383         (R_ARM_THM_GOT_BREL12): Likewise.
33384         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33385         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33386         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33387         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33388         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33389         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33390         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33391         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33392         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33394 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33396         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33397         __attribute_used__ to __attribute__ ((unused)).
33399 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33401         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33402         powerpc mpa.c.
33403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33404         comment formatting.
33405         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33407 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
33409         [BZ #13550]
33410         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33411         Remove macro.
33412         (ENTER): Remove both macro definitions.
33413         (LEAVE): Likewise.
33414         (CHECK_BOUNDS_LOW): Likewise.
33415         (CHECK_BOUNDS_HIGH): Likewise.
33416         (CHECK_BOUNDS_BOTH): Likewise.
33417         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33418         (RETURN_BOUNDED_POINTER): Likewise.
33419         (RETURN_NULL_BOUNDED_POINTER): Likewise.
33420         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33421         (POP_ERRNO_LOCATION_RETURN): Likewise.
33422         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33423         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33424         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33425         macros.
33426         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33427         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33428         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33429         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33430         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33431         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33432         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33433         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33434         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33435         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33436         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33437         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33438         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33439         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33440         removed macros.
33441         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33442         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33443         macros.
33444         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33445         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33446         * sysdeps/i386/i586/memset.S (memset): Likewise.
33447         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33448         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33449         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33450         macros.
33451         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33452         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33453         Change uses of L(2) to L(out).
33454         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33455         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33456         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33457         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33458         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33459         removed macros.
33460         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33461         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33462         macros.
33463         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33464         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33465         (RETURN): Do not use macro LEAVE.
33466         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33467         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33468         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33469         * sysdeps/i386/i686/memset.S (memset): Likewise.
33470         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33471         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33472         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33473         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33474         Likewise.
33475         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33476         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
33477         L(1_2) and L(1_3) into L(1).
33478         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33479         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33480         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33481         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33482         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33483         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33484         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33485         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33486         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33487         macros.
33488         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33489         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33490         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33491         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33492         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33493         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33494         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33495         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33496         * sysdeps/i386/strcspn.S (strcspn): Likewise.
33497         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33498         * sysdeps/i386/strrchr.S (strrchr): Likewise.
33499         * sysdeps/i386/strspn.S (strspn): Likewise.
33500         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33501         conditional code.
33502         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33503         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33504         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33505         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
33506         L(1_3) into L(1_1).
33507         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33508         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33509         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33510         macros.
33511         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33513 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
33515         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
33516         macro.
33518 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33520         * math/atest-exp.c (exp_mpn): Remove ROUND.
33521         * math/atest-exp2.c (exp_mpn): Likewise.
33522         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
33524         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
33525         * stdlib/tst-tls-atexit-lib.c: Likewise.
33526         * stdlib/tst-tls-atexit.c: Likewise.
33528 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33530         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
33531         and __attribute_alloc_size__.
33533 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33535         * include/programs/xmalloc.h: Change __attribute_alloc_size to
33536         __attribute_alloc_size__.
33537         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
33538         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
33540 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33542         * include/programs/xmalloc.h: New file.
33543         * catgets/gencat.c: Include it.
33544         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
33545         * elf/pldd.c: Likewise.
33546         * iconv/iconv_charmap.c: Likewise.
33547         * iconv/iconvconfig.c: Likewise.
33548         * iconv/strtab.c: Likewise.
33549         * locale/programs/locale.c: Likewise.
33550         * locale/programs/localedef.h: Likewise.
33551         * locale/programs/simple-hash.c: Likewise.
33552         * nscd/nscd.h: Likewise.
33553         * nss/makedb.c: Likewise.
33554         * sysdeps/generic/ldconfig.h: Likewise.
33556 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33558         * Versions.def: Add GLIBC_2.18.
33559         * include/link.h (struct link_map): New member l_tls_dtor_count.
33560         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
33561         (__call_tls_dtors): Likewise.
33562         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
33563         __cxa_thread_atexit_impl.
33564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33565         Likewise.
33566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33567         Likewise.
33568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33569         Likewise.
33570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33571         Likewise.
33572         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
33574         Likewise.
33575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
33576         Likewise.
33577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33579         Likewise.
33580         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
33581         (tests): Add test case tst-tls-atexit.
33582         (modules-names): Add shared library for tst-tls-atexit.
33583         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
33584         (GLIBC_PRIVATE): Add __call_tls_dtors.
33585         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
33586         for libstdc++.
33587         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33588         * stdlib/tst-tls-atexit.c: New test case.
33589         * stdlib/tst-tls-atexit-lib.c: New test case.
33591         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
33593         * elf/Versions (ld): Add _dl_find_dso_for_object.
33594         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
33595         * elf/dl-open.c (_dl_find_dso_for_object): New function.
33596         (dl_open_worker): Use _dl_find_dso_for_object.
33597         * elf/dl-sym.c (do_sym): Likewise.
33598         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
33600 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33602         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33603         Syntactic changes only.
33604         (_dl_runtime_profile): Do a tail-call to the resolved function.
33606 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
33608         [BZ #13550]
33609         * sysdeps/x86_64/bp-asm.h: Remove file.
33610         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33611         <bp-sym.h> and <bp-asm.h>.
33612         (__clone): Do not use BP_SYM.
33613         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33614         <bp-sym.h> and <bp-asm.h>.
33615         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33616         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33617         "bp-asm.h".
33618         (_setjmp): Do not use BP_SYM.
33619         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33620         "bp-asm.h".
33621         (setjmp): Do not use BP_SYM.
33622         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33623         libc_hidden_def.
33624         (mempcpy): Do not use BP_SYM in weak_alias.
33625         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33626         "bp-asm.h".
33627         (strchr): Do not use BP_SYM.
33628         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33629         "bp-asm.h".
33630         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33631         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33632         (_start): Do not use BP_SYM.
33633         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33634         "bp-asm.h".
33635         (strcat): Do not use BP_SYM.
33636         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33637         "bp-asm.h".
33638         (STRCMP): Do not use BP_SYM.
33639         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33640         "bp-asm.h".
33641         (STRCPY): Do not use BP_SYM.
33642         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33643         "bp-asm.h".
33644         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33645         "bp-asm.h".
33646         (FUNCTION): Do not use BP_SYM.
33647         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33648         weak_alias.
33649         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33651 2013-02-17  Andreas Jaeger  <aj@suse.de>
33653         * time/Versions: Sort entries.
33654         * string/Versions: Likewise.
33655         * resolv/Versions: Likewise.
33656         * posix/Versions: Likewise.
33657         * iconv/Versions: Likewise.
33658         * elf/Versions: Likewise.
33659         * wcsmbs/Versions: Likewise.
33661 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33663         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33664         loop termination condition.
33666         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33667         variable to calculate EZ.
33668         (__sqr): Likewise.
33670         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33671         the lower precision input.
33673 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
33675         [BZ #13550]
33676         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33677         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33678         (run-via-rtld-prefix): Do not handle %-bp tests.
33679         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33680         (all-object-suffixes): Remove .ob.
33681         (bppfx): Remove variable.
33682         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33683         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33684         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33685         [$(build-bounded) = yes] (libtype.ob): Likewise.
33686         * Makerules (elide-routines.ob): Remove variable.
33687         (do-tests-clean): Do not handle *-bp.out.
33688         (common-mostlyclean): Do not handle *-bp and *-bp.out.
33689         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33690         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33691         (tests): Do not include $(tests-bp.out).
33692         (xtests): Do not include $(xtests-bp.out).
33693         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33694         [$(build-bounded) = yes] ($(addprefix
33695         $(objpfx),$(binaries-bounded))): Remove rule.
33696         ($(objpfx)%-bp.out): Remove rule.
33697         * config.make.in (build-bounded): Remove variable.
33698         * crypt/Makefile [$(build-bounded) = yes]
33699         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33700         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33701         append to variable.
33702         [$(build-bounded) = yes] (install-lib): Likewise.
33703         [$(build-bounded) = yes] (generated): Likewise.
33704         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33705         Remove rule.
33706         * intl/Makefile [$(build-bounded) = yes]
33707         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33708         * math/Makefile [$(build-bounded) = yes]
33709         ($(tests:%=$(objpfx)%-bp): Likewise.
33710         * misc/Makefile [$(build-bounded) = yes]
33711         ($(objpfx)tst-tsearch-bp): Likewise.
33712         * nptl/Makeconfig (bounded-thread-library): Remove variable.
33713         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33714         Remove dependency.
33715         * string/Makefile (o-objects.ob): Remove variable.
33716         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33717         (CFLAGS-.ob): Remove variable.
33718         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33719         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33720         both definitions of variable.
33721         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33722         (ASFLAGS-.ob): Remove variable.
33724 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
33726         [BZ #13550]
33727         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33728         Remove __BOUNDED_POINTERS__ from condition.
33729         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33730         * string/bits/string2.h [!__NO_STRING_INLINES &&
33731         !__BOUNDED_POINTERS__]: Likewise.
33732         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33733         Likewise.
33734         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33735         Remove conditional code.
33736         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33737         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33738         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33739         condition.
33741         [BZ #13550]
33742         * csu/libc-start.c: Do not include <bp-sym.h>.
33743         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33744         * elf/dl-open.c: Do not include <bp-sym.h>.
33745         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33746         * math/fegetenv.c: Do not include <bp-sym.h>.
33747         (fegetenv): Do not use BP_SYM in versioned symbols.
33748         * nptl/sysdeps/pthread/bits/libc-lockP.h
33749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33750         <bp-sym.h>.
33751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33752         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33754         (__pthread_mutex_destroy): Likewise.
33755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33756         (__pthread_mutex_lock): Likewise.
33757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33758         (__pthread_mutex_trylock): Likewise.
33759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33760         (__pthread_mutex_unlock): Likewise.
33761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33762         (__pthread_mutexattr_init): Likewise.
33763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33764         (__pthread_mutexattr_destroy): Likewise.
33765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33766         (__pthread_mutexattr_settype): Likewise.
33767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33768         (__pthread_rwlock_init): Likewise.
33769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33770         (__pthread_rwlock_destroy): Likewise.
33771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33772         (__pthread_rwlock_rdlock): Likewise.
33773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33774         (__pthread_rwlock_tryrdlock): Likewise.
33775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33776         (__pthread_rwlock_wrlock): Likewise.
33777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33778         (__pthread_rwlock_trywrlock): Likewise.
33779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33780         (__pthread_rwlock_unlock): Likewise.
33781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33782         (__pthread_key_create): Likewise.
33783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33784         (__pthread_setspecific): Likewise.
33785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33786         (__pthread_getspecific): Likewise.
33787         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33788         Likewise.
33789         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33790         (_pthread_cleanup_push_defer): Likewise.
33791         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33792         (_pthread_cleanup_pop_restore): Likewise.
33793         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33794         (pthread_setcancelstate): Likewise.
33795         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33796         <bp-sym.h>.
33797         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33798         (memchr): Do not use BP_SYM in weak_alias.
33799         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33800         (fegetenv): Do not use BP_SYM in versioned symbols.
33801         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33802         (fesetenv): Do not use BP_SYM in versioned symbols.
33803         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33804         (feupdateenv): Do not use BP_SYM in versioned symbols.
33805         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33806         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33807         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33808         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33809         (open64): Do not use BP_SYM in weak_alias.
33810         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33811         (fegetenv): Do not use BP_SYM in versioned symbols.
33812         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33813         (fesetenv): Do not use BP_SYM in versioned symbols.
33814         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33815         (feupdateenv): Do not use BP_SYM in versioned symbols.
33816         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33817         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33818         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33819         (feraiseexcept): Do not use BP_SYM in versioned symbols.
33820         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33821         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33822         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33823         <bp-sym.h>.
33824         (__libc_start_main): Do not use BP_SYM.
33826 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33828         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33829         redundant return line.
33830         (norm): Likewise.
33831         (denorm): Likewise.
33832         (dbl_mp): Likewise.
33833         (sub_magnitudes): Likewise.
33834         (__add): Likewise.
33835         (__sub): Likewise.
33836         (__mul): Likewise.
33837         (__inv): Likewise.
33838         (__dvd): Likewise.
33839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33840         (norm): Likewise.
33841         (denorm): Likewise.
33842         (dbl_mp): Likewise.
33843         (sub_magnitudes): Likewise.
33844         (__add): Likewise.
33845         (__sub): Likewise.
33846         (__mul): Likewise.
33847         (__inv): Likewise.
33848         (__dvd): Likewise.
33850         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33851         instead of __mul.
33852         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33853         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33854         (cc32): Likewise.
33856         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33857         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33859         of __mul for squares.
33860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33861         function
33862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33863         Likewise.
33864         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33865         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33867 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
33869         [BZ #13550]
33870         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33871         code.
33872         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33873         prototype or function definition.  Rename ubp_* variables and
33874         parameters.  Remove argv definitions conditional on
33875         [__BOUNDED_POINTERS__].
33876         * debug/backtrace.c (__backtrace): Do not use __unbounded.
33877         * elf/dl-runtime.c (_dl_fixup): Likewise.
33878         * include/set-hooks.h (RUN_HOOK): Likewise.
33879         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33880         definition.
33881         * string/strcpy.c (strcpy): Do not use __unbounded.
33882         * sysdeps/generic/frame.h (struct layout): Likewise.
33883         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33884         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33885         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33886         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33887         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33888         (__backtrace): Likewise.
33889         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33890         use __ptrvalue.
33891         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33892         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33893         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33894         Likewise.
33895         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33896         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33897         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33898         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33899         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33900         Do not use __unbounded.
33901         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33902         Rename __unboundedrlimits parameter to rlimits in prototype.
33903         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33904         Do not use __unbounded.
33905         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33906         not use __ptrvalue.
33907         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33908         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33909         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33910         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33911         __ptrvalue or __unbounded.
33912         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33913         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33914         use __unbounded.
33915         (__new_msgctl): Do not use __ptrvalue.
33916         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33917         __unbounded.
33918         (__libc_msgrcv): Do not use __ptrvalue.
33919         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33920         startup_info): Do not use __unbounded.
33921         (__libc_start_main): Likewise.  Rename ubp_* variables and
33922         parameters.  Remove argv definitions conditional on
33923         [__BOUNDED_POINTERS__].
33924         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33925         __ptrvalue.
33926         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33927         use __unbounded.
33928         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33929         or __ptrvalue.
33930         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33931         use __unbounded.
33932         (__new_shmctl): Do not use __ptrvalue.
33933         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33934         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33935         Likewise.
33936         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33937         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33938         (__libc_sigaction): Likewise.
33939         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33940         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33941         Likewise.
33942         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33944 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
33946         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33948         * string/mempcpy.c: Implement by calling memcpy.
33950 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33955         evaluation.
33957         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33958         values in the mantissa.
33960         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33961         minimize writes to Z.
33962         (sub_magnitudes): Simplify code a bit.
33964 2013-02-12  Roland McGrath  <roland@hack.frob.com>
33966         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33967         from the message.  The linker prefixes all warnings with that already.
33969 2013-02-12  Andreas Schwab  <schwab@suse.de>
33971         [BZ #15078]
33972         * posix/regexec.c (extend_buffers): Add parameter min_len.
33973         (check_matching): Pass minimum needed length.
33974         (clean_state_log_if_needed): Likewise.
33975         (get_subexp): Likewise.
33976         * posix/Makefile (tests): Add bug-regex34.
33977         (bug-regex34-ENV): Define.
33978         * posix/bug-regex34.c: New file.
33980         [BZ #11561]
33981         * posix/regcomp.c (parse_bracket_exp): When looking up collating
33982         elements compare against the byte sequence of it, not its name.
33983         * posix/Makefile (tests): Add bug-regex35.
33984         (bug-regex35-ENV): Define.
33985         * posix/bug-regex35.c: New file.
33987 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33989         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
33990         comment.
33991         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33992         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33993         (CHECK_EOL): Add undef.
33995 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
33997         * bits/stdlib-bsearch.h: New file.
33998         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33999         * stdlib/stdlib.h: Likewise.
34001 2013-02-11  Roland McGrath  <roland@hack.frob.com>
34003         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34004         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34005         declaration.
34006         * manual/search.texi (Array Search Function): Add missing const in
34007         lfind prototype.
34008         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34009         declaration to use rlim_t.
34010         (Basic Scheduling Functions): Remove erroneous const from
34011         sched_getparam prototype.  Remove erroneous * from
34012         sched_get_priority_max and sched_get_priority_min prototypes.
34013         (Resource Usage): Fix summary @comment on vtimes to refer to
34014         sys/vtimes.h rather than vtimes.h.
34015         Add missing *s in vtimes prototype.
34016         (Limits on Resources): Fix ulimit prototype to return long int.
34017         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34018         prototypes to use long int rather than double.
34019         (BSD Random): Fix initstate and setstate to use char *, not void *.
34020         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34021         prototype to make second argument 'struct aiocb64 *const[]'.
34022         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34023         (Status of AIO Operations): Remove erroneous const in aio_return and
34024         aio_return64 prototypes.
34025         (Synchronizing I/O): Fix sync prototype to return void.
34026         * manual/startup.texi (Suboptions): Remove an erroneous const in
34027         getsubopt prototype.
34028         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34029         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34030         use size_t rather than int.
34031         (Scanning All Users): Likewise for getpwent_r.
34032         (Setting Groups): Add missing const to setgroups prototype.
34033         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34034         * manual/socket.texi (Host Names): Fix gethostbyaddr and
34035         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34036         'const void *' rather than 'const char *'.
34037         (Host Address Functions): Likewise for inet_ntop.
34038         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34039         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34040         ssize_t for return value.
34041         (Sending Data): Likewise for send, sendto, sendmsg.
34042         (Socket Option Functions): Add a missing const in setsockopt prototype.
34043         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34044         use wchar_t for the argument.
34045         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34046         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34047         take no arguments.
34048         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34049         double/float/long double for second argument.
34050         Fix return types of significand, significandf, significandl.
34051         * manual/filesys.texi (Setting Permissions): Use mode_t for second
34052         argument in fchmod prototype.
34053         (File Owner): Use uid_t and gid_t in fchown prototype.
34054         (File Times): Add const to utimes, futimes, and lutimes prototypes.
34055         (Making Special Files): Use mode_t and dev_t in mknod prototype.
34056         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34057         use 'const struct dirent **' as argument types to CMP function pointer
34058         argument.
34059         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34060         (File Times): Fix summary magic @comment for struct utimbuf and utime
34061         to refer to utime.h, not time.h.
34062         * manual/string.texi (Argz Functions): Add missing const in
34063         argz_extract and argz_next prototypes.
34064         (Finding Tokens in a String): Likewise for basename.
34065         (String/Array Comparison): Fix typo in wcscasecmp prototype.
34066         (Copying and Concatenation): Fix typo in wmemmove prototype.
34067         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34068         (Signal Stack): Remove erroneous const in sigstack prototype.
34069         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34070         prototype.
34071         (Simple Calendar Time): Likewise for stime.
34072         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34073         prototype.
34074         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34075         say sys/sysctl.h instead.
34076         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34077         and vsyslog prototypes.
34079 2013-02-11  Tom de Vries  <tom@codesourcery.com>
34081         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34082         Remove.
34084 2013-02-11  Roland McGrath  <roland@hack.frob.com>
34086         * misc/sys/mman.h: Fix typo in mremap comment.
34088 2013-02-08  Roland McGrath  <roland@hack.frob.com>
34090         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34091         the '\0' terminator.
34093 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
34095         [BZ #13550]
34096         * debug/segfault.c: Don't include <bp-checks.h>.
34097         * sysdeps/generic/bp-checks.h: Remove file.
34098         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34099         (__GETDENTS): Don't use CHECK_N.
34100         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34101         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34102         (__getgroups): Don't use CHECK_N.
34103         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34104         (setgroups): Don't use CHECK_N.
34105         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34106         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34107         (__libc_msgrcv): Don't use CHECK_N.
34108         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34109         (__libc_msgsnd): Don't use CHECK_N.
34110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34111         <bp-checks.h>.
34112         (__libc_pread): Don't use CHECK_N.
34113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34114         include <bp-checks.h>.
34115         (__libc_pread64): Don't use CHECK_N.
34116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34117         include <bp-checks.h>.
34118         (__libc_pwrite): Don't use CHECK_N.
34119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
34120         include <bp-checks.h>.
34121         (__libc_pwrite64): Don't use CHECK_N.
34122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
34123         <bp-checks.h>.
34124         (__libc_pread): Don't use CHECK_N.
34125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34126         include <bp-checks.h>.
34127         (__libc_pread64): Don't use CHECK_N.
34128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
34129         include <bp-checks.h>.
34130         (__libc_pwrite): Don't use CHECK_N.
34131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
34132         include <bp-checks.h>.
34133         (__libc_pwrite64): Don't use CHECK_N.
34134         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
34135         (do_pread): Don't use CHECK_N.
34136         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
34137         (do_pread64): Don't use CHECK_N.
34138         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
34139         (do_pwrite): Don't use CHECK_N.
34140         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
34141         (do_pwrite64): Don't use CHECK_N.
34142         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
34143         (__libc_readv): Don't use CHECK_N.
34144         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
34145         (semop): Don't use CHECK_N.
34146         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
34147         <bp-checks.h>.
34148         (semtimedop): Don't use CHECK_N.
34149         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
34150         (__libc_pread): Don't use CHECK_N.
34151         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
34152         <bp-checks.h>.
34153         (__libc_pread64): Don't use CHECK_N.
34154         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34155         <bp-checks.h>.
34156         (__libc_pwrite): Don't use CHECK_N.
34157         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34158         <bp-checks.h>.
34159         (__libc_pwrite64): Don't use CHECK_N.
34160         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34161         <bp-checks.h>.
34162         (__libc_msgrcv): Don't use CHECK_N.
34163         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34164         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
34165         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34166         (__libc_writev): Don't use CHECK_N.
34168 2013-02-08  Roland McGrath  <roland@hack.frob.com>
34170         * string/strcpy.c: Removed unused variable.
34172         * Makeconfig (+sysdep-includes): Define with := rather than =.
34173         Use an existing include/ subdir of each sysdeps dir before it.
34175 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34177         * nscd/connection.c (register_traced_file): Comment function.
34178         [HAVE_INOTIFY] (union __inev): Define.
34179         [HAVE_INOTIFY] (inotify_check_files): New function.
34180         [HAVE_INOTIFY] (clear_db_cache): Likewise.
34181         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34182         clear_db_cache.
34183         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34185 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34187         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34188         loaded if not already and that a failure is permanent.
34190 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34192         [BZ #15006]
34193         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34194         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34196 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
34198         [BZ #13550]
34199         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34200         (CHECK_1_NULL_OK): Likewise.
34201         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34202         (__fxstat): Do not use CHECK_1.
34203         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34204         <bp-checks.h>.
34205         (___fxstat64): Do not use CHECK_1.
34206         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34207         <bp-checks.h>.
34208         (__fxstatat): Do not use CHECK_1.
34209         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34210         <bp-checks.h>.
34211         (__fxstatat64): Do not use CHECK_1.
34212         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34213         <bp-checks.h>.
34214         (__fxstat): Do not use CHECK_1.
34215         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34216         <bp-checks.h>.
34217         (__fxstatat): Do not use CHECK_1.
34218         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34219         <bp-checks.h>.
34220         (__getresgid): Do not use CHECK_1.
34221         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34222         <bp-checks.h>.
34223         (__getresuid): Do not use CHECK_1.
34224         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34225         <bp-checks.h>.
34226         (__lxstat): Do not use CHECK_1.
34227         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34228         <bp-checks.h>.
34229         (__old_msgctl): Do not use CHECK_1.
34230         (__new_msgctl): Likewise.
34231         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34232         <bp-checks.h>.
34233         (__new_setrlimit): Do not use CHECK_1.
34234         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34235         <bp-checks.h>.
34236         (__old_shmctl): Do not use CHECK_1.
34237         (__new_shmctl): Likewise.
34238         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34239         <bp-checks.h>.
34240         (__xstat): Do not use CHECK_1.
34241         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34242         (__lxstat): Do not use CHECK_1.
34243         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34244         <bp-checks.h>.
34245         (___lxstat64): Do not use CHECK_1.
34246         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34247         (__old_msgctl): Do not use CHECK_1.
34248         (__new_msgctl): Likewise.
34249         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34250         <bp-checks.h>.
34251         (__gettimeofday): Do not use CHECK_1.
34252         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34253         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34254         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34255         <bp-checks.h>.
34256         (__gettimeofday): Do not use CHECK_1.
34257         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34258         (__old_shmctl): Do not use CHECK_1_NULL_OK.
34259         (__new_shmctl): Do not use CHECK_1.
34260         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34261         <bp-checks.h>.
34262         (do_sigtimedwait): Do not use CHECK_1.
34263         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34264         <bp-checks.h>.
34265         (do_sigwaitinfo): Do not use CHECK_1.
34266         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34267         <bp-checks.h>.
34268         (msgctl): Do not use CHECK_1.
34269         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34270         <bp-checks.h>.
34271         (shmctl): Do not use CHECK_1.
34272         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34273         (ustat): Do not use CHECK_1.
34274         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34275         <bp-checks.h>.
34276         (__fxstat): Do not use CHECK_1.
34277         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34278         <bp-checks.h>.
34279         (__fxstatat): Do not use CHECK_1.
34280         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34281         <bp-checks.h>.
34282         (__lxstat): Do not use CHECK_1.
34283         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34284         <bp-checks.h>.
34285         (__xstat): Do not use CHECK_1.
34286         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34287         (__xstat): Do not use CHECK_1.
34288         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34289         (___xstat64): Do not use CHECK_1.
34291         [BZ #13550]
34292         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34293         definitions.
34294         (CHECK_BOUNDS_HIGH): Likewise.
34295         * string/strcpy.c: Do not include <bp-checks.h>.
34296         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34298 2013-02-07  Roland McGrath  <roland@hack.frob.com>
34300         * nscd/nscd-client.h (__nscd_drop_map_ref):
34301         Add __attribute__ ((unused)).
34302         * nis/nss-nisplus.h (niserr2nss): Likewise.
34304         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34305         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34307         * csu/libc-tls.c (init_static_tls, init_slotinfo):
34308         Remove inline keyword.
34309         * include/rounding-mode.h (round_away): Likewise.
34310         * libio/wfileops.c (adjust_wide_data): Likewise.
34311         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34312         (__m128i_strloadu_tolower): Likewise.
34313         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34314         (__m128i_strloadu_tolower): Likewise.
34315         * time/mktime.c (ydhms_diff): Likewise.
34316         * locale/elem-hash.h (elem_hash): Likewise.
34317         * locale/setlocale.c (setdata): Likewise.
34318         * posix/regex_internal.h (re_string_char_size_at): Likewise.
34319         (re_string_wchar_at): Likewise.
34320         (bitset_not, bitset_merge, bitset_mask): Likewise.
34321         [!(__GNUC__ > 3)] (inline): Remove macro.
34322         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34323         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34324         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34325         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34326         * string/memcmp.c (memcmp_bytes): Likewise.
34327         * locale/programs/locarchive.c (compute_hashval): Likewise.
34328         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34329         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34330         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34331         * nss/getent.c (print_rpc, print_protocols): Likewise.
34332         (print_passwd, print_group, print_aliases): Likewise.
34333         * nis/nss-nisplus.h (niserr2nss): Likewise.
34334         * nscd/connections.c (restart_p): Likewise.
34335         Change return type to bool.
34337 2013-02-05  Roland McGrath  <roland@hack.frob.com>
34339         * Makeconfig (all-Depend-files): Add existing
34340         $(sorted-subdirs:=/Depend) files.
34341         (all-subdirs): Remove nss.
34342         * sysdeps/unix/inet/Subdirs: Add it here instead.
34343         * hesiod/Depend: New file.
34345         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34346         instead of calling alloca.
34348         * io/lseek.c (__lseek): Rename to __libc_lseek.
34349         Define __lseek as an alias.
34351         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34353 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
34355         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34356         else clause and remove check for non-standard endianness.
34358 2013-02-04  David S. Miller  <davem@davemloft.net>
34360         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34362 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
34364         [BZ #13550]
34365         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34366         (__ubp_memchr): Remove prototype.
34367         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34368         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34369         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34370         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34371         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34372         Remove alias.
34373         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34374         (__ubp_memchr): Likewise.
34375         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34376         (__ubp_memchr): Likewise.
34377         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34378         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34379         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34380         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34381         CHECK_STRING.
34382         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34383         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34384         (__getcwd): Do not use CHECK_STRING.
34385         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34386         <bp-checks.h>.
34387         (__real_chown): Do not use CHECK_STRING.
34388         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34389         <bp-checks.h>.
34390         (fchownat): Do not use CHECK_STRING.
34391         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34392         CHECK_STRING.
34393         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34394         <bp-checks.h>.
34395         (__lchown): Do not use CHECK_STRING.
34396         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34397         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34398         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34399         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34401         include <bp-checks.h>.
34402         (truncate64): Do not use CHECK_STRING.
34403         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34404         <bp-checks.h>.
34405         (__real_chown): Do not use CHECK_STRING.
34406         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34407         <bp-checks.h>.
34408         (__lchown): Do not use CHECK_STRING.
34409         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34410         <bp-checks.h>.
34411         (__chown): Do not use CHECK_STRING.
34412         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34413         <bp-checks.h>.
34414         (truncate64): Do not use CHECK_STRING.
34415         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34416         Likewise.
34417         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34418         (__xmknod): Do not use CHECK_STRING.
34419         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34420         <bp-checks.h>.
34421         (__xmknodat): Do not use CHECK_STRING.
34422         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34423         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34425 2013-02-04  Andreas Schwab  <schwab@suse.de>
34427         [BZ #14142]
34428         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34429         * include/netdb.h: Likewise for h_errno.
34430         * elf/tst-stackguard1.c: Include <tls.h>.
34432 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
34434         * elf/link.h (struct link_map): Extend the l_addr comment.
34435         * include/link.h (struct link_map): Likewise.
34437 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
34439         [BZ #13550]
34440         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34441         (BOUNDED_1): Remove macro.
34442         * debug/backtrace.c: Don't include <bp-checks.h>.
34443         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34444         (__backtrace): Likewise.
34445         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34446         <bp-checks.h>.
34447         (__backtrace): Don't use BOUNDED_1.
34448         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34449         <bp-checks.h>.
34450         (__backtrace): Don't use BOUNDED_1.
34451         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34452         (__backtrace): Don't use BOUNDED_1.
34453         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34454         (shmat): Don't use BOUNDED_N.
34456 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
34458         [BZ #13550]
34459         * sysdeps/generic/bp-start.h: Remove file.
34460         * csu/libc-start.c: Don't include <bp-start.h>.
34461         (LIBC_START_MAIN): Set up __environ directly instead of using
34462         INIT_ARGV_and_ENVIRON.
34463         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34464         <bp-start.h>.
34466         [BZ #13550]
34467         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34468         definitions.
34469         (CHECK_FCNTL): Likewise.
34470         (CHECK_N_PAGES): Likewise.
34472         [BZ #13550]
34473         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34474         definitions.
34475         (CHECK_SIGSET_NULL_OK): Likewise.
34476         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34477         <bp-checks.h>.
34478         (sigpending): Don't use CHECK_SIGSET.
34479         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34480         <bp-checks.h>.
34481         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34482         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34483         <bp-checks.h>.
34484         (do_sigsuspend): Don't use CHECK_SIGSET.
34485         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34486         use CHECK_SIGSET.
34487         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34488         (do_sigwait): Don't use CHECK_SIGSET.
34489         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34490         use CHECK_SIGSET.
34491         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34492         include <bp-checks.h>.
34493         (sigpending): Don't use CHECK_SIGSET.
34494         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34495         include <bp-checks.h>.
34496         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34497         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34498         <bp-checks.h>.
34499         (sigpending): Don't use CHECK_SIGSET.
34500         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34501         <bp-checks.h>.
34502         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34504         [BZ #13550]
34505         * sysdeps/generic/bp-semctl.h: Remove file.
34506         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34507         <bp-checks.h> and <bp-semctl.h>.
34508         (__old_semctl): Don't use CHECK_SEMCTL.
34509         (__new_semctl): Likewise.
34510         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34511         and <bp-semctl.h>.
34512         (__old_semctl): Don't use CHECK_SEMCTL.
34513         (__new_semctl): Likewise.
34514         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34515         <bp-checks.h> and <bp-semctl.h>.
34516         (__old_semctl): Don't use CHECK_SEMCTL.
34517         (__new_semctl): Likewise.
34518         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
34519         <bp-checks.h> and <bp-semctl.h>.
34520         (semctl): Don't use CHECK_SEMCTL.
34522         [BZ #13550]
34523         * Makerules (elide-bp-thunks): Remove variable.
34524         (elide-routines.oS): Don't use $(elide-bp-thunks).
34525         (elide-routines.os): Likewise.
34526         (elide-routines.o): Likewise.
34527         (elide-routines.op): Likewise.
34528         (elide-routines.og): Likewise.
34529         (objects): Don't use $(bp-thunks).
34530         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
34531         include.
34532         (common-generated): Do not add s-proto-bp.d.
34533         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
34534         (int): Likewise.
34535         (typ): Likewise.
34536         Do not generate makefile rules for bounded-pointer thunks.
34537         * sysdeps/generic/bp-thunks.h: Remove file.
34538         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
34539         * sysdeps/unix/s-proto-bp.S: Likewise.
34541         [BZ #15062]
34542         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
34543         parts of result separately when argument is not close to line from
34544         -i to i and one part of argument is small.
34545         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34546         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34547         * math/libm-test.inc (cacos_test): Add more tests.
34548         (casin_test): Likewise.
34549         (casinh_test): Likewise.
34550         * sysdeps/i386/fpu/libm-test-ulps: Update.
34551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34553 2013-01-31  David S. Miller  <davem@davemloft.net>
34555         * po/de.po: Update from translation team.
34557 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
34559         * time/tzfile.c: Include stdint.h for SIZE_MAX.
34561 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
34563         * configure.in (_AC_PROG_CC_C89): New definition.
34564         * configure: Regenerate.
34566         * configure.in (AC_PROG_CPP): New definition.
34567         * configure: Regenerate.
34569 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
34571         * debug/tst-backtrace.h: New file.
34572         * debug/tst-backtrace2.c: Include tst-backtrace.h.
34573         (ret): Remove variable.
34574         (x): Likewise.
34575         (FAIL): Remove macro.
34576         (NO_INLINE): Likewise.
34577         (fn1): Use match function instead of strstr.
34578         * debug/tst-backtrace3.c: Include tst-backtrace.h.
34579         (ret): Remove variable.
34580         (x): Likewise.
34581         (FAIL): Remove macro.
34582         (NO_INLINE): Likewise.
34583         (fn): Use match function instead of strstr.
34584         * debug/tst-backtrace4.c: Include tst-backtrace.h.
34585         (ret): Remove variable.
34586         (x): Likewise.
34587         (FAIL): Remove macro.
34588         (NO_INLINE): Likewise.
34589         (handle_signal): Use match function instead of strstr.
34590         * debug/tst-backtrace5.c: Include tst-backtrace.h.
34591         (ret): Remove variable.
34592         (x): Likewise.
34593         (FAIL): Remove macro.
34594         (NO_INLINE): Likewise.
34595         (handle_signal): Use match function instead of strstr.
34597 2013-01-23  Roland McGrath  <roland@hack.frob.com>
34599         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
34601 2013-01-23  David S. Miller  <davem@davemloft.net>
34603         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34604         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34605         argument of CAS if possible.
34606         * sysdeps/sparc/sparc64/bits/atomic.h
34607         (__arch_compare_and_exchange_val_32_acq): Likewise.
34608         (__arch_compare_and_exchange_val_64_acq): Likewise.
34610 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
34612         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34613         * sysdeps/posix/ulimit.c: ... this.
34614         Include <limits.h>.
34615         * sysdeps/unix/bsd/ulimit.c: Remove file.
34617 2013-01-23  Adam Conrad  <adconrad@0c3.net>
34619         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34620         (LDFLAGS-tst-array5): Likewise.
34622 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
34624         [BZ #15036]
34625         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34626         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34627         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34628         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34630 2013-01-21  David S. Miller  <davem@davemloft.net>
34632         * sysdeps/sparc/backtrace.c: New file.
34633         * sysdeps/sparc/sparc32/backtrace.h: New file.
34634         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34635         * sysdeps/sparc/sparc64/backtrace.h: New file.
34636         * sysdeps/sparc/sparc64/backtrace.c: Delete.
34637         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34638         -funwind-tables.
34640 2013-01-21  Andreas Schwab  <schwab@suse.de>
34642         [BZ #15020]
34643         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34644         closed its stdout.
34646 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
34648         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34649         "mpa2.h".
34650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34652 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
34653             Mark Mitchell  <mark@codesourcery.com>
34654             Tom de Vries  <tom@codesourcery.com>
34655             Paul Pluzhnikov  <ppluzhnikov@google.com>
34657         * debug/tst-backtrace2.c: New file.
34658         * debug/tst-backtrace3.c: Likewise.
34659         * debug/tst-backtrace4.c: Likewise.
34660         * debug/tst-backtrace5.c: Likewise.
34661         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34662         (CFLAGS-tst-backtrace3.c): Likewise.
34663         (CFLAGS-tst-backtrace4.c): Likewise.
34664         (CFLAGS-tst-backtrace5.c): Likewise.
34665         (LDFLAGS-tst-backtrace2): Likewise.
34666         (LDFLAGS-tst-backtrace3): Likewise.
34667         (LDFLAGS-tst-backtrace4): Likewise.
34668         (LDFLAGS-tst-backtrace5): Likewise.
34669         (tests): Add new tests tst-backtrace2, tst-backtrace3,
34670         tst-backtrace4 and tst-backtrace5.
34672 2013-01-18  Anton Blanchard  <anton@samba.org>
34673             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34675         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34676         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34677         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34678         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34680         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34681         "+r" and remove output regs list as redundant.  Add explicit inline
34682         asm to specify register of return val to work around compiler codegen
34683         bug.  Remove (int) cast on return value.  Add return type parameter to
34684         use in macro so that this macro does not truncate return value for
34685         64-bit values.
34686         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34687         pass to INTERNAL_VSYSCALL_NCS.
34688         (INLINE_VSYSCALL): Add 'long int' as return type to
34689         INTERNAL_VSYSCALL_NCS macro invocation.
34690         (INTERNAL_VSYSCALL): Add 'long int' as return type to
34691         INTERNAL_VSYSCALL_NCS macro invocation.
34692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34694 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34696         [BZ #14496]
34697         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34698         Fix application of SIMD FP exception mask.
34700         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34701         mp_no from a power of two.
34702         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34703         __mpexp_twomm1.  Use __pow_mp.
34705         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34706         multiplication.
34708 2013-01-17  David S. Miller  <davem@davemloft.net>
34710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34712 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
34714         [BZ #15023]
34715         * include/complex.h: Condition contents on [!_COMPLEX_H].
34716         (__kernel_casinhf): New prototype.
34717         (__kernel_casinh): Likewise.
34718         (__kernel_casinhl): Likewise.
34719         * math/Makefile (libm_calls): Add k_casinh.
34720         * math/k_casinh.c: New file.
34721         * math/k_casinhf.c: Likewise.
34722         * math/k_casinhl.c: Likewise.
34723         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34724         finite nonzero arguments.
34725         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34726         finite nonzero arguments.
34727         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34728         finite nonzero arguments.
34729         * math/s_casinh.c: Do not include <float.h>.
34730         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34731         * math/s_casinhf.c: Do not include <float.h>.
34732         (__casinhf): Move code for finite nonzero arguments to
34733         k_casinhf.c.
34734         * math/s_casinhl.c: Do not include <float.h>.
34735         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34736         redefine.
34737         (__casinhl): Move code for finite nonzero arguments to
34738         k_casinhl.c.
34739         * math/libm-test.inc (cacos_test): Add more tests.
34740         * sysdeps/i386/fpu/libm-test-ulps: Update.
34741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34743 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
34745         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34746         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34747         [!HAVE_MREMAP]: Remove [defined linux] case.
34748         * malloc/arena.c: Do not include <malloc-sysdep.h>.
34750 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34752         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34754 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
34756         * elf/elf.h (R_386_SIZE32): New relocation.
34757         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34758         R_386_SIZE32.
34759         (elf_machine_rela): Likewise.
34760         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34761         R_X86_64_SIZE64 and R_X86_64_SIZE32.
34763 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
34765         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34766         (FP_FAST_FMA): Do not define.
34767         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34768         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34769         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34770         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34771         !_SOFT_FLOAT]: Likewise.
34772         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34773         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34774         value.
34775         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34776         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34777         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34778         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34779         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34780         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34781         file.
34783 2013-01-16  Andreas Schwab  <schwab@suse.de>
34785         [BZ #14327]
34786         * include/stdlib.h (__mktemp): Add declaration.
34787         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34788         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34790 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34792         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34793         definitions.
34794         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34795         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34796         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34797         definitions here.
34798         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34799         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34800         definitions.
34801         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34802         and ONE.
34803         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34804         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34805         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34806         definitions.
34807         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34808         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34809         definitions.
34810         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34812         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34814 2013-01-15  David S. Miller  <davem@davemloft.net>
34816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34817         trunc{,f} to libm-sysdep_routes.
34818         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34820         file.
34821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34823         file.
34824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34825         file.
34826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34828         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34829         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34830         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34831         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34832         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34833         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34836         nearbyint{,f} to libm-sysdep_routes.
34837         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34839         New file.
34840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34841         file.
34842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34843         New file.
34844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34845         file.
34846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34848         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34849         file.
34850         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34851         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34852         file.
34853         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34854         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34855         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34857         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34858         libc_feholdexcept and libc_fesetenv.
34860 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
34862         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34864 2013-01-14  David S. Miller  <davem@davemloft.net>
34866         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34867         (SPARC_ASM_VIS2_IFUNC): Likewise.
34868         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34870         use of 'siam' instruction.
34871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34872         Likewise.
34873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34874         Likewise.
34875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34876         Likewise.
34877         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34878         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34879         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34882         file.
34883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34884         file.
34885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34886         file.
34887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34888         file.
34889         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34890         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34891         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34892         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34894         new VIS2 routines.
34895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34898         Likewise.
34899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34904         routines to libm-sysdep_routines.
34905         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34908         fdim/fdimf to libm-sysdep_routines.
34909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34910         file.
34911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34913         file.
34914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34917         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34918         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34919         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34920         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34922 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34924         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34925         to optimize copies.
34927         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34928         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34929         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34931         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34932         local variable MPTWO.
34933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34934         Likewise.
34936 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34938         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34939         GLOB_NOESCAPE.
34941 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34943         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34945 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34947         * manual/pattern.texi (glob_t): Document gl_flags.
34948         (glob64_t): Likewise.
34950 2013-01-11  David S. Miller  <davem@davemloft.net>
34952         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34953         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34954         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
34955         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34956         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34957         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34958         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34959         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34960         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34961         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34962         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34963         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34964         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34966         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34967         sparc V9 rather than using V8 code.
34968         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34969         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34971         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34972         Move to...
34973         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34974         Here.
34976 2013-01-11  Roland McGrath  <roland@hack.frob.com>
34978         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34979         not in the main loop.
34980         * configure: Regenerated.
34982 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
34984         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34985         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34986         to just #else.
34987         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
34988         [!__GLIBC_HAVE_LONG_LONG] case.
34989         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34990         condition to just #else.
34991         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34992         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34993         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34994         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34995         unconditional.
34996         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34997         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34998         #elif condition to just #else.
34999         * sysdeps/unix/sysv/linux/sys/sysmacros.h
35000         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35001         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35002         #elif condition to just #else.
35004 2013-01-11  Steve Ellcey  <sellcey@mips.com>
35006         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35007         (EF_MIPS_ARCH_64): Fix value.
35008         (EF_MIPS_ARCH_32R2): New.
35009         (EF_MIPS_ARCH_64R2): New.
35011 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
35013         * Makeconfig (+link-pie-before-libc): New.
35014         (+link-pie-after-libc): Likewise.
35015         (+link-pie-tests): Likewise.
35016         (+link-pie): Rewritten.
35017         (link-before-libc): Remove $(config-LDFLAGS).
35018         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35019         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35020         (config-LDFLAGS): Renamed to ...
35021         (rtld-LDFLAGS): This.
35022         (rtld-tests-LDFLAGS): New macro.
35023         (link-libc-rpath-link): Likewise.
35024         (link-libc-tests-rpath-link): Likewise.
35025         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35026         (link-libc): Prepand $(link-libc-rpath-link).
35027         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35028         (test-program-prefix): New macro.
35029         (test-via-rtld-prefix): Likewise.
35030         (test-program-cmd): Likewise.
35031         (host-test-program-cmd): Likewise.
35032         * Makefile ($(common-objpfx)testrun.sh): Replace
35033         $(run-program-prefix) with $(test-program-prefix).
35034         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35035         $(rtld-LDFLAGS).
35036         ($(common-objpfx)shlib.lds): Likewise.
35037         (build-module-helper): Likewise.
35038         ($(common-objpfx)format.lds): Likewise.
35039         * Rules (binaries-pie-tests): New.
35040         (binaries-pie-notests): Likewise.
35041         (binaries-pie): Rewritten.
35042         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35043         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35044         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35045         (make-test-out): Replace $(host-built-program-cmd) with
35046         $(host-test-program-cmd).
35047         * config.make.in (build-hardcoded-path-in-tests): New variable.
35048         * configure.in (--enable-hardcoded-path-in-tests): New configure
35049         option.
35050         (hardcoded_path_in_tests): New AC_SUBST.
35051         * configure: Regenerated.
35052         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35053         $(built-program-cmd) with $(test-program-cmd).
35054         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35055         (test_program_cmd): This.
35056         * elf/Makefile ($(objpfx)order.out): Run test with
35057         $(test-program-prefix).
35058         ($(objpfx)order2.out): Likewise.
35059         ($(objpfx)tst-initorder.out): Likewise.
35060         ($(objpfx)tst-initorder2.out): Likewise.
35061         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35062         $(test-program-cmd).
35063         ($(objpfx)tst-array1-static.out): Likewise.
35064         ($(objpfx)tst-array2.out): Likewise.
35065         ($(objpfx)tst-array3.out): Likewise.
35066         ($(objpfx)tst-array4.out): Likewise.
35067         ($(objpfx)tst-array5.out): Likewise.
35068         ($(objpfx)tst-array5-static.out): Likewise.
35069         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35070         $(test-program-cmd).
35071         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35072         $(run-program-prefix) with $(test-program-prefix).
35073         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35074         (test_program_prefix): This.
35075         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35076         $(run-program-prefix) with $(test-program-prefix).
35077         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35078         (test_program_prefix): This.
35079         * iconvdata/tst-tables.sh: Likewise.
35080         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35081         $(run-program-prefix) with $(test-program-prefix).
35082         ($(objpfx)tst-translit.out): Likewise.
35083         ($(objpfx)tst-gettext2.out): Likewise.
35084         ($(objpfx)tst-gettext4.out): Likewise.
35085         ($(objpfx)tst-gettext6.out): Likewise.
35086         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35087         (test_program_prefix): This.
35088         * intl/tst-gettext2.sh: Likewise.
35089         * intl/tst-gettext4.sh  Likewise.
35090         * intl/tst-gettext6.sh: Likewise.
35091         * intl/tst-translit.sh: Likewise.
35092         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35093         with $(test-program-cmd).
35094         * libio/Makefile ($(objpfx)test-freopen.out): Replace
35095         $(run-program-prefix) with $(test-program-prefix).
35096         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35097         (test_program_prefix): This.
35098         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35099         $(run-program-prefix) with $(test-program-prefix).
35100         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35101         (test_program_prefix): This.
35102         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35103         * posix/Makefile ($(objpfx)globtest.out): Replace
35104         $(run-via-rtld-prefix) and $(test-wrapper) with
35105         $(test-program-prefix) and $(test-via-rtld-prefix).
35106         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35107         $(test-program-prefix).
35108         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35109         $(host-test-program-cmd).
35110         (tst-spawn-ARGS): Likewise.
35111         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35112         $(test-program-prefix).
35113         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35114         (test_via_rtld_prefix): This.
35115         (test_wrapper): Renamed to ...
35116         (test_program_prefix): This.
35117         (run_program_prefix): Replaced by test_program_prefix.
35118         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
35119         (test_program_prefix): This.
35120         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
35121         with $(host-test-program-cmd).
35122         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
35123         $(run-program-prefix) with $(test-program-prefix).
35124         ($(objpfx)tst-printf.out): Likewise.
35125         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
35126         $(test-program-cmd).
35127         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
35128         (test_program_prefix): This.
35129         * stdio-common/tst-unbputc.sh: Likewise.
35130         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
35131         $(run-program-prefix) with $(test-program-prefix).
35132         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
35133         (test_program_prefix): This.
35134         * string/Makefile ($(objpfx)tst-svc.out):  Replace
35135         $(built-program-cmd) with $(test-program-cmd).
35137 2013-01-11  Andreas Jaeger  <aj@suse.de>
35139         [BZ #15003]
35140         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
35141         value. Sync with Linux 3.7.
35143 2013-01-10  David S. Miller  <davem@davemloft.net>
35145         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
35146         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35147         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35149 2013-01-10  Roland McGrath  <roland@hack.frob.com>
35151         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
35152         never set.
35153         * configure: Regenerated.
35155 2013-01-10  David S. Miller  <davem@davemloft.net>
35157         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35158         sparc V9 rather than using V8 code.
35159         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35160         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35162 2013-01-10  Roland McGrath  <roland@hack.frob.com>
35164         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35165         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35166         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35167         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35168         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35169         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35170         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35171         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35172         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35173         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35174         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35175         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35176         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35177         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35178         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35179         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35180         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35181         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35182         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35183         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35184         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35185         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35186         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35187         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35188         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35189         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35190         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35192 2013-01-10  David S. Miller  <davem@davemloft.net>
35194         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35196 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35198         * posix/Makefile (tests-static): New variable.
35199         (tests): Add $(tests-static).
35200         (tst-exec-static-ARGS): New variable.
35201         (tst-spawn-static-ARGS): Likewise.
35202         * posix/tst-exec-static.c: New file.
35203         * posix/tst-spawn-static.c: Likewise.
35204         * posix/tst-exec.c: Support run directly.
35205         * posix/tst-spawn.c: Likewise.
35207 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
35209         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35210         long.
35211         * math/bits/mathcalls.h (llrint): Likewise.
35212         (llround): Likewise.
35213         * stdlib/stdlib.h (struct drand48_data): Likewise.
35214         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35215         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35216         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35217         Likewise.
35218         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35219         Likewise.
35220         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35221         (elf_greg_t): Likewise.
35222         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35223         (__jmp_buf): Likewise.
35224         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35225         definitions.
35226         (llrint): Likewise, for all definitions.
35227         (llrintl): Likewise.
35229         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35230         Remove [__GNUC__] condition.
35231         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35232         condition to just [__USE_ISOC99].
35233         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35235 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35237         [BZ #14200]
35238         * sysdeps/unix/sysv/linux/x86/bits/environments.h
35239         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35240         defined.
35241         (_POSIX_V6_ILP32_OFF32): Likewise.
35242         (_XBS5_ILP32_OFF32): Likewise.
35243         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35244         (__ILP32_OFFBIG_LDFLAGS): Likewise.
35246 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35248         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35250         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35251         doubles __mpexp_twomm1.  Adjust usage.
35252         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35253         Remove.
35255 2013-01-10  Andreas Schwab  <schwab@suse.de>
35257         [BZ #14964]
35258         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35259         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35261 2013-01-09  David S. Miller  <davem@davemloft.net>
35263         [BZ #15003]
35264         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35265         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35266         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35267         (TCP_FASTOPEN): Define.
35268         (tcp_repair_opt): New structure.
35269         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35270         enum values.
35271         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35272         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35273         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
35274         (tcp_cookie_transactions): New structure.
35276 2013-01-09  Anton Blanchard  <anton@samba.org>
35278         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35279         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35280         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35281         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35283 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
35285         * include/features.h (__USE_ANSI): Remove.
35287 2013-01-09  Roland McGrath  <roland@hack.frob.com>
35289         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35291         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35293 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
35295         * sysdeps/s390/fpu/libm-test-ulps: Update.
35297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35299         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35300         (__acr): Likewise.
35301         (__cpy): Likewise.
35302         (norm): Likewise.
35303         (denorm): Likewise.
35304         (__mp_dbl): Likewise.
35305         (__dbl_mp): Likewise.
35306         (add_magnitudes): Likewise.
35307         (sub_magnitudes): Likewise.
35308         (__add): Likewise.
35309         (__sub): Likewise.
35310         (__mul): Likewise.
35311         (__inv): Likewise.
35312         (__dvd): Likewise.
35313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35314         (__acr): Likewise.
35315         (__cpy): Likewise.
35316         (norm): Likewise.
35317         (denorm): Likewise.
35318         (__mp_dbl): Likewise.
35319         (__dbl_mp): Likewise.
35320         (add_magnitudes): Likewise.
35321         (sub_magnitudes): Likewise.
35322         (__add): Likewise.
35323         (__sub): Likewise.
35324         (__mul): Likewise.
35325         (__inv): Likewise.
35326         (__dvd): Likewise.
35327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35328         (__acr): Likewise.
35329         (__cpy): Likewise.
35330         (norm): Likewise.
35331         (denorm): Likewise.
35332         (__mp_dbl): Likewise.
35333         (__dbl_mp): Likewise.
35334         (add_magnitudes): Likewise.
35335         (sub_magnitudes): Likewise.
35336         (__add): Likewise.
35337         (__sub): Likewise.
35338         (__mul): Likewise.
35339         (__inv): Likewise.
35340         (__dvd): Likewise.
35342 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
35344         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35345         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35346         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35347         2 && __USE_EXTERN_INLINES]: Likewise.
35349 2013-01-08  Andreas Jaeger  <aj@suse.de>
35351         [BZ# 14985]
35352         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35353         Remove.
35354         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35355         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35357 2013-01-07  Anton Blanchard  <anton@samba.org>
35359         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35360         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35361         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35362         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35363         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35364         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35365         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35366         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35368         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35369         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35370         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35371         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35372         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35373         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35374         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35375         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35376         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35377         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35378         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35379         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35380         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35381         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35382         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35383         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35384         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35385         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35386         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35387         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35388         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35389         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35391         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35392         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35393         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35394         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35395         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35396         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35397         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35398         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35399         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35400         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35401         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35403 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
35405         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35406         (__MALLOC_PMT): Likewise.
35407         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35408         [__GNUC__], only on [_LIBC].
35409         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35410         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35411         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35412         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35413         forward declaration.
35414         (realloc_hook_ini): Likewise.
35415         (memalign_hook_ini): Likewise.
35416         (__libc_memalign): Do not use __MALLOC_PMT in variable
35417         declaration.
35418         (__libc_valloc): Likewise.
35419         (__libc_pvalloc): Likewise.
35420         (__libc_calloc): Likewise.
35421         (__posix_memalign): Likewise.
35423         [BZ #14996]
35424         * math/s_casinh.c: Include <float.h>.
35425         (__casinh): Do not do computation with squaring and square root
35426         for large arguments.
35427         * math/s_casinhf.c: Include <float.h>.
35428         (__casinhf): Do not do computation with squaring and square root
35429         for large arguments.
35430         * math/s_casinhl.c: Include <float.h>.
35431         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35432         (__casinhl): Do not do computation with squaring and square root
35433         for large arguments.
35434         * math/libm-test.inc (casin_test): Add more tests.
35435         (casinh_test): Likewise.
35436         * sysdeps/i386/fpu/libm-test-ulps: Update.
35437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35439 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
35441         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35442         (__x86_64_raw_data_cache_size): Likewise.
35443         (__x86_64_data_cache_size_half): Likewise.
35444         (__x86_64_raw_data_cache_size_half): Likewise.
35445         (__x86_64_shared_cache_size): Likewise.
35446         (__x86_64_raw_shared_cache_size): Likewise.
35447         (__x86_64_shared_cache_size_half): Likewise.
35448         (__x86_64_raw_shared_cache_size_half): Likewise.
35449         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35450         to ...
35451         (__x86_data_cache_size): This.
35452         (__x86_64_raw_data_cache_size): Renamed to ...
35453         (__x86_raw_data_cache_size): This.
35454         (__x86_64_data_cache_size_half): Renamed to ...
35455         (__x86_data_cache_size_half): This.
35456         (__x86_64_raw_data_cache_size_half): Renamed to ...
35457         (__x86_raw_data_cache_size_half): This.
35458         (__x86_64_shared_cache_size): Renamed to ...
35459         (__x86_shared_cache_size): This.
35460         (__x86_64_raw_shared_cache_size): Renamed to ...
35461         (__x86_raw_shared_cache_size): This.
35462         (__x86_64_shared_cache_size_half): Renamed to ...
35463         (__x86_shared_cache_size_half): This.
35464         (__x86_64_raw_shared_cache_size_half): Renamed to ...
35465         (__x86_raw_shared_cache_size_half): This.
35466         * sysdeps/x86_64/memcpy.S: Updated.
35467         * sysdeps/x86_64/memset.S: Likewise.
35468         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35469         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35470         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35472 2013-01-04  David S. Miller  <davem@davemloft.net>
35474         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35476 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
35478         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35479         1 to avoid redefinition warning.
35480         (__USE_GNU): Don't define.
35481         (init_signaling_nan): Protoize.
35483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35485 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35487         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35489         (__cpymn): Likewise.
35490         (norm): Remove commented code.
35491         (denorm): Likewise.
35492         (__mp_dbl): Likewise.
35493         (__inv): Likewise.
35494         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35495         (__cpymn): Likewise.
35496         (norm): Remove commented code.
35497         (denorm): Likewise.
35498         (__mp_dbl): Likewise.
35499         (__inv): Likewise.
35501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35502         mp_no value for 1.0 and 2.0.
35503         (norm): Use RADIXI instead of radixi.d.
35504         (denorm): Likewise.
35505         (__mul): Use 0.0 instead of zero.d.
35506         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
35507         mp_no value for 1.0 and 2.0.
35508         (norm): Use RADIXI instead of radixi.d.
35509         (denorm): Likewise.
35510         (__mul): Use 0.0 instead of zero.d.
35512 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
35514         [BZ #14994]
35515         * math/s_casinh.c (__casinh): Reduce finite argument to first
35516         quadrant then set signs of results at the end.
35517         * math/s_casinhf.c (__casinhf): Likewise.
35518         * math/s_casinhl.c (__casinhl): Likewise.
35519         * math/libm-test.inc (casin_test): Add more tests.
35520         (casinh_test): Likewise.
35521         * sysdeps/i386/fpu/libm-test-ulps: Update.
35522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35524 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35526         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
35528         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
35530         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
35531         declarations.
35532         (denorm): Likewise.
35533         (__mp_dbl): Likewise.
35534         (__inv): Likewise.
35536         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
35537         and adjust the header comment.
35539         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
35540         variable name from declaration.
35542 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
35544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35545         Initialize COMMON_CPUID_INDEX_7 element.
35546         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
35547         (CPUID_RTM): Likewise.
35548         (HAS_RTM): Likewise.
35549         (COMMON_CPUID_INDEX_7): New enum.
35551 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
35553         [BZ #14981]
35554         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
35555         size is zero, record memory as freed.
35557 2013-01-03  Andreas Jaeger  <aj@suse.de>
35559         * po/ia.po: Add new Interlingua translation.
35561 2012-01-03  Allan McRae  <allan@archlinux.org>
35563         * locale/programs/localedef.c: Fix description of '--posix' flag.
35565 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
35567         * NEWS: Update dates in second copyright notice.
35568         * README: Update copyright dates in example.
35569         * manual/libc.texinfo: Update copyright dates.
35570         * scripts/test-installation.pl: Update copyright date in --version
35571         output.
35573         * hurd/ctty-input.c: Fix copyright notice formatting.
35574         * hurd/ctty-output.c: Likewise.
35575         * hurd/dtable.c: Likewise.
35576         * hurd/hurd-raise.c: Likewise.
35577         * hurd/hurdprio.c: Likewise.
35578         * hurd/msgportdemux.c: Likewise.
35579         * misc/sys/file.h: Likewise.
35580         * misc/sys/ioctl.h: Likewise.
35581         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35582         * sysdeps/mach/hurd/chdir.c: Likewise.
35583         * sysdeps/mach/hurd/fchdir.c: Likewise.
35584         * sysdeps/mach/hurd/rename.c: Likewise.
35585         * sysdeps/mach/hurd/rmdir.c: Likewise.
35586         * sysdeps/mach/hurd/seekdir.c: Likewise.
35587         * sysdeps/mach/hurd/setsid.c: Likewise.
35588         * sysdeps/posix/wait3.c: Likewise.
35590         * All files with FSF copyright notices: Update copyright dates
35591         using scripts/update-copyrights.
35592         * intl/plural.c: Regenerated.
35593         * locale/programs/charmap-kw.h: Likewise.
35594         * locale/programs/locfile-kw.h: Likewise.
35596 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35598         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35599         four values.
35601         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
35602         calculation loop and add branch prediction.
35604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35605         check access beyond bounds of m1np.
35607         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35608         MPTWO.
35609         (__inv): Remove local variable MPTWO to use the global
35610         constant.
35611         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35612         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35613         variable MPTWO.
35614         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35615         MP3HALFS static const.
35617 2013-01-01  David S. Miller  <davem@davemloft.net>
35619         * po/ca.po: Update from translation team.
35621 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
35623         * scripts/update-copyrights: New file.
35624         * Makeconfig: Reformat copyright notice.
35625         * ctype/ctype.h: Likewise.
35626         * debug/swprintf_chk.c: Likewise.
35627         * elf/dl-cache.c: Likewise.
35628         * elf/dl-debug.c: Likewise.
35629         * elf/dl-object.c: Likewise.
35630         * grp/initgroups.c: Likewise.
35631         * hurd/Makefile: Likewise.
35632         * hurd/hurd/signal.h: Likewise.
35633         * hurd/hurdfault.c: Likewise.
35634         * hurd/hurdioctl.c: Likewise.
35635         * hurd/hurdlookup.c: Likewise.
35636         * hurd/intr-msg.c: Likewise.
35637         * iconv/gconv_open.c: Likewise.
35638         * libio/swprintf.c: Likewise.
35639         * locale/lc-ctype.c: Likewise.
35640         * locale/nl_langinfo.c: Likewise.
35641         * mach/Machrules: Likewise.
35642         * mach/Makefile: Likewise.
35643         * malloc/obstack.h: Likewise.
35644         * manual/Makefile: Likewise.
35645         * manual/tsort.awk: Likewise.
35646         * misc/bits/stab.def: Likewise.
35647         * nis/nis_print_group_entry.c: Likewise.
35648         * nis/nis_table.c: Likewise.
35649         * nis/nss_compat/compat-pwd.c: Likewise.
35650         * nis/nss_compat/compat-spwd.c: Likewise.
35651         * po/Makefile: Likewise.
35652         * posix/fnmatch.c: Likewise.
35653         * posix/regex.h: Likewise.
35654         * resolv/Makefile: Likewise.
35655         * resolv/nss_dns/dns-network.c: Likewise.
35656         * resolv/res_hconf.c: Likewise.
35657         * scripts/gen-sorted.awk: Likewise.
35658         * soft-fp/soft-fp.h: Likewise.
35659         * stdio-common/printf.h: Likewise.
35660         * stdlib/monetary.h: Likewise.
35661         * stdlib/random.c: Likewise.
35662         * stdlib/random_r.c: Likewise.
35663         * sysdeps/generic/Makefile: Likewise.
35664         * sysdeps/gnu/Makefile: Likewise.
35665         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35666         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35667         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35668         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35669         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35670         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35671         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35672         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35673         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35674         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35675         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35676         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35677         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35678         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35679         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35680         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35681         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35682         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35683         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35684         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35685         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35686         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35687         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35688         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35689         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35690         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35691         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35692         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35693         * sysdeps/mach/hurd/errnos.awk: Likewise.
35694         * sysdeps/mach/hurd/fork.c: Likewise.
35695         * sysdeps/mach/hurd/getcwd.c: Likewise.
35696         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35697         * sysdeps/mach/hurd/mmap.c: Likewise.
35698         * sysdeps/mach/hurd/utimes.c: Likewise.
35699         * sysdeps/mach/hurd/xmknod.c: Likewise.
35700         * sysdeps/posix/profil.c: Likewise.
35701         * sysdeps/posix/readdir_r.c: Likewise.
35702         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35703         * sysdeps/powerpc/bits/setjmp.h: Likewise.
35704         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35705         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35707         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35708         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35709         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35711         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35712         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35713         * sysdeps/pthread/lio_listio.c: Likewise.
35714         * sysdeps/sparc/dl-procinfo.h: Likewise.
35715         * sysdeps/unix/i386/sysdep.S: Likewise.
35716         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35717         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35718         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35719         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35721         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35722         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35723         * sysdeps/unix/sysv/linux/speed.c: Likewise.
35724         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35725         * sysdeps/wordsize-32/divdi3.c: Likewise.
35726         * time/sys/time.h: Likewise.
35727         * wcsmbs/Makefile: Likewise.
35729 2013-01-01  David S. Miller  <davem@davemloft.net>
35731         * po/fr.po: Update from translation team.
35733         * catgets/gencat.c: Update copyright year.
35734         * csu/version.c: Likewise.
35735         * debug/catchsegv.sh: Likewise.
35736         * debug/pcprofiledump.c: Likewise.
35737         * debug/xtrace.sh: Likewise.
35738         * elf/ldconfig.c: Likewise.
35739         * elf/ldd.bash.in: Likewise.
35740         * elf/pldd.c: Likewise.
35741         * elf/sotruss.ksh: Likewise.
35742         * elf/sprof.c: Likewise.
35743         * iconv/iconv_prog.c: Likewise.
35744         * iconv/iconvconfig.c: Likewise.
35745         * locale/programs/locale.c: Likewise.
35746         * locale/programs/localedef.c: Likewise.
35747         * login/programs/pt_chown.c: Likewise.
35748         * malloc/memusage.sh: Likewise.
35749         * malloc/memusagestat.c: Likewise.
35750         * malloc/mtrace.pl: Likewise.
35751         * nscd/nscd.c: Likewise.
35752         * nss/getent.c: Likewise.
35753         * nss/makedb.c: Likewise.
35754         * posix/getconf.c: Likewise.
35756 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35758         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35759         numbers.
35761 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
35763         * math/bits/mathcalls.h (modf): Use __nonnull.
35765 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35767         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35768         (split): Use macro CN instead of the bare value.
35769         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35770         could be used.
35771         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35772         instead of the bare value.
35773         (power1): Likewise.
35775 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35777         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35778         __ATAN_TWOM.
35779         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35781         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35782         their values.
35783         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35784         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35785         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35786         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35788 2012-12-28  Andreas Jaeger  <aj@suse.de>
35790         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
35791         values are from Linux 3.7.
35793         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35794         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
35796 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35798         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35799         TRUE case.
35801         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35802         (norm): Likewise.
35803         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35804         variables with preprocessor constants.
35805         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35806         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35807         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35809 2012-12-27  Bruno Haible  <bruno@clisp.org>
35811         [BZ #14317]
35812         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35813         only if needed.
35815 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35818         and use variable directly.
35819         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35821         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35822         MPONE.
35823         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35824         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35825         variable MPONE.
35826         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35827         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35828         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35829         include directive.  Remove local variable MPONE.
35830         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35831         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35832         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35834 2012-12-25  David S. Miller  <davem@davemloft.net>
35836         * version.h (RELEASE): Set to "development".
35837         (VERSION): Set to "2.17.90".
35838         * NEWS: Add 2.18 section.
35840 2012-12-21  David S. Miller  <davem@davemloft.net>
35842         * po/hr.po: Update from translation team.
35844 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35846         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35848 2012-12-19  Steve Ellcey  <sellcey@mips.com>
35850         * NEWS:  Mention new memcpy for MIPS.
35852 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35854         * manual/contrib.texi (Contributors): Spelling correction.
35856 2012-12-15  David S. Miller  <davem@davemloft.net>
35858         * po/ru.po: Update from translation team.
35860 2012-12-13  David S. Miller  <davem@davemloft.net>
35862         * NEWS: Mention IFUNC testsuite enhancements.
35864         * po/pl.po: Update from translation team.
35865         * po/bg.po: Likewise.
35867         * manual/contrib.texi (Contributors): Update entries for Hongjiu
35868         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
35870 2012-12-11  David S. Miller  <davem@davemloft.net>
35872         * po/sv.po: Update from translation team.
35874         * po/vi.po: Update from translation team.
35876         * po/cs.po: Update from translation team.
35878         * po/de.po: Update from translation team.
35879         * po/eo.po: Likewise.
35880         * po/nl.po: Likewise.
35882 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35884         [BZ #14246]
35885         * manual/argp.texi (Argp Helper Functions): Move node to follow
35886         Argp Parsing State.
35888         [BZ #14872]
35889         * manual/conf.texi (Limits on File System Capacity): Mention if
35890         terminating null is included in the max size.
35892 2012-12-10  Andreas Jaeger  <aj@suse.de>
35894         * po/cs.po: Update from translation team.
35896 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35898         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35899         void pointer and cast to uintptr_t.
35900         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35901         path.
35902         * sysdeps/s390/s390-64/memcpy.S: Likewise.
35903         * sysdeps/s390/s390-64/memset.S: Likewise.
35905 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
35907         [BZ #14833]
35908         * menual/message.texi (Message Translation): Fix typos.
35909         (Helper programs for gettext): Likewise.
35911 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
35913         [BZ #14898]
35914         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35915         Change to -1.
35917 2012-12-07  David S. Miller  <davem@davemloft.net>
35919         * po/libc.pot: Update.
35921 2012-12-07  Richard Henderson  <rth@redhat.com>
35923         [BZ #10114]
35924         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35925         normal/normal case to before the switch.
35926         (_FP_DIV): Likewise.
35928 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
35929             Mike Frysinger  <vapier@gentoo.org>
35931         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35932         check for __NR_fadvise64_64.
35934 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
35936         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35937         0, not just to plain "0" as a statement.
35938         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35939         with cw.
35941 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
35943         * NEWS: Use sourceware.org in Bugzilla URL.
35945 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35948         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35950         * stdio-common/tst-put-error.c (do_test): Add newline to the
35951         padded test to ensure flush.
35953 2012-12-05  Jeff Law  <law@redhat.com>
35955         * sunrpc/etc.rpc (fedfs_admin): Add entry.
35957 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
35959         * README: Don't refer to ports add-on as distributed separately.
35960         Mention AArch64 in list of systems supported in the ports add-on.
35962         * LICENSES: Add more non-FSF copyright and license notices.
35964         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35965         ((unused)).
35967         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35969         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35970         10000 as width of padded output.
35972 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35974         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35976         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35977         variable LX with __attribute__ ((unused)).
35978         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35979         Likewise.
35980         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35981         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35983         with __attribute__ ((unused)).
35985 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
35987         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35989 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35991         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35992         (CFLAGS-nldbl-acos.c): New variable.
35993         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35994         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35995         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35996         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35997         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35998         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35999         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36000         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36001         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36002         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36003         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36004         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36005         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36006         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36007         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36008         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36009         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36010         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36011         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36012         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36013         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36014         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36015         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36016         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36017         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36018         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36019         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36020         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36021         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36022         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36023         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36024         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36025         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36026         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36027         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36028         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36029         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36030         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36031         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36032         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36033         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36034         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36035         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36036         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36037         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36038         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36039         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36040         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36041         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36042         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36043         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36044         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36045         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36046         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36047         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36048         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36049         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36050         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36051         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36052         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36053         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36054         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36055         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36056         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36057         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36058         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36059         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36060         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36061         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36062         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36063         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36064         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36065         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36066         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36067         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36068         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36069         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36070         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36071         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36072         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36073         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36074         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36075         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36076         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36077         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36078         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36079         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36080         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36081         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36082         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36083         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36084         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36085         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36086         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36087         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36088         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36089         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36092         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36094         [BZ #14914]
36095         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36096         whole low double instead of just low 47 bits when splitting values
36097         into two parts.
36099 2012-12-03  Allan McRae  <allan@archlinux.org>
36101         * manual/stdio.texi (Predefined Printf Handlers): Remove
36102         @hsep and @vsep usage.
36104 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
36106         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36107         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36109 2012-12-03  Jeff Law  <law@redhat.com>
36111         * time/sys/time.h (settimeofday): Do not mark TV argument
36112         as __nonnull.
36114 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
36116         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36117         when currently writing and seek to current position when not.
36118         * libio/Makefile (tests): Remove bug-fclose1.
36119         * libio/bug-fclose1.c: Delete.
36121 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
36123         * manual/arith.texi (feenableexcept): Fix typo.
36124         (fedisableexcept): Likewise.
36126 2012-11-30  Roland McGrath  <roland@hack.frob.com>
36128         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
36129         second, differently-typed declaration, rather than a cast.
36131 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36133         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
36134         * include/rpc/svc.h: ... here.
36136 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
36138         [BZ #13013]
36139         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
36140         depending n and resplen2 to catch cases where answer
36141         equals answerp2.
36143 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
36145         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
36146         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
36148 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
36150         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
36152 2012-11-29  Roland McGrath  <roland@hack.frob.com>
36154         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36156 2012-11-28  Jeff Law  <law@redhat.com>
36158         [BZ #13761]
36159         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36160         dataset_temporary.  Track alloca usage into alloca_used.
36161         If dataset is large allocate and release it via malloc/free.
36163 2012-06-04  Florian Weimer  <fweimer@redhat.com>
36165         [BZ #14197]
36166         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36168 2012-11-28  David S. Miller  <davem@davemloft.net>
36170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36172 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36174         [BZ #14803]
36175         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36176         of pi/2 rounded to nearest to 64 bits.
36177         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36178         nearest to 64 bits.
36179         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36180         bits.
36182 2012-11-28  Jeff Law <law@redhat.com>
36183             Martin Osvald <mosvald@redhat.com>
36185         [BZ #14889]
36186         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36187         * sunrpc/svc.c: Include time.h.
36188         (__svc_accept_failed): New function.
36189         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36190         any reason other than EINTR, call __svc_accept_failed.
36191         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36192         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36194 2012-11-28  Andreas Schwab  <schwab@suse.de>
36196         * scripts/abilist.awk: Also handle indirect functions in .opd
36197         section.
36199 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36201         [BZ #13881]
36202         * sysdeps/x86/fpu/powl_helper.c: New file.
36203         * sysdeps/x86/fpu/Makefile: Likewise.
36204         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36205         (p3): New object.
36206         (__ieee754_powl): Use __powl_helper for finite arguments except
36207         integer exponents below 8.
36208         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36209         (p3): New object.
36210         (__ieee754_powl): Use __powl_helper for finite arguments except
36211         integer exponents below 8.
36212         * math/libm-test.inc (pow_test): Add more tests and enable some
36213         previously disabled tests.
36214         * sysdeps/i386/fpu/libm-test-ulps: Update.
36215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36217 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36218             Carlos O'Donell  <carlos_odonell@mentor.com>
36220         * nss/makedb.c (is_prime): Assert that input is odd and greater
36221         than 4.  Note that fact in a comment too.
36222         (next_prime): Add 4 to input.
36224 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36226         [BZ #11741]
36227         * libio/Makefile (tests): Add test case tst-fwrite-error.
36228         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36229         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36230         * libio/tst-fwrite-error.c: New test case.
36232 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
36234         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36235         before casting to void *.
36236         * include/libc-internal.h (__pointer_type): New macro.
36237         (__integer_if_pointer_type_sub): Likewise.
36238         (__integer_if_pointer_type): Likewise.
36239         (cast_to_integer): Likewise.
36240         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36241         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36242         before casting to atomic64_t.
36243         (atomic_exchange_acq): Likewise.
36244         (__arch_exchange_and_add_body): Likewise.
36245         (__arch_add_body): Likewise.
36246         (atomic_add_negative): Likewise.
36247         (atomic_add_zero): Likewise.
36249 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
36251         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36252         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36253         (add_fdes): Likewise.
36254         (linear_search_fdes): Likewise.
36255         (binary_search_unencoded_fdes): Likewise.
36257 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
36259         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36261 2012-11-24  Adam Conrad  <adconrad@0c3.net>
36263         * configure.in: Autodetect C++ header directories.
36264         * configure: Regenerated.
36266 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
36268         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36270 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
36272         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36274 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
36276         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36277         LDBL_MANT_DIG == 106]: Disable some tests.
36278         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36279         Likewise.
36280         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36281         Likewise.
36283         [BZ #14871]
36284         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36285         input for small inputs.  Return +/- pi/2 for large inputs.
36286         * math/libm-test.inc (atan_test): Add more tests.
36288         * sysdeps/generic/unwind-dw2-fde-glibc.c
36289         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36290         __attribute__ ((unused)).
36292         [BZ #14645]
36293         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36294         x * y if x and y are nonzero and z is zero.
36296         [BZ #14811]
36297         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36298         nonzero exponents with absolute value below 0x1p-117 to +/-
36299         0x1p-117.
36301         [BZ #14869]
36302         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36303         up arguments below 2**-450, not just those below 2**-500.
36304         * math/libm-test.inc (hypot_test): Add another test.
36306         [BZ #14868]
36307         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36308         Return a+b for ratio over 2**120, not 2**60.
36309         * math/libm-test.inc (hypot_test): Add another test.
36311         * math/libm-test.inc (clog_test): Use
36312         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36313         (clog10_test): Likewise.
36315         [BZ #6778]
36316         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36318 2012-11-22  Andreas Schwab  <schwab@suse.de>
36320         * sysdeps/i386/fpu/libm-test-ulps: Update.
36322 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
36324         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36325         printf output with newline.
36327 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
36329         [BZ #14865]
36330         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
36331         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
36332         -z nodlopen, -z initfirst and -z execstack support.
36333         * configure: Regenerated.
36335         * elf/elf.h (DF_1_NODIRECT): New macro.
36336         (DF_1_IGNMULDEF): Likewise.
36337         (DF_1_NOKSYMS): Likewise.
36338         (DF_1_NOHDR): Likewise.
36339         (DF_1_EDITED): Likewise.
36340         (DF_1_NORELOC): Likewise.
36341         (DF_1_SYMINTPOSE): Likewise.
36342         (DF_1_GLOBAUDIT): Likewise.
36343         (DF_1_SINGLETON): Likewise.
36344         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36345         DT_1_SUPPORTED_MASK bits.
36346         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36348 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
36350         * sysdeps/unix/make-syscalls.sh: Document prefixes.
36352 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
36354         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36355         macro.
36357         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36358         (sendmmsg): Move declarations...
36359         * socket/sys/socket.h: ... here.
36360         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36361         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36362         include it from...
36363         * socket/recvmmsg.c: ... this new file.
36364         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36365         (sendmmsg): Rename to __sendmmsg, create weak alias and make
36366         definition of __sendmmsg hidden.
36367         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36368         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36369         Move ENOSYS stub into and include it from...
36370         * socket/sendmmsg.c: ... this new file.
36371         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36372         (sysdep_routines): Move recvmmsg and sendmmsg...
36373         * socket/Makefile (routines): ... here.
36374         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36375         (GLIBC_PRIVATE): Add __sendmmsg.
36376         * include/sys/socket.h (__sendmmsg): Add declarations.
36377         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36378         sendmmsg.
36380 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
36382         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36383         variable I1 with __attribute__ ((unused)).
36384         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36386 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36388         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36389         DUMMY variables with __attribute__ ((unused)).
36391         * bits/byteswap.h: Include <bits/types.h>.
36392         (__bswap_64): Use __uint64_t instead of unsigned long long int.
36394 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
36396         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36397         string_t.  Do not manually set errno.
36398         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36399         length with __strnlen.  Make sure to both set errno and return it on
36400         failure.
36402 2012-11-19  David S. Miller  <davem@davemloft.net>
36404         With help from Joseph Myers.
36405         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36406         very large arguments properly.
36407         * math/libm-test.inc (atan_test): New tests.
36408         (atan2_test): New tests.
36409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36412 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36414         [BZ #14856]
36415         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36416         Define to 3.
36418         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36419         [POSIX] (EADDRNOTAVAIL): Likewise.
36420         [POSIX] (EAFNOSUPPORT): Likewise.
36421         [POSIX] (EALREADY): Likewise.
36422         [POSIX] (ECONNABORTED): Likewise.
36423         [POSIX] (ECONNREFUSED): Likewise.
36424         [POSIX] (ECONNRESET): Likewise.
36425         [POSIX] (EDESTADDRREQ): Likewise.
36426         [POSIX] (EDQUOT): Likewise.
36427         [POSIX] (EHOSTUNREACH): Likewise.
36428         [POSIX] (EIDRM): Likewise.
36429         [POSIX] (EISCONN): Likewise.
36430         [POSIX] (ELOOP): Likewise.
36431         [POSIX] (EMULTIHOP): Likewise.
36432         [POSIX] (ENETDOWN): Likewise.
36433         [POSIX] (ENETUNREACH): Likewise.
36434         [POSIX] (ENOBUFS): Likewise.
36435         [POSIX] (ENODATA): Likewise.
36436         [POSIX] (ENOLINK): Likewise.
36437         [POSIX] (ENOMSG): Likewise.
36438         [POSIX] (ENOPROTOOPT): Likewise.
36439         [POSIX] (ENOSR): Likewise.
36440         [POSIX] (ENOSTR): Likewise.
36441         [POSIX] (ENOTCONN): Likewise.
36442         [POSIX] (ENOTSOCK): Likewise.
36443         [POSIX] (EOPNOTSUPP): Likewise.
36444         [POSIX] (EOVERFLOW): Likewise.
36445         [POSIX] (EPROTO): Likewise.
36446         [POSIX] (EPROTONOSUPPORT): Likewise.
36447         [POSIX] (EPROTOTYPE): Likewise.
36448         [POSIX] (ESTALE): Likewise.
36449         [POSIX] (ETIME): Likewise.
36450         [POSIX] (ETXTBSY): Likewise.
36451         [POSIX] (EWOULDBLOCK): Likewise.
36452         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36453         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36454         [POSIX] (SEEK_CUR): Likewise.
36455         [POSIX] (SEEK_END): Likewise.
36456         [POSIX || UNIX98] (mode_t): Do not require.
36457         [POSIX] (off_t): Likewise.
36458         [POSIX] (pid_t): Likewise.
36459         [POSIX] (sys/stat.h): Do not allow header.
36460         [POSIX] (unistd.h): Likewise.
36461         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36462         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36463         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36464         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36465         require.
36466         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36467         sigevent): Specify elements.
36468         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36469         entry.
36470         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36471         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36473         * conform/data/cpio.h-data [POSIX]: Disable whole file.
36474         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36475         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36476         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36477         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36478         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36479         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36480         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36481         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36482         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36483         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36484         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36485         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36486         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36487         Likewise.
36488         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36489         Likewise.
36490         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36491         Likewise.
36492         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36493         Likewise.
36494         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36495         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36496         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36497         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36498         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36499         Specify lower bound on value.
36500         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36501         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36502         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36503         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36504         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36505         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36506         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36507         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36508         value.
36509         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36510         as optional.
36511         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36512         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36513         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36514         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36515         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
36516         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
36517         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
36518         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
36519         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
36520         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
36521         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
36522         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
36523         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
36524         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
36525         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
36526         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
36527         entry.
36528         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
36529         optional.
36530         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
36531         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
36532         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
36533         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
36534         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
36535         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
36536         Likewise.
36537         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
36538         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
36539         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
36540         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
36541         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
36542         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
36543         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
36544         as optional.
36545         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
36546         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
36547         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
36548         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
36549         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
36550         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
36551         specify as optional.
36552         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
36553         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
36554         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
36555         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
36556         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
36557         [XPG3] (NL_LANGMAX): Likewise.
36558         [POSIX || XPG3] (NL_MSGMAX): Likewise.
36559         [POSIX || XPG3] (NL_NMAX): Likewise.
36560         [POSIX || XPG3] (NL_SETMAX): Likewise.
36561         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
36562         [XPG3] (NZERO): Likewise.
36563         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
36564         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
36565         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
36566         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
36567         (REG_ERANGE): Expect.
36568         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
36569         optional-constant.
36570         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
36571         Use (void) in prototype.
36572         [POSIX] (*_t): Allow.
36573         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
36574         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
36575         (WRDE_BADVAL): Expect.
36577         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
36578         expect.
36579         [XPG3 || XPG4] (O_RSYNC): Likewise.
36580         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
36581         Likewise.
36582         [XPG3 || XPG4] (pthread_sigmask): Likewise.
36583         [XPG3 || XPG4] (sigqueue): Likewise.
36584         [XPG3 || XPG4] (sigtimedwait): Likewise.
36585         [XPG3 || XPG4] (sigwaitinfo): Likewise.
36586         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
36587         [XPG3 || XPG4] (vsnprintf): Likewise.
36588         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
36589         Likewise.
36590         [XPG3 || XPG4] (blksize_t): Likewise.
36591         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
36592         Likewise.
36593         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
36594         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36595         [XPG3 || XPG4] (struct itimerspec): Likewise.
36596         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
36597         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
36598         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
36599         [XPG3 || XPG4] (clockid_t): Likewise.
36600         [XPG3 || XPG4] (timer_t): Likewise.
36601         [XPG3 || XPG4] (clock_getres): Likewise.
36602         [XPG3 || XPG4] (clock_gettime): Likewise.
36603         [XPG3 || XPG4] (clock_settime): Likewise.
36604         [XPG3 || XPG4] (nanosleep): Likewise.
36605         [XPG3 || XPG4] (timer_create): Likewise.
36606         [XPG3 || XPG4] (timer_delete): Likewise.
36607         [XPG3 || XPG4] (timer_gettime): Likewise.
36608         [XPG3 || XPG4] (timer_getoverrun): Likewise.
36609         [XPG3 || XPG4] (timer_settime): Likewise.
36610         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36611         [XPG3 || XPG4] (getlogin_r): Likewise.
36612         [XPG3 || XPG4] (pread): Likewise.
36613         [XPG3 || XPG4] (pthread_atfork): Likewise.
36614         [XPG3 || XPG4] (pwrite): Likewise.
36616         [BZ #14835]
36617         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36618         <bits/siginfo.h>.
36620 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
36622         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36623         finalizing MALLSTREAM.
36625         * sysdeps/mach/hurd/syncfs.c: New file.
36627 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36629         [BZ #14719]
36630         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36631         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36632         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36633         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36634         (_nss_dns_gethostbyname4_r): Likewise.
36635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36636         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36638 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
36640         [BZ #13763]
36641         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36643 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
36645         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36646         * elf/cache.c (print_entry): Print ",AArch64" for
36647         FLAG_AARCH64_LIB64
36649         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36650         * elf/cache.c (print_entry): Print ",hard-float" for
36651         FLAG_ARM_LIBHF.
36653 2012-11-18  David S. Miller  <davem@davemloft.net>
36655         With help from Joseph Myers.
36656         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36657         cutoff to 2**-13.
36658         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36659         cutoff to 2**-25.
36660         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36661         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36662         small.
36663         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36664         * math/libm-test.inc (y0_test): New tests.
36665         (y1_test): New tests.
36666         * sysdeps/i386/fpu/libm-test-ulps: Update.
36667         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36670 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
36672         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36673         64-bit targets.
36674         * configure: Regenerated.
36676 2012-11-17  David S. Miller  <davem@davemloft.net>
36678         [BZ #14811]
36679         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36680         nonzero exponents with absolute value below 0x1p-128 to +/-
36681         0x1p-128.
36683 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
36685         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36687         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36689         * posix/getconf-speclist.c: New file.
36690         * posix/posix-envs.def: Likewise.
36691         * posix/confstr.c (START_ENV_GROUP): New macro.
36692         (END_ENV_GROUP): Likewise.
36693         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36694         (KNOWN_PRESENT_ENV_STRING): Likewise.
36695         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36696         (UNKNOWN_ENVIRONMENT): Likewise.
36697         (confstr): Include posix-envs.def instead of handling
36698         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36699         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36700         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36701         (END_ENV_GROUP): Likewise.
36702         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36703         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36704         (UNKNOWN_ENVIRONMENT): Likewise.
36705         (__sysconf): Include posix-envs.def instead of handling associated
36706         cases directly here.
36707         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36708         preprocessing getconf-speclist.c rather than running getconf or
36709         generating empty file.
36711 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
36713         * scripts/check-local-headers.sh: Ignore 'mach' headers.
36715 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
36717         [BZ #14672]
36718         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36720 2012-11-16  David S. Miller  <davem@davemloft.net>
36722         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36723         smaller than LDBL_EPSILON/2.0L, just return xm1.
36725 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
36727         * elf/tst-array1.c (init): Set constructor priority to 1000.
36728         (fini): Set destructor priority to 1000.
36729         * elf/tst-array2dep.c: Likewise.
36731 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36733         [BZ #11741]
36734         * libio/fileops.c (_IO_new_file_write): Correctly return error.
36735         (_IO_new_file_xsputn): Also return EOF if none of the input
36736         data was written when overflow failed.
36737         * libio/iopadn.c (_IO_padn): Likewise.
36738         * libio/iowpadn.c (_IO_wpadn): Likewise.
36739         * stdio-common/tst-put-error.c: Add copyright notice.
36740         (do_test): Add case for printing padded string.
36741         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36742         _IO_padn returned error.
36743         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36744         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36745         return EOF.
36747 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36749         * libio/libioP.h: Add comment note that the references to C++
36750         bits are now obsolete.
36752 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36754         * math/libm-test.inc (check_complex): Use asprintf.
36756 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
36758         * debug/pcprofiledump.c (print_version): Update copyright year.
36759         * malloc/memusagestat.c (print_version): Likewise.
36761 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
36763         [BZ #14831]
36764         * elf/Makefile (tests): Add tst-audit8.
36765         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36766         ($(objpfx)tst-audit8.out): New target.
36767         (tst-audit8-ENV): New variable.
36768         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36769         audit if l_reloc_result is NULL.
36770         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36771         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36772         * elf/tst-audit8.c: New file.
36774 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36776         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36777         * misc/Makefile (CFLAGS-select.c): Define.
36778         * posix/Makefile (CFLAGS-pause.c): Define.
36780 2012-11-13  David S. Miller  <davem@davemloft.net>
36782         * crypt/Makefile: Move test targets after toplevel Rules
36783         inclusion.  Grab any necessary sysdep routines when linking.
36784         * crypt/md5.c (md5_process_block): Remove define, we will always
36785         name it __md5_process_block.
36786         (md5_finish_ctx): Update md5_process_block call.
36787         (md5_stream): Likewise.
36788         (md5_process_bytes): Likewise.
36789         (md5_process_block): Rename to __md5_process_block and move to ...
36790         * crypt/md5-block.c: ... here.
36791         * crypt/sha256.c (sha256_process_block): Move to ...
36792         * crypt/sha256-block.c: ... here.
36793         * crypt/sha512.c (sha512_process_block): Move to ...
36794         * crypt/sha512-block.c: ... here.
36795         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36796         path.
36797         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36798         * sysdeps/sparc/sparc64/multiarch/Makefile
36799         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36800         crypt subdir.
36801         (localedef-aux): Add md5 crypto assembler when in locale subdir.
36802         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36803         multiarch changes.
36804         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36805         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36806         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36807         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36808         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36809         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36810         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36811         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36812         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36813         file.
36814         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36815         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36816         file.
36817         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36819 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
36821         * timezone/tzselect.ksh: Update from tzcode git revision
36822         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36823         * timezone/zdump.c: Likewise.
36824         * timezone/zic.c: Likewise.
36825         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36826         in TZVERSION setting, not $(PKGVERSION).
36827         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
36828         REPORT_BUGS_TO settings.
36830         [BZ #14838]
36831         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36832         macro.
36834 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36836         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36837         detection to immediately after _FP_ROUND().
36838         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36839         bits are 0.
36841 2012-11-11  David S. Miller  <davem@davemloft.net>
36843         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36844         inttypes.h
36845         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36846         __close rather than their public counterparts.
36848 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
36850         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36851         file.
36852         [UNIX98] (sem_timedwait): Do not expect.
36853         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36854         [XPG4 || UNIX98] (sockatmark): Do not expect.
36855         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36856         (clock_getcpuclockid): Do not expect.
36857         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36858         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36859         Do not expect.
36860         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36861         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36862         [UNIX98] (vwscanf): Likewise.
36863         [UNIX98] (vswscanf): Likewise.
36865 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
36867         * timezone/version.h: Remove file.
36868         * timezone/README: Do not refer to version.h.
36869         * timezone/Makefile ($(objpfx)zic.o): New dependency on
36870         $(objpfx)version.h.
36871         ($(objpfx)zdump.o): Likewise.
36872         ($(objpfx)version.h): New target.
36874         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36875         2012i.
36876         * timezone/README: Don't mention modification to tzselect.ksh.
36877         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36878         work on unmodified tzselect.ksh.  Substitute version numbers in
36879         tzselect.ksh.
36881         * Makefile (format-me): Remove.
36882         (INSTALL): Adjust indentation.  Use commands directly instead of
36883         using $(format-me).
36885         * aclocal.m4 (ACX_PKGVERSION): New macro.
36886         (ACX_BUGURL): Likewise.
36887         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36888         (PKGVERSION): New AC_DEFINE_UNQUOTED.
36889         (REPORT_BUGS_TO): Likewise.
36890         * configure: Regenerated.
36891         * config.h.in (PKGVERSION): New macro.
36892         (REPORT_BUGS_TO): Likewise.
36893         * config.make.in (PKGVERSION): New variable.
36894         (PKGVERSION_TEXI): Likewise.
36895         (REPORT_BUGS_TO): Likewise.
36896         (REPORT_BUGS_TEXI): Likewise.
36897         * Makefile (format-me): Use -I$(common-objpfx)manual.
36898         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36899         ($(common-objpfx)manual/%): New target.
36900         (manual/%): Remove target.
36901         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36902         (print_version): Use PKGVERSION.
36903         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36904         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36905         and REPORT_BUGS_TO.
36906         ($(objpfx)xtrace): Likewise.
36907         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36908         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36909         (print_version): Use PKGVERSION.
36910         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36911         (do_version): Use PKGVERSION.
36912         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36913         REPORT_BUGS_TO.
36914         (common-ldd-rewrite): Likewise.
36915         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36916         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36917         (print_version): Use PKGVERSION.
36918         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36919         * elf/pldd.c (argp_program_bug_address): Remove variable.
36920         (more_help): New function.
36921         (argp): Use more_help.
36922         (print_version): Use PKGVERSION.
36923         * elf/sln.c (main): Use PKGVERSION.
36924         (usage): Use REPORT_BUGS_TO.
36925         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36926         (top level): Use PKGVERSION.
36927         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36928         (print_version): Use PKGVERSION.
36929         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36930         (print_version): Use PKGVERSION.
36931         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36932         (print_version): Use PKGVERSION.
36933         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36934         (print_version): Use PKGVERSION.
36935         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36936         (print_version): Use PKGVERSION.
36937         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36938         (print_version): Use PKGVERSION.
36939         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36940         and BUGURL.
36941         ($(objpfx)memusage): Likewise.
36942         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36943         (do_version): Use PKGVERSION.
36944         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36945         (print_version): Use PKGVERSION.
36946         * malloc/mtrace.pl ($PACKAGE): Remove variable.
36947         ($PKGVERSION): New variable.
36948         ($REPORT_BUGS_TO): Likewise.
36949         (usage): Use $REPORT_BUGS_TO.
36950         (top level): Use $PKGVERSION.
36951         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36952         ($(objpfx)pkgvers.texi): New rule.
36953         ($(objpfx)stamp-pkgvers): Likewise.
36954         * manual/install.texi: Include pkgvers.texi.
36955         (--with-pkgversion): Document new configure option.
36956         (--with-bugurl): Likewise.
36957         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36958         than necessarily for this particular distribution.  Use
36959         REPORT_BUGS_TO for where to report bugs.
36960         * INSTALL: Regenerated.
36961         * manual/libc.texinfo: Include pkgvers.texi.
36962         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36963         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36964         (print_version): Use PKGVERSION.
36965         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36966         (print_version): Use PKGVERSION.
36967         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36968         (print_version): Use PKGVERSION.
36969         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36970         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36971         macro.
36972         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36973         (print_version): Use PKGVERSION.
36974         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36975         (print_version): Use PKGVERSION.
36976         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36977         and PKGVERSION.
36979         * timezone/checktab.awk: Update from tzcode 2012i.
36980         * timezone/ialloc.c: Likewise.
36981         * timezone/private.h: Likewise.
36982         * timezone/scheck.c: Likewise.
36983         * timezone/tzfile.h: Likewise.
36984         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36985         (TZVERSION): Hardcode tzcode version number.
36986         * timezone/zdump.c: Update from tzcode 2012i.
36987         * timezone/zic.c: Likewise.
36988         * timezone/version.h: New file.
36989         * timezone/README: Describe version.h.  Update upstream location.
36991         [BZ #14824]
36992         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36993         (mktemp): Enable declaration.
36994         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36995         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36997         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36998         Likewise.
36999         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37000         Likewise.
37001         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37002         Likewise.
37003         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37004         Likewise.
37005         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37006         Likewise.
37007         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37008         Likewise.
37010         [BZ #14821]
37011         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37012         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
37013         for copies of such integer values.
37014         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37015         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37017 2012-11-09  Andreas Jaeger  <aj@suse.de>
37019         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37020         definitions and declarations that are provided by
37021         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37023 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37025         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
37026         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37027         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37028         definition.
37030 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37032         * elf/elf.h: Update comment before AArch64 relocations.
37034 2012-11-07  David S. Miller  <davem@davemloft.net>
37036         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37037         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37038         (__start_context): Declare.
37039         (__makecontext_ret): Delete.
37040         (__makecontext): Hook up __start_context instead of
37041         __makecontext_ret.
37042         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37043         (sysdep_routines): Add __start_context when in stdlib.
37045 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37047         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37048         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37049         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
37050         hardcoded "nm".
37051         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
37052         (READELF): New variable.  Use it instead of hardcoded "readelf".
37054 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37056         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37057         * sysdeps/x86/Makefile: Here.
37058         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37059         * sysdeps/x86/tst-xmmymm.sh: This.
37061 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37063         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37064         expectations.
37065         [UNIX98] (pthread_barrier_t): Do not expect.
37066         [UNIX98] (pthread_barrierattr_t): Likewise.
37067         [UNIX98] (pthread_spinlock_t): Likewise.
37068         [UNIX98] (pthread_barrier_destroy): Likewise.
37069         [UNIX98] (pthread_barrier_init): Likewise.
37070         [UNIX98] (pthread_barrier_wait): Likewise.
37071         [UNIX98] (pthread_barrierattr_destroy): Likewise.
37072         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37073         [UNIX98] (pthread_barrierattr_init): Likewise.
37074         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37075         [UNIX98] (pthread_getcpuclockid): Likewise.
37076         [UNIX98] (pthread_mutex_timedlock): Likewise.
37077         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37078         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37079         [UNIX98] (pthread_sigmask): Likewise.
37080         [UNIX98] (pthread_spin_destroy): Likewise.
37081         [UNIX98] (pthread_spin_init): Likewise.
37082         [UNIX98] (pthread_spin_lock): Likewise.
37083         [UNIX98] (pthread_spin_trylock): Likewise.
37084         [UNIX98] (pthread_spin_unlock): Likewise.
37085         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37086         Do not expect.
37087         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37088         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37089         [XPG3 || XPG4] (pthread_cond_t): Likewise.
37090         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37091         [XPG3 || XPG4] (pthread_key_t): Likewise.
37092         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37093         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37094         [XPG3 || XPG4] (pthread_once_t): Likewise.
37095         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37096         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37097         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37098         [XPG3 || XPG4] (pthread_t): Likewise.
37100         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37101         not expect.
37102         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37104         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37105         Change function return type to int.
37107         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37108         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37109         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37110         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37111         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37112         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37113         [!POSIX] (posix_madvise): Likewise.
37114         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37115         && !UNIX98].
37116         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37117         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
37118         (mode_t): Likewise.
37119         (posix_mem_offset): Likewise.
37120         (posix_typed_mem_get_info): Likewise.
37121         (posix_typed_mem_open): Likewise.
37123         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
37124         Change condition to [XOPEN2K8].
37126         * conform/conformtest.pl: Preprocess allow-header data with -x c
37127         instead of from stdin.
37128         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
37129         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
37130         [C99-based standards] (cerfc): Likewise.
37131         [C99-based standards] (cexp2): Likewise.
37132         [C99-based standards] (cexpm1): Likewise.
37133         [C99-based standards] (clog10): Likewise.
37134         [C99-based standards] (clog1p): Likewise.
37135         [C99-based standards] (clog2): Likewise.
37136         [C99-based standards] (clgamma): Likewise.
37137         [C99-based standards] (ctgamma): Likewise.
37138         [C99-based standards] (cerff): Likewise.
37139         [C99-based standards] (cerfcf): Likewise.
37140         [C99-based standards] (cexp2f): Likewise.
37141         [C99-based standards] (cexpm1f): Likewise.
37142         [C99-based standards] (clog10f): Likewise.
37143         [C99-based standards] (clog1pf): Likewise.
37144         [C99-based standards] (clog2f): Likewise.
37145         [C99-based standards] (clgammaf): Likewise.
37146         [C99-based standards] (ctgammaf): Likewise.
37147         [C99-based standards] (cerfl): Likewise.
37148         [C99-based standards] (cerfcl): Likewise.
37149         [C99-based standards] (cexp2l): Likewise.
37150         [C99-based standards] (cexpm1l): Likewise.
37151         [C99-based standards] (clog10l): Likewise.
37152         [C99-based standards] (clog1pl): Likewise.
37153         [C99-based standards] (clog2l): Likewise.
37154         [C99-based standards] (clgammal): Likewise.
37155         [C99-based standards] (ctgammal): Likewise.
37156         * conform/data/inttypes.h-data [C99-based standards]: Include
37157         stdint.h-data.  Remove all expectations for stdint.h contents.
37158         [C99-based standards] (PRI*): Do not allow.
37159         [C99-based standards] (SCN*): Likewise.
37160         [C99-based standards] (*_t): Likewise.
37161         [C99-based-standards] (PRId8): Expect macro.
37162         [C99-based-standards] (PRIi8): Likewise.
37163         [C99-based-standards] (PRIo8): Likewise.
37164         [C99-based-standards] (PRIu8): Likewise.
37165         [C99-based-standards] (PRIx8): Likewise.
37166         [C99-based-standards] (PRIX8): Likewise.
37167         [C99-based-standards] (SCNd8): Likewise.
37168         [C99-based-standards] (SCNi8): Likewise.
37169         [C99-based-standards] (SCNo8): Likewise.
37170         [C99-based-standards] (SCNu8): Likewise.
37171         [C99-based-standards] (SCNx8): Likewise.
37172         [C99-based-standards] (PRIdLEAST8): Likewise.
37173         [C99-based-standards] (PRIiLEAST8): Likewise.
37174         [C99-based-standards] (PRIoLEAST8): Likewise.
37175         [C99-based-standards] (PRIuLEAST8): Likewise.
37176         [C99-based-standards] (PRIxLEAST8): Likewise.
37177         [C99-based-standards] (PRIXLEAST8): Likewise.
37178         [C99-based-standards] (SCNdLEAST8): Likewise.
37179         [C99-based-standards] (SCNiLEAST8): Likewise.
37180         [C99-based-standards] (SCNoLEAST8): Likewise.
37181         [C99-based-standards] (SCNuLEAST8): Likewise.
37182         [C99-based-standards] (SCNxLEAST8): Likewise.
37183         [C99-based-standards] (PRIdFAST8): Likewise.
37184         [C99-based-standards] (PRIiFAST8): Likewise.
37185         [C99-based-standards] (PRIoFAST8): Likewise.
37186         [C99-based-standards] (PRIuFAST8): Likewise.
37187         [C99-based-standards] (PRIxFAST8): Likewise.
37188         [C99-based-standards] (PRIXFAST8): Likewise.
37189         [C99-based-standards] (SCNdFAST8): Likewise.
37190         [C99-based-standards] (SCNiFAST8): Likewise.
37191         [C99-based-standards] (SCNoFAST8): Likewise.
37192         [C99-based-standards] (SCNuFAST8): Likewise.
37193         [C99-based-standards] (SCNxFAST8): Likewise.
37194         [C99-based-standards] (PRId16): Likewise.
37195         [C99-based-standards] (PRIi16): Likewise.
37196         [C99-based-standards] (PRIo16): Likewise.
37197         [C99-based-standards] (PRIu16): Likewise.
37198         [C99-based-standards] (PRIx16): Likewise.
37199         [C99-based-standards] (PRIX16): Likewise.
37200         [C99-based-standards] (SCNd16): Likewise.
37201         [C99-based-standards] (SCNi16): Likewise.
37202         [C99-based-standards] (SCNo16): Likewise.
37203         [C99-based-standards] (SCNu16): Likewise.
37204         [C99-based-standards] (SCNx16): Likewise.
37205         [C99-based-standards] (PRIdLEAST16): Likewise.
37206         [C99-based-standards] (PRIiLEAST16): Likewise.
37207         [C99-based-standards] (PRIoLEAST16): Likewise.
37208         [C99-based-standards] (PRIuLEAST16): Likewise.
37209         [C99-based-standards] (PRIxLEAST16): Likewise.
37210         [C99-based-standards] (PRIXLEAST16): Likewise.
37211         [C99-based-standards] (SCNdLEAST16): Likewise.
37212         [C99-based-standards] (SCNiLEAST16): Likewise.
37213         [C99-based-standards] (SCNoLEAST16): Likewise.
37214         [C99-based-standards] (SCNuLEAST16): Likewise.
37215         [C99-based-standards] (SCNxLEAST16): Likewise.
37216         [C99-based-standards] (PRIdFAST16): Likewise.
37217         [C99-based-standards] (PRIiFAST16): Likewise.
37218         [C99-based-standards] (PRIoFAST16): Likewise.
37219         [C99-based-standards] (PRIuFAST16): Likewise.
37220         [C99-based-standards] (PRIxFAST16): Likewise.
37221         [C99-based-standards] (PRIXFAST16): Likewise.
37222         [C99-based-standards] (SCNdFAST16): Likewise.
37223         [C99-based-standards] (SCNiFAST16): Likewise.
37224         [C99-based-standards] (SCNoFAST16): Likewise.
37225         [C99-based-standards] (SCNuFAST16): Likewise.
37226         [C99-based-standards] (SCNxFAST16): Likewise.
37227         [C99-based-standards] (PRId32): Likewise.
37228         [C99-based-standards] (PRIi32): Likewise.
37229         [C99-based-standards] (PRIo32): Likewise.
37230         [C99-based-standards] (PRIu32): Likewise.
37231         [C99-based-standards] (PRIx32): Likewise.
37232         [C99-based-standards] (PRIX32): Likewise.
37233         [C99-based-standards] (SCNd32): Likewise.
37234         [C99-based-standards] (SCNi32): Likewise.
37235         [C99-based-standards] (SCNo32): Likewise.
37236         [C99-based-standards] (SCNu32): Likewise.
37237         [C99-based-standards] (SCNx32): Likewise.
37238         [C99-based-standards] (PRIdLEAST32): Likewise.
37239         [C99-based-standards] (PRIiLEAST32): Likewise.
37240         [C99-based-standards] (PRIoLEAST32): Likewise.
37241         [C99-based-standards] (PRIuLEAST32): Likewise.
37242         [C99-based-standards] (PRIxLEAST32): Likewise.
37243         [C99-based-standards] (PRIXLEAST32): Likewise.
37244         [C99-based-standards] (SCNdLEAST32): Likewise.
37245         [C99-based-standards] (SCNiLEAST32): Likewise.
37246         [C99-based-standards] (SCNoLEAST32): Likewise.
37247         [C99-based-standards] (SCNuLEAST32): Likewise.
37248         [C99-based-standards] (SCNxLEAST32): Likewise.
37249         [C99-based-standards] (PRIdFAST32): Likewise.
37250         [C99-based-standards] (PRIiFAST32): Likewise.
37251         [C99-based-standards] (PRIoFAST32): Likewise.
37252         [C99-based-standards] (PRIuFAST32): Likewise.
37253         [C99-based-standards] (PRIxFAST32): Likewise.
37254         [C99-based-standards] (PRIXFAST32): Likewise.
37255         [C99-based-standards] (SCNdFAST32): Likewise.
37256         [C99-based-standards] (SCNiFAST32): Likewise.
37257         [C99-based-standards] (SCNoFAST32): Likewise.
37258         [C99-based-standards] (SCNuFAST32): Likewise.
37259         [C99-based-standards] (SCNxFAST32): Likewise.
37260         [C99-based-standards] (PRId64): Likewise.
37261         [C99-based-standards] (PRIi64): Likewise.
37262         [C99-based-standards] (PRIo64): Likewise.
37263         [C99-based-standards] (PRIu64): Likewise.
37264         [C99-based-standards] (PRIx64): Likewise.
37265         [C99-based-standards] (PRIX64): Likewise.
37266         [C99-based-standards] (SCNd64): Likewise.
37267         [C99-based-standards] (SCNi64): Likewise.
37268         [C99-based-standards] (SCNo64): Likewise.
37269         [C99-based-standards] (SCNu64): Likewise.
37270         [C99-based-standards] (SCNx64): Likewise.
37271         [C99-based-standards] (PRIdLEAST64): Likewise.
37272         [C99-based-standards] (PRIiLEAST64): Likewise.
37273         [C99-based-standards] (PRIoLEAST64): Likewise.
37274         [C99-based-standards] (PRIuLEAST64): Likewise.
37275         [C99-based-standards] (PRIxLEAST64): Likewise.
37276         [C99-based-standards] (PRIXLEAST64): Likewise.
37277         [C99-based-standards] (SCNdLEAST64): Likewise.
37278         [C99-based-standards] (SCNiLEAST64): Likewise.
37279         [C99-based-standards] (SCNoLEAST64): Likewise.
37280         [C99-based-standards] (SCNuLEAST64): Likewise.
37281         [C99-based-standards] (SCNxLEAST64): Likewise.
37282         [C99-based-standards] (PRIdFAST64): Likewise.
37283         [C99-based-standards] (PRIiFAST64): Likewise.
37284         [C99-based-standards] (PRIoFAST64): Likewise.
37285         [C99-based-standards] (PRIuFAST64): Likewise.
37286         [C99-based-standards] (PRIxFAST64): Likewise.
37287         [C99-based-standards] (PRIXFAST64): Likewise.
37288         [C99-based-standards] (SCNdFAST64): Likewise.
37289         [C99-based-standards] (SCNiFAST64): Likewise.
37290         [C99-based-standards] (SCNoFAST64): Likewise.
37291         [C99-based-standards] (SCNuFAST64): Likewise.
37292         [C99-based-standards] (SCNxFAST64): Likewise.
37293         [C99-based-standards] (PRIdMAX): Likewise.
37294         [C99-based-standards] (PRIiMAX): Likewise.
37295         [C99-based-standards] (PRIoMAX): Likewise.
37296         [C99-based-standards] (PRIuMAX): Likewise.
37297         [C99-based-standards] (PRIxMAX): Likewise.
37298         [C99-based-standards] (PRIXMAX): Likewise.
37299         [C99-based-standards] (SCNdMAX): Likewise.
37300         [C99-based-standards] (SCNiMAX): Likewise.
37301         [C99-based-standards] (SCNoMAX): Likewise.
37302         [C99-based-standards] (SCNuMAX): Likewise.
37303         [C99-based-standards] (SCNxMAX): Likewise.
37304         [C99-based-standards] (PRIdPTR): Likewise.
37305         [C99-based-standards] (PRIiPTR): Likewise.
37306         [C99-based-standards] (PRIoPTR): Likewise.
37307         [C99-based-standards] (PRIuPTR): Likewise.
37308         [C99-based-standards] (PRIxPTR): Likewise.
37309         [C99-based-standards] (PRIXPTR): Likewise.
37310         [C99-based-standards] (SCNdPTR): Likewise.
37311         [C99-based-standards] (SCNiPTR): Likewise.
37312         [C99-based-standards] (SCNoPTR): Likewise.
37313         [C99-based-standards] (SCNuPTR): Likewise.
37314         [C99-based-standards] (SCNxPTR): Likewise.
37315         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37316         allow.
37317         * conform/data/stdint.h-data: Update comments to clarify
37318         requirements.
37319         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
37320         type.
37321         [C99-based standards] (INT8_MAX): Likewise.
37322         [C99-based standards] (INT16_MIN): Likewise.
37323         [C99-based standards] (INT16_MAX): Likewise.
37324         [C99-based standards] (INT32_MIN): Likewise.
37325         [C99-based standards] (INT32_MAX): Likewise.
37326         [C99-based standards] (INT64_MIN): Likewise.
37327         [C99-based standards] (INT64_MAX): Likewise.
37328         [C99-based standards] (UINT8_MAX): Likewise.
37329         [C99-based standards] (UINT16_MAX): Likewise.
37330         [C99-based standards] (UINT32_MAX): Likewise.
37331         [C99-based standards] (UINT64_MAX): Likewise.
37332         [C99-based standards] (INT_LEAST8_MIN): Likewise.
37333         [C99-based standards] (INT_LEAST8_MAX): Likewise.
37334         [C99-based standards] (INT_LEAST16_MIN): Likewise.
37335         [C99-based standards] (INT_LEAST16_MAX): Likewise.
37336         [C99-based standards] (INT_LEAST32_MIN): Likewise.
37337         [C99-based standards] (INT_LEAST32_MAX): Likewise.
37338         [C99-based standards] (INT_LEAST64_MIN): Likewise.
37339         [C99-based standards] (INT_LEAST64_MAX): Likewise.
37340         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
37341         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37342         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37343         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37344         [C99-based standards] (INT_FAST8_MIN): Likewise.
37345         [C99-based standards] (INT_FAST8_MAX): Likewise.
37346         [C99-based standards] (INT_FAST16_MIN): Likewise.
37347         [C99-based standards] (INT_FAST16_MAX): Likewise.
37348         [C99-based standards] (INT_FAST32_MIN): Likewise.
37349         [C99-based standards] (INT_FAST32_MAX): Likewise.
37350         [C99-based standards] (INT_FAST64_MIN): Likewise.
37351         [C99-based standards] (INT_FAST64_MAX): Likewise.
37352         [C99-based standards] (UINT_FAST8_MAX): Likewise.
37353         [C99-based standards] (UINT_FAST16_MAX): Likewise.
37354         [C99-based standards] (UINT_FAST32_MAX): Likewise.
37355         [C99-based standards] (UINT_FAST64_MAX): Likewise.
37356         [C99-based standards] (INTPTR_MIN): Likewise.
37357         [C99-based standards] (INTPTR_MAX): Likewise.
37358         [C99-based standards] (UINTPTR_MAX): Likewise.
37359         [C99-based standards] (INTMAX_MIN): Likewise.
37360         [C99-based standards] (INTMAX_MAX): Likewise.
37361         [C99-based standards] (UINTMAX_MAX): Likewise.
37362         [C99-based standards] (PTRDIFF_MIN): Likewise.
37363         [C99-based standards] (PTRDIFF_MAX): Likewise.
37364         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37365         [C99-based standards] (SIZE_MAX): Likewise.
37366         [C99-based standards] (WCHAR_MAX): Likewise.
37367         [C99-based standards] (WINT_MAX): Likewise.
37368         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
37369         constraint on value.
37370         [C99-based standards] (WCHAR_MIN): Likewise.
37371         [C99-based standards] (WINT_MIN): Likewise.
37372         [C99-based standards] (*_t): Allow.
37373         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37374         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37375         Include math.h-data and complex.h-data.  Remove all expectations
37376         of math.h and complex.h contents.
37377         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37378         at end of line.
37379         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37380         (struct tm): Expect tag.
37381         [C99-based-standards] (wcstof): Expect function.
37382         [C99-based-standards] (wcstold): Likewise.
37383         [C99-based-standards] (wcstoll): Likewise.
37384         [C99-based-standards] (wcstoull): Likewise.
37385         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37386         macro-int-constant.  Specify type.
37387         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
37388         constraint on value.
37389         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37390         Specify type.
37391         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37392         Specify value.
37393         [ISO C standards]: Do not allow headers.
37394         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37395         wcs[abcdefghijklmnopqrstuvwxyz]*.
37396         [ISO C standards] (*_t): Do not allow.
37397         * conform/data/wctype.h-data [C99-based standards] (iswblank):
37398         Expect function.
37399         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37400         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37401         Specify type.
37402         [ISO C standards]: Do not allow headers.
37403         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37404         is[abcdefghijklmnopqrstuvwxyz]*.
37405         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37406         to[abcdefghijklmnopqrstuvwxyz]*.
37407         [ISO C standards] (*_t): Do not allow.
37408         * conform/data/stdalign.h-data: New file.
37409         * conform/data/stdbool.h-data: Likewise.
37410         * conform/data/stdnoreturn.h-data: Likewise.
37412 2012-11-07  Roland McGrath  <roland@hack.frob.com>
37414         [BZ #14815]
37415         * manual/filesys.texi (Directory Entries): Typo fix.
37416         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37418 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37420         * elf/elf.h (EM_AARCH64): New macro.
37421         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37422         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37423         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37424         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37425         (R_AARCH64_TLSDESC): Likewise.
37426         (NT_ARM_TLS): Likewise.
37427         (NT_ARM_HW_BREAK): Likewise.
37428         (NT_ARM_HW_WATCH): Likewise.
37430 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37432         [BZ #14811]
37433         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37434         (__ieee754_powl): Saturate nonzero exponents with absolute value
37435         below 0x1p-79 to +/- 0x1p-79.
37436         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37437         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37438         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37439         nonzero exponents with absolute value below 0x1p-32 to +/-
37440         0x1p-32.
37441         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37442         (__ieee754_powl): Saturate nonzero exponents with absolute value
37443         below 0x1p-79 to +/- 0x1p-79.
37444         * math/libm-test.inc (pow_test): Add more tests.
37446 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37448         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37449         _dl_s390_cap_flags with kernel. Increase string length.
37450         (_dl_s390_platforms): Add z196 and zEC12.
37452 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37454         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37455         Change XOPEN21K to XOPEN2K.
37457 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
37459         * string/memmove.c: Use memcpy when possible.
37461 2012-11-06  Andreas Jaeger  <aj@suse.de>
37463         * po/eo.po: Update from translation team.
37465 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
37467         [BZ #14793]
37468         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37469         exponent and small x and y exponents, scale x or y up.  Increase
37470         by 2 the exponent used in scaling up.
37471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37472         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37473         * math/libm-test.inc (fma_test): Add more tests.
37474         (fma_test_towardzero): Likewise.
37475         (fma_test_downward): Likewise.
37476         (fma_test_upward): Likewise.
37478 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
37480         [BZ #14805]
37481         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37482         fenv_t *.
37484         [BZ #14801]
37485         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37486         namespace for names of struct fields.
37487         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37488         fenv_t fields.
37489         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37490         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37492 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37494         [BZ #3665]
37495         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37497 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
37499         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37500         PTR_DEMANGLE.
37502         [BZ #5246]
37503         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37504         PTR_DEMANGLE.
37506 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
37508         [BZ #14797]
37509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37510         definitely overflow as x * y not x * y + z.
37511         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37512         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37513         * math/libm-test.inc (fma_test): Add more tests.
37514         (fma_test_towardzero): Likewise.
37515         (fma_test_downward): Likewise.
37516         (fma_test_upward): Likewise.
37518 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
37520         [BZ #157]
37522         * include/stub-tag.h: Remove file.
37523         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
37524         '#include' of it.
37525         * manual/maint.texi (Porting): Don't reference it.
37526         * Makerules ($(objpfx)stubs): Likewise.
37527         * dirent/closedir.c: Don't include <stub-tag.h>.
37528         * dirent/dirfd.c: Likewise.
37529         * dirent/fdopendir.c: Likewise.
37530         * dirent/getdents.c: Likewise.
37531         * dirent/getdents64.c: Likewise.
37532         * dirent/opendir.c: Likewise.
37533         * dirent/readdir.c: Likewise.
37534         * dirent/readdir64.c: Likewise.
37535         * dirent/readdir64_r.c: Likewise.
37536         * dirent/readdir_r.c: Likewise.
37537         * dirent/rewinddir.c: Likewise.
37538         * dirent/seekdir.c: Likewise.
37539         * dirent/telldir.c: Likewise.
37540         * gmon/profil.c: Likewise.
37541         * grp/setgroups.c: Likewise.
37542         * inet/if_index.c: Likewise.
37543         * io/access.c: Likewise.
37544         * io/chdir.c: Likewise.
37545         * io/chmod.c: Likewise.
37546         * io/chown.c: Likewise.
37547         * io/close.c: Likewise.
37548         * io/dup.c: Likewise.
37549         * io/dup2.c: Likewise.
37550         * io/dup3.c: Likewise.
37551         * io/euidaccess.c: Likewise.
37552         * io/faccessat.c: Likewise.
37553         * io/fchdir.c: Likewise.
37554         * io/fchmod.c: Likewise.
37555         * io/fchmodat.c: Likewise.
37556         * io/fchown.c: Likewise.
37557         * io/fchownat.c: Likewise.
37558         * io/fcntl.c: Likewise.
37559         * io/flock.c: Likewise.
37560         * io/fstatfs.c: Likewise.
37561         * io/fstatfs64.c: Likewise.
37562         * io/fstatvfs.c: Likewise.
37563         * io/fstatvfs64.c: Likewise.
37564         * io/futimens.c: Likewise.
37565         * io/fxstat.c: Likewise.
37566         * io/fxstat64.c: Likewise.
37567         * io/fxstatat.c: Likewise.
37568         * io/fxstatat64.c: Likewise.
37569         * io/getcwd.c: Likewise.
37570         * io/isatty.c: Likewise.
37571         * io/lchmod.c: Likewise.
37572         * io/lchown.c: Likewise.
37573         * io/link.c: Likewise.
37574         * io/linkat.c: Likewise.
37575         * io/lseek.c: Likewise.
37576         * io/lseek64.c: Likewise.
37577         * io/lxstat64.c: Likewise.
37578         * io/mkdir.c: Likewise.
37579         * io/mkdirat.c: Likewise.
37580         * io/mkfifo.c: Likewise.
37581         * io/mkfifoat.c: Likewise.
37582         * io/open.c: Likewise.
37583         * io/open64.c: Likewise.
37584         * io/openat.c: Likewise.
37585         * io/openat64.c: Likewise.
37586         * io/pipe.c: Likewise.
37587         * io/pipe2.c: Likewise.
37588         * io/poll.c: Likewise.
37589         * io/posix_fadvise.c: Likewise.
37590         * io/posix_fadvise64.c: Likewise.
37591         * io/posix_fallocate.c: Likewise.
37592         * io/posix_fallocate64.c: Likewise.
37593         * io/read.c: Likewise.
37594         * io/readlink.c: Likewise.
37595         * io/readlinkat.c: Likewise.
37596         * io/rmdir.c: Likewise.
37597         * io/sendfile.c: Likewise.
37598         * io/sendfile64.c: Likewise.
37599         * io/statfs.c: Likewise.
37600         * io/statfs64.c: Likewise.
37601         * io/statvfs.c: Likewise.
37602         * io/statvfs64.c: Likewise.
37603         * io/symlink.c: Likewise.
37604         * io/symlinkat.c: Likewise.
37605         * io/ttyname.c: Likewise.
37606         * io/ttyname_r.c: Likewise.
37607         * io/umask.c: Likewise.
37608         * io/unlink.c: Likewise.
37609         * io/unlinkat.c: Likewise.
37610         * io/utime.c: Likewise.
37611         * io/utimensat.c: Likewise.
37612         * io/write.c: Likewise.
37613         * io/xmknod.c: Likewise.
37614         * io/xmknodat.c: Likewise.
37615         * io/xstat.c: Likewise.
37616         * io/xstat64.c: Likewise.
37617         * login/getpt.c: Likewise.
37618         * login/grantpt.c: Likewise.
37619         * login/unlockpt.c: Likewise.
37620         * math/e_acoshl.c: Likewise.
37621         * math/e_acosl.c: Likewise.
37622         * math/e_asinl.c: Likewise.
37623         * math/e_atan2l.c: Likewise.
37624         * math/e_atanhl.c: Likewise.
37625         * math/e_coshl.c: Likewise.
37626         * math/e_expl.c: Likewise.
37627         * math/e_fmodl.c: Likewise.
37628         * math/e_gammal_r.c: Likewise.
37629         * math/e_hypotl.c: Likewise.
37630         * math/e_j0l.c: Likewise.
37631         * math/e_j1l.c: Likewise.
37632         * math/e_jnl.c: Likewise.
37633         * math/e_lgammal_r.c: Likewise.
37634         * math/e_log10l.c: Likewise.
37635         * math/e_log2l.c: Likewise.
37636         * math/e_logl.c: Likewise.
37637         * math/e_powl.c: Likewise.
37638         * math/e_rem_pio2l.c: Likewise.
37639         * math/e_sinhl.c: Likewise.
37640         * math/e_sqrtl.c: Likewise.
37641         * math/fclrexcpt.c: Likewise.
37642         * math/fedisblxcpt.c: Likewise.
37643         * math/feenablxcpt.c: Likewise.
37644         * math/fegetenv.c: Likewise.
37645         * math/fegetexcept.c: Likewise.
37646         * math/fegetround.c: Likewise.
37647         * math/feholdexcpt.c: Likewise.
37648         * math/fesetenv.c: Likewise.
37649         * math/fesetround.c: Likewise.
37650         * math/feupdateenv.c: Likewise.
37651         * math/fgetexcptflg.c: Likewise.
37652         * math/fraiseexcpt.c: Likewise.
37653         * math/fsetexcptflg.c: Likewise.
37654         * math/ftestexcept.c: Likewise.
37655         * math/k_cosl.c: Likewise.
37656         * math/k_rem_pio2l.c: Likewise.
37657         * math/k_sinl.c: Likewise.
37658         * math/k_tanl.c: Likewise.
37659         * math/s_asinhl.c: Likewise.
37660         * math/s_atanl.c: Likewise.
37661         * math/s_cbrtl.c: Likewise.
37662         * math/s_erfl.c: Likewise.
37663         * math/s_expm1l.c: Likewise.
37664         * math/s_log1pl.c: Likewise.
37665         * math/s_tanhl.c: Likewise.
37666         * misc/acct.c: Likewise.
37667         * misc/brk.c: Likewise.
37668         * misc/chflags.c: Likewise.
37669         * misc/chroot.c: Likewise.
37670         * misc/fchflags.c: Likewise.
37671         * misc/fgetxattr.c: Likewise.
37672         * misc/flistxattr.c: Likewise.
37673         * misc/fremovexattr.c: Likewise.
37674         * misc/fsetxattr.c: Likewise.
37675         * misc/fsync.c: Likewise.
37676         * misc/ftruncate.c: Likewise.
37677         * misc/futimes.c: Likewise.
37678         * misc/futimesat.c: Likewise.
37679         * misc/getdomain.c: Likewise.
37680         * misc/getdtsz.c: Likewise.
37681         * misc/gethostid.c: Likewise.
37682         * misc/gethostname.c: Likewise.
37683         * misc/getloadavg.c: Likewise.
37684         * misc/getpagesize.c: Likewise.
37685         * misc/getsysstats.c: Likewise.
37686         * misc/getxattr.c: Likewise.
37687         * misc/gtty.c: Likewise.
37688         * misc/ioctl.c: Likewise.
37689         * misc/lgetxattr.c: Likewise.
37690         * misc/listxattr.c: Likewise.
37691         * misc/llistxattr.c: Likewise.
37692         * misc/lremovexattr.c: Likewise.
37693         * misc/lsetxattr.c: Likewise.
37694         * misc/lutimes.c: Likewise.
37695         * misc/madvise.c: Likewise.
37696         * misc/mincore.c: Likewise.
37697         * misc/mlock.c: Likewise.
37698         * misc/mlockall.c: Likewise.
37699         * misc/mmap.c: Likewise.
37700         * misc/mprotect.c: Likewise.
37701         * misc/msync.c: Likewise.
37702         * misc/munlock.c: Likewise.
37703         * misc/munlockall.c: Likewise.
37704         * misc/munmap.c: Likewise.
37705         * misc/preadv.c: Likewise.
37706         * misc/preadv64.c: Likewise.
37707         * misc/ptrace.c: Likewise.
37708         * misc/pwritev.c: Likewise.
37709         * misc/pwritev64.c: Likewise.
37710         * misc/readv.c: Likewise.
37711         * misc/reboot.c: Likewise.
37712         * misc/remap_file_pages.c: Likewise.
37713         * misc/removexattr.c: Likewise.
37714         * misc/revoke.c: Likewise.
37715         * misc/select.c: Likewise.
37716         * misc/setdomain.c: Likewise.
37717         * misc/setegid.c: Likewise.
37718         * misc/seteuid.c: Likewise.
37719         * misc/sethostid.c: Likewise.
37720         * misc/sethostname.c: Likewise.
37721         * misc/setregid.c: Likewise.
37722         * misc/setreuid.c: Likewise.
37723         * misc/setxattr.c: Likewise.
37724         * misc/sstk.c: Likewise.
37725         * misc/stty.c: Likewise.
37726         * misc/swapoff.c: Likewise.
37727         * misc/swapon.c: Likewise.
37728         * misc/sync.c: Likewise.
37729         * misc/syncfs.c: Likewise.
37730         * misc/syscall.c: Likewise.
37731         * misc/truncate.c: Likewise.
37732         * misc/ualarm.c: Likewise.
37733         * misc/usleep.c: Likewise.
37734         * misc/ustat.c: Likewise.
37735         * misc/utimes.c: Likewise.
37736         * misc/vhangup.c: Likewise.
37737         * misc/writev.c: Likewise.
37738         * posix/_exit.c: Likewise.
37739         * posix/alarm.c: Likewise.
37740         * posix/execve.c: Likewise.
37741         * posix/fexecve.c: Likewise.
37742         * posix/fork.c: Likewise.
37743         * posix/fpathconf.c: Likewise.
37744         * posix/getaddrinfo.c: Likewise.
37745         * posix/getegid.c: Likewise.
37746         * posix/geteuid.c: Likewise.
37747         * posix/getgid.c: Likewise.
37748         * posix/getgroups.c: Likewise.
37749         * posix/getlogin.c: Likewise.
37750         * posix/getlogin_r.c: Likewise.
37751         * posix/getpgid.c: Likewise.
37752         * posix/getpid.c: Likewise.
37753         * posix/getppid.c: Likewise.
37754         * posix/getresgid.c: Likewise.
37755         * posix/getresuid.c: Likewise.
37756         * posix/getsid.c: Likewise.
37757         * posix/getuid.c: Likewise.
37758         * posix/glob64.c: Likewise.
37759         * posix/nanosleep.c: Likewise.
37760         * posix/pathconf.c: Likewise.
37761         * posix/pause.c: Likewise.
37762         * posix/posix_madvise.c: Likewise.
37763         * posix/pread.c: Likewise.
37764         * posix/pread64.c: Likewise.
37765         * posix/pwrite.c: Likewise.
37766         * posix/pwrite64.c: Likewise.
37767         * posix/sched_getaffinity.c: Likewise.
37768         * posix/sched_getp.c: Likewise.
37769         * posix/sched_gets.c: Likewise.
37770         * posix/sched_primax.c: Likewise.
37771         * posix/sched_primin.c: Likewise.
37772         * posix/sched_rr_gi.c: Likewise.
37773         * posix/sched_setaffinity.c: Likewise.
37774         * posix/sched_setp.c: Likewise.
37775         * posix/sched_sets.c: Likewise.
37776         * posix/sched_yield.c: Likewise.
37777         * posix/setgid.c: Likewise.
37778         * posix/setlogin.c: Likewise.
37779         * posix/setpgid.c: Likewise.
37780         * posix/setresgid.c: Likewise.
37781         * posix/setresuid.c: Likewise.
37782         * posix/setsid.c: Likewise.
37783         * posix/setuid.c: Likewise.
37784         * posix/sleep.c: Likewise.
37785         * posix/spawni.c: Likewise.
37786         * posix/sysconf.c: Likewise.
37787         * posix/times.c: Likewise.
37788         * posix/wait.c: Likewise.
37789         * posix/wait3.c: Likewise.
37790         * posix/wait4.c: Likewise.
37791         * posix/waitpid.c: Likewise.
37792         * resolv/gai_sigqueue.c: Likewise.
37793         * resource/getpriority.c: Likewise.
37794         * resource/getrlimit.c: Likewise.
37795         * resource/getrusage.c: Likewise.
37796         * resource/nice.c: Likewise.
37797         * resource/setpriority.c: Likewise.
37798         * resource/setrlimit.c: Likewise.
37799         * resource/ulimit.c: Likewise.
37800         * rt/aio_cancel.c: Likewise.
37801         * rt/aio_fsync.c: Likewise.
37802         * rt/aio_read.c: Likewise.
37803         * rt/aio_sigqueue.c: Likewise.
37804         * rt/aio_suspend.c: Likewise.
37805         * rt/aio_write.c: Likewise.
37806         * rt/clock_getres.c: Likewise.
37807         * rt/clock_gettime.c: Likewise.
37808         * rt/clock_nanosleep.c: Likewise.
37809         * rt/clock_settime.c: Likewise.
37810         * rt/lio_listio.c: Likewise.
37811         * rt/mq_close.c: Likewise.
37812         * rt/mq_getattr.c: Likewise.
37813         * rt/mq_notify.c: Likewise.
37814         * rt/mq_open.c: Likewise.
37815         * rt/mq_receive.c: Likewise.
37816         * rt/mq_send.c: Likewise.
37817         * rt/mq_setattr.c: Likewise.
37818         * rt/mq_timedreceive.c: Likewise.
37819         * rt/mq_timedsend.c: Likewise.
37820         * rt/mq_unlink.c: Likewise.
37821         * rt/shm_open.c: Likewise.
37822         * rt/shm_unlink.c: Likewise.
37823         * rt/timer_create.c: Likewise.
37824         * rt/timer_delete.c: Likewise.
37825         * rt/timer_getoverr.c: Likewise.
37826         * rt/timer_gettime.c: Likewise.
37827         * rt/timer_settime.c: Likewise.
37828         * setjmp/__longjmp.c: Likewise.
37829         * setjmp/setjmp.c: Likewise.
37830         * signal/kill.c: Likewise.
37831         * signal/killpg.c: Likewise.
37832         * signal/raise.c: Likewise.
37833         * signal/sigaction.c: Likewise.
37834         * signal/sigaltstack.c: Likewise.
37835         * signal/sigblock.c: Likewise.
37836         * signal/sigignore.c: Likewise.
37837         * signal/sigintr.c: Likewise.
37838         * signal/signal.c: Likewise.
37839         * signal/sigpause.c: Likewise.
37840         * signal/sigpending.c: Likewise.
37841         * signal/sigqueue.c: Likewise.
37842         * signal/sigreturn.c: Likewise.
37843         * signal/sigset.c: Likewise.
37844         * signal/sigsetmask.c: Likewise.
37845         * signal/sigstack.c: Likewise.
37846         * signal/sigsuspend.c: Likewise.
37847         * signal/sigtimedwait.c: Likewise.
37848         * signal/sigvec.c: Likewise.
37849         * signal/sigwait.c: Likewise.
37850         * signal/sigwaitinfo.c: Likewise.
37851         * signal/sysv_signal.c: Likewise.
37852         * socket/accept.c: Likewise.
37853         * socket/accept4.c: Likewise.
37854         * socket/bind.c: Likewise.
37855         * socket/connect.c: Likewise.
37856         * socket/getpeername.c: Likewise.
37857         * socket/getsockname.c: Likewise.
37858         * socket/getsockopt.c: Likewise.
37859         * socket/isfdtype.c: Likewise.
37860         * socket/listen.c: Likewise.
37861         * socket/recv.c: Likewise.
37862         * socket/recvfrom.c: Likewise.
37863         * socket/recvmsg.c: Likewise.
37864         * socket/send.c: Likewise.
37865         * socket/sendmsg.c: Likewise.
37866         * socket/sendto.c: Likewise.
37867         * socket/setsockopt.c: Likewise.
37868         * socket/shutdown.c: Likewise.
37869         * socket/sockatmark.c: Likewise.
37870         * socket/socket.c: Likewise.
37871         * socket/socketpair.c: Likewise.
37872         * stdio-common/ctermid.c: Likewise.
37873         * stdio-common/cuserid.c: Likewise.
37874         * stdio-common/remove.c: Likewise.
37875         * stdio-common/rename.c: Likewise.
37876         * stdio-common/renameat.c: Likewise.
37877         * stdio-common/tempname.c: Likewise.
37878         * stdlib/getcontext.c: Likewise.
37879         * stdlib/makecontext.c: Likewise.
37880         * stdlib/setcontext.c: Likewise.
37881         * stdlib/swapcontext.c: Likewise.
37882         * stdlib/system.c: Likewise.
37883         * streams/fattach.c: Likewise.
37884         * streams/fdetach.c: Likewise.
37885         * streams/getmsg.c: Likewise.
37886         * streams/getpmsg.c: Likewise.
37887         * streams/putmsg.c: Likewise.
37888         * streams/putpmsg.c: Likewise.
37889         * sysdeps/unix/bsd/getpt.c: Likewise.
37890         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37891         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37892         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37894         Likewise.
37895         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37896         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37897         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37898         * sysvipc/msgctl.c: Likewise.
37899         * sysvipc/msgget.c: Likewise.
37900         * sysvipc/msgrcv.c: Likewise.
37901         * sysvipc/msgsnd.c: Likewise.
37902         * sysvipc/semctl.c: Likewise.
37903         * sysvipc/semget.c: Likewise.
37904         * sysvipc/semop.c: Likewise.
37905         * sysvipc/semtimedop.c: Likewise.
37906         * sysvipc/shmat.c: Likewise.
37907         * sysvipc/shmctl.c: Likewise.
37908         * sysvipc/shmdt.c: Likewise.
37909         * sysvipc/shmget.c: Likewise.
37910         * termios/tcdrain.c: Likewise.
37911         * termios/tcflow.c: Likewise.
37912         * termios/tcflush.c: Likewise.
37913         * termios/tcgetattr.c: Likewise.
37914         * termios/tcgetpgrp.c: Likewise.
37915         * termios/tcsendbrk.c: Likewise.
37916         * termios/tcsetattr.c: Likewise.
37917         * termios/tcsetpgrp.c: Likewise.
37918         * time/adjtime.c: Likewise.
37919         * time/clock.c: Likewise.
37920         * time/getitimer.c: Likewise.
37921         * time/gettimeofday.c: Likewise.
37922         * time/setitimer.c: Likewise.
37923         * time/settimeofday.c: Likewise.
37924         * time/stime.c: Likewise.
37925         * time/time.c: Likewise.
37927 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
37929         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37930         /usr/old/bin.
37932         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37933         instead of spaces.
37934         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37936 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
37938         [BZ #14796]
37939         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37940         FE_TONEAREST before applying Dekker multiplication and Knuth
37941         addition.  Clear inexact exceptions and check for exact zero
37942         results afterwards.
37943         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37944         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37945         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37946         * math/libm-test.inc (fma_test): Add more tests.
37947         (fma_test_towardzero): Likewise.
37948         (fma_test_downward): Likewise.
37949         (fma_test_upward): Likewise.
37950         * sysdeps/generic/math_private.h (default_libc_fesetround): New
37951         function.
37952         (libc_fesetround): New macro.
37953         (libc_fesetroundf): Likewise.
37954         (libc_fesetroundl): Likewise.
37955         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37956         function.
37957         (libc_fesetround_387): Likewise.
37958         (libc_fesetroundf): New macro.
37959         (libc_fesetround): Likewise.
37960         (libc_fesetroundl): Likewise.
37961         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37962         function.
37963         (libc_fesetroundf): New macro.
37964         (libc_fesetround): Likewise.
37965         (libc_fesetroundl): Likewise.
37966         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37967         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37968         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37969         libm_hidden_ver.
37970         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37971         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37972         libm_hidden_def.
37973         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37974         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37975         libm_hidden_ver.
37976         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37977         libm_hidden_def.
37979         [BZ #3439]
37980         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37981         integer constant usable in #if and use that to give value to enum
37982         constant.
37983         (FE_DIVBYZERO): Likewise.
37984         (FE_UNDERFLOW): Likewise.
37985         (FE_OVERFLOW): Likewise.
37986         (FE_INVALID): Likewise.
37987         (FE_INVALID_SNAN): Likewise.
37988         (FE_INVALID_ISI): Likewise.
37989         (FE_INVALID_IDI): Likewise.
37990         (FE_INVALID_ZDZ): Likewise.
37991         (FE_INVALID_IMZ): Likewise.
37992         (FE_INVALID_COMPARE): Likewise.
37993         (FE_INVALID_SOFTWARE): Likewise.
37994         (FE_INVALID_SQRT): Likewise.
37995         (FE_INVALID_INTEGER_CONVERSION): Likewise.
37996         (FE_TONEAREST): Likewise.
37997         (FE_TOWARDZERO): Likewise.
37998         (FE_UPWARD): Likewise.
37999         (FE_DOWNWARD): Likewise.
38000         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38001         (FE_DIVBYZERO): Likewise.
38002         (FE_OVERFLOW): Likewise.
38003         (FE_UNDERFLOW): Likewise.
38004         (FE_INEXACT): Likewise.
38005         (FE_TONEAREST): Likewise.
38006         (FE_DOWNWARD): Likewise.
38007         (FE_UPWARD): Likewise.
38008         (FE_TOWARDZERO): Likewise.
38009         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38010         (FE_UNDERFLOW): Likewise.
38011         (FE_OVERFLOW): Likewise.
38012         (FE_DIVBYZERO): Likewise.
38013         (FE_INVALID): Likewise.
38014         (FE_TONEAREST): Likewise.
38015         (FE_TOWARDZERO): Likewise.
38016         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38017         (FE_OVERFLOW): Likewise.
38018         (FE_UNDERFLOW): Likewise.
38019         (FE_DIVBYZERO): Likewise.
38020         (FE_INEXACT): Likewise.
38021         (FE_TONEAREST): Likewise.
38022         (FE_TOWARDZERO): Likewise.
38023         (FE_UPWARD): Likewise.
38024         (FE_DOWNWARD): Likewise.
38025         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38026         (FE_DIVBYZERO): Likewise.
38027         (FE_OVERFLOW): Likewise.
38028         (FE_UNDERFLOW): Likewise.
38029         (FE_INEXACT): Likewise.
38030         (FE_TONEAREST): Likewise.
38031         (FE_DOWNWARD): Likewise.
38032         (FE_UPWARD): Likewise.
38033         (FE_TOWARDZERO): Likewise.
38035 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
38037         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38039 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
38041         * scripts/cross-test-ssh.sh (command): Use newlines to separate
38042         commands.  Quote $PWD.
38043         (blacklist_exports): Don't use remove_newlines.  Replace "declare
38044         -x" by "export".
38045         (remove_newlines): Remove.
38047 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
38049         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38050         * stdlib/stdlib.h (atof): Moved to ...
38051         * include/bits/stdlib-float.h: Here.  New file.
38052         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38053         * stdlib/bits/stdlib-float.h: New file.
38054         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38055         -mno-sse -mno-mmx.
38056         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38057         <xmmintrin.h>.
38059 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
38061         * conform/conformtest.pl (@headers): Add fenv.h.
38062         * conform/data/fenv.h-data: New file.
38063         * include/fenv.h [_ISOMAC]: Disable all contents of file except
38064         include of <math/fenv.h>.
38066         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38067         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38068         && !UNIX98].  Enables tests for XOPEN2K8.
38069         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38070         POSIX2008]: Likewise.
38072         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38073         (struct rusage): Do not expect type or its members.
38075         [BZ #3439]
38076         * math/math.h (FP_NAN): Define macro to integer constant usable in
38077         #if and use that to give value to enum constant.
38078         (FP_INFINITE): Likewise.
38079         (FP_ZERO): Likewise.
38080         (FP_SUBNORMAL): Likewise.
38081         (FP_NORMAL): Likewise.
38083 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
38085         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38086         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38087         arguments.
38089 2012-11-02  Roland McGrath  <roland@hack.frob.com>
38091         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38092         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38093         autoconf-time if not.
38094         * configure.in: Remove AC_PREREQ.
38096 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38098         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38099         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38100         of the internal implementation.
38102 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
38104         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38105         except include of <misc/sys/syslog.h>.
38107 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38110         function returns with a NULL context exit with zero.
38112 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38114         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38116 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
38118         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
38119         (run_program_cmd): This.
38120         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
38121         (tst_langinfo): New variable.  Use it.
38123 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
38125         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38126         floating point opcodes.
38128 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38130         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
38131         variable.
38133         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
38135         * sysdeps/mach/hurd/powerpc: Remove directory.
38136         * sysdeps/mach/powerpc: Likewise.
38138 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38140         * scripts/check-local-headers.sh: Ignore c++ headers.
38142 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38144         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
38145         __libc_cleanup_region_start argument.
38147 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
38149         [BZ #14784]
38150         [BZ #14785]
38151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
38152         x * y using scaling, not as x * y + z.
38153         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38154         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38155         * math/libm-test.inc (fma_test): Add more tests.
38156         (fma_test_towardzero): Likewise.
38157         (fma_test_downward): Likewise.
38158         (fma_test_upward): Likewise.
38160 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38162         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38164 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38166         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38167         New variable.
38169 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
38171         * rt/tst-shm.c (worker): Correct checking for mmap failure.
38173 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38176         Fix sort order.
38177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38178         Likewise.
38180 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38183         Fix the order of the list for glibc 2.17.
38184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38185         Likewise.
38187 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38191 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38193         [BZ #14610]
38194         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38195         for low part of x being zero before using __atanl (y).
38196         * math/libm-test.inc (atan2_test): Add another test.
38198         * manual/install.texi (Configuring and compiling): Document
38199         general use of test-wrapper and test-wrapper-env.
38200         * INSTALL: Regenerated.
38202         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38203         (__fma): Do not extract and scale down low bits on after-rounding
38204         systems when result rounded to normal precision would have normal
38205         exponent.
38206         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38207         (__fmal): Do not extract and scale down low bits on after-rounding
38208         systems when result rounded to normal precision would have normal
38209         exponent.
38210         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38211         (__fmal): Do not extract and scale down low bits on after-rounding
38212         systems when result rounded to normal precision would have normal
38213         exponent.
38214         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38215         macro.
38216         (fma_test): Add more tests.
38217         (fma_test_towardzero): Likewise.
38218         (fma_test_downward): Likewise.
38219         (fma_test_upward): Likewise.
38221 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
38223         * sysdeps/i386/tininess.h: Renamed to ...
38224         * sysdeps/x86/tininess.h: This.
38225         * sysdeps/x86_64/tininess.h: Removed.
38227 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38229         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38230         input.  Use $(build-program-cmd).
38231         ($(objpfx)tst-array1-static.out): Likewise.
38232         ($(objpfx)tst-array2.out): Likewise.
38233         ($(objpfx)tst-array3.out): Likewise.
38234         ($(objpfx)tst-array4.out): Likewise.
38235         ($(objpfx)tst-array5.out): Likewise.
38236         ($(objpfx)tst-array5-static.out): Likewise.
38238 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
38240         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38241         if defined.
38243         * nss/nsswitch.h (nss_interface_function): Provide new
38244         macro for use with NSS functions.
38245         * grp/initgroups.c: Use new macro.
38246         * nss/getXXbyYY.c: Likewise.
38247         * nss/getXXbyYY_r.c: Likewise.
38248         * nss/getXXent.c: Likewise.
38249         * nss/getXXent_r.c: Likewise.
38250         * sysdeps/posix/getaddrinfo.c: Likewise.
38252 2012-10-30  Andreas Jaeger  <aj@suse.de>
38254         * po/ru.po: Update Russion translation from translation project.
38256 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38258         [BZ #14152]
38259         [BZ #14783]
38260         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38261         result and shift together with sticky bit instead of replicating
38262         round-to-nearest rounding.
38263         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38264         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38265         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
38266         missing underflow exceptions.
38267         (fma_test_towardzero): Add more tests.
38268         (fma_test_downward): Likewise.
38269         (fma_test_upward): Likewise.
38271         [BZ #14047]
38272         * sysdeps/generic/tininess.h: New file.
38273         * sysdeps/i386/tininess.h: Likewise.
38274         * sysdeps/sh/tininess.h: Likewise.
38275         * sysdeps/x86_64/tininess.h: Likewise.
38276         * stdlib/tst-strtod-underflow.c: Likewise.
38277         * stdlib/tst-tininess.c: Likewise.
38278         * stdlib/strtod_l.c: Include <tininess.h>.
38279         (round_and_return): Do not set errno for exact underflow cases.
38280         Force an underflow exception when setting errno for underflow.
38281         Determine underflow based on rounding to normal precision if
38282         TININESS_AFTER_ROUNDING.
38283         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38284         ERANGE for exact underflow cases.
38285         * stdlib/Makefile (tests): Add tst-tininess and
38286         tst-strtod-underflow.
38287         ($(objpfx)tst-tininess): Use $(link-libm).
38288         ($(objpfx)tst-strtod-underflow): Likewise.
38290 2012-10-30  Andreas Jaeger  <aj@suse.de>
38292         [BZ#14767]
38293         * elf/Makefile (tests): Remove conditional for have-initfini-array
38294         since this is now always required and the variable does not exist
38295         anymore.
38296         (tests-static): Likewise.
38297         (modules-names): Likewise.
38299         * po/eo.po: Add Esperanto translation from translation project.
38301         * elf/tst-array1.c (fini_array): Make writeable so that it can be
38302         merged with constructor/destructor.
38303         (init_array): Likewise.
38304         * elf/tst-array2dep.c (fini_array): Likewise.
38305         (init_array): Likewise.
38307 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
38309         * manual/message.texi: Delete @cartouche tags.
38311 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
38313         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38314         EOPNOTSUPP.
38315         * sysdeps/mach/hurd/fsync.c: Likewise.
38317         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38318         [_POSIX_REALTIME_SIGNALS]: Change condition to
38319         [_POSIX_REALTIME_SIGNALS > 0].
38321 2012-10-27  Andreas Jaeger  <aj@suse.de>
38323         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38324         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38325         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38326         [__WORDSIZE != 64]: Likewise.
38328 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
38330         *  iconvdata/tst-table.sh: Remove ${SHELL}.
38331         *  iconvdata/tst-tables.sh: Likewise.
38333 2012-10-25  David S. Miller  <davem@davemloft.net>
38335         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38336         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
38337         of strtoull.
38339         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
38340         ifunc-impl-list.c
38341         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38342         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38343         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38344         file.
38346 2012-10-25  Roland McGrath  <roland@hack.frob.com>
38348         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38349         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38350         __getdirentries.
38352 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38353             Jim Blandy  <jimb@codesourcery.com>
38355         * scripts/cross-test-ssh.sh: New file.
38356         * manual/install.texi (Configuring and compiling): Document use of
38357         cross-test-ssh.sh.
38358         * INSTALL: Regenerated.
38360 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
38362         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38363         EOPNOTSUPP.
38365 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38367         * Makeconfig (run-program-prefix): Fix comment.
38369 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38370             Jim Blandy  <jimb@codesourcery.com>
38372         * Makeconfig (test-wrapper): New variable,
38373         (test-wrapper-env): Likewise.
38374         [$(cross-compiling) = yes && $(test-wrapper) != ""]
38375         (run-built-tests): Define to yes.
38376         (run-program-prefix): Use $(test-wrapper).
38377         (built-program-cmd): Likewise.
38378         * Rules (make-test-out): Use $(test-wrapper-env) and
38379         $(host-built-program-cmd).
38380         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38381         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38382         tst-pathopt.sh.
38383         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38384         $(test-wrapper-env) to tst-rtld-load-self.sh.
38385         ($(objpfx)order2.out): Use $(test-wrapper).
38386         ($(objpfx)tst-initorder.out): Likewise.
38387         ($(objpfx)tst-initorder2.out): Likewise.
38388         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38389         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38390         (test_wrapper_env): New variable.  Use it to run ld.so.
38391         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38392         Use it to run ld.so.
38393         (test_wrapper_env): Likewise.
38394         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38395         $(test-wrapper) to run-iconv-test.sh.
38396         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38397         (ICONV): Use $test_wrapper.
38398         * posix/Makefile ($(objpfx)globtest.out): Pass
38399         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38400         globtest.sh, not $(run-program-prefix).
38401         * posix/globtest.sh (run_via_rtld_prefix): New variable.
38402         (test_wrapper): Likewise.
38403         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
38404         set together with run_via_rtld_prefix.
38405         (run_program_prefix): Define in terms of test_wrapper and
38406         run_via_rtld_prefix.
38408 2012-10-24  Roland McGrath  <roland@hack.frob.com>
38410         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38411         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38412         Targets removed.
38414         [BZ #14743]
38415         * include/time.h: Remove librt_hidden_proto (clock_gettime).
38416         Declare __clock_getres, __clock_gettime, __clock_settime,
38417         __clock_nanosleep, and __clock_getcpuclockid.
38418         * rt/clock_gettime.c: Define __clock_gettime as an alias.
38419         Remove librt_hidden_def (clock_gettime).
38420         * sysdeps/unix/clock_gettime.c: Likewise.
38421         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38422         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38423         * rt/clock_getres.c: Define __clock_getres as an alias.
38424         * sysdeps/posix/clock_getres.c: Likewise.
38425         * rt/clock_settime.c: Define __clock_settime as an alias.
38426         * sysdeps/unix/clock_settime.c: Likewise.
38427         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38428         * sysdeps/unix/clock_nanosleep.c: Likewise.
38429         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38430         * rt/clock-compat.c: New file.
38431         * rt/Makefile (librt-routines): Add clock-compat and move
38432         $(clock-routines) to ...
38433         (routines): ... here, new variable.
38434         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38435         Don't add get_clockfreq here.
38436         * rt/Versions (libc: GLIBC_2.17): New version set.
38437         Add clock_* symbols here.
38438         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
38439         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38440         (GLIBC_2.17): Add clock_* symbols.
38441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38442         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38443         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38445         Likewise.
38446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38447         Likewise.
38448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38452         * NEWS: Mention the move.
38454         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38455         Use __open, __read, __close rather than their public counterparts.
38456         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38457         (__get_clockfreq_via_cpuinfo): Likewise.
38458         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38459         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38461         * config.h.in (HAVE_IFUNC): New #undef.
38462         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38463         was successful.
38464         * configure: Regenerated.
38466 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38468         * configure.in: Move READELF check to start of file.
38469         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38470         libc_cv_asm_gnu_indirect_function in the process.
38471         * configure: Regenerated.
38473 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38475         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38476         send the output to /dev/null.
38477         (libc_cv_cc_with_libunwind): Likewise.
38478         (libc_cv_as_noexecstack): Likewise.
38479         * configure: Regenerate.
38481 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38483         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38485         * posix/globtest.sh (TMPDIR): Do not set.
38486         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38487         (testout): Likewise.
38489 2012-10-24  Andreas Jaeger  <aj@suse.de>
38491         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38492         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38493         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38494         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38495         posix_fadvise64, posix_fallocate64.
38497         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38498         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38499         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38500         Likewise.
38501         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38502         Likewise.
38503         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38506         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38507         <bits/fcntl-linux.h>.
38508         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38510         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38511         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38512         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38513         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38514         [__WORDSIZE != 64]: Likewise.
38516 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
38518         * Makeconfig (run-built-tests): New variable.
38519         * Rules [$(cross-compiling) = yes]: Change condition to
38520         [$(run-built-tests) = no].
38521         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
38522         to [$(run-built-tests) = yes].
38523         * elf/Makefile [$(cross-compiling) = no]: Likewise
38524         * grp/Makefile [$(cross-compiling) = no]: Likewise.
38525         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
38526         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
38527         * intl/Makefile [$(cross-compiling) = no]: Likewise.
38528         * io/Makefile [$(cross-compiling) = no]: Likewise.
38529         * libio/Makefile [$(cross-compiling) = no]: Likewise.
38530         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
38531         * misc/Makefile [$(cross-compiling) = no]: Likewise.
38532         * posix/Makefile [$(cross-compiling) = no]: Likewise.
38533         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
38534         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
38535         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
38536         * string/Makefile [$(cross-compiling) = no]: Likewise.
38538         * posix/Makefile ($(objpfx)globtest.out): Pass
38539         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
38540         $(rtld-installed-name).
38541         * posix/globtest.sh (elf_objpfx): Remove variable.
38542         (rtld_installed_name): Likewise.
38543         (library_path): Likewise.
38544         (run_program_prefix): New variable.  Use for running globtest
38545         binary.
38547 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
38548             Joseph Myers  <joseph@codesourcery.com>
38550         * Makeconfig (host-built-program-cmd): New variable.
38551         * elf/Makefile (tst-stackguard1-ARGS): Use
38552         $(host-built-program-cmd).
38553         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
38554         (tst-spawn-ARGS): Likewise.
38555         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
38557 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
38558             Jim Blandy  <jimb@codesourcery.com>
38560         * Makeconfig (run-via-rtld-prefix): New variable.
38561         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
38562         (built-program-cmd): Likewise.
38564 2012-10-22  Andreas Jaeger  <aj@suse.de>
38566         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
38567         __O_RSYNC if it exists, otherwise to O_SYNC.
38569 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
38570             Joseph Myers  <joseph@codesourcery.com>
38572         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38573         /dev/null.
38574         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
38575         from /dev/null
38576         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
38577         /dev/null.
38579 2012-10-22  Andreas Jaeger  <aj@suse.de>
38581         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
38582         Define always.
38583         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38585         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38586         bits/fcntl-linux.h.
38588         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
38589         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
38591         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
38592         to __O_LARGEFILE.
38593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38594         to __O_LARGEFILE.
38596 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
38597             Joseph Myers  <joseph@codesourcery.com>
38599         * config.make.in (NM): New variable.
38601 2012-10-21  Andreas Jaeger  <aj@suse.de>
38603         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38604         definitions and declarations that are provided by
38605         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38607 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
38609         [BZ #14683]
38610         * elf/Makefile (tests-static): Add tst-leaks1-static.
38611         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38612         ($(objpfx)tst-leaks1-static): New rule.
38613         ($(objpfx)tst-leaks1-static-mem): Likewise.
38614         (tst-leaks1-static-ENV): New macro.
38615         * elf/dl-open.c (dl_open_worker): Check the main application
38616         only if SHARED is defined.
38617         * elf/tst-leaks1-static.c: New file.
38619 2012-10-20  Andreas Jaeger  <aj@suse.de>
38621         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38622         generic values for Linux.
38623         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38624         and declarations that are provided by <bits/fcntl-linux.h> and
38625         include <bits/fcntl-linux.h>.
38626         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38627         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38629 2012-10-20  Roland McGrath  <roland@hack.frob.com>
38631         * io/fcntl.h: Move include of <bits/types.h> to the top and
38632         include it unconditionally.
38634 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
38636         * wcsmbs/Makefile (tests-ifunc): New variable.
38637         (tests): Add $(tests-ifunc).
38638         * wcsmbs/test-wcschr-ifunc.c: New file.
38639         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38640         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38641         * wcsmbs/test-wcslen-ifunc.c: Likewise.
38642         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38643         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38645         * string/Makefile (tests-ifunc): New variable.
38646         (tests): Add $(tests-ifunc).
38647         * string/test-memccpy.c (TEST_NAME): New macro.
38648         * string/test-memchr.c (TEST_NAME): Likewise.
38649         * string/test-memcmp.c (TEST_NAME): Likewise.
38650         * string/test-memcpy.c (TEST_NAME): Likewise.
38651         * string/test-memmem.c (TEST_NAME): Likewise.
38652         * string/test-memmove.c (TEST_NAME): Likewise.
38653         * string/test-memset.c (TEST_NAME): Likewise.
38654         * string/test-rawmemchr.c (TEST_NAME): Likewise.
38655         * string/test-stpcpy.c (TEST_NAME): Likewise.
38656         * string/test-stpncpy.c (TEST_NAME): Likewise.
38657         * string/test-strcasecmp.c (TEST_NAME): Likewise.
38658         * string/test-strcasestr.c (TEST_NAME): Likewise.
38659         * string/test-strcat.c (TEST_NAME): Likewise.
38660         * string/test-strchr.c (TEST_NAME): Likewise.
38661         * string/test-strcmp.c(TEST_NAME): Likewise.
38662         * string/test-strcpy.c (TEST_NAME): Likewise.
38663         * string/test-strcspn.c (TEST_NAME): Likewise.
38664         * string/test-strlen.c (TEST_NAME): Likewise.
38665         * string/test-strncasecmp.c (TEST_NAME): Likewise.
38666         * string/test-strncmp.c (TEST_NAME): Likewise.
38667         * string/test-strncpy.c (TEST_NAME): Likewise.
38668         * string/test-strnlen.c (TEST_NAME): Likewise.
38669         * string/test-strpbrk.c (TEST_NAME): Likewise.
38670         * string/test-strrchr.c (TEST_NAME): Likewise.
38671         * string/test-strspn.c (TEST_NAME): Likewise.
38672         * string/test-strstr.c (TEST_NAME): Likewise.
38673         * string/test-bcopy-ifunc.c: New file.
38674         * string/test-bzero-ifunc.c: Likewise.
38675         * string/test-memccpy-ifunc.c: Likewise.
38676         * string/test-memchr-ifunc.c: Likewise.
38677         * string/test-memcmp-ifunc.c: Likewise.
38678         * string/test-memcpy-ifunc.c: Likewise.
38679         * string/test-memmem-ifunc.c: Likewise.
38680         * string/test-memmove-ifunc.c: Likewise.
38681         * string/test-mempcpy-ifunc.c: Likewise.
38682         * string/test-memset-ifunc.c: Likewise.
38683         * string/test-rawmemchr-ifunc.c: Likewise.
38684         * string/test-stpcpy-ifunc.c: Likewise.
38685         * string/test-stpncpy-ifunc.c: Likewise.
38686         * string/test-strcasecmp-ifunc.c: Likewise.
38687         * string/test-strcasestr-ifunc.c: Likewise.
38688         * string/test-strcat-ifunc.c: Likewise.
38689         * string/test-strchr-ifunc.c: Likewise.
38690         * string/test-strchrnul-ifunc.c: Likewise.
38691         * string/test-strcmp-ifunc.c: Likewise.
38692         * string/test-strcpy-ifunc.c: Likewise.
38693         * string/test-strcspn-ifunc.c: Likewise.
38694         * string/test-strlen-ifunc.c: Likewise.
38695         * string/test-strncasecmp-ifunc.c: Likewise.
38696         * string/test-strncat-ifunc.c: Likewise.
38697         * string/test-strncmp-ifunc.c: Likewise.
38698         * string/test-strncpy-ifunc.c: Likewise.
38699         * string/test-strnlen-ifunc.c: Likewise.
38700         * string/test-strpbrk-ifunc.c: Likewise.
38701         * string/test-strrchr-ifunc.c: Likewise.
38702         * string/test-strspn-ifunc.c: Likewise.
38703         * string/test-strstr-ifunc.c: Likewise.
38705         * debug/Makefile (tests-ifunc): New variable.
38706         (tests): Add $(tests-ifunc).
38707         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38708         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38709         * debug/test-stpcpy_chk-ifunc.c: New file.
38710         * debug/test-strcpy_chk-ifunc.c: Likewise.
38712 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38714         [BZ #13601]
38715         * elf/dl-load.c (open_verify): Retry read if the entire ELF
38716         header is not read in.
38718 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
38720         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
38721         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
38722         directly.  Pass built executable to script as
38723         $(built-program-cmd).
38724         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
38725         $testprogram without using LD_LIBRARY_PATH and $ldso.
38727         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38728         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38729         $(rtld-installed-name).
38730         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38731         (rtld_installed_name): Likewise.
38732         (library_path): Likewise.
38733         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
38734         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38735         $(run-program-prefix) to tst-tables.sh.
38736         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
38737         it to run tst-table-from and tst-table-to.
38738         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38739         Pass it to tst-table.sh.
38740         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38741         $(run-program-prefix) to tst-gettext.sh.
38742         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38743         tst-translit.sh.
38744         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38745         tst-gettext2.sh.
38746         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
38747         to run tst-gettext.
38748         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
38749         to run tst-gettext2.
38750         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
38751         to run tst-translit.
38752         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38753         $(run-program-prefix) to tst-mtrace.sh.
38754         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
38755         to run tst-mtrace.
38756         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38757         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38758         $(rtld-installed-name).
38759         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38760         (rtld_installed_name): Likewise.
38761         (run_program_prefix): New variable.  Use it to run wordexp-test.
38763         * Makeconfig (ARCH): Remove all definitions.
38764         (machine): Likewise.
38765         [ARCH]: Remove conditional code.
38766         [!objdir]: Give error.
38767         [!objdir] (objpfx): Remove.
38768         [!objdir] (common-objpfx): Likewise.
38769         [!objdir] (common-objdir): Likewise.
38770         * configure.in (config_makefile): Remove.  Hardcode Makefile in
38771         AC_CONFIG_FILES call.
38772         * configure: Regenerated.
38774         [BZ #13888]
38775         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38776         or TMPDIR.
38777         (testout): Likewise.
38779         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38780         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38781         $(rtld-installed-name).
38782         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38783         (rtld_installed_name): Likwise.
38784         (runit): Remove function.
38785         (run_getconf): New variable,  Use it for running getconf binary.
38787 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
38789         [BZ #14716]
38790         * string/test-memmem.c (check_result): New function.
38791         (do_one_test): Use it.
38792         (check1): New function.
38793         (test_main): Use it.
38795 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
38797         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38799 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
38801         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38802         (_G_LSEEK64): Likewise.
38803         (_G_MMAP64): Likewise.
38804         (_G_FSTAT64): Likewise.
38805         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38806         (_G_LSEEK64): Likewise.
38807         (_G_MMAP64): Likewise.
38808         (_G_FSTAT64): Likewise.
38809         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38810         unconditional.  Call __mmap64 directly.
38811         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38812         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
38813         __lseek64 directly.
38814         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38815         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
38816         __mmap64 directly.
38817         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38818         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
38819         __lseek64 directly.
38820         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38821         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
38822         __lseek64 directly.
38823         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38824         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
38825         __lseek64 directly.
38826         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38827         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
38828         __fxstat64 directly.
38829         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38830         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38831         unconditional.
38832         (freopen64) [!_G_OPEN64]: Remove conditional code.
38833         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38834         unconditional.
38835         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38836         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38837         unconditional.
38838         (ftello64) [!_G_LSEEK64]: Remove conditional code.
38839         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38840         unconditional.
38841         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38842         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38843         unconditional.
38844         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38845         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38846         unconditional.
38847         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38848         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38849         unconditional.
38850         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38851         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38852         unconditional.
38853         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38855 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38857         [BZ #12140]
38858         * manual/memory.texi (Malloc Tunable Parameters): Add note
38859         about free list pointers overwriting some perturb bytes.
38860         Wording suggested by Roland McGrath.
38862 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
38864         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38865         (lgamma_test): Likewise.
38866         (tgamma_test): Likewise.
38868 2012-10-16  Florian Weimer  <fweimer@redhat.com>
38870         [BZ #14700]
38871         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38872         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38874 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
38876         * NEWS: Mention BZ #14716.
38877         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38878         when removing AVAILABLE1_USES_J macro.
38880 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
38882         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38883         (__bswap_64): __uint64_t for unsigned 64-bit int.
38885 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
38887         * include/string.h (memmem): Declare libc hidden alias.
38888         * string/memmem.c (memmem): Define libc hidden alias.
38889         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38890         __read, __close instead of open, read, close.
38892 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
38894         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38895         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38896         global and hidden.
38897         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38898         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38899         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38900         Likewise.
38901         (__rawmemchr_sse2): Likewise.
38902         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38903         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38904         (__strchr_sse2): Likewise.
38905         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38906         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38907         (__strcasecmp_sse2): Likewise.
38908         (__strncasecmp_sse2): Likewise.
38909         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38910         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38911         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38912         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38913         (__strrchr_sse2): Likewise.
38914         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38915         ifunc-impl-list.c.
38916         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38917         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38918         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38919         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38920         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38921         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38922         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38923         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38924         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38925         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38926         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38927         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38928         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38929         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38930         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38931         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38932         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38933         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38934         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38935         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38936         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38937         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38938         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38939         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38940         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38941         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38942         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38943         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38944         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38945         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38947         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38948         global and hidden.
38949         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38950         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38951         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38952         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38953         Likewise.
38954         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38955         Likewise.
38956         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38957         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38958         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38959         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38960         ifunc-impl-list.c.
38961         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38962         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38963         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38964         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38965         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38966         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38967         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38968         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38969         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38970         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38971         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38972         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38973         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38974         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38975         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38976         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38977         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38978         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38979         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38980         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38981         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38982         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38983         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38984         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38985         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38986         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38987         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38988         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38989         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38990         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38991         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38992         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38993         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38994         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38995         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38996         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38997         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38998         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38999         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39000         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39001         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39003         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39004         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39005         * include/ifunc-impl-list.h: New file.
39006         * misc/ifunc-impl-list.c: Likewise.
39007         * misc/Makefile (routines): Add ifunc-impl-list.
39008         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39009         * string/test-string.h: Include <ifunc-impl-list.h>.
39010         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39011         TEST_NAME]: New variables.
39012         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39013         are defined.
39014         (test_init): Call __libc_ifunc_impl_list to initialize
39015         func_list if TEST_IFUNC and TEST_NAME are defined.
39017         * string/Makefile (strop-tests): Add bcopy and bzero.
39018         * string/test-bcopy.c: New file.
39019         * string/test-bzero.c: Likewise.
39020         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39021         defined.
39022         * string/test-memset.c: Support bzero test if TEST_BZERO is
39023         defined.
39024         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39025         __libc_memmove.
39026         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39027         __libc_memset.
39028         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39029         of memset.
39031 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
39033         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39034         * configure: Regenerated.
39036         * Makeconfig (+link-static-before-libc): Don't include
39037         $(link-static-libc).
39039         * libio/libio.h (_IO_pos_t): Remove.
39041 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39043         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
39044         McGrath.
39046 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39048         * crypt/crypt-entry.c: Include fips-private.h.
39049         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39050         * crypt/md5c-test.c (main): Tolerate disabled MD5.
39051         * sysdeps/unix/sysv/linux/fips-private.h: New file.
39052         * sysdeps/generic/fips-private.h: New file, dummy fallback.
39054 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39056         * crypt/crypt-private.h: Include stdbool.h.
39057         (_ufc_setup_salt_r): Return bool.
39058         * crypt/crypt-entry.c: Include errno.h.
39059         (__crypt_r): Return NULL with EINVAL for bad salt.
39060         * crypt/crypt_util.c (bad_for_salt): New.
39061         (_ufc_setup_salt_r): Check that salt is long enough and within
39062         the specified alphabet.
39063         * crypt/badsalttest.c: New file.
39064         * crypt/Makefile (tests): Add it.
39065         ($(objpfx)badsalttest): New.
39067 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
39069         * NEWS: Add entry for BZ #14602.
39071 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
39073         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39074         type-generic.
39075         * math/libm-test.inc: Update comment listing what functions and
39076         macros are tested.
39077         (isgreater_test): New function.
39078         (isgreaterequal_test): Likewise.
39079         (isless_test): Likewise.
39080         (islessequal_test): Likewise.
39081         (islessgreater_test): Likewise.
39082         (isunordered_test): Likewise.
39083         (main): Call the new functions.
39085 2012-10-09  Roland McGrath  <roland@hack.frob.com>
39087         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39088         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39089         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39090         * sysdeps/i386/configure: Regenerated.
39091         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39092         * sysdeps/mach/configure: Regenerated.
39093         * sysdeps/mach/hurd/configure: Regenerated.
39094         * sysdeps/powerpc/configure: Regenerated.
39095         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39096         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39097         * sysdeps/s390/s390-32/configure: Regenerated.
39098         * sysdeps/s390/s390-64/configure: Regenerated.
39099         * sysdeps/sh/configure: Regenerated.
39100         * sysdeps/sparc/configure: Regenerated.
39101         * sysdeps/unix/sysv/linux/configure: Regenerated.
39102         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39103         * sysdeps/x86_64/configure: Regenerated.
39105         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39106         defined.  Don't check if MAP is NULL.
39108 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
39110         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39111         (_G_stat64): Likewise.
39112         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39113         (_G_stat64): Likewise.
39114         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39115         instead of struct _G_stat64.
39116         * libio/fileops.c (mmap_remap_check): Likewise.
39117         (decide_maybe_mmap): Likewise.
39118         (_IO_new_file_seekoff): Likewise.
39119         (_IO_file_stat): Likewise.
39120         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
39121         _G_off64_t.
39122         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
39123         instead of struct _G_stat64.
39124         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39126 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
39128         [BZ #14602]
39129         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39130         Replace with ...
39131         (CHECK_EOL): New macro.
39132         (two_way_short_needle): Check beginning of haystack for EOL.  Use
39133         CHECK_EOL.
39134         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39135         Replace with CHECK_EOL.
39136         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39137         Replace with CHECK_EOL.
39139 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
39141         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
39142         type-generic.
39143         * math/libm-test.inc: Update comment listing what functions and
39144         macros are tested.
39145         (finite_test): New function.
39146         (isinf_test): Likewise.
39147         (isnan_test): Likewise.
39148         (fpclassify_test): Test subnormal input.
39149         (isfinite_test): Likewise.
39150         (isnormal_test): Likewise.
39151         (main): Call the new functions.
39153 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
39155         [BZ #14660]
39156         * Makerules (%.dynsym): Force C locale when running
39157         $(OBJDUMP) --dynamic-syms.
39159 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
39161         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39162         <stdint.h>.
39164 2012-10-06  David S. Miller  <davem@davemloft.net>
39166         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39167         upper 32-bits of the length value in %o2 since we use branch-on-register
39168         tests which consider the entire 64-bit register.
39170 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
39172         * string/test-strstr.c (check2): Add a test for page boundary.
39174 2012-10-05  David S. Miller  <davem@davemloft.net>
39176         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39177         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39178         file.
39179         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39180         sysdep_routines.
39181         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39182         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39183         and bzero when HWCAP_SPARC_CRYPTO is present.
39185 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
39187         [BZ #14602]
39188         * string/test-strstr.c (check2): New function.
39189         (test_main): Call check2.
39191         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39192         and bug-strchr1.
39193         * string/bug-strcasestr1.c (do_test): Moved to ...
39194         * string/test-strcasestr.c (check1): Here.  New function.
39195         (do_one_test): Break out result checking code into ...
39196         (check_result): This.  New function.
39197         (do_one_test): Call check_result.
39198         (test_main): Call check1.
39199         * string/bug-strchr1.c (do_test): Moved to ...
39200         * string/test-strchr.c (check1): Here.  New function.
39201         (do_one_test): Break out result checking code into ...
39202         (check_result): This.  New function.
39203         (do_one_test): Call check_result.
39204         (test_main): Call check1.
39205         * string/bug-strstr1.c (main): Moved to ...
39206         * string/test-strstr.c (check1): Here.  New function.
39207         (do_one_test): Break out result checking code into ...
39208         (check_result): This.  New function.
39209         (do_one_test): Call check_result.
39210         (test_main): Call check1.
39211         * string/bug-strcasestr1.c: Removed.
39212         * string/bug-strchr1.c: Likewise.
39213         * string/bug-strstr1.c: Likewise.
39215         * elf/Makefile (dl-routines): Add hwcaps.
39216         * elf/dl-support.c (_dl_important_hwcaps): Removed.
39217         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39218         (_dl_important_hwcaps): Moved to ...
39219         * elf/dl-hwcaps.c: Here.  New file.
39220         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39222         [BZ #14557]
39223         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39224         if IS_IN_rtld isn't defined.
39226         * elf/dl-support.c (_dl_sysinfo_map): New.
39227         Include "get-dynamic-info.h" and "setup-vdso.h".
39228         (_dl_non_dynamic_init): Call setup_vdso.
39229         * elf/dynamic-link.h: Don't include <assert.h>.
39230         (elf_get_dynamic_info): Moved to ...
39231         * elf/get-dynamic-info.h: Here.  New file.
39232         * elf/dynamic-link.h: Include "get-dynamic-info.h".
39233         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39234         * elf/setup-vdso.h: Here.  New file.
39235         * elf/rtld.c: Include "setup-vdso.h".
39236         (dl_main): Call setup_vdso.
39238 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
39240         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39241         creal in comment listing functions tested.  List finite, isinf,
39242         isnan, isless, islessequal, isgreater, isgreaterequal,
39243         islessgreater, isunordered, lgamma_r and pow10 as functions and
39244         macros not tested.  Mention which functions not tested are aliases
39245         for other functions.  Fix typo.  Note that signs of NaNs are not
39246         tested.
39248         * scripts/config.guess: Update from config.git.
39249         * scripts/config.sub: Likewise.
39251 2012-10-04  Roland McGrath  <roland@hack.frob.com>
39253         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39254         * misc/madvise.c (madvise): Renamed to __madvise.
39255         Make madvise a weak alias.
39256         * include/sys/mman.h: Declare __madvise.
39257         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39258         * sysdeps/unix/syscalls.list
39259         (madvise): Make __madvise the strong name, and madvise a weak alias.
39260         * sysdeps/unix/sysv/linux/syscalls.list
39261         (madvise, mmap): Remove redundant entries.
39262         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39263         * malloc/malloc.c (mtrim): Likewise.
39264         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39266 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39268         * sysdeps/mach/hurd/dl-cache.c: File removed.
39269         * config.h.in (USE_LDCONFIG): New #undef.
39270         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39271         * configure: Regenerated.
39272         * elf/Makefile (dl-routines): Add dl-cache only under
39273         [$(use-ldconfig) = yes].
39274         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39275         cache on [USE_LDCONFIG].
39276         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39277         [USE_LDCONFIG].
39278         * elf/rtld.c (dl_main): Likewise.
39280 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
39282         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39283         _SC_LEVEL4_CACHE_LINESIZE.
39285 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39287         * sysdeps/unix/bsd/confstr.h: File removed.
39289 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
39291         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39292         sys/sdt-config.h.
39294 2012-10-02  Roland McGrath  <roland@hack.frob.com>
39296         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39297         Make 'mapoff' field ElfW(Off) rather than off_t.
39299 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
39301         * nscd/Makefile: Remove nscd-cflags and all its users.
39302         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39303         (CFLAGS-nonlib): Add compiler flags for nscd modules.
39305         [BZ #10631]
39306         * malloc.c (malloc_printerr): Clarify error message.
39308 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
39310         [BZ #14648]
39311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39312         Set bit_FMA_Usable if FMA is supported.
39313         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39314         macro.
39315         (bit_FMA4_Usable): Updated.
39316         (index_FMA_Usable): New macro.
39317         (CPUID_FMA): Likewise
39318         (HAS_FMA): Defined with bit_FMA_Usable.
39320 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39322         * bits/types.h (__swblk_t): Type removed.
39323         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39324         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39325         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39326         (__SWBLK_T_TYPE): Likewise.
39327         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39328         (__SWBLK_T_TYPE): Likewise.
39329         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39330         (__SWBLK_T_TYPE): Likewise.
39331         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39332         (__SWBLK_T_TYPE): Likewise.
39334 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
39335             Honza Horak <hhorak@redhat.com>
39337         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
39338         (xdr_mapname): Use YPMAXMAP as maxsize.
39339         (xdr_peername): Use YPMAXPEER as maxsize.
39340         (xdr_keydat): Use YPAXRECORD as maxsize.
39341         (xdr_valdat): Use YPMAXRECORD as maxsize.
39343 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39345         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39347         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39348         * csu/init-first.c: ... here.
39349         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39350         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39351         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39352         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39353         * sysdeps/i386/init-first.c: File removed.
39354         * sysdeps/sh/init-first.c: File removed.
39356 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
39358         [BZ #14645]
39359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39360         if x * y might underflow to zero and z is zero.
39361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39362         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39363         * math/libm-test.inc (min_subnorm_value): New variable.
39364         (fma_test): Add more tests.
39365         (fma_test_towardzero): Likewise.
39366         (fma_test_downward): Likewise
39367         (fma_test_upward): Likewise.
39368         (initialize): Set min_subnorm_value.
39370 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
39372         [BZ #14638]
39373         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39374         0 + 0.
39375         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39376         mode for addition resulting in exact zero.
39377         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39379         exact 0 + 0.
39380         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39382         * math/libm-test.inc (fma_test): Add more tests.
39383         (fma_test_towardzero): New function.
39384         (fma_test_downward): Likewise.
39385         (fma_test_upward): Likewise.
39386         (main): Call the new functions.
39388 2012-09-28  David S. Miller  <davem@davemloft.net>
39390         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39392 2012-09-28  Roland McGrath  <roland@hack.frob.com>
39394         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39395         instead of SIGALRM.
39397         * sysdeps/gnu/_G_config.h: Moved to ...
39398         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39399         * sysdeps/mach/hurd/_G_config.h: Moved to ...
39400         * sysdeps/generic/_G_config.h: ... here.
39402         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
39404         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39406         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39407         Conditionalize target on [libnss_test1.so-version].
39409         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39411         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39412         (elfobjdir): Move out of conditionals.
39414         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39415         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39416         (__nss_lookup_function): Conditionalize label remove_from_tree on
39417         [!DO_STATIC_NSS || SHARED], matching its only use.
39419 2012-09-28  David S. Miller  <davem@davemloft.net>
39421         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39422         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39423         file.
39424         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39425         sysdep_routines.
39426         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39427         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39428         when HWCAP_SPARC_CRYPTO is present.
39430 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39432         * io/tst-mknodat.c: Create a FIFO instead of a socket.
39434 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
39436         [BZ #6530]
39437         * stdio-common/vfprintf.c (process_string_arg): Revert
39438         2000-07-22 change.
39440 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
39442         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39443         for testcase.
39444         * stdio-common/tst-sprintf.c: Include <locale.h>
39445         (main): Test sprintf's handling of incomplete multibyte
39446         characters.
39448 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
39450         * elf/dl-runtime.c (VERSYMIDX): Removed.
39451         * elf/dl-version.c (VERSYMIDX): Likewise.
39452         * elf/do-rel.h (VERSYMIDX): Likewise.
39453         (VALIDX): Likewise.
39454         * elf/dynamic-link.h (VERSYMIDX): Likewise.
39455         * elf/rtld.c (VALIDX): Likewise.
39456         (ADDRIDX): Likewise.
39457         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39458         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39459         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
39460         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39461         (VALIDX): Likewise.
39462         (ADDRIDX): Likewise.
39464 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39466         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39468 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
39470         [BZ #11438]
39471         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39472         to global scope.
39473         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39474         addresses are in the same scope as 192.0.2/24.
39475         * posix/gai.conf: Document new scope table defaults.
39477 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39479         [BZ #5298]
39480         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39481         for ftell.  Compute offsets from write pointers instead.
39482         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39484 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39486         [BZ #14543]
39487         * libio/Makefile (tests): New test case tst-fseek.
39488         * libio/tst-fseek.c: New test case to verify that fseek/ftell
39489         combination works in wide mode.
39490         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39491         state when the external buffer state changes.
39493 2012-09-27  David S. Miller  <davem@davemloft.net>
39495         [BZ #14376]
39496         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39497         pass reloc->r_addend in as the 'high' argument to
39498         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39502 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39504         * rt/tst-aio2.c: Include <pthread.h>.
39505         * rt/tst-aio3.c: Likewise.
39507 2012-09-27  Steve Ellcey  <sellcey@mips.com>
39509         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39511 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
39513         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39514         contents on [SHARED].
39516 2012-09-26  Marek Polacek  <polacek@redhat.com>
39518         [BZ #14530]
39519         [BZ #13741]
39520         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
39521         for C++ and GCC <4.3 as well as for non GCC compilers.
39523 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
39525         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39527 2012-09-25  Roland McGrath  <roland@hack.frob.com>
39529         * Makefile.in (all, install): Declare with .PHONY.
39530         Reported by Michael Hope <michael.hope@linaro.org>.
39532 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39534         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
39535         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
39536         system header.
39537         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
39538         Likewise.
39539         (sydep_routines): Add the new and the internal functions.
39540         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
39541         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
39542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
39543         (GLIBC_2.17): Add the new function.
39544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39545         (GLIBC_2.17): Likewise.
39546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
39547         (GLIBC_2.17): Likewise.
39548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
39549         (GLIBC_2.17): Likewise.
39550         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
39552 2012-09-25  Alan Modra  <amodra@gmail.com>
39554         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
39555         Add release barrier before setting once_control to say
39556         initialisation is done.  Add hints on lwarx.  Use macro in
39557         place of isync.
39558         (clear_once_control): Add release barrier.
39560 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
39562         [BZ #13629]
39563         * math/s_clog.c (__clog): Handle more values close to |z| = 1
39564         specially.
39565         * math/s_clog10.c (__clog10): Likewise.
39566         * math/s_clog10f.c (__clog10f): Likewise.
39567         * math/s_clog10l.c (__clog10l): Likewise.
39568         * math/s_clogf.c (__clogf): Likewise.
39569         * math/s_clogl.c (__clogl): Likewise.
39570         * math/Makefile (libm-calls): Add x2y2m1.
39571         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
39572         (__x2y2m1): Likewise.
39573         (__x2y2m1l): Likewise.
39574         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
39575         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
39576         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
39577         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39578         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
39579         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
39580         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
39581         * sysdeps/i386/fpu/libm-test-ulps: Update.
39582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39584         [BZ #14621]
39585         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
39586         int as type of variable DEPTH.
39587         (glob): Use size_t instead of int as type of variables NEWCOUNT
39588         and OLD_PATHC.
39590 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39592         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39593         Add s_sincosf-sse2.
39594         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
39595         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
39596         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
39597         macros for using routine as __sincosf_ia32.
39598         Use macro for function declaration and weak_alias.
39599         * sysdeps/i386/fpu/libm-test-ulps: Update.
39601         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
39602         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39604         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
39605         subnormal argument.
39606         * math/s_cexpf.c (__cexpf): Likewise.
39607         * math/s_csinf.c (__csinf): Likewise.
39608         * math/s_csinhf.c (__csinhf): Likewise.
39609         * math/s_ctanf.c (__ctanf): Likewise.
39610         * math/s_ctanhf.c (__ctanhf): Likewise.
39611         * math/s_ccosh.c (__ccoshf): Likewise.
39612         * math/s_cexp.c (__cexpl): Likewise.
39613         * math/s_csin.c (__csin): Likewise.
39614         * math/s_csinh.c (__csinh): Likewise.
39615         * math/s_ctan.c (__ctan): Likewise.
39616         * math/s_ctanh.c (ctanh): Likewise.
39617         * math/s_ccoshl.c (__ccoshl): Likewise.
39618         * math/s_cexpl.c (__cexpl): Likewise.
39619         * math/s_csinl.c (__csinl): Likewise.
39620         * math/s_csinhl.c (__csinhl): Likewise.
39621         * math/s_ctanl.c (__ctanl): Likewise.
39622         * math/s_ctanhl.c (__ctanhl): Likewise.
39624 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
39626         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39627         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39628         (_IO_off_t): Define to __off_t, not _G_off_t.
39629         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39630         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39631         (_IO_wint_t): Define to wint_t, not _G_wint_t.
39632         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39633         type of __dummy and __dummy2 fields.
39634         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39635         (_G_ssize_t): Likewise.
39636         (_G_off_t): Likewise.
39637         (_G_pid_t): Likewise.
39638         (_G_uid_t): Likewise.
39639         (_G_wchar_t): Likewise.
39640         (_G_wint_t): Likewise.
39641         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39642         (_G_ssize_t): Likewise.
39643         (_G_off_t): Likewise.
39644         (_G_pid_t): Likewise.
39645         (_G_uid_t): Likewise.
39646         (_G_wchar_t): Likewise.
39647         (_G_wint_t): Likewise.
39648         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39649         (_G_ssize_t): Likewise.
39650         (_G_off_t): Likewise.
39651         (_G_pid_t): Likewise.
39652         (_G_uid_t): Likewise.
39653         (_G_wchar_t): Likewise.
39654         (_G_wint_t): Likewise.
39656 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39658         * malloc/arena.c: Include malloc-sysdep.h.
39659         (shrink_heap): Use check_may_shrink_heap to decide if madvise
39660         is sufficient to shrink the heap or an unmap is needed.
39661         * sysdeps/generic/malloc-sysdep.h: New file.  Define
39662         new function check_may_shrink_heap.
39663         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
39664         new function check_may_shrink_heap.
39666 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39668         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39669         comments.
39671 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
39673         * catgets/test-gencat.sh: Add "set -e".
39674         * elf/tst-pathopt.sh: Likewise.
39675         * grp/tst_fgetgrent.sh: Likewise.
39676         * iconvdata/run-iconv-test.sh: Likewise.
39677         * intl/tst-gettext.sh: Likewise.
39678         * intl/tst-gettext2.sh: Likewise.
39679         * intl/tst-gettext4.sh: Likewise.
39680         * intl/tst-gettext6.sh: Likewise.
39681         * intl/tst-translit.sh: Likewise.
39682         * io/ftwtest-sh: Likewise.
39683         * libio/test-freopen.sh: Likewise.
39684         * malloc/tst-mtrace.sh: Likewise.
39685         * posix/globtest.sh: Likewise.
39686         * posix/tst-getconf.sh: Likewise.
39687         * posix/wordexp-tst.sh: Likewise.
39688         * stdio-common/tst-printf.sh: Likewise.
39689         * stdio-common/tst-unbputc.sh: Likewise.
39690         * stdlib/tst-fmtmsg.sh: Likewise.
39691         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39692         * catgets/Makefile: Do not specify -e option when running
39693         testsuite shell scripts.
39694         * elf/Makefile: Likewise.
39695         * grp/Makefile: Likewise.
39696         * iconvdata/Makefile: Likewise.
39697         * intl/Makefile: Likewise.
39698         * io/Makefile: Likewise.
39699         * libio/Makefile: Likewise.
39700         * malloc/Makefile: Likewise.
39701         * posix/Makefile: Likewise.
39702         * stdio-common/Makefile: Likewise.
39703         * stdlib/Makefile: Likewise.
39704         * sysdeps/x86_64/Makefile: Likewise.
39706         * io/ftwtest-sh: Add copyright header.
39707         * posix/globtest.sh: Likewise.
39708         * posix/tst-getconf.sh: Likewise.
39709         * posix/wordexp-tst.sh: Likewise.
39710         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39712 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
39714         [BZ #13679]
39715         * Makeconfig (+link): Defined as $(+link-static) if
39716         $(build-shared) isn't yes.
39717         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39718         isn't yes.
39719         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39721         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39723         [BZ #14562]
39724         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39725         new chunk size with MALLOC_ALIGN_MASK.
39727 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
39729         [BZ #5044]
39730         * stdio-common/printf_fphex.c: Include <stdbool.h> and
39731         <rounding-mode.h>.
39732         (__printf_fphex): Determine rounding using get_rounding_mode and
39733         round_away.
39734         * stdio-common/tst-printf-round.c (struct hex_test): New
39735         structure.
39736         (hex_tests): New variable.
39737         (test_hex_in_one_mode): New function.
39738         (do_test): Also run tests for hex float output.
39740 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
39742         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39743         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39744         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39745         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39746         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39747         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39748         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39749         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39751 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
39753         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39754         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39755         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39756         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39758 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
39760         [BZ #14579]
39761         * elf/rtld.c (dl_main): Limit the check for self loading to normal
39762         mode only.
39763         * elf/tst-rtld-load-self.sh: New test.
39764         * elf/Makefile: Run it.
39766 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
39768         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39769         (tst-writev-ENV): Remove.
39770         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39772 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
39774         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39776 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
39778         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39779         unconditional.
39780         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39781         Likewise.
39782         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39783         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39784         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39785         Likewise.
39787 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
39789         [BZ #14587]
39790         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39791         * config.make.in (have-cpp-asm-debuginfo): Removed.
39792         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39793         * configure: Regenerated.
39795 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
39797         [BZ #5044]
39798         * stdio-common/printf_fp.c: Include <stdbool.h> and
39799         <rounding-mode.h>.
39800         (___printf_fp): Determine rounding using get_rounding_mode and
39801         round_away.
39802         * stdio-common/tst-printf-round.c: New file.
39803         * stdio-common/Makefile (tests): Add tst-printf-round.
39804         (link-libm): New variable.
39805         ($(objpfx)tst-printf-round): Depend in $(link-libm).
39807 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
39809         [BZ #14576]
39810         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39811         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39812         Likewise.
39813         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39814         Likewise.
39816 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
39818         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39819         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39820         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39821         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39823 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
39825         [BZ #14518]
39826         * include/rounding-mode.h: New file.
39827         * sysdeps/generic/get-rounding-mode.h: Likewise.
39828         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39829         * stdlib/strtod_l.c: Include <rounding-mode.h>.
39830         (MAX_VALUE): New macro.
39831         (MIN_VALUE): Likewise.
39832         (overflow_value): New function.
39833         (underflow_value): Likewise.
39834         (round_and_return): Use overflow_value and underflow_value to
39835         determine return values in overflow and underflow cases.  Use
39836         round_away to determine rounding depending on rounding mode.
39837         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39838         determine return values in overflow and underflow cases.
39839         * stdlib/tst-strtod-round.c: Include <fenv.h>.
39840         (struct test_results): New structure.
39841         (struct test): Use struct test_results to store expected results
39842         for all rounding modes.
39843         (TEST): Include expected results for all rounding modes.
39844         (test_in_one_mode): New function.
39845         (do_test): Use test_in_one_mode to compute and check results.
39846         Check results for all rounding modes.
39847         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39848         $(link-libm).
39850 2012-12-09  Allan McRae  <allan@archlinux.org>
39852         * sysdeps/i386/fpu/libm-test-ulps: Update
39854 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
39856         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39857         (_G_int32_t): Likewise.
39858         (_G_uint16_t): Likewise.
39859         (_G_uint32_t): Likewise.
39860         (_G_HAVE_BOOL): Likewise.
39861         (_G_HAVE_ATEXIT): Likewise.
39862         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39863         (_G_HAVE_IO_FILE_OPEN): Likewise.
39864         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39865         (_G_int32_t): Likewise.
39866         (_G_uint16_t): Likewise.
39867         (_G_uint32_t): Likewise.
39868         (_G_HAVE_BOOL): Likewise.
39869         (_G_HAVE_ATEXIT): Likewise.
39870         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39871         (_G_HAVE_IO_FILE_OPEN): Likewise.
39872         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39873         (_G_int32_t): Likewise.
39874         (_G_uint16_t): Likewise.
39875         (_G_uint32_t): Likewise.
39876         (_G_HAVE_BOOL): Likewise.
39877         (_G_HAVE_ATEXIT): Likewise.
39878         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39879         (_G_HAVE_IO_FILE_OPEN): Likewise.
39881 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
39883         * csu/libc-tls.c: Update copyright years.
39885 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
39887         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39888         [!_G_USING_THUNKS]: Remove conditional code.
39889         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39890         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39892         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39893         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39894         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39895         (_G_VTABLE_LABEL_PREFIX): Likewise.
39896         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39897         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39898         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39899         (_G_VTABLE_LABEL_PREFIX): Likewise.
39900         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39901         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39902         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39903         (_G_VTABLE_LABEL_PREFIX): Likewise.
39904         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39906 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
39908         * libio/Makefile: Include ../Makeconfig before tests.
39909         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39910         only if $(build-shared) is yes.
39912         * iconv/gconv_db.c: Update copyright years.
39914 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39916         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39917         unwind info if defined PIC. Fix special cases description.
39918         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39920         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39921         DP_HI_MASK entry.
39922         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39924 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
39926         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39928         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39929         is NULL.
39931         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39932         (LDLIBS-tst-chk4): This.
39933         (LDFLAGS-tst-chk5): Renamed to ...
39934         (LDLIBS-tst-chk5): This.
39935         (LDFLAGS-tst-chk6): Renamed to ...
39936         (LDLIBS-tst-chk6): This.
39937         (LDFLAGS-tst-lfschk4): Renamed to ...
39938         (LDLIBS-tst-lfschk4): This.
39939         (LDFLAGS-tst-lfschk5): Renamed to ...
39940         (LDLIBS-tst-lfschk5): This.
39941         (LDFLAGS-tst-lfschk6): Renamed to ...
39942         (LDLIBS-tst-lfschk6): This.
39944         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39945         on $(common-objpfx)soversions.mk.
39947 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
39949         [BZ #10014]
39950         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39951         example host name.
39953 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39955         * malloc/arena.c (arena_get_retry): New function that gets
39956         another arena for the caller to try its request on.
39957         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39958         current arena cannot fulfill the request.
39959         (__libc_memalign): Likewise.
39960         (__libc_memalign): Likewise.
39961         (__libc_pvalloc): Likewise.
39962         (__libc_calloc): Likewise.
39964 2012-09-05  John Tobey  <john.tobey@gmail.com>
39966         [BZ #13542]
39967         * manual/arith.texi (Operations on Complex): Fix description
39968         of carg branch cut.
39970 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
39972         [BZ #10014]
39973         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39974         host name.
39976         [BZ #10038]
39977         * manual/memory.texi (Memory): Make order of menu items match
39978         order of sections.
39980 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39982         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39983         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
39984         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39986 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39988         * csu/libc-tls.c (static_dtv): Renamed to ...
39989         (_dl_static_dtv): This.  Make it global.
39990         (_dl_initial_dtv): Removed.
39991         (__libc_setup_tls): Updated.
39992         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39993         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39994         DL_INITIAL_DTV.
39996 2012-09-06  Petr Machata  <pmachata@redhat.com>
39998         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39999         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40000         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40001         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40003 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40005         [BZ #14545]
40006         * csu/libc-tls.c (_dl_initial_dtv): New variable.
40007         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40008         freeing dtv[-1].
40010 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40012         [BZ #14544]
40013         * Makeconfig (link-static-before-libc): Replace $(+prector)
40014         with $(+prectorT).
40015         (link-static-after-libc): Replace $(+postctor) with
40016         $(+postctorT).
40017         (link-bounded): Replace $(+prector)/$(+postctor) with
40018         $(+prectorT)/$(+postctorT).
40019         (+prectorT): New macro.
40020         (+postctorT): Likewise.
40022 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
40024         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40025         (round_str): Handle values above the maximum for IBM long double
40026         as inexact.
40027         * stdlib/tst-strtod-round.c (tests): Regenerated.
40029 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40031         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40032         assembler flag.
40033         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40034         zarch_nohighgprs around the zarch optimized routines.
40035         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40036         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40037         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40038         for zarch.
40040 2012-09-05  David S. Miller  <davem@davemloft.net>
40042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40044         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40045         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
40046         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40047         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40048         entries.
40050 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40052         * malloc/arena.c: Fold copyright years.
40053         * malloc/mcheck.c, malloc/memusage.c: Likewise.
40055 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40057         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40059 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40061         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
40063 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40065         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40066         change internal state upon failure.
40068 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40070         * malloc/mcheck.c (mcheck_check_all): Fix typo.
40071         * malloc/memusage.c (mmap): Likewise.
40072         (mmap64, mremap): Likewise.  Adjust name in comment.
40074 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40076         * libio/fileops.c: Fix typos in comments.
40077         * libio/oldfileops.c: Likewise.
40078         * libio/wfileops.c: Likewise.
40080 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40082         [BZ #1349]
40083         * malloc/Makefile (tests): Add tst-malloc-usable test case.
40084         (tst-malloc-usable-ENV): Set environment for test case.
40085         * malloc/hooks.c (malloc_check_get_size): New function to get
40086         requested size.
40087         * malloc/malloc.c (musable): Use malloc_check_get_size.
40088         * malloc/tst-malloc-usable.c: New test case.
40090 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40092         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40094 2012-09-05  Allan McRae  <allan@archlinux.org>
40096         [BZ #13966]
40097         * configure.in (CXX_SYSINCLUDES): Use compiler output to
40098         determine header location.
40099         * configure: Regenerated.
40101 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40103         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40104         float format.
40105         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
40106         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40107         format.
40108         (test): Regenerate.
40110 2012-09-04  David S. Miller  <davem@davemloft.net>
40112         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40113         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40114         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40116 2012-09-04  Florian Weimer  <fweimer@redhat.com>
40118         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
40119         failures.
40121         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
40123 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
40125         [BZ #9914]
40126         * libio/iogetdelim.c: Include <limits.h>.
40127         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
40128         + len + 1 would overflow.
40130 2012-09-03  Andreas Jaeger  <aj@suse.de>
40132         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40133         * sysdeps/i386/fpu/libm-test-ulps: Update.
40135 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40137         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40138         Add s_sinf-sse2, s_conf-sse2.
40140         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
40141         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
40142         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
40143         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
40145         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
40146         for using routine as __sinf_ia32.
40147         Use macro for function declaration and weak_alias.
40148         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
40149         for using routine as __cosf_ia32.
40150         Use macro for function declaration and weak_alias.
40152         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40153         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40155         * sysdeps/x86_64/fpu/s_sinf.S: New file.
40156         * sysdeps/x86_64/fpu/s_cosf.S: New file.
40157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40159         * math/libm-test.inc (cos_test): Add more test cases.
40160         (sin_test): Likewise.
40161         (sincos_test): Likewise.
40163 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40165         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40166         (IFUNC_RESOLVE): Make pointers to the specialized implementations
40167         hidden.
40168         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40170 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
40172         [BZ #14538]
40173         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40174         first element of the GOT.
40175         (elf_machine_load_address): Return the difference between
40176         the runtime address of _DYNAMIC and elf_machine_dynamic ().
40178 2012-09-01  Allan McRae  <allan@archlinux.org>
40180         [BZ #13412]
40181         * configure.in (AWK): Require gawk version 3.0 or later.
40182         * configure: Regenerated.
40184 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
40186         * sysdeps/unix/sysv/linux/kernel-features.h
40187         (__ASSUME_POSIX_CPU_TIMERS): Remove.
40188         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40189         [__NR_clock_getres]: Make code unconditional.
40190         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40191         (clock_getcpuclockid): Remove code left unreachable by removal of
40192         conditionals.
40193         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40194         code unconditional.
40195         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40196         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40197         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40198         Make code unconditional.
40199         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40200         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40201         * sysdeps/unix/sysv/linux/clock_settime.c
40202         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40203         conditional code.
40204         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40205         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40207 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
40209         [BZ #14476]
40210         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40211         scripts/test-installation.pl.
40213         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40214         and $ld_so_version if it is set.
40216 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40218         [BZ #14516]
40219         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40220         failure if reading from procfs failed.
40221         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40223 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40225         * sysdeps/unix/sysv/linux/kernel-features.h
40226         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40227         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40228         Remove conditional code.
40229         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40230         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40231         Remove conditional code.
40232         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40233         * sysdeps/unix/sysv/linux/i386/fxstat.c
40234         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40235         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40236         * sysdeps/unix/sysv/linux/i386/fxstatat.c
40237         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40238         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40239         * sysdeps/unix/sysv/linux/i386/lxstat.c
40240         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40241         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40242         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40243         Remove conditional code.
40244         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40245         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40246         Remove conditional code.
40247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40248         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40249         <kernel-features.h>.
40250         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40251         Remove.
40252         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40253         Remove conditional code.
40254         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40255         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40256         Remove conditional.
40258 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
40260         [BZ #5400]
40261         * NEWS: Add fixed bug number.
40263 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40265         [BZ #14519]
40266         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40267         underflowing exponent in case of negative sign.
40268         * stdlib/tst-strtod-round-data: Add more tests.
40269         * stdlib/tst-strtod-round.c (tests): Regenerated.
40271         [BZ #3479]
40272         * stdlib/strtod_l.c (NDIG): Remove.
40273         (HEXNDIG): Likewise.
40274         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40275         smallest representable value.
40276         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40277         lie within an exact representation of 1/2 ulp of the result.
40278         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40279         unconditionally.
40280         (TENS_P9_IDX): Define unconditionally.
40281         (TENS_P9_SIZE): Likewise.
40282         (TENS_P10_IDX): Likewise.
40283         (TENS_P10_SIZE): Likewise.
40284         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40285         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40286         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40287         entries for 10^2^13 and 10^2^14.
40288         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40289         (TENS_P13_IDX): Define.
40290         (TENS_P13_SIZE): Likewise.
40291         (TENS_P14_IDX): Likewise.
40292         (TENS_P14_SIZE): Likewise.
40293         (_fpioconst_pow10): Change array size to
40294         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
40295         unconditional.
40296         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40297         1024]: Add entries for 10^2^13 and 10^2^14.
40298         [LAST_POW10 > _LAST_POW10]: Remove #error.
40299         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40300         (_fpioconst_pow10): Change array size to
40301         FPIOCONST_POW10_ARRAY_SIZE.
40302         * stdlib/gen-fpioconst.c: New file.
40303         * stdlib/gen-tst-strtod-round.c: Likewise.
40304         * stdlib/tst-strtod-round-data: Likewise.
40305         * stdlib/tst-strtod-round.c: Likewise.
40306         * stdlib/Makefile (tests): Add tst-strtod-round.
40308         [BZ #14459]
40309         * stdlib/strtod_l.c: Include <stdint.h>.
40310         (NDEBUG): Do not define.
40311         (round_and_return): Change EXPONENT parameter to type intmax_t.
40312         Rearrange calculations to avoid internal overflow possibilities.
40313         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40314         Rearrange calculations to avoid internal overflow possibilities.
40315         Assert that number fits inside MPNSIZE limbs.
40316         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40317         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
40318         calculations and add assertions to avoid internal overflow
40319         possibilities.  Add casts to avoid signed/unsigned operations.
40320         * stdlib/tst-strtod-overflow.c: New file.
40321         * stdlib/Makefile (tests): Add tst-strtod-overflow.
40323 2012-08-25  Marek Polacek  <polacek@redhat.com>
40325         * time/time.h: Fix some typos in comments.
40327 2012-08-23  Roland McGrath  <roland@hack.frob.com>
40329         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
40330         * posix/tst-rfc3484-2.c: Likewise.
40331         * posix/tst-rfc3484-3.c: Likewise.
40333 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
40335         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
40336         (EF_ARM_ABI_FLOAT_HARD): Likewise.
40338 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
40340         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
40341         #include of fxstatat64.c.
40343 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40345         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40346         * shadow/getspent_r.c: Likewise.
40347         * shadow/getspnam.c: Likewise.
40348         * shadow/getspnam_r.c: Likewise.
40349         * gshadow/getsgent.c: Likewise.
40350         * gshadow/getsgent_r.c: Likewise.
40351         * gshadow/getsgnam.c: Likewise.
40352         * gshadow/getsgnam_r.c: Likewise.
40353         * inet/getnetbyad.c: Likewise.
40354         * inet/getnetbyad_r.c: Likewise.
40355         * inet/getnetbynm.c: Likewise.
40356         * inet/getnetbynm_r.c: Likewise.
40357         * inet/getnetent.c: Likewise.
40358         * inet/getnetent_r.c: Likewise.
40359         * inet/getproto.c: Likewise.
40360         * inet/getproto_r.c: Likewise.
40361         * inet/getprtent.c: Likewise.
40362         * inet/getprtent_r.c: Likewise.
40363         * inet/getprtname.c: Likewise.
40364         * inet/getprtname_r.c: Likewise.
40365         * inet/getrpcbyname.c: Likewise.
40366         * inet/getrpcbyname_r.c: Likewise.
40367         * inet/getrpcbynumber.c: Likewise.
40368         * inet/getrpcbynumber_r.c: Likewise.
40369         * inet/getrpcent.c: Likewise.
40370         * inet/getrpcent_r.c: Likewise.
40371         * inet/getaliasent.c: Likewise.
40372         * inet/getaliasent_r.c: Likewise.
40373         * inet/getaliasname.c: Likewise.
40374         * inet/getaliasname_r.c: Likewise.
40375         * nscd/getgrgid_r.c: Likewise.
40376         * nscd/getgrnam_r.c: Likewise.
40377         * nscd/gethstbyad_r.c: Likewise.
40378         * nscd/gethstbynm3_r.c: Likewise.
40379         * nscd/getpwnam_r.c: Likewise.
40380         * nscd/getpwuid_r.c: Likewise.
40381         * nscd/getsrvbynm_r.c: Likewise.
40382         * nscd/getsrvbypt_r.c: Likewise.
40383         * nscd/gai.c: Likewise.
40385         * configure.in (build_nscd): New substituted variable, set
40386         by --disable-build-nscd and defaults to $use_nscd.
40387         * configure: Regenerated.
40388         * config.make.in (build-nscd): New substituted variable.
40389         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40390         Change conditional to require [$(build-nscd) = yes] as well.
40391         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40393         [BZ# 13696]
40394         * configure.in (use_nscd): New substituted variable, set by
40395         --disable-nscd.  If enabled, define USE_NSCD.
40396         * configure: Regenerated.
40397         * config.h.in: Add USE_NSCD.
40398         * config.make.in (use-nscd): New substituted variable.
40399         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40400         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40401         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40402         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40403         (CFLAGS-getgrnam_r.c): Likewise.
40404         (CFLAGS-initgroups.c): Likewise.
40405         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40406         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40407         Variables removed.
40408         * inet/getnetgrent_r.c
40409         (nscd_setnetgrent): New function, broken out of ...
40410         (setnetgrent): ... here.  Call it.
40411         (innetgr): Conditionalize nscd bits on [USE_NSCD].
40412         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40413         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40414         * nscd/Makefile (routines, aux): Move definitions after include of
40415         Makeconfig.  Conditionalize on [$(use-nscd) != no].
40416         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40417         Conditionalize on [USE_NSCD].
40418         (is_nscd, nscd_init_cb): Likewise.
40419         (nss_load_library): Conditionalize init callback on [USE_NSCD].
40420         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40421         * nss/nss_db/db-init.c: Likewise.
40422         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40423         [USE_NSCD].
40424         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40425         (make_request): Use it.
40426         (cache_valid_p): New function.
40427         (__check_pf): Use it.
40428         * NEWS: Add item for --disable-nscd.
40430 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
40432         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40433         to support sed >= 4.2.1-20-ga9bf076.
40434         * configure: Regenerated.
40436 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40438         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40439         Conditionalize whole body on [IREL].
40441 2012-08-22  Jeff Law <law@redhat.com>
40443         [BZ #14505]
40444         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40445         if the family is PF_UNSPEC.
40447 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
40449         * Makerules (lib-version): Rename from V.
40450         (install-lib-nosubdir): Change V to lib-version.
40452 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
40454         [BZ #14252]
40455         * powerpc32/power6/wcschr.c: New file.
40456         * powerpc32/power6/wcscpy.c: New file.
40457         * powerpc32/power6/wcsrchr.c: New file.
40458         * powerpc64/power6/wcschr.c: New file.
40459         * powerpc64/power6/wcscpy.c: New file.
40460         * powerpc64/power6/wcsrchr.c: New file.
40462 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40464         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40465         (two_way_short_needle): Use it.
40466         * string/strstr.c (AVAILABLE1_USES_J): Define.
40467         * string/strcasestr.c: Likewise.
40469         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40470         array references.
40471         * string/strcasestr.c (TOLOWER): Make side-effect safe.
40473         [BZ #11607]
40474         * NEWS: Add an entry.
40475         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40476         define their defaults.
40477         (two_way_short_needle): Detect end-of-string on-the-fly.
40478         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40479         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40480         * string/bug-strcasestr1.c: New test.
40481         * string/Makefile: Run it.
40483 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40485         [BZ #11607]
40486         * string/str-two-way.h (two_way_short_needle): Optimize matching of
40487         the first character.
40489 2012-08-21  Roland McGrath  <roland@hack.frob.com>
40491         * csu/elf-init.c (__libc_csu_irel): Function removed.
40492         * csu/libc-start.c (apply_irel): New function.
40493         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40495 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
40497         * sysdeps/unix/sysv/linux/kernel-features.h
40498         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40499         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40500         <kernel-features.h>.
40501         [__NR_fadvise64_64]: Make code unconditional.
40502         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40503         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40504         !__NR_fadvise64_64)]: Likewise.
40505         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40506         !__NR_fadvise64_64))]: Likewise.
40507         [__NR_fadvise64]: Make code unconditional.
40508         [!__NR_fadvise64]: Remove conditional code.
40509         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40510         <kernel-features.h>.
40511         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40512         unconditional.
40513         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40514         conditional code.
40515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
40516         not include <kernel-features.h>.
40517         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40518         unconditional.
40519         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40520         conditional code.
40521         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
40522         include <kernel-features.h>.
40523         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40524         unconditional.
40525         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40526         conditional code.
40528 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40530         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
40531         slight instruction rearrangements per scrollpipe analysis.
40532         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40534 2012-08-20  Roland McGrath  <roland@hack.frob.com>
40536         * manual/syslog.texi (syslog; vsyslog, closelog):
40537         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
40538         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
40540         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
40541         DSOCAPS to match condition on defining it.
40543 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
40545         * sysdeps/unix/sysv/linux/kernel-features.h
40546         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
40547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
40548         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40549         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
40551         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40552         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
40554         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40555         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40557         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
40558         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
40560         * sysdeps/unix/sysv/linux/kernel-features.h
40561         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
40562         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
40563         unconditional.
40564         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40565         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
40566         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40567         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40568         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
40569         Make code unconditional.
40570         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40571         (__mmap64) [!__NR_mmap2]: Likewise.
40572         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40573         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40574         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40575         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
40576         [__NR_mmap2]: Make code unconditional.
40577         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40578         (__mmap64) [!__NR_mmap2]: Likewise.
40580 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40582         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
40584 2012-08-18  Andreas Jaeger  <aj@suse.de>
40586         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
40588 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
40590         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
40591         * include/unistd.h (__have_sock_cloexec): Likewise.
40592         (__have_pipe2): Likewise.
40593         (__have_dup3): Likewise.
40595 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
40597         [BZ #9685]
40598         * include/unistd.h (__have_pipe2): Change define into an extern int.
40599         (__have_dup3): Likewise.
40600         * socket/have_sock_cloexec.c: Include fcntl.h.
40601         (__have_pipe2): New variable.
40602         (__have_dup3): Likewise.
40604 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
40606         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40608 2012-08-17  Marek Polacek  <polacek@redhat.com>
40610         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40611         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40613 2012-08-17  Roland McGrath  <roland@hack.frob.com>
40615         * configure.in: Add AC_SUBST for sysheaders.
40616         * configure: Regenerated.
40617         * config.make.in (sysheaders): New substituted variable.
40619         * sysdeps/unix/mkfifo.c: Moved ...
40620         * sysdeps/posix/mkfifo.c: ... here.
40621         * sysdeps/unix/mkfifoat.c: Moved ...
40622         * sysdeps/posix/mkfifoat.c: ... here.
40624         * sysdeps/unix/utime.c: Moved ...
40625         * sysdeps/posix/utime.c: ... here.
40627         * sysdeps/unix/time.c: Moved ...
40628         * sysdeps/posix/time.c: ... here.
40629         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40630         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
40632         * sysdeps/unix/nice.c: Moved ...
40633         * sysdeps/posix/nice.c: ... here.
40635         * sysdeps/unix/alarm.c: Moved ...
40636         * sysdeps/posix/alarm.c: ... here.
40638         * intl/Makefile ($(codeset_mo)): Depend on the input file.
40640 2012-08-17  Jeff Law <law@redhat.com>
40642         * intl/Makefile (codeset_mo): New variable.
40643         ($(codeset_mo)): New target.
40644         (tst-codeset.out): Depend on that.  Remove explicit rule.
40645         (tst-gettext3.out, tst-gettext5.out): Likewise.
40646         (LOCPATH-ENV, tst-codeset-ENV): New variables.
40647         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40648         * intl/tst-codeset.sh: Remove.
40649         * intl/tst-gettext3.sh: Likewise.
40650         * intl/tst-gettext5.sh: Likewise.
40652 2012-08-17  Roland McGrath  <roland@hack.frob.com>
40654         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
40655         * sysdeps/unix/syscalls.list: ... here.
40657         * sysdeps/posix/getaddrinfo.c
40658         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40659         (gaiconf_init, gaiconf_reload): Use them.
40660         [!_STATBUF_ST_NSEC]
40661         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40662         Define using time_t rather than struct timespec.
40664         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40665         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40666         Macros removed.
40667         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40668         [!NO_THREADS].
40669         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40670         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40671         Likewise.
40673         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40674         __libc_cleanup_push argument.
40676         * bits/param.h: New file.
40677         * misc/sys/param.h: New file.
40678         * include/sys/param.h: New file.
40679         * misc/Makefile (headers): Add bits/param.h.
40680         * sysdeps/generic/sys/param.h: File removed.
40681         * sysdeps/unix/sysv/linux/bits/param.h: New file.
40682         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40683         * sysdeps/mach/hurd/bits/param.h: New file.
40684         * sysdeps/mach/hurd/sys/param.h: File removed.
40686         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40687         last change.
40689         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40690         [_IO_MTSAFE_IO].
40691         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40692         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40693         New macros.
40695         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40696         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40697         rather than -D_IO_MTSAFE_IO conditionally.
40698         * stdio-common/Makefile (CPPFLAGS): Likewise.
40699         * wcsmbs/Makefile (CPPFLAGS): Likewise.
40700         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40701         Use $(libio-mtsafe).
40702         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40703         of -D_IO_MTSAFE_IO.
40704         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40705         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40706         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40707         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40708         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40709         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40710         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40711         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40712         (CFLAGS-fread_u_chk.c): Likewise.
40713         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40714         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40715         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40716         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40717         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40718         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40719         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40720         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40721         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40723         * libio/Makefile: Test [$(libc-reentrant) = yes]
40724         instead of [$(filter %REENTRANT, $(defines)) nonempty].
40726         * Makeconfig
40727         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40728         * sysdeps/pthread/configure: File removed.
40729         * sysdeps/pthread/Makeconfig: New file.
40730         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40731         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40733 2012-08-16  Gary Benson  <gbenson@redhat.com>
40735         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40736         unmapping the first object in a namespace.
40738 2012-08-16  Roland McGrath  <roland@hack.frob.com>
40740         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40741         (__internal_setnetgrent): ... this.  Add internal_function to
40742         definition.  Add libc_hidden_def.
40743         (setnetgrent): Update caller.
40744         (internal_endnetgrent): Renamed to ...
40745         (__internal_endnetgrent): ... this.  Add internal_function to
40746         definition.  Add libc_hidden_def.
40747         (endnetgrent): Update caller.
40748         (internal_getnetgrent_r): Renamed to ...
40749         (__internal_getnetgrent_r): ... this.  Add internal_function to
40750         definition.  Add libc_hidden_def.
40751         (__getnetgrent_r): Update caller.
40752         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
40754 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
40756         * stdlib/longlong.h: Update from GCC.
40758 2012-08-16  Roland McGrath  <roland@hack.frob.com>
40760         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40761         on _QL, which is set by umul_ppmm but never used.
40762         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40763         variables, which are set by GMP macros but never used.
40764         * stdio-common/_itowa.c (_itowa): Likewise.
40765         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40766         * stdlib/mod_1.c (mpn_mod_1): Likewise.
40768 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
40770         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40771         struct La_sh_regs is not constant.
40772         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40773         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40774         and struct La_sparc64_regs are not constant.
40776 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
40778         * sysdeps/unix/sysv/linux/kernel-features.h
40779         (__ASSUME_POSIX_TIMERS): Remove.
40780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40781         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40782         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40783         Make code unconditional.
40784         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40785         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40786         Make code unconditional.
40787         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40788         * sysdeps/unix/sysv/linux/clock_nanosleep.c
40789         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40790         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40791         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40792         Make code unconditional.
40793         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40794         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40795         (__libc_missing_posix_timers): Remove.
40797 2012-08-15  Roland McGrath  <roland@hack.frob.com>
40799         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40800         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40802         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40804         * elf/dl-sym.c: Include <stdlib.h>.
40806         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40807         constants, which avoids warnings in 32-bit builds.
40809         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40810         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40812         * misc/lseek.c: File moved to ...
40813         * io/lseek.c: ... here.
40815         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40817         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40818         shifting LEN more than 31 bits at once.
40820 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40822         [BZ #14195]
40823         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40824         segmentation fault for a case of two empty input strings.
40825         * string/test-strncasecmp.c (check1): Renamed to...
40826         (bz12205): ...this.
40827         (bz14195): Add new testcase for two empty input strings and N > 0.
40828         (test_main): Call new testcase, adapt for renamed function.
40830 2012-08-15  Andreas Jaeger  <aj@suse.de>
40832         [BZ #14090]
40833         * crypt/md5test2.c: New test, based on test supplied by Serge
40834         Belyshev <belyshev@depni.sinp.msu.ru>.
40835         * crypt/Makefile (xtests): Add md5test-giant..
40836         * crypt/Makefile ($(objpfx)md5test-giant): Add.
40838 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
40840         [BZ #14090]
40841         * crypt/md5.c (md5_process_block): Don't assume the buffer
40842         length is less than 2**32.
40843         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40844         length is less than 2**64.
40846 2012-08-15  Roland McGrath  <roland@hack.frob.com>
40848         * string/str-two-way.h: Include <sys/param.h>.
40849         (MAX): Macro removed.
40851         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40852         Move #define and #undef of memmove to just before and after
40853         including <string.h>.
40855         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40856         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40857         and after including <string.h>.  Move declarations of
40858         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40859         to before #include "string/memmove.c".
40861         * include/dirent.h: Declare __getdirentries.
40863         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40864         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40866 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
40868         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40869         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40870         * sysdeps/i386/configure: Regenerated.
40871         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40872         STABS_CURRENT_FILE, and STABS_FUN.
40873         (END): Remove call to STABS_FUN_END.
40874         (STABS_CURRENT_FILE1): Delete.
40875         (STABS_CURRENT_FILE): Likewise.
40876         (STABS_FUN): Likewise.
40877         (STABS_FUN_END): Likewise.
40878         (STABS_FUN2): Likewise.
40879         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40880         * sysdeps/x86_64/configure: Regenerated.
40882 2012-08-14  Roland McGrath  <roland@hack.frob.com>
40884         * elf/dl-open.c: Include <atomic.h>.
40885         * elf/dl-lookup.c: Likewise.
40887 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
40889         * sysdeps/unix/sysv/linux/kernel-features.h
40890         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40891         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40892         unconditionally.
40893         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40894         unconditionally.
40895         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40896         condition on __ASSUME_CLONE_THREAD_FLAGS.
40898 2012-08-14  Andreas Jaeger  <aj@suse.de>
40900         * sysdeps/i386/fpu/libm-test-ulps: Update.
40902 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
40904         * include/atomic.h (atomic_exchange_and_add): Split into ...
40905         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40906         New atomic macros.
40908 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
40910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40912 2012-08-13  Jeff Law <law@redhat.com>
40914         * manual/stdio.texi (snprintf): Clarify handling of the trailing
40915         null byte in the output string.
40917 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
40919         * sysdeps/unix/sysv/linux/kernel-features.h
40920         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40921         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40922         (__ASSUME_ARG_MAX_STACK_BASED): Define.
40923         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40924         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40925         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
40926         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40928 2012-08-09  Jeff Law <law@redhat.com>
40930         [BZ #13939]
40931         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40932         When avoid_arena is set, don't retry in the that arena.  Pick the
40933         next one, whatever it might be.
40934         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40935         (arena_lock): Pass in new parameter to arena_get2.
40936         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40937         arena_get2.
40938         (__libc_malloc): Unify retrying after main arena failure with
40939         __libc_memalign version.
40940         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40942 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
40944         [BZ #14166]
40945         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40946         to __redirect_strstr.
40947         (__strstr_sse42): Use typeof __redirect_strstr.
40948         (__strstr_ia32): Likewise.
40949         (__libc_strstr): New prototype.
40950         (strstr): Renamed to ...
40951         (__libc_strstr): This.
40952         (strstr): New strong alias of __libc_strstr.
40953         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40954         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40955         __redirect_time.
40956         Include <time.h>.
40957         (__libc_time): New prototype.
40958         (time_ifunc): Replace time with __libc_time.
40959         (time): New strong alias and hidden definition of __libc_time.
40960         (__GI_time): Remove strong alias.
40961         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40962         Include <stddef.h>.
40963         (memmove): Redefined to __redirect_memmove.
40964         (__memmove_sse2): Use typeof __redirect_memmove.
40965         (__memmove_ssse3): Likewise.
40966         (__memmove_ssse3_back): Likewise.
40967         (__libc_memmove): New prototype.
40968         (memmove): Renamed to ...
40969         (__libc_memmove): This.
40970         (memmove): New strong alias of __libc_memmove.
40972 2012-08-08  Mark Salter  <msalter@redhat.com>
40974         * elf/elf.h
40975         (R_MN10300_TLS_GD): Define.
40976         (R_MN10300_TLS_LD): Likewise.
40977         (R_MN10300_TLS_LDO): Likewise.
40978         (R_MN10300_TLS_GOTIE): Likewise.
40979         (R_MN10300_TLS_IE): Likewise.
40980         (R_MN10300_TLS_LE): Likewise.
40981         (R_MN10300_TLS_DTPMOD): Likewise.
40982         (R_MN10300_TLS_DTPOFF): Likewise.
40983         (R_MN10300_TLS_TPOFF): Likewise.
40984         (R_MN10300_SYM_DIFF): Likewise.
40985         (R_MN10300_ALIGN): Likewise.
40986         (R_MN10300_NUM): Update.
40988 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
40990         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40991         Remove.
40993 2012-08-08  Roland McGrath  <roland@hack.frob.com>
40995         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40997         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40998         sysdeps/unix -> sysdeps/posix move.
40999         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41001 2012-08-07      Allan McRae     <allan@archlinux.org>
41003         [BZ #14303]
41004         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41005         (SUNOS_CPP): Likewise.
41006         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41007         not found.
41008         (open_input): Call CPP using execvp.
41010 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41012         * sysdeps/unix/sysv/linux/kernel-features.h
41013         (__ASSUME_PROT_GROWSUPDOWN): Remove.
41014         (__ASSUME_NO_CLONE_DETACHED): Likewise.
41015         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41016         (__ASSUME_WAITID_SYSCALL): Likewise.
41017         * sysdeps/unix/sysv/linux/dl-execstack.c
41018         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41019         code unconditional.
41020         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41021         conditional code.
41022         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41023         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41024         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41025         code.
41026         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41027         unconditional.
41028         [__ASSUME_WAITID_SYSCALL]: Likewise.
41029         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41031 2012-08-07  Roland McGrath  <roland@hack.frob.com>
41033         * sysdeps/unix/closedir.c: Renamed to ...
41034         * sysdeps/posix/closedir.c: ... here.
41035         * sysdeps/unix/dirfd.c: Renamed to ...
41036         * sysdeps/posix/dirfd.c: ... here.
41037         * sysdeps/unix/dirstream.h: Renamed to ...
41038         * sysdeps/posix/dirstream.h: ... here.
41039         * sysdeps/unix/fdopendir.c: Renamed to ...
41040         * sysdeps/posix/fdopendir.c: ... here.
41041         * sysdeps/unix/opendir.c: Renamed to ...
41042         * sysdeps/posix/opendir.c: ... here.
41043         * sysdeps/unix/readdir.c: Renamed to ...
41044         * sysdeps/posix/readdir.c: ... here.
41045         * sysdeps/unix/readdir_r.c: Renamed to ...
41046         * sysdeps/posix/readdir_r.c: ... here.
41047         * sysdeps/unix/rewinddir.c: Renamed to ...
41048         * sysdeps/posix/rewinddir.c: ... here.
41049         * sysdeps/unix/seekdir.c: Renamed to ...
41050         * sysdeps/posix/seekdir.c: ... here.
41051         * sysdeps/unix/telldir.c: Renamed to ...
41052         * sysdeps/posix/telldir.c: ... here.
41053         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41054         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41055         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41056         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41058         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41059         * bits/fcntl.h: ... here.
41061         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41062         not 0.
41063         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41064         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41065         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41066         (struct flock): Move l_start, l_len to the beginning.
41067         Use __pid_t for l_pid.
41068         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41069         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41070         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41071         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41072         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41073         [__USE_LARGEFILE64] (struct flock64): New type.
41074         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41076         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41077         * bits/dirent.h: ... here.
41079         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41080         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41082 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41084         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41085         Change from 2.6.0 to 2.6.16.
41086         * sysdeps/unix/sysv/linux/configure: Regenerated.
41087         * sysdeps/unix/sysv/linux/kernel-features.h
41088         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41089         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41090         version.
41091         (__ASSUME_UTIMES): Likewise.
41092         (__ASSUME_CLONE_STOPPED): Remove.
41093         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41094         architectures, not kernel version.
41095         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41096         (__ASSUME_NO_CLONE_DETACHED): Likewise.
41097         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41098         (__ASSUME_WAITID_SYSCALL): Likewise.
41099         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41100         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41101         * README: State 2.6.16 as minimum Linux kernel version.  Do not
41102         refer to older versions.
41104 2012-08-06  Roland McGrath  <roland@hack.frob.com>
41106         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41107         Define alphasort64 as an alias.
41108         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41109         Define versionsort64 as an alias.
41110         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41111         Define scandir64 as an alias.
41112         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41113         Define scandirat64 as an alias.
41114         * dirent/alphasort64.c (alphasort64):
41115         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41116         * dirent/versionsort64.c: Likewise.
41117         * dirent/scandir64.c: Likewise.
41118         * dirent/scandirat64.c: Likewise.
41119         * sysdeps/wordsize-64/alphasort.c: File removed.
41120         * sysdeps/wordsize-64/alphasort64.c: File removed.
41121         * sysdeps/wordsize-64/scandir.c: File removed.
41122         * sysdeps/wordsize-64/scandir64.c: File removed.
41123         * sysdeps/wordsize-64/scandirat.c: File removed.
41124         * sysdeps/wordsize-64/scandirat64.c: File removed.
41125         * sysdeps/wordsize-64/versionsort.c: File removed.
41126         * sysdeps/wordsize-64/versionsort64.c: File removed.
41127         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
41128         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
41129         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
41130         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
41131         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
41132         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
41133         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
41134         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
41136         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
41137         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41138         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
41139         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41140         [defined __arch64__ || defined __sparcv9]
41141         (__INO_T_MATCHES_INO64_T): New macro.
41142         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41143         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
41144         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
41145         * sysdeps/unix/sysv/linux/bits/dirent.h
41146         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
41147         (_DIRENT_MATCHES_DIRENT64): New macro.
41149         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
41150         Define lockf64 as an alias.
41151         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
41152         Define fseeko64 as an alias.
41153         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41154         Define ftello64 as an alias.
41155         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41156         Define _IO_fgetpos64 and fgetpos64 as aliases.
41157         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41158         Define _IO_fsetpos64 and fsetpos64 as aliases.
41159         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41160         Conditionalize body on this.
41161         * libio/fseeko64.c: Likewise.
41162         * libio/ftello64.c: Likewise.
41163         * libio/iofgetpos64.c: Likewise.
41164         * libio/iofsetpos64.c: Likewise.
41165         * sysdeps/wordsize-64/lockf.c: File removed.
41166         * sysdeps/wordsize-64/lockf64.c: File removed.
41167         * sysdeps/wordsize-64/fseeko.c: File removed.
41168         * sysdeps/wordsize-64/fseeko64.c: File removed.
41169         * sysdeps/wordsize-64/ftello.c: File removed.
41170         * sysdeps/wordsize-64/ftello64.c: File removed.
41171         * sysdeps/wordsize-64/iofgetpos.c: File removed.
41172         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41173         * sysdeps/wordsize-64/iofsetpos.c: File removed.
41174         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41175         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41176         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41177         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41178         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41179         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41180         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41181         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41182         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41183         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41184         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41186         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41187         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41188         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41189         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41190         [defined __arch64__ || defined __sparcv9]
41191         (__OFF_T_MATCHES_OFF64_T): New macro.
41192         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41193         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41194         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41195         (__OFF_T_MATCHES_OFF64_T): New macro.
41197 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41199         * stdlib/secure-getenv.c (__secure_getenv): Replace
41200         GLIBC_2_16 with GLIBC_2_17.
41202 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41204         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41205         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41207 2012-08-03  David S. Miller  <davem@davemloft.net>
41209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41211 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41213         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41214         Remove.
41215         (__ASSUME_CORRECT_SI_PID): Likewise.
41216         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41217         (__ASSUME_TMPFS_NAME): Likewise.
41218         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41219         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41220         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41221         (HAVE_AUX_SECURE): Make definition unconditional.
41222         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41223         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41225 2012-08-03  Roland McGrath  <roland@hack.frob.com>
41227         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41228         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41229         * sysdeps/mach/hurd/eloop-threshold.h: New file.
41230         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41231         __eloop_threshold instead of SYMLOOP_MAX.
41233         * sysdeps/generic/eloop-threshold.h: New file.
41234         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41235         of MAXSYMLINKS.
41236         * elf/chroot_canon.c (chroot_canon): Likewise.
41238 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41240         [BZ #13717]
41241         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41242         Change to 2.6.0 everywhere.
41243         * sysdeps/unix/sysv/linux/configure: Regenerated.
41244         * sysdeps/unix/sysv/linux/kernel-features.h
41245         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41246         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41247         kernel versions.
41248         (__ASSUME_POSIX_TIMERS): Define unconditionally.
41249         (__ASSUME_FUTEX_REQUEUE): Remove.
41250         (__ASSUME_STATFS64): Define unconditionally.
41251         (__ASSUME_AT_SECURE): Likewise.
41252         (__ASSUME_CORRECT_SI_PID): Likewise.
41253         (__ASSUME_TGKILL): Define without depending on kernel version for
41254         i386.
41255         (__ASSUME_UTIMES): Likewise.
41256         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41257         kernel version.
41258         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41259         (__ASSUME_TMPFS_NAME): Likewise.
41260         * README: Update reference to Linux kernel versions.
41262 2012-08-02  Marek Polacek  <polacek@redhat.com>
41264         [BZ# 14150]
41265         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
41266         libc_cv_asm_type_prefix with %.
41267         * configure: Regenerated.
41268         * include/libc-symbols.h: Remove comment about
41269         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41270         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41271         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41272         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41273         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41274         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41275         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41276         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41277         * elf/tst-unique2mod1.c: Likewise.
41278         * elf/tst-unique1mod2.c: Likewise.
41279         * elf/tst-unique1mod1.c: Likewise.
41280         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41281         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41282         Replace ASM_TYPE_DIRECTIVE with .type.
41283         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41284         * sysdeps/i386/sysdep.h: Likewise.
41285         * sysdeps/x86_64/sysdep.h: Likewise.
41286         * sysdeps/sh/sysdep.h: Likewise.
41287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41288         Do not define ASM_TYPE_DIRECTIVE.
41289         * sysdeps/powerpc/sysdep.h: Likewise.
41290         * sysdeps/powerpc/powerpc32/sysdep.h:
41291         Replace ASM_TYPE_DIRECTIVE with .type.
41292         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41293         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41294         * sysdeps/i386/fpu/e_powf.S: Likewise.
41295         * sysdeps/i386/fpu/e_expl.S: Likewise.
41296         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41297         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41298         * sysdeps/i386/fpu/e_pow.S: Likewise.
41299         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41300         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41301         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41302         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41303         * sysdeps/i386/fpu/e_log2.S: Likewise.
41304         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41305         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41306         * sysdeps/i386/fpu/e_powl.S: Likewise.
41307         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41308         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41309         * sysdeps/i386/fpu/e_logl.S: Likewise.
41310         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41311         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41312         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41313         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41314         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41315         * sysdeps/i386/fpu/e_log.S: Likewise.
41316         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41317         * sysdeps/i386/fpu/e_logf.S: Likewise.
41318         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41319         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41320         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41321         * sysdeps/i386/fpu/e_log10.S: Likewise.
41322         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41323         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41324         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41325         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41326         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41327         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41328         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41329         * sysdeps/i386/i686/strtok.S: Likewise.
41330         * sysdeps/i386/i386-mcount.S: Likewise.
41331         * sysdeps/i386/strtok.S: Likewise.
41332         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
41333         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41334         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41335         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41336         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41337         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41338         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41339         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41340         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41341         * sysdeps/x86_64/_mcount.S: Likewise.
41342         * sysdeps/x86_64/strtok.S: Likewise.
41343         * sysdeps/sh/_mcount.S: Likewise.
41345 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41347         * libio/iofopen.c: Include <fcntl.h>.
41348         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41349         (_IO_fopen64, fopen64): Define as aliases.
41350         * libio/iofopen64.c: Include <fcntl.h>.
41351         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41352         Conditionalize body on this.
41353         * sysdeps/wordsize-64/iofopen.c: File removed.
41354         * sysdeps/wordsize-64/iofopen64.c: File removed.
41356 2012-08-01  Marek Polacek  <polacek@redhat.com>
41358         * libc/Makeconfig: Use elf in place of binfmt-subdir.
41359         Use dlfcn directly instead of a variable.
41360         (binfmt-subdir): Do not define.
41361         (dlfcn): Likewise.
41363 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
41365         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41366         Remove all definitions.
41367         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41368         <kernel-features.h>.
41369         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41370         (miss_F_GETOWN_EX): Remove all definitions.
41371         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41372         macro definition.
41373         [!__ASSUME_FCNTL64]: Remove conditional code.
41374         [__ASSUME_FCNTL64]: Make code unconditional.
41375         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41376         <kernel-features.h>.
41377         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41378         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41379         (lockf64) [__NR_fcntl64]: Make code unconditional.
41380         (lockf64) [__ASSUME_FCNTL64]: Likewise.
41382         * sysdeps/unix/sysv/linux/kernel-features.h
41383         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41384         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41385         Make code unconditional.
41386         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41387         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41389         [__NR_vfork]: Make code unconditional.
41390         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41391         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41393         [__NR_vfork]: Make code unconditional.
41394         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41395         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41397 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41399         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41400         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41402         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41403         Define mkstemp64 as an alias.
41404         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41405         Define mkstemps64 as an alias.
41406         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41407         Define mkostemp64 as an alias.
41408         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41409         Define mkostemps64 as an alias.
41410         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41411         Conditionalize body on this.
41412         * misc/mkostemp64.c: Likewise.
41413         * misc/mkostemps64.c: Likewise.
41414         * misc/mkstemps64.c: Likewise.
41415         * sysdeps/wordsize-64/mkstemp64.c: File removed.
41416         * sysdeps/wordsize-64/mkostemp64.c: File removed.
41417         * sysdeps/wordsize-64/mkostemp.c: File removed.
41418         * sysdeps/wordsize-64/mkstemp.c: File removed.
41419         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41420         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41421         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41422         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41424         [BZ #14138]
41425         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41426         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41427         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41428         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41430         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41431         compat_symbol macros from <shlib-compat.h> rather than the underlying
41432         default_symbol_version and symbol_version macros, so that DEFAULT
41433         lines in shlib-versions are respected.
41434         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41436 2012-08-01  Florian Weimer  <fweimer@redhat.com>
41438         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41439         Declare with warn_unused_result.
41440         (setgid, setregid, setegid, setresgid): Likewise.
41441         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41442         Likewise.
41443         * WUR-REPORT: Remove set*id functions.
41445 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
41447         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41449 2012-07-31  Roland McGrath  <roland@hack.frob.com>
41451         [BZ #10191]
41452         * include/sys/socket.h (__libc_accept, __libc_accept4):
41453         Add attribute_hidden.
41454         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41456         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41457         use of PTR_MANGLE.
41458         * inet/getnetgrent_r.c (setup): Likewise.
41460         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41462 2012-07-31  David S. Miller  <davem@davemloft.net>
41464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41466 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
41468         [BZ #13629]
41469         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41470         value between 1.0 and 2.0 and smaller part has absolute value less
41471         than 1.0.
41472         * math/s_clog10.c (__clog10): Likewise.
41473         * math/s_clog10f.c (__clog10f): Likewise.
41474         * math/s_clog10l.c (__clog10l): Likewise.
41475         * math/s_clogf.c (__clogf): Likewise.
41476         * math/s_clogl.c (__clogl): Likewise.
41477         * math/libm-test.inc (clog_test): Add more tests.
41478         (clog10_test): Likewise.
41479         * sysdeps/i386/fpu/libm-test-ulps: Update.
41480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41482 2012-07-31  Florian Weimer  <fweimer@redhat.com>
41484         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41485         Exit with zero in case no suitable GID is found, and write a
41486         message to standard error.
41488 2012-07-30  Roland McGrath  <roland@hack.frob.com>
41490         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41491         rather than to 1.
41492         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41493         (MAXPATHLEN): Removed.
41494         (NOGROUP, NODEV): New macros.
41495         (setbit, clrbit, isset, isclr): New macros.
41496         (howmany, roundup, powerof2): New macros.
41497         (DEV_BSIZE): New macro.
41499         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41500         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41502         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41503         definition on [!__NO_LONG_DOUBLE_MATH].
41505         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41506         PTR_MANGLE and PTR_DEMANGLE.
41508         * socket/accept4.c (accept4): Rename to __libc_accept4.
41509         Define accept4 as a weak alias.
41511         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41512         on [_DIRENT_HAVE_D_TYPE].
41513         * io/ftw.c (ftw_dir): Likewise.
41515         * io/xmknod.c (__xmknod): Don't check PATH for being null.
41517         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
41519         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
41520         Use the BSD numbers rather than the arbitrary ones we had.
41521         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
41522         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
41523         (SIGXCPU, SIGXFSZ): New macros.
41524         (_NSIG): Now 32.
41526         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
41527         initializer on [_LIBC_REENTRANT].
41529         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
41530         definitions inside [_POSIX_MAPPED_FILES].
41532         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
41534         * dirent/opendir.c: Include <fcntl.h>.
41536         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
41537         (__libc_getspecific): Likewise.
41538         (__libc_key_create): Likewise.
41540         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
41541         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
41542         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
41543         (tmpfile64): Define as alias.
41544         * sysdeps/wordsize-64/tmpfile.c: File removed.
41545         * sysdeps/wordsize-64/tmpfile64.c: File removed.
41546         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
41547         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
41549         * stdio-common/vfscanf.c: Include <stdbool.h>.
41550         * nss/makedb.c: Likewise.
41551         * stdio-common/_i18n_number.h: Likewise.
41552         * argp/argp-help.c: Likewise.
41553         * posix/wordexp.c: Likewise.
41554         * sysdeps/posix/spawni.c: Likewise.
41555         * nss/nss_files/files-initgroups.c: Likewise.
41556         * stdio-common/reg-modifier.c: Include <stdlib.h>.
41557         * nss/nss_files/files-initgroups.c: Likewise.
41558         * nss/nss_db/db-netgrp.c: Likewise.
41559         * nss/nss_db/db-initgroups.c: Likewise.
41560         * io/fchmodat.c: Include <sys/stat.h>.
41562         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
41563         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
41565         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
41566         [HAVE_MMAP].
41568         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
41569         Add multiple inclusion protection.
41571 2012-07-27  David S. Miller  <davem@davemloft.net>
41573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41575 2012-07-27  Gary Benson  <gbenson@redhat.com>
41577         [BZ #14298]
41578         * elf/rtld.c: Include <stap-probe.h>.
41579         (dl_main): Added static probes "init_start" and "init_complete".
41580         * elf/dl-load.c: Include <stap-probe.h>.
41581         (lose): Take new parameter "nsid".
41582         Added static probe "map_failed".
41583         (_dl_map_object_from_fd): Pass namespace id to lose.
41584         Added static probe "map_start".
41585         (open_verify): Pass namespace id to lose.
41586         * elf/dl-open.c: Include <stap-probe.h>.
41587         (dl_open_worker) Added static probes "map_complete", "reloc_start"
41588         and "reloc_complete".
41589         * elf/dl-close.c: Include <stap-probe.h>.
41590         (_dl_close_worker): Added static probes "unmap_start" and
41591         "unmap_complete".
41592         * elf/rtld-debugger-interface.txt: New file documenting the above.
41594 2012-07-26  Roland McGrath  <roland@hack.frob.com>
41596         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
41597         rather than a string variable.
41598         * sunrpc/rpc_main.c (h_output): Likewise.
41599         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
41601 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
41603         * inet/check_native.c: New file.
41605 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
41607         [BZ #13629]
41608         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41609         if larger part has absolute value 1.0.
41610         * math/s_clog10.c (__clog10): Likewise.
41611         * math/s_clog10f.c (__clog10f): Likewise.
41612         * math/s_clog10l.c (__clog10l): Likewise.
41613         * math/s_clogf.c (__clogf): Likewise.
41614         * math/s_clogl.c (__clogl): Likewise.
41615         * math/libm-test.inc (clog_test): Add more tests.
41616         (clog10_test): Likewise.
41617         * sysdeps/i386/fpu/libm-test-ulps: Update.
41618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41620         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41621         (pltexit): Likewise.
41622         (La_regs): Likewise.
41623         (La_retval): Likewise.
41624         (int_retval): Likewise.
41625         Update #error for removed macros to refer only to definitions in
41626         tst-audit.h.
41627         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41628         macro.
41629         (pltexit): Likewise.
41630         (La_regs): Likewise.
41631         (La_retval): Likewise.
41632         (int_retval): Likewise.
41633         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41634         macro.
41635         (pltexit): Likewise.
41636         (La_regs): Likewise.
41637         (La_retval): Likewise.
41638         (int_retval): Likewise.
41639         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41640         macro.
41641         (pltexit): Likewise.
41642         (La_regs): Likewise.
41643         (La_retval): Likewise.
41644         (int_retval): Likewise.
41645         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41646         macro.
41647         (pltexit): Likewise.
41648         (La_regs): Likewise.
41649         (La_retval): Likewise.
41650         (int_retval): Likewise.
41651         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41652         macro.
41653         (pltexit): Likewise.
41654         (La_regs): Likewise.
41655         (La_retval): Likewise.
41656         (int_retval): Likewise.
41657         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41658         macro.
41659         (pltexit): Likewise.
41660         (La_regs): Likewise.
41661         (La_retval): Likewise.
41662         (int_retval): Likewise.
41663         * sysdeps/generic/tst-audit.h: Update comment to refer only to
41664         macro definitions in tst-audit.h.
41665         * sysdeps/i386/tst-audit.h: New file.
41666         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41667         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41668         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41669         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41670         * sysdeps/sh/tst-audit.h: Likewise.
41671         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41672         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41673         * sysdeps/x86_64/tst-audit.h: Likewise.
41675 2012-07-26  Andreas Jaeger  <aj@suse.de>
41677         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41678         ptrace.
41680         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41681         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41682         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41683         PTRACE_O_MASK.
41684         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41685         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41686         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41688         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41689         value.
41691         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41692         _sigsys.
41693         (si_call_addr, si_syscall, si_arch): Define new macro.
41694         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41695         _sigsys.
41696         (si_call_addr, si_syscall, si_arch): Define new marcro.
41697         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41698         _sigsys.
41699         (si_call_addr, si_syscall, si_arch): Define new macro.
41700         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41701         _sigsys.
41702         (si_call_addr, si_syscall, si_arch): Define new macro.
41704 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
41706         [BZ #13717]
41707         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41708         Change to 2.4.21 where previously 2.4.1.
41709         * sysdeps/unix/sysv/linux/configure: Regenerated.
41710         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41711         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41712         Linux kernel version.
41713         (__ASSUME_STD_AUXV): Remove.
41714         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41715         kernel version.
41716         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41717         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41718         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41719         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41720         (__ASSUME_NETLINK_SUPPORT): Likewise.
41721         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41722         (__no_netlink_support): Remove conditional definition.
41723         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41724         Remove.
41725         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41726         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41727         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41728         (if_nameindex_ioctl): Remove.
41729         (if_nameindex_netlink): Do not handle __no_netlink_support.
41730         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41731         code.
41732         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41733         Remove conditional code.
41734         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41735         code.
41736         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41737         unconditional.
41738         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41739         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41740         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41741         Remove.
41742         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41743         [!__ASSUME_STD_AUXV]: Remove conditional code.
41744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41745         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41746         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41748         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41749         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41750         code.
41751         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41753         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41754         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41755         conditional code.
41756         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41758         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41759         code.
41760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41761         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41762         conditional code.
41763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41764         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41765         code unconditional.
41766         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41767         conditional code.
41768         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41769         unconditional.
41770         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41771         conditional code.
41772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41773         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41774         unconditional.
41775         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41776         conditional code.
41777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41778         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41779         code unconditional.
41780         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41781         conditional code.
41782         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41783         unconditional.
41784         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41785         conditional code.
41786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41787         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41788         code unconditional.
41789         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41790         conditional code.
41791         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41792         unconditional.
41793         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41794         conditional code.
41796 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
41798         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41799         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41800         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41801         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41802         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41803         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41804         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41805         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41806         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41807         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41808         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41809         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41810         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41811         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41812         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41813         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41814         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41815         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41816         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41817         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41818         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41819         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41820         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41822 2012-07-25  Florian Weimer  <fweimer@redhat.com>
41824         * Versions.def: Add GLIBC_2.17.
41825         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41826         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41827         Introduce __libc_secure_getenv.
41828         * stdlib/Versions (2.17): Add secure_getenv
41829         (GLIBC_PRIVATE): Add __libc_secure_getenv.
41830         * stdlib/secure-getenv.c: Rename __secure_getenv to
41831         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
41832         symbol __secure_getenv for GLIBC_2.0.
41833         * stdlib/tst-secure-getenv.c: New.
41834         * stdlib/Makefile (tests): Add testcase.
41835         * manual/startup.texi (Environment Access): Document
41836         secure_getenv.
41837         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41838         __libc_secure_getenv.
41839         * inet/ruserpass.c (ruserpass): Likewise.
41840         * malloc/mtrace.c (mtrace): Likewise.
41841         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41842         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41843         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41844         * sysdeps/posix/tempname.c: Likewise.  Evaluate
41845         HAVE_SECURE_GETENV.
41846         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41847         __secure_getenv to __libc_secure_getenv.
41848         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41850         Likewise.
41851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41852         Likewise.
41853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41855         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41861 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
41863         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41864         (struct La_i86_retval): Likewise.
41865         (struct La_x86_64_regs): Likewise.
41866         (struct La_x86_64_retval): Likewise.
41867         (struct La_x32_regs): Likewise.
41868         (struct La_x32_retval): Likewise.
41869         (struct La_ppc32_regs): Likewise.
41870         (struct La_ppc32_retval): Likewise.
41871         (struct La_ppc64_regs): Likewise.
41872         (struct La_ppc64_retval): Likewise.
41873         (struct La_sh_regs): Likewise.
41874         (struct La_sh_retval): Likewise.
41875         (struct La_s390_32_regs): Likewise.
41876         (struct La_s390_32_retval): Likewise.
41877         (struct La_s390_64_regs): Likewise.
41878         (struct La_s390_64_retval): Likewise.
41879         (struct La_sparc32_regs): Likewise.
41880         (struct La_sparc32_retval): Likewise.
41881         (struct La_sparc64_regs): Likewise.
41882         (struct La_sparc64_retval): Likewise.
41883         (struct audit_ifaces): Remove architecture-specific pltenter and
41884         pltexit members.
41885         * sysdeps/i386/ldsodefs.h: New file.
41886         * sysdeps/powerpc/ldsodefs.h: Likewise.
41887         * sysdeps/s390/ldsodefs.h: Likewise.
41888         * sysdeps/sh/ldsodefs.h: Likewise.
41889         * sysdeps/sparc/ldsodefs.h: Likewise.
41890         * sysdeps/x86_64/ldsodefs.h: Likewise.
41892 2012-07-25  Marek Polacek  <polacek@redhat.com>
41894         [BZ #6808]
41895         * math/libm-test.inc (yn_test): Add another test.
41896         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41897         to ERANGE when the result is +-Inf.
41898         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41899         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41900         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41901         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41903 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
41905         * conform/data/time.h-data (NULL): Use macro-constant.  Require
41906         equal to 0.
41907         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
41908         clock_t.
41909         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
41911 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
41913         * configure.in <sysdeps resolving>: Correct printing
41914         Implies_before.
41915         * configure: Regenerate.
41917 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
41919         * math/w_ilogb.c: Include <limits.h>.
41920         * math/w_ilogbl.c: Likewise.
41922 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41924         * manual/lang.texi (__va_copy): Document primarily as ISO C99
41925         va_copy.  Document allowing for unavailable va_copy only as
41926         pre-C99 compatibility.
41927         * manual/string.texi (Copying and Concatenation): Use va_copy
41928         instead of __va_copy in concat example.
41930 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
41932         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41933         (__sendto): Use create_address_port.  Initialize APORT and deallocate
41934         it if not null.
41936         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41937         with O_NOLINK passed to __file_name_lookup.
41939         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41940         with O_NOLINK passed to __file_name_lookup.
41942         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41943         negative N or less than NGIDS.
41945         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41946         type to string_t.  Set ERANGE as errno and return it if NAME is not big
41947         enough.  Use memcpy instead of strncpy.
41949 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41951         * elf/Makefile (check-data): Remove.
41952         (localplt.data): New vpath directive.
41953         ($(objpfx)check-localplt.out): Use localplt.data from vpath
41954         instead of $(check-data).
41955         * scripts/data/localplt-generic.data: Move to ...
41956         * sysdeps/generic/localplt.data: ... here.
41957         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41958         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41959         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41961         ... here.
41962         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41964         ... here.
41965         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41967         ... here.
41968         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41970         ... here.
41971         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41973         ... here.
41974         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41976         ... here.
41978 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41980         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41981         PPC32 and PPC64 files.
41982         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41983         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41985 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41987         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41988         __makecontext_ret to ...
41989         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41990         ... here and call exit if uc_link is NULL.  New file.
41991         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41992         __makecontext_ret.S.
41993         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41994         __makecontext_ret to ...
41995         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41996         ... here and call exit if uc_link is NULL.  New file.
41997         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41998         __makecontext_ret.S.
42000 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42002         * elf/elf.h (R_390_IRELATIVE): New definition.
42003         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42004         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
42005         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42006         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42007         (elf_machine_lazy_rel): Likewise.
42008         * sysdeps/s390/dl-irel.h: New file.
42009         * sysdeps/s390/s390-64/memcpy.S: New asm code.
42010         * sysdeps/s390/s390-64/memset.S: New asm code.
42011         * sysdeps/s390/s390-64/memcmp.S: New asm code.
42012         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42013         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42014         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42015         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42016         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42017         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42018         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42019         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42020         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42021         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42022         * sysdeps/s390/s390-32/memcpy.S: New asm code.
42023         * sysdeps/s390/s390-32/memset.S: New asm code.
42024         * sysdeps/s390/s390-32/memcmp.S: New asm code.
42026 2012-07-17  Marek Polacek  <polacek@redhat.com>
42028         [BZ #14349]
42029         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42030         * sysdeps/s390/s390-64/configure.in: Likewise.
42031         * sysdeps/sparc/configure.in: Likewise.
42032         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42033         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42034         * sysdeps/i386/configure.in: Likewise.
42035         * sysdeps/x86_64/configure.in: Likewise.
42036         * sysdeps/sh/configure.in: Likewise.
42037         * sysdeps/s390/s390-32/configure: Regenerated.
42038         * sysdeps/s390/s390-64/configure: Likewise.
42039         * sysdeps/x86_64/configure: Likewise.
42040         * sysdeps/sh/configure: Likewise.
42041         * sysdeps/powerpc/powerpc64/configure: Likewise.
42042         * sysdeps/powerpc/powerpc32/configure: Likewise.
42043         * sysdeps/sparc/configure: Likwise.
42044         * sysdeps/i386/configure: Likewise.
42046         * elf/dl-open.c: Comment fixes.
42048 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
42050         * Makefile [CXX] (check-data): Remove.
42051         [CXX] (c++-types.data): New vpath directive.
42052         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42053         vpath.  Do not allow for C++ type data being missing.
42054         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42055         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42056         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42057         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42058         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42059         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42060         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42062         ... here.
42063         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42065         ... here.
42066         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42068         ... here.
42069         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42071         ... here.
42072         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42074         ... here.
42075         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42077         ... here.
42078         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42080         ... here.
42081         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42084         * elf/tls-macros.h (TLS_LE): Move architecture-specific
42085         definitions to architecture-specific files.
42086         (TLS_IE): Likewise.
42087         (TLS_LD): Likewise.
42088         (TLS_GD): Likewise.
42089         * sysdeps/i386/tls-macros.h: New file.
42090         * sysdeps/powerpc/tls-macros.h: Likewise.
42091         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42092         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42093         * sysdeps/sh/tls-macros.h: Likewise.
42094         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42095         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42096         * sysdeps/x86_64/tls-macros.h: Likewise.
42098 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
42100         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42101         zero value for regular exit case.
42103         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42104         (__start_context): Preserve zero value for regular exit case.
42106 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
42107             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42109         * manual/setjmp.texi (setcontext): Clarify normal process
42110         termination when uc_link is the null pointer.
42111         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42112         exit call.
42114 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
42116         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42117         preprocessor.  Test for each exception mask separately.
42119 2012-07-16  Andreas Jaeger  <aj@suse.de>
42121         * po/ru.po: Update from translation team.
42123 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
42125         * conform/data/string.h-data (NULL): Use macro-constant.  Require
42126         equal to 0.
42127         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42128         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42129         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
42130         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
42131         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42133 2012-07-13  Andreas Jaeger  <aj@suse.de>
42135         * po/fr.po: Update from translation team.
42137 2012-07-12  Marek Polacek  <polacek@redhat.com>
42139         [BZ #14173]
42140         * math/libm-test.inc (yn_test): Add test for BZ #14173.
42141         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
42142         loop condition.
42144 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
42146         [BZ #13717]
42147         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42148         Change to 2.4.1 where previously 2.4.0.
42149         * sysdeps/unix/sysv/linux/configure: Regenerated.
42150         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
42151         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
42152         version.
42153         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42154         (__ASSUME_AT_CLKTCK): Remove.
42155         (__ASSUME_AT_PAGESIZE): Likewise.
42156         (__ASSUME_AT_XID): Likewise.
42157         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42158         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42159         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42160         unconditionally.
42161         (HAVE_AUX_PAGESIZE): Likewise.
42162         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42163         [__ASSUME_AT_CLKTCK]: Make code unconditional.
42164         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42166 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
42168         [BZ #14307]
42169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42170         the temporary buffer used to invoke __gethostbyname2_r,
42171         __gethostbyaddr_r and gethostbyname4_r to make room for struct
42172         host_data / struct gaih_addrtuple.
42173         * resolv/nss_dns/dns-host.c (global scope): Move definition of
42174         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42175         header file nss/nsswitch.h.
42176         * nss/nsswitch.h (global scope): Add definition of implementation
42177         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42178         resolv/nss_dns/dns-host.c).
42180 2012-07-11  Andreas Jaeger  <aj@suse.de>
42182         * po/fr.po: Update from translation team.
42184         * po/sv.po: Update from translation team
42185         * po/fr.po: Another update from translation team.
42187 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42189         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42190         for subnormals or multiply small sinh result by itself.
42191         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42192         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42194 2012-07-11  David S. Miller  <davem@davemloft.net>
42196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42198 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
42200         [BZ #14347]
42201         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42202         (INTERNAL_MARK): Shift it here.
42204 2012-07-10  Marek Polacek  <polacek@redhat.com>
42206         [BZ #14151]
42207         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
42208         libc_cv_asm_global_directive with .globl.
42209         * configure: Regenerated.
42210         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42211         with .globl.
42212         * sysdeps/i386/configure: Regenerated.
42213         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42214         with .globl.
42215         * sysdeps/x86_64/configure: Regenerated.
42216         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42217         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42218         * elf/tst-unique2mod2.c: Likewise.
42219         * elf/tst-unique2mod1.c: Likewise.
42220         * elf/tst-unique1mod2.c: Likewise.
42221         * elf/tst-unique1mod1.c: Likewise.
42222         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42223         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42224         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42225         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42226         * sysdeps/mach/sysdep.h: Likewise.
42227         * sysdeps/i386/sysdep.h: Likewise.
42228         * sysdeps/i386/i386-mcount.S: Likewise.
42229         * sysdeps/x86_64/_mcount.S: Likewise.
42230         * sysdeps/x86_64/sysdep.h: Likewise.
42231         * sysdeps/sh/_mcount.S: Likewise.
42232         * sysdeps/sh/sysdep.h: Likewise.
42233         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42234         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42235         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42236         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42237         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42238         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42239         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42240         * locale/localeinfo.h: Likewise.
42241         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42242         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42244 2012-07-09  Roland McGrath  <roland@hack.frob.com>
42246         [BZ #14336]
42247         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42248         system".
42249         * manual/message.texi (The Uniforum approach): Likewise.
42250         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42251         (glibc iconv Implementation): Likewise.
42253 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
42255         [BZ #14337]
42256         * math/s_clog.c (__clog): Avoid scaling a value down where that
42257         could result in underflow.
42258         * math/s_clog10.c (__clog10): Likewise.
42259         * math/s_clog10f.c (__clog10f): Likewise.
42260         * math/s_clog10l.c (__clog10l): Likewise.
42261         * math/s_clogf.c (__clogf): Likewise.
42262         * math/s_clogl.c (__clogl): Likewise.
42263         * math/libm-test.inc (clog_test): Add more tests.
42264         (clog10_test): Likewise.
42265         * sysdeps/i386/fpu/libm-test-ulps: Update.
42266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42268 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
42270         [BZ #14283]
42271         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42272         by 7 not 8 to examine high bit of fractional part.
42274         [BZ #14042]
42275         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42276         for call to __mcount_internal.
42277         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42278         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42279         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42281 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
42283         [BZ #14154]
42284         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42285         approximation for values within 0x1p-13f of an odd multiple of
42286         pi/4.
42287         * math/libm-test.inc (tan_test): Do not allow spurious underflow
42288         exception.  Add more tests.
42289         * sysdeps/i386/fpu/libm-test-ulps: Update.
42291         [BZ #6778]
42292         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42293         inputs and return -1 for them.  Do not check for +Inf in case not
42294         reachable for +Inf.
42295         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42296         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42297         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42298         and return -1 for them.  Do not check for +Inf in case not
42299         reachable for +Inf.
42300         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42301         define.
42302         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42303         and return -1 for them.  Do not check for +Inf in case not
42304         reachable for +Inf.
42305         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
42306         spurious underflow.
42307         * sysdeps/i386/fpu/libm-test-ulps: Update.
42308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42310 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
42312         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42314 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
42316         [BZ #14157]
42317         [BZ #14331]
42318         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42319         could result in spurious underflow.  Scale down values above
42320         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42321         * math/s_csqrtf.c (__csqrtf): Likewise.
42322         * math/s_csqrtl.c (__csqrtl): Likewise.
42323         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
42324         spurious underflow.
42325         * sysdeps/i386/fpu/libm-test-ulps: Update.
42326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42328 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
42330         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
42331         xopen-msg.sed.
42332         * catgets/xopen-msg.awk: New file.
42333         * catgets/xopen-msg.sed: Removed.
42335         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
42336         po2text.sed.
42337         * intl/po2test.awk: New file.
42338         * intl/po2test.sed: Removed.
42340 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
42342         [BZ #14328]
42343         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42344         or multiply small sinh result by itself.
42345         * math/s_ctanf.c (__ctanf): Likewise.
42346         * math/s_ctanh.c (__ctanh): Likewise.
42347         * math/s_ctanhf.c (__ctanhf): Likewise.
42348         * math/s_ctanhl.c (__ctanhl): Likewise.
42349         * math/s_ctanl.c (__ctanl): Likewise.
42350         * math/libm-test.inc (ctan_test_tonearest): New function.
42351         (ctan_test_towardzero): Likewise.
42352         (ctan_test_downward): Likewise.
42353         (ctan_test_upward): Likewise.
42354         (ctanh_test_tonearest): Likewise.
42355         (ctanh_test_towardzero): Likewise.
42356         (ctanh_test_downward): Likewise.
42357         (ctanh_test_upward): Likewise.
42358         (main): Call these new functions.
42359         * sysdeps/i386/fpu/libm-test-ulps: Update.
42360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42362 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
42364         * .gitignore: Delete /ports entry.
42366 2012-07-03  Andreas Jaeger  <aj@suse.de>
42368         * po/bg.po: Update from translation team.
42369         * po/cs.po: Likewise.
42370         * po/de.po: Likewise.
42371         * po/hr.po: Likewise.
42372         * po/nl.pl: Likewise.
42373         * po/pl.po: Likewise.
42374         * po/vi.po: Likewise.
42376 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
42378         * Makeconfig [!+link] (+link-before-libc): New variable.
42379         [!+link] (+link-after-libc): Likewise.
42380         [!+link] (+link-tests): Likewise.
42381         [!+link] (+link): Define in terms of $(+link-before-libc) and
42382         $(+link-after-libc).
42383         [!+link-static] (+link-static-before-libc): New variable.
42384         [!+link-static] (+link-static-after-libc): Likewise.
42385         [!+link-static] (+link-static-tests): Likewise.
42386         [!+link-static] (+link-static): Define in terms of
42387         $(+link-static-before-libc) and $(+link-static-after-libc).
42388         [build-shared] (link-libc-before-gnulib): New variable.
42389         [build-shared] (link-libc-tests): Likewise.
42390         [build-shared] (link-libc): Define in terms of
42391         $(link-libc-before-gnulib).
42392         [!build-shared] (link-libc-tests): New variable.
42393         (link-libc-static-tests): New variable.
42394         [!gnulib] (gnulib-arch): New variable.
42395         [!gnulib] (gnulib-tests): Likewise.
42396         [!gnulib] (static-gnulib-arch): Likewise.
42397         [!gnulib] (static-gnulib-tests): Likewise.
42398         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
42399         Define with "=" instead of ":=".
42400         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
42401         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
42402         * Rules (binaries-all-notests): New variable.
42403         (binaries-all-tests): Likewise.
42404         (binaries-static-notests): Likewise.
42405         (binaries-static-tests): Likewise.
42406         (binaries-all): Define using $(binaries-all-notests) and
42407         $(binaries-all-tests).
42408         (binaries-static): Define using $(binaries-static-notests) and
42409         $(binaries-static-tests).
42410         (binaries-shared-tests): New variable.
42411         (binaries-shared-notests): Likewise.
42412         (binaries-shared): Remove variable.
42413         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42414         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42415         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42416         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42417         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42418         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42419         * elf/Makefile (sln-modules): New variable.
42420         (extra-objs): Add $(sln-modules:=.o).
42421         (ldconfig-modules): Add static-stubs.
42422         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42423         * elf/static-stubs.c: New file.
42425         [BZ #14283]
42426         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42427         by 7 not 8 to examine high bit of fractional part.  Use volatile
42428         variables when splitting into final array of floats if
42429         __FLT_EVAL_METHOD__ != 0.
42430         * math/libm-test.inc (cos_test): Add another test.
42431         (sin_test): Likewise.
42432         * sysdeps/i386/fpu/libm-test-ulps: Update.
42434         [BZ #14273]
42435         * math/libm-test.inc (cosh_test): Add more tests.
42437         * version.h (RELEASE): Set to "development".
42438         (VERSION): Set to "2.16.90".
42440 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
42442         * NEWS: Update copyright. Remove last-updated date.
42443         Mention math library bug fixes and timezone data changes.
42444         * README: Mention GNU/Hurd, x32, and HPPA support status.
42446 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
42448         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42450 2012-06-27  Andreas Jaeger  <aj@suse.de>
42452         * manual/contrib.texi (Contributors): Add Samuel Thibault.
42454 2012-06-25  Andreas Jaeger  <aj@suse.de>
42456         * sysdeps/s390/fpu/libm-test-ulps: Update.
42458 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
42459             Thomas Schwinge  <thomas@codesourcery.com>
42461         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42462         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42463         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42464         fanotify_mark.
42466 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
42468         * sysdeps/mach/start.c: Remove file.
42469         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42470         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42471         * sysdeps/sh/init-first.c: Likewise.
42473         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42474         registers for frame unwinding purposes, add CFI directives.
42475         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42476         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42477         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42478         Likewise.
42480         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42481         __fortify_fail returning.
42482         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42484         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42485         sysdeps/sh/____longjmp_chk.S.
42486         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42487         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42488         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42489         (gen-as-const-headers): Append sigaltstack-offsets.sym.
42491         * sysdeps/sh/abort-instr.h: New file.
42492         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42493         process in case exit returns.
42495         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42496         initialize the GOT register before use.
42498         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42499         calculation of ARGC > 4.
42501         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42502         meaningful names to some local labels.
42504 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42505             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42507         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42508         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42509         (__arch_compare_and_exchange_val_16_acq): Likewise.
42510         (__arch_compare_and_exchange_val_32_acq): Likewise.
42511         (atomic_exchange_and_add): Fix gUSA sequence.
42512         (atomic_add): Likewise.
42513         (atomic_add_negative): Likewise.
42514         (atomic_add_zero): Likewise.
42515         (atomic_bit_test_set): Likewise.
42517 2012-06-22  Andreas Schwab  <schwab@redhat.com>
42519         [BZ #13579]
42520         * include/link.h (struct link_map): Add l_free_initfini.
42521         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
42522         l_initfini.
42523         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
42524         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
42525         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
42526         set.
42528 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
42530         * configure.in: Use AC_LANG_SOURCE.
42531         * configure: Regenerate.
42533 2012-06-22  Roland McGrath  <roland@hack.frob.com>
42535         * configure.in (libc_cv_localstatedir): New substituted variable.
42536         * configure: Regenerated.
42537         * config.make.in (localstatedir): New variable, substituted from
42538         libc_cv_localstatedir.
42539         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
42540         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
42541         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
42542         * sysdeps/gnu/configure: Regenerated.
42544 2012-06-21  Jeff Law  <law@redhat.com>
42546         [BZ #14277]
42547         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
42548         free.  Simplify list management for _LIBC case.
42550 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
42552         [BZ #14273]
42553         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
42554         Clear sign bit of 64-bit integer value before comparing against
42555         overflow value.
42557         * sysdeps/mach/configure: Regenerated.
42559 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
42561         [BZ #14278]
42562         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
42564 2012-06-21  Jeff Law  <law@redhat.com>
42566         [BZ #13882]
42567         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
42568         uint16_t for elements in the "seen" array to avoid char overflows.
42569         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42570         * elf/dl-open.c (dl_open_worker): Likewise.
42572 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
42574         * scripts/list-sources.sh: Scan PORTS for translations.
42575         * po/libc.pot: Regenerated.
42577 2012-06-21  Andreas Jaeger  <aj@suse.de>
42579         [BZ #12194]
42580         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
42581         warning.
42582         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
42583         * bits/byteswap-16.h (__bswap_16): Likewise.
42584         * bits/byteswap.h (__bswap_constant_16): Likewise.
42586 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
42588         [BZ #14117]
42589         * sysdeps/i386/fpu_control.h: Removed.
42590         * sysdeps/x86_64/fpu_control.h: Moved to ...
42591         * sysdeps/x86/fpu_control.h: Here.
42593         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
42594         (_FPU_SETCW): Likewise.
42596 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
42598         [BZ #14117]
42599         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
42600         * sysdeps/x86/fpu/bits/mathinline.h: This.
42601         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42603         [BZ #14050]
42604         [BZ #14117]
42605         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42606         functions if __x86_64__ is defined.
42608 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
42610         * string/endian.h: Add !__ASSEMBLER__ condition for including
42611         conversion interfaces.
42613 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
42615         [BZ #14241]
42616         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42617         of ABS(x) in calculating zero to negative powers other than odd
42618         integers.
42619         * math/libm-test.inc (pow_test): Add more tests.
42621 2012-06-15  Andreas Jaeger  <aj@suse.de>
42623         * manual/contrib.texi (Contributors): Update entry of Liubov
42624         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42625         Machado Filho.
42627 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
42629         * string/string.h: Add __wur to GNU version of strerror_r.
42631 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
42633         [BZ #14229]
42634         * string/Makefile (tests): Add tst-strtok_r.
42635         * string/tst-strtok_r.c: New file.
42636         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42637         RAX_LP/RDX_LP on SAVE_PTR.
42639 2012-06-14  Roland McGrath  <roland@hack.frob.com>
42641         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42643 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
42645         * libm_test.inc (csqrt_test): Allow more spurious underflow
42646         exceptions.
42647         (j0_test): Likewise.
42648         (j1_test): Likewise.
42649         (y0_test): Likewise.
42650         (y1_test): Likewise.
42652 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
42654         * po/Makefile (libc.pot): Use UTF-8 charset.
42656 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
42658         [BZ #14210]
42659         Suppress sign-conversion warning from FD_SET.
42660         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42661         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42662         not unsigned long int.
42663         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42665 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
42667         [BZ #14050]
42668         [BZ #14117]
42669         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42670         __extern_always_inline instead of __extern_inline.
42671         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42672         (__signbit): Likewise.
42673         (__signbitl): Support C++ namespace.
42674         (lrintf): New inline function.
42675         (lrint): Likewise.
42676         (llrintf): Likewise.
42677         (llrint): Likewise.
42678         (fmaxf): Likewise.
42679         (fmax): Likewise.
42680         (fminf): Likewise.
42681         (fmin): Likewise.
42682         (rint): Likewise.
42683         (rintf): Likewise.
42684         (ceil): Likewise.
42685         (ceilf): Likewise.
42686         (floor): Likewise.
42687         (floorf): Likewise.
42688         (nearbyint): Likewise.
42689         (nearbyintf): Likewise.
42691 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
42693         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42694         non-default versions.
42696 2012-06-11  Roland McGrath  <roland@hack.frob.com>
42698         [BZ #14218]
42699         * manual/argp.texi (Argp): Reword argp_parse description slightly.
42701 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
42703         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42704         (FE_UPWARD, FE_DOWNWARD): Don't define.
42705         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42706         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42708         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42709         reading it.
42710         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42711         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42713 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42715         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42716         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42717         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42718         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42720 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
42722         [BZ #14117]
42723         * sysdeps/i386/fpu/bits/fenv.h: Removed.
42724         * sysdeps/i386/fpu/Implies: New file.
42725         * sysdeps/x86_64/fpu/Implies: Likewise.
42726         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42727         * sysdeps/x86/fpu/bits/fenv.h: This.
42729         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42730         __SSE_MATH__.
42732 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42734         [BZ #14134]
42735         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42736         character 0xffff that matches the last element of the
42737         conversion table.
42739 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42741         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42742         fmodl commit.
42744 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42746         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42747         values higher than 25.6283.
42749 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42751         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42752         subnormal exponent extraction and add some __builtin_expect.
42753         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42754         Fix for subnormal mantissa calculation.
42756 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
42758         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42759         cpu2 is -1 and errno is not ENOSYS.
42761 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
42763         [BZ #14117]
42764         * sysdeps/i386/i486/bits/string.h: Renamed to ...
42765         * sysdeps/x86/bits/string.h: This.
42766         * sysdeps/x86_64/bits/string.h: Removed.
42768         * sysdeps/i386/i486/bits/string.h: Define inline functions only
42769         if not compiling for x86-64, but compiling for >= i486.
42771         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42772         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42774         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42775         New macro from Linux kernel 3.4.0.
42776         (FP_XSTATE_MAGIC2): Likewise.
42777         (FP_XSTATE_MAGIC2_SIZE): Likewise.
42778         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42779         (struct _fpx_sw_bytes): New struct.
42780         (struct _xsave_hdr): Likewise.
42781         (struct _ymmh_state): Likewise.
42782         (struct _xstate): Likewise.
42784         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42785         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42786         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42787         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42788         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42789         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42791         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42792         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42793         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42794         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42795         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42796         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42798 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42800         [BZ #13743]
42801         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42802         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42803         (sysdep_headers): Include sys/platform/ppc.h.
42804         * sysdeps/powerpc/test-gettimebase.c: Test for
42805         __ppc_get_timebase() to catch future ISA opcode/insn changes.
42806         * manual/Makefile (appendices): Include platform.texi.
42807         * manual/contrib.texi (Contributors): Update @node pointers.
42808         * manual/maint.texi (Maintenance): Likewise.
42809         (Platform): New node.
42810         * manual/platform.texi: New file.  Document the new features.
42812 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42813             Jakub Jelinek  <jakub@redhat.com>
42815         [BZ #14188]
42816         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42817         where __builtin_expect is unavailable.
42819 2012-06-03  David S. Miller  <davem@davemloft.net>
42821         * stdlib/longlong.h: Updated from GCC.
42823 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
42825         [BZ #14042]
42826         * sysdeps/powerpc/powerpc32/mcount.c: New file.
42827         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42828         __mcount_internal.
42829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42830         (GLIBC_2.16): Likewise.
42832 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42834         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42836 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
42838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42839         (default-abi): New variable.
42840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42841         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42842         variable.
42843         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42844         Likewise.
42845         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42846         Likewise.
42847         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42848         Likewise.
42850         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42851         definition.  Document in comment.
42853 2012-06-01  David S. Miller  <davem@davemloft.net>
42855         * stdlib/longlong.h: Updated from GCC.
42857 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42859         [BZ #14117]
42860         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42861         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42862         sys/debugreg.h sys/io.h here.
42863         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42864         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42865         sys/io.h.
42866         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42867         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42868         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42869         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42870         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42871         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42873         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42874         Define only if __x86_64__ is defined.
42876 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
42878         [BZ #14048]
42879         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42880         Use int64_t for variable i.
42881         * math/libm-test.inc (fmod_test): Add more tests.
42883         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42884         z computation is not scheduled after fetestexcept.
42885         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42886         Use math_force_eval instead of asm to ensure calculation scheduled
42887         before exception test.
42888         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42889         Ensure a1 + u.d computation is not scheduled after fetestexcept.
42891 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
42893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42894         computation is not scheduled after fetestexcept.
42896 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42898         [BZ #14117]
42899         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42900         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42902 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42904         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42905         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42907 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42909         [BZ #14117]
42910         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42911         <bits/wordsize.h>.
42912         (__WCHAR_MIN): Support __WORDSIZE == 64.
42913         (__WCHAR_MAX): Likewise.
42915         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42916         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42918         [BZ #14183]
42919         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42920         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42922         [BZ #14117]
42923         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42924         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42926         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42927         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42929         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42930         Defined to 1 if __x86_64__ isn't defined.
42931         (_STAT_VER_LINUX_OLD): New.
42932         (st_atime): Remove duplicate.
42933         (st_mtime): Likewise.
42934         (st_ctime): Likewise.
42936 2012-05-31  David S. Miller  <davem@davemloft.net>
42938         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42939         entries.
42941 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
42943         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42944         gen-libm-test.pl.
42946         [BZ #14132]
42947         * elf/dl-reloc.c: Include <_itoa.h>.
42948         (_dl_reloc_bad_type): Remove use of INTUSE.
42949         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42950         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42951         * stdio-common/psiginfo.c (psiginfo): Likewise.
42952         * stdio-common/psignal.c (psignal): Likewise.
42953         * string/strsignal.c (strsignal): Likewise.
42954         * include/signal.h (_sys_siglist): Declare hidden proto.
42955         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
42956         INTVARDEF with libc_hidden_data_def.
42957         * stdio-common/itoa-udigits.c: Likewise.
42958         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42959         (_itoa_lower_digits_internal): Remove declaration.
42960         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42961         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42962         (_sys_sigabbrev_internal): Remove aliases.
42963         (_sys_siglist): Define hidden alias.
42965 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
42967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42968         bits/sysctl.h.
42970 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42972         [BZ #14117]
42973         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42974         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42976         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42977         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42978         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42979         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42980         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42981         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42983         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42984         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42985         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42987         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42988         with __addr.
42989         (insw): Likewise.
42990         (insl): Likewise.
42991         (outsb): Likewise.
42992         (outsw): Likewise.
42993         (outsl): Likewise.
42995         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42996         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42997         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42999         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43000         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43001         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43002         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43003         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43004         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43006         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43007         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43009         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43010         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43012         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43013         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43014         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43016         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43017         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43018         to ...
43019         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43021         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43022         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43023         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43025         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43026         for x86-64.
43027         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43029 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
43031         * math/math.h (M_El): Use two more decimal places.
43032         (M_LOG2El): Likewise.
43033         (M_LOG10El): Likewise.
43034         (M_LN2l): Likewise.
43035         (M_LN10l): Likewise.
43036         (M_PIl): Likewise.
43037         (M_PI_2l): Likewise.
43038         (M_PI_4l): Likewise.
43039         (M_1_PIl): Likewise.
43040         (M_2_PIl): Likewise.
43041         (M_2_SQRTPIl): Likewise.
43042         (M_SQRT2l): Likewise.
43043         (M_SQRT1_2l): Likewise.
43045 2012-05-31  David S. Miller  <davem@davemloft.net>
43047         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43048         values between float registers.
43049         * sysdeps/sparc/sparc64/memset.S: Likewise.
43050         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43052 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
43054         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43055         -D_FORTIFY_SOURCE=1.
43056         (CPPFLAGS-tst-longjmp_chk.c): Define.
43057         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43058         (CPPFLAGS-tst-longjmp_chk2.c): Define.
43059         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43060         CFLAGS-tst-wchar-h.c.
43062 2012-05-31  Marek Polacek  <polacek@redhat.com>
43064         [BZ #14132]
43065         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43066         __endmntent_internal): Remove declaration.
43067         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43068         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43069         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43071 2012-05-30  David S. Miller  <davem@davemloft.net>
43073         * sysdeps/sparc/sparc32/soft-fp/q_util.c
43074         (___Q_simulate_exceptions): Use real FP ops rather than writing
43075         into the %fsr.
43076         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43077         Likewise.
43079 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43081         [BZ #14117]
43082         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43083         * sysdeps/x86/bits/xtitypes.h: This.
43085         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43086         * sysdeps/x86/bits/wordsize.h: This.
43088         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43089         * sysdeps/x86/bits/huge_vall.h: This.
43091         * sysdeps/i386/bits/select.h: Removed.
43092         * sysdeps/x86_64/bits/select.h: Renamed to ...
43093         * sysdeps/x86/bits/select.h: This.
43095         * sysdeps/i386/bits/setjmp.h: Removed.
43096         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43097         * sysdeps/x86/bits/setjmp.h: This.
43099         * sysdeps/i386/bits/mathdef.h: Removed.
43100         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43101         * sysdeps/x86/bits/mathdef.h: This.
43103 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
43105         [BZ #14132]
43106         * include/sys/socket.h (__connect_internal)
43107         (__libc_sa_len_internal): Remove declaration.
43108         (__connect, __libc_sa_len): Declare hidden_proto.
43109         (SA_LEN): Remove use of INTUSE.
43110         * socket/connect.c: Add libc_hidden_def.
43111         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43112         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43113         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43114         alias.
43115         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43116         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43117         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
43118         of adding _internal alias.
43120 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43122         [BZ #14117]
43123         * sysdeps/i386/bits/link.h: Removed.
43124         * sysdeps/i386/bits/linkmap.h: Likewise.
43125         * sysdeps/x86_64/bits/link.h: Renamed to ...
43126         * sysdeps/x86/bits/link.h: This.
43127         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
43128         * sysdeps/x86/bits/linkmap.h: This.
43130         * sysdeps/i386/bits/endian.h: Removed.
43131         * sysdeps/x86_64/bits/endian.h: Renamed to ...
43132         * sysdeps/x86/bits/endian.h: This.
43134         * sysdeps/i386/bits/byteswap.h: Removed.
43135         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43136         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
43137         * sysdeps/x86/bits/byteswap.h: This.
43138         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
43139         * sysdeps/x86/bits/byteswap-16.h: This.
43140         * sysdeps/i386/Implies: Add x86.
43141         * sysdeps/x86_64/Implies: Likewise.
43143 2012-05-30  David S. Miller  <davem@davemloft.net>
43145         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
43146         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
43147         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43148         (FP_TRAPPING_EXCEPTIONS): Define.
43149         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43150         (FP_TRAPPING_EXCEPTIONS): Define.
43151         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
43152         subnormals only when inexact has been signalled or underflow
43153         exceptions are enabled.
43154         (_FP_PACK_CANONICAL): Likewise.
43156 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43158         [BZ #14183]
43159         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43160         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43162 2012-05-30  Richard Henderson  <rth@twiddle.net>
43164         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43165         with #ifndef NOT_IN_libc.
43167         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
43168         marked to avoid plt entry.
43170 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43172         [BZ #14112]
43173         * Makeconfig (default-abi): New macro.
43174         (abi-includes): Likewise.
43175         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
43176         $(abi-$(default-abi)-lib-soname) for soname if defined.
43177         ($(common-objpfx)gnu/lib-names.stmp): Generate from
43178         abi-variants.
43179         * Makefile (installed-stubs): Likewise.
43180         * include/stubs-biarch.h: Removed.
43181         * scripts/lib-names.awk: Only handle one library at a time.
43182         * scripts/soversions.awk: Remove WORDSIZE support.
43183         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43184         entries.
43185         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43186         Removed.
43187         (syscall-list-default-condition): Likewise.
43188         (syscall-list-default-condition): Likewise.
43189         (syscall-list-includes): Likewise.
43190         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43191         syscall-list-* with abi-*.  Handle undefined abi-variants.
43192         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43193         * sysdeps/unix/sysv/linux/i386/Implies: New file.
43194         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43195         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43196         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43197         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43198         Removed.
43199         (syscall-list-32-options): Likewise.
43200         (syscall-list-32-condition): Likewise.
43201         (syscall-list-64-options): Likewise.
43202         (syscall-list-64-condition): Likewise.
43203         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43204         macro.
43205         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43206         Renamed to ...
43207         (abi-*): This.
43208         (abi-64-ld-soname): New macro.
43209         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43210         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43211         Renamed to ...
43212         (abi-*): This.
43213         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43214         * sysdeps/x86_64/x32/shlib-versions: Likewise.
43216 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
43218         * sysdeps/unix/sysv/linux/kernel-features.h
43219         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43220         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43221         include <kernel-features.h>.
43222         [!__NR_ftruncate64]: Remove conditional code.
43223         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43224         [__NR_ftruncate64]: Make code unconditional.
43225         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43226         * sysdeps/unix/sysv/linux/truncate64.c: Do not
43227         include <kernel-features.h>.
43228         [!__NR_ftruncate64]: Remove conditional code.
43229         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43230         [__NR_ftruncate64]: Make code unconditional.
43231         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43233         include <kernel-features.h>.
43234         [!__NR_ftruncate64]: Remove conditional code.
43235         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43236         [__NR_ftruncate64]: Make code unconditional.
43237         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43239         include <kernel-features.h>.
43240         [!__NR_ftruncate64]: Remove conditional code.
43241         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43242         [__NR_ftruncate64]: Make code unconditional.
43243         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43245         * configure.in (libc_cv_fpie): Weaken to a compile test using
43246         LIBC_TRY_CC_OPTION.
43247         * configure: Regenerated.
43249 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43253         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43255         Refreshed.
43256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43257         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43262         Refreshed.
43264 2012-05-27  David S. Miller  <davem@davemloft.net>
43266         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43267         (___Q_zero): New.
43268         (__Q_simulate_exceptions): Return void.  Change to simulate
43269         exceptions by writing into the %fsr.
43270         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43271         (__Qp_handle_exceptions): Likewise.
43272         (numbers): Delete.
43273         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43274         __Qp_handle_exceptions.
43275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43276         __Qp_handle_exceptions.
43277         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43278         as unused and give dummy FP_RND_NEAREST initializer.
43279         (FP_INHIBIT_RESULTS): Define.
43280         (___Q_simulate_exceptions): Update declaration.
43281         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43282         formatting.
43283         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43284         as unused and give dummy FP_RND_NEAREST initializer.
43285         (__Qp_handle_exceptions): Update declaration.
43286         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43287         formatting.
43289 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
43291         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43292         the temporary FPU control word.
43293         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43294         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43295         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43296         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43297         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43298         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43299         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43300         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43301         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43302         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43303         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43305 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43307         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43308         fields.
43310 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
43312         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43313         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43314         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43315         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43316         Likewise.
43317         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43318         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43319         Likewise.
43321 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
43323         * po/h.po: Update from translation team.
43325 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
43327         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43329         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
43330         handling of denormals.
43331         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43332         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43333         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43334         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43335         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43336         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
43337         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
43338         Likewise.
43340 2012-05-26  Marek Polacek  <polacek@redhat.com>
43342         [BZ #14152]
43343         * math/libm-test.inc (fma_test): Don't always expect underflow
43344         exception.
43346 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43348         [BZ #12416]
43349         * elf/tst-execstack.c: Include stackinfo.h.
43350         (do_test): Adjust test case to ensure that pthread_getattr_np
43351         behaviour remains the same after marking stack executable.
43353 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43355         * sysdeps/unix/sysv/linux/kernel-features.h
43356         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43357         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43358         kernel-features.h.
43359         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43360         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43361         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43362         kernel-features.h.
43363         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43364         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43366 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
43368         * configure.in: Define the default includes to being none.
43369         * configure: Regenerated.
43371 2012-05-25  Roland McGrath  <roland@hack.frob.com>
43373         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43374         * sysdeps/x86_64/setjmp.S: Likewise.
43375         * sysdeps/i386/bsd-setjmp.S: Likewise.
43376         * sysdeps/i386/bsd-_setjmp.S: Likewise.
43377         * sysdeps/i386/setjmp.S: Likewise.
43378         * sysdeps/i386/__longjmp.S: Likewise.
43379         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43380         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43382         * include/stap-probe.h: New file.
43383         * configure.in: Handle --enable-systemtap.
43384         * configure: Regenerated.
43385         * config.h.in (USE_STAP_PROBE): New #undef.
43386         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43387         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43388         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43390 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43392         [BZ #13717]
43393         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43394         to 2.4.0 where earlier.
43395         * sysdeps/unix/sysv/linux/configure: Regenerated.
43396         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43397         <kernel-features.h>.
43398         [__ASSUME_32BITUIDS]: Make code unconditional.
43399         [!__ASSUME_32BITUIDS]: Remove conditional code.
43400         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
43401         <kernel-features.h>.
43402         [__ASSUME_32BITUIDS]: Make code unconditional.
43403         [!__ASSUME_32BITUIDS]: Remove conditional code.
43404         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
43405         [__ASSUME_32BITUIDS]: Make code unconditional.
43406         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43407         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
43408         <kernel-features.h>.
43409         [__ASSUME_32BITUIDS]: Make code unconditional.
43410         [!__ASSUME_32BITUIDS]: Remove conditional code.
43411         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43412         <kernel-features.h>.
43413         [__ASSUME_32BITUIDS]: Make code unconditional.
43414         [!__ASSUME_32BITUIDS]: Remove conditional code.
43415         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43416         <kernel-features.h>.
43417         [__ASSUME_32BITUIDS]: Make code unconditional.
43418         [!__ASSUME_32BITUIDS]: Remove conditional code.
43419         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43420         <kernel-features.h>.
43421         [__ASSUME_32BITUIDS]: Make code unconditional.
43422         [!__ASSUME_32BITUIDS]: Remove conditional code.
43423         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43424         <kernel-features.h>.
43425         [__ASSUME_32BITUIDS]: Make code unconditional.
43426         [!__ASSUME_32BITUIDS]: Remove conditional code.
43427         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43428         <kernel-features.h>.
43429         [__ASSUME_32BITUIDS]: Make code unconditional.
43430         [!__ASSUME_32BITUIDS]: Remove conditional code.
43431         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43432         <kernel-features.h>.
43433         [__ASSUME_32BITUIDS]: Make code unconditional.
43434         [!__ASSUME_32BITUIDS]: Remove conditional code.
43435         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43436         <kernel-features.h>.
43437         [__ASSUME_32BITUIDS]: Make code unconditional.
43438         [!__ASSUME_32BITUIDS]: Remove conditional code.
43439         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43440         <kernel-features.h>.
43441         [__ASSUME_32BITUIDS]: Make code unconditional.
43442         [!__ASSUME_32BITUIDS]: Remove conditional code.
43443         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43444         <kernel-features.h>.
43445         [__ASSUME_32BITUIDS]: Make code unconditional.
43446         [!__ASSUME_32BITUIDS]: Remove conditional code.
43447         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43448         <kernel-features.h>.
43449         [__NR_setresgid] (__setresgid): Do not declare.
43450         [__ASSUME_32BITUIDS]: Make code unconditional.
43451         [!__ASSUME_32BITUIDS]: Remove conditional code.
43452         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43453         <kernel-features.h>.
43454         [__NR_setresuid] (__setresuid): Do not declare.
43455         [__ASSUME_32BITUIDS]: Make code unconditional.
43456         [!__ASSUME_32BITUIDS]: Remove conditional code.
43457         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43458         <kernel-features.h>.
43459         [__ASSUME_32BITUIDS]: Make code unconditional.
43460         [!__ASSUME_32BITUIDS]: Remove conditional code.
43461         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43462         <kernel-features.h>.
43463         [__ASSUME_32BITUIDS]: Make code unconditional.
43464         [!__ASSUME_32BITUIDS]: Remove conditional code.
43465         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43466         <kernel-features.h>.
43467         [__ASSUME_32BITUIDS]: Make code unconditional.
43468         [!__ASSUME_32BITUIDS]: Remove conditional code.
43469         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43470         <kernel-features.h>.
43471         [__ASSUME_32BITUIDS]: Make code unconditional.
43472         [!__ASSUME_32BITUIDS]: Remove conditional code.
43473         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43474         <kernel-features.h>.
43475         [__ASSUME_32BITUIDS]: Make code unconditional.
43476         [!__ASSUME_32BITUIDS]: Remove conditional code.
43477         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43478         <kernel-features.h>.
43479         [__ASSUME_32BITUIDS]: Make code unconditional.
43480         [!__ASSUME_32BITUIDS]: Remove conditional code.
43481         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43482         <kernel-features.h>.
43483         [__ASSUME_32BITUIDS]: Make code unconditional.
43484         [!__ASSUME_32BITUIDS]: Remove conditional code.
43485         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43486         <kernel-features.h>.
43487         [__ASSUME_32BITUIDS]: Make code unconditional.
43488         [!__ASSUME_32BITUIDS]: Remove conditional code.
43489         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43490         <kernel-features.h>.
43491         [__ASSUME_32BITUIDS]: Make code unconditional.
43492         [!__ASSUME_32BITUIDS]: Remove conditional code.
43493         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43494         <kernel-features.h>.
43495         [__ASSUME_32BITUIDS]: Make code unconditional.
43496         [!__ASSUME_32BITUIDS]: Remove conditional code.
43497         * sysdeps/unix/sysv/linux/kernel-features.h
43498         (__ASSUME_SETRESUID_SYSCALL): Remove.
43499         (__ASSUME_SETRESGID_SYSCALL): Likewise.
43500         (__ASSUME_32BITUIDS): Likewise.
43501         (__ASSUME_LDT_WORKS): Likewise.
43502         (__ASSUME_O_DIRECTORY): Likewise.
43503         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43504         architecture but not kernel version.
43505         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43506         (__ASSUME_MMAP2_SYSCALL): Likewise.
43507         (__ASSUME_STAT64_SYSCALL): Likewise.
43508         (__ASSUME_IPC64): Likewise.
43509         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43510         <kernel-features.h>.
43511         [__ASSUME_32BITUIDS]: Make code unconditional.
43512         [!__ASSUME_32BITUIDS]: Remove conditional code.
43513         * sysdeps/unix/sysv/linux/opendir.c: Do not include
43514         <kernel-features.h>.
43515         [__ASSUME_O_DIRECTORY]: Make code unconditional.
43516         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
43517         132096]: Remove conditional code.
43518         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
43519         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43520         <kernel-features.h>.
43521         [__ASSUME_32BITUIDS]: Make code unconditional.
43522         [!__ASSUME_32BITUIDS]: Remove conditional code.
43523         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43524         <kernel-features.h>.
43525         [__ASSUME_32BITUIDS]: Make code unconditional.
43526         [!__ASSUME_32BITUIDS]: Remove conditional code.
43527         * sysdeps/unix/sysv/linux/setegid.c: Do not include
43528         <kernel-features.h>.
43529         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
43530         unconditional.
43531         (__setresgid): Do not declare.
43532         [__ASSUME_32BITUIDS]: Make code unconditional.
43533         [!__ASSUME_32BITUIDS]: Remove conditional code.
43534         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
43535         <kernel-features.h>.
43536         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
43537         unconditional.
43538         (__setresuid): Do not declare.
43539         [__ASSUME_32BITUIDS]: Make code unconditional.
43540         [!__ASSUME_32BITUIDS]: Remove conditional code.
43541         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43542         <kernel-features.h>.
43543         [__ASSUME_32BITUIDS]: Make code unconditional.
43544         [!__ASSUME_32BITUIDS]: Remove conditional code.
43545         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
43546         <kernel-features.h>.
43547         [__ASSUME_32BITUIDS]: Make code unconditional.
43548         [!__ASSUME_32BITUIDS]: Remove conditional code.
43550 2012-05-25  Richard Henderson  <rth@twiddle.net>
43552         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
43553         dl_hwcap to ifunc resolver.
43554         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
43555         elf_ifunc_invoke.
43556         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
43557         dl_hwcap to ifunc resolver.
43558         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
43560 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43562         [BZ #14153]
43563         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
43564         for |x| <= 2**-26, not 2**-57.
43565         * math/libm-test.inc (acos_test): Do not allow spurious underflow
43566         exception.
43568 2012-05-24  Jeff Law  <law@redhat.com>
43570         * stdio-common/Makefile (tests): Add bug25.
43571         * stdio-common/bug25.c: New test.
43573 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
43575         [BZ #13576]
43576         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
43577         multiple of MALLOC_ALIGNMENT in size.
43578         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
43580 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43582         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
43583         Require >= 256.
43584         (FILENAME_MAX): Use macro-int-constant.
43585         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
43586         (_IOFBF): Use macro-int-constant.
43587         (_IOLBF): Likewise.
43588         (_IONBF): Likewise.
43589         (SEEK_CUR): Likewise.
43590         (SEEK_END): Likewise.
43591         (SEEK_SET): Likewise.
43592         (TMP_MAX): Likewise.
43593         (EOF): Use macro-int-constant.  Require < 0.
43594         (NULL): Use macro-constant.  Require == 0.
43595         (stdin): Require type to be FILE *.
43596         (stdout): Likewise.
43597         (stderr): Likewise.
43598         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
43599         macro-int-constant.
43600         (EXIT_SUCCESS): Likewise.
43601         (NULL): Use macro-constant.  Require == 0.
43602         (RAND_MAX): Use macro-int-constant.
43603         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43604         [C99-based standards] (strtof): Require function.
43605         [C99-based standards] (strtold): Likewise.
43606         [C99-based standards] (strtoll): Likewise.
43607         [C99-based standards] (strtoull): Likewise.
43608         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43609         [ISO || ISO99 || ISO11] (limits.h): Likewise.
43610         [ISO || ISO99 || ISO11] (math.h): Likewise.
43611         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43612         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43613         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43615 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
43617         [BZ #14132]
43618         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43619         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43620         * intl/dgettext.c (DCGETTEXT): Likewise.
43621         * intl/gettext.c (DCGETTEXT): Likewise.
43622         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43623         * posix/regex_internal.h (gettext): Likewise.
43624         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43625         Remove declaration.
43626         * include/argz.h (__argz_count_internal)
43627         (__argz_stringify_internal): Remove declaration.
43628         (__argz_count, __argz_stringify): Declare hidden proto.
43629         * intl/dcgettext.c: Remove use of INTDEF.
43630         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43631         * string/argz-stringify.c: Likewise.
43632         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43633         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43634         Declare hidden proto.
43635         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43636         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43637         Declare hidden proto.
43638         * include/stdio.h (__asprintf_internal): Don't declare.
43639         (__asprintf): Don't define as macro.  Declare hidden proto.
43640         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43641         (__fsetlocking): Declare hidden proto.
43642         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43643         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43644         hidden proto.
43645         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43646         (_IO_setlinebuf): Remove use of INTUSE.
43647         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43648         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43649         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43650         Remove declaration.
43651         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43652         (_IO_do_flush): Remove use of INTUSE.
43653         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43654         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43655         (_IO_adjust_column, _IO_least_wmarker)
43656         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43657         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43658         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43659         (_IO_default_doallocate, _IO_wdefault_doallocate)
43660         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43661         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43662         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43663         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43664         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43665         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43666         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43667         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43668         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43669         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43670         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43671         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43672         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43673         proto.
43674         (_IO_flush_all_internal, _IO_adjust_column_internal)
43675         (_IO_default_uflow_internal, _IO_default_finish_internal)
43676         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43677         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43678         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43679         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43680         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43681         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43682         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43683         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43684         (_IO_file_close_internal, _IO_file_close_it_internal)
43685         (_IO_file_underflow_internal, _IO_file_overflow_internal)
43686         (_IO_file_init_internal, _IO_file_attach_internal)
43687         (_IO_file_fopen_internal, _IO_file_read_internal)
43688         (_IO_file_sync_internal, _IO_file_seek_internal)
43689         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43690         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43691         (_IO_str_underflow_internal, _IO_str_overflow_internal)
43692         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43693         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43694         (_IO_list_all_internal, _IO_link_in_internal)
43695         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43696         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43697         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43698         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43699         (_IO_do_write_internal, _IO_padn_internal)
43700         (_IO_getline_info_internal, _IO_getline_internal)
43701         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43702         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43703         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43704         (_IO_vfscanf_internal, _IO_vfprintf_internal)
43705         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43706         (_IO_init_internal, _IO_un_link_internal): Don't declare.
43707         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43708         with libc_hidden_ver, remove use of INTUSE.
43709         * libio/genops.c: Likewise.
43710         * libio/freopen.c: Likewise.
43711         * libio/freopen64.c: Likewise.
43712         * libio/iofclose.c: Likewise.
43713         * libio/iofdopen.c: Likewise.
43714         * libio/iofflush.c: Likewise.
43715         * libio/iofflush_u.c: Likewise.
43716         * libio/iofgets.c: Likewise.
43717         * libio/iofgets_u.c: Likewise.
43718         * libio/iofopen.c: Likewise.
43719         * libio/iofopncook.c: Likewise.
43720         * libio/iofread.c: Likewise.
43721         * libio/iofread_u.c: Likewise.
43722         * libio/ioftell.c: Likewise.
43723         * libio/iofwrite.c: Likewise.
43724         * libio/iogetline.c: Likewise.
43725         * libio/iogets.c: Likewise.
43726         * libio/iogetwline.c: Likewise.
43727         * libio/iopadn.c: Likewise.
43728         * libio/iopopen.c: Likewise.
43729         * libio/ioseekoff.c: Likewise.
43730         * libio/ioseekpos.c: Likewise.
43731         * libio/iosetbuffer.c: Likewise.
43732         * libio/iosetvbuf.c: Likewise.
43733         * libio/ioungetc.c: Likewise.
43734         * libio/ioungetwc.c: Likewise.
43735         * libio/iovdprintf.c: Likewise.
43736         * libio/iovsprintf.c: Likewise.
43737         * libio/iovsscanf.c: Likewise.
43738         * libio/memstream.c: Likewise.
43739         * libio/obprintf.c: Likewise.
43740         * libio/oldfileops.c: Likewise.
43741         * libio/oldiofclose.c: Likewise.
43742         * libio/oldiofdopen.c: Likewise.
43743         * libio/oldiofopen.c: Likewise.
43744         * libio/oldiopopen.c: Likewise.
43745         * libio/oldstdfiles.c: Likewise.
43746         * libio/putc.c: Likewise.
43747         * libio/setbuf.c: Likewise.
43748         * libio/setlinebuf.c: Likewise.
43749         * libio/stdfiles.c: Likewise.
43750         * libio/strops.c: Likewise.
43751         * libio/vasprintf.c: Likewise.
43752         * libio/vscanf.c: Likewise.
43753         * libio/vsnprintf.c: Likewise.
43754         * libio/vswprintf.c: Likewise.
43755         * libio/wfiledoalloc.c: Likewise.
43756         * libio/wfileops.c: Likewise.
43757         * libio/wgenops.c: Likewise.
43758         * libio/wmemstream.c: Likewise.
43759         * libio/wstrops.c: Likewise.
43760         * libio/__fpurge.c: Likewise.
43761         * libio/__fsetlocking.c: Likewise.
43762         * assert/assert.c: Likewise.
43763         * debug/fgets_chk.c: Likewise.
43764         * debug/fgets_u_chk.c: Likewise.
43765         * debug/fread_chk.c: Likewise.
43766         * debug/fread_u_chk.c: Likewise.
43767         * debug/gets_chk.c: Likewise.
43768         * debug/obprintf_chk.c: Likewise.
43769         * debug/vasprintf_chk.c: Likewise.
43770         * debug/vdprintf_chk.c: Likewise.
43771         * debug/vsnprintf_chk.c: Likewise.
43772         * debug/vsprintf_chk.c: Likewise.
43773         * malloc/mtrace.c: Likewise.
43774         * misc/error.c: Likewise.
43775         * misc/syslog.c: Likewise.
43776         * stdio-common/asprintf.c: Likewise.
43777         * stdio-common/fxprintf.c: Likewise.
43778         * stdio-common/getw.c: Likewise.
43779         * stdio-common/isoc99_fscanf.c: Likewise.
43780         * stdio-common/isoc99_scanf.c: Likewise.
43781         * stdio-common/isoc99_vfscanf.c: Likewise.
43782         * stdio-common/isoc99_vscanf.c: Likewise.
43783         * stdio-common/isoc99_vsscanf.c: Likewise.
43784         * stdio-common/printf-prs.c: Likewise.
43785         * stdio-common/printf_fp.c: Likewise.
43786         * stdio-common/printf_fphex.c: Likewise.
43787         * stdio-common/printf_size.c: Likewise.
43788         * stdio-common/putw.c: Likewise.
43789         * stdio-common/scanf.c: Likewise.
43790         * stdio-common/sprintf.c: Likewise.
43791         * stdio-common/tmpfile.c: Likewise.
43792         * stdio-common/vfprintf.c: Likewise.
43793         * stdio-common/vfscanf.c: Likewise.
43794         * stdlib/strfmon_l.c: Likewise.
43795         * sunrpc/openchild.c: Likewise.
43796         * sunrpc/xdr_stdio.c: Likewise.
43797         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43798         * sysdeps/mach/hurd/tmpfile.c: Likewise.
43800 2012-05-24  Roland McGrath  <roland@hack.frob.com>
43802         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43804         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43805         in the third column, to generate for the shared library an IFUNC
43806         that uses _dl_vdso_vsym.
43807         * Makerules (COMPILE.c, compile-stdin.c): New variables.
43808         * Makeconfig (object-suffixes-noshared): New variable.
43810         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43811         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43812         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43813         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43815         [BZ #14132]
43816         * include/sys/time.h (__gettimeofday): Remove macro.
43817         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43818         * time/gettimeofday.c (__gettimeofday): Remove #undef.
43819         Remove INTDEF.
43820         (__gettimeofday): Add libc_hidden_def.
43821         (gettimeofday): Add libc_hidden_weak.
43822         * sysdeps/mach/gettimeofday.c: Likewise.
43823         * sysdeps/posix/gettimeofday.c: Likewise.
43824         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43825         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43826         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43827         (__gettimeofday_internal): Remove strong_alias.
43828         (__gettimeofday): Add libc_hidden_def.
43829         (gettimeofday): Add libc_hidden_weak.
43830         * sysdeps/unix/syscalls.list (gettimeofday):
43831         Remove __gettimeofday_internal alias.
43833 2012-05-24  Daniel Jacobowitz  <drow@false.org>
43834             H.J. Lu  <hongjiu.lu@intel.com>
43836         [BZ #12495]
43837         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43838         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43839         (largebin_index_32_big): New.
43840         (largebin_index): Use it for 16-byte alignment.
43841         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
43842         correction with front_misalign.
43844 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
43846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43848         Likewise.
43849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43850         Likewise.
43851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43852         Likewise.
43853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43854         Likewise.
43855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43856         Likewise.
43857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43858         Likewise.
43859         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43860         Likewise.
43861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43862         Likewise.
43863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43864         Likewise.
43865         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43866         Likewise.
43867         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43868         Likewise.
43869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43870         Likewise.
43872         * scripts/data/c++-types-x32-linux-gnu.data: New file.
43873         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43875 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43877         [BZ #10846]
43878         [BZ #14036]
43879         * math/libm-test.inc (exp_test): Add test from bug 14036.
43880         (pow_test): Add test from bug 10846.
43882         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43883         and other flags.
43884         (special_function): Do not include flags in test name.
43885         (parse_args): Likewise.
43886         * sysdeps/i386/fpu/libm-test-ulps: Update.
43887         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43888         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43889         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43892         * math/gen-libm-test.pl (%beautify): Add entries for underflow
43893         exceptions.
43894         * math/libm-test.inc ("Philosophy"): Update comment about
43895         exception testing.
43896         (UNDERFLOW_EXCEPTION): New macro.
43897         (UNDERFLOW_EXCEPTION_OK): Likewise.
43898         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43899         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43900         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43901         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43902         (INVALID_EXCEPTION_OK): Update value.
43903         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43904         (OVERFLOW_EXCEPTION_OK): Likewise.
43905         (IGNORE_ZERO_INF_SIGN): Likewise.
43906         (test_exceptions): Handle underflow exceptions.
43907         (acos_test): Update for underflow exception expectations.
43908         (cexp_test): Likewise.
43909         (clog_test): Likewise.
43910         (clog10_test): Likewise.
43911         (csqrt_test): Likewise.
43912         (ctan_test): Likewise.
43913         (ctanh_test): Likewise.
43914         (exp_test): Likewise.
43915         (exp10_test): Likewise.
43916         (exp2_test): Likewise.
43917         (expm1_test): Likewise.
43918         (fma_test): Likewise.
43919         (j0_test): Likewise.
43920         (jn_test): Likewise.
43921         (nexttoward_test): Likewise.
43922         (pow_test): Likewise.
43923         (scalbn_test): Likewise.
43924         (scalbln_test): Likewise.
43925         (tan_test): Likewise.
43926         (y1_test): Likewise.
43927         * sysdeps/i386/fpu/libm-test-ulps: Update.
43928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43930 2012-05-23  David S. Miller  <davem@davemloft.net>
43932         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43933         (__libc_sigaction): Remove unused local variables.
43935 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43937         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43939 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
43941         mktime: avoid signed integer overflow
43942         * time/mktime.c (__mktime_internal): Do not mishandle the case
43943         where diff == INT_MIN.
43945         mktime: simplify computation of average
43946         * time/mktime.c (ranged_convert): Use new time_t_avg function
43947         instead of rolling our own (probably-slower) code.
43949         mktime: do not assume signed right shift propagates sign bit
43950         * time/mktime.c (isdst_differ): New static function.
43951         (__mktime_internal): No need to normalize tm_isdst now.
43952         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43953         tm_isdst values.
43955         mktime: merge another wrapv change from gnulib
43956         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43957         from some compilers.
43959         mktime: remove incorrect attempt at unusual arithmetics
43960         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43961         The code didn't really work on such machines anyway.
43962         (TYPE_MINIMUM): Assume two's complement.
43963         (twos_complement_arithmetic): Verify that long_int and time_t
43964         are two's complement (or unsigned, in the latter case).
43966         mktime: check signed shifts on long_int and time_t, too
43967         * time/mktime.c (SHR): Check that shifts work as desired
43968         on the types long_int and time_t too, as SHR is used on
43969         such types.
43971         mktime: do not assume 'long' is wide enough
43972         * time/mktime.c (verify): Move decl up.
43973         (long_int): New type.
43974         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43975         to remove assumption in the code that 'long' is wide enough to
43976         store year values.  This assumption is not true on x32 and on
43977         some non-glibc platforms.
43979         mktime: merge wrapv change from gnulib
43980         * time/mktime.c (WRAPV): New macro.
43981         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43982         (guess_time_tm, __mktime_internal): Do not assume that signed
43983         integer overflow wraps around; modern compilers generate code
43984         where this assumption is no longer valid.
43986 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43988         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43989         Replace "jmp L(pseudo_end)" with "ret".
43990         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43991         Likewise.
43993 2012-05-23  Andreas Jaeger  <aj@suse.de>
43995         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43996         * sysdeps/unix/sysv/linux/poll.c: Remove file.
43998 2012-05-23  Andreas Jaeger  <aj@suse.de>
43999             Maximilian Attems  <max@stro.at>
44001         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44002         New macros.
44004 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44006         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44007         code so that pseudo_end is just ret and the stack pointer is
44008         correct also for static library in error case.
44010 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
44012         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44013         move to syscalls.list.
44014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44019         * manual/install.texi (Running make install): Do not mention Linux
44020         kernel version for which pt_chown is not needed.
44021         (Linux): Do not mention problems with nscd with 2.0 kernels.
44022         * INSTALL: Regenerated.
44024 2012-05-23  Andreas Jaeger  <aj@suse.de>
44026         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44027         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44028         macro.
44029         * sysdeps/unix/sysv/linux/s390/bits/mman.h
44030         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44031         * sysdeps/unix/sysv/linux/sh/bits/mman.h
44032         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44033         * sysdeps/unix/sysv/linux/i386/bits/mman.h
44034         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44035         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44036         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44037         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44038         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44039         * sysdeps/unix/sysv/linux/bits/in.h
44040         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44042 2012-05-22  Roland McGrath  <roland@hack.frob.com>
44044         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44045         (PREPARE_VERSION): Just use assert instead, it will be elided
44046         under [NDEBUG] anyway.
44048 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44050         * sysdeps/unix/sysv/linux/Makefile: Include
44051         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
44052         (sysdep_routines): Remove sysctl.
44053         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44054         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44055         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44056         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44057         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44059 2012-05-22  Andreas Jaeger  <aj@suse.de>
44061         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44062         that pseudo_end is just ret and the stack pointer is correct also
44063         for static library in error case.
44065 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
44067         [BZ #14122]
44068         * nss/nsswitch.c (defconfig_entries): New variable.
44069         (__nss_database_lookup): Don't leak defconfig entries.
44070         (nss_parse_service_list): Don't leak on error paths.
44071         (free_database_entries): New function.
44072         (free_defconfig): New function.
44073         (free_mem): Move common code to free_database_entries.
44075 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44077         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44078         Add arch_prctl.
44079         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44081         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44082         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44084         New macro.
44085         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44086         (INTERNAL_SYSCALL_TYPES): Likewise.
44087         (LOAD_ARGS_TYPES_[1-6]): Likewise.
44088         (LOAD_REGS_TYPES_[1-6]): Likewise.
44089         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44090         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44092 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44094         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44095         copysignl for GLIBC_2_0.
44096         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44097         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44098         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44099         logbl for GLIBC_2_0.
44100         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44101         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44103 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44105         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44106         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44108         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44109         Use "neg %eax".
44111         * time/mktime.c: Update copyright years.
44113 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
44115         mktime: merge comment-quoting-style change from gnulib
44116         * time/mktime.c: Quote 'like this' in comments.
44117         The GNU coding standards suggest that we no longer quote `like this',
44118         as "`" and "'" are typically rendered asymmetrically nowadays.
44119         The typical gnulib style is to quote 'like this' when quoting
44120         code, and "like this" when quoting English.
44122         * time/mktime.c (compile-command): Add "-I.".
44124         mktime: merge mktime-internal.h change from gnulib
44125         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
44127         mktime: merge time_r change from gnulib
44128         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
44130         mktime: merge DEBUG change from gnulib
44131         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
44132         case system <time.h> has a #define.
44134         mktime: merge <sys/types.h> change from gnulib
44135         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
44136         since <time.t> is now guaranteed to define time_t.
44138         mktime: merge HAVE_CONFIG_H change from gnulib
44139         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
44141 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44143         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44144         Use "neg %eax".
44146         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
44147         __rlim_t cast.
44148         (struct rusage): Use anonymous union to pad each field to
44149         __syscall_slong_t.
44151 2012-05-21  David S. Miller  <davem@davemloft.net>
44153         * Makefules (o-iterator): Remove .s cases.
44154         (compile-command.s): Delete.
44155         (COMPILE.s): Delete.
44156         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44158 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
44160         * configure.in (libc_cv_predef_stack_protector): Only consider
44161         "foobar" and "__stack_chk_fail" lines in libc_undefs.
44162         * configure: Regenerated.
44164 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44167         New macro.  Use R*LP on int and pointer.
44168         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
44169         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44170         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
44171         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44173         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44174         [__WORDSIZE_TIME64_COMPAT32] instead of
44175         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44176         (struct utmp): Likewise.
44177         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44178         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44179         Renamed to ...
44180         (__WORDSIZE_TIME64_COMPAT32): This.
44181         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44182         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44183         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44184         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44185         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44186         (__WORDSIZE_TIME64_COMPAT32): New macro.
44188 2012-05-21  Andreas Jaeger  <aj@suse.de>
44190         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44191         only if [SHARED]. Add prototype for __wcschr_ia32.
44193 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44195         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44196         of %rbp unmolested in the jmp_buf while mangling the low bits.
44197         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44198         unmolested high bits of %rbp while demangling the low bits.
44199         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44201 2012-05-21  Andreas Jaeger  <aj@suse.de>
44203         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44204         * sunrpc/svc_simple.c: Use it for registerrpc.
44205         * sunrpc/xcrypt.c: Use it for passwd2des.
44207         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44209 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44211         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44212         Don't define if [__SYSCALL_WORDSIZE != 32].
44213         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44214         New macro.
44216 2012-05-21  Bruno Haible  <bruno@clisp.org>
44217             Andreas Jaeger  <aj@suse.de>
44219         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44220         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44221         inptr and inend for must_buffer_ch.
44222         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44223         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44224         * stdio-common/Makefile (tests): Remove bug15.
44225         (bug15-ENV): Remove macro.
44226         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44227         anymore.
44229 2012-05-19  Andreas Jaeger  <aj@suse.de>
44230             Roland McGrath  <roland@hack.frob.com>
44232         * manual/contrib.texi: Completely rewritten. It contains now an
44233         alphabetical list of contributors and their contributions.
44235 2012-05-21  Richard Henderson  <rth@twiddle.net>
44237         * misc/getauxval.c (__getauxval): Use unsigned long int.
44238         * misc/sys/auxv.h: Include <sys/cdefs.h>.
44239         (getauxval): Use unsigned long int.
44241 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44243         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44245 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44247         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44248         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44249         __alignof__ (long double).
44251 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44255 2012-05-20  Richard Henderson  <rth@twiddle.net>
44257         * misc/getauxval.c: New file.
44258         * misc/sys/auxv.h: New file.
44259         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44260         (routines): Add getauxval.
44261         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44262         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44263         * elf/dl-sysdep.c (_dl_auxv): Remove.
44264         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44265         * elf/dl-support.c (_dl_auxv): New variable.
44266         (_dl_aux_init): Initialize it.
44267         * manual/startup.texi (Auxiliary Vector): New node.
44268         * sysdeps/generic/bits/hwcap.h: New file.
44269         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44270         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
44271         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44272         * sysdeps/sparc/sysdep.h: ... here.  Include it.
44273         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44274         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
44275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44276         Update.
44277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44280         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44286 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44290 2012-05-19  David S. Miller  <davem@davemloft.net>
44292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44294 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44296         [BZ #14123]
44297         * math/s_ccosh.c: Include <float.h>
44298         (__ccosh): Avoid internal overflow calculating sinh and cosh
44299         values before multiplying by sin and cos values.
44300         * math/s_ccoshf.c: Likewise.
44301         * math/s_ccoshl.c: Likewise.
44302         * math/s_csin.c: Likewise.
44303         * math/s_csinf.c: Likewise.
44304         * math/s_csinl.c: Likewise.
44305         * math/s_csinh.c: Likewise.
44306         * math/s_csinhf.c: Likewise.
44307         * math/s_csinhl.c: Likewise.
44308         * math/libm-test.inc (ccos_test): Add more tests.
44309         (ccosh_test): Likewise.
44310         (csin_test): Likewise.
44311         (csinh_test): Likewise.
44312         * sysdeps/i386/fpu/libm-test-ulps: Update.
44313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44315 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
44317         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44318         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44320         * sysdeps/x86_64/x32/_itoa.h: Add comment.
44322 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44324         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44325         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44326         * sysdeps/powerpc/soft-fp/Versions: Likewise.
44327         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44328         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44329         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
44330         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
44331         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
44332         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
44333         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
44334         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
44335         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
44336         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
44337         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
44338         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
44339         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
44340         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
44341         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44342         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44343         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44344         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44345         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44346         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44347         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44348         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44349         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44350         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44351         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44352         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44353         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44354         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44356 2012-05-18  Andreas Jaeger  <aj@suse.de>
44358         * csu/.gitignore: Delete.
44360 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44362         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44363         (timex): Use __syscall_slong_t.
44365 2012-05-18  Andreas Jaeger  <aj@suse.de>
44366             Carlos O'Donell  <carlos_odonell@mentor.com>
44368         * manual/install.texi (Configuring and compiling): Update
44369         description about files modified in the source directory.
44370         * INSTALL: Regenerated.
44372 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44374         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44375         value.  Use "or" to set return value to -1.
44376         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44377         negate return value.
44379 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44381         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44382         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
44383         failure if the compiler has Graphite support disabled.
44384         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44385         Likewise.
44386         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44387         (CFLAGS-memmove.c): Likewise.
44388         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44389         Likewise.
44391 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44393         * sysdeps/x86_64/x32/_itoa.h: New file.
44395         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44396         getdents system call only if kernel and user dirents have the
44397         same d_ino and d_off.
44399         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44400         LLONG_MAX != LONG_MAX.
44401         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44402         (_fitoa_word): Likewise.
44404         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44405         years.
44406         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44407         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44408         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44410         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44411         include <bits/wordsize.h>.  Check __x86_64__ instead of
44412         __WORDSIZE.
44413         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44414         if __x86_64__ is defined.  Use anonymous union on fpstate.
44416         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44417         anonymous union.
44419 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
44421         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44422         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44423         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44424         Refer to _rtld_local_ro instead of _rtld_global_ro.
44425         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44426         Likewise.
44427         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44428         Likewise.
44429         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44430         Likewise.
44431         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44432         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44433         of _rtld_global, and rtld_progname instead of _dl_argv[0].
44435         * sysdeps/powerpc/powerpc32/dl-machine.c
44436         (__elf_machine_runtime_setup) [PROF]: Don't reference
44437         _dl_prof_resolve.
44439 2012-05-18  Andreas Jaeger  <aj@suse.de>
44441         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44442         function only available for GCCs before 3.4 since GCC 3.4
44443         introduced a builtin.
44444         (lrint): Likewise.
44445         (llrintf): Likewise.
44446         (llrint): Likewise.
44447         (fmaxf): Likewise.
44448         (fmax): Likewise.
44449         (fminf): Likewise.
44450         (fmin): Likewise.
44451         (rint): Likewise.
44452         (rintf): Likewise.
44453         (nearbyint): Likewise.
44454         (nearbyintf): Likewise.
44455         (ceil): Likewise.
44456         (ceilf): Likewise.
44457         (floor): Likewise.
44458         (floorf): Likewise.
44460 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44462         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44463         on both fields and cast pointer to __syscall_ulong_t.
44465         * bits/types.h (__fsword_t): New type.
44466         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44467         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44468         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44469         (__FSWORD_T_TYPE): Likewise.
44470         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44471         (__FSWORD_T_TYPE): Likewise.
44472         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44473         (__FSWORD_T_TYPE): Likewise.
44474         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44475         (__FSWORD_T_TYPE): Likewise.
44476         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44477         __SWORD_TYPE with __fsword_t.
44478         (statfs64): Likewise.
44480 2012-05-17  David S. Miller  <davem@davemloft.net>
44482         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44484 2012-05-17  Andreas Jaeger  <aj@suse.de>
44486         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44487         warning.
44489 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44491         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44493 2012-05-17  Andreas Jaeger  <aj@suse.de>
44495         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44496         when it is used.
44498 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
44500         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44502 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44504         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44505         * sysdeps/x86_64/tst-mallocalign1.c: New file.
44507 2012-05-17  Andreas Jaeger  <aj@suse.de>
44508             Carlos O'Donell  <carlos_odonell@mentor.com>
44510         [BZ #14059]
44511         * sysdeps/x86_64/multiarch/init-arch.h
44512         (bit_YMM_Usable): Rename to...
44513         (bit_AVX_Usable): ... this.
44514         (bit_FMA4_Usable): New macro.
44515         (bit_XMM_state): New macro.
44516         (bit_YMM_state): New macro.
44517         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
44518         [__ASSEMBLER__] (index_AVX_Usable): ... this.
44519         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
44520         (CPUID_OSXSAVE): New macro.
44521         (CPUID_AVX): New macro.
44522         (CPUID_FMA4): New macro.
44523         (index_YMM_Usable): Rename to...
44524         (index_AVX_Usable): ... this.
44525         (HAS_AVX): Use HAS_ARCH_FEATURE.
44526         (HAS_FMA4): Likewise.
44527         (HAS_YMM_USABLE): Remove.
44528         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44529         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
44530         are present.
44531         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
44532         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
44533         * sysdeps/x86_64/multiarch/Makefile: Likewise.
44534         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
44535         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
44537 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
44539         * math/libm-test.c: Support platforms without multiple rounding modes.
44540         * math/bug-nextafter.c: Support platforms without FP exceptions.
44541         * math/bug-nexttoward.c: Likewise.
44542         * math/test-fenv.c: Likewise.
44543         * math/test-misc.c: Likewise.
44544         * stdlib/bug-getcontext.c: Likewise.
44546 2012-05-17  Andreas Jaeger  <aj@suse.de>
44548         * manual/examples/search.c (critter_cmp): Change signature to
44549         avoid warnings.
44550         * manual/string.texi (Collation Functions): Likewise.
44552 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44554         * bits/types.h: Fold copyright years.
44555         * bits/typesizes.h: Likewise.
44556         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
44557         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44558         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
44559         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
44560         * time/time.h: Likewise.
44562 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
44564         [BZ #208]
44565         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
44566         in instead of returning them.  Return void.
44567         (__libc_mallinfo): Accumulate over all arenas.
44568         (__malloc_stats): Adjust for change in int_mallinfo interface.
44570 2012-05-16  Roland McGrath  <roland@hack.frob.com>
44572         [BZ #10375]
44573         * configure.in (NM): Add AC_CHECK_TOOL for it.
44574         (libc_extra_cflags): New substituted variable.
44575         Check for -fstack-protector being used implicitly.
44576         * configure: Regenerated.
44577         * config.make.in (config-extra-cflags): New variable,
44578         gets @libc_extra_cflags@.
44579         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
44581         [BZ #10375]
44582         * configure.in: Check for _FORTIFY_SOURCE being predefined.
44583         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
44584         * configure: Regenerated.
44585         * config.make.in (CPPUNDEFS): New substituted variable.
44586         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
44587         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
44588         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
44590 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44592         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
44593         (mq_attr): Use __syscall_slong_t.
44595 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44597         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
44598         Check __x86_64__ instead of __WORDSIZE.
44599         (_STAT_VER_LINUX): Likewise.
44600         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
44601         __syscall_ulong_t and __syscall_slong_t.
44602         (stat64): Likewise.
44604 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44606         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44608 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44610         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44612 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44614         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44615         __syscall_ulong_t.
44617         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44618         include <bits/wordsize.h>.  Check __x86_64__ instead of
44619         __WORDSIZE.
44620         (greg_t): Use "__extension__ long long int" if __x86_64__ is
44621         defined.
44622         (mcontext_t): Replace "unsigned long" with "unsigned long long".
44624         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44625         include <bits/wordsize.h>.  Check __x86_64__ instead of
44626         __WORDSIZE.
44627         (user_regs_struct): Use "__extension__ unsigned long long"
44628         instead of "unsigned long" if __x86_64__ is defined.
44629         (user): Likewise.  Pad after pointer field if __ILP32__ is
44630         defined.
44632 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
44634         * configure.in (makeinfo): Require version 4.5 or later.  Allow
44635         versions 5 to 9.
44636         * configure: Regenerated.
44637         * manual/install.texi (texinfo): Increase version requirement to
44638         4.5 or later.
44639         * INSTALL: Regenerated.
44641         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44643 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44645         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44647         * sysdeps/x86_64/x32/ffs.c: New file.
44649         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44650         __syscall_ulong_t.
44651         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44652         defined.  Use __syscall_ulong_t.
44653         (shminfo): Use __syscall_ulong_t.
44654         (shm_info): Likewise.
44656         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44657         __syscall_ulong_t.
44659         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44660         <bits/wordsize.h>.
44661         (msgqnum_t): Use __syscall_ulong_t.
44662         (msglen_t): Likewise.
44663         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
44664         __syscall_ulong_t.
44666         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44667         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44669         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44671         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44672         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44674         * sysvipc/sys/msg.h (msgbuf): Replace long int with
44675         __syscall_slong_t.
44677         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44678         include <bits/wordsize.h>.  Check __x86_64__ instead of
44679         __WORDSIZE.
44681         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44682         "unsigned long long int" if __x86_64__ is defined.
44683         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44685         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44686         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44687         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44689         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44690         <stdint.h>.
44691         (GET_PC): Cast to uintptr_t first.
44692         (GET_FRAME): Likewise.
44693         (GET_STACK): Likewise.
44695         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44696         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44697         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44698         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44699         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44700         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44701         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44702         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44703         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44704         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44705         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44706         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44707         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44708         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44709         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44710         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44711         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44712         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44713         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44714         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44715         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44716         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44717         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44718         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44719         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44720         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44721         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44722         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44723         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44725 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
44727         * Makerules (+depfiles): Also collect depfiles from .oS in
44728         $(extra-objs).
44729         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44730         .oS, $(libnldbl-routines)).
44732         * Makerules (native-compile-mkdep-flags): Define.
44733         * sunrpc/Makefile (extra-objs): Add $(addprefix
44734         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44735         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44736         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
44737         calling $(make-target-directory).
44739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44741         * bits/types.h (__snseconds_t): Removed.
44742         * time/time.h (struct timespec): Replace __snseconds_t with
44743         __syscall_slong_t.
44744         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44745         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44746         Likewise.
44747         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44748         (__SNSECONDS_T_TYPE): Likewise.
44749         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44750         (__SNSECONDS_T_TYPE): Likewise.
44751         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44752         (__SNSECONDS_T_TYPE): Likewise.
44754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44756         * sysdeps/mach/hurd/bits/typesizes.h
44757         (__SYSCALL_SLONG_TYPE): New macro.
44758         (__SYSCALL_ULONG_TYPE): Likewise.
44760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44762         * bits/types.h (__syscall_slong_t): New type.
44763         (__syscall_ulong_t): Likewise.
44765         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44766         (__SYSCALL_ULONG_TYPE): Likewise.
44767         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44768         (__SYSCALL_SLONG_TYPE): Likewise.
44769         (__SYSCALL_ULONG_TYPE): Likewise.
44770         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44771         (__SYSCALL_SLONG_TYPE): Likewise.
44772         (__SYSCALL_ULONG_TYPE): Likewise.
44773         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44774         (__SYSCALL_SLONG_TYPE): Likewise.
44775         (__SYSCALL_ULONG_TYPE): Likewise.
44777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44779         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44780         Add sigaltstack-offsets.sym.
44781         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44782         <sigaltstack-offsets.h>.
44783         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
44784         longjmp_msg pointer.
44785         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
44786         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44787         signal stack.
44788         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44790 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
44792         * elf/stackguard-macros.h: Remove file.
44793         * sysdeps/generic/stackguard-macros.h: New file.
44794         * sysdeps/i386/stackguard-macros.h: Likewise.
44795         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44796         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44797         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44798         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44799         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44800         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44801         * sysdeps/x86_64/stackguard-macros.h: Likewise.
44802         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44803         <elf/stackguard-macros.h>.
44805         [BZ #14109]
44806         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44807         __aligned__ in attribute.
44808         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44809         (gregset_t): Likewise.
44811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44813         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44814         * sysdeps/x86_64/64/Implies-after: Here.  New file.
44815         * sysdeps/x86_64/x32/Implies-after: New file.
44817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44819         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44820         and access return value for _dl_profile_fixup.  Use R10_LP to
44821         load frame size.
44823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44825         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44829         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44830         * sysdeps/x86_64/x32/sysdep.h: New file.
44832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44834         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44835         * sysdeps/x86_64/setjmp.S: Likewise.
44837 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44839         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44840         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44841         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44842         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44843         remove unused global constant.
44845 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
44847         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44848         include of <not-cancel.h>.
44850 2012-05-15  Roland McGrath  <roland@hack.frob.com>
44852         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44854 2012-05-15  Jeff Law  <law@redhat.com>
44855             Andreas Jaeger  <aj@suse.de>
44857         [BZ #13594]
44858         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44859         out from...
44860         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44861         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44862         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44863         code changing __hst_map_handle.map.
44865 2012-05-15  Roland McGrath  <roland@hack.frob.com>
44867         * configure.in (sysnames): Look for Implies-before and Implies-after
44868         files.
44869         * configure: Regenerated.
44871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44873         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44874         8-byte data alignment with LP_SIZE alignment.
44876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44878         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44879         into R10_LP.
44881 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44883         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44887         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44888         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44889         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44890         Likewise.
44891         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44895         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44896         (stackinfo_sub_sp): Likewise.
44898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44900         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44901         RAX_LP.
44903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44905         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44906         into R*_LP.
44908 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44910         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44911         sizes into R*_LP.
44913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44915         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44919         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44920         into R11_LP and load __x86_64_shared_cache_size_half into
44921         R8_LP.
44923 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44925         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44926         R8_LP.
44928 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44930         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44931         logb for POWER7.
44932         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44933         logbf for POWER7.
44934         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44935         logbl for POWER7.
44936         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44937         powerpc32/power7/fpu/s_logb.c via #include.
44938         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44939         powerpc32/power7/fpu/s_logbf.c via #include.
44940         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44941         powerpc32/power7/fpu/s_logbl.c via #include.
44943 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
44945         * README.libm: Remove file.
44947 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44949         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44950         count for x32.  Use R*_LP and omit operand-size suffix.
44952 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44954         * shlib-versions: Move x86_64-.*-linux.* entries to ...
44955         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
44956         * sysdeps/x86_64/x32/shlib-versions: New file.
44958 2012-05-14  Roland McGrath  <roland@hack.frob.com>
44960         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44961         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44962         Use _dl_fatal_printf instead.
44964 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44966         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44967         set if not set by the user.  Do not allow for being unset.
44968         * sysdeps/unix/sysv/linux/configure: Regenerated.
44970 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44972         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44973         the `q' suffix from lea and replace .quad with ASM_ADDR.
44975 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44977         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44978         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
44979         instead of $17.
44980         (PTR_DEMANGLE): Likewise.
44982 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44984         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44985         (LP_OP): Likewise.
44986         (ASM_ADDR): Likewise.
44987         (RAX_LP): Likewise.
44988         (RBP_LP): Likewise.
44989         (RBX_LP): Likewise.
44990         (RCX_LP): Likewise.
44991         (RDI_LP): Likewise.
44992         (RSI_LP): Likewise.
44993         (RSP_LP): Likewise.
44994         (R8_LP): Likewise.
44995         (R9_LP): Likewise.
44996         (R10_LP): Likewise.
44997         (R10_LP): Likewise.
44998         (R11_LP): Likewise.
44999         (R12_LP): Likewise.
45000         (R13_LP): Likewise.
45001         (R14_LP): Likewise.
45002         (R15_LP): Likewise.
45004 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45006         * sysdeps/x86_64/x32/dl-machine.h: New file.
45008 2012-05-14  Andreas Jaeger  <aj@suse.de>
45010         * manual/Makefile (subdir): Remove export of subdir.
45011         (all): Remove target.
45012         (.PHONY): Remove all from list.
45013         (mkinstalldirs): Remove.
45014         (.PHONY): Remove installdirs from list.
45015         ($(inst_infodir)/libc.info): Use make-target-directory.
45016         (installdirs): Remove.
45017         (subdir_%): Remove.
45018         (glibc-targets): Remove.
45019         (lib): Remove.
45020         (stubs): Remove.
45021         ($(objpfx)stubs ../po/manual.pot): Remove.
45022         ($(objpfx)stamp%): Remove.
45023         (make-target-directory): Remove.
45024         (subdir_install): Remove.
45025         (routines): Remove.
45026         (aux): Remove.
45027         (sources): Remove.
45028         (objects): Remove.
45029         (headers): Remove.
45031         [BZ #13750]
45032         * manual/.gitignore: Remove, it's not needed anymore.
45033         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45034         all files in it.
45035         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45036         directory.
45037         (texis): Renamed to $(objpfx)texis.
45038         (texis-path): New, contains path to generated files.
45039         (chapters.%): Use texis-path for complete path, add extra argument
45040         libc-texinfo.sh.
45041         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45042         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45043         (summary,texi, stamp-summary): Use complete path of
45044         files. Generate files in build dir.
45045         (dir-add.texi): Build in build dir.
45046         (libm-err.texi,stamp-libm-err): Likewise.
45047         (version.texi, stamp-version): Likewise.
45048         (.%c.texi): Likewise.
45049         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45050         (mostlyclean): Remove target.
45051         (realclean): Remove target.
45052         (generated): Add new variable with contents from mostlyclean and
45053         realclean, remove entries duplicated in common-mostlyclean, add
45054         stamp-libm-err and stamp-version.
45055         (generated-dirs): Add libc directory.
45056         ($(inst_infodir)/libc.info): Install files from build dir.
45058         * manual/install.texi (Configuring and compiling): Adjust since
45059         the info files are not part of the tar ball anymore.
45061 2012-05-14  Andreas Jaeger  <aj@suse.de>
45063         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45064         variable.
45066 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
45068         [BZ #13717]
45069         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45070         to 2.2.0 where earlier.
45071         * sysdeps/unix/sysv/linux/configure: Regenerated.
45072         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45073         Remove conditional code.
45074         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45075         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45076         Remove conditional code.
45077         [!__NR_lchown]: Likewise.
45078         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45079         [__NR_lchown]: Likewise.
45080         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45081         comment referencing __ASSUME_LCHOWN_SYSCALL.
45082         * sysdeps/unix/sysv/linux/i386/sigaction.c
45083         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45084         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45085         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45086         Remove conditional code.
45087         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45088         (__protocol_available): Remove #if 0 code.
45089         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45090         conditional code.
45091         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45092         * sysdeps/unix/sysv/linux/kernel-features.h
45093         (__ASSUME_GETCWD_SYSCALL): Don't define.
45094         (__ASSUME_REALTIME_SIGNALS): Likewise.
45095         (__ASSUME_PREAD_SYSCALL): Likewise.
45096         (__ASSUME_PWRITE_SYSCALL): Likewise.
45097         (__ASSUME_POLL_SYSCALL): Likewise.
45098         (__ASSUME_LCHOWN_SYSCALL): Likewise.
45099         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45100         non-SPARC.
45101         (__ASSUME_SIOCGIFNAME): Don't define.
45102         (__ASSUME_MSG_NOSIGNAL): Likewise.
45103         (__ASSUME_SENDFILE): Define unconditionally.
45104         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45105         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45106         conditional code.
45107         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45108         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45109         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45110         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45111         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45112         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45113         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45115         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45116         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
45118         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45119         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
45121         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45122         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
45124         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45125         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
45127         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45128         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
45130         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45131         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
45133         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45134         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
45136         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45137         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45138         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
45139         Remove conditional code.
45140         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45141         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45142         Remove conditional code.
45143         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45144         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
45145         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
45146         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45147         Remove conditional code.
45148         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45149         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
45150         Remove conditional code.
45151         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45152         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45153         Remove conditional code.
45154         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45155         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45156         Remove conditional code.
45157         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45158         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45159         Remove conditional code.
45160         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45161         * sysdeps/unix/sysv/linux/sh/pwrite64.c
45162         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45163         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45164         * sysdeps/unix/sysv/linux/sigaction.c
45165         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45166         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45167         * sysdeps/unix/sysv/linux/sigpending.c
45168         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45169         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45170         * sysdeps/unix/sysv/linux/sigprocmask.c
45171         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45172         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45173         * sysdeps/unix/sysv/linux/sigsuspend.c
45174         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45175         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45176         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45177         (__libc_missing_rt_sigs): Remove.
45178         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45179         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45180         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45181         Remove conditional code.
45182         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45183         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45184         return 1.
45185         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45186         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45187         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45188         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45190 2012-05-14  Andreas Jaeger  <aj@suse.de>
45192         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45193         it's not used in glibc.
45194         (__coshm1): Likewise.
45195         (__acosh1p): Likewise.
45196         (__sgn): Likewise.
45198         * manual/string.texi (Copying and Concatenation): Add missing
45199         variable in concat example.
45200         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45202 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45204         [BZ #14103]
45205         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45206         __builtin_clzl with __builtin_clzll.
45208 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45210         [BZ #14104]
45211         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45212         libc_freeres_ptr.
45214 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45216         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45217         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45218         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45219         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45221 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
45223         * NEWS: Update ia64 info.
45225 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
45227         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45228         used as bcopy.
45230 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
45232         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45233         * sysdeps/unix/syscalls.list (dup3): Likewise.
45234         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45235         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45237 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45239         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45240         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45242 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45244         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45245         thread pointer.
45246         (TLS_IE): Use mov/add instead of movq/addq to load thread
45247         pointer.
45248         (TLS_GD_PREFIX): New.
45249         (TLS_GD): Use it.
45251 2012-05-11  David S. Miller  <davem@davemloft.net>
45253         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45254         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45255         (_FPU_SETCW): Likewise.
45257 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45259         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45260         is 32-byte aligned.
45262 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
45264         [BZ #11837]
45265         * iconvdata/gb18030.c: Update tables.
45266         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
45267         characters specially.
45268         (BODY for TO_LOOP): Add encoding of missing ranges.
45270 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
45272         [BZ #13673]
45273         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45274         * sysdeps/mach/hurd/dup3.c: Likewise.
45275         * sysdeps/mach/hurd/readlinkat.c: Likewise.
45276         * sysdeps/powerpc/memmove.c:: Likewise.
45278 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45280         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45281         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45283 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45285         * elf/elf.h (R_X86_64_RELATIVE64): New.
45286         (R_X86_64_NUM): Updated.
45287         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45288         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
45289         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45290         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45291         tst-quad1pie tst-quad2pie
45292         (modules-names): Add tst-quadmod1 tst-quadmod2.
45293         ($(objpfx)tst-quad1): New dependency.
45294         ($(objpfx)tst-quad2): Likewise.
45295         ($(objpfx)tst-quad1pie): Likewise.
45296         ($(objpfx)tst-quad2pie): Likewise.
45297         * sysdeps/x86_64/tst-quad1.c: New file.
45298         * sysdeps/x86_64/tst-quad1pie.c: New file.
45299         * sysdeps/x86_64/tst-quad2.c: Likewise.
45300         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45301         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45302         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45303         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45304         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45306 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45308         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45309         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45310         * streams/stropts.h (t_scalar_t): Define type.
45312         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45313         (_PATH_PRESERVE): Set to "/var/lib".
45314         (_PATH_RWHODIR): Set to "/var/spool/rwho".
45316         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45317         instead of int.
45319         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45320         if __dir_mkfile succeeded.
45322         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45323         checking for _hurd_dtablesize.  Unlock it right after having
45324         finished _hurd_dtable allocation.
45326 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45328         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45329         * sysdeps/mach/hurd/configure: Regenerated.
45330         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
45331         special-casing to...
45332         * sysdeps/gnu/configure.in: ... this new file.
45333         * sysdeps/unix/sysv/linux/configure: Regenerated.
45334         * sysdeps/gnu/configure: New generated file.
45336         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
45337         for Linux: use nsec instead of usec, as well as:
45338         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
45339         members of type struct timespec.
45340         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
45341         New macros.
45342         (struct stat64): Likewise.
45343         (_STATBUF_ST_NSEC): New macro.
45344         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45346         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45347         __strtoul_internal rather than strtoul.
45349 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45351         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45352         and reject them.
45354 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45356         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45357         which preserves existing values.
45358         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45360 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45362         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45363         TIMEOUT values.  Return EINVAL for NFDS values either negative or
45364         greater than FD_SETSIZE.
45366 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45368         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45369         allocated, call __vm_protect to finish enabling the existing space, and
45370         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45371         allocate the remainder.
45373 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45375         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45376         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
45378 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45380         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45381         sysdeps/mach/hurd/readlink.c.
45383         * posix/tst-sysconf.c (posix_options): Only use
45384         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45385         _POSIX_SYNCHRONIZED_IO when they are defined
45386         * sysdeps/mach/hurd/bits/posix_opt.h:
45387         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45388         (_XOPEN_REALTIME): Undefine macro.
45389         (_XOPEN_REALTIME_THREADS): Undefine macro.
45390         (_XOPEN_SHM): Undefine macro.
45391         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45392         macro to -1.
45393         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45394         macro to -1.
45395         (_POSIX_ASYNC_IO): Undefine macro.
45396         (_POSIX_PRIORITIZED_IO): Undefine macro.
45397         (_POSIX_SPIN_LOCKS): Define macro to -1.
45399         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45400         SA_NODEFER, SA_RESETHAND.
45401         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45402         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45403         F_DUPFD_CLOEXEC.
45405 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45407         * elf/Makefile (pldd-modules): Define unconditionally.
45409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45411         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45413 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45415         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45416         Return ENOENT when name is empty.
45417         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45419 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45421         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45423         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45425 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45427         Fix mlock in all cases except non-readable pages.
45428         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45429         instead of VM_PROT_ALL as parameter to __vm_wire function.
45431         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45432         (__mkdir): When path is `/', just fail with EEXIST.
45433         * sysdeps/mach/hurd/mkdirat.c: Likewise.
45435 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45437         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45438         <sys/uio.h> (for writev).
45439         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45440         and <sys/param.h> (for MIN).
45442 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45444         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45445         REQUESTED_TIME.  Properly set the remaining time and return EINTR
45446         if interrupted.
45448 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45450         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45451         Depend on against $(link-rpcuserlibs).
45453 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45455         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45456         (__libc_stack_end): Do not use attribute_relro.
45457         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45458         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
45459         to libthread-provided value.
45460         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45461         attribute_relro.
45463 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45465         [BZ #3748]
45466         * bits/libc-lock.h (__libc_once_get): New macro.
45467         * sysdeps/mach/bits/libc-lock.h: Likewise.
45468         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45469         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45470         instead of using implementation details.
45472         * libio/fileops.c: Unconditionally include <kernel-features.h>.
45473         * libio/freopen.c: Likewise.
45474         * libio/freopen64.c: Likewise.
45475         * misc/syslog.c: Likewise.
45476         * nscd/connections.c: Likewise.
45477         * nscd/netgroupcache.c: Likewise.
45478         * sysdeps/posix/getcwd.c: Likewise.
45480 2012-05-10  Roland McGrath  <roland@hack.frob.com>
45482         * math/w_ilogbf.c: Add #include <limits.h>.
45484 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45486         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
45487         path instead of returning without unlocking.
45489         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45490         immediate-write ioctls.
45491         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45493 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45495         * sysdeps/mach/hurd/i386/init-first.c (init): Use
45496         __builtin_frame_address instead of making assumptions about the
45497         location of the return address relative to DATA.  Force early load of
45498         the return address.
45499         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45500         __builtin_frame_address.
45502         dup3 for GNU Hurd.
45503         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45504         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
45505         implement dup3 and do some further code clean-ups.
45506         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45507         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45509 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45511         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45513         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45514         HURD_CRITICAL_END around holding _hurd_dtable_lock.
45515         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
45516         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
45517         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
45518         d->port.lock.
45520         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
45521         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
45522         when handler == SIG_ERR, not when handler != SIG_ERR.
45524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45526         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
45527         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
45528         definitions.
45530         accept4 for GNU Hurd.
45531         * include/sys/socket.h (__libc_accept4): New prototype.
45532         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
45533         to implement __libc_accept4.
45534         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
45535         __libc_accept4.
45536         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
45538         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
45539         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
45540         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
45541         signal-defines.sym.
45543 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45545         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
45547 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45549         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
45550         assertion on O_CLOEXEC flag.
45551         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
45552         * hurd/intern-fd.c: Likewise.
45553         * hurd/port2fd.c: Likewise.
45555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45557         [BZ #3906]
45558         * bits/in.h (IPV6_PKTINFO): Define new macro.
45559         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
45561 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45563         [BZ #13954]
45564         [BZ #13955]
45565         [BZ #13956]
45566         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
45567         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45568         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
45569         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45570         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45571         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45572         * math/libm-test.inc (logb_test) : Additional logb tests.
45574 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
45575             Andreas Jaeger  <aj@suse.de>
45577         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
45578         * configure: Regenerated.
45579         * config.h.in (LINK_OBSOLETE_RPC): New macro.
45580         * config.make.in (link-obsolete-rpc): New substituted variable.
45581         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
45582         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
45583         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45584         (shared-only-routines): Don't set it under [link-obsolete-rpc],
45585         so that libc.a contains the symbols.
45586         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45587         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
45588         * sunrpc/auth_none.c: Likewise.
45589         * sunrpc/auth_unix.c: Likewise.
45590         * sunrpc/authdes_prot.c: Likewise.
45591         * sunrpc/authuxprot.c: Likewise.
45592         * sunrpc/clnt_gen.c: Likewise.
45593         * sunrpc/clnt_perr.c: Likewise.
45594         * sunrpc/clnt_raw.c: Likewise.
45595         * sunrpc/clnt_simp.c: Likewise.
45596         * sunrpc/clnt_tcp.c: Likewise.
45597         * sunrpc/clnt_udp.c: Likewise.
45598         * sunrpc/clnt_unix.c: Likewise.
45599         * sunrpc/des_crypt.c: Likewise.
45600         * sunrpc/des_soft.c: Likewise.
45601         * sunrpc/get_myaddr.c: Likewise.
45602         * sunrpc/key_call.c: Likewise.
45603         * sunrpc/key_prot.c: Likewise.
45604         * sunrpc/netname.c: Likewise.
45605         * sunrpc/pm_getmaps.c: Likewise.
45606         * sunrpc/pm_getport.c: Likewise.
45607         * sunrpc/pmap_clnt.c: Likewise.
45608         * sunrpc/pmap_prot.c: Likewise.
45609         * sunrpc/pmap_prot2.c: Likewise.
45610         * sunrpc/pmap_rmt.c: Likewise.
45611         * sunrpc/publickey.c: Likewise.
45612         * sunrpc/rpc_cmsg.c: Likewise.
45613         * sunrpc/rpc_common.c: Likewise.
45614         * sunrpc/rpc_dtable.c: Likewise.
45615         * sunrpc/rpc_prot.c: Likewise.
45616         * sunrpc/rpc_thread.c: Likewise.
45617         * sunrpc/rtime.c: Likewise.
45618         * sunrpc/svc.c: Likewise.
45619         * sunrpc/svc_auth.c: Likewise.
45620         * sunrpc/svc_raw.c: Likewise.
45621         * sunrpc/svc_run.c: Likewise.
45622         * sunrpc/svc_tcp.c: Likewise.
45623         * sunrpc/svc_udp.c: Likewise.
45624         * sunrpc/svc_unix.c: Likewise.
45625         * sunrpc/svcauth_des.c: Likewise.
45626         * sunrpc/xcrypt.c: Likewise.
45627         * sunrpc/xdr.c: Likewise.
45628         * sunrpc/xdr_array.c: Likewise.
45629         * sunrpc/xdr_float.c: Likewise.
45630         * sunrpc/xdr_intXX_t.c: Likewise.
45631         * sunrpc/xdr_mem.c: Likewise.
45632         * sunrpc/xdr_rec.c: Likewise.
45633         * sunrpc/xdr_ref.c: Likewise.
45634         * sunrpc/xdr_sizeof.c: Likewise.
45635         * sunrpc/xdr_stdio.c: Likewise.
45637 2012-05-10  Roland McGrath  <roland@hack.frob.com>
45639         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45640         change.  Update copyright years.
45642 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
45644         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45646 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
45647             Joseph Myers  <joseph@codesourcery.com>
45648             Paul Pluzhnikov  <ppluzhnikov@google.com>
45650         [BZ #14012]
45651         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45652         requiring rpcgen.
45653         [cross-compiling] (extra-libs): Likewise.
45654         [cross-compiling] (extra-libs-others): Likewise.
45655         [cross-compiling] (librpcsvc-routines): Likewise.
45656         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45657         [cross-compiling] (omit-deps): Likewise.
45658         (sunrpc-CPPFLAGS): New variable.
45659         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45660         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45661         (cross-rpcgen-objs): New variable.
45662         (extra-objs): Append $(cross-rpcgen-objs).
45663         ($(cross-rpcgen-objs)): New rule.
45664         ($(objpfx)cross-rpcgen): Likewise.
45665         (rpcgen-cmd): Define to use $(built-program-file).  Expand
45666         comment.
45667         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45668         ($(objpfx)x%.stmp): Likewise.
45669         * sunrpc/proto.h [IS_IN_build] (_): Define.
45670         [IS_IN_build] (_libc_intl_domainname): Likewise.
45672 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45674         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45675         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45676         and R_X86_64_TPOFF64.
45678 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
45680         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45681         sysdeps/unix/sysv/syscalls.list.
45682         (stime): Likewise.
45683         (utime): Likewise.
45684         * sysdeps/unix/sysv/syscalls.list: Remove file.
45686 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
45688         [BZ #3440]
45689         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45690         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45691         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45692         (__LC_IDENTIFICATION): Make these macros useful in #if
45693         expressions, as required by C99.
45695 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
45697         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45698         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
45699         after this.
45701 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
45703         * stdlib/longlong.h: Updated from GCC.
45705 2012-05-09  Andreas Jaeger  <aj@suse.de>
45707         * nscd/nscd.c (run_modes): Make named enum, reorder so that
45708         default is first entry.
45709         (run_mode): Set type.
45710         (main): Remove informal message about syslog.
45711         (options): Fix typo.
45713         [BZ #14053]
45714         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
45715         to asm.
45716         (lrint): Likewise.
45717         (llrintf): Likewise.
45718         (llrint): Likewise.
45719         (rint): Likewise.
45720         (rintf): Likewise.
45721         (nearbyint): Likewise.
45722         (nearbyintf): Likewise.
45724 2012-05-09  Andreas Jaeger  <aj@suse.de>
45725             Pedro Alves  <palves@redhat.com>
45727         * nscd/nscd.c (run_mode): Use enum.
45728         (main): Cleanup coding style issue.
45730 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
45731             Andreas Jaeger  <aj@suse.de>
45733         * nscd/nscd.c (go_background): Replaced with...
45734         (run_mode): ... this.
45735         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
45736         (options): Add -F --foreground.
45737         (main): Implement it.
45738         (parse_opt): Parse it.
45740 2012-05-09  Andreas Jaeger  <aj@suse.de>
45742         [BZ #14083]
45743         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45744         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45745         -Wconversion warning.
45746         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45747         Likewise.
45749 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
45751         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
45752         == 0.
45753         (LC_ALL): Use macro-int-constant.
45754         (LC_COLLATE): Likewise.
45755         (LC_CTYPE): Likewise.
45756         (LC_MESSAGES): Likewise.
45757         (LC_MONETARY): Likewise.
45758         (LC_NUMERIC): Likewise.
45759         (LC_TIME): Likewise.
45760         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45761         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45762         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45763         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45764         Specify type.
45765         [C99-based standards] (float_t): Expect type.
45766         [C99-based standards] (double_t): Expect type.
45767         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
45768         type.
45769         [C99-based standards] (HUGE_VALL): Likewise.
45770         [C99-based standards] (INFINITY): Likewise.
45771         [C99-based standards] (NAN): Likewise.
45772         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45773         [C99-based standards] (FP_NAN): Likewise.
45774         [C99-based standards] (FP_NORMAL): Likewise.
45775         [C99-based standards] (FP_SUBNORMAL): Likewise.
45776         [C99-based standards] (FP_ZERO): Likewise.
45777         [C99-based standards] (FP_FAST_FMA): Use
45778         optional-macro-int-constant.  Specify type.  Require == 1.
45779         [C99-based standards] (FP_FAST_FMAF): Likewise.
45780         [C99-based standards] (FP_FAST_FMAL): Likewise.
45781         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45782         [C99-based standards] (FP_ILOGBNAN): Likewise.
45783         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45784         Specify type.
45785         [C99-based standards] (MATH_ERREXCEPT): Likewise.
45786         [C99-based standards] (math_errhandling): Specify type.
45787         [ISO99 || ISO11] (signgam): Do not allow.
45788         [non-C99-based standards] (copysignf): Do not allow.
45789         [non-C99-based standards] (exp2f): Likewise.
45790         [non-C99-based standards] (log2f): Likewise.
45791         [non-C99-based standards] (modff): Allow.
45792         [non-C99-based standards] (erff): Do not allow.
45793         [non-C99-based standards] (erfcf): Likewise.
45794         [non-C99-based standards] (gammaf): Likewise.
45795         [non-C99-based standards] (hypotf): Likewise.
45796         [non-C99-based standards] (j0f): Likewise.
45797         [non-C99-based standards] (j1f): Likewise.
45798         [non-C99-based standards] (jnf): Likewise.
45799         [non-C99-based standards] (lgammaf): Likewise.
45800         [non-C99-based standards] (tgammaf): Likewise.
45801         [non-C99-based standards] (y0f): Likewise.
45802         [non-C99-based standards] (y1f): Likewise.
45803         [non-C99-based standards] (ynf): Likewise.
45804         [non-C99-based standards] (isnanf): Likewise.
45805         [non-C99-based standards] (acoshf): Likewise.
45806         [non-C99-based standards] (asinhf): Likewise.
45807         [non-C99-based standards] (atanhf): Likewise.
45808         [non-C99-based standards] (cbrtf): Likewise.
45809         [non-C99-based standards] (expm1f): Likewise.
45810         [non-C99-based standards] (ilogbf): Likewise.
45811         [non-C99-based standards] (log1pf): Likewise.
45812         [non-C99-based standards] (logbf): Likewise.
45813         [non-C99-based standards] (nextafterf): Likewise.
45814         [non-C99-based standards] (remainderf): Likewise.
45815         [non-C99-based standards] (rintf): Likewise.
45816         [non-C99-based standards] (scalbf): Likewise.
45817         [non-C99-based standards] (copysignl): Likewise.
45818         [non-C99-based standards] (exp2l): Likewise.
45819         [non-C99-based standards] (log2l): Likewise.
45820         [non-C99-based standards] (modfl): Allow.
45821         [non-C99-based standards] (erfl): Do not allow.
45822         [non-C99-based standards] (erfcl): Likewise.
45823         [non-C99-based standards] (gammal): Likewise.
45824         [non-C99-based standards] (hypotl): Likewise.
45825         [non-C99-based standards] (j0l): Likewise.
45826         [non-C99-based standards] (j1l): Likewise.
45827         [non-C99-based standards] (jnl): Likewise.
45828         [non-C99-based standards] (lgammal): Likewise.
45829         [non-C99-based standards] (tgammal): Likewise.
45830         [non-C99-based standards] (y0l): Likewise.
45831         [non-C99-based standards] (y1l): Likewise.
45832         [non-C99-based standards] (ynl): Likewise.
45833         [non-C99-based standards] (isnanl): Likewise.
45834         [non-C99-based standards] (acoshl): Likewise.
45835         [non-C99-based standards] (asinhl): Likewise.
45836         [non-C99-based standards] (atanhl): Likewise.
45837         [non-C99-based standards] (cbrtl): Likewise.
45838         [non-C99-based standards] (expm1l): Likewise.
45839         [non-C99-based standards] (ilogbl): Likewise.
45840         [non-C99-based standards] (log1pl): Likewise.
45841         [non-C99-based standards] (logbl): Likewise.
45842         [non-C99-based standards] (nextafterl): Likewise.
45843         [non-C99-based standards] (remainderl): Likewise.
45844         [non-C99-based standards] (rintl): Likewise.
45845         [non-C99-based standards] (scalbl): Likewise.
45846         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45847         [non-C99-based standards] (FP_*): Do not allow.
45848         [C99-based standards] (FP_*): Change to
45849         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45850         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45851         allow.
45852         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45853         (SIG_ERR): Likewise.
45854         [X/Open-based standards] (SIG_HOLD): Likewise.
45855         (SIG_IGN): Likewise.
45856         (SIGABRT): Use macro-int-constant.  Specify type.  Require
45857         positive value.
45858         (SIGFPE): Likewise.
45859         (SIGILL): Likewise.
45860         (SIGINT): Likewise.
45861         (SIGSEGV): Likewise.
45862         (SIGTER): Likewise.
45863         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45864         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45865         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45866         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45867         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45868         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45869         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45870         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45871         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45872         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45873         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45874         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45875         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45876         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45877         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45878         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45879         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45880         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45881         [X/Open-based standards] (SIGTRAP): Likewise.
45882         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45883         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45884         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45885         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45886         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45887         allow.
45889 2012-05-08  Ian Wienand  <ianw@vmware.com>
45891         [BZ #14080]
45892         * time/tzset.c (__tzset_parse_tz): Update default rules for
45893         daylight time changes in the Energy Policy Act of 2005.
45895 2012-05-09  Andreas Jaeger  <aj@suse.de>
45897         [BZ #13983]
45898         * elf/ldconfig.c (parse_conf): Change string to make clear that
45899         ldconfig only issued a warning if ld.so.conf does not exist.
45901 2012-05-08  David S. Miller  <davem@davemloft.net>
45903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45904         movxtod instead of popping the value on the stack.
45906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45908 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
45910         * config.h.in: Add HAVE_ARM_PCS_VFP.
45912 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
45914         [BZ #13979]
45915         * include/features.h: Warn if user requests __FORTIFY_SOURCE
45916         checking but the checks are disabled for any reason.
45918 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
45920         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45921         and ELF64_R_TYPE with ELFW(R_TYPE).
45923 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
45925         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45926         (ulimit): Likewise.
45928         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45929         (settimeofday): Likewise.
45931 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
45933         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
45934         a struct th_u2 inside the union, and move tu_block/tu_code into
45935         a new th_u3 union of tu_block/tu_code inside of that.  Move
45936         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
45937         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
45938         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45939         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45940         (th_stuff): Change to th_u1.tu_stuff.
45941         (th_data): Define.
45942         (th_msg): Change to th_u1.th_u2.tu_data.
45944 2012-05-07  David S. Miller  <davem@davemloft.net>
45946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45948         [BZ #14074]
45949         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45950         (SETUP_PIC_REG): Use it.
45951         (SETUP_PIC_REG_LEAF): Use it.
45953 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
45955         [BZ #13885]
45956         [BZ #13923]
45957         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45958         USE_AS_EXPM1L.
45959         (EXPL_FINITE): Likewise.
45960         (FLDLOG): Likewise.
45961         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45962         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45963         e_expl.S.
45964         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45965         USE_AS_EXPM1L.
45966         (EXPL_FINITE): Likewise.
45967         (FLDLOG): Likewise.
45968         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45969         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45970         e_expl.S.
45971         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
45972         test of -max_value argument for long double.
45973         * sysdeps/i386/fpu/libm-test-ulps: Update.
45974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45976 2012-05-06  David S. Miller  <davem@davemloft.net>
45978         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45979         quad soft-float symbols whose references which are compiler
45980         generated.
45981         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45983 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
45985         [BZ #13884]
45986         [BZ #13914]
45987         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45988         USE_AS_EXP10L.
45989         (EXPL_FINITE): Likewise.
45990         (FLDLOG): Likewise.
45991         (c0): Likewise.
45992         (c1): Likewise.
45993         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
45994         Adjust comments for base varying.
45995         (__expl_finite): Change alias to EXPL_FINITE.
45996         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45997         e_expl.S.
45998         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45999         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46000         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46001         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46002         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46003         USE_AS_EXP10L.
46004         (EXPL_FINITE): Likewise.
46005         (FLDLOG): Likewise.
46006         (c0): Likewise.
46007         (c1): Likewise.
46008         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
46009         Adjust comments for base varying.
46010         (__expl_finite): Change alias to EXPL_FINITE.
46011         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
46012         tests for bugs.
46013         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46015         [BZ #14064]
46016         * math/libm-test.inc (check_float_internal): Correct ulp
46017         calculation for subnormal expected results.
46019 2012-05-06  Andreas Jaeger  <aj@suse.de>
46021         * Makeconfig (+math-flags): New, set to -frounding-math.
46022         (+cflags): Add +math-flags so that all of glibc gets compiled with
46023         it.
46025         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46027 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
46029         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46030         Disable one test.
46032         [BZ #13787]
46033         [BZ #13922]
46034         [BZ #14036]
46035         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46036         (__ieee754_expl): Allow for and saturate large arguments.
46037         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46038         (u_threshold): Likewise.
46039         (__exp): Call __ieee754_exp before checking for overflow and
46040         underflow.
46041         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46042         (u_threshold): Likewise.
46043         (__expf): Call __ieee754_expf before checking for overflow and
46044         underflow.
46045         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46046         (u_threshold): Likewise.
46047         (__expl): Call __ieee754_expl before checking for overflow and
46048         underflow.
46049         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46050         (__ieee754_expl): Allow for and saturate large arguments.
46051         * math/libm-test.inc (exp_test): Add another test.  Do not allow
46052         missing overflow exception on overflow.
46053         (expm1_test): Do not allow missing overflow exception on overflow.
46055         * sysdeps/i386/fpu/e_expl.c: Move to ...
46056         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
46057         rather than using inline asm.
46058         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46059         * sysdeps/x86_64/fpu/e_expl.S: Copy from
46060         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46062         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46063         (nice): Likewise.
46064         (poll): Likewise.
46065         (signal): Likewise.
46066         (time): Likewise.
46067         (times): Likewise.
46069 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46071         * sysdeps/unix/syscalls.list (adjtime): Add entry from
46072         sysdeps/unix/common/syscalls.list.
46073         (fchmod): Likewise.
46074         (fchown): Likewise.
46075         (ftruncate): Likewise.
46076         (getrusage): Likewise.
46077         (gettimeofday): Likewise.
46078         (setpgid): Likewise.
46079         (setregid): Likewise.
46080         (setreuid): Likewise.
46081         (sigaction): Likewise.
46082         (truncate): Likewise.
46083         (vhangup): Likewise.
46084         * sysdeps/unix/common/syscalls.list: Remove file.
46085         * sysdeps/unix/bsd/Implies: Don't include unix/common.
46086         * sysdeps/unix/sysv/linux/Implies: Likewise.
46088 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
46090         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46092         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46093         Moved to ...
46094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46095         Here.
46096         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46097         to ...
46098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46099         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46100         to ...
46101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46102         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46103         to ...
46104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46105         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46106         to ...
46107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46108         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46109         to ...
46110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46111         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46112         to ...
46113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46114         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46115         to ...
46116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46117         Here.
46118         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
46119         to ...
46120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
46121         Here.
46122         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
46123         to ...
46124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
46125         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
46126         Moved to ...
46127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
46128         Here.
46129         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
46130         to ...
46131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
46133 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46135         * sysdeps/unix/common/bits/dirent.h: Remove file.
46136         * sysdeps/unix/common/bits/fcntl.h: Likewise.
46138         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
46139         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
46140         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
46141         * sysdeps/unix/bsd/isatty.c: Likewise.
46142         * sysdeps/unix/bsd/tcdrain.c: Likewise.
46143         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
46144         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
46146 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46148         [BZ #13563]
46149         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
46150         long double comparison inaccuracies.
46151         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46154 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
46156         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46157         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46159 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46161         [BZ #14049]
46162         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46163         nonzero digits before rounding a hex value.
46164         * stdlib/tst-strtod.c (tests): Add another test.
46166 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46168         * sysdeps/s390/fpu/libm-test-ulps: Update.
46170 2012-05-03  Andreas Jaeger  <aj@suse.de>
46172         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46173         does not get optimized out.
46174         (malloc_opt_barrier): New.
46176 2012-05-03  Andreas Jaeger  <aj@suse.de>
46177             Roland McGrath  <roland@hack.frob.com>
46179         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
46180         intermediate file deletion.
46181         (generated): Add .symlist files.
46183 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
46185         [BZ #13775]
46186         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46187         Redirect under this condition.
46188         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46189         [__USE_GNU] (__dprintf_chk): Not under this condition.
46190         [__USE_GNU] (__vdprintf_chk): Likewise.
46191         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46192         under this condition.
46193         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46194         [__USE_XOPEN2K8] (dprintf): Define under this condition.
46195         [__USE_XOPEN2K8] (vdprintf): Likewise.
46196         [__USE_GNU] (__dprintf_chk): Not under this condition.
46197         [__USE_GNU] (__vdprintf_chk): Likewise.
46198         [__USE_GNU] (dprintf): Likewise.
46199         [__USE_GNU] (vdprintf): Likewise.
46201 2012-05-03  Roland McGrath  <roland@hack.frob.com>
46203         * elf/Makefile (common-generated): Set this instead of generated for
46204         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
46205         $(all-built-dso)-derived lists.
46207 2012-05-03  Andreas Jaeger  <aj@suse.de>
46209         * sysdeps/i386/fpu/libm-test-ulps: Update.
46211         * FAQ: Removed.
46212         * FAQ.in: Likewise.
46213         * scripts/gen-FAQ.pl: Likewise.
46214         * manual/install.texi (Installation): Point to online location of
46215         FAQ.
46216         * Makefile (files-for-dist): Remove FAQ.
46217         (FAQ): Remove.
46219 2012-05-02  Allan McRae  <allan@archlinux.org>
46221         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46222         (LDFLAGS-reldepmod5.so): Likewise.
46223         (LDFLAGS-reldep6mod1.so): Likewise.
46224         (LDFLAGS-reldep6mod4.so): Likewise.
46225         (LDFLAGS-reldep8mod3.so): Likewise.
46226         (LDFLAGS-unload4mod1.so): Likewise.
46227         (LDFLAGS-unload4mod2.so): Likewise.
46228         (LDFLAGS-tst-initorder): Likewise.
46229         (LDFLAGS-tst-initordera2.so): Likewise.
46230         (LDFLAGS-tst-initordera3.so): Likewise.
46231         (LDFLAGS-tst-initordera4.so): Likewise.
46232         (LDFLAGS-tst-initorderb2.so): Likewise.
46233         (LDFLAGS-noload): Likewise.
46234         (LDFLAGS-next): Likewise.
46235         (LDFLAGS-order2mod1.so): Likewise.
46236         (LDFLAGS-order2mod2.so): Likewise.
46237         (LDFLAGS-tst-initorder2): Likewise.
46238         (LDFLAGS-tst-initorder2a.so): Likewise.
46239         (LDFLAGS-tst-initorder2b.so): Likewise.
46240         (LDFLAGS-tst-initorder2c.so): Likewise.
46241         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46243 2012-05-02  David S. Miller  <davem@davemloft.net>
46245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46247 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
46249         [BZ #14055]
46250         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46252 2012-05-02  Andreas Jaeger  <aj@suse.de>
46254         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46255         since we manipulate rounding mode.
46256         (CPPFLAGS-test-idouble.c): Likewise.
46257         (CPPFLAGS-test-ifloat.c): Likewise.
46258         (CFLAGS-test-ldouble.c): Likewise.
46259         (CFLAGS-test-double.c): Likewise.
46260         (CFLAGS-test-float.c): Likewise.
46261         (CFLAGS-test-misc.c): Likewise.
46262         (CFLAGS-test-test-fenv.c): Likewise.
46264 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46266         [BZ #2550]
46267         [BZ #2570]
46268         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46269         comparisons to determine direction to adjust input.
46271 2012-05-01  Roland McGrath  <roland@hack.frob.com>
46273         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46274         output to the target.
46276         * scripts/localplt.awk: New file.
46277         * elf/Makefile ($(objpfx)check-localplt): Target removed.
46278         (check-localplt-CFLAGS): Variable removed.
46279         ($(all-built-dso:=.jmprel)): New static pattern rule.
46280         (generated): Add those targets.
46281         (localplt-built-dso): New variable.
46282         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46284         * elf/check-localplt.c: File removed.
46286         * scripts/check-execstack.awk: New file.
46287         * elf/Makefile ($(objpfx)check-execstack): Target removed.
46288         (check-execstack-CFLAGS): Variable removed.
46289         ($(objpfx)check-execstack.h): Target removed.
46290         ($(objpfx)execstack-default): New target.
46291         (generated): Add that instead of check-execstack.h.
46292         ($(all-built-dso:=.phdr)): New static pattern rule.
46293         (generated): Add those targets.
46294         * elf/check-execstack.c: File removed.
46296         * scripts/check-textrel.awk: New file.
46297         * elf/Makefile ($(objpfx)check-textrel): Target removed.
46298         (check-textrel-CFLAGS): Variable removed.
46299         (all-built-dso): Use := to define.o
46300         ($(all-built-dso:=.dyn)): New static pattern rule.
46301         (generated): Add those targets.
46302         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46303         * config.make.in (READELF): New substituted variable.
46304         * elf/check-textrel.c: File removed.
46306 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
46308         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46309         allow.
46310         * conform/data/ctype.h-data [C99-based standards] (isblank):
46311         Expect function.
46312         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46313         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46314         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46315         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46316         Specify type.  Require positive value.
46317         (EILSEQ): Likewise.
46318         (ERANGE): Likewise.
46319         [ISO || POSIX] (EILSEQ): Do not expect.
46320         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46321         Specify type.  Require positive value.
46322         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46323         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46324         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46325         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46326         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46327         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46328         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46329         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
46330         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
46331         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
46332         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
46333         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
46334         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
46335         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
46336         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
46337         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
46338         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
46339         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
46340         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
46341         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46342         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46343         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46344         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46345         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46346         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46347         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46348         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46349         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46350         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46351         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46352         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46353         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46354         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46355         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46356         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46357         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46358         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46359         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46360         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46361         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46362         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46363         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46364         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46365         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46366         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46367         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46368         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46369         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46370         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46371         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46372         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46373         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46374         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46375         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46376         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46377         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46378         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46379         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46380         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46381         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46382         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46383         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46384         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46385         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46386         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46387         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46388         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46389         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46390         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46391         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46392         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46393         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46394         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46395         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46396         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46397         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46398         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46399         Require >= 2.
46400         (FLT_ROUNDS): Expect as macro, not constant.
46401         (FLT_MANT_DIG): Use macro-int-constant.
46402         (DBL_MANT_DIG): Likewise.
46403         (LDBL_MANT_DIG): Likewise.
46404         (FLT_DIG): Likewise.
46405         (DBL_DIG): Likewise.
46406         (LDBL_DIG): Likewise.
46407         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
46408         (DBL_MIN_EXP): Likewise.
46409         (LDBL_MIN_EXP): Likewise.
46410         (FLT_MAX_EXP): Use macro-int-constant.
46411         (DBL_MAX_EXP): Likewise.
46412         (LDBL_MAX_EXP): Likewise.
46413         (FLT_MAX_10_EXP): Likewise.
46414         (DBL_MAX_10_EXP): Likewise.
46415         (LDBL_MAX_10_EXP): Likewise.
46416         (FLT_MAX): Use macro-constant.
46417         (DBL_MAX): Likewise.
46418         (LDBL_MAX): Likewise.
46419         (FLT_EPSILON): Use macro-constant.  Give upper bound.
46420         (DBL_EPSILON): Likewise.
46421         (LDBL_EPSILON): Likewise.
46422         (FLT_MIN): Likewise.
46423         (DBL_MIN): Likewise.
46424         (LDBL_MIN): Likewise.
46425         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46426         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46427         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46428         [ISO11] (FLT_HAS_SUBNORM): Likewise.
46429         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46430         [ISO11] (DBL_DECIMAL_DIG): Likewise.
46431         [ISO11] (FLT_DECIMAL_DIG): Likewise.
46432         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46433         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46434         [ISO11] (FLT_TRUE_MIN): Likewise.
46435         [ISO11] (LDBL_TRUE_MIN): Likewise.
46436         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46437         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46438         (SCHAR_MIN): Use macro-int-constant.  Specify type.
46439         (SCHAR_MAX): Likewise.
46440         (UCHAR_MAX): Likewise.
46441         (CHAR_MIN): Likewise.
46442         (CHAR_MAX): Likewise.
46443         (MB_LEN_MAX): Use macro-int-constant.
46444         (SHRT_MIN): Use macro-int-constant.  Specify type.
46445         (SHRT_MAX): Likewise.
46446         (USHRT_MAX): Likewise.
46447         (INT_MAX): Likewise.
46448         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
46449         bound negative.
46450         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46451         bound with "U".
46452         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46453         bound with "L".
46454         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
46455         bound negative.  Suffix upper bound with "L".
46456         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46457         bound with "UL".
46458         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46459         Specify type.
46460         [C99-based standards] (LLONG_MAX): Likewise.
46461         [C99-based standards] (ULLONG_MAX): Likewise.
46462         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
46463         == 0.
46464         [ISO11] (max_align_t): Require type.
46465         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46467         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46468         from $CFLAGS, without defining away __attribute__ calls.
46469         (checknamespace): Use $CFLAGS_namespace.
46471         * conform/conformtest.pl (@keywords): Only include C99 keywords
46472         for standards based on C99 or C11.
46474         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46475         Disable tests.
46476         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46477         UNIX98]: Likewise.
46479         * conform/conformtest.pl: Handle "macro-int-constant" and test for
46480         usability of symbols in #if.
46482         * conform/conformtest.pl: If macro or constant types start
46483         "promoted:", expect the symbol to be of the following type
46484         promoted by the integer promotions.
46486         * conform/conformtest.pl: Parse all "constant" and "macro" lines
46487         in one place.  Also handle "macro-constant".
46489         * conform/conformtest.pl: Only accept expected macro values with
46490         "==".  Parse all "macro" lines in one place.
46491         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46493         * conform/conformtest.pl: Handle braced types on "constant" lines
46494         instead of handling "typed-constant".
46495         * conform/data/signal.h-data: Use "constant" instead of
46496         "typed-constant".
46498         * conform/conformtest.pl: Handle "optional-" at start of lines in
46499         one place rather than duplicating several cases.  Handle each
46500         format of "macro" line with initial "optional-".
46502         * conform/conformtest.pl: Only accept expected constant or
46503         optional-constant values with "==".  Parse all "constant" lines in
46504         one place.  Parse all "optional-constant" lines in one place.
46505         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46506         * conform/data/fmtmsg.h-data: Likewise.
46507         * conform/data/netinet/in.h-data: Likewise.
46508         * conform/data/tar.h-data: Likewise.
46509         * conform/data/limits.h-data: Use "==" form on "constant" and
46510         "optional-constant" lines.
46512         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46513         Use -std=c99 for XOPEN2K.
46514         (@knownproblems): Remove.
46515         (newtoken): Don't check %isknown.
46517         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
46518         Do not expect macro.
46519         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
46520         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
46521         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46522         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
46523         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
46524         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46525         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
46526         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
46527         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
46528         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
46529         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
46530         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
46531         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
46532         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
46533         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
46534         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
46535         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
46536         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
46537         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
46538         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
46539         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
46540         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
46541         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
46542         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
46543         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
46544         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46545         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
46546         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
46547         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
46548         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
46549         [XPG3] (acosh): Likewise.
46550         [XPG3] (asinh): Likewise.
46551         [XPG3] (atanh): Likewise.
46552         [XPG3] (cbrt): Likewise.
46553         [XPG3] (expm1): Likewise.
46554         [XPG3] (ilogb): Likewise.
46555         [XPG3] (log1p): Likewise.
46556         [XPG3] (logb): Likewise.
46557         [XPG3] (nextafter): Likewise.
46558         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
46559         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
46560         [XPG3] (remainder): Likewise.
46561         [XPG3] (rint): Likewise.
46562         [XPG3 || XPG4 || UNIX98] (round): Likewise.
46563         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
46564         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
46565         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
46566         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
46567         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
46568         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
46569         [UNIX98 || XOPEN2K] (scalb): Expect.
46570         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
46571         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
46572         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
46573         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
46574         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
46575         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
46576         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
46577         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
46578         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
46579         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
46580         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
46581         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
46582         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
46583         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
46584         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
46585         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
46586         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
46587         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
46588         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
46589         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
46590         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
46591         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
46592         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
46593         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
46594         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
46595         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
46596         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
46597         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
46598         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
46599         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
46600         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
46601         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
46602         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46603         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46604         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46605         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46606         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46607         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46608         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46609         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46610         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46611         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46612         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46613         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46614         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46615         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46616         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46617         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46618         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46619         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46620         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46621         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46622         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46623         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46624         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46625         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46626         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46627         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46628         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46629         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46630         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46631         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46632         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46633         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46634         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46635         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46636         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46637         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46638         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46639         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46640         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46641         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46642         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46643         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46644         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46645         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46646         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46647         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46648         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46649         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46650         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46651         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46652         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46653         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46654         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46655         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46656         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46657         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46658         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46659         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46660         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46661         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46662         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46663         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46664         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46665         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46666         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46667         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46668         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46669         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46670         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46671         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46672         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46673         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46674         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46675         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46676         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46677         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46678         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46679         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46680         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46681         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46682         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46683         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46684         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46685         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46686         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46687         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46688         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46689         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46690         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46691         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46692         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46693         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46694         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46695         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46696         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46697         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46698         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46699         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46700         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46701         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46702         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46703         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46704         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46705         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46706         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46708         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46709         _XOPEN_SOURCE_EXTENDED for XPG4.
46711         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46713         * Makeconfig (localtime): Remove variable.
46714         (inst_localtime-file): Likewise.
46716 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46719         Update.
46720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46721         Update.
46722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46723         Update.
46724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46725         Update.
46726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46727         Update.
46728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46729         Update.
46730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46731         Update.
46732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46733         Update.
46734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46735         Update.
46737 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
46739         [BZ #2550]
46740         [BZ #2570]
46741         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46742         comparisons to determine direction to adjust input.
46743         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46744         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46745         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46746         Likewise.
46747         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46748         Likewise.
46749         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46750         Likewise.
46751         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46752         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46753         Likewise.
46754         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46755         Likewise.
46756         * math/libm-test.inc (nexttoward_test): Add more tests.
46758 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46760         [BZ #14040]
46761         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46762         in version GLIBC_2.1, not GLIBC_2.0.
46763         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46764         Likewise.
46766 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
46768         [BZ #13942]
46769         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46770         (1 - x) * (1 + x).
46771         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46772         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46773         * math/libm-test.inc (acos_test): Add more tests.
46774         (asin_test): Likewise.
46775         * sysdeps/i386/fpu/libm-test-ulps: Update.
46776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46778         [BZ #14034]
46779         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46780         of square root.
46781         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46782         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46783         * math/libm-test.inc (acos_test_tonearest): New function.
46784         (acos_test_towardzero): Likewise.
46785         (acos_test_downward): Likewise.
46786         (acos_test_upward): Likewise.
46787         (asin_test_tonearest): Likewise.
46788         (asin_test_towardzero): Likewise.
46789         (asin_test_downward): Likewise.
46790         (asin_test_upward): Likewise.
46791         (main): Call the new functions.
46792         * sysdeps/i386/fpu/libm-test-ulps: Update.
46793         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46795         [BZ #13884]
46796         [BZ #13924]
46797         * math/e_exp10.c: Include <float.h>.
46798         (__ieee754_exp10): Handle underflow here rather than multiplying
46799         large negative argument by M_LN10.
46800         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46801         of __ieee754_expf.
46802         * math/e_exp10l.c: Include <float.h>.
46803         (__ieee754_exp10l): Handle underflow here rather than multiplying
46804         large negative argument by M_LN10l.
46805         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
46806         spurious overflow exception on underflow.
46808 2012-04-29  Marek Polacek  <polacek@redhat.com>
46810         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46811         (__fortify_function): New macro.
46812         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46813         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46814         __extern_always_inline.
46815         * libio/bits/stdio2.h: Likewise.
46816         * libio/bits/stdio.h: Likewise.
46817         * string/string.h: Likewise.
46818         * string/bits/string3.h: Likewise.
46819         * include/stdio.h: Likewise.
46820         * stdlib/bits/stdlib.h: Likewise.
46821         * stdlib/stdlib.h: Likewise.
46822         * rt/bits/mqueue2.h: Likewise.
46823         * rt/mqueue.h: Likewise.
46824         * posix/bits/unistd.h: Likewise.
46825         * posix/unistd.h: Likewise.
46826         * io/bits/poll2.h: Likewise.
46827         * io/bits/fcntl2.h: Likewise.
46828         * io/fcntl.h: Likewise.
46829         * io/sys/poll.h: Likewise.
46830         * misc/bits/syslog.h: Likewise.
46831         * misc/bits/syslog-ldbl.h: Likewise.
46832         * misc/sys/syslog.h: Likewise.
46833         * socket/bits/socket2.h: Likewise.
46834         * socket/sys/socket.h: Likewise.
46835         * debug/tst-chk1.c: Likewise.
46836         * wcsmbs/bits/wchar2.h: Likewise.
46837         * wcsmbs/bits/wchar-ldbl.h: Likewise.
46838         * wcsmbs/wchar.h: Likewise.
46840 2012-04-29  Andreas Jaeger  <aj@suse.de>
46842         * Makerules (tests): Remove enable-check-abi protection.
46843         (check-abi-warn): Remove.
46844         (check-abi-%): Remove check-abi-warn usage.
46846         * configure.in: Remove check-abi configure option.
46847         * configure: Regenerated.
46848         * config.make.in (enable-check-abi): Remove.
46850 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
46852         [BZ #14033]
46853         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46854         double functions to double *_finite functions.
46856         [BZ #13941]
46857         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46858         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46859         LDBL_MIN_EXP.
46860         * stdio-common/Makefile (tests): Add tst-sprintf3.
46861         * stdio-common/tst-sprintf3.c: New file.
46863         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46864         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46866 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46868         * conform/conformtest.pl: Remove duplicate typed-constant
46869         handling.
46871 2012-04-28  David S. Miller  <davem@davemloft.net>
46873         * Makerules (%.abilist): Add vpath on sysdep_dirs.
46874         (check-abi-%): Remove AWK script prerequisite and explicit
46875         abilist directory.
46876         (check-abi): Rewrite to just diff the symlist with the abilist.
46877         (config-tls, config-abi-config): Delete, no longer used.
46878         (update-abi-%): Remove AWK script and explicit abilist directory.
46879         (update-abi): Rewrite to simply compare and conditionally copy the
46880         symlist and the sysdep abilist file.  Remove update-abi-config
46881         checks.
46882         * abilist/ld.abilist: Remove.
46883         * abilist/libBrokenLocale.abilist: Remove.
46884         * abilist/libanl.abilist: Remove.
46885         * abilist/libcrypt.abilist: Remove.
46886         * abilist/libdl.abilist: Remove.
46887         * abilist/librt.abilist: Remove.
46888         * abilist/libthread_db.abilist: Remove.
46889         * abilist/libutil.abilist: Remove.
46890         * scripts/extract-abilist.awk: Remove.
46891         * scripts/merge-abilist.awk: Remove.
46892         * sysdeps/generic/libcidn.abilist: New file.
46893         * sysdeps/generic/libnss_compat.abilist: New file.
46894         * sysdeps/generic/libnss_db.abilist: New file.
46895         * sysdeps/generic/libnss_dns.abilist: New file.
46896         * sysdeps/generic/libnss_files.abilist: New file.
46897         * sysdeps/generic/libnss_hesiod.abilist: New file.
46898         * sysdeps/generic/libnss_nis.abilist: New file.
46899         * sysdeps/generic/libnss_nisplus.abilist: New file.
46900         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46901         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46902         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46903         file.
46904         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46905         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46906         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46907         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46908         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46909         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46910         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46911         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46912         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46913         file.
46914         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46915         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46916         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46917         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46918         file.
46919         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46920         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46921         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46922         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46923         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46924         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46925         file.
46926         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46927         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46928         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46929         file.
46930         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46932         New file.
46933         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46934         New file.
46935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46936         New file.
46937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46938         New file.
46939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46940         New file.
46941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46942         New file.
46943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46944         New file.
46945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46946         New file.
46947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46948         New file.
46949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46950         New file.
46951         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46952         New file.
46953         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46954         New file.
46955         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46956         New file.
46957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46958         file.
46959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46960         New file.
46961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46962         New file.
46963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46964         file.
46965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46966         New file.
46967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46968         New file.
46969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46970         file.
46971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46972         New file.
46973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46974         New file.
46975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46976         New file.
46977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46978         New file.
46979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46980         New file.
46981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46982         New file.
46983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46985         file.
46986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46987         New file.
46988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46989         file.
46990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46991         file.
46992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46993         file.
46994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46995         file.
46996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46997         file.
46998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46999         New file.
47000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47001         file.
47002         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47003         file.
47004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47005         New file.
47006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47007         file.
47008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47010         file.
47011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47012         New file.
47013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47014         file.
47015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47016         file.
47017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47018         file.
47019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47020         file.
47021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47022         file.
47023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47024         New file.
47025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47026         file.
47027         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47028         file.
47029         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47030         New file.
47031         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47032         file.
47033         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47034         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47035         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47036         file.
47037         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47038         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47039         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47040         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47041         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47042         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47043         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47044         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47045         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47046         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47049         file.
47050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47051         New file.
47052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47053         file.
47054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47055         file.
47056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47057         file.
47058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47059         file.
47060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47061         file.
47062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47063         New file.
47064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47065         New file.
47066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47067         file.
47068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47069         New file.
47070         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47071         file.
47072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47074         file.
47075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47076         New file.
47077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47078         file.
47079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47080         file.
47081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47082         file.
47083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47084         file.
47085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47086         file.
47087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47088         New file.
47089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47090         New file.
47091         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47092         file.
47093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47094         New file.
47095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47096         file.
47098 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
47100         * conform/conformtest.pl: Fix typo in handling typed-constant from
47101         allow-header.
47103 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
47105         * README: Cut down references to pre-2.6 Linux kernels and
47106         Linuxthreads.  Update lists of configurations in libc and ports
47107         and sort alphabetically.  Say "or newer" with Linux kernel version
47108         requirements.
47110         * config.h.in [IS_IN_build]: Allow compiling without optimization.
47112 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47114         [BZ #887]
47115         * math/libm-test.inc (logb_test_downward): New test to expose
47116         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
47117         rounding mode.
47119 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
47121         [BZ #14027]
47122         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
47123         to be done.
47124         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
47125         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
47127 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
47129         * sysdeps/unix/i386/brk.S: Remove file.
47130         * sysdeps/unix/i386/dl-brk.S: Likewise.
47131         * sysdeps/unix/i386/pipe.S: Likewise.
47132         * sysdeps/unix/i386/sigreturn.S: Likewise.
47133         * sysdeps/unix/i386/syscall.S: Likewise.
47134         * sysdeps/unix/i386/vfork.S: Likewise.
47135         * sysdeps/unix/i386/wait.S: Likewise.
47137         * sysdeps/unix/common/tcsendbrk.c: Move to ...
47138         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
47140         * configure.in (arm*-none*): Do not allow without
47141         --enable-hacker-mode.
47142         (netbsd*): Remove case setting base_os.
47143         (386bsd*): Likewise.
47144         (freebsd*): Likewise.
47145         (bsdi*): Likewise.
47146         (osf*): Likewise.
47147         (sunos*): Likewise.
47148         (ultrix*): Likewise.
47149         (newsos*): Likewise.
47150         (dynix*): Likewise.
47151         (*bsd*): Likewise.
47152         (sysv*): Likewise.
47153         (isc*): Likewise.
47154         (esix*): Likewise.
47155         (sco*): Likewise.
47156         (minix*): Likewise.
47157         (irix4*): Likewise.
47158         (irix6*): Likewise.
47159         (solaris[2-9]*): Likewise.
47160         (none): Likewise.
47161         * configure: Regenerated.
47163 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47165         [BZ #11521]
47166         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47167         overflow or cancellation in calculating denominator.
47168         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47169         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47170         down expression to avoid unexpected rounding in newer GCCs.
47171         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47173 2012-04-26  David S. Miller  <davem@davemloft.net>
47175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47176         long-double compat symbols.
47177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47191 2012-04-25  David S. Miller  <davem@davemloft.net>
47193         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47194         HWCAP_* values only after the memory barriers have been defined.
47195         (atomic_full_barrier): Define.
47196         (atomic_read_barrier): Define.
47197         (atomic_write_barrier): Define.
47199 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47201         * shlib-versions: Add libgcc_s version information.
47202         * sysdeps/generic/libgcc_s.h: Remove.
47203         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47204         libgcc_s.h.
47205         * sysdeps/gnu/unwind-resume.c: Likewise.
47206         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47208 2012-04-25  David S. Miller  <davem@davemloft.net>
47210         * sysdeps/unix/sparc/brk.S: Delete.
47211         * sysdeps/unix/sparc/dl-brk.S: Delete.
47212         * sysdeps/unix/sparc/pipe.S: Delete.
47213         * sysdeps/unix/sparc/sysdep.S: Delete.
47214         * sysdeps/unix/sparc/sysdep.h: Delete.
47215         * sysdeps/unix/sparc/vfork.S: Delete.
47216         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47217         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47218         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47219         (ret_ERRVAL, r0, r1, MOVE): Define.
47220         (JUMPTARGET): Remove.
47221         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47222         sysdeps/unix/sparc/sysdep.h
47223         (ENTRY, END): Remove.
47224         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47226 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
47228         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47229         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47230         -DIS_IN_build.
47232         * timezone/README: Update upstream location and email address for
47233         tzcode and tzdata.
47234         * timezone/zdump.c: Update from tzcode 2012b.
47235         * timezone/zic.c: Likewise.
47237         * configure.in (libc_cv_as_needed): Remove test.
47238         * configure: Regenerated.
47239         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47240         conditional definition.
47241         [$(have-as-needed) != yes] (no-as-needed): Likewise.
47242         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47243         * config.make.in (have-as-needed): Remove variable.
47245 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47246             Paul Pluzhnikov  <ppluzhnikov@google.com>
47248         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47249         strings correctly.
47251 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
47253         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47254         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47255         * sysdeps/sh/strlen.S: Likewise.
47257 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47259         * sysdeps/unix/fork.S: Remove file.
47260         * sysdeps/unix/i386/fork.S: Likewise.
47261         * sysdeps/unix/sparc/fork.S: Likewise.
47263         * sysdeps/unix/system.c: Remove file.
47264         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47266         * sysdeps/unix/getegid.S: Remove file.
47267         * sysdeps/unix/geteuid.S: Likewise.
47269 2012-04-24  Roland McGrath  <roland@hack.frob.com>
47271         * scripts/check-localplt.awk: New file.
47272         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47273         of diff.
47274         * scripts/data/localplt-generic.data: Add a comment.
47276         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47277         NODE when __dir_mkfile failed.
47278         * sysdeps/mach/hurd/symlinkat.c: Likewise.
47279         Reported by Ludovic Courtès <ludo@gnu.org>.
47281 2012-04-24  Andreas Jaeger  <aj@suse.de>
47283         * Makerules (common-clean): Also remove gen-as-const-headers
47284         files.
47286 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47288         * Makerules (native-compile): Do not change working directory for
47289         build.  Use $(OUTPUT_OPTION) in command.
47290         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47292 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47294         [BZ #13886]
47295         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47296         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47297         * math/libm-test.inc (floor_test): Add more tests.
47298         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47300 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47302         * sysdeps/unix/getdents.c: Remove file.
47303         * sysdeps/unix/sysv/getdents.c: Likewise.
47304         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47306         * sysdeps/unix/syscalls.list (madvise): Add syscall from
47307         sysdeps/unix/mman/syscalls.list.
47308         (mmap): Likewise.
47309         (mprotect): Likewise.
47310         (msync): Likewise.
47311         (munmap): Likewise.
47312         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47313         * sysdeps/unix/mman/syscalls.list: Remove.
47314         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47316         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47317         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47318         * configure: Regenerated.
47319         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47320         $(libgcc_s_suffix).
47321         * config.make.in (libgcc_s_suffix): Remove variable.
47323 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
47325         * sysdeps/unix/sysv/gethostname.c: Move to ...
47326         * sysdeps/posix/gethostname.c: ... here.
47328         * sysdeps/unix/execve.S: Remove file.
47330         * sysdeps/unix/_exit.S: Remove file.
47332 2012-04-23  Andreas Jaeger  <aj@suse.de>
47334         [BZ #13739]
47335         * manual/Makefile: Remove make dist support, there's no
47336         need for a stand-alone documentation tar ball.
47337         (TEXI2DVI): Define always, it's not in Makeconfig.
47338         (dist): Removed.
47339         (tar-it): Removed.
47340         (edition): Removed.
47341         (glibc-doc-$(edition).tar): Removed
47342         (%.Z): Removed.
47343         (%.gz): Removed.
47344         (%.uu): Removed.
47345         (ETAGS): Remove, it's in Makeconfig.
47346         (move-if-change): Remove, it's in Makeconfig.
47348 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
47350         [BZ #13970]
47351         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47352         (strtod, strtof, strtold, strtol, strtoul, strtoq)
47353         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47354         (strtod_l, strtof_l, strtold_l): Remove __wur.
47355         It is not necessarily an error to ignore strtol's return value.
47356         One can reliably look at the stored endptr to decide whether
47357         the number had valid syntax.
47359 2012-04-21  Andreas Jaeger  <aj@suse.de>
47361         [BZ #13739]
47362         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47364 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
47366         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47367         * sysdeps/unix/sysv/Versions: Remove file.
47369 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
47371         [BZ #13927]
47372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47374 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
47376         [BZ #7064]
47377         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47378         version from __vm86.
47380 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
47382         * sysdeps/unix/common/lxstat.c: Remove file.
47383         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47385         * sysdeps/unix/sysv/Makefile: Remove file.
47387         * sysdeps/unix/sysv/direct.h: Remove file.
47389         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47390         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47391         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47392         * sysdeps/unix/sysv/bits/signum.h: Likewise.
47393         * sysdeps/unix/sysv/bits/stat.h: Likewise.
47394         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47395         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47397         * sysdeps/unix/sysv/setrlimit.c: Remove file.
47399         * sysdeps/unix/xmknod.c: Remove file.
47400         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47402         * sysdeps/unix/sysv/settimeofday.c: Remove file.
47404         * sysdeps/unix/sysv/i386/time.S: Remove file.
47406         * sysdeps/unix/fxstat.c: Remove file.
47407         * sysdeps/unix/xstat.c: Likewise.
47408         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47410         * sysdeps/unix/sysv/sigaction.c: Remove file.
47412         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47413         (sysdep_headers): Remove variable.
47414         [termio.h not in sysdep_headers] (generated): Likewise.
47415         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47416         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47417         * sysdeps/unix/sysv/tcdrain.c: Likewise.
47418         * sysdeps/unix/sysv/tcflow.c: Likewise.
47419         * sysdeps/unix/sysv/tcflush.c: Likewise.
47420         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47421         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47422         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47423         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47424         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47426         * sysdeps/unix/siglist.c: Remove file.
47428         * sysdeps/unix/getppid.S: Remove file.
47430         * sysdeps/unix/mkdir.c: Remove file.
47431         * sysdeps/unix/rmdir.c: Likewise.
47433 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
47435         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47436         ERR_MAX value.
47437         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47438         errlist-compat value.
47440 2012-04-18  David S. Miller  <davem@davemloft.net>
47442         * sysdeps/generic/memcopy.h (reg_char): Delete.
47443         * debug/strcat_chk.c: Use char, not reg_char.
47444         * debug/strcpy_chk.c: Likewise.
47445         * debug/strncat_chk.c: Likewise.
47446         * debug/strncpy_chk.c: Likewise.
47447         * string/memchr.c: Likewise.
47448         * string/memrchr.c: Likewise.
47449         * string/rawmemchr.c: Likewise.
47450         * string/strcat.c: Likewise.
47451         * string/strchr.c: Likewise.
47452         * string/strchrnul.c: Likewise.
47453         * string/strcmp.c: Likewise.
47454         * string/strcpy.c: Likewise.
47455         * string/strncat.c: Likewise.
47456         * string/strncmp.c: Likewise.
47457         * string/strncpy.c: Likewise.
47459 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47461         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47462         __builtin_memcopy is called when src and dest ranges are known to not
47463         overlap.
47465 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47467         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47468         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47469         fwd_align_merge macro call.
47470         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47471         bwd_align_merge macro call.
47472         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47474 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47476         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47477         bwd_align_merge macros.
47478         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47479         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47480         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47482 2012-04-18  David S. Miller  <davem@davemloft.net>
47484         * sysdeps/sparc/sparc64/memcopy.h: Delete.
47486 2012-04-18  Andreas Jaeger  <aj@suse.de>
47488         [BZ# 6794]
47489         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47490         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47491         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47493         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47494         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47495         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47497         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47498         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47499         Adjust for changed ldbl-128 files.
47501         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47502         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47503         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47505 2012-04-17  David S. Miller  <davem@davemloft.net>
47507         * sysdeps/sparc/sparc32/memcopy.h: Delete.
47509 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
47511         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47512         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47513         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47514         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47515         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47516         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
47518 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47520         [BZ #6794]
47521         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
47522         * math/libm-test.inc: Add ilogb errno and exception tests.
47523         * math/w_ilogb.c: New file: ilogb wrapper.
47524         * math/w_ilogbf.c: New file: ilogbf wrapper.
47525         * math/w_ilogbl.c: New file: ilogbl wrapper.
47526         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
47527         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
47528         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
47529         exception being thrown with 0.0 as argument.
47530         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
47531         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
47532         exception being thrown with 0.0 as argument.
47533         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
47534         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47535         exception being thrown with 0.0 as argument.
47536         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
47537         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47538         exception being thrown with 0.0 as argument.
47539         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
47540         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
47541         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
47542         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
47543         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
47544         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
47545         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
47546         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
47547         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
47549 2012-04-17  Petr Baudis  <pasky@ucw.cz>
47551         * include/sys/uio.h: Change __vector to __iovec to avoid clash
47552         with altivec.
47554 2012-04-16  Marek Polacek  <polacek@redhat.com>
47556         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
47558 2012-04-16  Marek Polacek  <polacek@redhat.com>
47560         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
47561         operands of fdivp instruction.
47563 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
47565         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
47566         * elf/tst-auditmod3b.c: Likewise.
47567         * elf/tst-auditmod4b.c: Likewise.
47568         * elf/tst-auditmod5b.c: Likewise.
47569         * elf/tst-auditmod6b.c: Likewise.
47570         * elf/tst-auditmod6c.c: Likewise.
47571         * elf/tst-auditmod7b.c: Likewise.
47572         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
47573         * sysdeps/x86_64/preconfigure.in: Likewise.
47574         * sysdeps/x86_64/preconfigure: Regenerated.
47576 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
47578         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
47579         __ILP32__.
47581 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
47583         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47584         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
47586 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
47588         [BZ #13973]
47589         * locale/iso-639.def: Fix gl language name. Spotted by
47590         Yaron Shahrabani.
47592 2012-04-12  Roland McGrath  <roland@hack.frob.com>
47594         [BZ #2074]
47595         * libio/libio.h (__io_write_fn): Update comment.
47597 2012-04-12  Petr Baudis  <pasky@ucw.cz>
47599         [BZ #2074]
47600         * stdio.texi (Hook Functions): The user provided writer function
47601         is not allowed to return -1.
47603 2012-04-11  David S. Miller  <davem@davemloft.net>
47605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47607 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
47609         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47610         Add a leading slash to rtkaio.
47612 2012-04-11  Jim Meyering  <meyering@redhat.com>
47614         [BZ #11959]
47615         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47616         It is not necessarily an error to ignore fwrite's return
47617         value.  One can reliably use ferror to test for errors after
47618         the fact.
47620 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
47622         * bits/types.h (__snseconds_t): New type.
47623         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47625         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47626         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47627         (__SNSECONDS_T_TYPE): Likewise.
47628         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47629         (__SNSECONDS_T_TYPE): Likewise.
47630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47631         (__SNSECONDS_T_TYPE): Likewise.
47633 2012-04-10  Andreas Jaeger  <aj@suse.de>
47635         [BZ #2636]
47636         * manual/time.texi (Processor Time): Return type of times is
47637         elapsed real time since an arbitrary point in the past.
47638         (CPU Time): Move CLK_TCK from here...
47639         (Processor Time): ...to here.  Correct description.
47640         * manual/conf.texi (Constants for Sysconf): Correct description of
47641         _SC_CLK_TCK.
47643 2012-04-10  David S. Miller  <davem@davemloft.net>
47645         [BZ #13967]
47646         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47647         where the is a gap between DT_REL(A) and DT_JMPREL.
47649 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
47651         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47652         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47653         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47655 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47657         * elf/dl-support.c (_dl_inhibit_cache): New variable.
47658         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47659         (dl_main): Handle --inhibit-cache.
47660         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47661         _dl_inhibit_cache.
47662         * elf/dl-load.c (_dl_map_object): Use it.
47663         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47665 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
47667         [BZ #13872]
47668         * sysdeps/i386/fpu/e_powl.S (p78): New object.
47669         (__ieee754_powl): Saturate large exponents rather than testing for
47670         overflow of y*log2(x).
47671         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47672         * math/libm-test.inc (pow_test): Do not permit spurious overflow
47673         exceptions.
47675         [BZ #11521]
47676         * math/s_ctan.c: Include <float.h>.
47677         (__ctan): Avoid internal overflow or cancellation in calculating
47678         denominator.
47679         * math/s_ctanf.c: Likewise.
47680         * math/s_ctanl.c: Likewise.
47681         * math/s_ctanh.c: Likewise.
47682         * math/s_ctanhf.c: Likewise.
47683         * math/s_ctanhl.c: Likewise.
47684         * math/libm-test.inc (ctan_test): Add more tests.
47685         (ctanh_test): Likewise.
47686         * sysdeps/i386/fpu/libm-test-ulps: Update.
47687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47689 2012-04-09  Andreas Jaeger  <aj@suse.de>
47691         [BZ #6894]
47692         * manual/filesys.texi (Directory Entries): Mention that d_namlen
47693         is an optional BSD extension.
47695         [BZ #10254]
47696         * manual/stdio.texi (Opening Streams): Document additional fopen
47697         parameters.
47699 2012-04-09  Roland McGrath  <roland@hack.frob.com>
47701         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47702         %eax without telling the compiler.
47704 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
47706         [BZ # 13963]
47707         * manual/install.texi: Use sourceware.org.
47709 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
47711         [BZ #13873]
47712         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47713         (__ieee754_pow): Generate overflow and underflow using huge*huge
47714         and tiny*tiny rather than just returning constant infinity or zero
47715         for large exponents.
47716         * math/libm-test.inc (pow_test): Require overflow exceptions for
47717         applicable cases of large exponents.
47719         [BZ #706]
47720         * sysdeps/i386/fpu/e_pow.S (p10): New object.
47721         (__ieee754_pow): Use iterative multiplication algorithm only for
47722         integer exponents with absolute value below 1024.  Check for odd
47723         integer exponents when using algorithm for real exponents.
47724         * math/libm-test.inc (pow_test): Add more tests.
47725         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47727 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
47729         [BZ #13705]
47730         * math/libm-test.inc (exp_test): Do not allow overflow exception
47731         on underflow test.
47733 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
47735         [BZ #13705]
47736         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47737         instead of __kernel_standard_f.
47739 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
47741         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47742         * sysdeps/x86_64/memset_chk.S: Likewise.
47744 2012-04-08  Andreas Jaeger  <aj@suse.de>
47746         [BZ #10153]
47747         * manual/startup.texi (Environment Access): Describe return value
47748         for putenv and setenv.
47750         [BZ #6895]
47751         * manual/filesys.texi (Directory Entries): Add description for
47752         DT_LNK.
47754         [BZ #6890]
47755         * manual/filesys.texi (Directory Entries): Clarify that it's file
47756         system not operating system in the description of DT_UNKNOWN.
47758         [BZ #6578]
47759         * manual/syslog.texi (closelog): Fix reference, it's openlog.
47761 2012-04-08  Stephen Compall  <s11@member.fsf.org>
47763         [BZ #6649]
47764         * manual/llio.texi (Opening and Closing Files): Add cross
47765         reference to explain mode argument.
47767 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
47769         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47770         * sysdeps/x86_64/memset_chk.S: Likewise.
47772 2012-04-07  David S. Miller  <davem@davemloft.net>
47774         * elf/elf.h (R_SPARC_WDISP10): Define.
47775         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47776         R_SPARC_SIZE32.
47777         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47778         R_SPARC_SIZE64 and R_SPARC_H34.
47780 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
47782         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47783         conditions and remove no longer applicable assertion.
47785 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
47787         * bits/byteswap.h: Include <features.h>.
47788         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47789         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47791 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
47793         * bits/byteswap.h (__bswap_16): Removed.
47794         Include <bits/byteswap-16.h> to get __bswap_16.
47795         * sysdeps/i386/bits/byteswap.h: Likewise.
47796         * sysdeps/s390/bits/byteswap.h: Likewise.
47797         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47798         * bits/byteswap-16.h: New file.
47799         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47800         * sysdeps/s390/bits/byteswap-16.h: Likewise.
47801         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47802         * string/Makefile (headers): Add bits/byteswap-16.h.
47804 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47806         [BZ #13895]
47807         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47808         extra indirection.
47809         * nss/Makefile (tests-static, tests): Add tst-nss-static.
47810         * nss/tst-nss-static.c: New.
47812 2012-04-06  Robert Millan  <rmh@gnu.org>
47814         [BZ #6486]
47815         * manual/llio.texi (File Position Primitive): lseek
47816         refers to WHENCE when it really means OFFSET.
47818 2012-04-06  Andreas Jaeger  <aj@suse.de>
47820         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47821         strncmp declarations.
47823         * abilist/libc.abilist: Add __poll and __ppoll.
47825 2012-04-05  David S. Miller  <davem@davemloft.net>
47827         * scripts/check-local-headers.sh: Accept a host triplet in the
47828         path matched by the exclude regexp.
47830         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47831         definition.
47832         * sysdeps/powerpc/powerpc32/dl-machine.h
47833         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47834         * sysdeps/s390/s390-32/dl-machine.h
47835         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47836         * sysdeps/sparc/sparc32/dl-machine.h
47837         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47838         * sysdeps/sparc/sparc64/dl-machine.h
47839         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47841         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47842         lazy binding.
47843         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47844         undefined symbol errors.
47846         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47847         DT_NEEDED entries.
47849 2012-04-05  Michael Matz  <matz@suse.de>
47851         [BZ #13592]
47852         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47854 2012-04-05  Andreas Jaeger  <aj@suse.de>
47856         [BZ #13908]
47857         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47858         comment.
47860 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47862         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47863         which ROUND is no valid rounding mode.
47865 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47867         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47868         read again.
47869         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47871 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47873         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47874         an exception using FPU order intentionally.
47876 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47878         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47879         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47880         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47881         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47883 2012-04-05  Simon Josefsson  <simon@josefsson.org>
47885         [BZ #12340]
47886         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47887         EINVAL when BUFLEN is too smal.
47889 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47891         [BZ #13553]
47892         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47893         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47895 2012-04-03  Andreas Jaeger  <aj@suse.de>
47897         [BZ #13938]
47898         * manual/setjmp.texi (System V contexts): Fix sentence.
47900         [BZ #13926]
47901         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47902         New macro for this case.
47903         [!__GNUC__] (__bswap_64): New inline function for this case.
47904         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47905         * bits/byteswap.h: Likewise.
47906         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47907         ull, guard with __GLIBC_HAVE_LONG_LONG.
47909         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47910         __GLIBC_HAVE_LONG_LONG.
47912         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47913         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47915 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47917         [BZ #13691]
47918         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47919         inptr and inend, rather than using last_ch.
47921 2012-04-02  David S. Miller  <davem@davemloft.net>
47923         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47924         * stdio-common/printf-parse.h (read_int): Change return type to
47925         'int', return -1 on INT_MAX overflow.
47926         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47927         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
47928         overflows INT_MAX.  Check for overflow of in-format-string precision
47929         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
47930         SIZE_MAX not INT_MAX for integer overflow test.
47931         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47932         skip the construct in the format string but do not record anything.
47933         * stdio-common/bug22.c: Adjust to test both width/prevision
47934         INT_MAX overflow as well as total length INT_MAX overflow.  Check
47935         explicitly for proper errno values.
47937 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47939         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47940         CHAR_MAX.
47941         * string/test-strcmp.c [! WIDE]: Likewise.
47942         * time/tst-mktime2.c: Likewise for INT_MAX.
47943         * string/test-string.h: #include <sys/param.h> for MIN.
47945         * csu/init-first.c (__libc_init_first): Call __ctype_init.
47946         * sysdeps/i386/init-first.c (init): Likewise.
47947         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47948         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47949         * sysdeps/sh/init-first.c (init): Likewise.
47951 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
47953         * po/ru.po: Update from translation team.
47954         * po/vi.po: Likewise.
47956 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47958         * resolv/nss_dns/dns-host.c: Merge copyright years.
47960 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47962         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47963         Optimize memcpy with prefetch if
47964         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
47965         src, dst pointers have unequal 16 byte alignments.
47967 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47969         [BZ #13928]
47970         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47971         from a CNAME entry and return the minimum ttl for the query.
47972         (gaih_getanswer_slice): Likewise.
47974 2012-03-30  Jeff Law  <law@redhat.com>
47976         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47977         due to long keys.
47978         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47979         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47981         * resolv/nss_dns/dns-host.c: Update copyright year.
47983 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
47985         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47986         requests to save a system call.  Fix check that all bytes are sent.
47988         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47989         comments for sendmmsg.
47991 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47993         [BZ #13691]
47994         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47995         with only 1 character between 0x0041 and 0x01b0.
47996         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47997         * wcsmbs/tst-mbsnrtowcs.c: New file.
47999 2012-03-29  David S. Miller  <davem@davemloft.net>
48001         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48002         small copies by hand.
48004 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48006         [BZ #13761]
48007         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48008         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48009         group memberships.
48011 2012-03-28  David S. Miller  <davem@davemloft.net>
48013         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48014         that branches into memcpy.
48015         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48016         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48017         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48018         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48019         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48020         bits.
48021         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48022         implementation too.
48023         * sysdeps/sparc/mempcpy.S: New file.
48025         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48026         the IFUNC routine in the libc case.
48027         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48029         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48030         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48031         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48032         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48033         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48034         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48035         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48036         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48038         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48039         loop to 256 bytes instead of 64 bytes and fix test signedness.
48041         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48042         * sysdeps/sparc/sparc32/Makefile: rather than here...
48043         * sysdeps/sparc/sparc64/Makefile: and here.
48045 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
48047         * malloc/mallocbug.c: Avoid warnings about unused variables.
48049 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48051         [BZ #13760]
48052         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48053         in the right place. Discard and retry query if response is
48054         larger than input buffer size.
48056 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
48058         [BZ #369]
48059         [BZ #2678]
48060         [BZ #3866]
48061         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48062         x for large integer exponent.
48063         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48064         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
48065         sign of result as needed afterwards.
48066         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48067         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48068         result for underflowing pow the same as for overflow.
48069         (__kernel_standard_l): Handle powl overflow and underflow here
48070         rather than calling __kernel_standard.
48071         * math/libm-test.inc (pow_test): Add more tests.
48073         [BZ #3868]
48074         [BZ #13879]
48075         [BZ #13910]
48076         [BZ #13911]
48077         [BZ #13912]
48078         [BZ #13913]
48079         [BZ #13915]
48080         [BZ #13916]
48081         [BZ #13917]
48082         [BZ #13918]
48083         [BZ #13919]
48084         [BZ #13920]
48085         [BZ #13921]
48086         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48087         * sysdeps/ieee754/k_standard.c: Include <float.h>.
48088         (__kernel_standard_l): New function.
48089         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48090         __kernel_standard.
48091         * math/w_acosl.c (__acosl): Likewise.
48092         * math/w_asinl.c (__asinl): Likewise.
48093         * math/w_atan2l.c (__atan2l): Likewise.
48094         * math/w_atanhl.c (__atanhl): Likewise.
48095         * math/w_coshl.c (__coshl): Likewise.
48096         * math/w_exp10l.c (__exp10l): Likewise.
48097         * math/w_exp2l.c (__exp2l): Likewise.
48098         * math/w_fmodl.c (__fmodl): Likewise.
48099         * math/w_hypotl.c (__hypotl): Likewise.
48100         * math/w_j0l.c (__j0l, __y0l): Likewise.
48101         * math/w_j1l.c (__j1l, __y1l): Likewise.
48102         * math/w_jnl.c (__jnl, __ynl): Likewise.
48103         * math/w_lgammal.c (__lgammal): Likewise.
48104         * math/w_log10l.c (__log10l): Likewise.
48105         * math/w_log2l.c (__log2l): Likewise.
48106         * math/w_logl.c (__logl): Likewise.
48107         * math/w_powl.c (__powl): Likewise.
48108         * math/w_remainderl.c (__remainderl): Likewise.
48109         * math/w_scalbl.c (sysv_scalbl): Likewise.
48110         * math/w_sinhl.c (__sinhl): Likewise.
48111         * math/w_sqrtl.c (__sqrtl): Likewise.
48112         * math/w_tgammal.c (__tgammal): Likewise.
48113         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48114         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48115         * math/libm-test.inc (acos_test): Add more tests.
48116         (acosh_test): Likewise.
48117         (asin_test): Likewise.
48118         (atanh_test): Likewise.
48119         (exp_test): Likewise.
48120         (exp10_test): Likewise.
48121         (exp2_test): Likewise.
48122         (expm1_test): Likewise.
48123         (lgamma_test): Likewise.
48124         (log_test): Likewise.
48125         (log10_test): Likewise.
48126         (log1p_test): Likewise.
48127         (log2_test): Likewise.
48128         (pow_test): Do not allow some spurious overflow exceptions.
48129         (sqrt_test): Add more tests.
48130         (tgamma_test): Likewise.
48131         (y0_test): Likewise.
48132         (y1_test): Likewise.
48133         (yn_test): Likewise.
48135 2012-03-27  Anton Blanchard  <anton@samba.org>
48137         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
48138         MAP_HUGETLB.
48139         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48140         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48141         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48143 2012-03-27  David S. Miller  <davem@davemloft.net>
48145         * conform/Makefile: Run run-conformtest.sh using $(BASH).
48147         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
48148         have-as-vis3 check.
48150 2012-03-27  Andreas Jaeger  <aj@suse.de>
48152         * sysdeps/x86_64/elf/configure.in: Moved to ...
48153         * sysdeps/x86_64/configure.in: ... here.
48154         * sysdeps/x86_64/elf/start.S: Moved to ...
48155         * sysdeps/x86_64/start.S: ... here.
48156         * sysdeps/x86_64/elf/configure: Delete.
48158         * sysdeps/x86_64/configure.in: Merge contents from
48159         sysdeps/i386/configure.in (without i686 check).
48161         * sysdeps/i386/elf/Versions: Merge into ...
48162         * sysdeps/i386/Versions: ... this.
48163         * sysdeps/i386/elf/Versions: Delete file.
48164         * sysdeps/i386/elf/start.S: Moved to ...
48165         * sysdeps/i386/start.S: ...here.
48166         * sysdeps/i386/elf/configure.in: Merge into...
48167         * sysdeps/i386/configure.in: ...here.
48168         * sysdeps/i386/elf/configure.in: Delete file.
48169         * sysdeps/i386/elf/configure: Delete file.
48171         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48172         * debug/backtracesyms.c: ... here.
48173         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48174         * debug/backtracesymsfd.c: ... here.
48175         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48176         * sysdeps/generic/ifunc-sel.h: ... here.
48178         * sysdeps/unix/i386/start.c: Delete file.
48179         * sysdeps/unix/sparc/start.c: Delete file.
48180         * sysdeps/unix/start.c: Delete file.
48182         * sysdeps/sh/elf/configure.in: Moved to ...
48183         * sysdeps/sh/configure.in: ... here.
48184         * sysdeps/sh/elf/start.S: Moved to ...
48185         * sysdeps/sh/start.S: ... here.
48186         * sysdeps/sh/elf/configure: Delete file.
48188         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48189         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48190         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48191         * sysdeps/powerpc/powerpc64/entry.h: ... here.
48192         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48193         * sysdeps/powerpc/powerpc64/start.S: here.
48194         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48195         * sysdeps/powerpc/powerpc64/Makefile: ... this.
48196         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48197         * sysdeps/powerpc/powerpc64/configure.in: ... this.
48198         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48200         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48201         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48202         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48203         * sysdeps/powerpc/powerpc32/start.S: ... here.
48204         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48205         * sysdeps/powerpc/powerpc32/configure.in: ... this.
48206         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48208         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48209         * sysdeps/powerpc/ifunc-sel.h: ... here.
48210         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48211         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48213         * sysdeps/sparc/elf/configure.in: Moved to ...
48214         * sysdeps/sparc/configure.in: ... here.
48215         * sysdeps/sparc/elf/configure: Delete file.
48216         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48217         * sysdeps/sparc/sparc32/start.S: ... here.
48218         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48219         * sysdeps/sparc/sparc64/start.S: ... here.
48220         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48221         * sysdeps/sparc/sparc32/Makefile: ... this.
48222         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48223         * sysdeps/sparc/sparc64/Makefile: ... this.
48225         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48226         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48227         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48228         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48229         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48230         * sysdeps/s390/s390-32/setjmp.S: ... here.
48231         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48232         * sysdeps/s390/s390-32/configure.in: ... here.
48233         * sysdeps/s390/s390-32/elf/configure: Delete file.
48234         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48235         * sysdeps/s390/s390-32/start.S: ... here.
48237         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48238         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48239         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48240         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48241         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48242         * sysdeps/s390/s390-64/setjmp.S: ... here.
48243         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48244         * sysdeps/s390/s390-64/configure.in: ... here
48245         * sysdeps/s390/s390-64/elf/configure: Delete file.
48246         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48247         * sysdeps/s390/s390-64/start.S: ... here.
48248         * sysdeps/s390/s390-64/elf/configure: Delete.
48250         * configure.in: Remove support for elf directories in sysdeps.
48252         * configure: Regenerated.
48253         * sysdeps/i386/configure: Regenerated.
48254         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48255         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48256         * sysdeps/s390/s390-32/configure: Regenerated.
48257         * sysdeps/s390/s390-64/configure: Regenerated.
48258         * sysdeps/sh/configure: Regenerated.
48259         * sysdeps/sparc/configure: Regenerated.
48260         * sysdeps/x86_64/configure: Regenerated.
48262 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
48264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48266         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48267         denormal result into account.
48269 2012-03-25  Roland McGrath  <roland@hack.frob.com>
48271         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48272         Reported by Allan McRae <allan@archlinux.org>.
48274 2012-03-23  Jeff Law  <law@redhat.com>
48276         * nss/getnssent.c (__nss_getent): Fix typo.
48278 2012-03-23  David S. Miller  <davem@davemloft.net>
48280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48282 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
48284         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48285         to pad to uint64_t for each field.
48286         (dl_tls_index): Replace unsigned long with uint64_t.
48288 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
48289         Paul Pluzhnikov  <ppluzhnikov@google.com>
48291         [BZ #6528]
48292         * grp/Makefile (otherlibs): Don't set it.
48293         * inet/Makefile (otherlibs): Likewise.
48294         * login/Makefile (otherlibs): Likewise.
48295         * nscd/Makefile (otherlibs): Likewise.
48296         * posix/Makefile (otherlibs): Likewise.
48297         * pwd/Makefile (otherlibs): Likewise.
48298         * rt/Makefile (otherlibs): Likewise.
48299         * sunrpc/Makefile (otherlibs): Likewise.
48300         * nss/Makefile (otherlibs): Likewise.
48301         Add libnss_files to routines and static-only-routines.
48302         ($(objpfx)getent): Remove rule.
48303         * resolv/Makefile: Add libnss_dns and libresolv to routines and
48304         static-only-routines.
48306 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48308         [BZ #13892]
48309         * math/s_cexp.c: Include <float.h>.
48310         (__cexp): Handle exp result overflowing not necessarily
48311         overflowing both real and imaginary parts of result.
48312         * math/s_cexpf.c: Likewise.
48313         * math/s_cexpl.c: Likewise.
48314         * math/libm-test.inc (cexp_test): Add more tests.
48315         * sysdeps/i386/fpu/libm-test-ulps: Update.
48316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48318 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48320         * include/link.h (ELFW): New macro.
48321         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48322         Replace ELF64_R_TYPE with ELFW(R_TYPE).
48324 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48326         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48327         with uint64_t.
48329 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48331         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
48332         declaration.
48333         (struct La_x32_retval): Likewise.
48335 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48337         * sysdeps/x86_64/preconfigure.in: New file.
48338         * sysdeps/x86_64/preconfigure: New generated file.
48340 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48342         [BZ #13824]
48343         * math/e_exp2l.c: Include <float.h>.
48344         (__ieee754_exp2l): Handle overflow and underflow cases
48345         separately.  Only pass fractional part of argument to
48346         __ieee754_expl.
48347         * math/libm-test.inc (exp2_test): Add more tests.
48349         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48350         negating x to take absolute value.
48351         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48352         Likewise.
48353         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48354         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48355         Likewise.
48356         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48357         computing low part if x was negated.
48358         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48360 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48362         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48363         la_x32_gnu_pltexit.
48364         (pltexit): Cast int_retval to ptrdiff_t.
48365         * elf/tst-auditmod3b.c: Likewise.
48366         * elf/tst-auditmod4b.c: Likewise.
48367         * elf/tst-auditmod5b.c: Likewise.
48368         * elf/tst-auditmod6b.c: Likewise.
48369         * elf/tst-auditmod6c.c: Likewise.
48370         * elf/tst-auditmod7b.c: Likewise.
48372         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48373         and x32_gnu_pltexit.
48375         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48376         __ELF_NATIVE_CLASS.
48377         (La_x32_regs): New macro.
48378         (La_x32_retval): Likewise.
48379         (la_x32_gnu_pltenter): New function prototype.
48380         (la_x32_gnu_pltexit): Likewise.
48382 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
48384         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48385         exponent.
48387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48389         * configure.in (libc_cv_cc_nofma): Check for option to disable
48390         generation of FMA instructions.
48391         * configure: Regenerate.
48392         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48393         * sysdeps/ieee754/dbl-64/Makefile: New file.
48394         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48395         Remove brandred-fma4.
48396         (CFLAGS-brandred-fma4.c): Remove.
48397         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48398         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48399         define.
48400         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48401         define.
48403 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48405         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48406         LLONG_MAX != LONG_MAX.
48407         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48408         (_fitoa_word): Likewise.
48409         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48410         LLONG_MAX != LONG_MAX.
48411         * stdio-common/_itowa.h: Include <_itoa.h>.
48412         (_itowa_word): Use _ITOA_WORD_TYPE on value.
48413         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
48414         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
48415         only if not defined.
48416         (_ITOA_WORD_TYPE): Likewise.
48417         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48418         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48420 2012-03-21  David S. Miller  <davem@davemloft.net>
48422         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48424 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48426         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48427         of x86_64 when setting libc_cv_slibdir, libdir and
48428         libc_cv_localedir.
48429         * sysdeps/unix/sysv/linux/configure: Regenerated.
48431 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48433         * manual/lang.texi (Old Varargs): Remove section.
48434         (How Variadic): Update menu.
48435         (va_start): Do not mention varargs.h.
48437 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48438             Joseph Myers  <joseph@codesourcery.com>
48440         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48441         link test.
48442         * configure: Regenerated.
48444 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48446         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48447         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48448         conformtest.pl
48450 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48452         * NOTES: Remove.
48453         * Makefile (files-for-dist): Remove NOTES.
48454         (NOTES): Remove rule.
48455         * README: Don't refer to NOTES.
48456         * manual/creature.texi: Don't include macros.texi.
48457         * manual/intro.texi (creature.texi): Remove comment referring to
48458         NOTES.
48460         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48461         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48462         * configure: Regenerated.
48463         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48464         LIBC_TRY_CC_OPTION.
48465         (libc_cv_as_i686): Likewise.
48466         (libc_cv_cc_avx): Likewise.
48467         (libc_cv_cc_sse2avx): Likewise.
48468         (libc_cv_cc_fma4): Likewise.
48469         (libc_cv_cc_novzeroupper): Likewise.
48470         * sysdeps/i386/configure: Regenerated.
48472         [BZ #13883]
48473         * sysdeps/i386/fpu/s_cexp.S: Remove.
48474         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48475         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48476         * math/libm-test.inc (cexp_test): Add more tests.
48477         * sysdeps/i386/fpu/libm-test-ulps: Update.
48478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48480 2012-03-21  Allan McRae  <allan@archlinux.org>
48482         * timezone/Makefile: Do not install iso3166.tab and zone.tab
48484 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48486         [BZ #13871]
48487         * math/w_exp2.c: Do not include <float.h>.
48488         (o_threshold, u_threshold): Remove.
48489         (__exp2): Calculate result before checking finiteness and calling
48490         __kernel_standard.
48491         * math/w_exp2f.c: Likewise.
48492         * math/w_exp2l.c: Likewise.
48493         * math/libm-test.inc (exp2_test): Require overflow exception for
48494         1e6 input.
48496         [BZ #3866]
48497         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48498         range of signed 64-bit integers before using fistpll.  Remove
48499         checks for whether integers fit in mantissa bits.
48500         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48501         the range of signed 32-bit integers before using fistpl.  Remove
48502         checks for whether integers fit in mantissa bits.
48503         * sysdeps/i386/fpu/e_powl.S (p64): New object.
48504         (__ieee754_powl): Test for y outside the range of signed 64-bit
48505         integers before using fistpll.  Reduce 64-bit values to 63-bit
48506         ones as needed.
48507         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48508         divide-by-zero is raised for zero to large negative powers.
48509         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48510         (__ieee754_powl): Test for y outside the range of signed 64-bit
48511         integers before using fistpll.  Reduce 64-bit values to 63-bit
48512         ones as needed.
48513         * math/libm-test.inc (pow_test): Add more tests.
48515 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48517         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
48518         <stdio-common/_itoa.h>.
48519         * debug/segfault.c: Likewise.
48520         * elf/dl-cache.c: Likewise.
48521         * elf/dl-minimal.c: Likewise.
48522         * elf/dl-misc.c: Likewise.
48523         * elf/dl-sysdep.c: Likewise.
48524         * elf/dl-version.c: Likewise.
48525         * elf/rtld.c: Likewise.
48526         * hurd/hurdsock.c: Likewise.
48527         * hurd/lookup-retry.c: Likewise.
48528         * malloc/malloc.c: Likewise.
48529         * malloc/mtrace.c: Likewise.
48530         * nscd/nscd_getgr_r.c: Likewise.
48531         * nscd/nscd_getpw_r.c: Likewise.
48532         * nscd/nscd_getserv_r.c: Likewise.
48533         * posix/getopt_init.c: Likewise.
48534         * posix/wordexp.c: Likewise.
48535         * stdio-common/_itoa.c: Likewise.
48536         * stdio-common/printf_fphex.c: Likewise.
48537         * stdio-common/vfprintf.c: Likewise.
48538         * string/_strerror.c: Likewise.
48539         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
48540         * sysdeps/i386/i686/hp-timing.h: Likewise.
48541         * sysdeps/mach/_strerror.c: Likewise.
48542         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
48543         * sysdeps/mach/hurd/sethostid.c: Likewise.
48544         * sysdeps/mach/hurd/xmknodat.c: Likewise.
48545         * sysdeps/mach/xpg-strerror.c: Likewise.
48546         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48547         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48548         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
48549         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
48550         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48551         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
48552         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48553         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48554         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
48555         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
48556         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
48557         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48558         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
48559         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48560         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48561         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
48562         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
48563         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
48564         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48565         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48566         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
48568         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
48570         * stdio-common/_itoa.h: Moved to ...
48571         * sysdeps/generic/_itoa.h: Here.
48573         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
48575         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
48576         instead of "_itoa.h" and "_itowa.h".
48577         * stdio-common/vfprintf.: Likewise.
48579 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48581         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
48582         <bits/wordsize.h>.
48583         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
48584         (__signbit): Likwise.
48585         (llrintf): Likwise.
48586         (llrint): Likwise.
48588 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48590         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
48591         __WORDSIZE != 64.
48593 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
48595         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
48596         OVERFLOW_EXCEPTION_OK.
48597         * math/libm-test.inc ("Philosophy"): Update comment about
48598         exception testing.
48599         (OVERFLOW_EXCEPTION): Define.
48600         (OVERFLOW_EXCEPTION_OK): Likewise.
48601         (INVALID_EXCEPTION_OK): Renumber.
48602         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48603         (IGNORE_ZERO_INF_SIGN): Likewise.
48604         (test_exceptions): Handle FE_OVERFLOW.
48605         (exp10_test): Expect overflow exceptions.
48606         (exp2_test): Likewise.
48607         (expm1_test): Likewise.
48608         (nextafter_test): Likewise.
48609         (pow_test): Likewise.
48610         (scalbn_test): Likewise.
48611         (scalbln_test): Likewise.
48613 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48615         * sysdeps/x86_64/bits/atomic.h
48616         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48617         64bit integer.
48618         (atomic_exchange_acq): Likewise.
48619         (__arch_exchange_and_add_body): Likewise.
48620         (__arch_add_body): Likewise.
48621         (atomic_add_negative): Likewise.
48622         (atomic_add_zero): Likewise.
48624 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48626         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
48627         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48629 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48631         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48632         Check __x86_64__ instead of __WORDSIZE.
48634 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48636         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48638 2012-03-19  David S. Miller  <davem@davemloft.net>
48640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48642         * sysdeps/sparc/fpu/fenv_private.h: New file.
48643         * sysdeps/sparc/fpu/math_private.h: Use it.
48644         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48645         Remove.
48646         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
48647         (libc_feholdexcept_setroundl): Remove.
48648         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48649         Remove.
48650         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48651         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48653 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48655         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48656         int64_t instead of long int.
48657         (INSERT_WORDS64): Likwise.
48659 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48661         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48662         _Unwind_GetCFA return to _Unwind_Ptr first.
48664 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
48666         [BZ #13629]
48667         * math/s_clog.c: Include <float.h>.
48668         (__clog): Scale large or subnormal inputs.
48669         * math/s_clogf.c: Likewise.
48670         * math/s_clogl.c: Likewise.
48671         * math/s_clog10.c: Include <float.h>.
48672         (M_LOG10_2): Define.
48673         (__clog10): Scale large or subnormal inputs.
48674         * math/s_clog10f.c: Likewise.
48675         * math/s_clog10l.c: Likewise.
48676         * math/libm-test.inc (clog_test): Add more tests.
48677         (clog10_test): Likewise.
48678         * sysdeps/i386/fpu/libm-test-ulps: Update.
48679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48681         [BZ #11451]
48682         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48683         x and y.
48684         * math/libm-test.inc (atan2_test): Add another test.
48686         * Makerules (common-objdir-compile): Remove.
48687         * sysdeps/unix/Makefile (config-generated): Do not add
48688         $(unix-generated) to variable.
48689         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48690         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48691         Remove rule.
48692         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48693         Likewise.
48694         [generic bits/local_lim.h] (before-compile): Do not append to
48695         variable.
48696         [generic bits/local_lim.h] (common-generated): Likewise.
48697         [generic sys/param.h] (before-compile): Do not append to variable.
48698         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48699         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48700         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48701         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48702         include.
48703         [generic sys/param.h] (sys/param.h-includes): Remove variable.
48704         [generic sys/param.h] (sys/param.h-includes): Remove rule.
48705         [generic sys/param.h] ($(addprefix
48706         $(common-objpfx),$(sys/param.h-includes))): Likewise.
48707         [generic sys/param.h] (common-generated): Do not append to
48708         variable.
48709         [generic sys/param.h] (sysdep_headers): Likewise.
48710         [generic bits/errno.h] (before-compile): Do not append to
48711         variable.
48712         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48713         rule.
48714         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48715         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48716         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48717         [generic bits/errno.h] (common-generated): Do not append to
48718         variable.
48719         [generic bits/ioctls.h] (before-compile): Do not append to
48720         variable.
48721         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48722         rule.
48723         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48724         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48725         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48726         rule.
48727         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48728         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48729         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48730         [generic bits/ioctls.h] (common-generated): Do not append to
48731         variable.
48732         [generic sys/syscall.h] (syscall.h): Remove variable.
48733         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48734         rule.
48735         [generic sys/syscall.h] (before-compile): Do not append to
48736         variable.
48737         [generic sys/syscall.h] (common-generated): Likewise.
48738         * sysdeps/unix/errnos-tmpl.c: Remove file.
48739         * sysdeps/unix/errnos.awk: Likewise.
48740         * sysdeps/unix/ioctls-tmpl.c: Likewise.
48741         * sysdeps/unix/ioctls.awk: Likewise.
48742         * sysdeps/unix/mk-local_lim.c: Likewise.
48743         * sysdeps/unix/snarf-ioctls: Likewise.
48745 2012-03-19  Richard Henderson  <rth@twiddle.net>
48747         * sysdeps/i386/fpu/fenv_private.h: New file.
48748         * sysdeps/i386/fpu/math_private.h: Use it.
48749         (math_opt_barrier, math_force_eval): Remove.
48750         (libc_feholdexcept_setround_53bit): Remove.
48751         (libc_feupdateenv_53bit): Remove.
48752         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48753         (math_opt_barrier, math_force_eval): Remove.
48754         (libc_feholdexcept): Remove.
48755         (libc_feholdexcept_setround): Remove.
48756         (libc_fetestexcept, libc_fesetenv): Remove.
48757         (libc_feupdateenv_test): Remove.
48758         (libc_feupdateenv, libc_feholdsetround): Remove.
48759         (libc_feresetround): Remove.
48761         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48762         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48764         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48765         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48766         (libc_feupdateenv_testl): New.
48767         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48768         (libc_feupdateenv_testf): New.
48769         (libc_feupdateenv): Use libc_feupdateenv_test.
48770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48771         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48773         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48774         (libc_feholdsetroundf, libc_feholdsetroundl): New.
48775         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48776         (libc_feresetround_noex): New.
48777         (libc_feresetround_noexf): New.
48778         (libc_feresetround_noexl): New.
48779         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48780         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48781         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48782         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48783         SET_RESTORE_ROUND.
48784         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48785         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48786         (__cos): Likewise.
48787         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48788         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48789         SET_RESTORE_ROUND_NOEX.
48790         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48791         SET_RESTORE_ROUND_NOEXF.
48792         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48793         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48794         (libc_feholdsetroundf): New.
48795         (libc_feresetround, libc_feresetroundf): New.
48797         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48798         (libc_feholdexcept_setround_53bit): Convert from macro to function.
48799         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
48801         * sysdeps/generic/math_private.h: Include <fenv.h>.
48802         (default_libc_feholdexcept): New.
48803         (default_libc_feholdexcept_setround): New.
48804         (default_libc_fesetenv, default_libc_feupdateenv): New.
48805         (libc_feholdexcept): Only define if undefined.
48806         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48807         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48808         (libc_feholdexcept_setroundl): Likewise.
48809         (libc_feholdexcept_setround_53bit): Likewise.
48810         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48811         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48812         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48813         (libc_feupdateenv_53bit): Likewise.
48814         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48815         (libc_feholdexcept): Convert from macro to inline function.
48816         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48817         (libc_fesetenv, libc_feupdateenv): Likewise.
48819         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48820         not previously defined.
48821         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48822         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48823         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48824         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48825         * sysdeps/ieee754/flt-32/math_private.h: New file.
48826         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48827         math_private.h below SET_FLOAT_WORD.
48828         (__isnan, __isinf_ns, __finite): Remove.
48829         (__isnanf, __isinf_nsf, __finitef): Remove.
48831 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
48833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48835 2012-03-17  David S. Miller  <davem@davemloft.net>
48837         [BZ #6471]
48838         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48839         for 2.16.
48841 2012-03-16  David S. Miller  <davem@davemloft.net>
48843         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48844         warnings.
48846         [BZ #6471]
48847         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48848         properly.
48849         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48850         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48851         sysdep_routines when subdir is sysvipc.
48852         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48853         __getshmlba helper.
48855         * sysdeps/sparc/fpu/libm-test/ulps: Update.
48857 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48859         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48860         [__LP64__].
48862 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48864         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48865         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48866         (__lround): Renamed to ...
48867         (__llround): This.  Replace long int with long long int.
48868         Define lround functions as aliases of llround functions.
48869         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48871 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48873         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48874         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
48875         adresses to uintptr_t.  Replace "long int" and "unsigned long
48876         int" with "greg_t" on va_arg.
48878 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48880         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48881         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48883         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48884         Move e_machine check before EI_CLASS check.  Handle x32
48885         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48886         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48887         SKIP_EM_IA_64 and include
48888         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48890         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48891         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48892         (add_system_dir): New macro.
48894         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48895         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48897 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48899         [BZ #2551]
48900         [BZ #2552]
48901         [BZ #2553]
48902         [BZ #2554]
48903         [BZ #2562]
48904         [BZ #2563]
48905         [BZ #2565]
48906         [BZ #2566]
48907         [BZ #2576]
48908         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48909         (y0): Likewise.
48910         * math/w_j0f.c (j0f): Likewise.
48911         (y0f): Likewise.
48912         * math/w_j0l.c (__j0l): Likewise.
48913         (__y0l): Likewise.
48914         * math/w_j1.c (j1): Likewise.
48915         (y1): Likewise.
48916         * math/w_j1f.c (j1f): Likewise.
48917         (y1f): Likewise.
48918         * math/w_j1l.c (__j1l): Likewise.
48919         (__y1l): Likewise.
48920         * math/w_jn.c (jn): Likewise.
48921         (yn): Likewise.
48922         * math/w_jnf.c (jnf): Likewise.
48923         (ynf): Likewise.
48924         * math/w_jnl.c (__jnl): Likewise.
48925         (__ynl): Likewise.
48926         * math/libm-test.inc (j0_test): Add more tests.
48927         (j1_test): Likewise.
48928         (jn_test): Likewise.  Add trailing semicolon to existing test.
48929         (y0_test): Likewise.
48930         (y1_test): Likewise.
48931         * sysdeps/i386/fpu/libm-test-ulps: Update.
48932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48934         [BZ #13851]
48935         [BZ #13854]
48936         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48937         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48938         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48939         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48940         (__tanl): Set errno for infinite argument.
48941         * sysdeps/i386/fpu/mptan.c: Remove.
48942         * sysdeps/i386/fpu/s_tan.S: Likewise.
48943         * sysdeps/i386/fpu/s_tanl.S: Likewise.
48944         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48945         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48946         * math/libm-test.inc (tan_test): Add more tests and enable more
48947         tests for double and long double.
48948         * sysdeps/i386/fpu/libm-test-ulps: Update.
48949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48951 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
48953         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48954         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48956 2012-03-16  Roland McGrath  <roland@hack.frob.com>
48958         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48959         * configure.in: Use it for both main tree and add-ons.
48960         * configure: Regenerated.
48962 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48964         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48966 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48968         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48969         in comment.
48971         [BZ #13851]
48972         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48973         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48974         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48975         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48976         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48977         infinite argument.
48978         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48979         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48980         != 0 for prec == 2.
48981         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48982         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48983         * sysdeps/i386/fpu/s_cosl.S: Likewise.
48984         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48985         * sysdeps/i386/fpu/s_sinl.S: Likewise.
48986         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48987         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48988         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48989         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48990         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48991         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48992         * math/libm-test.inc (cos_test): Add more tests and enable more
48993         tests for long double.
48994         (sin_test): Likewise.
48995         (sincos_test): Likewise.
48996         * sysdeps/i386/fpu/libm-test-ulps: Update.
48997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48999 2012-03-16  David S. Miller  <davem@davemloft.net>
49001         * sysdeps/sparc/fpu/math_private.h: New file.
49003 2012-03-15  David S. Miller  <davem@davemloft.net>
49005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49006         file.
49007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
49008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49009         file.
49010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49015         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49016         sysdep routines.
49017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49019         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49020         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49022         * sysdeps/sparc/sparc-ifunc.h: New file.
49023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49024         sparc-ifunc.h
49025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49027         Likewise.
49028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49029         Likewise.
49030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49034         Likewise.
49035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
49039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49040         Likewise.
49041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49042         Likewise.
49043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49047         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49048         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49049         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49050         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49051         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49052         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49053         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49054         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49055         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49056         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49057         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49058         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49059         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49060         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49061         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49062         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49063         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49064         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49065         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49066         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49068 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
49070         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49071         scaling.
49072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49074 2012-03-15  Andreas Jaeger  <aj@suse.de>
49076         [BZ #13852]
49077         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49078         ieee754/flt-32 implementation for sin, cos and sincos.
49079         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49080         * sysdeps/i386/fpu/s_cosf.S: Likewise.
49081         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49082         * sysdeps/i386/fpu/s_sinf.S: Likewise.
49083         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49084         ieee754/flt-32 implementation for tan.
49086         * math/libm-test.inc (cos_test): Enable some large input tests for
49087         float as well
49088         (sin_test): Likewise.
49089         (sincos_test): Likewise.
49090         (tan_test): Add tests for large input.
49092         * sysdeps/i386/fpu/libm-test-ulps: Update.
49094 2012-03-15  Andreas Jaeger  <aj@suse.de>
49096         [BZ #13658]
49097         * math/libm-test.inc (cos_test): Add more test cases.
49098         (sin_test): Likewise.
49099         (sincos_test): Likewise.
49101 2012-03-15  Andreas Jaeger  <aj@suse.de>
49103         [BZ #13837]
49104         * math/libm-test.inc (cos_test): Add a test case for large input
49105         value.
49106         (sin_test): Likewise.
49107         (sincos_test): Likewise.
49109 2012-03-15  Andreas Jaeger  <aj@suse.de>
49110             Joseph Myers  <joseph@codesourcery.com>
49112         [BZ #13658]
49113         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
49114         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49115         * sysdeps/i386/fpu/branred.c: Likewise.
49116         * sysdeps/i386/fpu/dosincos.c: Likewise.
49117         * sysdeps/i386/fpu/mpa.c: Likewise.
49118         * sysdeps/i386/fpu/s_cos.S: Likewise.
49119         * sysdeps/i386/fpu/s_sin.S: Likewise.
49120         * sysdeps/i386/fpu/s_sincos.S: Likewise.
49121         * sysdeps/i386/fpu/sincos32.c: Likewise.
49123         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
49124         Define.
49125         (libc_feupdateenv_53bit): Define.
49126         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
49127         Define.
49128         (libc_feupdateenv_53bit): Define.
49130         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
49131         53 bit (without extend i386 double precision).
49133         * math/libm-test.inc (sincos_test): Add tests for large input.
49134         (sin): Likewise.
49135         (cos): Likewise.
49137         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
49139 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
49141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49143 2012-03-15  David S. Miller  <davem@davemloft.net>
49145         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
49146         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
49147         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
49148         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
49150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
49151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
49152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49156         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49157         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49158         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49159         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
49160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49161         file.
49162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
49163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49164         file.
49165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
49166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49167         file.
49168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
49169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49170         file.
49171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49172         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49173         fmin/fmax sysdep routines.
49174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49176 2012-03-14  David S. Miller  <davem@davemloft.net>
49178         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49179         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49180         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49182         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49183         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49184         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49185         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49189         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49190         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49191         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49197         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49198         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49199         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49200         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49201         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49202         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49203         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49204         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49205         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
49206         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49207         routines.
49208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49209         file.
49210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
49211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49212         file.
49213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
49214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49215         file.
49216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
49217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49218         file.
49219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
49220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49221         file.
49222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
49223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49224         file.
49225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49226         file.
49227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49228         file.
49229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49230         file.
49231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49232         New file.
49233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49234         file.
49235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49236         file.
49237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
49238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49239         file.
49240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
49241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49242         file.
49243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
49244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49245         file.
49246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
49247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49248         VIS3 routines.
49250         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49251         New file.
49253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49255         * sysdeps/sparc/configure.in: New file.
49256         * sysdeps/sparc/configure: Generate.
49257         * configure.in (libc_cv_sparc_as_vis3): Substitute.
49258         * configure: Regenerate.
49259         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49260         * config.make.in (have-as-vis3): New.
49261         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49262         available use -Av9d instead of -Av9a.
49263         * sysdeps/sparc/sparc64/Makefile: Likewise.
49264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
49265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49266         New file.
49267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49268         file.
49269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49270         New file.
49271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49272         file.
49273         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49274         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49275         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49276         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49277         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49279         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49280         fzeros/fnegs to load 0x80000000 into a float register instead of
49281         using the stack.
49282         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49284 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49287         bits/syscall.h.
49288         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49289         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49290         ($(inst_includedir)/bits/syscall.h): Remove rule.
49291         ($(objpfx)bits/syscall.d): Include instead of
49292         $(objpfx)syscall-list.d.
49293         (generated): Change syscall-list.h and syscall-list.d to
49294         bits/syscall.h and bits/syscall.d.
49296 2012-03-14  Roland McGrath  <roland@hack.frob.com>
49298         [BZ #13846]
49299         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49301 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49303         [BZ #13841]
49304         * math/s_csqrt.c: Include <float.h>.
49305         (__csqrt): Scale large or subnormal inputs.
49306         * math/s_csqrtf.c: Likewise.
49307         * math/s_csqrtl.c: Likewise.
49308         * math/libm-test.inc (csqrt_test): Add more tests.
49309         * sysdeps/i386/fpu/libm-test-ulps: Update.
49310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49312         [BZ #13840]
49313         * math/libm-test.inc (hypot_test): Add more tests.
49315 2012-03-13  David S. Miller  <davem@davemloft.net>
49317         [BZ #13840]
49318         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49319         double-precision for the calculation instead of scaling.
49321 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
49323         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49324         manipulate bits before adding and subtracting TWO52[sx].
49325         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49326         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49327         Likewise.
49328         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49330 2012-03-13  David S. Miller  <davem@davemloft.net>
49332         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
49333         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
49334         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
49335         rtld-global-offsets.h
49336         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49338         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
49339         large parameters.
49341         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49343         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49344         'err' in the ifdef scope in which it is actually used.
49346         * nss/nss_db/db-init.c: Include string.h
49348 2012-03-12  David S. Miller  <davem@davemloft.net>
49350         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49351         masking out of the most significant byte of random value used.
49352         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49353         Fix coding style in previous change.
49355         * sysdeps/unix/sysv/linux/kernel-features.h
49356         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49357         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49358         expression.
49359         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49360         later.
49362 2012-03-11  David S. Miller  <davem@davemloft.net>
49364         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49365         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49366         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49367         for 'resultvar' otherwise things get truncated on 64-bit.
49369         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49370         Fix masking out of the most significant byte of random value used.
49372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49374 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
49376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49378 2012-03-09  David S. Miller  <davem@davemloft.net>
49380         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49381         variables with appropriate CPP guards.
49382         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49383         from the frame pointer, not the stack pointer.  Correct layout
49384         comments.  Fix test on resulting framesize and the management of
49385         the outregs buffer for pltexit.  Preserve floating point return
49386         values across _dl_call_pltexit call.
49387         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49388         framesize and the management of the outregs buffer for pltexit.
49389         Preserve floating point return values across _dl_call_pltexit
49390         call.
49391         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49392         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49393         (la_sparc64_gnu_pltexit): New functions.
49394         (print_exit): Fix format string for return register value.
49396 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
49398         * sunrpc/Makefile (others): Add rpcgen.
49399         ($(objpfx)rpcgen): Remove special build rule and dependency on
49400         libc.
49401         * sunrpc/rpcgen.c: New file.
49403 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
49405         [BZ #13673]
49406         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49407         * stdio-common/bug-vfprintf-nargs.c: Likewise.
49408         * sysdeps/i386/crti.S: Likewise.
49409         * sysdeps/i386/crtn.S: Likewise.
49410         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49411         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49412         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49413         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49414         * sysdeps/sh/crti.S: Likewise.
49415         * sysdeps/sh/crtn.S: Likewise.
49416         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49418         [BZ #13673]
49419         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49420         with URL.
49421         * locale/programs/locfile-kw.gperf: Likewise.
49422         * locale/programs/charmap-kw.h: Regenerated.
49423         * locale/programs/locfile-kw.h: Likewise.
49425         [BZ #13673]
49426         * intl/plural.y: Replace FSF snail mail address with URL.
49427         * intl/plural.c: Regenerated.
49429 2012-03-09  Richard Henderson  <rth@twiddle.net>
49431         * include/math_private.h: Remove file.
49432         * math/math_private.h: Move file ...
49433         * sysdeps/generic/math_private.h: ... here.
49435         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49436         * sysdeps/powerpc/fpu/math_private.h: Likewise.
49437         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49439         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
49440         and <math_private.h>.
49441         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49442         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49443         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49444         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49445         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49446         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49447         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49448         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49449         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49450         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49451         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49452         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49453         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49454         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49455         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49456         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49457         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49458         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49459         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49460         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49462         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49463         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49464         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49465         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49466         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49467         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49468         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49469         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49470         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49471         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49472         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49473         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49474         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49475         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49476         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49477         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49478         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49479         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49480         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49481         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49482         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49483         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49484         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49485         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49486         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49487         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49488         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49489         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49490         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49491         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49492         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49493         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49494         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49495         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49496         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49497         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49498         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49499         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49500         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49501         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49502         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49503         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49504         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49505         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49506         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49507         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49508         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49509         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49510         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49511         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49512         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49513         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49514         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49515         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
49516         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
49517         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
49518         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49519         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
49520         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
49521         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49522         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
49523         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49524         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49525         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49526         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49527         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
49528         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
49529         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49530         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49531         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49532         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49533         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49534         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49535         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49536         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49537         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49538         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49539         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49540         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49541         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49542         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49543         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49544         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49545         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49546         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49547         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49548         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49549         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49550         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49551         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49552         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49553         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49554         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49555         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
49556         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49557         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49558         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49559         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49560         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49561         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49562         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49563         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49564         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
49565         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49566         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49567         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49568         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
49569         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49570         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
49571         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
49572         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49573         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49574         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
49575         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
49576         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49577         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49578         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49579         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
49580         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49581         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49582         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49583         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49584         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
49585         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
49586         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49587         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49588         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49589         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
49590         * sysdeps/ieee754/k_standard.c: Likewise.
49591         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49592         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49593         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49594         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49595         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49596         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49597         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49598         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49599         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49600         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49601         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49602         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49603         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49604         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49605         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49606         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49607         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49608         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49609         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49610         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49611         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49612         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49613         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49614         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49615         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49616         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49617         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49618         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49619         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49620         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49621         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49622         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49623         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49624         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49625         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49626         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49627         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49628         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49629         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49630         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49631         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49632         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49633         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49634         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49635         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49636         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49637         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49638         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49639         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49640         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49641         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49642         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49643         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49644         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49645         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49646         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49647         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49648         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49649         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49650         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49651         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49652         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49653         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49654         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49655         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49656         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49657         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49658         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49659         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49660         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49661         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49662         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49663         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49664         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49665         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49666         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49667         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49668         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49669         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49670         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49671         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49672         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49673         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49674         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49675         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49676         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49677         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49678         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49679         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49680         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49681         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49682         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49683         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49684         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49685         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49686         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49687         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49688         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49689         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49690         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49691         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49692         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49693         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49694         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49695         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49696         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49697         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49698         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49699         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49700         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49701         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49702         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49703         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49704         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49705         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49706         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49707         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49708         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49709         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49710         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49711         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49712         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49713         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49714         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49715         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49716         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49717         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49718         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49719         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49720         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49721         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49722         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49723         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49724         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49725         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49726         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49727         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49728         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49729         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49730         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49731         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49732         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49733         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49734         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49735         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49736         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49737         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49738         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49739         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49740         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49741         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49742         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49743         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49744         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49745         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49746         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49747         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49748         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49749         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49750         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49751         * sysdeps/ieee754/s_lib_version.c: Likewise.
49752         * sysdeps/ieee754/s_matherr.c: Likewise.
49753         * sysdeps/ieee754/s_signgam.c: Likewise.
49754         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49755         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49756         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49757         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49758         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49759         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49760         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49761         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49762         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49763         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49764         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49765         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49766         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49767         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49768         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49769         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49770         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49771         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49772         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49773         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49774         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49776 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
49778         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49779         * sunrpc/rpc_main.c: Likewise.
49780         * sunrpc/rpc_svcout.c: Likewise.
49782 2012-03-09  David S. Miller  <davem@davemloft.net>
49784         * include/math_private.h: New file.
49786 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
49788         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49789         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49790         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49791         from <bits/socket_type.h>.
49792         (enum __socket_type): Don't define here.
49793         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49794         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49795         bits/socket_type.h.
49797         [BZ #13566]
49798         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49799         checking __USE_GNU.
49801         * Makerules ($(inst_includedir)/%.h): New rule.
49802         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49803         (install-others): Remove variable setting.
49804         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49806 2012-03-08  Richard Henderson  <rth@twiddle.net>
49808         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49809         from macro to inline function; merge with the
49810         !__LIBC_INTERNAL_MATH_INLINES version.
49811         (__ieee754_sqrtf): Likewise.
49813         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49814         to inline function.
49815         (__rintf, __floor, __floorf): Likewise.
49817         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49818         macro to inline function.
49819         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49821         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49822         not <math/math_private.h>.
49824 2012-03-08  David S. Miller  <davem@davemloft.net>
49826         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49827         copyright year.
49828         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49830 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
49832         * resolv/gai_misc.c (handle_requests): Fix struct timespec
49833         normalization.
49834         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49835         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49837 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
49839         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
49840         be defined individually, they must be defined as a block.  Define
49841         S for printing a string instead of hidint the different by using a
49842         macro for adding the 'l'.
49843         * stdio-common/tst-fphex-wide.c: Adjust.
49845 2012-03-07  Marek Polacek  <polacek@redhat.com>
49847         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49849 2012-03-08  Marek Polacek  <polacek@redhat.com>
49851         [BZ #13806]
49852         * stdio-common/Makefile (tests): Add tst-fphex-wide.
49853         * stdio-common/tst-fphex.c: Define a few macros to make the
49854         test reusable.  Use them.
49855         * stdio-common/tst-fphex-wide.c: New file.
49857 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
49859         [BZ #6911]
49860         * manual/macros.texi (gnusystems): New macro.
49861         (nongnusystems): Likewise.
49862         (gnulinuxhurdsystems): Likewise.
49863         (gnuhurdsystems): Likewise..
49864         (gnulinuxsystems): Likewise.
49865         * manual/charset.texi: Use new macros or @theglibc{} to refer to
49866         variants of the GNU system, not "GNU system".
49867         * manual/conf.texi: Likewise.
49868         * manual/errno.texi: Likewise.  Update example of errno macro
49869         expansion.
49870         * manual/filesys.texi: Likewise.
49871         (getumask): Document as specific to GNU/Hurd.
49872         * manual/install.texi: Likewise.  Reword some references to
49873         GNU/Linux.
49874         * manual/intro.texi: Likewise.
49875         * manual/io.texi: Likewise.
49876         (File Name Portability): Detail which constraints are inapplicable
49877         to all GNU systems and which are only inapplicable to GNU/Hurd.
49878         * manual/job.texi: Likewise.
49879         * manual/llio.texi: Likewise.
49880         (O_NOCTTY): Document as present on GNU/Linux.
49881         * manual/maint.texi: Likewise.
49882         * manual/memory.texi: Likewise.
49883         * manual/pattern.texi: Likewise.
49884         * manual/pipe.texi: Likewise.
49885         * manual/process.texi: Likewise.
49886         * manual/resource.texi: Likewise.
49887         (RUSAGE_CHILDREN): Remove statement about specifying a particular
49888         child on GNU/Hurd.
49889         * manual/setjmp.texi: Likewise.
49890         * manual/signal.texi: Likewise.
49891         * manual/startup.texi: Likewise.
49892         * manual/stdio.texi: Likewise.
49893         * manual/terminal.texi: Likewise.
49894         (ONLCR): Document as POSIX.
49895         (OXTABS): Document availability on GNU/Linux as XTABS.
49896         (ONOEOT): Document availability separately from other bits.
49897         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49898         * manual/time.texi: Likewise.
49899         * manual/users.texi: Likewise.
49900         * INSTALL: Regenerated.
49901         * sysdeps/gnu/errlist.c: Regenerated.
49903         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49904         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49905         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
49906         puts.
49907         * configure: Regenerated.
49909 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
49911         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49912         default includes instead of AC_HEADER_CHECK.
49913         * sysdeps/i386/configure: Regenerated.
49915         [BZ #10716]
49916         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49917         * math/s_cacoshf.c (__cacoshf): Likewise.
49918         * math/s_cacoshl.c (__cacoshl): Likewise.
49919         * math/s_casinh.c (__casinh): Set signs of result from argument.
49920         * math/s_casinhf.c (__casinhf): Likewise.
49921         * math/s_casinhl.c (__casinhl): Likewise.
49922         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49923         (casinh_test): Add more tests.
49924         * sysdeps/i386/fpu/libm-test-ulps: Update.
49925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49927 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
49929         * po/zh_TW.po: Update from translation team.
49931         * login/Makefile (distribute): Remove variable.
49932         * catgets/Makefile: Likewise.
49933         * mach/Makefile: Likewise.
49934         * malloc/Makefile: Likewise.
49935         * misc/Makefile: Likewise.
49936         * iconv/Makefile: Likewise.
49937         * nscd/Makefile: Likewise.
49938         * hurd/Makefile: Likewise.
49939         * manual/Makefile: Likewise.
49940         * locale/Makefile: Likewise.
49941         * intl/Makefile: Likewise.
49942         * conform/Makefile: Likewise.
49943         * nss/Makefile: Likewise.
49944         * time/Makefile: Likewise.
49945         * soft-fp/Makefile: Likewise.
49946         * dirent/Makefile: Likewise.
49947         * gmon/Makefile: Likewise.
49948         * po/Makefile: Likewise.
49949         * rt/Makefile: Likewise.
49950         * socket/Makefile: Likewise.
49951         * math/Makefile: Likewise.
49952         * signal/Makefile: Likewise.
49953         * debug/Makefile: Likewise.
49954         * elf/Makefile: Likewise.
49955         * timezone/Makefile: Likewise.
49956         * stdlib/Makefile: Likewise.
49957         * iconvdata/Makefile: Likewise.
49958         * sunrpc/Makefile: Likewise.
49959         * io/Makefile: Likewise.
49960         * argp/Makefile: Likewise.
49961         * inet/Makefile: Likewise.
49962         * hesiod/Makefile: Likewise.
49963         * grp/Makefile: Likewise.
49964         * csu/Makefile: Likewise.
49965         * wctype/Makefile: Likewise.
49966         * crypt/Makefile: Likewise.
49967         * libio/Makefile: Likewise.
49968         * string/Makefile: Likewise.
49969         * nis/Makefile: Likewise.
49970         * resolv/Makefile: Likewise.
49971         * stdio-common/Makefile: Likewise.
49972         * wcsmbs/Makefile: Likewise.
49973         * dlfcn/Makefile: Likewise.
49974         * posix/Makefile: Likewise.
49976         [BZ #6959]
49977         * timezone/Makefile: Don't install timezone files, just the programs
49978         and scripts.
49980 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
49982         * nss/databases.def: Add missing gshadow entry.
49984         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
49986 2012-03-06  Marek Polacek  <polacek@redhat.com>
49988         [BZ #13726]
49989         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49990         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49991         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49992         * stdio-common/tst-long-dbl-fphex.c: New file.
49994 2012-03-06  David S. Miller  <davem@davemloft.net>
49996         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49997         (set_obp_int): New function.
49998         (get_obp_int): New function.
49999         (__get_clockfreq_via_dev_openprom): Likewise.
50000         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50001         Avoid unused variable warnings on 'val' and use builtin_expect.
50002         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50003         __builtin_expect.
50004         (INLINE_CLONE_SYSCALL): Likewise.
50006 2012-03-05  David S. Miller  <davem@davemloft.net>
50008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50010 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
50012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50014         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50015         only for |x| >= 40.
50016         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50018 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
50020         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50021         Replace gettimeofday with __vdso_gettimeofday.
50023         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50024         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50025         __vdso_clock_gettime and __vdso_getcpu.
50027         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50028         time with __vdso_time.
50030 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50032         * manual/lang.texi (size_t): Note types to which size_t may be
50033         equivalent with the GNU C Library, but do not describe when
50034         differences between them are significant.
50036 2012-03-05  Andreas Jaeger  <aj@suse.de>
50038         * sysdeps/i386/fpu/libm-test-ulps: Update.
50040 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50042         [BZ #3976]
50043         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50044         (__ieee754_pow): Save and restore rounding mode and use
50045         round-to-nearest for main computations.
50046         * math/libm-test.inc (pow_test_tonearest): New function.
50047         (pow_test_towardzero): Likewise.
50048         (pow_test_downward): Likewise.
50049         (pow_test_upward): Likewise.
50050         (main): Call the new functions.
50051         * sysdeps/i386/fpu/libm-test-ulps: Update.
50052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50054         [BZ #3976]
50055         * math/libm-test.inc (cosh_test_tonearest): New function.
50056         (cosh_test_towardzero): Likewise.
50057         (cosh_test_downward): Likewise.
50058         (cosh_test_upward): Likewise.
50059         (sinh_test_tonearest): Likewise.
50060         (sinh_test_towardzero): Likewise.
50061         (sinh_test_downward): Likewise.
50062         (sinh_test_upward): Likewise.
50063         (main): Call the new functions.
50064         * sysdeps/i386/fpu/libm-test-ulps: Update.
50065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50067 2012-03-05  Tom de Vries  <tom@codesourcery.com>
50069         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50070         default stack guard is set in last bytes.
50071         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50073 2012-03-05  Kees Cook  <keescook@chromium.org>
50075         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
50077         [BZ #13656]
50078         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50079         possibly allocate from heap instead of stack.
50080         * stdio-common/bug-vfprintf-nargs.c: New file.
50081         * stdio-common/Makefile (tests): Add nargs overflow test.
50083 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
50085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50087 2012-03-03  Marek Polacek  <polacek@redhat.com>
50089         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50090         * math/math_private.h: Likewise.
50091         * stdlib/tst-strtod.c: Likewise.
50092         * sysdeps/i386/i486/bits/atomic.h: Likewise.
50093         * sysdeps/x86_64/bits/atomic.h: Likewise.
50095 2012-03-02  David S. Miller  <davem@davemloft.net>
50097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50101         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50102         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50103         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50104         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50106 2012-03-02  Roland McGrath  <roland@hack.frob.com>
50108         [BZ #13792]
50109         * manual/examples/README: New file, says the example source files
50110         can be used under GPL>=2.
50111         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50112         line containing just "*/".
50113         * manual/examples/add.c: Add copyright header (GPL>=2).
50114         * manual/examples/argp-ex1.c: Likewise.
50115         * manual/examples/argp-ex2.c: Likewise.
50116         * manual/examples/argp-ex3.c: Likewise.
50117         * manual/examples/argp-ex4.c: Likewise.
50118         * manual/examples/atexit.c: Likewise.
50119         * manual/examples/db.c: Likewise.
50120         * manual/examples/dir.c: Likewise.
50121         * manual/examples/dir2.c: Likewise.
50122         * manual/examples/execinfo.c: Likewise.
50123         * manual/examples/filecli.c: Likewise.
50124         * manual/examples/filesrv.c: Likewise.
50125         * manual/examples/fmtmsgexpl.c: Likewise.
50126         * manual/examples/genpass.c: Likewise.
50127         * manual/examples/inetcli.c: Likewise.
50128         * manual/examples/inetsrv.c: Likewise.
50129         * manual/examples/isockad.c: Likewise.
50130         * manual/examples/longopt.c: Likewise.
50131         * manual/examples/memopen.c: Likewise.
50132         * manual/examples/memstrm.c: Likewise.
50133         * manual/examples/mkfsock.c: Likewise.
50134         * manual/examples/mkisock.c: Likewise.
50135         * manual/examples/mygetpass.c: Likewise.
50136         * manual/examples/pipe.c: Likewise.
50137         * manual/examples/popen.c: Likewise.
50138         * manual/examples/rprintf.c: Likewise.
50139         * manual/examples/search.c: Likewise.
50140         * manual/examples/select.c: Likewise.
50141         * manual/examples/setjmp.c: Likewise.
50142         * manual/examples/sigh1.c: Likewise.
50143         * manual/examples/sigusr.c: Likewise.
50144         * manual/examples/stpcpy.c: Likewise.
50145         * manual/examples/strdupa.c: Likewise.
50146         * manual/examples/strftim.c: Likewise.
50147         * manual/examples/strncat.c: Likewise.
50148         * manual/examples/subopt.c: Likewise.
50149         * manual/examples/swapcontext.c: Likewise.
50150         * manual/examples/termios.c: Likewise.
50151         * manual/examples/testopt.c: Likewise.
50152         * manual/examples/testpass.c: Likewise.
50153         * manual/examples/timeval_subtract.c: Likewise.
50155         [BZ #13792]
50156         * manual/time.texi (Elapsed Time): Move timeval_subtract example
50157         function to ...
50158         * manual/timeval_subtract.c.texi: ... here, new file.
50160 2012-03-02  David S. Miller  <davem@davemloft.net>
50162         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50164 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
50166         [BZ #3976]
50167         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50168         (__sin): Save and restore rounding mode and use round-to-nearest
50169         for all computations.
50170         (__cos): Save and restore rounding mode and use round-to-nearest
50171         for all computations.
50172         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50173         <fenv.h>.
50174         (tan): Save and restore rounding mode and use round-to-nearest for
50175         all computations.
50176         * math/libm-test.inc (cos_test_tonearest): New function.
50177         (cos_test_towardzero): Likewise.
50178         (cos_test_downward): Likewise.
50179         (cos_test_upward): Likewise.
50180         (sin_test_tonearest): Likewise.
50181         (sin_test_towardzero): Likewise.
50182         (sin_test_downward): Likewise.
50183         (sin_test_upward): Likewise.
50184         (tan_test_tonearest): Likewise.
50185         (tan_test_towardzero): Likewise.
50186         (tan_test_downward): Likewise.
50187         (tan_test_upward): Likewise.
50188         (main): Call the new functions.
50189         * sysdeps/i386/fpu/libm-test-ulps: Update.
50190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50192         [BZ #10135]
50193         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50194         small n, then large n, before computing and testing k+n.
50195         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50196         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50197         Likewise.
50198         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50199         Likewise.
50200         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50201         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50202         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50203         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50204         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50205         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50206         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50207         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50208         * math/libm-test.inc (scalbn_test): Add more tests.
50209         (scalbln_test): Likewise.
50211         * manual/filesys.texi (mode_t): Describe constraints on size and
50212         signedness, not exact equivalence to a particular type.
50213         (ino_t): Likewise.
50214         (ino64_t): Likewise.
50215         (dev_t): Likewise.
50216         (nlink_t): Likewise.
50217         (blkcnt_t): Likewise.
50218         (blkcnt64_t): Likewise.
50219         * manual/llio.texi (off_t): Likewise.
50221         [BZ #3976]
50222         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50223         (__ieee754_exp): Save and restore rounding mode and use
50224         round-to-nearest for all computations.
50225         * math/libm-test.inc (exp_test_tonearest): New function.
50226         (exp_test_towardzero): Likewise.
50227         (exp_test_downward): Likewise.
50228         (exp_test_upward): Likewise.
50229         (main): Call the new functions.
50230         * sysdeps/i386/fpu/libm-test-ulps: Update.
50231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50233 2012-03-01  Chris Demetriou  <cgd@google.com>
50235         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50236         have predictable order.
50238 2012-03-01  David S. Miller  <davem@davemloft.net>
50240         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50242         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50243         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50244         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50245         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50247         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50248         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50249         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50251         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50252         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50253         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50254         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50255         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50259         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50260         * sysdeps/sparc/fpu/libm-test-ulps: to here.
50261         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50263         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50264         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50265         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50266         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50267         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50268         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50269         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50270         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50271         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50272         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50273         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50274         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50275         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50276         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50277         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50278         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50279         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50280         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50281         * sysdeps/sparc/elf/configure: Regenerated.
50283 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
50285         * configure.in (AS, LD): Require binutils 2.20 or later.
50286         * configure: Regenerated.
50287         * manual/install.texi (Tools for Compilation): Give binutils 2.20
50288         as required minimum version.
50289         * INSTALL: Regenerated.
50291         [BZ #2541]
50292         [BZ #4108]
50293         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50294         before squaring exponent.
50295         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50296         bottom long double and 27 bits of top long double before squaring
50297         exponent.
50298         * math/libm-test.inc (erfc_test): Add more tests.
50299         * sysdeps/i386/fpu/libm-test-ulps: Update.
50300         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50303 2012-03-01  Kai Tietz  <ktietz@redhat.com>
50305         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50306         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50307         containing bit-fields.
50308         * soft-fp/extended.h (_FP_UNION_E): Likewise.
50309         * soft-fp/single.h (_FP_UNION_S): Likewise.
50310         * soft-fp/double.h (_FP_UNION_D): Likewise.
50312 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50314         [BZ #13786]
50315         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50316         not include ../strcmp.S.
50317         [USE_AS_STRNCASECMP_L]: Likewise.
50318         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50319         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50320         * sysdeps/i386/i686/multiarch/strncase_l-c.c
50321         (__strncasecmp_l_ia32): Define as alias to
50322         __strncasecmp_l_nonascii.
50324         [BZ #5794]
50325         * math/libm-test.inc (expm1_test): Add test for bug 5794.
50326         * sysdeps/i386/fpu/libm-test-ulps: Update.
50327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50329         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
50330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50332 2012-02-29  Jeff Law  <law@redhat.com>
50334         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
50335         out of bounds read.
50337 2012-02-29  Marek Polacek  <polacek@redhat.com>
50339         [BZ #13706]
50340         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
50341         * elf/Makefile: Add rules to run tst-unused-dep.out.
50343 2012-02-28  David S. Miller  <davem@davemloft.net>
50345         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50346         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50347         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50348         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50349         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50350         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50352 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50354         * math/libm-test.inc (llround_test): Move one test from
50355         lround_test.  Use TEST_f_L in moved test.
50356         (lround_test): Move misplaced test to llround_test.  Add testcase
50357         from bug 2561.
50359 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
50361         * sysdeps/x86_64/fpu/e_expf.S: New file.
50362         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50364 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
50366         [BZ #13637]
50367         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50368         of remain_len that may cause incomplete multi-byte character and
50369         false match.
50370         * posix/bug-regex33.c: New file.
50371         * posix/Makefile (tests): Add bug-regex33.
50373 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
50375         * manual/macros.texi: New file.
50376         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50377         * manual/libc.texinfo: Include macros.texi.
50378         * manual/creatute.texi: Likewise.
50379         * manual/install.texi: Likewise.
50380         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50381         @glibcadj{} in references to the GNU C Library.
50382         * manual/charset.texi: Likewise.
50383         * manual/conf.texi: Likewise.
50384         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
50385         when not using those macros.
50386         * manual/creature.texi: Likewise.
50387         * manual/crypt.texi: Likewise.
50388         * manual/errno.texi: Likewise.
50389         * manual/filesys.texi: Likewise.
50390         * manual/header.texi: Likewise.
50391         * manual/install.texi: Likewise.
50392         * manual/intro.texi: Likewise.
50393         * manual/io.texi: Likewise.
50394         * manual/job.texi: Likewise.
50395         * manual/lang.texi: Likewise.
50396         * manual/libc.texiinfo: Likewise.
50397         * manual/llio.texi: Likewise.
50398         * manual/locale.texi: Likewise.
50399         * manual/maint.texi: Likewise.
50400         * manual/math.texi: Likewise.
50401         * manual/memory.texi: Likewise.
50402         * manual/message.texi: Likewise.
50403         * manual/nss.texi: Likewise.
50404         * manual/pattern.texi: Likewise.
50405         * manual/process.texi: Likewise.
50406         * manual/resource.texi: Likewise.
50407         * manual/search.texi: Likewise.
50408         * manual/setjmp.texi: Likewise.
50409         * manual/signal.texi: Likewise.
50410         * manual/socket.texi: Likewise.
50411         * manual/startup.texi: Likewise.
50412         * manual/stdio.texi: Likewise.
50413         * manual/string.texi: Likewise.
50414         * manual/sysinfo.texi: Likewise.
50415         * manual/syslog.texi: Likewise.
50416         * manual/terminal.texi: Likewise.
50417         * manual/time.texi: Likewise.
50418         * manual/users.texi: Likewise.
50419         * INSTALL: Regenerated.
50420         * NOTES: Regenerated.
50421         * sysdeps/gnu/errlist.c: Regenerated.
50423 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
50425         * include/dirent.h: Include <dirstream.h> before
50426         <dirent/dirent.h>.
50428 2012-02-28  David S. Miller  <davem@davemloft.net>
50430         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50431         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50432         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50433         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50435 2012-02-27  David S. Miller  <davem@davemloft.net>
50437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50439         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50440         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50443         frame pointer instead of stack pointer relative arg slot.
50444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50445         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50446         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50448 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
50450         [BZ #3992]
50451         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50453 2012-02-27  David S. Miller  <davem@davemloft.net>
50455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50459         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50460         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50461         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50462         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50464 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
50466         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50467         later.  Allow versions 5-9.
50468         * configure: Regenerated.
50469         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50470         required minimum version and 4.6 as recommended version.  Do not
50471         mention bugs in GCC 2.7 and 2.8.
50472         * INSTALL: Regenerated.
50474 2012-02-27  David S. Miller  <davem@davemloft.net>
50476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50480         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50481         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50482         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50483         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50485         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50486         manipulate bits before adding and subtracting TWO112[sx].
50487         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50489 2012-02-27  Roland McGrath  <roland@hack.frob.com>
50491         [BZ #13775]
50492         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50493         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50494         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50495         being in POSIX, because they are in 1003.1-2008.
50497         * rt/tst-aio.c: Include <fcntl.h>.
50498         * rt/tst-aio7.c: Likewise.
50499         * rt/tst-aio64.c: Likewise.
50501         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50503 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
50505         * manual/install.texi (--with-headers): Describe headers as
50506         interface headers, not private headers.
50507         (Specific advice for GNU/Linux systems): Describe use of headers
50508         from "make headers_install", not private headers from older
50509         kernels.
50510         * INSTALL: Regenerated.
50511         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50512         Change to 2.6.19.
50513         * sysdeps/unix/sysv/linux/configure: Regenerated.
50515         * manual/llio.texi (fclean): Remove documentation.
50517         * manual/Makefile (libc-texi-generated): New variable.  Include
50518         version.texi.
50519         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
50520         $(libc-texi-generated), not duplicated list of files.
50521         (version.texi, stamp-version): New rules.
50522         (realclean): Remove $(libc-texi-generated), not individual files
50523         from that list.  Do not remove dir-add.texinfo.
50524         * manual/libc.texinfo: Comment out uses of edition numbers and
50525         references to printed manual.  Remove last-updated dates.
50526         (EDITION): Comment out.
50527         (ISBN): Likewise.
50528         (VERSION, UPDATED): Remove.
50529         (version.texi): Include.
50531 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
50533         * sysdeps/posix/spawni.c: Include <signal.h>.
50534         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
50535         * sysdeps/pthread/aio_fsync.c: Likewise.
50537 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
50539         * conform/Makefile (tests): Run only when not cross-compiling and
50540         when fast-check is not defined.
50542         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
50543         * conform/data/limits.h-data: Fixes for POSIX2008.
50544         * conform/run-conformtest.sh: Run all tests.
50545         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
50546         headers.
50547         * include/bits/dlfcn.h: Likewise.
50548         * include/langinfo.h: Likewise.
50549         * include/monetary.h: Likewise.
50550         * include/sys/poll.h: Likewise.
50552         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
50553         for __USE_GNU.
50554         * posix/spawn.h: Define __need_sigset_t.
50555         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
50556         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
50557         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
50558         to get sigevent_t only.
50559         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
50560         only for __USE_GNU.
50561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50562         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50563         process_vm_writev only for __USE_GNU.
50564         * termios/termios.h: Declare tcgetsid also for POSIX2008.
50566         * conform/Makefile: For now ignore errors from run-conformtest.
50567         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
50568         POSIX to avoid namespace pollution.  Don't prepend headers.
50569         * conform/data/aio.h-data: Fixes for POSIX testing.
50570         * conform/data/fcntl.h-data: Likewise.
50571         * conform/data/glob.h-data: Likewise.
50572         * conform/data/grp.h-data: Likewise.
50573         * conform/data/pthread.h-data: Likewise.
50574         * conform/data/pwd.h-data: Likewise.
50575         * conform/data/signal.h-data: Likewise.
50576         * conform/data/spawn.h-data: Likewise.
50577         * conform/data/stdio.h-data: Likewise.
50578         * conform/data/stdlib.h-data: Likewise.
50579         * conform/data/stropts.h-data: Likewise.
50580         * conform/data/sys/mman.h-data: Likewise.
50581         * conform/data/sys/stat.h-data: Likewise.
50582         * conform/data/sys/types.h-data: Likewise.
50583         * conform/data/sys/wait.h-data: Likewise.
50584         * conform/data/time.h-data: Likewise.
50585         * conform/data/unistd.h-data: Likewise.
50586         * conform/data/utime.h-data: Likewise.
50588         * io/sys/stat.h: fchmod was always in POSIX.
50589         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
50590         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
50591         * rt/aio.h: Define __need_timespec before including <time.h>.
50592         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
50593         struct.  Add forward declaration of pthread_attr_t and use it in
50594         sigevent.
50595         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50596         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50597         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
50598         always remove CLK_TCK definition.
50600 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
50602         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50604 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
50606         * conform/run-conformtest.sh: New file.
50607         * conform/Makefile: Run run-conformtest for tests.
50608         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
50609         support.
50611         * conform/data/uchar.h-data: New file.
50612         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50613         * conform/data/arpa/inet.h-data: Likewise.
50614         * conform/data/assert.h-data: Likewise.
50615         * conform/data/complex.h-data: Likewise.
50616         * conform/data/cpio.h-data: Likewise.
50617         * conform/data/ctype.h-data: Likewise.
50618         * conform/data/dirent.h-data: Likewise.
50619         * conform/data/dlfcn.h-data: Likewise.
50620         * conform/data/errno.h-data: Likewise.
50621         * conform/data/fcntl.h-data: Likewise.
50622         * conform/data/float.h-data: Likewise.
50623         * conform/data/fmtmsg.h-data: Likewise.
50624         * conform/data/fnmatch.h-data: Likewise.
50625         * conform/data/ftw.h-data: Likewise.
50626         * conform/data/glob.h-data: Likewise.
50627         * conform/data/grp.h-data: Likewise.
50628         * conform/data/iconv.h-data: Likewise.
50629         * conform/data/inttypes.h-data: Likewise.
50630         * conform/data/langinfo.h-data: Likewise.
50631         * conform/data/libgen.h-data: Likewise.
50632         * conform/data/limits.h-data: Likewise.
50633         * conform/data/locale.h-data: Likewise.
50634         * conform/data/math.h-data: Likewise.
50635         * conform/data/monetary.h-data: Likewise.
50636         * conform/data/mqueue.h-data: Likewise.
50637         * conform/data/ndbm.h-data: Likewise.
50638         * conform/data/net/if.h-data: Likewise.
50639         * conform/data/netdb.h-data: Likewise.
50640         * conform/data/netinet/in.h-data: Likewise.
50641         * conform/data/nl_types.h-data: Likewise.
50642         * conform/data/poll.h-data: Likewise.
50643         * conform/data/pthread.h-data: Likewise.
50644         * conform/data/pwd.h-data: Likewise.
50645         * conform/data/regex.h-data: Likewise.
50646         * conform/data/sched.h-data: Likewise.
50647         * conform/data/search.h-data: Likewise.
50648         * conform/data/semaphore.h-data: Likewise.
50649         * conform/data/setjmp.h-data: Likewise.
50650         * conform/data/signal.h-data: Likewise.
50651         * conform/data/spawn.h-data: Likewise.
50652         * conform/data/stdarg.h-data: Likewise.
50653         * conform/data/stdio.h-data: Likewise.
50654         * conform/data/stdlib.h-data: Likewise.
50655         * conform/data/string.h-data: Likewise.
50656         * conform/data/strings.h-data: Likewise.
50657         * conform/data/stropts.h-data: Likewise.
50658         * conform/data/sys/ipc.h-data: Likewise.
50659         * conform/data/sys/mman.h-data: Likewise.
50660         * conform/data/sys/msg.h-data: Likewise.
50661         * conform/data/sys/resource.h-data: Likewise.
50662         * conform/data/sys/select.h-data: Likewise.
50663         * conform/data/sys/sem.h-data: Likewise.
50664         * conform/data/sys/shm.h-data: Likewise.
50665         * conform/data/sys/socket.h-data: Likewise.
50666         * conform/data/sys/stat.h-data: Likewise.
50667         * conform/data/sys/statvfs.h-data: Likewise.
50668         * conform/data/sys/time.h-data: Likewise.
50669         * conform/data/sys/timeb.h-data: Likewise.
50670         * conform/data/sys/times.h-data: Likewise.
50671         * conform/data/sys/types.h-data: Likewise.
50672         * conform/data/sys/uio.h-data: Likewise.
50673         * conform/data/sys/un.h-data: Likewise.
50674         * conform/data/sys/utsname.h-data: Likewise.
50675         * conform/data/sys/wait.h-data: Likewise.
50676         * conform/data/syslog.h-data: Likewise.
50677         * conform/data/tar.h-data: Likewise.
50678         * conform/data/termios.h-data: Likewise.
50679         * conform/data/utime.h-data: Likewise.
50680         * conform/data/utmpx.h-data: Likewise.
50681         * conform/data/varargs.h-data: Likewise.
50682         * conform/data/wchar.h-data: Likewise.
50683         * conform/data/wctype.h-data: Likewise.
50684         * conform/data/wordexp.h-data: Likewise.
50686         * include/stropts.h: New file.
50687         * include/uchar.h: New file.
50688         * include/aio.h: Changes to allow conformtest.pl to use the headers.
50689         * include/assert.h: Likewise.
50690         * include/ctype.h: Likewise.
50691         * include/dirent.h: Likewise.
50692         * include/dlfcn.h: Likewise.
50693         * include/fcntl.h: Likewise.
50694         * include/fnmatch.h: Likewise.
50695         * include/glob.h: Likewise.
50696         * include/grp.h: Likewise.
50697         * include/libio.h: Likewise.
50698         * include/locale.h: Likewise.
50699         * include/math.h: Likewise.
50700         * include/net/if.h: Likewise.
50701         * include/netdb.h: Likewise.
50702         * include/netinet/in.h: Likewise.
50703         * include/pthread.h: Likewise.
50704         * include/pwd.h: Likewise.
50705         * include/regex.h: Likewise.
50706         * include/sched.h: Likewise.
50707         * include/search.h: Likewise.
50708         * include/setjmp.h: Likewise.
50709         * include/signal.h: Likewise.
50710         * include/stdio.h: Likewise.
50711         * include/stdlib.h: Likewise.
50712         * include/string.h: Likewise.
50713         * include/sys/cdefs.h: Likewise.
50714         * include/sys/mman.h: Likewise.
50715         * include/sys/msg.h: Likewise.
50716         * include/sys/resource.h: Likewise.
50717         * include/sys/select.h: Likewise.
50718         * include/sys/socket.h: Likewise.
50719         * include/sys/stat.h: Likewise.
50720         * include/sys/statvfs.h: Likewise.
50721         * include/sys/time.h: Likewise.
50722         * include/sys/times.h: Likewise.
50723         * include/sys/uio.h: Likewise.
50724         * include/sys/utsname.h: Likewise.
50725         * include/sys/wait.h: Likewise.
50726         * include/termios.h: Likewise.
50727         * include/time.h: Likewise.
50728         * include/ulimit.h: Likewise.
50729         * include/unistd.h: Likewise.
50730         * include/utime.h: Likewise.
50731         * include/wchar.h: Likewise.
50732         * include/wctype.h: Likewise.
50733         * include/wordexp.h: Likewise.
50735         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50737         * time/time.h: TIME_UTC must be a macro.
50738         Make timespec_get available for ISO C11 only as well.
50740 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
50742         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50743         Reported by Peng Haitao <penght@cn.fujitsu.com>.
50745 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50747         * configure.in: Use -o not -a in test for unsupported multi-arch.
50749 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50751         * manual/texinfo.tex: Update to version 2012-01-19.16.
50753 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50755         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50757 2012-02-24  Roland McGrath  <roland@hack.frob.com>
50759         [BZ #13738]
50760         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50761         * manual/fdl-1.3.texi: New file.
50762         * manual/fdl-1.1.texi: File removed.
50764         [BZ #13738]
50765         * manual/libc.texinfo (FDL_VERSION): New @set.
50766         Use it for mention of FDL in cover text.
50767         (Documentation License): Use it in @include file name.
50769 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50770             Roland McGrath  <roland@hack.frob.com>
50772         [BZ #5461]
50773         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50774         (not LONG_LONG_MAX and LONG_LONG_MIN.
50775         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50776         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
50777         name.
50778         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50780 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50782         [BZ #2547]
50783         [BZ #11365]
50784         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50785         manipulate bits before adding and subtracting TWO23[sx].
50786         * math/libm-test.inc (nearbyint_test): Add more tests.
50788 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50790         [BZ #2548]
50791         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50792         bits before adding and subtracting TWO23[sx].
50793         * math/libm-test.inc (rint_test): Add more tests.
50794         (rint_test_tonearest): Likewise.
50795         (rint_test_towardzero): Likewise.
50796         (rint_test_downward): Likewise.
50797         (rint_test_upward: Likewise.
50799 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50801         [BZ #10110]
50802         * include/stdc-predef.h: New file.  Extracted from features.h.
50803         * include/features.h: Include stdc-predef.h.
50804         * Makefile (headers): Add stdc-predef.h.
50805         * CONFORMANCE (Compiler limitations): Update.
50807 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50809         * manual/libc.texinfo (VERSION, UPDATED): Revert.
50811 2012-02-21  David S. Miller  <davem@davemloft.net>
50813         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50814         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50816 2012-02-20  David S. Miller  <davem@davemloft.net>
50818         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50819         using a normal save/restore sequence, rather than allocating a
50820         dummy stack frame just to store a frame pointer and restore.
50821         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50823 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50825         * manual/install.texi: Fix stray word in line-wrapped comment.
50827 2012-02-20  David S. Miller  <davem@davemloft.net>
50829         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50830         both binutils and gcc support GOTDATA.
50832         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50833         "rd %pc" in the PIC register setup sequences.
50835         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50836         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50837         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50838         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50839         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50840         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50841         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50842         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50843         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50844         (SYSCALL_ERROR_HANDLER): Likewise.
50845         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50846         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50848         (SYSCALL_ERROR_HANDLER): Likewise.
50850         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50851         (HAVE_GCC_GOTDATA): New.
50852         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50853         relocation support in both binutils and gcc.
50854         * sysdeps/sparc/elf/configure: Regenerate.
50856         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50857         * sysdeps/sparc/sparc32/elf/configure: Delete.
50858         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50859         * sysdeps/sparc/sparc64/elf/configure: Delete.
50860         * sysdeps/sparc/elf/configure.in: New file.
50861         * sysdeps/sparc/elf/configure: Generate.
50863         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50864         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50865         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50866         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50867         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50869 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50871         * manual/install.texi: Do not mention specific glibc version
50872         numbers.
50873         * manual/libc.texinfo (VERSION, UPDATED): Update.
50874         (@copying): Use @copyright{} and range of years.
50876 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50878         [BZ #13695]
50879         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50880         [crti.S not in sysdirs] (generated): Do not append.
50881         [crti.S not in sysdirs] (omit-deps): Likewise.
50882         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50883         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50884         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50885         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50886         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50887         Likewise.
50888         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50889         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50890         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50891         * csu/defs.awk: Remove file.
50892         * sysdeps/generic/initfini.c: Likewise.
50893         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50894         variable.
50895         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50896         Likewise.
50898 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50900         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50901         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50902         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50903         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50904         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50905         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50906         <bits/epoll.h>.
50907         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50908         (__EPOLL_PACKED): Define to empty if not defined by
50909         <bits/epoll.h>.
50910         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50912         bits/epoll.h.
50914 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50916         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50917         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50918         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50919         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50920         <bits/timerfd.h>.
50921         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50922         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50923         bits/timerfd.h.
50925 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50927         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50928         in C locale.
50929         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50930         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50931         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50934 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
50936         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50937         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50939 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
50941         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50942         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50943         defined.
50944         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50945         Likewise.
50946         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50947         entry for 2.16.
50949 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
50951         * math/w_acos.c: Use non-signaling floating-point comparisons.
50952         * math/w_acosf.c: Likewise.
50953         * math/w_acosh.c: Likewise.
50954         * math/w_acoshf.c: Likewise.
50955         * math/w_acoshl.c: Likewise.
50956         * math/w_acosl.c: Likewise.
50957         * math/w_asin.c: Likewise.
50958         * math/w_asinf.c: Likewise.
50959         * math/w_asinl.c: Likewise.
50960         * math/w_atanh.c: Likewise.
50961         * math/w_atanhf.c: Likewise.
50962         * math/w_atanhl.c: Likewise.
50963         * math/w_exp2.c: Likewise.
50964         * math/w_exp2f.c: Likewise.
50965         * math/w_exp2l.c: Likewise.
50966         * math/w_j0.c: Likewise.
50967         * math/w_j0f.c: Likewise.
50968         * math/w_j0l.c: Likewise.
50969         * math/w_j1.c: Likewise.
50970         * math/w_j1f.c: Likewise.
50971         * math/w_j1l.c: Likewise.
50972         * math/w_jn.c: Likewise.
50973         * math/w_jnf.c: Likewise.
50974         * math/w_log.c: Likewise.
50975         * math/w_log10.c: Likewise.
50976         * math/w_log10f.c: Likewise.
50977         * math/w_log10l.c: Likewise.
50978         * math/w_log2.c: Likewise.
50979         * math/w_log2f.c: Likewise.
50980         * math/w_log2l.c: Likewise.
50981         * math/w_logf.c: Likewise.
50982         * math/w_logl.c: Likewise.
50983         * math/w_sqrt.c: Likewise.
50984         * math/w_sqrtf.c: Likewise.
50985         * math/w_sqrtl.c: Likewise.
50986         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50987         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50988         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50989         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50990         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50992 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50994         [BZ #9739]
50995         * manual/string.texi (strnlen): Use correct parameter name in
50996         equivalent expression.
50998 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51000         [BZ #11174]
51001         * manual/users.texi (seteuid): Consistently use neweuid for
51002         argument name.
51004 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51006         [BZ #13704]
51007         * manual/nss.texi (Services in the NSS configuration): Correct
51008         list of services in example configuration file.
51010 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
51012         [BZ #11322]
51013         * manual/arith.texi: Remove statements about negative zero
51014         behaving identically to zero.
51016 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51018         [BZ #5993]
51019         * manual/install.texi: Do not document upgrading from libc5.
51021 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51023         [BZ #4596]
51024         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51026 2012-02-18  David S. Miller  <davem@davemloft.net>
51028         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51029         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51030         %o7 across the call.
51031         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51032         instead.
51033         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51034         SETUP_PIC_REG_LEAF.
51035         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51036         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51037         * sysdeps/sparc/crtn.S: Likewise.
51039 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
51041         * aout/Makefile: Remove.
51043 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
51045         [BZ #13058]
51046         * manual/examples/argp-ex1.c (main): Format definition in GNU
51047         style.
51048         * manual/examples/argp-ex2.c (main): Likewise.
51049         * manual/examples/argp-ex3.c (main): Likewise.
51050         * manual/examples/argp-ex4.c (main): Likewise.
51051         * manual/examples/longopt.c (main): Use new-style prototype
51052         definition.
51053         * manual/examples/strncat.c (main): Specify return type and use
51054         (void) for arguments.
51055         * manual/examples/subopt.c (main): Use char **argv argument.
51057 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51059         [BZ #5077]
51060         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51061         rounding modes.
51063 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
51065         [BZ #6907]
51066         * manual/string.texi (strchr): Change when strchrnul is
51067         recommended.
51069 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
51071         [BZ #174]
51072         * manual/locale.texi (setlocale): Document LOCPATH.
51074 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51076         [BZ #10210]
51077         * manual/process.texi (execle): Move @dots{} before last argument.
51079 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
51081         [BZ #12047]
51082         * manual/charset.texi (Generic Charset Conversion): Fix typo
51083         (LC_TYPE -> LC_CTYPE).
51085 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
51087         [BZ #5805]
51088         * manual/arith.texi (scalbn): Use @var{} on parameter names.
51089         (scalbnf): Likewise.
51090         (scalbnl): Likewise.
51091         (scalbln): Likewise.
51092         (scalblnf): Likewise.
51093         (scalblnl): Likewise.
51094         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51095         (vwarnx): Likewise.
51096         (verr): Likewise.
51097         (verrx): Likewise.
51098         * manual/filesys.texi (telldir): Use braces around return type.
51099         * manual/llio.texi (mmap): Add space after comma.
51100         (mmap64): Likewise.
51101         * manual/math.texi (jn): Use @var{} on parameter names.
51102         (jnf): Likewise.
51103         (jnl): Likewise.
51104         (yn): Likewise.
51105         (ynf): Likewise.
51106         (ynl): Likewise.
51107         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51108         line.
51109         * manual/resource.texi (ulimit): Use @dots{} instead of literal
51110         "...".
51111         (sched_get_priority_min): Remove semicolon on @deftypefun line.
51112         (sched_get_priority_max): Likewise.
51113         * manual/signal.texi (sigvec): Add space after comma.
51114         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51115         names.
51116         (if_indextoname): Likewise.
51117         (if_freenameindex): Likewise.
51118         (sendto): Use ',' instead of '.' in prototype.
51119         * manual/startup.texi (syscall): Use @dots{} instead of literal
51120         "...".
51121         * manual/stdio.texi (__fpending): Separate initial words of
51122         paragraph from @deftypefun line.
51123         * manual/syslog.texi (syslog): Use @dots{} instead of literal
51124         "...".
51125         (vsyslog): Use @var{} on parameter names.
51126         * manual/terminal.texi (stty): Use @var{} on parameter names.
51127         * manual/users.texi (getutmp): Use @var{} on parameter names.
51128         (getutmpx): Likewise.
51130 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51132         [BZ #6884]
51133         * manual/stdio.texi (fopen): Fix typos in description of
51134         ",ccs=STRING".
51136 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
51138         [BZ #4026]
51139         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
51140         get clock_id definition.
51142 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
51144         [BZ #4822]
51145         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
51146         (madvise): Cast every argument to void on its own.
51148 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51150         [BZ #9902]
51151         * manual/startup.texi (Exit Status): Fix typo.
51153 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51155         [BZ #10140]
51156         * manual/examples/argp-ex1.c: Include <stdlib.h>.
51157         * manual/examples/argp-ex2.c: Likewise.
51158         * manual/examples/argp-ex3.c: Likewise.
51160 2012-02-16  Richard Henderson  <rth@redhat.com>
51162         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51163         * sysdeps/s390/s390-32/initfini.c: Remove.
51164         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51165         * sysdeps/s390/s390-64/initfini.c: Remove.
51167 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51169         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51170         compiler output for sysdeps/generic/initfini.c.
51171         * sysdeps/sh/elf/initfini.c: Remove file.
51173 2012-02-16  David S. Miller  <davem@davemloft.net>
51175         [BZ #11494]
51176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51178         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51179         * sysdeps/sparc/crti.S: New file.
51180         * sysdeps/sparc/crtn.S: New file.
51181         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51182         * sysdeps/sparc/sparc64/Makefile: Likewise.
51184 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
51186         [BZ #3335]
51187         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51189 2012-02-15  Roland McGrath  <roland@hack.frob.com>
51191         [BZ #4822]
51192         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51194         * mach/devstream.c (cookie_io_functions_t): Macro removed.
51195         (write, read, close): Likewise.
51196         Patch by Aurelien Jarno <aurelien@aurel32.net>.
51198 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
51200         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51201         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51202         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51203         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51204         <bits/signalfd.h>.
51205         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51206         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51207         bits/signalfd.h.
51209 2012-02-14  Marek Polacek  <polacek@redhat.com>
51211         * sysdeps/x86_64/crti.S: New file.
51212         * sysdeps/x86_64/crtn.S: New file.
51213         * sysdeps/x86_64/elf/initfini.c: Remove file.
51215 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51217         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51218         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51219         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51220         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51221         <bits/inotify.h>.
51222         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51223         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51224         bits/inotify.h.
51226 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51228         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51229         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51230         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51231         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51232         <bits/eventfd.h>.
51233         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51234         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51235         bits/eventfd.h.
51237 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
51239         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51240         __feraiseexcept instead of feraiseexcept.
51242         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51243         nanosleep invocations.
51244         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51245         strings, and add error checking for a nanosleep invocations.
51247 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
51249         Replace FSF snail mail address with URLs, as per GNU coding standards.
51250         Most of the snail mail addresses were wrong anyway, and omitting
51251         them makes the source code easier to maintain.  Almost all of the
51252         changes are to license notices and to locale LC_IDENTIFICATION
51253         addresses, except for this one:
51254         * manual/libc.texinfo: In "Published by", give the FSF's URL,
51255         not its snail mail address.
51257 2012-02-09  Richard Henderson  <rth@twiddle.net>
51259         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51260         of kernel-features.h.
51262         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51264 2012-02-08  Marek Polacek  <polacek@redhat.com>
51266         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51267         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51268         * sysdeps/gnu/_G_config.h: Likewise.
51269         * sysdeps/generic/_G_config.h: Likewise.
51271 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
51273         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51274         tests.
51275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51277         * sysdeps/powerpc/powerpc32/crti.S: New file.
51278         * sysdeps/powerpc/powerpc32/crtn.S: New file.
51279         * sysdeps/powerpc/powerpc64/crti.S: New file.
51280         * sysdeps/powerpc/powerpc64/crtn.S: New file.
51282         * Makeconfig (have-initfini): Don't set.
51283         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51284         * configure.in (nopic_initfini): Don't substitute.
51285         * config.h.in (HAVE_INITFINI): Don't #undef.
51286         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51287         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51289 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
51291         Support crti.S and crtn.S provided directly by architectures.
51292         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51293         [crti.S in sysdirs] (omit-deps): Likewise.
51294         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51295         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51296         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51297         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51298         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51299         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51300         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51301         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51302         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51303         compiler output for sysdeps/generic/initfini.c.
51304         * sysdeps/i386/elf/Makefile: Remove file.
51305         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51307 2012-02-07  Marek Polacek  <polacek@redhat.com>
51309         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51310         * sysdeps/gnu/_G_config.h: Likewise.
51311         * sysdeps/mach/hurd/_G_config.h: Likewise.
51313 2012-02-07  Marek Polacek  <polacek@redhat.com>
51315         * math/Makefile (tests): Add tst-CMPLX2.
51316         * math/tst-CMPLX2.c: New file.
51318 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
51320         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51322         * math/libm-test.inc (jn_test): Add missing L suffix.
51324 2012-02-06  Marek Polacek  <polacek@redhat.com>
51326         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51327         * sysdeps/i386/fpu/e_powf.S: Likewise.
51328         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51329         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51330         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51331         * sysdeps/i386/fpu/e_pow.S: Likewise.
51332         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51333         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51334         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51335         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51336         * sysdeps/i386/fpu/e_log2.S: Likewise.
51337         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51338         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51339         * sysdeps/i386/fpu/e_powl.S: Likewise.
51340         * sysdeps/i386/fpu/s_log1p.S: Likewise.
51341         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51342         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51343         * sysdeps/i386/fpu/e_logl.S: Likewise.
51344         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51345         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51346         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51347         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51348         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51349         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51350         * sysdeps/i386/fpu/e_log.S: Likewise.
51351         * sysdeps/i386/fpu/s_cexp.S: Likewise.
51352         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51353         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51354         * sysdeps/i386/fpu/e_logf.S: Likewise.
51355         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51356         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51357         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51358         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51359         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51360         * sysdeps/i386/fpu/e_log10.S: Likewise.
51361         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51362         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51363         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51364         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51365         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51366         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51367         * sysdeps/i386/asm-syntax.h: Likewise.
51368         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51369         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51370         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51371         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51372         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51373         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51374         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51375         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51376         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51377         * sysdeps/powerpc/sysdep.h: Likewise.
51378         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51379         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51381 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51383         [BZ #411]
51384         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51386 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51388         * sysdeps/i386/sysdep.h: Include <features.h>.
51389         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51390         version.
51392 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
51394         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51395         Define.
51396         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51397         LOAD_PIC_REG_STR.
51399 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51401         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51402         (SETUP_PIC_REG): Use GET_PC_THUNK.
51403         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51404         macro.
51406 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51408         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51409         for non-PIC compilation.
51410         (SETUP_PIC_REG): Add .p2align directive.
51411         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51412         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51413         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51414         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51415         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51416         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51417         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51418         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51419         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51420         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51421         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51422         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51423         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51424         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51425         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51426         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51427         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51428         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51429         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51430         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51431         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51432         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51433         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51434         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51435         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51436         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51437         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51438         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51439         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51440         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51441         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51442         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51443         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51444         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51445         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51446         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51447         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51448         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51449         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51450         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51451         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51453 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51455         * math/tst-CMPLX.c: Include <stdio.h>.
51457 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
51459         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51460         float.
51461         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51462         * sysdeps/sparc/bits/mathdef.h: Likewise.
51464 2012-01-31  Marek Polacek  <polacek@redhat.com>
51466         * libio/libio.h: Don't define _PARAMS.
51467         * locale/programs/config.h: Don't define PARAMS.
51468         * stdlib/strtol_l.c: Likewise.
51469         (__strtol_l): Remove PARAMS from the prototype.
51471 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
51473         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
51474         names.  Just use the correct names.  Remove unnecessary wrapper
51475         functions.
51476         * malloc/arena.c: Likewise.
51477         * malloc/hooks.c: Likewise.
51479         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51480         ARENA_TEST says not to.  Simplify test for creation of a new arena.
51481         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51483 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
51485         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51486         into tail calls.
51487         (update_get_addr): New function.
51488         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51489         GET_ADDR_MODULE parameter.
51491 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
51493         * crypt/cert.c: Remove __STDC__ conditionals.
51494         * crypt/crypt-entry.c: Likewise.
51495         * crypt/crypt_util.c: Likewise.
51496         * libio/filedoalloc.c: Likewise.
51497         * libio/fileops.c: Likewise.
51498         * libio/genops.c: Likewise.
51499         * libio/iofclose.c: Likewise.
51500         * libio/iofdopen.c: Likewise.
51501         * libio/iofopen.c: Likewise.
51502         * libio/iofopen64.c: Likewise.
51503         * libio/iogetdelim.c: Likewise.
51504         * libio/iopopen.c: Likewise.
51505         * libio/obprintf.c: Likewise.
51506         * libio/oldfileops.c: Likewise.
51507         * libio/oldiofclose.c: Likewise.
51508         * libio/oldiofdopen.c: Likewise.
51509         * libio/oldiofopen.c: Likewise.
51510         * libio/oldiopopen.c: Likewise.
51511         * libio/wfiledoalloc.c: Likewise.
51512         * libio/wgenops.c: Likewise.
51513         * locale/programs/xmalloc.c: Likewise.
51514         * misc/syslog.c: Likewise.
51515         * stdio-common/xbug.c: Likewise.
51516         * string/memchr.c: Likewise.
51517         * string/memcmp.c: Likewise.
51518         * string/memrchr.c: Likewise.
51519         * string/rawmemchr.c: Likewise.
51520         * sysdeps/posix/getcwd.c: Likewise.
51521         * time/strftime_l.c: Likewise.
51523 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
51525         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
51526         * config.make.in (config-cflags-sse2avx): Define.
51527         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
51528         Fix typo.
51530 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
51532         * scripts/config.guess: Update from upstream config git repository.
51533         * scripts/config.sub: Likewise.
51535 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
51537         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
51538         (EM_NUM): Update.
51539         (R_TILEPRO_*, R_TILEGX_*): New macros.
51541         * scripts/firstversions.awk: Fix bug in version range handling.
51543         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
51545         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
51547         * include/sys/epoll.h: New file.
51548         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
51549         libc_hidden_def.
51551 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
51553         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
51554         Avoid unnecessary __WORDSIZE == 64 test.
51555         (fmaxf): Use VEX format if possible.
51556         (fmax): Likewise.
51557         (fminf): Likewise.
51558         (fmin): Likewise.
51560         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
51561         * math/math_private.h: Remove libc_fegetround* and
51562         libc_fesetround*.
51563         * sysdeps/i386/configure.in: Check for -msse2avx.
51564         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
51565         also if SSE2AVX is defined.
51566         Remove libc_fegetround* and libc_fesetround*.
51567         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
51568         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
51569         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
51570         of HAS_YMM_USABLE.
51571         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51572         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51573         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51574         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51575         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51577         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
51579 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51581         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
51582         size is not set.
51583         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51585 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
51587         [BZ #13618]
51588         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
51589         relocation.
51590         * Makeconfig (libm): Define.
51591         * elf/Makefile: Add rules to build and run tst-relsort1.
51592         * elf/tst-relsort1.c: New file.
51593         * elf/tst-relsort1mod1.c: New file.
51594         * elf/tst-relsort1mod2.c: New file.
51596 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
51598         * math/s_ldexp.c: Remove __STDC__ conditionals.
51599         * math/s_ldexpf.c: Likewise.
51600         * math/s_ldexpl.c: Likewise.
51601         * math/s_nextafter.c: Likewise.
51602         * math/s_nexttowardf.c: Likewise.
51603         * math/s_significand.c: Likewise.
51604         * math/s_significandf.c: Likewise.
51605         * math/s_significandl.c: Likewise.
51606         * math/w_jnl.c: Likewise.
51607         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51608         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51609         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51610         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51611         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51612         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51613         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51614         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51615         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51616         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51617         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51618         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51619         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51620         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51621         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51622         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51623         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51624         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51625         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51626         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51627         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51628         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51629         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51630         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51631         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51632         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51633         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51634         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51635         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51636         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51637         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51638         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51639         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51640         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51641         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51642         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51643         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51644         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51645         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51646         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51647         * sysdeps/ieee754/k_standard.c: Likewise.
51648         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51649         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51650         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51651         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51652         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51653         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51654         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51655         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51656         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51657         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51658         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51659         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51660         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51661         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51662         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51663         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51664         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51665         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51666         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51667         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51668         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51669         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51670         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51671         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51672         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51673         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51674         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51675         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51676         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51677         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51678         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51679         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51680         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51681         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51682         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51683         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51684         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51685         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51686         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51687         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51688         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51690         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51691         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51692         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51693         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51694         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51695         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51696         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51697         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51698         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51699         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51700         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51701         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51702         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51703         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51704         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51705         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51706         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51707         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51708         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51709         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51710         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51711         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51712         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51713         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51714         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51715         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51716         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51717         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51718         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51719         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51720         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51721         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51722         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51723         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51724         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51725         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51726         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51727         * sysdeps/ieee754/s_matherr.c: Likewise.
51728         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51729         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51730         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51731         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51733 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
51735         * crypt/md5.h: Remove __STDC__ conditionals.
51736         * libio/libioP.h: Likewise.
51737         * locale/programs/config.h: Likewise.
51738         * sysdeps/generic/sysdep.h: Likewise.
51739         * sysdeps/i386/asm-syntax.h: Likewise.
51740         * sysdeps/s390/asm-syntax.h: Likewise.
51741         * sysdeps/unix/sysdep.h: Likewise.
51742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51745 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
51747         * libio/libio.h: Remove __STDC__ conditionals.
51748         * malloc/obstack.h: Likewise.
51749         * math/complex.h: Likewise.
51750         * math/math.h: Likewise.
51751         * sysdeps/generic/_G_config.h: Likewise.
51752         * sysdeps/gnu/_G_config.h: Likewise.
51753         * sysdeps/mach/hurd/_G_config.h: Likewise.
51754         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51755         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51756         * sysdeps/sparc/bits/mathdef.h: Likewise.
51758 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
51760         [BZ #13583]
51761         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
51762         Clean up HAS_* macros.
51763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
51764         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51765         possible.
51766         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51767         HAS_AVX.
51768         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51769         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51770         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51771         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51772         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51774 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
51776         * elf/tst-unique3.cc (gets): Remove declaration.
51777         * elf/tst-unique3lib.cc (gets): Likewise.
51778         * elf/tst-unique3lib2.cc (gets): Likewise.
51779         * elf/tst-unique4.cc (gets): Likewise.
51781 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
51783         * include/stdio.h: Add C++ protection.  Add gets declarations and
51784         definitions.
51785         * debug/tst-chk1.c: Don't declare gets here.
51786         * stdio-common/tst-gets.c: Likewise.
51788 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
51790         * posix/glob: Remove directory.
51792 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
51794         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51796 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
51798         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51799         of the non-standard EPFNOSUPPORT.
51801 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51803         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51804         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51805         ANYWHERE set to 1 only on KERN_NO_SPACE error.
51807 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
51809         * wcsmbs/uchar.h: Test __STDC_VERSION__.
51811 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
51813         * nscd/aicache.c (addhstaiX): Do not cache negative results of
51814         transient errors.
51815         * nscd/grpcache.c (cache_addgr): Likewise.
51816         * nscd/hstcache.c (cache_addhst): Likewise.
51817         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51818         * nscd/pwdcache.c (cache_addpw): Likewise.
51819         * nscd/servicescache.c (cache_addserv): Likewise.
51821 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
51823         * malloc/malloc.c: Various cleanups.
51824         * malloc/hooks.c: Likewise.
51826         * stdlib/Makefile (tests): Add bug-fmtmsg1.
51827         * stdlib/bug-fmtmsg1.c: New file.
51829         * stdlib/fmtmsg.c (init): Add missing unlock.
51830         Patch by Peng Haitao <penght@cn.fujitsu.com>.
51832 2012-01-12  Marek Polacek  <polacek@redhat.com>
51834         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51835         and _GNU_SOURCE.
51837 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51839         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51840         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51841         macro to ensure uniqueness of label name.
51842         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51843         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51845 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
51847         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51849         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51850         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51851         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51852         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51854 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
51856         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51858         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51859         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51860         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51862         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51864         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51865         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51866         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51867         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51869         * math/bits/math-finite.h: Add ldexp support.
51871 2012-01-10  Marek Polacek  <polacek@redhat.com>
51873         * locale/programs/localedef.h (show_archive_content): Add noreturn
51874         attribute.
51876 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
51878         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51880 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51882         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51884         * io/Makefile (headers): Add bits/poll2.h.
51886 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
51888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51889         typo #include statement.
51891 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51893         * include/sys/cdefs.h: Define __attribute_alloc_size.
51894         * catgets/gencat.c: Add alloc_size attribute and apply consistently
51895         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51896         * elf/pldd.c: Likewise.
51897         * iconv/iconv_charmap.c: Likewise.
51898         * iconv/iconvconfig.c: Likewise.
51899         * iconv/strtab.c: Likewise.
51900         * locale/programs/locale.c: Likewise.
51901         * locale/programs/localedef.h: Likewise.
51902         * locale/programs/simple-hash.c: Likewise.
51903         * nscd/nscd.h: Likewise.
51904         * nss/makedb.c: Likewise.
51905         * sysdeps/generic/ldconfig.h: Likewise.
51906         * locale/programs/localedef.c: Remove xmalloc prototype.
51907         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51909 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51911         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51912         appropriate.
51914 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51916         * math/Makefile (tests): Add tst-CMPLX.
51917         * math/tst-CMPLX.c: New file.
51919         * math/complex.h (CMPLXL): Fix typo.
51921         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51922         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51923         GLIBC_2.16.
51924         * debug/tst-chk1.c: Add poll and ppoll tests.
51925         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51926         * include/sys/poll.h: Add hidden proto for ppoll.
51927         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51928         * sysdeps/mach/hurd/ppoll.c: Likewise.
51929         * io/ppoll.c: Likewise.
51930         * debug/poll_chk.c: New file.
51931         * debug/ppoll_chk.c: New file.
51932         * include/bits/poll2.h: New file.
51933         * io/bits/poll2.h: New file.
51935         [BZ #1350]
51936         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51938         * configure.in: static is always set to yes.  Remove.
51939         * config.make.in: Don't set build-static.
51940         * Makeconfig: Remove use of build-static.
51941         * dlfcn/Makefile: Likewise.
51942         * elf/Makefile: Likewise.
51943         * math/Makefile: Likewise.
51944         * misc/Makefile: Likewise.
51945         * nptl/Makefile: Likewise.
51946         * sysdeps/mach/hurd/Makefile: Likewise.
51948         * configure.in: PWD_P is not used anymore.
51949         * config.make.in: Remove PWD_P entry.
51951         * configure.in: Remove last remnants of RANLIB.
51952         No need to check for signed size_t anymore.
51953         Don't set libc_commonpagesize and libc_relro_required here for Alpha
51954         and IA-64.
51955         Remove __builtin_expect test because we require at least gcc 3.4.
51956         * aclocal.m4: Likewise.
51958         * wcsmbs/mbrtoc16.c: Implement using towc function.
51959         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51960         * wcsmbs/wcsmbsload.c: Likewise.
51961         * iconv/gconv_simple.c: Likewise.
51962         * iconv/gconv_int.h: Likewise.
51963         * iconv/gconv_builtin.h: Likewise.
51964         * iconv/iconv_prog.c: Remove CHAR16 handling.
51966         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51968         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51970         * configure.in: Remove --with-elf and --enable-bounded options.
51971         Dont set base_machine for ia64.  More non-ELF conditions removed.
51972         Remove testing and setting of leading underscore information.
51973         * config.make.in (build-bounded): Set to no.
51974         * config.h.in: Remove NO_UNDERSCORES entry.
51975         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
51976         them.
51977         * csu/start.c: Remove !NO_UNDERSCORE code.
51978         * locale/localeinfo.h: Likewise.
51979         * sysdeps/generic/machine-gmon.h: Likewise.
51980         * sysdeps/generic/sysdep.h: Likewise.
51981         * sysdeps/i386/sysdep.h: Likewise.
51982         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51983         * sysdeps/mach/sysdep.h: Likewise.
51984         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51985         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51986         * sysdeps/sh/sysdep.h: Likewise.
51987         * sysdeps/sparc/sparc32/alloca.S: Likewise.
51988         * sysdeps/unix/i386/sysdep.S: Likewise.
51989         * sysdeps/unix/sparc/start.c: Likewise.
51990         * sysdeps/unix/sparc/sysdep.S: Likewise.
51991         * sysdeps/unix/sparc/sysdep.h: Likewise.
51992         * sysdeps/unix/start.c: Likewise.
51993         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51994         * sysdeps/x86_64/sysdep.h: Likewise.
51996 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
51998         [BZ #13553]
51999         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52000         for non-gcc.
52001         * argp/argp-fmtstream.h: Use const instead __const.
52002         * argp/argp.h: Likewise.
52003         * assert/assert.h: Likewise.
52004         * bits/fenv.h: Likewise.
52005         * bits/sched.h: Likewise.
52006         * bits/sigset.h: Likewise.
52007         * bits/sigthread.h: Likewise.
52008         * catgets/nl_types.h: Likewise.
52009         * conform/data/pthread.h-data: Likewise.
52010         * crypt/crypt-private.h: Likewise.
52011         * crypt/crypt.h: Likewise.
52012         * crypt/crypt_util.c: Likewise.
52013         * ctype/ctype.h: Likewise.
52014         * debug/execinfo.h: Likewise.
52015         * debug/mbsnrtowcs_chk.c: Likewise.
52016         * debug/mbsrtowcs_chk.c: Likewise.
52017         * debug/wcsnrtombs_chk.c: Likewise.
52018         * debug/wcsrtombs_chk.c: Likewise.
52019         * debug/wcstombs_chk.c: Likewise.
52020         * dirent/dirent.h: Likewise.
52021         * dlfcn/dlfcn.h: Likewise.
52022         * elf/neededtest4.c: Likewise.
52023         * grp/grp.h: Likewise.
52024         * gshadow/gshadow.h: Likewise.
52025         * iconv/gconv.h: Likewise.
52026         * iconv/gconv_int.h: Likewise.
52027         * iconv/gconv_simple.c: Likewise.
52028         * iconv/iconv.h: Likewise.
52029         * iconv/loop.c: Likewise.
52030         * iconv/skeleton.c: Likewise.
52031         * include/aio.h: Likewise.
52032         * include/aliases.h: Likewise.
52033         * include/argz.h: Likewise.
52034         * include/arpa/inet.h: Likewise.
52035         * include/assert.h: Likewise.
52036         * include/dirent.h: Likewise.
52037         * include/dlfcn.h: Likewise.
52038         * include/execinfo.h: Likewise.
52039         * include/fcntl.h: Likewise.
52040         * include/fenv.h: Likewise.
52041         * include/glob.h: Likewise.
52042         * include/grp.h: Likewise.
52043         * include/libintl.h: Likewise.
52044         * include/mntent.h: Likewise.
52045         * include/netdb.h: Likewise.
52046         * include/pwd.h: Likewise.
52047         * include/rpc/netdb.h: Likewise.
52048         * include/sched.h: Likewise.
52049         * include/search.h: Likewise.
52050         * include/shadow.h: Likewise.
52051         * include/signal.h: Likewise.
52052         * include/stdio.h: Likewise.
52053         * include/stdlib.h: Likewise.
52054         * include/string.h: Likewise.
52055         * include/sys/socket.h: Likewise.
52056         * include/sys/stat.h: Likewise.
52057         * include/sys/statfs.h: Likewise.
52058         * include/sys/statvfs.h: Likewise.
52059         * include/sys/syslog.h: Likewise.
52060         * include/sys/time.h: Likewise.
52061         * include/sys/uio.h: Likewise.
52062         * include/time.h: Likewise.
52063         * include/unistd.h: Likewise.
52064         * include/utmp.h: Likewise.
52065         * include/wchar.h: Likewise.
52066         * include/wctype.h: Likewise.
52067         * inet/aliases.h: Likewise.
52068         * inet/arpa/inet.h: Likewise.
52069         * inet/netinet/ether.h: Likewise.
52070         * inet/netinet/in.h: Likewise.
52071         * intl/libintl.h: Likewise.
52072         * io/bits/fcntl2.h: Likewise.
52073         * io/fcntl.h: Likewise.
52074         * io/ftw.h: Likewise.
52075         * io/sys/poll.h: Likewise.
52076         * io/sys/stat.h: Likewise.
52077         * io/sys/statfs.h: Likewise.
52078         * io/sys/statvfs.h: Likewise.
52079         * io/utime.h: Likewise.
52080         * libio/bits/stdio.h: Likewise.
52081         * libio/bits/stdio2.h: Likewise.
52082         * libio/libio.h: Likewise.
52083         * libio/libioP.h: Likewise.
52084         * libio/stdio.h: Likewise.
52085         * locale/lc-ctype.c: Likewise.
52086         * locale/locale.h: Likewise.
52087         * login/utmp.h: Likewise.
52088         * malloc/arena.c: Likewise.
52089         * malloc/malloc.c: Likewise.
52090         * malloc/malloc.h: Likewise.
52091         * malloc/mcheck.c: Likewise.
52092         * malloc/mtrace.c: Likewise.
52093         * math/bits/mathcalls.h: Likewise.
52094         * math/fenv.h: Likewise.
52095         * math/math_private.h: Likewise.
52096         * misc/bits/error.h: Likewise.
52097         * misc/bits/syslog.h: Likewise.
52098         * misc/err.h: Likewise.
52099         * misc/error.h: Likewise.
52100         * misc/fstab.h: Likewise.
52101         * misc/mntent.h: Likewise.
52102         * misc/regexp.h: Likewise.
52103         * misc/search.h: Likewise.
52104         * misc/sgtty.h: Likewise.
52105         * misc/sys/mman.h: Likewise.
52106         * misc/sys/syslog.h: Likewise.
52107         * misc/sys/uio.h: Likewise.
52108         * misc/sys/xattr.h: Likewise.
52109         * misc/ttyent.h: Likewise.
52110         * nis/rpcsvc/ypclnt.h: Likewise.
52111         * nss/nss.h: Likewise.
52112         * posix/bits/unistd.h: Likewise.
52113         * posix/fnmatch.h: Likewise.
52114         * posix/glob.h: Likewise.
52115         * posix/sched.h: Likewise.
52116         * posix/spawn.h: Likewise.
52117         * posix/sys/wait.h: Likewise.
52118         * posix/unistd.h: Likewise.
52119         * posix/wordexp.h: Likewise.
52120         * pwd/pwd.h: Likewise.
52121         * resolv/netdb.h: Likewise.
52122         * resource/sys/resource.h: Likewise.
52123         * rt/aio.h: Likewise.
52124         * rt/bits/mqueue2.h: Likewise.
52125         * rt/mqueue.h: Likewise.
52126         * shadow/shadow.h: Likewise.
52127         * signal/signal.h: Likewise.
52128         * socket/send.c: Likewise.
52129         * socket/sendto.c: Likewise.
52130         * socket/sys/socket.h: Likewise.
52131         * stdio-common/printf.h: Likewise.
52132         * stdlib/bits/stdlib.h: Likewise.
52133         * stdlib/fmtmsg.h: Likewise.
52134         * stdlib/monetary.h: Likewise.
52135         * stdlib/stdlib.h: Likewise.
52136         * stdlib/ucontext.h: Likewise.
52137         * streams/stropts.h: Likewise.
52138         * string/argz.h: Likewise.
52139         * string/bits/string2.h: Likewise.
52140         * string/string.h: Likewise.
52141         * string/strings.h: Likewise.
52142         * sunrpc/rpc/auth.h: Likewise.
52143         * sunrpc/rpc/auth_des.h: Likewise.
52144         * sunrpc/rpc/clnt.h: Likewise.
52145         * sunrpc/rpc/netdb.h: Likewise.
52146         * sunrpc/rpc/pmap_clnt.h: Likewise.
52147         * sunrpc/rpc/xdr.h: Likewise.
52148         * sysdeps/generic/inttypes.h: Likewise.
52149         * sysdeps/generic/net/if.h: Likewise.
52150         * sysdeps/generic/sys/swap.h: Likewise.
52151         * sysdeps/gnu/net/if.h: Likewise.
52152         * sysdeps/gnu/utmpx.h: Likewise.
52153         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52154         * sysdeps/i386/i486/bits/string.h: Likewise.
52155         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52156         * sysdeps/s390/bits/string.h: Likewise.
52157         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52158         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52159         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52160         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52161         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52162         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52163         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52164         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52165         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52166         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52167         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52168         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52169         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52170         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52171         * sysdeps/unix/sysv/linux/readv.c: Likewise.
52172         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52173         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52174         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52175         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52176         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52177         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52178         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52179         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52180         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52181         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52182         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52183         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52184         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52185         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52186         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52187         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52188         * sysvipc/sys/ipc.h: Likewise.
52189         * sysvipc/sys/msg.h: Likewise.
52190         * sysvipc/sys/sem.h: Likewise.
52191         * sysvipc/sys/shm.h: Likewise.
52192         * termios/termios.h: Likewise.
52193         * time/sys/time.h: Likewise.
52194         * time/time.h: Likewise.
52195         * wcsmbs/bits/wchar2.h: Likewise.
52196         * wcsmbs/uchar.h: Likewise.
52197         * wcsmbs/wchar.h: Likewise.
52198         * wctype/wctype.h: Likewise.
52200         [BZ #13551]
52201         * Makeconfig: Remove all but ELF support including AIX support.
52202         * Makerules: Likewise.
52203         * config.h.in: Likewise.
52204         * config.make.in: Likewise.
52205         * configure: Likewise.
52206         * configure.in: Likewise.
52207         * csu/Makefile: Likewise.
52208         * csu/version.c: Likewise.
52209         * debug/Makefile: Likewise.
52210         * dlfcn/Makefile: Likewise.
52211         * elf/Makefile: Likewise.
52212         * extra-lib.mk: Likewise.
52213         * iconv/Makefile: Likewise.
52214         * include/libc-symbols.h: Likewise.
52215         * include/shlib-compat.h: Likewise.
52216         * resolv/Makefile: Likewise.
52217         * resolv/res_libc.c: Likewise.
52218         * rt/Makefile: Likewise.
52219         * sysdeps/i386/asm-syntax.h: Likewise.
52220         * sysdeps/i386/sysdep.h: Likewise.
52221         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52222         * sysdeps/mach/sysdep.h: Likewise.
52223         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52224         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52225         * sysdeps/s390/asm-syntax.h: Likewise.
52226         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52227         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52228         * sysdeps/sh/sysdep.h: Likewise.
52229         * sysdeps/unix/sparc/sysdep.h: Likewise.
52230         * sysdeps/wordsize-32/divdi3.c: Likewise.
52231         * sysdeps/x86_64/sysdep.h: Likewise.
52233         * argp/Versions: Remove _argp_unlock_xxx.
52235         [BZ #13559]
52236         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
52237         * abilist/libBrokenLocale.abilist: Likewise.
52238         * abilist/libanl.abilist: Likewise.
52239         * abilist/libc.abilist: Likewise.
52240         * abilist/libcrypt.abilist: Likewise.
52241         * abilist/libdl.abilist: Likewise.
52242         * abilist/libm.abilist: Likewise.
52243         * abilist/libnsl.abilist: Likewise.
52244         * abilist/libpthread.abilist: Likewise.
52245         * abilist/libresolv.abilist: Likewise.
52246         * abilist/librt.abilist: Likewise.
52247         * abilist/libthread_db.abilist: Likewise.
52248         * abilist/libutil.abilist: Likewise.
52249         * abilist/libnss_db.abilist: New file.
52251         * scripts/abilist.awk: Add support for indirect functions.
52253         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52255         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52257         * shlib-versions: Remove entries for ports architectures.
52259         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
52260         files in ports.
52261         * elf/stackguard-macros.h: Remove support for IA-64.
52262         * elf/tst-auditmod1.c: Likewise.
52263         * sysdeps/generic/ldsodefs.h: Likewise.
52265         * sysdeps/unix/sysv/linux/configure.in: Ports should define
52266         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52267         configure files.
52269         [BZ #13552]
52270         * configure.in: Remove --enable-omitfp support.
52271         * FAQ.in: Adjust.
52272         * config.make.in: Likewise.
52273         * Makeconfig: Likewise.
52274         * manual/install.texi: Likewise.
52276         In case anyone cares, the IA-64 architecture could move to ports.
52277         * sysdeps/ia64/*: Removed.
52278         * sysdeps/unix/sysv/linux/ia64/*: Removed.
52279         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
52281         [BZ #13555]
52282         * configure.in: Remove entries for unsupported architectures.
52284         [BZ #13533]
52285         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52286         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
52287         routines.
52288         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52289         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52290         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
52291         fall back to using wcrtomb.
52292         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52293         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
52294         renaming.
52295         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52296         * wcsmbs/tst-c16c32-1.c: New file.
52298         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52299         local variable.
52301         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52303         * elf/tst-unique3.cc: Add explicit declaration of gets.
52304         * elf/tst-unique3lib.cc: Likewise.
52305         * elf/tst-unique3lib2.cc: Likewise.
52306         * elf/tst-unique4.cc: Likewise.
52308         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52310 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
52312         [BZ #13566]
52313         * assert/assert.h (static_assert): Don't define for C++.
52314         * libio/stdio.h (gets): Do declare for C++ <= C++11.
52315         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52317 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
52319         * iconv/loop.c (single loop): Fix assertion in storing of
52320         remaining bytes.
52322         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52324 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
52326         * posix/getconf.c: Update copyright year.
52327         * nss/getent.c: Likewise.
52328         * nss/makedb.c: Likewise.
52329         * iconv/iconvconfig.c: Likewise.
52330         * iconv/iconv_prog.c: Likewise.
52331         * elf/ldconfig.c: Likewise.
52332         * elf/pldd.c: Likewise.
52333         * elf/sotruss.ksh: Likewise.
52334         * catgets/gencat.c: Likewise.
52335         * csu/version.c: Likewise.
52336         * elf/ldd.bash.in: Likewise.
52337         * elf/sprof.c (print_version): Likewise.
52338         * locale/programs/locale.c: Likewise.
52339         * locale/programs/localedef.c: Likewise.
52340         * login/programs/pt_chown.c: Likewise.
52341         * nscd/nscd.c (print_version): Likewise.
52342         * debug/xtrace.sh: Likewise.
52343         * malloc/memusage.sh: Likewise.
52344         * malloc/mtrace.pl: Likewise.
52345         * debug/catchsegv.sh: Likewise.
52347 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
52349         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52350         pure attribute.
52352 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
52354         [BZ #13533]
52355         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52356         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52357         transformations.
52358         * iconv/gconv_int.h: Likewise.
52359         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52360         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52361         from libc for GLIBC_2.16.
52362         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52363         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52364         * wcsmbs/uchar.h: Really define mbstate_t.
52365         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52366         * wcsmbs/c16rtomb.c: New file.
52367         * wcsmbs/mbrtoc16.c: New file.
52368         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52369         for C/POSIX locale.
52370         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52371         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52373         * wcsmbs/wchar.h: Add missing __restrict.
52375 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52377         [BZ #13532]
52378         * time/Makefile (routines): Add timespec_get.
52379         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52380         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
52381         timespec for ISO C11.
52382         * time/timespec_get.c: New file.
52383         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52384         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52386         [BZ #13531]
52387         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52388         * stdlib/stdlib.h: Declare aligned_alloc.
52389         * Versions.def: Add GLIBC_2.16 for libc.
52390         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52392         [BZ 13527]
52393         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52394         ISO C11.
52396         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
52397         code.
52399         [BZ #13528]
52400         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52402         [BZ #13529]
52403         * assert/assert.h (static_assert): Define.
52405         * version.h: Update for 2.16 development version.
52407         [BZ #13526]
52408         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52409         _ISOC11_SOURCE.
52411         * version.h (RELEASE): Bump for 2.15 release.
52412         * include/features.h (__GLIBC_MINOR__): Bump to 15.
52414         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52415         Patch by Marek Polacek <mpolacek@redhat.com>.
52417         * bits/byteswap.h: Protect long long constants with __extension__.
52418         * sysdeps/i386/bits/byteswap.h: Likewise.
52419         * sysdeps/ia64/bits/byteswap.h: Likewise.
52420         * sysdeps/s390/bits/byteswap.h: Likewise.
52421         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52423 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52425         [BZ #13540]
52426         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52427         destination buffer.
52428         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52430 2011-12-23  Marek Polacek  <polacek@redhat.com>
52432         * elf/dl-addr.c (determine_info): Add inline keyword.
52433         * elf/tst-auditmod4b.c (check_avx): Likewise.
52434         * elf/tst-auditmod6b.c (check_avx): Likewise.
52435         * elf/tst-auditmod6c.c (check_avx): Likewise.
52436         * elf/tst-auditmod7b.c (check_avx): Likewise.
52438 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52440         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52441         !__SSE_MATH__.
52443 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52445         [BZ #13540]
52446         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52447         processing for last bytes.
52449 2011-08-06  Bruno Haible  <bruno@clisp.org>
52451         [BZ #13061]
52452         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52453         U+0385, not to U+1FEE.
52455         [BZ #13062]
52456         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52457         entry for U+00A5 U+0301.
52459 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
52461         [BZ #13166]
52462         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52463         buffer for the output is too small.
52465         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52466         optimization.
52468         [BZ #13185]
52469         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52470         SSE flags if possible.
52472 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52474         [BZ #13540]
52475         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52476         processing for last bytes.
52478 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
52480         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52481         (syscall-list-default-options, syscall-list-default-condition)
52482         (syscall-list-includes): Define.
52483         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52484         list of ABIs and options and #if conditions for each ABI.  Do not
52485         handle common syscalls between ABIs specially.
52486         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52487         Remove.
52488         (syscall-list-variants, syscall-list-32bit-options)
52489         (syscall-list-32bit-condition, syscall-list-64bit-options)
52490         (syscall-list-64bit-condition): Define.
52491         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52492         (syscall-list-variants, syscall-list-32bit-options)
52493         (syscall-list-32bit-condition, syscall-list-64bit-options)
52494         (syscall-list-64bit-condition): Define.
52495         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52496         Remove.
52497         (syscall-list-variants, syscall-list-32bit-options)
52498         (syscall-list-32bit-condition, syscall-list-64bit-options)
52499         (syscall-list-64bit-condition): Define.
52500         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
52501         Remove.
52502         (syscall-list-variants, syscall-list-32bit-options)
52503         (syscall-list-32bit-condition, syscall-list-64bit-options)
52504         (syscall-list-64bit-condition): Define.
52506 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
52508         * locale/iso-639.def: Add brx entry.
52510         [BZ #13328]
52511         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52512         Proposed by Mariusz_Cukr <marcukr@op.pl>.
52514         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52515         __feraiseexcept_renamed.
52517 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
52519         [BZ #13538]
52520         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
52521         EPOLLET with unsigned values.
52522         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52523         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52525         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
52526         to large cancellation.
52527         * math/s_cacoshf.c: Likewise.
52528         * math/s_cacoshl.c: Likewise.
52530 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
52532         [BZ #13305]
52533         [BZ #12786]
52534         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
52535         * math/s_cacoshf.c: Likewise.
52536         * math/s_cacoshl.c: Likewise.
52538 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
52540         [BZ #13439]
52541         * iconv/gconv.h: Define __GCONV_SWAP.
52542         * iconvdata/unicode.c: The swap bit must be stored in __flags.
52543         * iconvdata/utf-16.c: Likewise.
52544         * iconvdata/utf-32.c: Likewise.
52546 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
52548         [BZ #13524]
52549         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
52550         numerator after shifting it by one limb.
52552 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
52554         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
52555         under [__USE_EXTERN_INLINES].
52557 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
52559         [BZ #13446]
52560         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
52562 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52564         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
52565         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
52566         optimized code.
52567         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
52568         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
52569         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
52570         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
52571         for strncasecmp/strncasecmp_l compilation.
52572         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
52573         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
52575 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
52577         [BZ #13484]
52578         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
52579         of __asm__.
52581 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
52583         [BZ #13506]
52584         * time/tzfile.c (__tzfile_read): Check values from file header.
52586 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52588         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
52589         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
52590         * powerpc/powerpc32/dl-start.S: Likewise.
52591         * powerpc/powerpc32/elf/start.S: Likewise.
52592         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52593         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
52594         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
52595         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
52596         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52597         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
52598         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
52599         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52600         * powerpc/powerpc32/fpu/s_round.S: Likewise.
52601         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52602         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52603         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52604         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52605         * powerpc/powerpc32/memset.S: Likewise.
52606         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52607         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52608         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52609         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52610         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52611         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52612         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52613         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52614         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52615         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52616         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52617         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52618         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52620 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52622         * math/libm-test.inc: Added more nearbyint tests.
52623         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52624         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52625         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52626         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52628 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
52630         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52631         FD_CLOEXEC.
52633 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52635         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52636         Add wcscpy-ssse3 wcscpy-c.
52637         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52638         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52639         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52640         * sysdeps/x86_64/wcschr.S: New file.
52641         * sysdeps/x86_64/wcsrchr.S: New file.
52642         * string/test-strcmp.c: Remove checking of wcscmp function for
52643         wrong alignments.
52644         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52645         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52646         wcsrchr-sse2 wcsrchr-c.
52647         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52648         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52649         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52650         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52651         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52652         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52653         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52654         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52655         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52656         * wcsmbc/wcschr.c (WCSCHR): New macro.
52658 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52660         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52661         * wcsmbs/test-wcsrchr.c: New file.
52662         * string/test-strrchr.c: Add wcsrchr support.
52663         (WIDE): New macro.
52664         * wcsmbs/test-wcscpy.c: New file.
52665         * string/test-strcpy.c: Add wcscpy support.
52666         (WIDE): New macro.
52668 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
52670         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52671         the inner loop.
52673 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
52675         [BZ #13472]
52676         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52678 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
52680         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52681         Minor optimizations.
52683         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52684         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52685         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52687 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
52689         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52690         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52691         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52692         for gcc to avoid warnings.
52693         * inet/Makefile (tests): Add tst-checks.
52694         * inet/tst-checks.c: New file.
52696         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52697         warning.
52699         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52700         __wmemcmp_sse2.
52702         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52703         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52705         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52707 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
52709         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52710         problem.
52712         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52714 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
52716         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52717         conditional on GCC version.
52718         (__arch_compare_and_exchange_val_8_acq)
52719         (__arch_compare_and_exchange_val_16_acq)
52720         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52721         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52722         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52724 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
52726         * sysdeps/sh/backtrace.c: New file.
52728 2011-12-02  Andreas Schwab  <schwab@redhat.com>
52730         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
52731         parenthesis.
52733 2011-12-01  Andreas Schwab  <schwab@redhat.com>
52735         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52736         falling back to utime.
52738 2011-11-30  Andreas Schwab  <schwab@redhat.com>
52740         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52741         expectations for float.
52743 2011-11-29  Andreas Schwab  <schwab@redhat.com>
52745         * locale/weight.h (findidx): Add parameter len.
52746         * locale/weightwc.h (findidx): Likewise.
52747         * posix/fnmatch_loop.c (FCT): Adjust caller.
52748         * posix/regcomp.c (build_equiv_class): Likewise.
52749         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52750         * posix/regexec.c (check_node_accept_bytes): Likewise.
52751         * string/strcoll_l.c (STRCOLL): Likewise.
52752         * string/strxfrm_l.c (STRXFRM): Likewise.
52754 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
52756         * Makefile.in: Remove CVSOPT handling.
52757         * configure.in: Remove use of AC_REVISION.
52758         * iconvdata/Makefile (distribute): No need to filter out CVS.
52759         * scripts/list-sources.sh: Remove CVS, subversion and monotone
52760         handling.
52762 2011-11-16  Andreas Schwab  <schwab@redhat.com>
52764         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52765         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52766         [USE_AS_STRNCASECMP_L]: Likewise.
52767         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52768         NO_TLS_DIRECT_SEG_REFS.
52769         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52770         Fix argument offsets for non-PIC.
52771         [USE_AS_STRNCASECMP_L]: Likewise.
52772         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52773         NO_TLS_DIRECT_SEG_REFS.
52775 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
52777         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
52778         O_CLOEXEC.
52779         * locale/loadlocale.c (_nl_load_locale): Likewise.
52781 2011-11-15  Andreas Schwab  <schwab@redhat.com>
52783         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52784         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52785         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52786         (SYSCALL_GETTIME): Set errno on error.
52788         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52789         count references to noai6ai_cached.
52791 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
52793         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52795         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52796         FD_CLOEXEC for /proc/self/maps.
52798         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52799         FD_CLOEXEC for /proc/meminfo.
52801         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52802         gai.conf.
52804         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
52805         FD_CLOEXEC for given file.
52807         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52809         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52810         FD_CLOEXEC for /etc/hosts.
52811         (_gethtent): Likewise.
52813         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52815         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52816         cancellation and set FD_CLOEXEC for /etc/netgroup.
52818         * nss/nss_files/files-key.c (search): Don't allow cancellation when
52819         reading /etc/publickey.
52821         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52822         allow cancellation when reading /etc/group.
52824         * nss/nss_files/files-alias.c (internal_setent): Don't allow
52825         cancellation.
52826         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
52828         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52829         when using data file.
52831         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52833         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52834         (write_nis_obj): Use "c" and "e" in fopen.
52836         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52838         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52840         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52842         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52844         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52845         locale.alias.
52847         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52849         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52851         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52853         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52854         file parsing and set FD_CLOEXEC.
52856 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
52858         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52860 2011-11-14  Andreas Schwab  <schwab@redhat.com>
52862         * malloc/arena.c (arena_get2): Don't call reused_arena when
52863         _int_new_arena failed.
52865 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
52867         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52868         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52869         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52870         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52871         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52872         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52873         to compile strcasecmp and strncasecmp.
52874         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52875         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52877         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52879 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
52881         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52882         locale-defines.sym to gen-as-const-headers.
52883         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52884         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52885         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52886         to compile strcasecmp and strncasecmp.
52887         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52888         strcasecmp_l and strncasecmp_l.
52889         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52890         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52891         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52892         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52893         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52894         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52895         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52896         * sysdeps/i386/i686/multiarch/strncase.S: New file.
52897         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52898         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52899         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52901 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
52903         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52904         result of SYSDEP_GETTIME_CPU to retval.
52905         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52906         parameter list to macro.  Remove trailing semicolon.  Adjust users.
52908         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52909         variable.
52911         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52912         mantissa words.
52913         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52915         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52916         from unused variable.
52918         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52919         DWARF definitions.
52920         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52921         for assembling.
52923         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52924         over namespaces.
52926         * sunrpc/rpc_prot.c (rejected): Fix case value.
52928         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52929         unsigned long long int to avoid warnings in shift.
52931         * posix/regex_internal.c (re_string_reconstruct): Actually use result
52932         of use of trans.
52933         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52934         variable tmp.
52936         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52937         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52938         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52940         * nis/nis_table.c (nis_list): Use variable of correct type for
52941         result of __follow_path call.
52943 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52945         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52946         of math functions ceil, trunc, floor, round, and sqrt, when
52947         avaliable on the platform.
52948         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52949         name clash.
52950         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52951         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52952         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52954 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
52956         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52957         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52959 2011-11-11  Roland McGrath  <roland@hack.frob.com>
52961         * include/unistd.h: Fix __readlink return type.
52962         Reported by Chris Metcalf <cmetcalf@tilera.com>.
52964 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
52966         * stdlib/ucontext.h: Undo last change for makecontext.
52968 2011-11-11  Andreas Schwab  <schwab@redhat.com>
52970         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52972         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52973         * setjmp/setjmp.h: Mark functions as non-leaf.
52974         * setjmp/bits/setjmp2.h: Likewise.
52975         * stdlib/ucontext.h: Likewise.
52977 2011-11-10  Andreas Schwab  <schwab@redhat.com>
52979         * malloc/arena.c (_int_new_arena): Don't increment narenas.
52980         (reused_arena): Don't check arena limit.
52981         (arena_get2): Atomically check arena limit.
52983 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
52985         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52986         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52988         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52989         instructions.
52991 2011-11-07  Andreas Schwab  <schwab@redhat.com>
52993         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52994         handler when locking.
52996         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52997         Fix size of allocated buffer.
52999 2011-11-04  Andreas Schwab  <schwab@redhat.com>
53001         [BZ #10103]
53002         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53003         declarations for long double functions.
53004         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53006         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53008 2011-11-03  Andreas Schwab  <schwab@redhat.com>
53010         * nscd/nscd.c (main): Don't start AVC thread until credentials are
53011         installed.
53013         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53014         is disabled.
53016 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53018         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53020 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53022         * include/alloca.h (stackinfo_alloca_round): Define.
53023         (extend_alloca): Use it.
53024         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53025         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53026         here.
53028         * scripts/check-local-headers.sh: Ignore libaudit.h.
53030         * nscd/Makefile (extra-objs): Make recursively expanded.
53032 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
53034         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53035         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53037         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53038         * posix/tst-rfc3484-2.c: Likewise.
53039         * posix/tst-rfc3484-3.c: Likewise.
53041         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53042         process_vm_writev.
53043         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53044         process_vm_writev.
53045         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53046         process_vm_writev from libc using GLIBC_2.15 version.
53048         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53050 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
53052         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53053         stack usage.
53055 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
53057         [BZ #13367]
53058         * nss/getent.c (initgroups_keys): Show error message in case no group
53059         names are given.
53061         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53062         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53063         __bump_nl_timestamp.
53064         * nscd/connections (nscd_init): When host database is served open
53065         netlink socket and request notification about configuration changes.
53066         (main_loop_poll): Track netlink file descriptor and bump timestamp
53067         in case data becomes available.
53068         (main_loop_epoll): Likewise.
53069         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53070         (database_pers_head): Add extra_data fileds.
53071         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53072         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53073         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53074         Adjust caller.
53075         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53076         in6ai data, call __free_in6ai.
53077         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53078         Add -DHAVE_NETLINK.
53079         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
53080         interface information.  Reuse previous data if netlink timestamp
53081         is not changed.
53082         (__bump_nl_timestamp): New function.
53083         (__free_in6ai): New function.
53085 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
53087         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53088         close_not_cancel_no_status here.
53089         (__check_pf): Reorganize code a bit to not call close twice if OOM.
53091 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
53093         [BZ #13276]
53094         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53095         return value.
53097         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
53098         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53099         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53101 2011-07-03  Andreas Jaeger  <aj@suse.de>
53103         [BZ #10709]
53104         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53105         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53106         * math/libm-test.inc (sin_test): Add test case.
53108 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
53110         [BZ #13337]
53111         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53112         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53114         * elf/chroot_canon.c (chroot_canon): Cleanups.
53116         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
53118         [BZ #13335]
53119         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
53120         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53122         * string/test-strchr.c: Make usable for strchrnul testing.
53123         * string/test-strchrnul.c: New file.
53124         * string/Makefile (strop-tests): Add strchrnul.
53126         * po/it.po: Update from translation team.
53127         * po/es.po: Likewise.
53129 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
53131         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
53132         the three constants needed as parameters.  Drop the others.
53133         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
53134         __m128i_strloadu_tolower.
53135         Create and initialize variable zero and use it in all the places
53136         where _mm_setzero_si128 was used.
53138         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
53139         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
53140         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
53141         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
53142         anymore.
53143         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
53144         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
53145         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
53146         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
53147         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
53148         __mpranred, __mptan.
53149         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
53150         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
53151         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
53152         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53153         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53154         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53155         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53156         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53157         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53159 2011-10-28  Andreas Schwab  <schwab@redhat.com>
53161         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53162         redefine if SHARED.
53163         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53165         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53166         wide char related routines to wcsmbs subdir.
53168 2011-10-27  Andreas Schwab  <schwab@redhat.com>
53170         [BZ #13344]
53171         * misc/sys/cdefs.h (__THROWNL): Define.
53172         * posix/unistd.h: Use __THREADNL instead of __THREAD
53173         for memory synchronization functions.
53175 2011-10-26  Roland McGrath  <roland@hack.frob.com>
53177         [BZ #13349]
53178         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53179         doesn't exist.
53180         * manual/stdio.texi (Obstack Streams): Node removed.
53182 2011-10-26  Andreas Schwab  <schwab@redhat.com>
53184         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53185         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53186         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53188         * math/math_private.h (math_force_eval): Allow non-addressable
53189         arguments.
53190         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53192 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53194         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53195         file is not needed.
53197         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53198         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53199         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53200         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53201         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53202         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53203         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53204         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53205         Add AVX variants.
53206         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53207         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53208         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53209         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53210         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53211         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53212         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53213         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53214         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53215         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53216         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53217         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53218         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53219         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53220         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53221         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53222         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53223         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53224         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53226         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53227         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
53229         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53230         place.  Use VEX encoding when compiling for AVX.
53232 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53234         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53235         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53237         * string/test-strchr.c (do_test): Don't generate NUL bytes.
53239 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53241         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
53242         useless if() expression.
53243         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53244         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53245         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53246         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53247         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53248         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53249         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53250         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53251         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53252         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53253         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53254         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53255         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53256         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53257         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53258         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53259         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53260         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53261         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53263         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53265 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53267         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53268         condition.
53269         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53271 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53273         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53274         .text section.  Avoid duplicate constants.
53275         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53276         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53277         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53278         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53279         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53280         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53281         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53282         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53283         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53284         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53285         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53286         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53287         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53288         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53289         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53290         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53291         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53292         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53293         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53294         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53295         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53296         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53297         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53298         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53299         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53300         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53301         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53302         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53303         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53304         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53305         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53306         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53307         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53308         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53309         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53310         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53311         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53312         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53313         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53314         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53315         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53316         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53317         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53318         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53319         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53321 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
53323         * sysdeps/x86_64/dla.h: Move to ...
53324         * sysdeps/x86_64/fpu/dla.h: ...here.
53325         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53326         situations.  Use __builtin_fma only for gcc 4.6 and up.
53328         * config.make.in: Add have-mfma4 entry.
53329         * configure.in: Substitute libc_cv_cc_fma4.
53330         * math/Makefile (dbl-only-routines): Add sincostab.
53331         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
53332         Use __sincostab not sincos.
53333         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
53334         name is a macro.
53335         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53336         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53337         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53338         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
53339         using __copysign.
53340         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
53341         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
53342         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53343         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53344         and __inv.
53345         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53346         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53347         __copysign.
53348         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
53349         define aliases when function name is a macro.
53350         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53351         sysdeps/ieee754/dbl-64/sincos.tbl.
53352         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53353         fma4-enabled routines.
53354         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53355         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53356         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53357         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53358         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53359         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53360         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53361         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53362         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53363         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53364         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53365         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53366         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53367         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53368         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53369         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53370         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53371         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53372         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53373         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53374         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53375         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53376         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53377         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53378         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53379         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53380         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53381         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53382         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53383         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53385         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53386         rename.
53387         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53388         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53389         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53390         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53391         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53392         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53393         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53394         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53396 2011-10-24  Andreas Schwab  <schwab@redhat.com>
53398         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53400 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53404         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53405         prediction.
53406         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53408         * string/strnlen.c: Don't define STRNLEN, reverse logic.
53409         Remove unused variable magic_bits.
53410         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53412         * string/strnlen.c: Define and use STRNLEN macro.
53413         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53414         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53415         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53416         * wcsmbs/wcslen.c: Define and use WCSLEN.
53417         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53418         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53419         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53420         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53421         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53422         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53423         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53425 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53428         strnlen-sse2-no-bsf.
53429         Rename strlen-no-bsf to strlen-sse2-no-bsf.
53430         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53431         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53432         Add strnlen support.
53433         (USE_AS_STRNLEN): New macro.
53434         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53435         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53436         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53437         * sysdeps/x86_64/wcslen.S: New file.
53439 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
53441         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53442         XMM-moves are used for copying on small sizes.
53444 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53446         * wcsmbs/Makefile (strop-tests): Add wcschr.
53447         * wcsmbs/test-wcschr.c: New file.
53448         * string/test-strchr.c: Update.
53449         Add wcschr support.
53450         (WIDE): New macro.
53452 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53454         * wcsmbs/Makefile (strop-tests): Add wcslen.
53455         * wcsmbs/test-wcslen.c: New file.
53456         * string/test-strlen.c: Update.
53457         Add wcslen support.
53458         (WIDE): New macro.
53460 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53462         * po/it.po: Update from translation team.
53464 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53466         * sysdeps/x86_64/wcscmp.S: Update.
53467         Fix wrong comparison semantics.
53468         wcscmp shall use signed comparison not unsigned.
53469         Don't use substraction to avoid overflow bug.
53470         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53471         * wcsmbc/wcscmp.c: Likewise.
53472         * string/test-strcmp.c: Likewise.
53473         Add new tests to check cases with negative values.
53475 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53477         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53478         * sysdeps/x86_64/dla.h: ...here.  New file.
53479         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53480         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53481         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53482         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53483         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53484         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53485         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53486         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53487         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53489 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
53491         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53492         __ynl_finite aliases.
53494 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
53496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53498         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53499         define DLA_FMA.
53500         [DLA_FMA] (EMULV): Use DLA_FMA.
53501         [DLA_FMA] (MUL12): Use EMULV.
53502         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53503         that are not needed.
53504         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53505         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53506         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53507         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53508         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53509         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53510         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53512 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
53514         * math/s_nan.c: Undef __nan.
53515         * math/s_nanf.c: Undef __nanf.
53516         * math/s_nanl.c: Undef __nanl.
53517         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
53518         "math_private.h".
53520 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
53522         * math/s_catan.c: Add branch predictions.
53523         * math/s_catanf.c: Likewise.
53524         * math/s_catanh.c: Likewise.
53525         * math/s_catanhf.c: Likewise.
53526         * math/s_catanhl.c: Likewise.
53527         * math/s_catanl.c: Likewise.
53528         * math/s_cexp.c: Likewise.
53529         * math/s_cexpf.c: Likewise.
53530         * math/s_cexpl.c: Likewise.
53531         * math/s_clog.c: Likewise.
53532         * math/s_clog10.c: Likewise.
53533         * math/s_clog10f.c: Likewise.
53534         * math/s_clog10l.c: Likewise.
53535         * math/s_clogf.c: Likewise.
53536         * math/s_clogl.c: Likewise.
53537         * math/s_csqrt.c: Likewise.
53538         * math/s_csqrtf.c: Likewise.
53539         * math/s_csqrtl.c: Likewise.
53540         * math/s_ctanf.c: Likewise.
53541         * math/s_ctanh.c: Likewise.
53542         * math/s_ctanhf.c: Likewise.
53543         * math/s_ctanhl.c: Likewise.
53544         * math/s_ctanl.c: Likewise.
53546         * math/math_private.h: Define __nan, __nanf, __nanl.
53547         * math/s_cacosh.c: Include <math_private.h>.
53548         * math/s_cacoshl.c: Likewise.
53549         * math/s_casinh.c: Likewise.
53550         * math/s_casinhf.c: Likewise.
53551         * math/s_casinhl.c: Likewise.
53552         * math/s_ccos.c: Rely entire on ccosh.
53553         * math/s_ccosf.c: Rely entire on ccoshf.
53554         * math/s_ccosl.c: Rely entirely on ccoshl.
53555         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
53556         Remove tests for FE_INVALID.
53557         * math/s_ccoshf.c: Likewise.
53558         * math/s_ccoshl.c: Likewise.
53559         * math/s_csin.c: Likewise.
53560         * math/s_csinf.c: Likewise.
53561         * math/s_csinh.c Likewise.
53562         * math/s_csinhf.c: Likewise.
53563         * math/s_csinhl.c: Likewise.
53564         * math/s_csinl.c: Likewise.
53565         * math/s_ctan.c: Likewise.
53566         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
53567         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
53568         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
53570 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
53572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
53573         compilation problems.
53575         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
53576         __builtin_expect.
53578 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
53580         * sysdeps/i386/configure.in: Test for -mfma4 option.
53581         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
53582         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
53583         COMMON_CPUID_INDEX_80000001.
53584         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
53585         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
53586         use it if FMA3 is not supported.
53587         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
53589         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
53590         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53592 2011-10-20  Andreas Schwab  <schwab@redhat.com>
53594         [BZ #12892]
53595         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
53596         it would create a cycle with a link time dependency.
53598 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
53600         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
53601         instruction.
53602         * string/Makefile (strop-tests): Add rawmemchr.
53603         * string/test-rawmemchr.c: New file.
53605         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53606         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
53607         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
53608         when compiling str{,n}casecmp and when AVX is available.  Hook up
53609         new optimized code in initializers.
53611 2011-10-19  Andreas Schwab  <schwab@redhat.com>
53613         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53614         __feraiseexcept instead of feraiseexcept.
53616 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
53618         * math/math_private.h: Define defaults for libc_fetestexcept and
53619         libc_feupdateenv.
53620         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53621         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53622         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53623         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53624         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53625         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53626         libc_fetestexcept and libc_feupdateenv.
53628         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53629         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53630         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53631         * sysdeps/x86_64/fpu/math_private.h: Define special version of
53632         libc_feholdexcept_setround.
53634         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53635         Add s_nearbyint-c and s_nearbyintf-c.
53636         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53637         nearbyintf inlines.
53638         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53639         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53640         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53641         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53643         * math/math_private.h: Define defaults for libc_fegetround,
53644         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53645         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53646         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53647         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53648         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53649         standard functions.
53650         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53651         Remove comments and hacks for old compiler versions.
53652         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53653         libc_fegetround, libc_fesetround, libc_feholdexcept, and
53654         libc_feholdexceptl.
53656 2011-10-18  Andreas Schwab  <schwab@redhat.com>
53658         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
53659         (__feraiseexcept_renamed): Add __NTH.
53660         (feraiseexcept): Add __NTH.  Rename local variables to fix
53661         namespace violations.
53663 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
53665         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53667         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53669         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53670         recently added interfaces.
53671         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53673         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53674         about macro parameter expansion.
53676         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53677         __NO_MATH_INLINES is defined.  Cleanups.
53679         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53680         and __floorf is target has SSE4.1.
53681         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53682         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53683         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53684         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53686         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53687         name.
53688         (floorf): Likewise.
53690         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53692 2011-10-17  Andreas Schwab  <schwab@redhat.com>
53694         * misc/sys/cdefs.h: Fix last change.
53696         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53697         database lookup.
53699 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
53701         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53703         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53704         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53705         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53706         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53707         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53708         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53709         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53710         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53711         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53712         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53713         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53714         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53715         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53716         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53717         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53718         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53719         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53720         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53721         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53722         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53723         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53724         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53726         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53727         ceil, ceilf, floor, floorf.
53729         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53730         Perform IRELATIVE relocations last.
53732         * elf/do-rel.h: Add another parameter nrelative, replacing the
53733         local variable with the same name.  Change name of the function
53734         to end in Rel or Rela (uppercase).
53735         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53736         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
53737         elf_dynamic_do_##reloc function.
53739 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
53741         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53742         is sufficient, at least on modern CPUs.
53744         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53746         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53747         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53749         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53750         __expl_finite.
53751         * math/bits/math-finite.h: Add entries for exp.
53752         * math/e_expl.c: Add __*_finite alias.
53753         * sysdeps/i386/fpu/e_exp.S: Likewise.
53754         * sysdeps/i386/fpu/e_expf.S: Likewise.
53755         * sysdeps/i386/fpu/e_expl.c: Likewise.
53756         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53757         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53758         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53759         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53760         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53761         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53762         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53764         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53765         is sufficient, at least on modern CPUs.
53767         * ctype/ctype-info.c (__ctype_init): Define.
53768         * include/ctype.h (__ctype_init): Declare.
53769         (__ctype_b_loc): The variable is always initialized.
53770         (__ctype_toupper_loc): Likewise.
53771         (__ctype_tolower_loc): Likewise.
53772         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53773         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53775 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
53777         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53779         * configure.in: Also look in $cxxmachine/include for C++ system
53780         headers.
53782 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53784         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53785         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53786         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53787         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
53788         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53789         (USE_AS_WMEMCMP): New macro.
53790         Fixing indents.
53791         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53792         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53793         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53794         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53795         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53796         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53797         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53798         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53799         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53800         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53801         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53802         (USE_AS_WMEMCMP): New macro.
53803         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53804         * sysdeps/string/test-memcmp.c: Update.
53805         Fix simple_wmemcmp.
53806         Add new tests.
53807         * wcsmbs/wmemcmp.c: Update.
53808         (WMEMCMP): New macro.
53809         Fix overflow bug.
53811 2011-10-12  Andreas Jaeger  <aj@suse.de>
53813         [BZ #13268]
53814         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53816 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
53818         * libio/iofwide.c (do_length): Avoid warning.
53820         * ctype/ctype.h (__isctype_f): Add missing __THROW.
53822 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
53824         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53826         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53827         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53828         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53829         * sysdeps/i386/i686/fpu/e_log.S: New file.
53830         * sysdeps/i386/i686/fpu/e_logf.S: New file.
53831         * sysdeps/i386/i686/fpu/e_logl.S: New file.
53833         * ctype/ctype.h: Add support for inlined isXXX functions when
53834         compiling C++ code.
53836 2011-10-14  Andreas Schwab  <schwab@redhat.com>
53838         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53840         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53842 2011-10-13  Roland McGrath  <roland@hack.frob.com>
53844         [BZ #13291]
53845         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53847 2011-10-13  Andreas Schwab  <schwab@redhat.com>
53849         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53850         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53851         feraiseexcept.
53853         * sysdeps/x86_64/memrchr.S: Check for zero size.
53855         * string/stratcliff.c: Add memrchr tests.
53857 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53859         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53860         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53861         rawmemchr-sse2 rawmemchr-sse2-bsf.
53862         * sysdeps/i386/i686/multiarch/memchr.S: New file.
53863         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53864         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53865         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53866         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53867         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53868         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53869         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53870         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53871         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53872         * string/memrchr.c (MEMRCHR): New macro.
53874 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
53876         Add integration with gcc's -ffinite-math-only and optimize wrapper
53877         functions in libm.
53878         * Versions.def: Define GLIBC_2.15 version for libm.
53879         * math/Makefile (headers): Add bits/math-finite.h.
53880         * math/bits/math-finite.h: New file.
53881         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53882         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53883         * math/e_acoshl.c: Add __*_finite alias.
53884         * math/e_acosl.c: Likewise.
53885         * math/e_asinl.c: Likewise.
53886         * math/e_atan2l.c: Likewise.
53887         * math/e_atanhl.c: Likewise.
53888         * math/e_coshl.c: Likewise.
53889         * math/e_exp10.c: Likewise.
53890         * math/e_exp10f.c: Likewise.
53891         * math/e_exp10l.c: Likewise.
53892         * math/e_exp2l.c: Likewise.
53893         * math/e_fmodl.c: Likewise.
53894         * math/e_gammal_r.c: Likewise.
53895         * math/e_hypotl.c: Likewise.
53896         * math/e_j0l.c: Likewise.
53897         * math/e_j1l.c: Likewise.
53898         * math/e_jnl.c: Likewise.
53899         * math/e_lgammal_r.c: Likewise.
53900         * math/e_log10l.c: Likewise.
53901         * math/e_log2l.c: Likewise.
53902         * math/e_logl.c: Likewise.
53903         * math/e_powl.c: Likewise.
53904         * math/e_sinhl.c: Likewise.
53905         * math/e_sqrtl.c: Likewise.
53906         * math/e_scalb.c: Completely rewritten and optimized.
53907         * math/e_scalbf.c: Likewise.
53908         * math/e_scalbl.c: Likewise.
53909         * math/w_acos.c: Likewise.
53910         * math/w_acosf.c: Likewise.
53911         * math/w_acosl.c: Likewise.
53912         * math/w_acosh.c: Likewise.
53913         * math/w_acoshf.c: Likewise.
53914         * math/w_acoshl.c: Likewise.
53915         * math/w_asin.c: Likewise.
53916         * math/w_asinf.c: Likewise.
53917         * math/w_asinl.c: Likewise.
53918         * math/w_atan2.c: Likewise.
53919         * math/w_atan2f.c: Likewise.
53920         * math/w_atan2l.c: Likewise.
53921         * math/w_atanh.c: Likewise.
53922         * math/w_atanhf.c: Likewise.
53923         * math/w_atanhl.c: Likewise.
53924         * math/w_exp10.c: Likewise.
53925         * math/w_exp10f.c: Likewise.
53926         * math/w_exp10l.c: Likewise.
53927         * math/w_fmod.c: Likewise.
53928         * math/w_fmodf.c: Likewise.
53929         * math/w_fmodl.c: Likewise.
53930         * math/w_j0.c: Likewise.
53931         * math/w_j0f.c: Likewise.
53932         * math/w_j0l.c: Likewise.
53933         * math/w_j1.c: Likewise.
53934         * math/w_j1f.c: Likewise.
53935         * math/w_j1l.c: Likewise.
53936         * math/w_jn.c: Likewise.
53937         * math/w_jnf.c: Likewise.
53938         * math/w_log.c: Likewise.
53939         * math/w_logf.c: Likewise.
53940         * math/w_logl.c: Likewise.
53941         * math/w_log10.c: Likewise.
53942         * math/w_log10f.c: Likewise.
53943         * math/w_log10l.c: Likewise.
53944         * math/w_log2.c: Likewise.
53945         * math/w_log2f.c: Likewise.
53946         * math/w_log2l.c: Likewise.
53947         * math/w_pow.c: Likewise.
53948         * math/w_powf.c: Likewise.
53949         * math/w_powl.c: Likewise.
53950         * math/w_remainder.c: Likewise.
53951         * math/w_remainderf.c: Likewise.
53952         * math/w_remainderl.c: Likewise.
53953         * math/w_scalb.c: Likewise.
53954         * math/w_scalbf.c: Likewise.
53955         * math/w_scalbl.c: Likewise.
53956         * math/w_sqrt.c: Likewise.
53957         * math/w_sqrtf.c: Likewise.
53958         * math/w_sqrtl.c: Likewise.
53959         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53960         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
53961         used.
53962         * math/math_private.h: Declare __kernel_standard_f.
53963         * math/w_cosh.c: Remove cruft and optimize a bit.
53964         * math/w_coshf.c: Likewise.
53965         * math/w_coshl.c: Likewise.
53966         * math/w_exp2.c: Likewise.
53967         * math/w_exp2f.c: Likewise.
53968         * math/w_exp2l.c: Likewise.
53969         * math/w_hypot.c: Likewise.
53970         * math/w_hypotf.c: Likewise.
53971         * math/w_hypotl.c: Likewise.
53972         * math/w_lgamma.c: Likewise.
53973         * math/w_lgamma_r.c: Likewise.
53974         * math/w_lgammaf.c: Likewise.
53975         * math/w_lgammaf_r.c: Likewise.
53976         * math/w_lgammal.c: Likewise.
53977         * math/w_lgammal_r.c: Likewise.
53978         * math/w_sinh.c: Likewise.
53979         * math/w_sinhf.c: Likewise.
53980         * math/w_sinhl.c: Likewise.
53981         * math/w_tgamma.c: Likewise.
53982         * math/w_tgammaf.c: Likewise.
53983         * math/w_tgammal.c: Likewise.
53984         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53985         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53986         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53987         Minor optimizations.  Pretty printing.  Remove cruft.
53988         * sysdeps/i386/fpu/e_acosf.S: Likewise.
53989         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53990         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53991         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53992         * sysdeps/i386/fpu/e_acosl.c: Likewise.
53993         * sysdeps/i386/fpu/e_asin.S: Likewise.
53994         * sysdeps/i386/fpu/e_asinf.S: Likewise.
53995         * sysdeps/i386/fpu/e_atan2.S: Likewise.
53996         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53997         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53998         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53999         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54000         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54001         * sysdeps/i386/fpu/e_exp10.S: Likewise.
54002         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54003         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54004         * sysdeps/i386/fpu/e_exp2.S: Likewise.
54005         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54006         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54007         * sysdeps/i386/fpu/e_fmod.S: Likewise.
54008         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54009         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54010         * sysdeps/i386/fpu/e_hypot.S: Likewise.
54011         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54012         * sysdeps/i386/fpu/e_log.S: Likewise.
54013         * sysdeps/i386/fpu/e_log10.S: Likewise.
54014         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54015         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54016         * sysdeps/i386/fpu/e_log2.S: Likewise.
54017         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54018         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54019         * sysdeps/i386/fpu/e_logf.S: Likewise.
54020         * sysdeps/i386/fpu/e_logl.S: Likewise.
54021         * sysdeps/i386/fpu/e_pow.S: Likewise.
54022         * sysdeps/i386/fpu/e_powf.S: Likewise.
54023         * sysdeps/i386/fpu/e_powl.S: Likewise.
54024         * sysdeps/i386/fpu/e_remainder.S: Likewise.
54025         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54026         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54027         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54028         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54029         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54030         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54031         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54032         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54033         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54034         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54035         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54036         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54037         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54038         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54039         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54040         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54041         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54042         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54043         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54044         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54045         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54046         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54047         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54048         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54049         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54050         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54051         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54052         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54053         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54054         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54055         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54056         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54057         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54058         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54059         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54060         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54061         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54062         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54063         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54064         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54065         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54066         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54067         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54068         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54069         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54070         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54071         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54072         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54073         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54074         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54075         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54076         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54077         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54078         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54079         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54080         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54081         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54082         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54083         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54084         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54085         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54086         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54087         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54088         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54089         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54090         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54091         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54092         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54093         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54094         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54095         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54096         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54097         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54098         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54099         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54100         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54101         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54102         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54103         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54104         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54105         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54106         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54107         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54108         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54109         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54110         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54111         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54112         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54113         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54114         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54115         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54116         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54117         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54118         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54119         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54120         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54121         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54122         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54123         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54124         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54125         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54126         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54127         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54128         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54129         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54130         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
54131         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
54132         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
54133         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
54134         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
54135         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
54136         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
54137         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54138         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54139         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54140         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54141         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
54142         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54143         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
54144         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
54145         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
54146         (__isnanf): Likewise.
54147         (__isinf_ns): Likewise.
54148         (__isinf_nsf): Likewise.
54149         (__finite): Likewise.
54150         (__finitef): Likewise.
54151         (__ieee754_sqrt): Define as macro.
54152         (__ieee754_sqrtf): Define as macro.
54153         (__ieee754_sqrtl): Define as macro.
54154         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54155         inlined copy.
54156         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54157         __FINITE_MATH_ONLY__ consistent.
54158         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54160 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
54162         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54163         of rawmemchr.
54165         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54167 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
54169         * po/ja.po: Update from translation team.
54171 2011-10-08  Roland McGrath  <roland@hack.frob.com>
54173         * locale/programs/locarchive.c (prepare_address_space): New function.
54174         (create_archive, enlarge_archive, open_archive): Use it.
54176         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54177         inside [SHARED], where it is used.
54179         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54181         * nss/getent.c (netgroup_keys): Remove unused variable.
54182         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54184 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
54186         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54187         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54188         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54189         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54190         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54191         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54192         * math/Makefile (libm-calls): Add s_isinf_ns.
54193         * math/divtc3.c: Use __isinf_nsl instead of isinf.
54194         * math/multc3.c: Likewise.
54195         * math/s_casin.c: Likewise.
54196         * math/s_casinf.c: Likewise.
54197         * math/s_casinl.c: Likewise.
54198         * math/s_ccos.c: Likewise.
54199         * math/s_ccosf.c: Likewise.
54200         * math/s_ccosl.c: Likewise.
54201         * math/s_ctan.c: Likewise.
54202         * math/s_ctanf.c: Likewise.
54203         * math/s_ctanh.c: Likewise.
54204         * math/s_ctanhf.c: Likewise.
54205         * math/s_ctanhl.c: Likewise.
54206         * math/s_ctanl.c: Likewise.
54207         * math/w_fmod.c: Likewise.
54208         * math/w_fmodf.c: Likewise.
54209         * math/w_fmodl.c: Likewise.
54210         * math/w_remainder.c: Likewise.
54211         * math/w_remainderf.c: Likewise.
54212         * math/w_remainderl.c: Likewise.
54213         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54214         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54215         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54216         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54217         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54218         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54219         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54220         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54222         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54223         of the number.
54224         * stdio-common/printf_fphex.c: Likewise.
54225         * stdio-common/printf_size.c: Likewise.
54227         * math/e_exp10.c: Include math_private.h using <...> not "...".
54228         * math/e_exp10f.c: Likewise.
54229         * math/e_exp10l.c: Likewise.
54230         * math/e_exp2l.c: Likewise.
54231         * math/e_j0l.c: Likewise.
54232         * math/e_j1l.c: Likewise.
54233         * math/e_jnl.c: Likewise.
54234         * math/e_lgammal_r.c: Likewise.
54235         * math/e_rem_pio2l.c: Likewise.
54236         * math/e_scalb.c: Likewise.
54237         * math/e_scalbf.c: Likewise.
54238         * math/e_scalbl.c: Likewise.
54239         * math/k_cosl.c: Likewise.
54240         * math/k_sinl.c: Likewise.
54241         * math/k_tanl.c: Likewise.
54242         * math/s_cacoshf.c: Likewise.
54243         * math/s_catan.c: Likewise.
54244         * math/s_catanf.c: Likewise.
54245         * math/s_catanh.c: Likewise.
54246         * math/s_catanhf.c: Likewise.
54247         * math/s_catanhl.c: Likewise.
54248         * math/s_catanl.c: Likewise.
54249         * math/s_ccosh.c: Likewise.
54250         * math/s_ccoshf.c: Likewise.
54251         * math/s_ccoshl.c: Likewise.
54252         * math/s_cexp.c: Likewise.
54253         * math/s_cexpf.c: Likewise.
54254         * math/s_cexpl.c: Likewise.
54255         * math/s_clog.c: Likewise.
54256         * math/s_clog10.c: Likewise.
54257         * math/s_clog10f.c: Likewise.
54258         * math/s_clog10l.c: Likewise.
54259         * math/s_clogf.c: Likewise.
54260         * math/s_clogl.c: Likewise.
54261         * math/s_csin.c: Likewise.
54262         * math/s_csinf.c: Likewise.
54263         * math/s_csinh.c: Likewise.
54264         * math/s_csinhf.c: Likewise.
54265         * math/s_csinhl.c: Likewise.
54266         * math/s_csinl.c: Likewise.
54267         * math/s_csqrt.c: Likewise.
54268         * math/s_csqrtf.c: Likewise.
54269         * math/s_csqrtl.c: Likewise.
54270         * math/s_ctan.c: Likewise.
54271         * math/s_ctanf.c: Likewise.
54272         * math/s_ctanh.c: Likewise.
54273         * math/s_ctanhf.c: Likewise.
54274         * math/s_ctanhl.c: Likewise.
54275         * math/s_ctanl.c: Likewise.
54276         * math/s_ldexp.c: Likewise.
54277         * math/s_ldexpf.c: Likewise.
54278         * math/s_ldexpl.c: Likewise.
54279         * math/s_significand.c: Likewise.
54280         * math/s_significandf.c: Likewise.
54281         * math/s_significandl.c: Likewise.
54282         * math/w_acos.c: Likewise.
54283         * math/w_acosf.c: Likewise.
54284         * math/w_acosh.c: Likewise.
54285         * math/w_acoshf.c: Likewise.
54286         * math/w_acoshl.c: Likewise.
54287         * math/w_acosl.c: Likewise.
54288         * math/w_asin.c: Likewise.
54289         * math/w_asinf.c: Likewise.
54290         * math/w_asinl.c: Likewise.
54291         * math/w_atan2.c: Likewise.
54292         * math/w_atan2f.c: Likewise.
54293         * math/w_atan2l.c: Likewise.
54294         * math/w_atanh.c: Likewise.
54295         * math/w_atanhf.c: Likewise.
54296         * math/w_atanhl.c: Likewise.
54297         * math/w_cosh.c: Likewise.
54298         * math/w_coshf.c: Likewise.
54299         * math/w_coshl.c: Likewise.
54300         * math/w_dremf.c: Likewise.
54301         * math/w_exp10.c: Likewise.
54302         * math/w_exp10f.c: Likewise.
54303         * math/w_exp10l.c: Likewise.
54304         * math/w_exp2.c: Likewise.
54305         * math/w_exp2f.c: Likewise.
54306         * math/w_fmod.c: Likewise.
54307         * math/w_fmodf.c: Likewise.
54308         * math/w_fmodl.c: Likewise.
54309         * math/w_hypot.c: Likewise.
54310         * math/w_hypotf.c: Likewise.
54311         * math/w_hypotl.c: Likewise.
54312         * math/w_j0.c: Likewise.
54313         * math/w_j0f.c: Likewise.
54314         * math/w_j0l.c: Likewise.
54315         * math/w_j1.c: Likewise.
54316         * math/w_j1f.c: Likewise.
54317         * math/w_j1l.c: Likewise.
54318         * math/w_jn.c: Likewise.
54319         * math/w_jnf.c: Likewise.
54320         * math/w_jnl.c: Likewise.
54321         * math/w_lgamma.c: Likewise.
54322         * math/w_lgamma_r.c: Likewise.
54323         * math/w_lgammaf.c: Likewise.
54324         * math/w_lgammaf_r.c: Likewise.
54325         * math/w_lgammal.c: Likewise.
54326         * math/w_lgammal_r.c: Likewise.
54327         * math/w_log.c: Likewise.
54328         * math/w_log10.c: Likewise.
54329         * math/w_log10f.c: Likewise.
54330         * math/w_log10l.c: Likewise.
54331         * math/w_log2.c: Likewise.
54332         * math/w_log2f.c: Likewise.
54333         * math/w_log2l.c: Likewise.
54334         * math/w_logf.c: Likewise.
54335         * math/w_logl.c: Likewise.
54336         * math/w_pow.c: Likewise.
54337         * math/w_powf.c: Likewise.
54338         * math/w_powl.c: Likewise.
54339         * math/w_remainder.c: Likewise.
54340         * math/w_remainderf.c: Likewise.
54341         * math/w_remainderl.c: Likewise.
54342         * math/w_scalb.c: Likewise.
54343         * math/w_scalbf.c: Likewise.
54344         * math/w_scalbl.c: Likewise.
54345         * math/w_sinh.c: Likewise.
54346         * math/w_sinhf.c: Likewise.
54347         * math/w_sinhl.c: Likewise.
54348         * math/w_sqrt.c: Likewise.
54349         * math/w_sqrtf.c: Likewise.
54350         * math/w_sqrtl.c: Likewise.
54351         * math/w_tgamma.c: Likewise.
54352         * math/w_tgammaf.c: Likewise.
54353         * math/w_tgammal.c: Likewise.
54355         * po/ja.po: Update from translation team.
54357 2011-09-29  Andreas Jaeger  <aj@suse.de>
54359         [BZ #13179]
54360         * sunrpc/netname.c (netname2host): Fix logic.
54362         [BZ #6779]
54363         [BZ #6783]
54364         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54365         correctly.
54366         * math/w_remainder.c (__remainder): Likewise.
54367         * math/w_remainderf.c (__remainderf): Likewise.
54368         * math/libm-test.inc (remainder_test): Add test cases.
54370 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54372         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
54373         sdiv_qrnnd.
54375 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54377         * string/test-memcmp.c: Avoid unncessary #defines.
54378         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54380 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54382         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54383         Use new sse2 version for core i3 - i7 as it's faster
54384         than sse42 version.
54385         (bit_Prefer_PMINUB_for_stringop): New.
54386         * sysdeps/x86_64/rawmemchr.S: Update.
54387         Replace with faster SSE2 version.
54388         * sysdeps/x86_64/memrchr.S: New file.
54389         * sysdeps/x86_64/memchr.S: Update.
54390         Replace with faster SSE2 version.
54392 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
54394         * elf/dl-load.c (lose): Add cast to avoid warning.
54396 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54398         * po/ca.po: Update from translation team.
54400         * inet/getnetgrent_r.c: Hook up nscd.
54401         * nscd/Makefile (routines): Add nscd_netgroup.
54402         (nscd-modules): Add netgroupcache.
54403         (CFLAGS-netgroupcache.c): Define.
54404         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54405         (cache_search): Add const to second parameter.
54406         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54407         INNETGR.
54408         (dbs): Add netgrdb entry.
54409         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54410         (verify_persistent_db): Handle netgrdb.
54411         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54412         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54413         GETFDNETGR.
54414         (netgroup_response_header): Define.
54415         (innetgroup_response_header): Define.
54416         (datahead): Add netgroup_response_header and innetgroup_response_header
54417         elements.
54418         * nscd/nscd.conf: Add entries for netgroup cache.
54419         * nscd/nscd.h (dbtype): Add netgrdb.
54420         (_PATH_NSCD_NETGROUP_DB): Define.
54421         (netgroup_iov_disabled): Declare.
54422         (xmalloc, xcalloc, xrealloc): Move declarations here.
54423         (cache_search): Adjust prototype.
54424         Add netgroup-related prototypes.
54425         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54426         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54427         (__nscd_innetgr): Declare.
54428         * nscd/selinux.c (perms): Use access_vector_t as element type and
54429         add netgroup-related initializers.
54430         * nscd/netgroupcache.c: New file.
54431         * nscd/nscd_netgroup.c: New file.
54432         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54433         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54434         For four parameters use innetgr.
54435         * nss/nss_files/files-init.c: Add definition and callback for netgr.
54436         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54437         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54438         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54440         * nscd/connections.c (register_traced_file): Don't register file
54441         for disabled databases.
54443 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
54445         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54447         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54448         from tree and freeing node.
54450 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
54452         * nss/nsswitch.c (__nss_database_lookup): Handle
54453         nss_parse_service_list out of memory case.
54455 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
54457         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54458         out of memory case.
54460 2011-10-04  Andreas Schwab  <schwab@redhat.com>
54462         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54463         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54464         pass it down.
54465         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54466         elf_machine_rela, elf_machine_lazy_rel.
54467         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54468         (ELF_DYNAMIC_DO_REL): Likewise.
54469         (ELF_DYNAMIC_DO_RELA): Likewise.
54470         (ELF_DYNAMIC_RELOCATE): Likewise.
54471         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54472         to ELF_DYNAMIC_DO_REL.
54473         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54474         (dl_main): In trace mode always set __RTLD_NOIFUNC.
54475         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54476         elf_machine_rela.
54477         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54478         skip_ifunc, don't call ifunc function if non-zero.
54479         (elf_machine_rela): Likewise.
54480         (elf_machine_lazy_rel): Likewise.
54481         (elf_machine_lazy_rela): Likewise.
54482         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54483         (elf_machine_lazy_rel): Likewise.
54484         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54485         Likewise.
54486         (elf_machine_lazy_rel): Likewise.
54487         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54488         Likewise.
54489         (elf_machine_lazy_rel): Likewise.
54490         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54491         (elf_machine_lazy_rel): Likewise.
54492         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54493         (elf_machine_lazy_rel): Likewise.
54494         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54495         (elf_machine_lazy_rel): Likewise.
54496         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54497         (elf_machine_lazy_rel): Likewise.
54498         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54499         (elf_machine_lazy_rel): Likewise.
54500         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54501         (elf_machine_lazy_rel): Likewise.
54503 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
54505         * nss/nss_files/files-init.c (_nss_files_init): Use static
54506         initialization for all the *_traced_file variables.
54508 2011-09-28  Andreas Schwab  <schwab@redhat.com>
54510         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54512 2011-09-27  Roland McGrath  <roland@hack.frob.com>
54514         [BZ #13226]
54515         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
54517 2011-09-27  Andreas Schwab  <schwab@redhat.com>
54519         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54520         Reread the line before reparsing it.
54522 2011-09-26  Andreas Schwab  <schwab@redhat.com>
54524         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
54526 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
54527             Maxim Kuvyrkov  <maxim@codesourcery.com>
54528             Joseph Myers  <joseph@codesourcery.com>
54530         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
54531         if needed for __stack_chk_guard.
54533 2011-09-19  Roland McGrath  <roland@hack.frob.com>
54535         * sysdeps/posix/spawni.c (script_execute): Always define it.
54536         It will be optimized away if unused.
54537         (maybe_script_execute): New function.
54538         (__spawni): Call it.
54540         * Makerules: Don't include tls.make.
54541         (config-tls): Always set to thread.
54542         * tls.make.c: File removed.
54544 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
54546         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
54547         * config.make.in (CPPFLAGS-config): New substituted variable.
54549 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
54551         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
54553         [BZ #13192]
54554         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
54555         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
54557 2011-09-15  Roland McGrath  <roland@hack.frob.com>
54559         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
54560         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
54561         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54562         (CALL_FAIL): Likewise.
54563         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
54564         (CALL_FAIL): Macro removed.
54565         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
54567 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
54569         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
54570         for __FINITE_MATH_ONLY__ == 1.
54572 2011-09-15  Andreas Schwab  <schwab@redhat.com>
54574         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
54575         __ieee754_sqrt instead of sqrt.
54576         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
54577         __ieee754_sqrtf instead of sqrtf.
54578         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
54579         __floorf instead of floorf.
54580         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
54581         __floorf, __truncf instead of floorf, truncf.
54583 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
54585         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
54587         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
54588         __extern_always_inline.
54589         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
54590         32-bit.
54592 2011-09-14  Andreas Schwab  <schwab@redhat.com>
54594         * elf/rtld.c (dl_main): Also relocate in dependency order when
54595         doing symbol dependency testing.
54597 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
54599         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54600         Always define `refsym'.
54602 2011-09-13  Andreas Schwab  <schwab@redhat.com>
54604         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54605         (__FD_ELT): Renamed from __FDELT.
54606         * misc/bits/select2.h (__FD_ELT): Likewise.
54607         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54608         __FD_MASK instead of __FDELT, __FDMASK.
54609         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54610         Likewise.
54611         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54612         Likewise.
54614         * elf/Makefile (gen-ldd): Fix pattern.
54616         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54617         (init_tls): Likewise.
54619 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
54621         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54623 2011-09-12  Andreas Schwab  <schwab@redhat.com>
54625         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54626         `struct cmsghdr *' instead of `void *'.
54627         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54628         Likewise.
54630 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
54632         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54633         if non-absolute.
54634         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54635         ldd_rewrite_script.
54637 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
54639         * configure.in: Remove --with-tls option.
54640         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54641         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54642         out in case it is missing.
54643         * sysdeps/ia64/elf/configure.in: Likewise.
54644         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54645         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54646         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54647         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54648         * sysdeps/sh/elf/configure.in: Likewise.
54649         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54650         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54651         * sysdeps/x86_64/elf/configure.in: Likewise.
54652         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54653         * sysdeps/mach/hurd/tls.h: Likewise.
54655         [BZ #13067]
54656         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54658         [BZ #13090]
54659         * configure.in: Fix use of AC_INIT.
54661         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54663 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
54665         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54666         __set_errno.
54667         * malloc/hooks.c: Likewise.
54669         [BZ #11929]
54670         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
54671         variables statically.
54672         (narenas): Initialize.
54673         (list_lock): Initialize.
54674         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
54675         initializtion of main_arena and list_lock.  Small cleanups.
54676         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54677         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
54678         Add initializers to main_arena and mp_.
54679         (malloc_state): Remove pagesize member.  Change all users to use
54680         GLRO(dl_pagesize).
54682         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54683         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
54684         is always initialized.
54686         * malloc/malloc.c: Removed unused configurations and dead code.
54687         * malloc/arena.c: Likewise.
54688         * malloc/hooks.c: Likewise.
54689         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
54691         * include/tls.h: Removed.  USE___THREAD must always be defined.
54692         * bits/libc-tsd.h: Don't handle !USE___THREAD.
54693         * elf/dl-libc.c: Likewise.
54694         * elf/dl-tsd.c: Likewise.
54695         * include/errno.h: Likewise.
54696         * include/netdb.h: Likewise.
54697         * include/resolv.h: Likewise.
54698         * inet/herrno-loc.c: Likewise.
54699         * inet/herrno.c: Likewise.
54700         * malloc/arena.c: Likewise.
54701         * malloc/hooks.c: Likewise.
54702         * malloc/malloc.c: Likewise.
54703         * resolv/res-state.c: Likewise.
54704         * resolv/res_libc.c: Likewise.
54705         * sysdeps/i386/dl-machine.h: Likewise.
54706         * sysdeps/ia64/dl-machine.h: Likewise.
54707         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54708         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54709         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54710         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54711         * sysdeps/sh/dl-machine.h: Likewise.
54712         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54713         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54714         * sysdeps/unix/i386/sysdep.S: Likewise.
54715         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54716         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54717         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54718         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54721         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54723         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54724         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54725         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54726         * sysdeps/x86_64/dl-machine.h: Likewise.
54727         * tls.make.c: Likewise.
54729         * configure.in: Remove --with-__thread option.  Make tests for
54730         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54731         tls_model attribute fail if no support is available.  Remove
54732         USE_IN_LIBIO.
54733         * Makeconfig: Adjust for dropped configure option.  All features are
54734         now mandatory.
54735         * Makerules: Likewise.
54736         * Versions.def: Likewise.
54737         * argp/argp-fmtstream.c: Likewise.
54738         * argp/argp-fmtstream.h: Likewise.
54739         * argp/argp-help.c: Likewise.
54740         * assert/assert.c: Likewise.
54741         * config.h.in: Likewise.
54742         * config.make.in: Likewise.
54743         * configure: Likewise.
54744         * configure.in: Likewise.
54745         * csu/Versions: Likewise.
54746         * csu/init.c: Likewise.
54747         * elf/tst-audit2.c: Likewise.
54748         * elf/tst-tls10.c: Likewise.
54749         * elf/tst-tls10.h: Likewise.
54750         * elf/tst-tls11.c: Likewise.
54751         * elf/tst-tls12.c: Likewise.
54752         * elf/tst-tls14.c: Likewise.
54753         * elf/tst-tlsmod11.c: Likewise.
54754         * elf/tst-tlsmod12.c: Likewise.
54755         * elf/tst-tlsmod13.c: Likewise.
54756         * elf/tst-tlsmod13a.c: Likewise.
54757         * elf/tst-tlsmod14a.c: Likewise.
54758         * elf/tst-tlsmod15b.c: Likewise.
54759         * elf/tst-tlsmod16a.c: Likewise.
54760         * elf/tst-tlsmod16b.c: Likewise.
54761         * elf/tst-tlsmod7.c: Likewise.
54762         * elf/tst-tlsmod8.c: Likewise.
54763         * elf/tst-tlsmod9.c: Likewise.
54764         * gmon/gmon.c: Likewise.
54765         * grp/fgetgrent_r.c: Likewise.
54766         * grp/putgrent.c: Likewise.
54767         * hurd/fopenport.c: Likewise.
54768         * include/libc-symbols.h: Likewise.
54769         * include/tls.h: Likewise.
54770         * intl/gettextP.h: Likewise.
54771         * intl/loadinfo.h: Likewise.
54772         * locale/global-locale.c: Likewise.
54773         * locale/localeinfo.h: Likewise.
54774         * mach/devstream.c: Likewise.
54775         * malloc/arena.c: Likewise.
54776         * malloc/set-freeres.c: Likewise.
54777         * misc/err.c: Likewise.
54778         * misc/getttyent.c: Likewise.
54779         * misc/mntent_r.c: Likewise.
54780         * posix/getopt.c: Likewise.
54781         * posix/wordexp.c: Likewise.
54782         * pwd/fgetpwent_r.c: Likewise.
54783         * resolv/Versions: Likewise.
54784         * resolv/res_hconf.c: Likewise.
54785         * shadow/fgetspent_r.c: Likewise.
54786         * shadow/putspent.c: Likewise.
54787         * stdio-common/printf_fphex.c: Likewise.
54788         * stdio-common/tmpfile.c: Likewise.
54789         * stdlib/abort.c: Likewise.
54790         * stdlib/fmtmsg.c: Likewise.
54791         * sunrpc/auth_unix.c: Likewise.
54792         * sunrpc/clnt_perr.c: Likewise.
54793         * sunrpc/clnt_tcp.c: Likewise.
54794         * sunrpc/clnt_udp.c: Likewise.
54795         * sunrpc/clnt_unix.c: Likewise.
54796         * sunrpc/openchild.c: Likewise.
54797         * sunrpc/svc_simple.c: Likewise.
54798         * sunrpc/svc_tcp.c: Likewise.
54799         * sunrpc/svc_udp.c: Likewise.
54800         * sunrpc/svc_unix.c: Likewise.
54801         * sunrpc/xdr.c: Likewise.
54802         * sunrpc/xdr_array.c: Likewise.
54803         * sunrpc/xdr_rec.c: Likewise.
54804         * sunrpc/xdr_ref.c: Likewise.
54805         * sunrpc/xdr_stdio.c: Likewise.
54807 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54809         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54811 2011-07-03  Andreas Jaeger  <aj@suse.de>
54813         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54814         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54815         regenerate with gen-libm-tests.pl.
54817 2010-05-12  Petr Baudis  <pasky@suse.cz>
54819         [BZ #11589]
54820         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54821         around j0() zero points by switching to j1().
54822         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54823         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54824         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54825         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54827 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54829         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54830         instead of 0.
54831         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54832         instead of 0.
54833         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54834         Patch in part by Pavel Roskin <proski@gnu.org>.
54836         [BZ #13138]
54837         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54838         realloc.
54839         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
54840         Free memory block if necessary.
54842         [BZ #12847]
54843         * libio/genops.c (INTDEF): For string streams the _lock pointer can
54844         be NULL.  Don't lock in this case.
54846 2011-09-09  Roland McGrath  <roland@hack.frob.com>
54848         * elf/elf.h (ELFOSABI_GNU): New macro.
54849         (ELFOSABI_LINUX): Define to that.
54851 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
54853         * string/strncat.c (strncat): Undef the symbol in case it has been
54854         defined in bits/string.h.
54856 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54858         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54860         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54861         link map.
54863 2011-08-17  Andreas Jaeger  <aj@suse.de>
54865         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54867 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54868             Ian Lance Taylor  <iant@google.com>
54870         * math/libm-test.inc (lround_test): New testcase.
54871         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54873 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
54875         * Makefile: Remove support for automatic cvs check-ins.
54876         * Makerules: Likewise.
54877         * config.make.in: Likewise.
54878         * configure.in: Likewise.
54879         * intl/Makefile: Likewise.
54880         * locale/Makefile: Likewise.
54881         * po/Makefile: Likewise.
54882         * posix/Makefile: Likewise.
54883         * sysdeps/gnu/Makefile: Likewise.
54884         * sysdeps/mach/hurd/Makefile: Likewise.
54885         * sysdeps/sparc/sparc32/Makefile: Likewise.
54887         [BZ #13118]
54888         * posix/Makefile (bug-regex32-ENV): Define.
54889         Patch by John Stanley <jpsinthemix@verizon.net>.
54891         * misc/Makefile (headers): Add bits/select2.h.
54892         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54893         * misc/bits/select2.h: New file.
54894         * include/bits/select2.h: New file.
54895         * debug/Makefile (routines): Add fdelt_chk.
54896         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54897         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54898         FD_ISSET.
54899         * debug/fdelt_chk.c: New file.
54901         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
54902         * wcsmbs/test-wmemcmp.c: Likewise.
54903         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54904         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54906 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54908         * string/Makefile (strop-tests): Add memcmp.
54909         * string/test-wmemcmp.c: New file.
54910         * string/test-memcmp.c: Add wmemcmp support.
54912 2011-09-08  Roland McGrath  <roland@hack.frob.com>
54914         [BZ #13153]
54915         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54916         2011-07-19 change.
54918         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54919         garbage value in a __mach_port_mod_refs call in the cases of the
54920         task-self and thread-self ports.
54922 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54924         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54926 2011-09-08  Andreas Schwab  <schwab@redhat.com>
54928         * elf/dl-load.c (lose): Check for non-null L.
54930 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
54932         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54934         * elf/dl-libc.c (dlerror_run): Pass back error code from
54935         dl_catch_error.
54937         [BZ #13123]
54938         * elf/dl-load.c (lose): Free l_origin if it is valid.
54940         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54941         names.
54942         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54943         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54944         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54945         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54946         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54947         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54949 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54951         * sysdeps/powerpc/fpu/e_hypot.c: New file.
54952         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54953         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54954         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54955         * sysdeps/powerpc/fpu/k_cosf.c: New file.
54956         * sysdeps/powerpc/fpu/k_sinf.c: New file.
54957         * sysdeps/powerpc/fpu/s_cosf.c: New file.
54958         * sysdeps/powerpc/fpu/s_sinf.c: New file.
54959         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54960         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54962 2011-08-15  Alan Modra  <amodra@gmail.com>
54964         [BZ #13092]
54965         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54966         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54967         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
54968         ppc_mcount to static-only-routines.
54969         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54970         __mcount_internal.
54971         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54972         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
54974 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
54976         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54977         for finite and infinity parameters.
54979 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54981         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54982         and add nop instructions for throughput optimization.
54983         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54985 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
54987         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54988         aligned copy for power7 with vector-scalar instructions.
54989         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54991 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
54993         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54994         AVX check.
54996 2011-09-07  Andreas Schwab  <schwab@redhat.com>
54998         [BZ #13144]
54999         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55000         last change.
55002 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
55004         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55005         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55006         syscall wrapper around clock_gettime in __vdso_clock_gettime.
55007         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55008         clock_gettime.
55010 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55012         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55013         Forgot to demangle the pointer.
55015         * sysdeps/i386/sysdep.h: Define atom_text_section.
55016         * sysdeps/x86_64/sysdep.h: Likewise.
55017         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55018         section with atom_text_section.
55019         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55020         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55021         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55022         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55023         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55025         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55026         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55027         already be defined.  Change to take two parameters and don't assign
55028         result to variable.  Adjust all users.
55029         Define INTERNAL_GETTIME if not already defined.
55030         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55031         call.
55032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55033         HAVE_CLOCK_GETTIME_VSYSCALL.
55034         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55036         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55037         gettimeofday vsyscall, just use time.
55039 2011-09-06  Andreas Schwab  <schwab@redhat.com>
55041         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55042         <errno.h>.
55044 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55046         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55047         syscall on x86-64.
55048         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55049         syscall.
55050         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55051         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55052         syscall if possible.
55054 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55056         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55057         e_ident.  Don't pass to find_mapsXX.
55058         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55060 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55062         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55063         strchr-sse2-no-bsf strrchr-sse2-no-bsf
55064         * sysdeps/x86_64/multiarch/strchr.S: Update.
55065         Check bit_slow_BSF bit.
55066         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55067         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55068         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55070 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55072         [BZ #13134]
55073         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55074         before glibc 2.15.
55075         (tryshell): Define.
55076         (__spawni): Change last parameter to be flag.  Test
55077         SPAWN_XFLAGS_USE_PATH flag to use path or not.
55078         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55079         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55080         * posix/spawni.c: Likewise.
55081         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55082         * posix/spawnp.c: Likewise.  Change normal version to use
55083         SPAWN_XFLAGS_USE_PATH.
55084         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55085         SPAWN_XFLAGS_TRY_SHELL.
55087         [BZ #13150]
55088         * posix/glob.h: Remove gcc 1.x support.
55090         [BZ #13068]
55091         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55093 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55095         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55096         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55097         strrchr-sse2-bsf
55098         * sysdeps/i386/i686/multiarch/strchr.S: New file.
55099         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55100         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55101         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55102         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55103         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55105 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55107         * sysdeps/x86_64/wcscmp.S: New file.
55109         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55110         wcscmp-c wcscmp-sse2
55111         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55112         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55113         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55114         * wcsmbs/wcscmp.c: Allow renaming.
55116 2011-09-05  David S. Miller  <davem@davemloft.net>
55118         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
55119         stack slot, rather than the struct return pointer slot.
55120         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
55121         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
55122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
55123         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
55125 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55127         * po/ja.po: Update from translation team.
55129         [BZ #13144]
55130         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
55131         kernel in 64-bit binaries.
55133 2011-09-01  David S. Miller  <davem@davemloft.net>
55135         * elf/elf.h (HWCAP_SPARC_*): Move to..
55136         * sysdeps/sparc/sysdep.h: this new file and add new values.
55137         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
55138         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
55139         _DL_HWCAP_COUNT to 24.
55140         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55141         entries.
55142         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
55143         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
55144         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
55145         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
55146         instead of magic constants.
55147         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55149 2011-08-31  David S. Miller  <davem@davemloft.net>
55151         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
55152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55153         Reimplement to do errno handling inline.
55154         (SYSCALL_ERROR_HANDLER): New macro.
55155         (__SYSCALL_STRING): Do not do errno handling in asm.
55156         (__CLONE_SYSCALL_STRING): Delete.
55157         (__INTERNAL_SYSCALL_STRING): Delete.
55158         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55159         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55160         (PSEUDO): Reimplement to do errno handling inline.
55161         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55162         (SYSCALL_ERROR_HANDLER): New macro.
55163         (__SYSCALL_STRING): Do not do errno handling in asm.
55164         (__CLONE_SYSCALL_STRING): Delete.
55165         (__INTERNAL_SYSCALL_STRING): Delete.
55166         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55167         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55168         i386.
55169         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55170         (inline_syscall*): Add 'err' argument.
55171         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55172         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55173         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55174         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55176         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55177         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55179 2011-08-30  Andreas Schwab  <schwab@redhat.com>
55181         * elf/rtld.c (dl_main): Relocate objects in dependency order.
55183 2011-08-29  Jiri Olsa <jolsa@redhat.com>
55185         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55186         directive.
55188 2011-08-24  David S. Miller  <davem@davemloft.net>
55190         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55192 2011-08-24  Andreas Schwab  <schwab@redhat.com>
55194         * elf/Makefile: Add rules to build and run unload8 test.
55195         * elf/unload8.c: New file.
55196         * elf/unload8mod1.c: New file.
55197         * elf/unload8mod1x.c: New file.
55198         * elf/unload8mod2.c: New file.
55199         * elf/unload8mod3.c: New file.
55201         * elf/dl-close.c (_dl_close_worker): Reset private search list if
55202         it wasn't used.
55204 2011-08-23  David S. Miller  <davem@davemloft.net>
55206         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55207         subtract stack bias.
55208         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55209         %sp not %fp in calculations.
55210         (_JMPBUF_UNWINDS_ADJ): Likewise.
55212         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55213         (aio_suspend): Call it to force an exception region around the
55214         AIO_MISC_WAIT() invocation.
55216 2011-08-23  Andreas Schwab  <schwab@redhat.com>
55218         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55219         backslash.
55221 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
55223         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55224         protection macro.
55225         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55226         and <dl-machine.h>.
55227         (Elf64_FuncDesc): Remove.
55229 2011-08-22  David S. Miller  <davem@davemloft.net>
55231         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55232         sigaltstack check, add missing cfi directives.
55233         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55234         missing cfi directives, and sigaltstack handling.
55236 2011-08-16  Andreas Schwab  <schwab@redhat.com>
55238         [BZ #11724]
55239         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55240         object is seen twice.
55241         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55243         * elf/Makefile (distribute): Add tst-initorder2.c.
55244         (tests): Add tst-initorder2.
55245         (modules-names): Add tst-initorder2a tst-initorder2b
55246         tst-initorder2c tst-initorder2d.  Add rules to build them.
55247         ($(objpfx)tst-initorder2.out): New rule.
55248         * elf/tst-initorder2.c: New file.
55249         * elf/tst-initorder2.exp: New file.
55251 2011-08-22  Andreas Schwab  <schwab@redhat.com>
55253         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55255         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55256         dependencies back to end of function.
55258         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55259         $(elfobjdir)/ld.so.
55261 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
55263         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55264         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55265         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55266         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55267         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55268         of __vdso_gettimeofday.
55269         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55270         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
55271         attribute_hidden.
55272         (_libc_vdso_platform_setup): Remove initialization of
55273         __vdso_gettimeofday and __vdso_time.
55275 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55277         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55278         and fgetc_unlocked.
55279         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55280         getc_unlocked.
55282         * elf/dl-open.c (add_to_global): Report additions to the global scope
55283         for LD_DEBUG=scopes.
55284         (dl_open_worker): Also print scope of newly loaded dependencies.
55285         (_dl_show_scope): Indicate if there is no scope.
55287         [BZ #13114]
55288         * stdio-common/Makefile (tests): Add bug24.
55289         * stdio-common/bug24.c: New file.
55291 2011-08-19  Andreas Jaeger  <aj@suse.de>
55293         [BZ #13114]
55294         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55295         non-existant file when using close-on-exec mode.
55297 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55299         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55300         the very first instruction.
55302         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55303         the CFI state in the end.
55304         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55305         inclusion of dl-trampoline.h.
55306         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55308 2011-08-19  Andreas Schwab  <schwab@redhat.com>
55310         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55311         expectations for long double.
55313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55314         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55316 2011-08-14  David S. Miller  <davem@davemloft.net>
55318         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55319         artificual limit depends upon the system page size.
55321 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55323         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55324         * resolv/Makefile: Define CFLAGS-libresolv.
55326 2011-08-17  Andreas Schwab  <schwab@redhat.com>
55328         * nss/makedb.c (compute_tables): Make variables used in nested
55329         function static.
55331 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55333         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
55334         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
55335         if buffer was too small.
55337         * elf/pldd.c (main): Attach to all threads in the process.
55338         Rewrite /proc handling to use *at functions.
55340 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
55342         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55343         specifies first scope to show.
55344         (dl_open_worker): Update callers.  Move printing scope of new
55345         object to before the relocation.
55346         * elf/rtld.c (dl_main): Update _dl_show_scope call.
55347         * sysdeps/generic/ldsodefs.h: Update declaration.
55349         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55350         string for the scope number.
55352 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
55354         * nscd/servicescache.c (cache_addserv): Make sure written is always
55355         initialized.
55357 2011-08-14  Roland McGrath  <roland@hack.frob.com>
55359         * sysdeps/i386/i486/bits/atomic.h
55360         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55361         statement expression, so as to suppress "set but not used" warning.
55362         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55364         * string/strncat.c (STRNCAT): Use prototype definition.
55366         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55367         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55368         -Iprograms here.
55369         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55370         (localedef-modules): Add localedef.
55371         (locale-modules): Add locale.
55373         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55374         * elf/rtld.c (dl_main): Invert order of assignment in last change,
55375         to avoid a warning.
55377 2011-08-14  David S. Miller  <davem@davemloft.net>
55379         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55380         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55382 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
55384         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
55385         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55386         * elf/rtld.c (dl_main): Set l_name of vDSO.
55387         Call _dl_show_scope when DL_DEBUG_SCOPES.
55388         (process_dl_debug): Recognize scopes flag and also set it for all.
55389         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55390         Declare _dl_show_scope.
55392         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55393         (do_dlopen): Pass caller_dlopen to dl_open.
55394         (__libc_dlopen_mode): Initialize caller_dlopen.
55396         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55397         of libc.  Make tolower call locale-independent.  Optimize a bit by
55398         using isdigit instead of isalnum.
55399         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55401 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
55403         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55404         was a dependency or dynamically loaded.
55406 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
55408         * intl/l10nflist.c: Allow architecture-specific pop function.
55409         * sysdeps/x86_64/l10nflist.c: New file.
55411         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55412         classification.
55414 2011-08-10  Andreas Schwab  <schwab@redhat.com>
55416         * include/dirent.h: Add libc_hidden_proto for scandirat and
55417         scandirat64.  Don't declare __scandirat64.
55418         * dirent/scandirat.c: Add libc_hidden_def.
55419         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55420         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55422 2011-08-10  David S. Miller  <davem@davemloft.net>
55424         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55425         enum.
55426         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55427         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55428         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55430 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
55432         * Versions.def [libc]: Add GLIBC_2.15.
55433         * dirent/Makefile (routines): Add scandirat and scandirat64.
55434         * dirent/Versions [libc]: Export scandirat and scandirat64 for
55435         GLIBC_2.15.
55436         * dirent/dirent.h: Declare scandirat and scandirat64.
55437         * dirent/scandirat.c: New file.
55438         * dirent/scandirat64.c: New file.
55439         * sysdeps/wordsize-64/scandirat.c: New file.
55440         * sysdeps/wordsize-64/scandirat64.c: New file.
55441         * dirent/opendir.c: Define opendirat.
55442         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
55443         using scandirat.
55444         * dirent/scandir64.c: Adjust for scandir.c change.
55445         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
55446         __scandirat64, and __scandir_cancel_handler.
55447         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
55448         additional parameter and use openat instead of open (outside of ld.so).
55449         Add new __opendir as wrapper around __opendirat.
55450         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55451         here without requiring old scandirat implementation.
55453 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
55455         * dirent/scandir.c (cancel_handler): Renamed to
55456         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
55457         defined.  Adjust users.
55458         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55459         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55461 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
55463         * string/test-string.h (IMPL): Use __STRING to expand name and then
55464         stringify it.
55466         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
55467         of cleanups.
55469 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55471         * string/Makefile: Update.
55472         (strop-tests): Append strncat.
55473         * string/test-wcscmp.c: New file.
55474         New comprehensive test for wcscmp.
55475         * string/test-strcmp.c: Update.
55476         (WIDE): New define.
55478 2011-07-22  Andreas Schwab  <schwab@redhat.com>
55480         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55481         line.
55483 2011-07-26  Andreas Schwab  <schwab@redhat.com>
55485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55486         encoding to ACE if AI_IDN.
55488 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
55490         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55491         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55493 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55495         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55496         Fix overflow bug in strncat.
55497         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55499         * string/test-strncat.c: Update.
55500         Add new tests for checking overflow bugs.
55502 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55504         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55505         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55506         * sysdeps/i386/i686/multiarch/strcat.S: New file.
55507         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55508         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55509         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55510         * sysdeps/i386/i686/multiarch/strncat.S: New file.
55511         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55512         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55514         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55515         (USE_AS_STRCAT): Define.
55516         Add strcat and strncat support.
55517         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55519 2011-07-25  Andreas Schwab  <schwab@redhat.com>
55521         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
55522         __n bigger than INT_MAX+1.
55523         (__strncmp_g): Likewise.
55525 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
55527         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
55528         * libio/stido.h: Likewise.
55530         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
55531         (AF_NFC): Define.
55532         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
55533         (AF_NFC): Define.
55535         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
55536         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55537         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55538         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
55539         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55541         [BZ #13021]
55542         * scripts/test-installation.pl: Don't expect libnss_test1 to be
55543         installed.
55545         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
55546         typo.
55547         (_dl_x86_64_save_sse): Likewise.
55549 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
55551         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
55552         OSXSAVE.
55553         (_dl_x86_64_save_sse): Likewise.
55555         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
55557         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
55559 2011-07-21  Andreas Schwab  <schwab@redhat.com>
55561         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
55562         change.
55563         (_dl_x86_64_save_sse): Use correct AVX check.
55565 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55567         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
55568         bug in strncpy/strncat.
55569         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
55571 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
55573         * string/tester.c (test_strcat): Add tests for different alignments
55574         of source and destination.
55575         (test_strncat): Likewise.
55577 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
55579         [BZ #12852]
55580         * posix/glob.c (glob): Check passed in values before using them in
55581         expressions to avoid some overflows.
55582         (glob_in_dir): Likewise.
55584         [BZ #13007]
55585         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
55586         check for AVX enablement so that we don't crash with old kernels and
55587         new hardware.
55588         * elf/tst-audit4.c: Add same checks here.
55589         * elf/tst-audit6.c: Likewise.
55591         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
55593 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
55595         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
55597 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
55599         * po/cs.po: Update from translation team.
55600         * po/bg.po: Likewise.
55602 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
55604         * misc/sys/cdefs.h: Add support for const attribute.
55605         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55606         to gnu_dev_{major,minor,makedev} functions.
55608 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
55610         * intl/dcigettext.c (get_output_charset): Add missing bracket.
55612 2011-07-20  Andreas Schwab  <schwab@redhat.com>
55614         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55615         strlen results.
55617 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55619         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55620         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55621         register in order to avoid conflicts with the soft frame pointer
55622         being held in r11 when necessary.
55623         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55624         (INTERNAL_VSYSCALL_NCS): Likewise.
55626 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
55628         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55629         * elf/dl-fini.c (_dl_fini): Adjust caller.
55630         * elf/dl-close.c (_dl_close_worker): Likewise.
55631         * sysdeps/generic/ldsodefs.h: Adjust declaration.
55633 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
55635         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55636         "aux_cache->nlibs < 0".
55638         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55639         in the reload-count case.
55641 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55643         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55644         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55645         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55646         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55647         * sysdeps/x86_64/multiarch/strcat.S: New file.
55648         * sysdeps/x86_64/multiarch/strncat.S: New file.
55649         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55650         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55651         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55652         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55653         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55654         (USE_AS_STRCAT): Define.
55655         Add strcat and strncat support.
55656         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55657         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55658         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55659         * string/strncat.c: Update.
55660         (USE_AS_STRNCAT): Define.
55661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55662         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55663         and i7.
55664         * sysdeps/x86_64/multiarch/init-arch.h
55665         (bit_Prefer_PMINUB_for_stringop): New.
55666         (index_Prefer_PMINUB_for_stringop): Likewise.
55667         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55668         bit_Prefer_PMINUB_for_stringop.
55670 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
55672         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55673         buffer64.
55674         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55675         of casting of buffer.
55676         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55677         buffer32 and buffer64.
55678         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55679         writes instead of casting of buffer.
55680         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55681         buffer32.
55682         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55683         casting of buffer.
55685 2011-07-19  Andreas Schwab  <schwab@redhat.com>
55687         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55689 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
55691         * nscd/nscd.c (termination_handler): Don't do anything for a database
55692         if it has not yet been initialized.
55694 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
55696         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55698 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
55700         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55702 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
55704         * po/nl.po: Update from translation team.
55705         * po/sv.po: Likewise.
55707 2011-07-16  Roland McGrath  <roland@hack.frob.com>
55709         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55710         now disallowed by GCC.
55712         * configure.in (use-default-link): Default to yes if a test -shared
55713         link meets our qualifications.
55714         * configure: Regenerated.
55716         * config.make.in (output-format): New variable.
55717         * configure.in: Check for ld --print-output-format support.
55718         * configure: Regenerated.
55719         * Makerules ($(common-objpfx)format.lds)
55720         [$(output-format) != unknown]: Just use $(output-format),
55721         instead of the linker-script munging.
55723 2011-07-14  Roland McGrath  <roland@hack.frob.com>
55725         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55726         of $(common-objpfx)shlib.lds.
55727         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55729         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55730         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55732         * configure.in (-z relro check): Adjust test code to add a large
55733         writable data section after it.
55734         * configure: Regenerated.
55736 2011-07-11  Roland McGrath  <roland@hack.frob.com>
55738         * configure.in (-z relro check): Fix test code to make the variable
55739         truly const.
55740         * configure: Regenerated.
55742 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
55744         * nscd/nscd.h (struct traced_file): Define.
55745         (struct database_dyn): Remove inotify_descr, reset_res, and filename
55746         elements.  Add traced_files.
55747         (inotify_fd): Declare.
55748         (register_traced_file): Declare.
55749         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55750         (inotify_fd): Export.
55751         (resolv_conf_descr): Remove.
55752         (nscd_init): Move inotify descriptor creation to main.
55753         Don't register files for notification here.
55754         (register_traced_file): New function.
55755         (invalidate_cache): Don't use reset_res to determine whether to call
55756         res_init, go through the list of registered files.
55757         (main_loop_poll): The inotify descriptors are now stored in the
55758         structures for the traced files.
55759         (main_loop_epoll): Likewise
55760         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
55761         to __nss_disable_nscd.
55762         * nscd/cache.c (prune_cache): There is no single inotify descriptor
55763         for a database anymore.  Check the records for all the registered
55764         files instead.
55765         * nss/Makefile (libnss_files-routines): Add files-init.
55766         (libnss_db-routines): Add db-init.
55767         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55768         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55769         * nss/nss_db/db-init.c: New file.
55770         * nss/nss_files/files-init.c: New file.
55771         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
55772         __nss_lookup_function.
55773         (__nss_lookup_function): Call nss_load_library.
55774         (nss_load_all_libraries): New function.
55775         (__nss_disable_nscd): Take parameter with callback function for files
55776         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
55777         used for the cached services.
55778         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55779         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55780         options for features to all the files in nscd.
55782         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55784 2011-07-10  Roland McGrath  <roland@hack.frob.com>
55786         * csu/elf-init.c (__libc_csu_init): Comment typo.
55788 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
55790         * po/pl.po: Update from translation team.
55791         * po/ja.po: Likewise.
55792         * po/ru.po: Likewise.
55793         * po/ko.po: Likewise.
55794         * po/fr.po: Likewise.
55796 2011-07-09  Roland McGrath  <roland@hack.frob.com>
55798         * configure.in (.ctors/.dtors header and trailer check):
55799         Use an empirical test on a built program.
55800         * configure: Regenerated.
55802         * configure.in (-z relro check): Use an empirical test on a built DSO.
55803         Detect, but do not require, on ia64.
55804         * configure: Regenerated.
55806         * configure.in (READELF): Find it with AC_CHECK_TOOL.
55807         Update tests that use readelf to use $READELF instead.
55808         * configure: Regenerated.
55810 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
55812         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55813         if the result is not used.
55815 2011-07-05  Andreas Jaeger  <aj@suse.de>
55817         [BZ#9696]
55818         * stdlib/tst-strtod.c: Add testcase.
55820 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
55822         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55823         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55824         The latter has a higher limit.  Take additional parameter to pass to
55825         the new function.
55826         (__pathconf): Pass file to __statfs_link_max.
55827         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55828         __statfs_link_max.
55829         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55830         __statfs_link_max.
55832         [BZ #12868]
55833         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55834         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55835         Handle Lustre.
55836         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55837         (__statfs_filesize_max): Likewise.
55838         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55840 2011-07-05  Andreas Jaeger  <aj@suse.de>
55842         * resolv/res_comp.c (dn_skipname): Remove unused variable.
55844 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
55846         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55847         `status' variable.
55848         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55849         Likewise.
55851 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
55853         * Makefile (strop-tests): Add strncat.
55854         * string/test-strncat.c: New file.
55856 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
55858         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55860 2011-06-21  Andreas Jaeger  <aj@suse.de>
55862         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55863         Copy rule from iconvdata/Makefile.
55865 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
55867         [BZ #12922]
55868         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55869         but no long options are defined, just return 'W'.
55871 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
55873         [BZ #9696]
55874         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55876 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
55878         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55879         netgroups to read.
55880         (innetgr): Likewise.
55882 2011-07-05  Roland McGrath  <roland@hack.frob.com>
55884         * config.make.in (install_root): Default to $(DESTDIR).
55886 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
55888         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55890 2011-07-02  Roland McGrath  <roland@hack.frob.com>
55892         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55894         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55895         containing directory rather than embedding absolute directory names.
55897         * scripts/check-local-headers.sh: Rewritten using awk.
55898         Match by word, not by line.  Print error messages for matches.
55899         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55901         * Makerules [shlib-lds-flags empty]:
55902         ($(common-objpfx)libc_pic.opts): New target.
55903         ($(common-objpfx)libc_pic.os.clean): New target.
55904         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55906         * config.make.in (OBJCOPY): New variable.
55907         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55908         * configure: Regenerated.
55910         * config.make.in (use-default-link): New variable.
55911         * configure.in (use_default_link): Grok --with-default-link to set it.
55912         * configure: Regenerated.
55913         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55914         (shlib-lds, shlib-lds-flags): Define to empty.
55916         * Makerules (shlib-lds): New variable.
55917         (shlib-lds-flags): New variable.
55918         (build-shlib, build-moduile, build-module-asneeded): Use it.
55919         ($(common-objpfx)libc.so): Use $(shlib-lds).
55920         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55921         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55923         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55924         DT_FLAGS/DT_FLAGS_1 with zero flags.
55926         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55927         linker script munging.
55929 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
55931         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55932         as 128-bit value.
55933         * crypt/sha512.c (sha512_process_block): Perform total addition using
55934         128-bit if possible.
55935         (__sha512_finish_ctx): Likewise.
55936         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55937         as 64-bit value.
55938         * crypt/sha256.c (SWAP64): Define.
55939         (sha256_process_block): Perform total addition using 64-bit if
55940         possible.
55941         (__sha256_finish_ctx): Likewise.
55943 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
55945         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
55946         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55947         * nscd/hstcache.c (cache_addhst): Likewise.
55948         * nscd/grpcache.c (cache_addgr): Likewise.
55949         * nscd/aicache.c (addhstaiX): Likewise
55950         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55952 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
55954         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55955         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55956         * nscd/hstcache.c (cache_addhst): Likewise.
55957         * nscd/grpcache.c (cache_addgr): Likewise.
55958         * nscd/aicache.c (addhstaiX): Likewise
55960 2011-07-01  Andreas Schwab  <schwab@redhat.com>
55962         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55963         domain only when needed.
55965 2011-06-30  Andreas Schwab  <schwab@redhat.com>
55967         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55968         is always restored.
55970 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
55972         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55973         are re-adding the entry.
55974         * nscd/servicescache.c (cache_addserv): Likewise.
55976 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
55978         * sysdeps/generic/dl-irel.h: fix protection against multiple
55979         inclusions.
55980         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55982 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
55984         [BZ #12935]
55985         * malloc/memusage.sh: Fix quoting in message.
55986         * debug/xtrace.sh: Likewise.
55988         * configure.in: Remove support for --experimental-malloc option, make
55989         it the default.
55990         * config.make.in: Likewise.
55991         * malloc/Makefile: Likewise.
55993 2011-06-27  Andreas Schwab  <schwab@redhat.com>
55995         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55996         two-byte characters.
55998 2011-06-27  Roland McGrath  <roland@hack.frob.com>
56000         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56001         AC_CACHE_CHECK invocation.
56002         * configure: Regenerated.
56004         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56006 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
56008         [BZ #12350]
56009         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
56010         bit from old_res_options.
56012         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56014         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56015         value type for setfct.
56017 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
56019         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56020         __gettimeofday instead of gettimeofday.
56022 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
56024         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56026 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
56028         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56030         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56031         info.
56033 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56036         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56037         strcpy-sse2-unaligned strncpy-sse2-unaligned
56038         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56039         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56040         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56041         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56042         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56043         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56044         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56045         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56046         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56047         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56048         (STRCPY): Support SSE2 and SSSE3 versions.
56050 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
56052         [BZ #12874]
56053         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56054         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56055         kernels which artificially limit size of requests.
56057 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56059         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56060         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56061         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56062         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56063         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56064         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56065         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56066         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56067         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56068         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56069         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56070         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56071         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56072         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56073         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56075         Enable unaligned load optimization for Intel Core i3, i5 and i7
56076         processors.
56077         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56078         Define.
56079         (index_Fast_Unaligned_Load): Define.
56080         (HAS_FAST_UNALIGNED_LOAD): Define.
56082 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
56084         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56086 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
56088         [BZ #12907]
56089         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56090         until it is clear that the information is realy needed.
56091         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56093 2011-06-22  Andreas Schwab  <schwab@redhat.com>
56095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56097 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
56099         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56100         /sys/devices/system/cpu/online if it is usable.
56102         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56103         reading the information from the /proc filesystem to once a second.
56105 2011-06-21  Andreas Jaeger  <aj@suse.de>
56107         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56108         NULL after inclusion of kernel headers.
56110 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
56112         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56113         calls to internal_setent.
56115         [BZ #12885]
56116         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56117         addresses using gethostbyname4_r ignore IPv4 addresses.
56119         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
56120         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
56122         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
56124 2011-06-20  David S. Miller  <davem@davemloft.net>
56126         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
56127         inclusions.
56128         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
56130         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
56131         (elf_irel): Use it.
56132         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
56133         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
56134         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
56135         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
56136         * sysdeps/x86_64/dl-irel.h: Likewise.
56138         * elf/dl-runtime.c: Use elf_ifunc_invoke.
56139         * elf/dl-sym.c: Likewise.
56141 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
56143         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
56144         need to dereference resplen2.
56146 2011-06-14  Andreas Schwab  <schwab@redhat.com>
56148         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
56150 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
56152         * Makeconfig: Define vardbdir and inst_vardbdir.
56153         * nss/Makefile: Add rules to install db-Makefile.
56155         * nss/nss_db/db-XXX.c: Cleanup.
56157         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56158         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56159         GLIBC_PRIVATE.
56160         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56161         * nss/makedb.c: Implement -g option to specify that value strings
56162         are generated and should not be added to table iterated over for
56163         get*ent calls.
56164         * nss/nss_db/db-initgroups.c: New file.
56166         * nss/getent.c: Add support for initgroups lookups through getgrouplist
56167         interface.
56169         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56170         (internal_getgrouplist): Adjust to name change.
56171         Update use_initgroups_entry if this is not the first call.
56172         * nss/databases.def: Add initgroups entry.
56174         * nss/makedb.c (compute_tables): Check result of multiple hash table
56175         sizes to minimize maximum chain length.
56177 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
56179         * Versions.def: Add entry for libnss_db.
56180         * shlib-versions: Likewise.
56181         * nss/Makefile: Add rules to build libnss_db.
56182         * nss/Versions: Add libnss_db information.  Organize libnss_files
56183         entries better.
56184         * nss/db-Makefile: Add gshadow support.  Change rules for the new
56185         makedb progra.  Some minor improvements to generate smaller files.
56186         * nss/nss_db/nss_db.h: Move NSS database header data structures to
56187         here from...
56188         * nss/makedb.c: ...here.
56189         Improve database format to be smaller and require less memory at
56190         runtime.
56191         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
56192         db anymore.
56193         * nss/nss_db/db-netgrp.c: Likewise.
56194         * nss/nss_db/db-open.c: Likewise.
56195         * nss/nss_files/flies-XXX.x: Adjust comments.
56196         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56197         * nss/nss_files/files-grp.c: Likewise.
56198         * nss/nss_files/files-hosts.c: Likewise.
56199         * nss/nss_files/files-network.c: Likewise.
56200         * nss/nss_files/files-proto.c: Likewise.
56201         * nss/nss_files/files-pwd.c: Likewise.
56202         * nss/nss_files/files-rpc.c: Likewise.
56203         * nss/nss_files/files-service.c: Likewise.
56204         * nss/nss_files/files-sgrp.c: Likewise.
56205         * nss/nss_files/files-spwd.c: Likewise.
56206         * nss/nss_db/db-alias.c: Removed.
56207         * nss/nss_db/dummy-db.h: Removed.
56209 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
56211         * nss/makedb.c: Rewritten to not use database library.
56212         * nss/Makefile: Update to build new makedb program.
56214 2011-06-14  Andreas Jaeger  <aj@suse.de>
56216         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56217         memset declaration.
56219 2011-06-10  Andreas Schwab  <schwab@redhat.com>
56221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56222         tmpbuf.
56224 2011-06-10  Roland McGrath  <roland@hack.frob.com>
56226         * Makerules (shlib.lds): Fail if the linker script comes out empty.
56227         * elf/Makefile ($(objpfx)ld.so): Likewise.
56229         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56230         Don't list ld.so twice in dependencies.
56232         * posix/bug-regex31.c: Include <stdlib.h>.
56234         * nscd/hstcache.c (cache_addhst): Remove unused variable.
56236         * nis/nss_compat/compat-spwd.c
56237         (getspent_next_nss_netgr): Remove unused variable.
56238         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56240         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56241         nonmembers" output to use the right array.
56243         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56245         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56247         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56248         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56249         * catgets/gencat.c (read_input_file): Likewise.
56250         * locale/programs/locarchive.c (enlarge_archive): Likewise.
56252         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56253         variable definition inside #if's controlling its use.
56255         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56257         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56259         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56261         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56262         unreachable code.
56264         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56266         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56267         * configure: Regenerated.
56269         * Makerules: Revert last change.
56270         * elf/Makefile: Likewise.
56272 2011-06-09  Roland McGrath  <roland@hack.frob.com>
56274         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56275         * elf/Makefile ($(objpfx)librtld.os): Likewise.
56276         (reloc-link): Likewise.
56278 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
56280         * elf/Makefile: Add rules to build pldd.
56281         * elf/pldd.c: New file.
56282         * elf/pldd-xx.c: New file.
56284 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
56286         * version.h: Update for 2.15 development version.
56288 2011-06-07  David S. Miller  <davem@davemloft.net>
56290         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56291         ifuncs.
56292         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56293         elf_machine_lazy_rel): Likewise.
56294         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56295         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56296         elf_machine_lazy_rel): Likewise.
56297         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56298         dl_hwcap via passed in argument.
56299         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56300         Likewise.
56302 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56304         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
56306 2011-06-06  Roland McGrath  <roland@hack.frob.com>
56308         [BZ #12849]
56309         * manual/fdl-1.1.texi: New file, verbatim from:
56310         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56311         * manual/lgpl-2.1.texi: New file, verbatim from:
56312         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56313         * manual/Makefile (licenses): New variable, list those new file names.
56314         (texis): Use it.
56315         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56317         * manual/fdl.texi: File removed.
56318         * manual/lesser.texi: File removed.
56319         * manual/libc.texinfo (Copying, Documentation License):
56320         Use new @include file names, put @appendix directive before @include.
56322 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
56324         [BZ #12841]
56325         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56326         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56327         (mq_open): Add __NTH.
56329 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
56331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56332         Assume Intel Core i3/i5/i7 processor if AVX is available.
56334 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56336         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56337         typo.
56339 2011-05-31  Andreas Schwab  <schwab@redhat.com>
56341         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56342         memory.  Use alloca_account.  Fix memory leak when retrying.
56344 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56346         * version.h (RELEASE): Bump for 2.14 release.
56347         * include/features.h (__GLIBC_MINOR__): Bump to 14.
56349         * config.make.in (RANLIB): Remove entry.
56351 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
56353         * po/Makefile (po-sed-cmd): Add ksh to extensions.
56354         (libc.pot): Work around missing support for .ksh extension in xgettext.
56356         [BZ #12684]
56357         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56358         if both request failed.
56359         (send_dg): In case of server errors clear resplen or *resplen2.
56361         [BZ #12454]
56362         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56363         when there are multiple maps.
56364         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56365         (_dl_fini): Remove test here.
56367         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56369 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
56371         [BZ #12350]
56372         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56373         bit from old_res_options.
56374         (gaih_inet): Likewise.
56376         [BZ #11099]
56377         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
56378         as signed.
56380         * resolv/res_init.c (res_setoptions): Make the code more compact.
56382         [BZ #11558]
56383         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56384         set RES_USEVC.
56386         [BZ #11634]
56387         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56389         * malloc/malloc.h: Mark malloc hook variables as deprecated.
56391         [BZ #11781]
56392         * malloc/malloc.h: Declare malloc hook variables as volatile.
56394         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56395         in last patch.
56397         [BZ #11799]
56398         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
56399         raise in the comment.
56400         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56401         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56402         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
56404 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
56406         [BZ #12811]
56407         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56408         grow the buffers more if it already has to be sufficient.
56409         (build_wcs_upper_buffer): Likewise.
56410         * posix/regexec.c (check_matching): Likewise.
56411         (clean_state_log_if_needed): Likewise.
56412         (extend_buffers): Don't enlarge buffers beyond size of the input
56413         buffer.
56414         Patches mostly by Emil Wojak <emil@wojak.eu>.
56415         * posix/bug-regex32.c: New file.
56416         * posix/Makefile (tests): Add bug-regex32.
56418         * locale/findlocale.c (_nl_find_locale): Return right away if
56419         _nl_explode_name failed.
56420         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56422         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56424         * debug/xtrace.sh: Unify messages.
56425         * malloc/memusage.sh: Likewise.
56427         [BZ #12813]
56428         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56429         time symbol from vDSO.  Substitute with vsyscall if not available.
56430         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56431         __vdso_time.
56433         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56434         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56435         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56436         Add sendmmsg and internal_sendmmsg.
56437         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56438         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56439         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56441         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56442         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56443         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56445 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
56447         [BZ #12813]
56448         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56449         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
56450         available.
56451         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56452         __vdso_getcpu.
56454         [BZ #12814]
56455         * iconvdata/Makefile (tests): Add bug-iconv9.
56456         * iconvdata/bug-iconv9.c: New file.
56458 2011-05-27  Andreas Schwab  <schwab@redhat.com>
56460         [BZ #12814]
56461         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56463 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
56465         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56466         (struct user_regs_struct): Change intcs field back to cs.
56468 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
56470         * po/ja.po: Update from translation team.
56472 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
56474         [BZ #12795]
56475         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56476         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56478 2011-05-20  Andreas Schwab  <schwab@redhat.com>
56480         * stdlib/longlong.h: Update from GCC.
56482 2011-05-23  Andreas Schwab  <schwab@redhat.com>
56484         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56485         parameter name.
56486         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56487         Add parameter name.
56488         (__sysconf): Pass it down.
56490 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
56492         [BZ #12671]
56493         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56494         some situations.
56495         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56496         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56497         add in in __libc_use_alloca calls.  Adjust callers.
56498         (glob): Use malloc in some situations.
56500         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56501         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56502         pltexit.
56504 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
56506         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56507         and CLOCK_BOOTTIME_ALARM.
56509         [BZ #12782]
56510         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56511         is returned.
56513         * string/_strerror.c (__strerror_r): Print negative errors as signed
56514         numbers.
56516         [BZ #12777]
56517         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
56518         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
56519         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
56521         * configure.in: Fix typo in redirection and correct removal of test
56522         files in two cases.
56524         [BZ #12788]
56525         * locale/setlocale.c (new_composite_name): Fix test to check for
56526         identical name of all categories.
56528         [BZ #12792]
56529         * libio/filedoalloc.c (local_isatty): New function.
56530         (_IO_file_doallocate): Use local_isatty.
56531         * stdio-common/perror.c (perror): In case a new stream is used
56532         forward the stream error.
56533         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
56534         error flag.
56536 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
56538         [BZ #11869]
56539         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
56540         alloca.
56541         * include/alloca.h (extend_alloca_account): Define.
56543         [BZ #11857]
56544         * posix/regex.h: Fix comments with documentation of user-accessible
56545         fields after compilation and describe correct free'ing of pattern
56546         after re_compile_pattern.
56547         Patch by Reuben Thomas <rrt@sc3d.org>.
56549 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
56551         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
56552         and -mno-altivec to prevent the compiler from using Altivec and/or
56553         VSX instructions when the corresponding registers are not available.
56555 2011-05-19  Andreas Schwab  <schwab@redhat.com>
56557         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
56559 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
56561         * libio/freopen.c (freopen): Use __dup2, not dup2.
56562         * libio/freopen64.c (freopen64): Likewise.
56564 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56566         [BZ #12775]
56567         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
56568         * math/Makefile (tests): Add test-powl.
56569         (CFLAGS-test-powl.c): Define.
56570         * math/test-powl.c: New file.
56572 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56574         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
56576 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
56578         [BZ #11837]
56579         * iconvdata/gb18030.c: Update to GB18020-2005.
56581 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
56583         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
56584         RE_SYNTAX_POSIX_AWK): Update to match recent development.
56585         Patch by Aharon Robbins <arnold@skeeve.com>.
56587         [BZ #11892]
56588         * stdlib/putenv.c (putenv): Don't always create copy of the variable
56589         on the stack.
56591         [BZ #11895]
56592         * misc/pselect.c (__pselect): Handle timeout value errors hidden
56593         through underflows.
56595         [BZ #12766]
56596         * misc/error.c (error_at_line): Ensure file_name and old_file_name
56597         point to strings before performing equality test for error_one_per_line
56598         mode.
56600         [BZ #11697]
56601         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56603         [BZ #11820]
56604         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56605         (struct user_fpregs_struct): Avoid __uint*_t types.
56607         [BZ #6420]
56608         * malloc/mtrace.c (tr_where): Add additional parameter to point to
56609         symbol info.  Use it instead of calling _dl_addr locally.
56610         (lock_and_info): New function.
56611         (tr_freehook): Call lock_and_info and pass symbol info as additional
56612         parameter to tr_where.
56613         (tr_mallochook): Likewise.
56614         (tr_reallochook): Likewise.
56615         (tr_memalignhook): Likewise.
56617         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
56618         used and couldn't be at all thread-safe.
56620 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
56622         * libio/freopen.c (freopen): Don't close old file descriptor
56623         before the new one is opened.  Instead dup the new file descriptor
56624         to the old one after the new stream is created.
56625         * libio/freopen64.c (freopen64): Likewise.
56626         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56627         * libio/fileops.c (_IO_new_file_close_it): Handle new
56628         _IO_FLAGS2_NOCLOSE flag.
56629         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56630         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56631         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56632         _IO_FLAGS2_NOCLOSE flag.
56633         * include/unistd.h: Add hidden_proto for dup3.
56634         Define __have_dup3.
56635         * io/dup3.c: Define hidden symbol.
56636         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56638         [BZ #7101]
56639         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56640         when an incomplete long option is used.
56641         * posix/tst-getopt_long1.c: New file.
56642         * posix/Makefile (tests): Add tst-getopt_long1.
56644         [BZ #10138]
56645         * scripts/config.guess: Update from autoconf-2.68.
56646         * scripts/config.sub: Likewise.
56648         [BZ #10157]
56649         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56650         tests into ...
56651         (has_cpuclock): ...this.  New function.
56652         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56653         macro here based on has_cpuclock code.
56655         [BZ #10149]
56656         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56657         First byte (not low byte) is now always NUL.
56658         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56660         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56661         Use non-cancelable interfaces.
56663         [BZ #9809]
56664         * locale/iso-639.def: Add entry for Sorani.
56666         [BZ #11901]
56667         * include/stdlib.h: Move include protection to the right place.
56668         Define abort_msg_s.  Declare __abort_msg with it.
56669         * stdlib/abort.c (__abort_msg): Adjust type.
56670         * assert/assert.c (__assert_fail_base): New function.  Majority
56671         of code from __assert_fail.  Allocate memory for __abort_msg with
56672         mmap.
56673         (__assert_fail): Now call __assert_fail_base.
56674         * assert/assert-perr.c: Remove bulk of implementation.  Use
56675         __assert_fail_base.
56676         * include/assert.hL Declare __assert_fail_base.
56677         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56678         mmap.
56679         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56681 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
56683         [BZ #11952]
56684         [BZ #12453]
56685         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56686         until all modules are registered in the DTV.
56687         * elf/Makefile: Add rules to build and run tst-tls19.
56688         * elf/tst-tls19.c: New file.
56689         * elf/tst-tls19mod1.c: New file.
56690         * elf/tst-tls19mod2.c: New file.
56691         * elf/tst-tls19mod3.c: New file.
56692         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56694         [BZ #12083]
56695         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56696         correctly.
56698         [BZ #12601]
56699         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56700         two-byte sequence errors.
56701         * iconvdata/Makefile (tests): Add bug-iconv8.
56702         * iconvdata/bug-iconv8.c: New file.
56704         [BZ #12626]
56705         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56706         buf2 definition.
56708         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56710         [BZ #12432]
56711         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56712         (dummy_getcfa): New function.
56713         (init): Get _Unwind_GetCFA address, use dummy if not found.
56714         (backtrace_helper): In recursion check, also check whether CFA changes.
56715         (__backtrace): Completely initialize arg.
56717         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
56718         storing incomplete byte sequence in state object.  Avoid testing for
56719         guaranteed too small input if we know there is enough data available.
56721 2011-05-11  Andreas Schwab  <schwab@redhat.com>
56723         * Makeconfig (+link-pie): Indent.
56724         * Rules (binaries-pie): Define if $(have-fpie) and
56725         $(build-shared).
56726         (binaries-shared): Also filter out $(binaries-pie).
56727         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56728         * nscd/Makefile (others-pie): Add nscd.
56729         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56730         ($(objpfx)nscd): Remove command override.
56731         * login/Makefile (others-pie): Add pt_chown.
56732         ($(objpfx)pt_chown): Remove command override.
56733         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56734         remove command overrides.
56736 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
56738         * libio/tst_putwc.c: Fix error messages.
56740         [BZ #12724]
56741         * libio/fileops.c (_IO_new_file_close_it): Always flush when
56742         currently writing and seek to current position when not.
56743         * libio/Makefile (tests): Add bug-fclose1.
56744         * libio/bug-fclose1.c: New file.
56746 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
56748         [BZ #12511]
56749         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56750         don't set DF_1_NODELETE here.
56751         (do_lookup_x): When entering new entry test for copy relocation
56752         and if necessary set DF_1_NODELETE flag.
56753         * elf/tst-unique4.cc: New file.
56754         * elf/tst-unique4.h: New file.
56755         * elf/tst-unique4lib.cc: New file.
56756         * elf/Makefile: Add rules to build and run tst-unique4.
56757         Patch by Piotr Bury <pbury@goahead.com>.
56759 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
56761         [BZ #12052]
56762         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56764         [BZ #12625]
56765         * misc/mntent_r.c (addmntent): Flush the stream after the output
56767         [BZ #12393]
56768         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56769         (is_trusted_path_normalize): Skip initial colon.  Append slash
56770         to empty buffer.  Duplicate is_trusted_path code but allow
56771         constructed patch to be prefix.
56772         (is_dst): Allow $ORIGIN followed by /.
56773         (_dl_dst_substitute): Correct clearing of check_for_trusted.
56774         Correct testing of result of is_trusted_path_normalize
56775         (decompose_rpath): Fix warning.
56777 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
56779         [BZ #11257]
56780         * grp/initgroups.c (internal_getgrouplist): When we found the service
56781         list through the initgroups entry in nsswitch.conf do not always
56782         continue on a successful lookup.  Don't always use the
56783         __nss_group_database value if it is set.
56784         * nss/nsswitch.conf (initgroups): Change action for successful db
56785         lookup to continue for compatibility.
56787 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
56789         [BZ #11532]
56790         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56791         and CP774 modules.
56792         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56793         and CP774 modules.
56794         * iconvdata/tst-tables.sh: Likewise.
56795         * iconvdata/cp770.c: New file.
56796         * iconvdata/cp771.c: New file.
56797         * iconvdata/cp772.c: New file.
56798         * iconvdata/cp773.c: New file.
56799         * iconvdata/cp774.c: New file.
56800         * iconvdata/testdata/CP770: New file.
56801         * iconvdata/testdata/CP770..UTF8: New file.
56802         * iconvdata/testdata/CP771: New file.
56803         * iconvdata/testdata/CP771..UTF8: New file.
56804         * iconvdata/testdata/CP772: New file.
56805         * iconvdata/testdata/CP772..UTF8: New file.
56806         * iconvdata/testdata/CP773: New file.
56807         * iconvdata/testdata/CP773..UTF8: New file.
56808         * iconvdata/testdata/CP774: New file.
56809         * iconvdata/testdata/CP774..UTF8: New file.
56811         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56812         END CHARMAP line.
56813         * iconvdata/gen-8bit-gap.sh: Likewise.
56814         * iconvdata/gen-8bit.sh: Likewise.
56816         * locale/iso-639.def: Add ary entry.
56818         [BZ #11258]
56819         * locale/C-translit.h.in: Add U20A1 transliteration.
56821         [BZ #12178]
56822         * locale/iso-639.def: Add wae entry.
56823         Patch by Kevin Bortis <bortis@translate-wae.ch>.
56825         [BZ #12545]
56826         * locale/programs/localedef.c (construct_output_path): Use ssize_t
56827         for n.
56829         [BZ #12711]
56830         * locale/C-translit.h.in: Add entry for U20B9.
56831         Patch by pravin.d.s@gmail.com.
56833 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
56835         [BZ #12713]
56836         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56837         ENAMETOOLONG use generic getcwd.
56838         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
56839         in rtld.  Use *stat64.
56840         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56841         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56842         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56843         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56844         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56845         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56846         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56847         __fstatat64 macros.
56848         * include/dirent.h: Add libc_hidden_proto for rewinddir.
56849         * dirent/rewinddir.c: Add libc_hidden_def.
56850         * sysdeps/mach/hurd/rewinddir.c: Likewise.
56851         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
56853         * include/dirent.h (__alloc_dir): Add flags parameter.
56854         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56855         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56856         __alloc_dir.
56857         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
56858         from fdopendir if O_CLOEXEC is already set.
56860 2011-03-15  Alan Modra  <amodra@gmail.com>
56862         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56863         l_tls_firstbyte_offset non-zero.  Save padding offset in
56864         l_tls_firstbyte_offset for later use.
56865         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56866         freeing static tls block.
56868 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
56870         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56871         where #ifdef was intended.  The intent is to prevent ARG_MAX from
56872         being defined by the kernel headers.
56874 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
56876         [BZ #12734]
56877         * resolv/resolv.h: Define RES_NOTLDQUERY.
56878         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56879         no-tld-query and set RES_NOTLDQUERY.
56880         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56881         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56882         modern BIND to search name as TLD unless forbidden.
56884 2011-05-07  Petr Baudis  <pasky@suse.cz>
56885             Ulrich Drepper  <drepper@gmail.com>
56887         [BZ #12393]
56888         * elf/dl-load.c (fillin_rpath): Move trusted path check...
56889         (is_trusted_path): ...to here.
56890         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56891         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56892         using is_trusted_path_normalize() in setuid scripts.
56894 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56896         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56897         __BEGIN/__END_DECLS.
56899 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
56901         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56902         NSS_STATUS_NOTFOUND if no record was found.
56904 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56906         * sunrpc/Makefile (headers): Add rpc/netdb.h.
56907         (headers-not-in-tirpc): Remove rpc/netdb.h
56908         * resolv/netdb.h: Revert last change.
56910 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56912         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56913         circular dependency between libgcc.a and libc.a.
56915 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56917         * resolv/netdb.h: Don't include <rpc/netdb.h>.
56918         * nis/Makefile: Don't install rpcsvc/*.
56919         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56920         instead of <rpc/types.h>.
56921         (MAXHOSTNAMELEN): Define.
56923 2011-05-03  Andreas Schwab  <schwab@redhat.com>
56925         * elf/ldconfig.c (add_dir): Don't crash on empty path.
56927 2011-04-28  Maciej Babinski  <mbabinski@google.com>
56929         [BZ #12714]
56930         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56931         gethostbyname4_r when IPv6 results are possible.
56933 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
56935         [BZ #12723]
56936         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56937         _PC_PIPE_BUF handling.
56939 2011-04-30  Bruno Haible  <bruno@clisp.org>
56941         [BZ #12717]
56942         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56943         * resolv/netdb.h (getnameinfo): Change type of flags parameter
56944         to 'int'.
56945         * inet/getnameinfo.c (getnameinfo): Likewise.
56947 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
56949         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56950         to groups setting in database lookup.
56951         * nss/nsswitch.conf: Add initgroups entry.
56953 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
56955         [BZ #12685]
56956         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56957         mode string.
56958         Patch by Eric Blake <eblake@redhat.com>.
56960 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
56962         * sunrpc/Makefile (need-export-routines): Add svc_run.
56963         (routines): Remove svc_run.
56964         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56965         * sunrpc/clnt_perr.c (clnt_perrno): Export.
56966         * sunrpc/svc_run.c (svc_run): Likewise.
56967         * sunrpc/svc_udp.c (svcudp_create): Likewise.
56969 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
56971         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56972         problem in reallocation in last patch.
56974 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
56976         * sunrpc/Makefile: Move inclusion of Rules.
56978 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56980         * nss/nss_files/files-initgroups.c: New file.
56981         * nss/Makefile (libnss_files-routines): Add files-initgroups.
56982         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56983         _nss_files_initgroups_dyn.
56985 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
56987         * elf/elf.h (R_ARM_IRELATIVE): Define.
56989 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56991         * po/ru.po: Update from translation team.
56993 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
56995         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56996         dependencies.
56998 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
57000         [BZ #12653]
57001         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57002         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57003         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57004         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57005         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57007 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
57009         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57010         differing bytes.
57011         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57012         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57013         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57015 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
57017         [BZ #12420]
57018         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57019         storing it.
57020         * stdlib/bug-getcontext.c: New file.
57021         * stdlib/Makefile: Add rules to build and run bug-getcontext.
57023 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57025         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57026         instructions into .machine "z9-109".
57027         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57028         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57030 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57032         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57033         between environment variables and auxiliary vector.
57035 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
57037         * Makefile: Add rules to build linkobj/libc.so.
57038         * include/libc-symbols.h: Define libc_hidden_nolink.
57039         * include/rpc/auth.h: Mark functions which are to be hidden.
57040         * include/rpc/auth_des.h: Likewise.
57041         * include/rpc/auth_unix.h: Likewise.
57042         * include/rpc/clnt.h: Likewise.
57043         * include/rpc/des_crypt.h: Likewise.
57044         * include/rpc/key_prot.h: Likewise.
57045         * include/rpc/pmap_clnt.h: Likewise.
57046         * include/rpc/pmap_prot.h: Likewise.
57047         * include/rpc/pmap_rmt.h: Likewise.
57048         * include/rpc/rpc_msg.h: Likewise.
57049         * include/rpc/svc.h: Likewise.
57050         * include/rpc/svc_auth.h: Likewise.
57051         * include/rpc/xdr.h: Likewise.
57052         * nis/Makefile: Link all DSOs against linkobj/libc.so.
57053         * nss/Makefile: Likewise.
57054         * sunrpc/Makefile: Don't install headers.  Build library with normal
57055         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
57056         * sunrpc/auth_des.c: Hide exported symbols by default, export some
57057         for the compat linking library.  Remove use of INTDEF/INTUSE.
57058         * sunrpc/auth_none.c: Likewise.
57059         * sunrpc/auth_unix.c: Likewise.
57060         * sunrpc/authdes_prot.c: Likewise.
57061         * sunrpc/authuxprot.c: Likewise.
57062         * sunrpc/clnt_gen.c: Likewise.
57063         * sunrpc/clnt_perr.c: Likewise.
57064         * sunrpc/clnt_raw.c: Likewise.
57065         * sunrpc/clnt_simp.c: Likewise.
57066         * sunrpc/clnt_tcp.c: Likewise.
57067         * sunrpc/clnt_udp.c: Likewise.
57068         * sunrpc/clnt_unix.c: Likewise.
57069         * sunrpc/des_crypt.c: Likewise.
57070         * sunrpc/des_soft.c: Likewise.
57071         * sunrpc/get_myaddr.c: Likewise.
57072         * sunrpc/key_call.c: Likewise.
57073         * sunrpc/key_prot.c: Likewise.
57074         * sunrpc/netname.c: Likewise.
57075         * sunrpc/pm_getmaps.c: Likewise.
57076         * sunrpc/pm_getport.c: Likewise.
57077         * sunrpc/pmap_clnt.c: Likewise.
57078         * sunrpc/pmap_prot.c: Likewise.
57079         * sunrpc/pmap_prot2.c: Likewise.
57080         * sunrpc/pmap_rmt.c: Likewise.
57081         * sunrpc/publickey.c: Likewise.
57082         * sunrpc/rpc_cmsg.c: Likewise.
57083         * sunrpc/rpc_common.c: Likewise.
57084         * sunrpc/rpc_dtable.c: Likewise.
57085         * sunrpc/rpc_prot.c: Likewise.
57086         * sunrpc/rpc_thread.c: Likewise.
57087         * sunrpc/rtime.c: Likewise.
57088         * sunrpc/svc.c: Likewise.
57089         * sunrpc/svc_auth.c: Likewise.
57090         * sunrpc/svc_authux.c: Likewise.
57091         * sunrpc/svc_raw.c: Likewise.
57092         * sunrpc/svc_run.c: Likewise.
57093         * sunrpc/svc_simple.c: Likewise.
57094         * sunrpc/svc_tcp.c: Likewise.
57095         * sunrpc/svc_udp.c: Likewise.
57096         * sunrpc/svc_unix.c: Likewise.
57097         * sunrpc/svcauth_des.c: Likewise.
57098         * sunrpc/xcrypt.c: Likewise.
57099         * sunrpc/xdr.c: Likewise.
57100         * sunrpc/xdr_array.c: Likewise.
57101         * sunrpc/xdr_float.c: Likewise.
57102         * sunrpc/xdr_intXX_t.c: Likewise.
57103         * sunrpc/xdr_mem.c: Likewise.
57104         * sunrpc/xdr_rec.c: Likewise.
57105         * sunrpc/xdr_ref.c: Likewise.
57106         * sunrpc/xdr_sizeof.c: Likewise.
57107         * sunrpc/xdr_stdio.c: Likewise.
57109 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
57111         [BZ #12650]
57112         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57113         * sysdeps/ia64/dl-tls.h: Likewise.
57114         * sysdeps/powerpc/dl-tls.h: Likewise.
57115         * sysdeps/s390/dl-tls.h: Likewise.
57116         * sysdeps/sh/dl-tls.h: Likewise.
57117         * sysdeps/sparc/dl-tls.h: Likewise.
57118         * sysdeps/x86_64/dl-tls.h: Likewise.
57119         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
57121 2011-03-14  Andreas Schwab  <schwab@redhat.com>
57123         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
57124         rpath element also skip the following colon.
57125         (expand_dynamic_string_token): Add is_path parameter and pass
57126         down to DL_DST_REQUIRED and _dl_dst_substitute.
57127         (decompose_rpath): Call expand_dynamic_string_token with
57128         non-zero is_path.  Ignore empty rpaths.
57129         (_dl_map_object_from_fd): Call expand_dynamic_string_token
57130         with zero is_path.
57132 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
57134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57135         Make cancelable.
57137 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
57139         [BZ #12655]
57140         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
57141         Patch by Filipe David Manana <fdmanana@apache.org>.
57143 2011-04-07  Andreas Schwab  <schwab@redhat.com>
57145         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
57146         Maintain aligned stack.
57147         (CHECK_RSP): Remove unused macro.
57149 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
57151         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
57152         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57154 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
57156         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57158         * include/features.h: Mention __USE_XOPEN2K8 in comment.
57160 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
57162         [BZ #12518]
57163         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57164         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57165         * sysdeps/x86_64/memmove.c: New file.
57166         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57167         (memcpy): Renamed to ...
57168         (__new_memcpy): This.
57169         (memcpy): Provide GLIBC_2_14 memcpy.
57170         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57171         (memcpy): Provide GLIBC_2_2_5 memcpy.
57173 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57175         [BZ #12631]
57176         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57178 2011-03-30  Andreas Schwab  <schwab@redhat.com>
57180         * misc/syncfs.c: New file.
57181         * misc/Makefile (routines): Add syncfs.
57182         * posix/unistd.h: Declare syncfs.
57183         * sysdeps/unix/syscalls.list: Add syncfs.
57185 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57187         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57188         open_by_handle_at.
57189         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57190         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57191         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57192         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57193         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57194         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57195         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57197 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57199         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57200         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57201         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57202         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57203         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57204         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57205         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57207         * io/Makefile: Compile fallocate.c, fallocate64.c, and
57208         sync_file_range.c with -fexceptions.
57209         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57210         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57211         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57212         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57213         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57214         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57215         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
57216         sync_file_range as cancellation point
57217         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
57218         now a wrapper around __call_sync_file_range with cancellation handling.
57219         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57220         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
57221         function name to __call_sync_file_range.
57222         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57223         Add call_sync_file_range.
57225 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57228         bits/timex.h.
57230 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57232         * iconv/iconv.h: Fix typo in comment.
57233         * io/fcntl.h: Likewise.
57234         * libio/stdio.h: Likewise.
57235         * posix/spawn.h: Likewise.
57236         * posix/unistd.h: Likewise.
57237         * stdlib/stdlib.h: Likewise.
57238         * time/time.h: Likewise.
57239         * wcsmbs/wchar.h: Likewise.
57241         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57242         open_by_handle): Add.
57243         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57244         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
57245         Augment a few comments.
57246         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57247         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57248         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57249         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57250         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57251         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57252         open_by_handle.
57254         * io/fcntl.h (AT_EMPTY_PATH): Define.
57256 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
57258         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57259         * sysdeps/unix/sysv/linux/bits/time.h: New file.
57260         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57261         to...
57262         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
57263         * Versions.def: Add GLIBC_2.14.
57264         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57265         Export.
57267 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
57269         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57270         round counter.
57271         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57273 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
57275         [BZ #12597]
57276         * string/test-strncmp.c (do_page_test): New function.
57277         (check2): Likewise.
57278         (test_main): Call check2.
57279         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57281 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
57283         [BZ #12587]
57284         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57285         Handle cache information in CPU leaf 4.
57286         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57288 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
57290         [BZ #12583]
57291         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57292         character representation.
57293         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57295 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
57297         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57298         END(__isnan) to END(__isnanf) to match function entry point/label
57299         EALIGN(__isnanf,...).
57301 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
57303         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57305 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
57307         [BZ #12510]
57308         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57309         copy from the symbol referenced in the relocation to initialize the
57310         used variable.
57311         Patch by Piotr Bury <pbury@goahead.com>.
57312         * elf/Makefile: Add rules to build and tst-unique3.
57313         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57314         * elf/tst-unique3.cc: New file.
57315         * elf/tst-unique3.h: New file.
57316         * elf/tst-unique3lib.cc: New file.
57317         * elf/tst-unique3lib2.cc: New file.
57319         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57321 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
57323         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57324         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
57325         to _start.
57327 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
57329         * elf/dl-load.c (_dl_map_object): If we are looking for the first
57330         to-be-loaded object along a path to loader is ld.so.
57332 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57333             Ulrich Drepper  <drepper@gmail.com>
57335         * sysdeps/x86_64/memset.S: After aligning destination, code
57336         branches to different locations depending on the value of
57337         misalignment, when multiarch is enabled. Fix this.
57339 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57341         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57342         Set _x86_64_preferred_memory_instruction for AMD processsors.
57343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57344         Set bit_Prefer_SSE_for_memop for AMD processors.
57346 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
57348         * libio/fmemopen.c (fmemopen): Optimize a bit.
57350 2011-03-03  Andreas Schwab  <schwab@redhat.com>
57352         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57354 2011-03-03  Roland McGrath  <roland@redhat.com>
57356         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57358 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
57360         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
57361         __bzero_ultra1 instead of __memset_ultra1.
57363 2011-02-23  Andreas Schwab  <schwab@redhat.com>
57364             Ulrich Drepper  <drepper@gmail.com>
57366         [BZ #12509]
57367         * include/link.h (struct link_map): Add l_orig_initfini.
57368         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57369         returning unsuccessfully.
57370         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57371         close of a file loaded at startup, restore the original l_initfini
57372         list.
57373         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57374         list, store the pointer.
57375         * elf/Makefile ($(objpfx)noload-mem): New rule.
57376         (noload-ENV): Define.
57377         (tests): Add $(objpfx)noload-mem.
57378         * elf/noload.c: Include <memcheck.h>.
57379         (main): Call mtrace.  Close all opened handles.
57381 2011-02-17  Andreas Schwab  <schwab@redhat.com>
57383         [BZ #12454]
57384         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57385         dependencies are missing.
57387 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57389         Fix __if_freereq crash: Unlike the generic version which uses free,
57390         Hurd needs munmap.
57391         * sysdeps/mach/hurd/ifreq.h: New file.
57393 2011-01-27  Petr Baudis  <pasky@suse.cz>
57394             Ulrich Drepper  <drepper@gmail.com>
57396         [BZ 12445]#
57397         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57398         to extend_alloca().
57399         * stdio-common/bug23.c: New file.
57400         * stdio-common/Makefile (tests): Add bug23.
57402 2010-09-28  Andreas Schwab  <schwab@redhat.com>
57403             Ulrich Drepper  <drepper@gmail.com>
57405         [BZ #12489]
57406         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57407         before performing relro protection.  At old place add assertion
57408         to make sure nothing changed.
57410 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
57411             Glauber de Oliveira Costa  <glommer@gmail.com>
57413         * elf/elf.h: Add new ARM TLS relocs.
57415 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
57417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57418         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57419         cast from r3.
57420         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
57421         'tests' variable.
57422         * sysdeps/wordsize-64/tst-writev.c: New file.
57424 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
57426         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57427         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57428         insns in _dl_start to prevent a TOC reference before relocs are
57429         resolved.
57431 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
57433         [BZ #12469]
57434         * Makeconfig: Remove RANLIB definition.
57435         * Makerules: Don't use RANLIB.
57436         * aclocal.m4: Remove ranlib test.
57437         * configure.in: No need to check for ranlib.
57438         * elf/rtld-Rules: Don't use RANLIB.
57440 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57442         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57443         protection macro.
57444         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57445         inclusion protection macro.
57447         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57448         SIGRTMIN and SIGRTMAX and print information in that case only when
57449         SIGRTMIN is defined.
57451 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
57453         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57454         arginfo fn returning -1.
57456         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57457         and thousands string is zero terminated.
57459 2011-02-03  Andreas Schwab  <schwab@redhat.com>
57461         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57462         sysdeps/unix/sysv/linux/bits/socket.h.
57464 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57466         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57467         (__CPU_COUNT): Remove old macros.
57468         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57469         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57470         (__CPU_ALLOC, __CPU_FREE): Add macros.
57471         (__sched_cpualloc, __sched_cpufree): Add declarations.
57473 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
57475         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57476         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57477         * nscd/aicache.c (addhstaiX): Return timeout of added value.
57478         (readdhstai): Return value of addhstaiX call.
57479         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57480         (addgrbyX): Return value returned by cache_addgr.
57481         (readdgrbyname): Return value returned by addgrbyX.
57482         (readdgrbygid): Likewise.
57483         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57484         (addpwbyX): Return value returned by cache_addpw.
57485         (readdpwbyname): Return value returned by addhstbyX.
57486         (readdpwbyuid): Likewise.
57487         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57488         (addservbyX): Return value returned by cache_addserv.
57489         (readdservbyname): Return value returned by addservbyX:
57490         (readdservbyport): Likewise.
57491         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57492         (addhstbyX): Return value returned by cache_addhst.
57493         (readdhstbyname): Return value returned by addhstbyX.
57494         (readdhstbyaddr): Likewise.
57495         (readdhstbynamev6): Likewise.
57496         (readdhstbyaddrv6): Likewise.
57497         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57498         (readdinitgroups): Return value returned by addinitgroupsX.
57499         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57500         (prune_cache): Keep track of timeout value of re-added entries.
57501         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57502         * nscd/nscd.h: Adjust prototypes of readd* functions.
57504 2011-02-04  Roland McGrath  <roland@redhat.com>
57506         * nis/nis_server.c (nis_servstate): Use the right name for 0.
57507         (nis_stats): Likewise.
57508         * nis/nis_modify.c (nis_modify): Likewise.
57509         * nis/nis_remove.c (nis_remove): Likewise.
57510         * nis/nis_add.c (nis_add): Likewise.
57512         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57514         * posix/fnmatch_loop.c: Add some consts.
57516         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
57518 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
57520         [BZ #12460]
57521         * config.make.in (config-cflags-novzeroupper): Define.
57522         * configure.in: Substitute libc_cv_cc_novzeroupper.
57523         * elf/Makefile (AVX-CFLAGS): Define.
57524         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
57525         (CFLAGS-tst-auditmod4a.c): Likewise.
57526         (CFLAGS-tst-auditmod4b.c): Likewise.
57527         (CFLAGS-tst-auditmod6b.c): Likewise.
57528         (CFLAGS-tst-auditmod6c.c): Likewise.
57529         (CFLAGS-tst-auditmod7b.c): Likewise.
57530         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
57532 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
57534         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
57535         function to the callback.
57536         Patch partly by Jiri Olsa <jolsa@redhat.com>.
57538 2011-02-02  Andreas Schwab  <schwab@redhat.com>
57540         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
57541         of errno.
57543 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
57545         [BZ #11724]
57546         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
57547         of constructors.
57548         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
57549         of destructors.
57550         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
57552         [BZ #11724]
57553         * elf/Makefile: Add rules to build and run new test.
57554         * elf/tst-initorder.c: New file.
57555         * elf/tst-initorder.exp: New file.
57556         * elf/tst-initordera1.c: New file.
57557         * elf/tst-initordera2.c: New file.
57558         * elf/tst-initordera3.c: New file.
57559         * elf/tst-initordera4.c: New file.
57560         * elf/tst-initorderb1.c: New file.
57561         * elf/tst-initorderb2.c: New file.
57562         * elf/tst-order-a1.c: New file.
57563         * elf/tst-order-a2.c: New file.
57564         * elf/tst-order-a3.c: New file.
57565         * elf/tst-order-a4.c: New file.
57566         * elf/tst-order-b1.c: New file.
57567         * elf/tst-order-b2.c: New file.
57568         * elf/tst-order-main.c: New file.
57569         New test case by George Gensure <werkt0@gmail.com>.
57571 2010-10-01  Andreas Schwab  <schwab@redhat.com>
57573         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57574         decoding ACE if AI_CANONIDN.
57576 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
57578         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
57580 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
57582         * version.h (RELEASE): Bump for 2.13 release.
57583         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
57585         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
57587         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
57588         MADV_NOHUGEPAGE.
57589         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
57590         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57591         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57592         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57593         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57594         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57596         * posix/getconf.c: Update copyright year.
57597         * catgets/gencat.c: Likewise.
57598         * csu/version.c: Likewise.
57599         * debug/catchsegv.sh: Likewise.
57600         * debug/xtrace.sh: Likewise.
57601         * elf/ldconfig.c: Likewise.
57602         * elf/ldd.bash.in: Likewise.
57603         * elf/sprof.c (print_version): Likewise.
57604         * iconv/iconv_prog.c: Likewise.
57605         * iconv/iconvconfig.c: Likewise.
57606         * locale/programs/locale.c: Likewise.
57607         * locale/programs/localedef.c: Likewise.
57608         * malloc/memusage.sh: Likewise.
57609         * malloc/mtrace.pl: Likewise.
57610         * nscd/nscd.c (print_version): Likewise.
57611         * nss/getent.c: Likewise.
57613         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57614         PF_CAIF, and PF_ALG.
57615         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57617 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
57619         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57620         (modules-names): Use them.
57621         (ifunc-test-modules, ifunc-pie-tests): Define.
57622         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57623         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57624         (test-extras): Likewise.
57625         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57626         $(compile-command.c).
57627         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57628         (all-built-dso): Define.
57629         (check-textrel.out, check-execstack.out): Depend on it.
57631         * configure.in: Don't override --enable-multi-arch.
57633 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
57635         [BZ #6812]
57636         * nscd/hstcache.c (tryagain): Define.
57637         (cache_addhst): Return tryagain not notfound for temporary errors.
57638         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57639         failed.
57641 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
57643         [BZ #10563]
57644         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57645         to make the syscall.
57646         * sysdeps/unix/sysv/linux/setgroups.c: New file.
57648         [BZ #12378]
57649         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57650         and fall back to matching as normal character if the string ends before
57651         the matching ']' is found.  This is what POSIX requires.
57652         * posix/testfnm.c: Adjust test result.
57653         * posix/globtest.sh: Adjust test result.  Add new test.
57654         * posix/tst-fnmatch.input: Likewise.
57655         * posix/tst-fnmatch2.c: Add new test.
57657 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
57659         * elf/Makefile (check-execstack): Revert last change.  Depend on
57660         check-execstack.h.
57661         (check-execstack.h): New target.
57662         (generated): Add check-execstack.h.
57663         * elf/check-execstack.c: Include "check-execstack.h".
57664         (main): Revert last change.
57665         (handle_file): Return zero if GNU_STACK is absent and
57666         DEFAULT_STACK_PERMS doesn't include PF_X.
57668 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
57670         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57671         in child fails because the descriptor is already closed.
57672         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57673         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57674         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
57676         [BZ #12397]
57677         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57678         syscall.
57680         [BZ #10484]
57681         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57682         temporary buffer used to handle multi lookups locally.
57683         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
57685 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
57687         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57688         loader is ld.so.
57690 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
57692         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57693         alignment for SSE2.
57695 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
57697         [BZ #12394]
57698         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57699         characters.  When rounding increased number of integer digits recompute
57700         number of groups.
57701         * stdio-common/tst-grouping.c: New file.
57702         * stdio-common/Makefile: Add rules to build and run tst-grouping.
57704 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
57706         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57707         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
57709         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57710         void.
57711         * bits/select.h: Likewise.
57713 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
57715         * po/ja.po: Update from translation team.
57717 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
57719         [BZ #11155]
57720         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57721         implementation just like for lxstat, fxstatat, et al.
57723 2010-12-27  Jim Meyering  <meyering@redhat.com>
57725         [BZ #12348]
57726         * posix/regexec.c (build_trtable): Return failure indication upon
57727         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
57729 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
57731         [BZ #12201]
57732         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57733         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57734         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57735         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57737         [BZ #12207]
57738         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57740         [BZ #12204]
57741         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57742         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57744 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
57746         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57747         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57748         script has SORT_BY_INIT_PRIORITY.
57749         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57750         NO_CTORS_DTORS_SECTIONS is defined.
57751         * elf/soinit.c: Likewise.
57752         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57753         NO_CTORS_DTORS_SECTIONS is defined.
57754         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57755         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57756         * sysdeps/sh/init-first.c: Likewise.
57757         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57759 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
57761         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57762         always use the slow path.
57764 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
57766         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57767         similar rule which adds the sysdep directories to the header search in
57768         order to pick up the correct platform stackinfo.h.
57769         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57770         perform test if it is, otherwise return successfully without testing.
57771         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57772         DEFAULT_STACK_PERMS define in stackinfo.h.
57773         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57774         defined in stackinfo.h.
57775         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57776         DEFAULT_STACK_PERMS defined in stackinfo.h.
57777         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57778         * sysdeps/ia64/stackinfo.h: Likewise.
57779         * sysdeps/s390/stackinfo.h: Likewise.
57780         * sysdeps/sh/stackinfo.h: Likewise.
57781         * sysdeps/sparc/stackinfo.h: Likewise.
57782         * sysdeps/x86_64/stackinfo.h: Likewise.
57783         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57784         PF_X for powerpc64.  Retain PF_X for powerpc32.
57786 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
57788         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57789         accurately.
57790         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57791         GETDENTS_64BIT_ALIGNED.
57793 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
57795         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57797 2010-12-10  Andreas Schwab  <schwab@redhat.com>
57799         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57800         _GNU_SOURCE.
57802         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57803         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57804         Remove __restrict.
57805         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57806         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57808 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
57810         [BZ #11655]
57811         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57812         are initialized.
57814 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
57816         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57818 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
57820         * po/it.po: Update from translation team.
57822 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
57824         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57825         unused codes.
57827 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
57829         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57831 2010-11-24  Andreas Schwab  <schwab@redhat.com>
57833         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57834         specially.
57835         (gaih_getanswer_slice): Likewise.
57837 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
57839         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57841 2010-05-31  Petr Baudis  <pasky@suse.cz>
57843         [BZ #11149]
57844         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57845         silently even in the chroot mode.
57847 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
57849         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57850         last patch a bit.  Pretty printing
57852 2010-05-31  Petr Baudis <pasky@suse.cz>
57854         [BZ #10085]
57855         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57856         initialization of skip_initgroups_dyn.
57858 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
57860         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57861         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57863 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
57865         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57867 2010-11-11  Andreas Schwab  <schwab@redhat.com>
57869         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57870         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57871         (tst-fnmatch-ENV): Set MALLOC_TRACE.
57872         ($(objpfx)tst-fnmatch-mem): New rule.
57873         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57874         * posix/tst-fnmatch.c (main): Call mtrace.
57876 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
57878         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57879         Support Intel processor model 6 and model 0x2c.
57881 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
57883         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57884           signed comparison.
57886 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
57888         [BZ #12205]
57889         * string/test-strncasecmp.c (check_result): New function.
57890         (do_one_test): Use it.
57891         (check1): New function.
57892         (test_main): Use it.
57893         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57894         Support strcasecmp and strncasecmp.
57896 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
57898         [BZ #12194]
57899         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57900         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57902 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57904         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57905         IFUNC support.
57906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57907         memset-x86-64.
57908         * sysdeps/x86_64/multiarch/bzero.S: New file.
57909         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57910         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57911         * sysdeps/x86_64/multiarch/memset.S: New file.
57912         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57914         Set bit_Prefer_SSE_for_memop for Intel processors.
57915         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57916         Define.
57917         (index_Prefer_SSE_for_memop): Define.
57918         (HAS_PREFER_SSE_FOR_MEMOP): Define.
57920 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
57922         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57923         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57925 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
57927         [BZ #12191]
57928         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57929         (__x86_64_raw_data_cache_size_half): Likewise.
57930         (__x86_64_raw_shared_cache_size): Likewise.
57931         (__x86_64_raw_shared_cache_size_half): Likewise.
57933         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57934         (__x86_64_raw_data_cache_size_half): Likewise.
57935         (__x86_64_raw_shared_cache_size): Likewise.
57936         (__x86_64_raw_shared_cache_size_half): Likewise.
57937         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57938         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57939         and __x86_64_raw_shared_cache_size_half.  Round
57940         __x86_64_data_cache_size_half, __x86_64_data_cache_size
57941         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57942         to multiple of 256 bytes.
57944 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
57946         [BZ #12167]
57947         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57948         of inacessible symlinks.  Verify result of symlink before returning it.
57949         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57950         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57952 2010-10-28  Erich Ritz  <erichritz@gmail.com>
57954         * math/math.h (isinf): Fix typo in comment.
57956 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
57958         * po/da.po: Update from translation team.
57960 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
57962         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57963         is added to the list.
57965 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57966             Ulrich Drepper  <drepper@gmail.com>
57968         * elf/dl-object.c (_dl_new_object): Don't append the new object to
57969         the global list here.  Move code to...
57970         (_dl_add_to_namespace_list): ...here.  New function.
57971         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57972         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57973         * elf/dl-load.c (lose): Don't remove the element from the list.
57974         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57975         (_dl_map_object): Likewise.
57977 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
57979         [BZ #12159]
57980         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57981         into all bytes of SSE register.
57982         Patch by Richard Li <richardpku@gmail.com>.
57984 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
57986         [BZ #12140]
57987         * malloc/malloc.c (_int_free): Fill correct number of bytes when
57988         perturbing.
57990 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
57992         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57993         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57994         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57995         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57997         submachine.
57998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58000 2010-10-22  Andreas Schwab  <schwab@redhat.com>
58002         * include/dlfcn.h (__RTLD_SECURE): Define.
58003         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
58004         mode & __RTLD_SECURE instead.
58005         (open_path): Rename preloaded parameter to secure.
58006         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58007         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58008         * elf/dl-deps.c (openaux): Likewise.
58009         * elf/rtld.c (struct map_args): Remove is_preloaded.
58010         (map_doit): Don't use it.
58011         (dl_main): Likewise.
58012         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58013         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58015 2010-09-09  Andreas Schwab  <schwab@redhat.com>
58017         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58018         (sysd-rules-targets): Remove duplicates.
58019         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58020         rtld-%.$o dependency.
58022 2010-10-18  Andreas Schwab  <schwab@redhat.com>
58024         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58025         _dl_map_object do it.
58027 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
58029         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58030         fast fma builtins, define the macros in the C99 standard.
58031         (FP_FAST_FMAF): Likewise.
58032         (FP_FAST_FMAL): Likewise.
58033         * sysdeps/x86_64/bits/mathdef.h: Likewise.
58035         * bits/mathdef.h: Update copyright year.
58036         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58038 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
58040         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58041         builtins, define the macros in the C99 standard.
58042         (FP_FAST_FMAF): Likewise.
58043         (FP_FAST_FMAL): Likewise.
58044         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58045         multiply/add.
58046         (FP_FAST_FMAF): Likewise.
58048 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
58050         [BZ #3268]
58051         * math/libm-test.inc (fma_test): Some new testcases.
58052         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58053         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58054         y and infinite z.  Do multiplication by C already in long double.
58055         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58056         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58057         y and infinite z.  Do bitwise or of inexact bit into u.d.
58058         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58059         * sysdeps/i386/fpu/s_fmaf.S: Removed.
58060         * sysdeps/i386/fpu/s_fma.S: Removed.
58061         * sysdeps/i386/fpu/s_fmal.S: Removed.
58063 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
58065         [BZ #3268]
58066         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58067         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58068         computation is not scheduled after fetestexcept.  Fix value
58069         of minimum denormal long double.
58071 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
58073         [BZ #3268]
58074         * math/libm-test.inc (fma_test): Add some more tests.
58075         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58076         correctly.
58078 2010-10-15  Andreas Schwab  <schwab@redhat.com>
58080         * scripts/data/localplt-s390-linux-gnu.data: New file.
58081         * scripts/data/localplt-s390x-linux-gnu.data: New file.
58083 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
58085         [BZ #3268]
58086         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58087         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58088         instead of dbl-64.
58089         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58090         inlines.
58091         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58092         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58093         if one of x and y is very large and the other is subnormal.
58094         * sysdeps/s390/fpu/s_fmaf.c: New file.
58095         * sysdeps/s390/fpu/s_fma.c: New file.
58096         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58097         * sysdeps/powerpc/fpu/s_fma.S: New file.
58098         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58099         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58100         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58102 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
58104         [BZ #3268]
58105         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58106         fma tests.
58107         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58108         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58109         * sysdeps/i386/i686/multiarch/s_fma.c: Include
58110         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58111         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58112         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58113         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58115 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
58117         [BZ #12078]
58118         * posix/regcomp.c (parse_branch): One more memory leak plugged.
58119         * posix/bug-regex31.input: Add test case.
58121 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58123         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
58124         * posix/bug-regex31.input: New file.
58126         [BZ #12078]
58127         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
58128         (parse_sub_exp): Fix last change, use postorder.
58130         * posix/bug-regex31.c: New file.
58131         * posix/Makefile: Add rules to build and run bug-regex31.
58133         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
58135         [BZ #12078]
58136         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
58138         [BZ #12108]
58139         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
58140         to have entries in sys_siglist.
58142         [BZ #12093]
58143         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
58144         be NULL.
58146 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
58148         [BZ #3268]
58149         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
58150         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
58151         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
58152         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58153         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58154         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58155         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58156         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58157         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58158         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58159         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58160         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58161         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58162         * math/ftestexcept.c (fetestexcept): Likewise.
58163         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58164         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58165         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58166         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58167         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58168         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58169         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58171 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58173         [BZ #12107]
58174         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58175         newline.
58177 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
58179         * string/bug-strstr1.c: New file.
58180         * string/Makefile: Add rules to build and run bug-strstr1.
58182 2010-10-05  Eric Blake  <eblake@redhat.com>
58184         [BZ #12092]
58185         * string/str-two-way.h (two_way_long_needle): Always clear memory
58186         when skipping input due to the shift table.
58188 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
58190         [BZ #12005]
58191         * malloc/mcheck.c: Handle large requests.
58193         [BZ #12077]
58194         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58195         for strncmp and strncasecmp.
58196         * string/stratcliff.c: Add tests for strcmp and strncmp.
58197         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58199 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58201         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58202         __set_fpscr.
58204 2010-09-30  Andreas Jaeger  <aj@suse.de>
58206         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58207         (CGROUP_SUPER_MAGIC): Define.
58208         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58209         Handle btrfs and cgroup file systems.
58210         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58211         Likewise.
58213 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
58215         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58216         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58218 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58220         [BZ #12067]
58221         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58222         trying to locate the ELF header.
58224 2010-09-27  Andreas Schwab  <schwab@redhat.com>
58226         [BZ #11611]
58227         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58228         Mask out sign-bit copies when constructing f_fsid.
58230 2010-09-24  Petr Baudis <pasky@suse.cz>
58232         * debug/stack_chk_fail_local.c: Add missing licence exception.
58233         * debug/warning-nop.c: Likewise.
58235 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
58237         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58238         implementing getdents64 using getdents syscall, set d_type if
58239         __ASSUME_GETDENTS32_D_TYPE.
58241 2010-09-16  Andreas Schwab  <schwab@redhat.com>
58243         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58244         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58246 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
58248         [BZ #12037]
58249         * posix/unistd.h: Undo change of feature selection for ftruncate from
58250         2010-01-11.
58252 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
58254         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
58255         detection.
58257 2010-09-20  Andreas Schwab  <schwab@redhat.com>
58259         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58260         fanotify_mark.
58261         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58263 2010-09-14  Andreas Schwab  <schwab@redhat.com>
58265         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58266         variables after CHECK_SP call.
58267         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58269 2010-09-13  Andreas Schwab  <schwab@redhat.com>
58270             Ulrich Drepper  <drepper@redhat.com>
58272         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58273         re-relocationg ld.so.
58274         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58275         _dl_init_paths call.
58276         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
58277         here anymore.
58279 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
58281         * resolv/res_init.c (__res_vinit): Count the default server we added.
58283 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
58284             Ulrich Drepper  <drepper@redhat.com>
58286         [BZ #11968]
58287         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58288         (____longjmp_chk): Use %ebx for saving value across system call.
58289         Add unwind info.
58291 2010-09-06  Andreas Schwab  <schwab@redhat.com>
58293         * manual/Makefile: Don't mix pattern rules with normal rules.
58295 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58297         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58298         operation.
58299         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58300         * libio/iofopncook.c (_IO_cookie_init): Likewise.
58301         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58302         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58303         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58304         Likewise.
58306 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
58308         [BZ #11979]
58309         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58310         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58312 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
58314         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58315         * sysdeps/x86_64/addmul_1.S: Likewise.
58316         * sysdeps/x86_64/lshift.S: Likewise.
58317         * sysdeps/x86_64/mul_1.S: Likewise.
58318         * sysdeps/x86_64/rshift.S: Likewise.
58319         * sysdeps/x86_64/sub_n.S: Likewise.
58320         * sysdeps/x86_64/submul_1.S: Likewise.
58322 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58324         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58325         Define __sched_param instead of SCHED_* and sched_param when
58326         <bits/sched.h> is included with __need_schedparam defined.
58327         * bits/sched.h [__need_schedparam]
58328         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
58329         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
58330         (__defined_schedparam): Define to 1.
58331         (__sched_param): New structure, identical to sched_param.
58332         (__need_schedparam): Undefine.
58334 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
58336         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
58337         (epoll_create1): Declare.
58339         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
58341 2010-08-31  Andreas Schwab  <schwab@redhat.com>
58343         [BZ #7066]
58344         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58345         shifting retval into place.
58347 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
58349         * nis/rpcsvc/nis.h: Update copyright notice.
58350         * nis/rpcsvc/nis.x: Likewise.
58351         * nis/rpcsvc/nis_callback.h: Likewise.
58352         * nis/rpcsvc/nis_callback.x: Likewise.
58353         * nis/rpcsvc/nis_object.x: Likewise.
58354         * nis/rpcsvc/nis_tags.h: Likewise.
58355         * nis/rpcsvc/yp.h: Likewise.
58356         * nis/rpcsvc/yp.x: Likewise.
58357         * nis/rpcsvc/ypupd.h: Likewise.
58358         * nis/yp_xdr.c: Likewise.
58359         * nis/ypupdate_xdr.c: Likewise.
58361         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
58362         mainly the body of pmap_getport.  Add parameters to specify timeouts.
58363         (pmap_getport): Use __libc_rpc_getport.
58364         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58365         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58366         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58368 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
58370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58371         fanotify_mark.
58373 2010-08-27  Roland McGrath  <roland@redhat.com>
58375         * sysdeps/i386/i686/multiarch/Makefile
58376         (CFLAGS-varshift.c): New variable.
58378 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
58380         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58381         * sysdeps/i386/i686/multiarch/varshift.c: New file.
58383         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58385         * sysdeps/x86_64/strlen.S: Minimal code improvement.
58387 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
58389         * sysdeps/x86_64/strlen.S: Unroll the loop.
58390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58391         strlen-sse2 strlen-sse2-bsf.
58392         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58393         __strlen_no_bsf if bit_Slow_BSF is set.
58394         (__strlen_sse42): Removed.
58395         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58396         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58398 2010-08-25  Roland McGrath  <roland@redhat.com>
58400         * sysdeps/x86_64/multiarch/varshift.S: File removed.
58401         * sysdeps/x86_64/multiarch/varshift.c: New file.
58402         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58403         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58404         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58405         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58407 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
58409         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58410         strlen-sse2 strlen-sse2-bsf.
58411         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58412         __strlen_sse2_bsf if bit_Slow_BSF is unset.
58413         (__strlen_sse2): Removed.
58414         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58415         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58416         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58417         bit_Slow_BSF for Atom.
58418         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58419         (index_Slow_BSF): Define.
58420         (HAS_SLOW_BSF): Define.
58422 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
58424         [BZ #10851]
58425         * resolv/res_init.c (__res_vinit): When no server address at all
58426         is given default to loopback.
58428 2010-08-24  Roland McGrath  <roland@redhat.com>
58430         * configure.in: Remove config-name.h generation.
58431         * configure: Regenerated.
58432         * config-name.in: File removed.
58433         * scripts/config-uname.sh: New file.
58434         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58435         ($(objdir)config-name.h): New target.
58437         * sunrpc/rpc_parse.h: Avoid nested comment.
58439 2010-08-24  Richard Henderson  <rth@redhat.com>
58440             Ulrich Drepper  <drepper@redhat.com>
58441             H.J. Lu  <hongjiu.lu@intel.com>
58443         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58445         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58446         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
58447         _mm_alignr_epi8 with _mm_loadu_si128.
58448         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58449         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58450         (__m128i_shift_right): Removed.
58451         * sysdeps/i386/i686/multiarch/varshift.h: New file.
58452         * sysdeps/i386/i686/multiarch/varshift.S: New file.
58453         * sysdeps/x86_64/multiarch/varshift.h: New file.
58454         * sysdeps/x86_64/multiarch/varshift.S: New file.
58456 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
58458         * configure.in: Move assembler checks to before sysdep dir checking.
58460 2010-08-20  Petr Baudis  <pasky@suse.cz>
58462         * LICENSES: Sync the sunrpc license.
58464 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
58466         * sunrpc/auth_des.c: Update copyright notice once again.
58467         * sunrpc/auth_none.c: Likewise.
58468         * sunrpc/auth_unix.c: Likewise.
58469         * sunrpc/authdes_prot.c: Likewise.
58470         * sunrpc/authuxprot.c: Likewise.
58471         * sunrpc/bindrsvprt.c: Likewise.
58472         * sunrpc/clnt_gen.c: Likewise.
58473         * sunrpc/clnt_perr.c: Likewise.
58474         * sunrpc/clnt_raw.c: Likewise.
58475         * sunrpc/clnt_simp.c: Likewise.
58476         * sunrpc/clnt_tcp.c: Likewise.
58477         * sunrpc/clnt_udp.c: Likewise.
58478         * sunrpc/clnt_unix.c: Likewise.
58479         * sunrpc/des_crypt.c: Likewise.
58480         * sunrpc/des_soft.c: Likewise.
58481         * sunrpc/get_myaddr.c: Likewise.
58482         * sunrpc/getrpcport.c: Likewise.
58483         * sunrpc/key_call.c: Likewise.
58484         * sunrpc/key_prot.c: Likewise.
58485         * sunrpc/openchild.c: Likewise.
58486         * sunrpc/pm_getmaps.c: Likewise.
58487         * sunrpc/pm_getport.c: Likewise.
58488         * sunrpc/pmap_clnt.c: Likewise.
58489         * sunrpc/pmap_prot.c: Likewise.
58490         * sunrpc/pmap_prot2.c: Likewise.
58491         * sunrpc/pmap_rmt.c: Likewise.
58492         * sunrpc/rpc/auth.h: Likewise.
58493         * sunrpc/rpc/auth_unix.h: Likewise.
58494         * sunrpc/rpc/clnt.h: Likewise.
58495         * sunrpc/rpc/des_crypt.h: Likewise.
58496         * sunrpc/rpc/key_prot.h: Likewise.
58497         * sunrpc/rpc/netdb.h: Likewise.
58498         * sunrpc/rpc/pmap_clnt.h: Likewise.
58499         * sunrpc/rpc/pmap_prot.h: Likewise.
58500         * sunrpc/rpc/pmap_rmt.h: Likewise.
58501         * sunrpc/rpc/rpc.h: Likewise.
58502         * sunrpc/rpc/rpc_des.h: Likewise.
58503         * sunrpc/rpc/rpc_msg.h: Likewise.
58504         * sunrpc/rpc/svc.h: Likewise.
58505         * sunrpc/rpc/svc_auth.h: Likewise.
58506         * sunrpc/rpc/types.h: Likewise.
58507         * sunrpc/rpc/xdr.h: Likewise.
58508         * sunrpc/rpc_clntout.c: Likewise.
58509         * sunrpc/rpc_cmsg.c: Likewise.
58510         * sunrpc/rpc_common.c: Likewise.
58511         * sunrpc/rpc_cout.c: Likewise.
58512         * sunrpc/rpc_dtable.c: Likewise.
58513         * sunrpc/rpc_hout.c: Likewise.
58514         * sunrpc/rpc_main.c: Likewise.
58515         * sunrpc/rpc_parse.c: Likewise.
58516         * sunrpc/rpc_parse.h: Likewise.
58517         * sunrpc/rpc_prot.c: Likewise.
58518         * sunrpc/rpc_sample.c: Likewise.
58519         * sunrpc/rpc_scan.c: Likewise.
58520         * sunrpc/rpc_scan.h: Likewise.
58521         * sunrpc/rpc_svcout.c: Likewise.
58522         * sunrpc/rpc_tblout.c: Likewise.
58523         * sunrpc/rpc_util.c: Likewise.
58524         * sunrpc/rpc_util.h: Likewise.
58525         * sunrpc/rpcinfo.c: Likewise.
58526         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
58527         * sunrpc/rpcsvc/key_prot.x: Likewise.
58528         * sunrpc/rpcsvc/klm_prot.x: Likewise.
58529         * sunrpc/rpcsvc/mount.x: Likewise.
58530         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
58531         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
58532         * sunrpc/rpcsvc/rex.x: Likewise.
58533         * sunrpc/rpcsvc/rstat.x: Likewise.
58534         * sunrpc/rpcsvc/rusers.x: Likewise.
58535         * sunrpc/rpcsvc/sm_inter.x: Likewise.
58536         * sunrpc/rpcsvc/spray.x: Likewise.
58537         * sunrpc/rpcsvc/yppasswd.x: Likewise.
58538         * sunrpc/rtime.c: Likewise.
58539         * sunrpc/svc.c: Likewise.
58540         * sunrpc/svc_auth.c: Likewise.
58541         * sunrpc/svc_authux.c: Likewise.
58542         * sunrpc/svc_raw.c: Likewise.
58543         * sunrpc/svc_run.c: Likewise.
58544         * sunrpc/svc_simple.c: Likewise.
58545         * sunrpc/svc_tcp.c: Likewise.
58546         * sunrpc/svc_udp.c: Likewise.
58547         * sunrpc/svc_unix.c: Likewise.
58548         * sunrpc/svcauth_des.c: Likewise.
58549         * sunrpc/xcrypt.c: Likewise.
58550         * sunrpc/xdr.c: Likewise.
58551         * sunrpc/xdr_array.c: Likewise.
58552         * sunrpc/xdr_float.c: Likewise.
58553         * sunrpc/xdr_mem.c: Likewise.
58554         * sunrpc/xdr_rec.c: Likewise.
58555         * sunrpc/xdr_ref.c: Likewise.
58556         * sunrpc/xdr_sizeof.c: Likewise.
58557         * sunrpc/xdr_stdio.c: Likewise.
58559         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
58560         handling.
58562 2010-08-19  Andreas Schwab  <schwab@redhat.com>
58564         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
58566 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
58568         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
58569         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
58570         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
58571         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
58572         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
58573         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
58574         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
58575         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
58576         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
58577         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
58578         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
58579         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
58580         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
58581         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
58583 2010-07-26  Anton Blanchard  <anton@samba.org>
58585         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
58586         * malloc/arena.c (heap_trim): Likewise.
58588 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
58590         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
58591         here.  Not...
58592         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
58593         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
58595 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
58597         * sysdeps/i386/elf/Makefile: New file.
58599 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
58601         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
58602         from fanotify_init.
58603         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58604         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58606 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
58608         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58609         of strncasecmp_l.
58610         * sysdeps/multiarch/strcmp.S: Likewise.
58612 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
58614         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58615         strncase_l-nonascii.
58616         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58617         Add strncase_l-ssse3.
58618         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58619         * sysdeps/x86_64/strcmp.S: Likewise.
58620         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58621         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58622         * sysdeps/x86_64/strncase.S: New file.
58623         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58624         * sysdeps/x86_64/strncase_l.S: New file.
58625         * string/Makefile (strop-tests): Add strncasecmp.
58626         * string/test-strncasecmp.c: New file.
58628         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58629         warning.
58631         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58632         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58634 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
58636         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58638 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
58640         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58641         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58642         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58644 2010-05-01  Alan Modra  <amodra@gmail.com>
58646         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58647         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58648         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58649         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58650         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58651         tidying.  Don't tail-call __sigjmp_save for static lib.
58652         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58653         save location.
58654         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58655         (CALL_MCOUNT): Add eh info, and nop after bl.
58656         (TAIL_CALL_SYSCALL_ERROR): New macro.
58657         (PSEUDO_RET): Use it.
58658         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58659         Correct save location of integer regs and cr.
58660         (_dl_profile_resolve): Correct cr save location.  Delete nops
58661         after bl when SHARED.  Reduce cfi size a little by better
58662         placement of cfi directives.
58663         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58664         make a stack frame.  Instead use parm save area as a temp.
58665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58666         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
58667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58668         Don't make a stack frame for parent, use parm save area.
58669         Increase child stack frame to 112 bytes.  Don't save unused reg,
58670         and adjust reg usage.  Set up cfi on error recovery and
58671         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58673         (__makecontext): Add dummy nop after jump to exit.
58674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58675         Use correct parm save area and cr save, reduce stack frame.
58676         Correct cfi for possible PSEUDO_RET frame setup.
58677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58678         Branch to local label emitted by PSEUDO_RET rather than
58679         __syscall_error.
58681 2010-08-12  Andreas Schwab  <schwab@redhat.com>
58683         [BZ #11904]
58684         * locale/programs/locale.c (print_assignment): New function.
58685         (show_locale_vars): Use it.
58687 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
58689         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58690         field.
58691         (struct statfs64): Likewise.
58692         (_STATFS_F_FLAGS): Define.
58693         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58694         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58695         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58696         (ST_VALID): Define locally.
58697         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58698         __statvfs_getflags, use the provided value.
58699         * sysdeps/unix/sysv/linux/kernel-features.h: Define
58700         __ASSUME_STATFS_F_FLAGS.
58702         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58704         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58705         Add sys/fanotify.h.
58706         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58707         fanotify_mask for GLIBC_2.13.
58708         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58709         fanotify_init and fanotify_mark.
58710         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58711         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58713         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58714         Add prlimit.
58715         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58716         prlimit64 for GLIBC_2.13.
58717         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58718         prlimit64.
58719         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58720         syscall.
58721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58722         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58723         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58724         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58725         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
58726         add prlimit alias.
58727         * sysdeps/unix/sysv/linux/prlimit.c: New file.
58729         [BZ #11903]
58730         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58731         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58733         * nss/Makefile: Add rules to build and run tst-nss-test1.
58734         * shlib-versions: Add entry for libnss_test1.
58735         * nss/nss_test1.c: New file.
58736         * nss/tst-nss-test1.c: New file.
58738         * nss/nsswitch.c (__nss_database_custom): Define new variable.
58739         (__nss_configure_lookup): Set appropriate entry in
58740         __nss_configure_lookup to true.
58741         * nss/nsswitch.h: Define enum with indeces of databases in
58742         databases and __nss_database_custom arrays.  Declare
58743         __nss_database_custom.
58744         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58745         to avoid using nscd when custom rules are installed.
58746         * nss/getXXbyYY_r.c: Likewise.
58747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58749         * nss/nss_files/files-parse.c: Whitespace fixes.
58751 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
58753         [BZ #11883]
58754         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58755         * posix/fnmatch_loop.c: Likewise.
58757 2010-07-17  Andi Kleen  <ak@linux.intel.com>
58759         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58760         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58761         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58762         * Versions.def [GLIBC_2.13]: Add.
58764 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
58766         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58767         Also fail if tpwd after pwuid call is NULL.
58769 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58771         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58772         when converting to ms.
58774 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58776         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58777         EOPNOTSUPP errors with ENOTTY.
58778         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58779         EOPNOTSUPP errors with ENOTTY.
58781 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
58783         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58784         Add strcasecmp_l-ssse3.
58785         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58786         strcasecmp.
58787         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58788         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58789         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58791 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
58793         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58795         * string/Makefile (strop-tests): Add strcasecmp.
58796         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58797         strcasecmp_l-nonascii.
58798         (gen-as-const-headers): Add locale-defines.sym.
58799         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58800         * sysdeps/x86_64/strcasecmp.S: New file.
58801         * sysdeps/x86_64/strcasecmp_l.S: New file.
58802         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58803         * sysdeps/x86_64/locale-defines.sym: New file.
58804         * string/test-strcasecmp.c: New file.
58806         * string/test-strcasestr.c: Test both ends of the range of characters.
58807         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58809 2010-07-29  Roland McGrath  <roland@redhat.com>
58811         [BZ #11856]
58812         * manual/locale.texi (Yes-or-No Questions): Fix example code.
58814 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
58816         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58817         for ld.so.
58819 2010-07-27  Andreas Schwab  <schwab@redhat.com>
58821         * manual/memory.texi (Malloc Tunable Parameters): Document
58822         M_PERTURB.
58824 2010-07-26  Roland McGrath  <roland@redhat.com>
58826         [BZ #11840]
58827         * configure.in (-fgnu89-inline check): Set and substitute
58828         gnu89_inline, not libc_cv_gnu89_inline.
58829         * configure: Regenerated.
58830         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58832 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
58834         * string/test-strnlen.c: New file.
58835         * string/Makefile (strop-tests): Add strnlen.
58836         * string/tester.c (test_strnlen): Add a few more test cases.
58837         * string/tst-strlen.c: Better error reporting.
58839         * sysdeps/x86_64/strnlen.S: New file.
58841 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
58843         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58844         lower-latency instructions.
58846 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
58848         * string/test-strcasestr.c: New file.
58849         * string/test-strstr.c: New file.
58850         * string/Makefile (strop-tests): Add strstr and strcasestr.
58851         * string/str-two-way.h: Don't undefine MAX.
58852         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58854 2010-07-21  Andreas Schwab  <schwab@redhat.com>
58856         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58857         strcasestr-nonascii.
58858         (CFLAGS-strcasestr-nonascii.c): Define.
58859         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58860         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58861         Remove unused attribute.
58863 2010-07-20  Roland McGrath  <roland@redhat.com>
58865         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58866         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
58867         ld.so.cache was broken.  With it, there is no way to disable dsocaps
58868         like LD_HWCAP_MASK can disable hwcaps.
58870 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
58872         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58874 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
58876         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58877         call in strcasestr.
58878         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58879         __strcasestr_sse42_nonascii.
58880         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58881         strcasestr-nonascii.c.
58882         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58884 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
58886         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58887         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58888         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58889         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58891 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
58893         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58894         fcntl.
58896 2010-07-06  Andreas Schwab  <schwab@redhat.com>
58898         [BZ #11577]
58899         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58900         dl_signal_cerror.
58902 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
58904         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58905         _PC_PIPE_BUF using F_GETPIPE_SZ.
58907 2010-07-05  Roland McGrath  <roland@redhat.com>
58909         * manual/arith.texi (Rounding Functions): Fix rint description
58910         implicit in round description.
58912 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
58914         * elf/Makefile: Fix linking for a few tests to make recent linker
58915         happy.
58917 2010-06-30  Andreas Schwab  <schwab@redhat.com>
58919         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58920         $(common-objpfx)libc_nonshared.a.
58922 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
58924         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58925         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58926         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58927         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58928         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58929         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58930         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58931         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58946         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58947         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58948         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58949         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58950         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58951         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58952         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58953         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58954         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58955         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58956         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58957         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58973 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
58975         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58976         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
58977         * string/memmove.c (memmove): Renamed to ...
58978         (MEMMOVE): ...this.  Default to memmove.
58979         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58980         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58981         (END_CHK): Define.
58982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58983         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58984         mempcpy-ssse3-back memmove-ssse3-back.
58985         * sysdeps/x86_64/multiarch/bcopy.S: New file .
58986         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58987         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58988         * sysdeps/x86_64/multiarch/memcpy.S: New file.
58989         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58990         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58991         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58992         * sysdeps/x86_64/multiarch/memmove.c: New file.
58993         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58994         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58995         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58996         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58997         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58998         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58999         Define.
59000         (index_Fast_Copy_Backward): Define.
59001         (HAS_ARCH_FEATURE): Define.
59002         (HAS_FAST_REP_STRING): Define.
59003         (HAS_FAST_COPY_BACKWARD): Define.
59005 2010-06-21  Andreas Schwab  <schwab@redhat.com>
59007         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59008         Restore proper fallback handling.
59010 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
59012         [BZ #11701]
59013         * posix/group_member.c (__group_member): Correct checking loop.
59015         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59016         OOM in getpwuid_r correctly.  Return error number when the caller
59017         should return, otherwise -1.
59018         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59019         call returning > 0 value.
59020         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59022 2010-06-07  Andreas Schwab  <schwab@redhat.com>
59024         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59025         libc_nonshared.a from targets in modules-names.
59027 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
59029         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59030         requires it.
59032 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
59034         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59035         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59036         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59037         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59039 2010-06-02  Andreas Schwab  <schwab@redhat.com>
59041         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59043 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
59045         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59046         and F_GETPIPE_SZ.
59047         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59048         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59049         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59050         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59051         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59052         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59054 2010-06-14  Roland McGrath  <roland@redhat.com>
59056         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59058 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
59060         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59061         __REDIRECT followed by __THROW.
59062         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59063         * posix/getopt.h (getopt): Likewise.
59065 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59067         * hurd/lookup-at.c (__file_name_lookup_at): Accept
59068         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
59069         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59070         in AT_FLAGS.
59071         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59072         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59074 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
59076         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59078 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
59080         [BZ #11640]
59081         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59082         Properly check family and model.
59084 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
59086         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59088 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
59090         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59092 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
59094         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59095         symbol reference.
59097 2010-05-19  Andreas Schwab  <schwab@redhat.com>
59099         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59100         symbol reference.
59102 2010-05-21  Andreas Schwab  <schwab@redhat.com>
59104         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59105         and internal_recvmmsg.
59106         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59107         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59108         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59109         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59111         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59112         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59113         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59115 2010-05-20  Andreas Schwab  <schwab@redhat.com>
59117         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
59119 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
59121         POWER7 optimizations.
59122         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
59123         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
59125 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
59127         * version.h: Update for 2.13 development version.
59129 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
59131         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
59132         exceptions.  Return 0.
59134 2010-05-07  Roland McGrath  <roland@redhat.com>
59136         * elf/ldconfig.c (main): Add a const.
59138 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
59140         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
59141         (args_options): Add no-idn option.
59142         (ahosts_keys_int): Add idn_flags to ai_flags.
59143         (parse_option): Handle 'i' option to clear idn_flags.
59145         * malloc/malloc.c (_int_free): Possible race in the most recently
59146         added check.  Only act on the data if no current modification
59147         happened.
59149 See ChangeLog.17 for earlier changes.