conformtest: clean up POSIX expectations for unistd.h.
[glibc.git] / ChangeLog
blob32eda8f96105c52467f4959cceeec00f85825f56
1 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
3         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
5         Do not mention otherwise.
6         [POSIX] (_XOPEN_VERSION): Do not expect.
7         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
8         [POSIX] (_POSIX2_C_BIND): Likewise.
9         [POSIX] (_POSIX2_VERSION): Likewise.
10         [POSIX] (_XOPEN_XPG2): Likewise.
11         [POSIX] (_XOPEN_XPG3): Likewise.
12         [POSIX] (_XOPEN_XPG4): Likewise.
13         [POSIX] (_XOPEN_UNIX): Likewise.
14         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
15         [POSIX] (_POSIX_BARRIERS): Likewise.
16         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
17         [POSIX] (_POSIX_CPUTIME): Likewise.
18         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20         [POSIX] (_POSIX_SHELL): Likewise.
21         [POSIX] (_POSIX_SPAWN): Likewise.
22         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
23         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
25         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
27         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
28         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
29         [POSIX] (_XBS5_LP64_OFF64): Likewise.
30         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31         [POSIX] (_POSIX_TIMEOUTS): Likewise.
32         [POSIX] (_POSIX2_PBS): Likewise.
33         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
34         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
35         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
36         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
38         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
39         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
40         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
41         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
42         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
43         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
44         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
45         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
46         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
47         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
48         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
49         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
50         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
51         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
52         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
53         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
54         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
55         [POSIX] (_SC_2_C_BIND): Likewise.
56         [POSIX] (_SC_2_C_VERSION): Likewise.
57         [POSIX] (_SC_2_PBS): Likewise.
58         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
59         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
60         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
61         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
62         [POSIX] (_SC_2_PBS_TRACK): Likewise.
63         [POSIX] (_SC_ATEXIT_MAX): Likewise.
64         [POSIX] (_SC_BARRIERS): Likewise.
65         [POSIX] (_SC_BASE): Likewise.
66         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
67         [POSIX] (_SC_DEVICE_IO): Likewise.
68         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
69         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
70         [POSIX] (_SC_FD_MGMT): Likewise.
71         [POSIX] (_SC_FIFO): Likewise.
72         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
73         [POSIX] (_SC_FILE_LOCKING): Likewise.
74         [POSIX] (_SC_FILE_SYSTEM): Likewise.
75         [POSIX] (_SC_IOV_MAX): Likewise.
76         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
77         [POSIX] (_SC_NETWORKING): Likewise.
78         [POSIX] (_SC_PAGE_SIZE): Likewise.
79         [POSIX] (_SC_PASS_MAX): Likewise.
80         [POSIX] (_SC_PIPE): Likewise.
81         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
82         [POSIX] (_SC_REGEXP): Likewise.
83         [POSIX] (_SC_SHELL): Likewise.
84         [POSIX] (_SC_SIGNALS): Likewise.
85         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
86         [POSIX] (_SC_SPIN_LOCKS): Likewise.
87         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
88         [POSIX] (_SC_USER_GROUPS): Likewise.
89         [POSIX] (_SC_USER_GROUPS_R): Likewise.
90         [POSIX] (_SC_STREAMS): Likewise.
91         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
92         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
93         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
94         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
95         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
96         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
97         [POSIX] (_PC_FILESIZEBITS): Likewise.
98         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
99         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
100         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
101         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
102         [POSIX] (uid_t): Likewise.
103         [POSIX] (gid_t): Likewise.
104         [POSIX] (off_t): Likewise.
105         [POSIX] (pid_t): Likewise.
106         [POSIX] (cuserid): Allow.
107         (_SC_2_CHAR_TERM): Require constant.
108         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
109         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
110         variable.
112 2015-05-20  Roland McGrath  <roland@hack.frob.com>
114         * sysdeps/nacl/pthread-pids.h: New file.
115         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
116         (create_thread): Use __nacl_get_tid to initialize PD->tid.
118         * nptl/pthread-pids.h: New file.
119         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
120         * nptl/nptl-init.c: Include <pthread-pids.h>.
121         (__pthread_initialize_minimal_internal):
122         Call __pthread_initialize_pids instead of set_tid_address syscall.
124         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
125         * sysdeps/posix/usleep.c: ... here.
127 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
129         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
130         call_pselect6 object.
131         [$(subdir) = io]: Remove call_sync_file_range object.
132         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
133         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
134         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
135         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
137 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
139         * math/s_cproj.c: Add include "math_private.h".
140         * math/s_cprojf.c: Likewise.
141         * math/s_cprojl.c: Likewise.
143 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
145         [BZ #18244]
146         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
147         high mantissa bit when testing whether P is a NaN.
148         * math/libm-test.inc (remainder_test_data): Add more tests.
149         (remquo_test_data): Likewise.
151         [BZ #18049]
152         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
153         below -32, return the argument, with underflow if subnormal.
154         * math/auto-libm-test-in: Add more tests of atanh.
155         * math/auto-libm-test-out: Regenerated.
157 2015-05-19  Roland McGrath  <roland@hack.frob.com>
159         [BZ #18434]
160         * nptl/tst-sem15.c: New file.
161         * nptl/Makefile (tests): Add it.
162         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
163         s/<</>>/ to fix typo in EOVERFLOW check.
164         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
166 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
168         * manual/strings.texi (envz_remove): Fix typo in safety
169         annotations.
171 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
172             Steve Ellcey  <sellcey@imgtec.com>
174         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
175         in order to avoid strict alias warnings.
176         (iruserok_af): Ditto for ra.
178 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
180         [BZ #17581]
181         * malloc/hooks.c
182         (magicbyte): Convert to a function and avoid returning 0x01.
183         (mem2mem_check): Avoid using a length byte equal to the magic byte.
184         (mem2chunk_check): Fix unsigned comparisons to zero.
185         Hoist defs of sz and magic.
187 2015-05-19  Richard Henderson  <rth@redhat.com>
189         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
191         * sysdeps/alpha/fpu/libm-test-ulps: Update.
193 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
195         [BZ #16159]
196         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
197         * malloc/arena.c (arena_lock): Check if arena is corrupt.
198         (reused_arena): Find a non-corrupt arena.
199         (heap_trim): Pass arena to unlink.
200         * malloc/hooks.c (malloc_check_get_size): Pass arena to
201         malloc_printerr.
202         (top_check): Likewise.
203         (free_check): Likewise.
204         (realloc_check): Likewise.
205         * malloc/malloc.c (malloc_printerr): Add arena argument.
206         (unlink): Likewise.
207         (munmap_chunk): Adjust.
208         (ARENA_CORRUPTION_BIT): New macro.
209         (arena_is_corrupt): Likewise.
210         (set_arena_corrupt): Likewise.
211         (sysmalloc): Use mmap if there are no usable arenas.
212         (_int_malloc): Likewise.
213         (__libc_malloc): Don't fail if arena_get returns NULL.
214         (_mid_memalign): Likewise.
215         (__libc_calloc): Likewise.
216         (__libc_realloc): Adjust for additional argument to
217         malloc_printerr.
218         (_int_free): Likewise.
219         (malloc_consolidate): Likewise.
220         (_int_realloc): Likewise.
221         (_int_memalign): Don't touch corrupt arenas.
222         * malloc/tst-malloc-backtrace.c: New test case.
224         * Makefile (summarize-tests): Fix return value on success.
226         * manual/string.texi (Envz Functions): Add envz_remove.
228 2015-05-18  Roland McGrath  <roland@hack.frob.com>
230         * sysdeps/posix/opendir.c: Include <stdbool.h>.
231         (invalid_name): New function, broken out of ...
232         (__opendirat): ... here.  Call it.
233         (need_isdir_precheck): New function, broken out of ...
234         (__opendirat): ... here.  Call it.
235         Use __fxstatat64, not __xstatat64.
236         (opendir_oflags): New function, broken out of ...
237         (__opendirat): ... here.  Call it.
238         (opendir_tail): New function, broken out of ...
239         (__opendirat): ... here.  Call it.
240         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
241         opendir_tail, rather than punting to __opendirat.
242         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
244 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
246         * .gitignore: Ignore generated *.pyc.
248 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
250         * include/stdio.h: Define __need_wint_t.
251         * test-skeleton.c: Avoid `for' loop initial declaration.
252         * nptl/tst-initializers1.c: Use test-skeleton.c.
254 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
256         [BZ #18418]
257         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
259 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
261         [BZ #16352]
262         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
263         (__ieee754_atanh): Force underflow exception for results with
264         small absolute value.
265         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
266         (__ieee754_atanhf): Force underflow exception for results with
267         small absolute value.
268         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
269         (__ieee754_atanh): Force underflow exception for results with
270         small absolute value.
271         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
272         (__ieee754_atanhf): Force underflow exception for results with
273         small absolute value.
274         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
275         (__ieee754_atanhl): Force underflow exception for results with
276         small absolute value.
277         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
278         (__ieee754_atanhl): Force underflow exception for results with
279         small absolute value.
280         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
281         (__ieee754_atanhl): Force underflow exception for results with
282         small absolute value.
283         * math/auto-libm-test-in: Do not allow missing underflow
284         exceptions from atanh.
285         * math/auto-libm-test-out: Regenerated.
287         [BZ #18221]
288         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
289         2**-28 as threshold for returning x or +/- 1/x.
290         * math/auto-libm-test-in: Add more tests of tan.
291         * math/auto-libm-test-out: Regenerated.
293         [BZ #18220]
294         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
295         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
296         * math/auto-libm-test-in: Add another test of lgamma.
297         * math/auto-libm-test-out: Regenerated.
299 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
301         * stdio-common/printf_fp.c (___printf_fp): Use abs.
302         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
303         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
304         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
305         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
306         (ADD2A): Use fabs.  (SUB2A): Use fabs.
307         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
308         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
309         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
310         (log1): Use fabs.  (my_log2): Use fabs.
311         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
312         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
313         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
314         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
315         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
316         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
317         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
318         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
319         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
320         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
321         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
323 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
325         [BZ #18217]
326         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
327         as threshold for returning 1 - x.
328         * math/auto-libm-test-in: Add more tests of erfc.
329         * math/auto-libm-test-out: Regenerated.
331 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
333         [BZ #18196]
334         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
335         threshold for large arguments.
336         * math/auto-libm-test-in: Add another test of atan.
337         * math/auto-libm-test-out: Regenerated.
339         [BZ #16339]
340         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
341         (__log1p): Force underflow exception for results with small
342         absolute value.
343         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
344         (__log1pf): Force underflow exception for results with small
345         absolute value.
346         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
347         (__log1p): Force underflow exception for results with small
348         absolute value.
349         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
350         (__log1pf): Force underflow exception for results with small
351         absolute value.
352         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
353         (__log1pl): Force underflow exception for results with small
354         absolute value.
355         * math/auto-libm-test-in: Do not allow missing underflow
356         exceptions from log1p.
357         * math/auto-libm-test-out: Regenerated.
359 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
360             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
362         [BZ #16704]
363         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
365 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
367         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
368         (libmvec): New variable.
369         * configure.ac: Added option for mathvec build.
370         * configure: Regenerated.
371         * mathvec/Depend: New file.
372         * mathvec/Makefile: New file.
373         * shlib-versions: Added libmvec.
374         * math/Makefile: Added rule for libm.so installation.
376         * bits/math-vector.h: New file.
377         * bits/libm-simd-decl-stubs.h: New header.
378         * math/Makefile (headers): Added new header
379         libm-simd-decl-stubs.h.
380         * math/math.h (__MATHCALL_VEC): New macro.
382         * math/gen-libm-have-vector-test.sh: Script generates series of macros
383         for conditions in testing functions.
384         * math/Makefile: Added call of libm-have-vector-test.sh.
385         * math/libm-test.inc (HAVE_VECTOR): New macros.
387         * math/libm-test.inc: START refactored.
388         * math/test-double.c (TEST_MATHVEC): Add define.
389         * math/test-float.c: Likewise.
390         * math/test-idouble.c: Likewise.
391         * math/test-ifloat.c: Likewise.
392         * math/test-ildoubl.c: Likewise.
393         * math/test-ldouble.c: Likewise.
394         * sysdeps/generic/math-tests-arch.h
395         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
396         architecture check.
398         * math/test-double.c (FUNC_TEST): New macro.
399         * math/test-float.c: Likewise.
400         * math/test-idouble.c: Likewise.
401         * math/test-ifloat.c: Likewise.
402         * math/test-ildoubl.c: Likewise.
403         * math/test-ldouble.c: Likewise.
404         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
406 2015-05-13  Roland McGrath  <roland@hack.frob.com>
408         * sysdeps/nacl/fdopendir.c: New file.
410         * dirent/scandir-tail.c: New file.
411         * dirent/scandir64-tail.c: New file.
412         * dirent/Makefile (routines): Add them.
413         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
414         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
415         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
416         [!SCANDIR] (SCANDIR_TAIL): New macro.
417         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
418         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
419         (SCANDIRAT): Macro removed.
420         (SCANDIR_TAIL): New macro.
421         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
422         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
423         (SCANDIRAT): Just call __opendirat and __scandir_tail.
424         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
425         (READDIR): Macro removed.
426         (SCANDIR_TAIL): New macro.
427         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
428         (SCANDIR_TAIL): New macro.
430         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
431         * dirent/scandir-cancel.c: ... to this new file.
432         * dirent/Makefile (routines): Add it.
433         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
434         * sysdeps/unix/sysv/linux/i386/scandir64.c
435         (SKIP_SCANDIR_CANCEL): Macro removed.
436         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
438         * dirent/tst-scandir.c: New file.
439         * dirent/tst-scandir64.c: New file.
440         * dirent/Makefile (tests): Add them.
442 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
444         [BZ #18409]
445         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
447 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
449         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
450         list.
452 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
454         * benchtests/bench-strcoll.c: New benchmark.
455         * benchtests/Makefile: Generate locales and run benchmark.
456         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
457         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
458         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
459         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
460         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
461         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
462         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
463         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
464         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
465         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
466         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
467         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
468         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
469         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
470         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
471         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
472         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
473         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
474         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
475         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
476         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
477         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
478         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
479         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
481 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
483         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
484         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
486 2015-05-12  Roland McGrath  <roland@hack.frob.com>
488         * posix/uname-values.h: New file.
489         * posix/uname.c: Include that instead of <config-name.h>.
490         * sysdeps/nacl/uname-values.h: New file.
491         * sysdeps/arm/nacl/uname-values.h: New file.
493 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
495         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
496         splitting into fields.
498 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
500         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
501         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
502         * locale/localeinfo.h: Add enum collation_encoding_type.
503         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
504         * programs/ld-collate.c (collate_output): Add encoding type info.
505         * string/strcoll_l.c (STRDIFF): New function.
506         * (STRCOLL): Use STRDIFF to skip over equal prefix.
507         * wcsmbs/wcscoll_l.c: Define STRDIFF.
509 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
511         [BZ #18397]
512         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
513         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
514         <fpu_control.h> instead of <math/fpu_control.c>.
515         * sysdeps/mips/mips32/fpu/Makefile: New file.
517 2015-05-11  Andreas Schwab  <schwab@suse.de>
519         [BZ #18007]
520         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
521         nss_endgrent.
522         (_nss_compat_endgrent): Call nss_endgrent.
523         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
524         nss_endpwent.
525         (_nss_compat_endpwent): Call nss_endpwent.
526         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
527         needent, call nss_setspent only if non-zero.
528         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
529         (internal_endspent): Don't call nss_endspent.
530         (_nss_compat_endspent): Call nss_endspent.
531         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
532         Remove.  All uses removed.
533         (internal_setent): Remove parameter stayopen, add parameter
534         stream.  Use it instead of global variable.
535         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
536         (internal_endent, internal_getent): Add parameter stream.  Use it
537         instead of global variable.
538         (CONCAT(_nss_files_end,ENTNAME))
539         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
540         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
541         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
542         uses removed.
543         (internal_setent, internal_endent): Add parameter stream.  Use it
544         instead of global variable.
545         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
546         stream.
547         (get_next_alias): Add parameter stream.
548         (_nss_files_getaliasent_r): Pass global stream.
549         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
550         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
551         (_nss_files_gethostbyname4_r): Pass local stream to
552         internal_setent, internal_getent and internal_endent.  Remove
553         locking.
555 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
557         * tst-strfmon1.c (tests): Update expected currency symbol.
559 2015-05-08  Roland McGrath  <roland@hack.frob.com>
561         * sysdeps/nacl/gethostname.c: New file.
563 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
565         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
566         and sinh.
567         * math/auto-libm-test-out: Regenerated.
568         * sysdeps/i386/fpu/libm-test-ulps: Update.
569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
571 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
573         [BZ #18125]
574         * stdlib/tst-setcontext3.c: New file.
575         * stdlib/tst-setcontext3.sh: New file.
576         * stdlib/Makefile (tests): Add tst-setcontext3.
577         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
578         to verify test program created output file.
579         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
580         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
581         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
582         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
584 2015-05-06  Roland McGrath  <roland@hack.frob.com>
586         [BZ #18383]
587         * elf/tst-tlsalign.c: New file.
588         * elf/tst-tlsalign-static.c: New file.
589         * elf/tst-tlsalign-lib.c: New file.
590         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
591         (tests-static): Add tst-tlsalign-static.
592         (modules-names): Add tst-tlsalign-lib.
593         (test-xfail-tst-tlsalign): New variable.
594         (test-xfail-tst-tlsalign-static): New variable.
596         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
597         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
599 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
601         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
602         csqrt, erfc, sin and sincos.
603         * math/auto-libm-test-out: Regenerated.
604         * sysdeps/i386/fpu/libm-test-ulps: Update.
605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
607 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
609         * sysdeps/aarch64/libm-test-ulps: Update.
611 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
613         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
614         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
615         * math/auto-libm-test-out: Regenerated.
616         * sysdeps/i386/fpu/libm-test-ulps: Update.
617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
619 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
621         [BZ #18265]
622         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
623         (wcsncpy): Likewise.
625 2015-05-05  Florian Weimer  <fweimer@redhat.com>
627         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
628         Assume __ASSUME_FALLOCATE is always true.
629         * sysdeps/unix/sysv/linux/posix_fallocate64.c
630         (__posix_fallocate64_l64): Likweise.
631         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
632         (posix_fallocate): Likewise.
633         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
634         (__posix_fallocate64_l64): Likewise.
635         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
636         [!__ASSUME_FALLOCATE]: Add comment.
638 2015-05-05  Florian Weimer  <fweimer@redhat.com>
640         * sysdeps/unix/sysv/linux/i386/Makefile
641         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
642         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
643         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
644         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
645         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
646         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
647         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
649 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
651         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
652         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
653         tgamma.
654         * math/auto-libm-test-out: Regenerated.
655         * sysdeps/i386/fpu/libm-test-ulps: Update.
656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
658 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
660         * math/auto-libm-test-in: Add more tests of tgamma.
661         * math/auto-libm-test-out: Regenerated.
662         * sysdeps/i386/fpu/libm-test-ulps: Update.
663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
665         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
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 cos, sin and sincos.
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 another test of pow.
681         * math/auto-libm-test-out: Regenerated.
682         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
684         * math/auto-libm-test-in: Add more tests of lgamma.
685         * math/auto-libm-test-out: Regenerated.
686         * sysdeps/i386/fpu/libm-test-ulps: Update.
687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
689         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
690         log1p.
691         * math/auto-libm-test-out: Regenerated.
692         * sysdeps/i386/fpu/libm-test-ulps: Update.
693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
695 2015-05-01  Mark Wielaard  <mjw@redhat.com>
697         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
698         Elf64_Chdr structs and ELFCOMPRESS constants.
700 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
702         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
703         expm1.
704         * math/auto-libm-test-out: Regenerated.
705         * sysdeps/i386/fpu/libm-test-ulps: Update.
706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
708         * math/auto-libm-test-in: Add more tests of erf and erfc.
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 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
715         * config.h.in (HAVE_AARCH64_BE): Add.
717 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
719         * math/auto-libm-test-in: Add more tests of csqrt.
720         * math/auto-libm-test-out: Regenerated.
721         * sysdeps/i386/fpu/libm-test-ulps: Update.
722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
724         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
731 2015-04-29  Roland McGrath  <roland@hack.frob.com>
733         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
734         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
736         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
737         (euidaccess, eaccess): Define as weak aliases.
739         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
740         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
741         but __suseconds_t is often 'long int' so some sources assume that
742         type is being used (e.g. they use %ld to print tv_usec).
744 2015-04-29  Florian Weimer  <fweimer@redhat.com>
746         [BZ #18007]
747         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
748         (CVE-2014-8121)
749         * nss/tst-nss-getpwent.c: New file.
750         * nss/Makefile (tests): Add new test.
752 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
754         [BZ #18346]
755         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
756         exponents less than 48 as cases where high part of mantissa needs
757         examining to determine whether argument is integral.
758         * math/libm-test.inc (round_test_data): Add more tests.
760 2015-04-28  Mark Wielaard  <mjw@redhat.com>
762         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
764 2015-04-27  David S. Miller  <davem@davemloft.net>
766         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
767         __tls_get_addr.
768         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
770 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
772         [BZ#18333]
773         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
775 2015-04-27  Florian Weimer  <fweimer@redhat.com>
777         [BZ#18333]
778         * time/tzset.c (parse_tzname): Return error on memory allocation
779         failure.
780         * test-skeleton.c (struct temp_name_list): Change type of name
781         member to non-const.
782         (add_temp_file): Create a copy of the file name.
783         (delete_temp_files): Deallocate memory.
784         (create_temp_file): Add comment.
786 2015-04-24  Florian Weimer  <fweimer@redhat.com>
788         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
789         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
791 2015-04-24  Roland McGrath  <roland@hack.frob.com>
793         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
794         * sysdeps/arm/configure: Regenerated.
796 2015-04-24  Florian Weimer  <fweimer@redhat.com>
798         [BZ #17715]
799         * time/tzfile.c (__tzfile_read): Check for large values of
800         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
801         * time/tzset.c (__tzstring_len): New function, based on the old
802         __tzstring function.
803         (__tzstring): Call __tzstring_len.
804         (parse_tzname): New helper function extracted from
805         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
806         the input string.
807         (parse_offset): New helper function extracted from
808         __tzset_parse_tz.  Replace switch with fallthrough with
809         initialization before sscanf.
810         (parse_rule): Likewise.
811         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
812         new-style function definition.
813         * timezone/Makefile (tests): Add tst-tzset.
814         (tst-tzset.out): Dependencies on time zone files.
815         (tst-tzset-ENV): Set TZDIR.
816         (testdata/XT%): Copy crafted time zone files.
817         * timezone/README: Mention crafted time zone files.
818         * timezone/testdata/XT1, timezone/testdata/XT2,
819         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
820         files.
821         * timezone/tst-tzset.c: New test.
823 2015-04-24  Florian Weimer  <fweimer@redhat.com>
825         * Makeconfig (+gccwarn): Remove -Winline.
827 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
829         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
831 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
833         * NEWS: Mention sysconf() cache information support for s390.
834         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
836 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
838         * math/k_casinh.c (__kernel_casinh): Use __copysign.
839         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
840         (__nearbyint): Likewise.
841         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
842         (copysignl): Likewise.
844 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
846         [BZ #18287]
847         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
848         based on padding.  (CVE-2015-1781)
850 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
852         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
853         libc-vdso.h.
854         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
855         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
856         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
857         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
858         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
859         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
860         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
861         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
862         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
863         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
864         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
865         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
866         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
867         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
868         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
869         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
870         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
871         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
872         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
873         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
874         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
875         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
876         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
878 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
880         * stdlib/setenv.c (__add_to_environ):
881         Dump core quickly if setenv (..., NULL, ...) is called.
882         This time, do it the right way, and pacify GCC with a pragma.
884 2015-04-17  Roland McGrath  <roland@hack.frob.com>
886         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
887         IMAP->l_prev cannot be null, and #if out the code for the contrary
888         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
889         believe that NS (&_dl_ns[NSID]) could point outside the array.
891         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
892         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
893         before using NSID as an index.
895 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
897         [BZ #17825]
898         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
899         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
900         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
902 2015-04-17  Roland McGrath  <roland@hack.frob.com>
904         Add preliminary port to Google Native Client on ARM.
905         * abi-tags (.*-.*-nacl.*): New entry.
906         * sysdeps/arm/nacl: New directory.
907         * sysdeps/nacl: New directory.
909 2015-04-16  David S. Miller  <davem@davemloft.net>
911         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
912         lowlevellock-futex.h
914 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
916         * sysdeps/tile/configure.ac: New file.
917         * sysdeps/tile/configure: Regenerated.
919 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
921         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
922         conditionals for weak_alias and libc_hidden_weak.
923         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
924         libc_hidden_weak and weak_alias.
925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
926         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
927         and weak_alias for static one.
929 2015-04-15  David S. Miller  <davem@davemloft.net>
931         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
933 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
935         [BZ #18206]
936         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
937           Use signed comparision instead of substraction to avoid
938           overflow bug.
939         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
940           Take the sign of ret.
941         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
942           Do not expect precise return values. Only the sign matters.
943         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
944         * wcsmbs/test-wcsncmp.c: New File.
945         * string/test-strncmp.c: Add wcsncmp support.
947 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
949         [BZ #6792]
950         * math/w_log1p.c: New file.
951         * math/w_log1pf.c: Likewise.
952         * math/w_log1pl.c: Likewise.
953         * math/Makefile (libm-calls): Add w_log1p.
954         * math/s_log1pl.c (log1pl): Remove weak_alias.
955         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
956         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
957         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
958         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
959         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
960         [NO_LONG_DOUBLE] (log1pl): Likewise.
961         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
962         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
963         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
964         (log1p): Remove long_double_symbol.
965         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
966         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
967         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
968         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
969         remove weak_alias for corresponding log1p function.
970         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
971         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
972         * sysdeps/ia64/fpu/w_log1p.c: New file.
973         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
974         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
975         * math/libm-test.inc (log1p_test_data): Add errno expectations.
977 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
979         [BZ #18247]
980         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
981         decimal exponent by 1.
982         * stdlib/tst-strtod-round-data: Add more tests.
983         * stdlib/tst-strtod-round.c (tests): Regenerated.
985 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
987         * math/auto-libm-test-in: Add more tests of clog and clog10.
988         * math/auto-libm-test-out: Regenerated.
989         * sysdeps/i386/fpu/libm-test-ulps: Update.
990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
992 2015-04-09  Roland McGrath  <roland@hack.frob.com>
994         * Makeconfig (module-cppflags): Exclude all .v.i files.
995         (skip-module-cppflags): Variable removed.
997         * configure.ac (libc_config_ok): Initialize before reading
998         preconfigure scripts, not after.
999         * configure: Regenerated.
1001         * test-skeleton.c (TIMEOUT): Move #define to top level.
1002         (main): Grok environment variable TEST_DIRECT.  If set, print
1003         test expectation details into that file and then behave as if
1004         given --direct.
1006 2015-04-09  Florian Weimer  <fweimer@redhat.com>
1008         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1009         warning on 32-bit.
1011 2015-04-08  David S. Miller  <davem@davemloft.net>
1013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1015 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1017         * math/auto-libm-test-in: Add more tests of atanh.
1018         * math/auto-libm-test-out: Regenerated.
1019         * sysdeps/i386/fpu/libm-test-ulps: Update.
1020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1022         * math/auto-libm-test-in: Add more tests of atan.
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 2015-04-08  Florian Weimer  <fweimer@redhat.com>
1029         * elf/pldd.c (main): Rewrite to use struct
1030         scratch_buffer instead of extend_alloca.
1031         * elf/pldd-xx.c (find_maps): Likewise.
1032         * grp/initgroups.c: Include <scratch_buffer.h> instead of
1033         <alloca.h>.
1034         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1035         scratch_buffer instead of extend_alloca.
1036         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1037         grp/compat-initgroups.c.
1038         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1039         Rewrite to use struct scratch_buffer instead of extend_alloca.
1040         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
1041         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1043 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
1045         * math/auto-libm-test-in: Add more tests of cbrt.
1046         * math/auto-libm-test-out: Regenerated.
1047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1049         * math/auto-libm-test-in: Add more tests of cabs.
1050         * math/auto-libm-test-out: Regenerated.
1051         * sysdeps/i386/fpu/libm-test-ulps: Update.
1052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1054         [BZ #18210]
1055         [BZ #18211]
1056         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1057         (__ieee754_atan2): Set FE_TONEAREST mode for internal
1058         computations.
1059         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1060         clog10.
1061         * math/auto-libm-test-out: Regenerated.
1062         * sysdeps/i386/fpu/libm-test-ulps: Update.
1063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1065         [BZ #18197]
1066         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1067         (atan): Set FE_TONEAREST mode for internal computations.
1068         * math/auto-libm-test-in: Add more tests of atan.
1069         * math/auto-libm-test-out: Regenerated.
1071 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
1073         [BZ #17930]
1074         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1076 2015-04-07  Florian Weimer  <fweimer@redhat.com>
1078         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1080 2015-04-07  Florian Weimer  <fweimer@redhat.com>
1082         * include/scratch_buffer.h: New file.
1083         * malloc/scratch_buffer_grow.c: Likewise.
1084         * malloc/scratch_buffer_grow_preserve.c: Likewise.
1085         * malloc/scratch_buffer_set_array_size.c: Likewise.
1086         * malloc/tst-scratch_buffer.c: Likewise.
1087         * malloc/Makefile (routines): Add scratch_buffer_grow.
1088         (tests): Add test case.
1089         * malloc/Versions (GLIBC_PRIVATE): Export
1090         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
1091         __libc_scratch_buffer_set_array_size.
1093 2015-04-06  Richard Henderson  <rth@redhat.com>
1095         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
1096         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1098         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
1099         unsigned int before printing.
1101 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1103         [BZ #17596]
1104         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
1105         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1107 2015-04-02  Florian Weimer  <fweimer@redhat.com>
1109         * include/libc-internal.h (libc_max_align_t): Define.
1111 2015-04-02  Andreas Schwab  <schwab@suse.de>
1113         [BZ #16850]
1114         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
1116 2015-04-02  Mel Gorman  <mgorman@suse.de>
1118         [BZ #17195]
1119         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
1120         as well as the main arena.
1122 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1124         [BZ #18185]
1125         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
1126         sharing L2 cache to 2 for Silvermont/Knights Landing.
1128 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1130         [BZ #17711]
1131         * config.make.in (have-protected-data): New.
1132         * configure.ac: Check linker support for protected data symbol.
1133         * configure: Regenerated.
1134         * elf/Makefile (modules-names): Add tst-protected1moda and
1135         tst-protected1modb if $(have-protected-data) is yes.
1136         (tests): Add tst-protected1a and tst-protected1b if
1137         $(have-protected-data) is yes.
1138         ($(objpfx)tst-protected1a): New.
1139         ($(objpfx)tst-protected1b): Likewise.
1140         (tst-protected1modb.so-no-z-defs): Likewise.
1141         * elf/tst-protected1a.c: New file.
1142         * elf/tst-protected1b.c: Likewise.
1143         * elf/tst-protected1mod.h: Likewise.
1144         * elf/tst-protected1moda.c: Likewise.
1145         * elf/tst-protected1modb.c: Likewise.
1147 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
1149         [BZ #17711]
1150         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
1151         indicates it is called from do_lookup_x on relocation against
1152         protected data, skip the data definion in the executable from
1153         copy reloc.
1154         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
1155         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
1156         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
1157         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
1158         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
1159         otherwise to 0.
1160         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1161         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
1162         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
1163         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
1164         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
1165         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
1167 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
1169         * sysdeps/nptl/pthread.h: Remove duplicate definition of
1170         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
1172 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
1174         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
1175         THREAD_SETMEM_NC.
1176         * sysdeps/x86_64/nptl/tls.h: Ditto.
1178 2015-03-27  Roland McGrath  <roland@hack.frob.com>
1180         * dlfcn/tststatic.c (main): Converted to ...
1181         (do_test): ... this.
1182         (TEST_FUNCTION): New macro.
1183         Include test-skeleton.c.
1185 2015-03-26  Alan Modra  <amodra@gmail.com>
1187         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
1188         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
1189         zero for undefined weak.
1190         (elf_machine_plt_conflict): Similarly.
1192 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1194         * math/auto-libm-test-in: Add more tests of acosh, asinh and
1195         atanh.
1196         * math/auto-libm-test-out: Regenerated.
1197         * sysdeps/i386/fpu/libm-test-ulps: Update.
1198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1200         * math/auto-libm-test-in: Add another test of asin.
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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
1206         Remove macro.
1207         (LLL_EBX_REG): Likewise.
1208         (LLL_ENTER_KERNEL): Likewise.
1210         * math/auto-libm-test-in: Add more tests of asin.
1211         * math/auto-libm-test-out: Regenerated.
1212         * sysdeps/i386/fpu/libm-test-ulps: Update.
1213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1215         [BZ #18138]
1216         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
1217         libc_do_syscall_args): New structure.
1218         (INTERNAL_SYSCALL_MAIN_0): New macro.
1219         (INTERNAL_SYSCALL_MAIN_1): Likewise.
1220         (INTERNAL_SYSCALL_MAIN_2): Likewise.
1221         (INTERNAL_SYSCALL_MAIN_3): Likewise.
1222         (INTERNAL_SYSCALL_MAIN_4): Likewise.
1223         (INTERNAL_SYSCALL_MAIN_5): Likewise.
1224         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
1225         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
1226         Replace conditional definitions by conditional definitions of ....
1227         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
1228         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
1229         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
1230         (libpthread-sysdep_routines): Add libc-do-syscall.
1231         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
1232         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
1233         to __NR_futex not 240.
1235 2015-03-25  Alan Modra  <amodra@gmail.com>
1237         * NEWS: Advertise TLS optimization.
1238         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
1239         (DT_PPC_NUM): Increment.
1240         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
1241         (CHECK_STATIC_TLS): Use here.
1242         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
1243         TLS descriptors.
1244         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1245         * sysdeps/powerpc/dl-tls.c: New file.
1246         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
1247         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
1248         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
1249         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
1250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
1251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
1252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
1254 2015-03-25  Alan Modra  <amodra@gmail.com>
1256         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
1257         for overlapping .opd entries" to "support...".
1258         * sysdeps/powerpc/powerpc64/configure: Regenerate
1260 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
1262         * math/auto-libm-test-in: Add more tests of acos.
1263         * math/auto-libm-test-out: Regenerated.
1264         * sysdeps/i386/fpu/libm-test-ulps: Update.
1265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1267         * math/auto-libm-test-in: Add more tests of expm1.
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 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
1274         * math/auto-libm-test-in: Add more tests of cosh and sinh.
1275         * math/auto-libm-test-out: Regenerated.
1276         * sysdeps/i386/fpu/libm-test-ulps: Update.
1277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1279         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1282         * math/auto-libm-test-in: Add more tests of log2.
1283         * math/auto-libm-test-out: Regenerated.
1284         * sysdeps/i386/fpu/libm-test-ulps: Update.
1285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1287 2015-03-23  Roland McGrath  <roland@hack.frob.com>
1289         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
1290         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
1291         _IO_IS_APPENDING bit in READ_WRITE instead.
1293 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1295         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1296         (__determine_cpumask_size): Replace extend_alloca with a
1297         variable-length array.  Do not treat res == 0 as an error.
1299 2015-03-23  Florian Weimer  <fweimer@redhat.com>
1301         [BZ #18100]
1302         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
1303         and integer overflow.
1304         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
1305         (main): Add integer overflow tests.
1306         * manual/pattern.texi (Calling Wordexp): Document additional use
1307         for WRDE_SYNTAX.
1309 2015-03-23  Alan Modra  <amodra@gmail.com>
1311         * config.h.in: Remove HAVE_ASM_PPC_REL16.
1312         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
1313         and false branch of conditional.
1314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1315         Likewise.
1317 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
1319         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
1320         libc-modules.h
1321         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
1322         unused declaration of _hurd_intr_rpc_msg_in_trap.
1323         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
1324         defined instead of whether it is non-zero.
1325         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
1326         input constraint instead of both input and output constraint.  Use ecx
1327         clobber instead of %ecx.
1328         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
1329         mutex_unlock): Use a statement expression instead of an expression list.
1330         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
1331         type to vm_size_t instead of vm_address_t.
1332         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
1333         defined instead of whether it is non-zero.
1334         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
1335         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
1336         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
1337         comparisons with mapaddr.
1338         * nscd/nscd-client.h: Include <time.h>.
1339         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
1340         9th parameter to __vm_region instead of int.
1341         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
1342         * scripts/check-local-headers.sh (exclude): Add device/,
1343         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
1344         cthreads.h.
1346 2015-03-19  Roland McGrath  <roland@hack.frob.com>
1348         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
1349         to account for alignment padding.
1350         * sysdeps/arm/memmove.S: Likewise.
1352 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
1354         * sysdeps/unix/sysv/linux/generic/README: New file.
1356 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
1358         [BZ #18138]
1359         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
1360         (futex_abstimed_wait)
1361         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
1362         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
1363         of lll_futex_timed_wait.
1365 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
1367         [BZ #17542]
1368         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
1370 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
1372         [BZ #17090]
1373         [BZ #17620]
1374         [BZ #17621]
1375         [BZ #17628]
1376         * NEWS: Update.
1377         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
1378         entries with Static TLS too.  Skip entries past the end of the
1379         allocated DTV, from Alan Modra.
1380         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
1381         Static TLS DTV entry set up from...
1382         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
1383         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
1384         * nptl/allocatestack.c (init_one_static_tls): ... and here...
1385         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
1386         for Static TLS.
1387         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
1388         that the slot we find is associated with the given map before
1389         using its generation count.
1390         * nptl_db/db_info.c: Include ldsodefs.h.
1391         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
1392         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
1393         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
1394         (link_map::l_tls_offset): New struct field.
1395         (dtv_t::counter): Likewise.
1396         (rtld_global): New struct.
1397         (_rtld_global): New rtld variable.
1398         (dl_tls_dtv_slotinfo_list): New rtld global field.
1399         (dtv_slotinfo_list): New struct.
1400         (dtv_slotinfo): Likewise.
1401         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
1402         (td_lookup): Rename to...
1403         (td_mod_lookup): ... this.  Use new mod parameter instead of
1404         LIBPTHREAD_SO.
1405         * nptl_db/td_thr_tlsbase.c: Include link.h.
1406         (dtv_slotinfo_list, dtv_slotinfo): New functions.
1407         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
1408         addresses even if the DTV is out of date or missing them.
1409         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
1410         index zero-length arrays.
1411         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
1412         (td_lookup): Make it a macro implemented in terms of...
1413         (td_mod_lookup): ... this declaration.
1414         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
1415         (DB_MAIN_VARIABLE): Likewise.
1417 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1419         [BZ #18134]
1420         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1422 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
1424         * stdlib/setenv.c (__add_to_environ): Revert previous change.
1426 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
1428         [BZ #18128]
1429         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
1430         (atomic_add, atomic_increment_and_test)
1431         (atomic_decrement_and_test): Fix 64-bit arithmetic.
1433 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
1435         * stdlib/setenv.c (__add_to_environ):
1436         Dump core quickly if setenv (..., NULL, ...) is called.
1438 2015-03-13  Roland McGrath  <roland@hack.frob.com>
1440         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
1441         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
1442         all the necessary asm magic in one place.
1443         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
1444         using those.
1446 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
1448         [BZ #14906]
1449         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
1450         traced file mtime. Use consistent log message.
1451         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
1452         (register_traced_file): Call install_watches. Always set mtime.
1453         (invalidate_cache): Iterate over all trace files. Call install_watches.
1454         (inotify_check_files): Don't inline. Handle watching parent
1455         directories and configuration file movement in and out.
1456         (handle_inotify_events): New function.
1457         (main_loop_poll): Call handle_inotify_events.
1458         (main_loop_epoll): Likewise.
1459         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
1460         (struct traced_file): Use array of inotify fds. Add parent directory,
1461         and basename.
1462         (struct database_dyn): Remove unused file_mtime.
1463         (init_traced_file): New inline function.
1464         (define_traced_file): New macro.
1465         * nss/nss_db/db-init.c: Use define_traced_file.
1466         (_nss_db_init): Use init_traced_file.
1467         * nss/nss_files/files-init.c: Use define_traced_file.
1468         (_nss_files_init): Use init_traced_file.
1470 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
1472         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
1473         [_LIBC]: Do not include <stdlib.h>.
1474         [!_LIBC] (abort): Remove declaration.
1475         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
1476         _FP_STATIC_ASSERT instead of conditionally calling abort.
1477         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
1478         (_FP_EXTEND_CNAN): Likewise.
1479         (FP_TRUNC): Likewise.
1480         (__FP_CLZ): Likewise.
1481         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
1483 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
1485         * manual/string.texi (XPG basename): Fix prototype.
1487 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1489         [BZ #18080]
1490         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
1491         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1492         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
1493         (__setcontext): Likewise.
1494         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
1495         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
1496         Call rt_sigprocmask syscall one time to set new signal mask
1497         and retrieve the current signal mask instead of two calls.
1498         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
1499         (__swapcontext): Likewise.
1500         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
1501         * stdlib/tst-setcontext2.c: New file.
1503 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1505         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1507 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
1509         [BZ #18093]
1510         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
1511         the wrong size.
1513 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1515         [BZ #18043]
1516         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
1518 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1520         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
1521         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
1522         Remove define.
1523         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
1524         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
1525         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
1526         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
1527         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
1528         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
1529         define.
1530         * nptl_db/td_symbol_list.c (td_lookup): Remove
1531         HAVE_ASM_GLOBAL_DOT_NAME code.
1532         * sysdeps/powerpc/powerpc64/configure.ac: Remove
1533         HAVE_ASM_GLOBAL_DOT_NAME check.
1534         * sysdeps/powerpc/powerpc64/configure: Regenerate.
1535         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
1536         (DOT_LABEL): Remove define.
1537         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
1538         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
1539         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
1540         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
1541         (__TLS_GET_ADDR): Likewise.
1542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
1543         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
1545 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
1547         [BZ #18111]
1548         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
1549         (_FPU_SETCW): Initialize cw from fpsr before storing.
1550         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
1551         (fesetexceptflag): Rewrite using fpu_control.h.
1552         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
1554 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
1556         [BZ #18110]
1557         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
1558         asms.
1559         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1561 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
1563         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
1564         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
1565         abort.
1566         (_FP_FMA): Likewise.
1567         (_FP_DIV): Likewise.
1569 2015-03-10  Roland McGrath  <roland@hack.frob.com>
1571         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
1572         with 0 in that case.
1573         * Makefile (summarize-tests): New canned sequence, factored out of
1574         commands for targets tests and xtests.  Display summary lines that
1575         don't start with PASS: or XFAIL: rather than ones that do start with
1576         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
1577         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
1578         do start with ERROR: or FAIL:.
1579         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
1580         (except for [$(build-shared) = yes]).
1581         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
1582         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
1583         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
1584         * nptl/Makefile: Revert 2015-03-04 changes.
1585         [$(CXX) empty] (tests-unsupported): New variable.
1586         * debug/Makefile: Likewise.
1588         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
1589         gnulib file.  Replace __attribute with __attribute__ throughout.
1591 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
1593         * sysdeps/hppa/fpu/libm-test-ulps: Update.
1595 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
1597         [BZ #18104]
1598         * math/auto-libm-test-in: Add another test of pow.
1599         * math/auto-libm-test-out: Regenerated.
1601 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1603         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1604         $(config-cflags-nofma).
1606 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
1608         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1609         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1610         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1611         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1612         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1613         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1614         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1615         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1616         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1617         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1618         Add comment on closing #endif.
1620 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1622         * posix/wordexp.c (CHAR_IN_SET): New macro.
1623         (parse_param): Use it.
1625 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1627         * sysdeps/powerpc/fpu/libm-test-ulps: update.
1629 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1631         [BZ #18043]
1632         * posix/wordexp.c (parse_param): Fix buffer overflow.
1633         * posix/wordexp-test.c (test_case): Add test case.
1635 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1637         [BZ #18042]
1638         * posix/wordexp.c (parse_backtick): Fix off-by-one.
1639         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1641 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
1643         [BZ #18043]
1644         * posix/wordexp-test.c (test_case): Add test for BZ #18043
1645         (do_bz18043): Delete.
1646         (at_page_end): New.
1647         (testit): Refactor to have words at the edge of unreadable page.
1649 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
1651         [BZ #16734]
1652         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1653         Cleanup read-only streams as well.
1654         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1656 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1658         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1659         <bits/libc-lockP.h>
1661 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
1663         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
1664         on [__KERNEL__].
1665         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1666         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1667         * soft-fp/op-common.h (_FP_DECL): Likewise.
1669 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
1671         * elf/ifuncdep2.c (global): Replace
1672         __attribute__((visibility("protected"))) with
1673         asm (".protected global").
1674         * elf/ifuncmod1.c (global): Likewise.
1675         * elf/ifuncmod5.c (global): Likewise.
1677 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
1679         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1680         <asm/sfp-machine.h> instead of <sfp-machine.h>.
1682 2015-03-06  Roland McGrath  <roland@hack.frob.com>
1684         * manual/install.texi (Configuring and compiling):
1685         Document test-wrapper-env-only.
1686         * INSTALL: Regenerated.
1688 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1690         [BZ #18043]
1691         * posix/wordexp.c (parse_param): Fix buffer overflow.
1692         * posix/wordexp-test.c (do_bz18043): Add test case.
1694 2015-03-06  Vincent Bernat  <vincent@bernat.im>
1696         * time/tst-strptime2.c (do_test): Ensure failing tests are
1697         reported correctly.
1698         * time/tst-strptime3.c (do_test): Likewise.
1700 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
1702         Fix aio_error thread-safety.
1703         * sysdeps/pthread/aio_error.c: New file
1704         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1705         synchronization.
1707 2015-03-06  Florian Weimer  <fweimer@redhat.com>
1709         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1710         (group_number, vfprintf): Use it.
1711         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1712         (JUMP, REF): Use it.
1713         (WORK_BUFFER_SIZE): New enum constant.
1714         (process_arg, vfprintf): Use it.
1716 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
1718         * manual/errno.texi (Error Messages): Complete example function
1719         by adding missing #define.
1720         (program_invocation_name): Add statement indicating GNU
1721         extension and reference which header file declares the variable.
1722         (program_invocation_short_name): Likewise.
1724 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
1726         * manual/errno.texi (Error Messages): Delete strerror ISO C89
1727         compatibility note.
1729 2015-03-05  Roland McGrath  <roland@hack.frob.com>
1731         * Makeconfig (test-wrapper-env-only): New variable.
1732         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1733         then use that with $(test-wrapper-env-only) rather than using
1734         $(test-wrapper-env) $(run-program-env) $($*-ENV).
1736 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1738         [BZ #18082]
1739         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1740         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1741         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1742         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1743         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1744         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1745         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1746         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1747         Likewise.
1748         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1749         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1750         Likewise.
1751         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1752         Likewise.
1753         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1754         Likewise.
1755         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1756         Likewise.
1757         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1758         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1759         Likewise.
1760         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1761         Likewise.
1762         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1763         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1765 2015-03-04  Roland McGrath  <roland@hack.frob.com>
1767         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1768         (ETH_ALEN): New macro.
1769         (struct ether_addr): Use it for length of ether_addr_octet.
1771         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1772         (setdb): Don't call __nss_configure_lookup for "rpc".
1773         (do_test): Don't call test_rpc.
1774         (output_rpcent, test_rpc): Functions moved ...
1775         * sunrpc/test-rpcent.c: ... to this new file.
1776         * sunrpc/Makefile (tests): Add it.
1778         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1779         __xpg_sigpause.
1780         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1781         * nptl/tst-signal6.c: Likewise.
1782         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1783         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1785         * configure.ac (libc_cv_cxx_link_ok): New check.
1786         Reset CXX to empty if it fails to link.
1787         * configure: Regenerated.
1788         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1789         bug-atexit3-lib only if $(CXX) is nonempty.
1790         * nptl/Makefile (tests): Likewise for tst-cancel24.
1791         (tests, tests-static): Likewise for tst-cancel24-static.
1792         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1793         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
1794         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1795         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
1797 2015-03-04  Andreas Schwab  <schwab@suse.de>
1799         [BZ #17631]
1800         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1801         for non-GCC compilers.
1802         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1803         Likewise.
1805 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1807         [BZ #17776]
1808         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1809         integer before bitwise and assembly operations.
1810         (feclearexcept): Likewise.
1811         * math/test-fenvinline.c: New file.
1812         * math/Makefile: Add test-fenvinline test.
1814 2015-03-03  Alan Modra  <amodra@gmail.com>
1816         [BZ #16512]
1817         * scripts/localplt.awk: Strip off symbol version.
1818         * NEWS: Mention bug fix.
1820 2015-03-02  Roland McGrath  <roland@hack.frob.com>
1822         * sysdeps/pthread/timer_routines.c
1823         (timer_free_list, thread_free_list, thread_active_list): Make static.
1825 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
1827         [BZ #17779]
1828         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1829         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1830         Undefine.
1831         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1832         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1833         Likewise.
1834         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1835         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1836         Likewise.
1838 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
1840         [BZ #18036]
1841         * posix/fnmatch_loop.c (END): Detect invalid pattern.
1842         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1844 2015-03-02  Andreas Schwab  <schwab@suse.de>
1846         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1847         variable name.
1849 2015-03-02  Florian Weimer  <fweimer@redhat.com>
1851         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1852         Return error status.
1854 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
1856         [BZ #15969]
1857         * locale/findlocale.c (_nl_find_locale): Introduce const
1858         version of loc_name and drop unsafe type casts.
1860 2015-02-27  Roland McGrath  <roland@hack.frob.com>
1862         * dlfcn/tststatic2.c (main): Converted to ...
1863         (do_test): ... this.
1864         (TEST_FUNCTION): New macro.
1865         Include test-skeleton.c.
1867 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
1869         [BZ #17711]
1870         * elf/Makefile (tests): Add vismain only if PIE is enabled.
1871         (tests-pie): Add vismain.
1872         (CFLAGS-vismain.c): New.
1873         * elf/vismain.c: Add comments for PIE requirement.
1875 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
1877         [BZ #18046]
1878         [BZ #18047]
1879         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1880         0x1p-56L as threshold for just returning the argument.
1881         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1882         0x1p-32L as threshold for just returning the argument.
1883         * math/auto-libm-test-in: Add more tests of atanh.
1884         * math/auto-libm-test-out: Regenerated.
1885         * sysdeps/i386/fpu/libm-test-ulps: Update.
1886         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1888 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1890         * string/bcopy.c (bcopy): Call memmove for performance.
1892 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
1894         * string/bzero.c (__bzero): Call memset for performance.
1896 2015-02-27  John David Anglin  <dave.anglin@bell.net>
1898         [BZ #18068]
1899         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1900         to 00100000.
1902 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
1904         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1906 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1908         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1909         (__kernel_standard): Use CSTR macro when setting exc.name.
1910         * sysdeps/ieee754/Makefile [$(subdir) = math]
1911         (CFLAGS-k_standard.c): Remove variable.
1913         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1914         setting p and q from "else if" to "else".
1915         (qzero): Likewise.
1916         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1917         (qone): Likewise.
1918         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1919         (qzerof): Likewise.
1920         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1921         (qonef): Likewise.
1922         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1923         (qzero): Likewise.
1924         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1925         (qone): Likewise.
1927         [BZ #18038]
1928         [BZ #18039]
1929         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1930         return pi/2 for arguments below 0x1p-113L.
1931         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1932         return pi/2 for arguments below 0x1p-106L.
1933         * math/auto-libm-test-in: Add more tests of acos.
1934         * math/auto-libm-test-out: Regenerated.
1936         [BZ #16351]
1937         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1938         (MO): New macro.
1939         (__ieee754_asin): Force underflow exception for results with small
1940         absolute value.
1941         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1942         (MO): New macro.
1943         (__ieee754_asinf): Force underflow exception for results with
1944         small absolute value.
1945         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1946         (__ieee754_asin): Force underflow exception for results with small
1947         absolute value.
1948         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1949         (__ieee754_asinf): Force underflow exception for results with
1950         small absolute value.
1951         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1952         (__ieee754_asinl): Force underflow exception for results with
1953         small absolute value.
1954         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1955         (__ieee754_asinl): Force underflow exception for results with
1956         small absolute value.
1957         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1958         (__ieee754_asinl): Force underflow exception for results with
1959         small absolute value.
1960         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1961         Include <math.h>.
1962         * math/auto-libm-test-in: Do not mark underflow exceptions as
1963         possibly missing for bug 16351.
1964         * math/auto-libm-test-out: Regenerated.
1966         [BZ #18030]
1967         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1968         of power of 2 down when low part has opposite sign.
1969         * math/libm-test.inc (logb_test_data): Add more tests.
1971 2015-02-26  Andreas Schwab  <schwab@suse.de>
1973         [BZ #18032]
1974         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1975         over collating symbol inside a bracket expression.  Minor cleanup.
1976         * posix/tst-fnmatch3.c (do_test): Add test case.
1978 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
1980         [BZ #18029]
1981         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1982         Adjust exponent of power of 2 down when low part has opposite
1983         sign.
1984         * math/libm-test.inc (ilogb_test_data): Add more tests.
1986 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
1988         [BZ #15969]
1989         * locale/findlocale.c (_nl_find_locale): Fix constness error in
1990         the previous change.
1992         [BZ #15969]
1993         * locale/findlocale.c (_nl_find_locale): Retry archive search
1994         after alias expansion.
1996 2015-02-25  Roland McGrath  <roland@hack.frob.com>
1998         * iconv/tst-iconv3.c (main): Converted to ...
1999         (do_test): ... this.
2000         (TEST_FUNCTION): New macro.
2001         Include test-skeleton.c.
2003         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2004         (convert): Make function static.
2005         (test_unalign): Likewise.  Add const to argument pointee types.
2006         (main): Replace with static function do_test.
2007         Print "Succeeded." only if RET is zero.
2008         (TEST_FUNCTION): New macro.
2009         Include test-skeleton.c.
2011         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2012         returns a null pointer.
2014 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2016         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2017         to __memcpy_ppc only for static builds.
2019 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
2021         [BZ #18020]
2022         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2023         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2024         * math/auto-libm-test-in: Add more tests of asinh.
2025         * math/auto-libm-test-out: Regenerated.
2026         * sysdeps/i386/fpu/libm-test-ulps: Update.
2027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2029 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
2031         [BZ #15850]
2032         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2033         and ip6_mtuinfo definitions here.
2034         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2035         in this define too.  Update comment.
2037 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
2039         * elf/sprof.c (load_shobj): Tweak error message to match others.
2041 2015-02-24  Kevin Easton  <kevin@guarana.org>
2043         [BZ #16145] (partial fix)
2044         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2045         to reduce lock contention.
2047 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
2049         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2050         (struct timex): Update time comment.
2051         (ADJ_SETOFFSET): Define.
2053 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
2055         [BZ #18019]
2056         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2057         2**56 not 2**28 as threshold for log (2x) formula.
2058         * math/auto-libm-test-in: Add more tests of acosh.
2059         * math/auto-libm-test-out: Regenerated.
2060         * sysdeps/i386/fpu/libm-test-ulps: Update.
2061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2063 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
2065         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2066         parenthesis around the buf assignment.
2067         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2069 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
2071         [BZ #16783]
2072         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2073         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2074         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2075         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2076         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2077         * math/libm-test.inc (scalb_test_data): Add more tests.
2079 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2081         [BZ #17916]
2082         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2083         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
2085 2015-02-24  Eric Rannaud  <e@nanocritical.com>
2087         [BZ #17523]
2088         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
2089         * io/bits/fcntl2.h (open): Use it.
2090         (openat): Likewise.
2091         * io/open.c (__libc_open): Likewise.
2092         * io/open64.c (__libc_open64): Likewise.
2093         * io/open64_2.c (__open64_2): Likewise.
2094         * io/open_2.c (__open_2): Likewise.
2095         * io/openat.c (__openat): Likewise.
2096         * io/openat64.c (__openat64): Likewise.
2097         * io/openat64_2.c (__openat64_2): Likewise.
2098         * io/openat_2.c (__openat_2): Likewise.
2099         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
2100         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
2101         * sysdeps/posix/open64.c (__libc_open64): Likewise.
2102         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2103         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2104         (__open_nocancel): Likewise.
2105         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2106         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2107         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
2109 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2111         [BZ #14841]
2112         * resolv/gethnamaddr.c (getanswer): Skip logging if
2113         RES_USE_DNSSEC is set.
2114         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2116 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
2118         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
2120 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
2122         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2123         201304L, for Unicode 7.
2125 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
2127         [BZ #17836]
2128         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
2129         shared library.  Add gmon-start.os otherwise.
2130         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
2131         $(objpfx)gmon-start.os if builing shared library.
2132         ($(objpfx)g$(static-start-installed-name)): Likewise.
2134 2015-02-23  Andreas Schwab  <schwab@suse.de>
2136         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
2138 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
2140         [BZ #17269]
2141         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
2142         (enlarge_userbuf): Likewise.
2144 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
2146         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
2147         * math/atest-exp.c (TIMEOUT): Adjust to 200.
2148         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
2149         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
2151 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
2153         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
2154         expression inside statement expression.
2156 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2158         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
2159         <sysdeps/nptl/lowlevellock.h> and remove macros and
2160         functions that are now defined there.
2161         (SYS_futex): Remove.
2162         (lll_compare_and_swap): Remove.
2163         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
2165 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
2167         [BZ #17999]
2168         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
2169         instead of scandirat.
2170         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
2171         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
2172         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
2173         __scandirat.
2174         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
2175         (__scandirat): Declare.  Use libc_hidden_proto.
2176         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
2177         Remove variable.
2178         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2180 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2182         [BZ #15319]
2183         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
2184         (MO): New macro.
2185         (__ieee754_atan2): For results with small absolute value, force
2186         underflow exception and remove excess range and precision from
2187         return value.
2188         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
2189         (MO): New macro.
2190         (__ieee754_atan2f): For results with small absolute value, force
2191         underflow exception and remove excess range and precision from
2192         return value.
2193         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
2194         (MO): New macro.
2195         (__atan): For results with small absolute value, force underflow
2196         exception and remove excess range and precision from return value.
2197         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
2198         (MO): New macro.
2199         (__atanf): For results with small absolute value, force underflow
2200         exception and remove excess range and precision from return value.
2201         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
2202         <math.h>.
2203         (__ieee754_atan2): Force underflow exception for results with
2204         small absolute value.
2205         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
2206         <math_private.h>.
2207         (atan): Force underflow exception for results with small absolute
2208         value.
2209         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
2210         (__atanf): Force underflow exception for results with small
2211         absolute value.
2212         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
2213         <math.h>.
2214         (__atanl): Force underflow exception for results with small
2215         absolute value.
2216         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
2217         (__atanl): Force underflow exception for results with small
2218         absolute value.
2219         * sysdeps/x86/fpu/bits/mathinline.h
2220         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
2221         (__ieee754_atan2): Only define inline for long double.
2222         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
2223         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
2224         * math/auto-libm-test-in: Do not mark underflow exceptions as
2225         possibly missing for bug 15319.  Add more tests of atan2.
2226         * math/auto-libm-test-out: Regenerated.
2227         * math/libm-test.inc (casin_test_data): Do not mark underflow
2228         exceptions as possibly missing for bug 15319.
2229         (casinh_test_data): Likewise.
2230         * sysdeps/i386/fpu/libm-test-ulps: Update.
2232 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
2234         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
2235         * sysdeps/mips/bits/endian.h: Fix comments.
2237 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
2239         [BZ #17996]
2240         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
2241         (hdestroy_r): Likewise.
2242         (hsearch_r): Likewise.
2243         (__hcreate_r): Declare and use libc_hidden_proto.
2244         (__hdestroy_r): Likewise.
2245         (__hsearch_r): Likewise.
2246         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
2247         (hcreate): Call __hcreate_r instead of hcreate_r.
2248         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
2249         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
2250         as weak alias of __hcreate_r.
2251         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
2252         __hdestroy_r.
2253         (hsearch_r): Rename to __hsearch_r and define as weak alias of
2254         __hsearch_r.
2255         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
2256         Remove variable.
2257         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2258         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2259         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2260         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2262 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2264         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
2265         arena_lock into a single arena_get.
2267 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
2269         * dl-reloc.c: Inlucde libc-internal.h.
2270         (_dl_try_allocate_static_tls): Call ALIGN_UP.
2271         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
2272         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
2273         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
2274         (grow_heap): Likewise.
2275         * malloc/malloc.c: Include libc-internal.h.
2276         (do_check_malloc): Call powerof2.
2277         (sysmalloc): Use pagesize. Call ALIGN_UP.
2278         (systrim): Use pagesize.
2279         (mremap_chunk): Use pagesize. Call ALIGN_UP.
2280         (__libc_valloc): Use pagesize.
2281         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
2283 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2285         [BZ #17991]
2286         * include/sys/resource.h (__getrlimit64): Declare.  Use
2287         libc_hidden_proto.
2288         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
2289         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
2290         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
2291         getrlimit64.
2292         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
2293         __getrlimit64.
2294         [!getrlimit64] (getrlimit64): Define as weak alias of
2295         __getrlimit64.  Use libc_hidden_weak.
2296         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
2297         using __getrlimit64 not __new_getrlimit64.
2298         (__GI_getrlimit64): Likewise.
2299         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
2300         Likewise.
2301         (__GI_getrlimit64): Likewise.
2302         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
2303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
2304         (getrlimit): Add __getrlimit64 alias.
2305         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
2306         Likewise.
2307         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
2308         Remove variable.
2309         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2310         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2312 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
2314         * libio/fileops.c: Add missing sys/mman.h
2315         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
2317 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
2319         * manual/math.texi (Errors in Math Functions): Clarify goals
2320         regarding inexact and underflow exceptions.
2322 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2324         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
2325         * sysdeps/mips/memset.S: Ditto.
2327 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
2329         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
2331 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2333         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
2334         (__v1longjmp): Remove versioned symbol.
2335         (__v1siglongjmp): Remove alias and versioned symbol.
2336         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
2337         (__v2siglongjmp): Likewise.
2339 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2341         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
2343 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
2345         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
2347 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2349         [BZ #17987]
2350         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
2351         zero result does not depend on the sign resulting from
2352         subtraction.
2353         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2354         Likewise.
2355         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2356         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2357         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2358         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2359         * math/libm-test.inc (remquo_test_data): Add more tests.
2361 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
2363         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
2364         Problem reported by J William Piggott.
2366 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
2368         [BZ #17978]
2369         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
2370         products 4 * y and 2 * y where those would overflow.
2371         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2372         Likewise.
2373         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
2374         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
2375         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2376         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
2377         * math/libm-test.inc (remquo_test_data): Add more tests.
2379         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
2381         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
2382         [defined _COMPILING_NEWLIB].
2383         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
2384         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
2386         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
2387         [!defined __mips_isa_rev || __mips_isa_rev < 6].
2389 2015-02-16  Torvald Riegel  <triegel@redhat.com>
2391         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
2392         acquired.
2394 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
2396         [BZ #17792]
2397         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
2398         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
2399         HOST_STACK_END_ADDR): Likewise.
2401 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
2403         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
2404         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
2405         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
2407 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2409         * sysdeps/generic/c++-types.data: New file.
2410         * sysdeps/generic/ld.abilist: New file.
2411         * sysdeps/generic/libBrokenLocale.abilist: New file.
2412         * sysdeps/generic/libanl.abilist: New file.
2413         * sysdeps/generic/libc.abilist: New file.
2414         * sysdeps/generic/libcrypt.abilist: New file.
2415         * sysdeps/generic/libdl.abilist: New file.
2416         * sysdeps/generic/libm.abilist: New file.
2417         * sysdeps/generic/libpthread.abilist: New file.
2418         * sysdeps/generic/libresolv.abilist: New file.
2419         * sysdeps/generic/librt.abilist: New file.
2421 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2423         [BZ #17569]
2424         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
2425         Compute absolute value of x as modified by fmod, not original
2426         value of x.
2427         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
2428         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
2429         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
2430         RUN_TEST_ffI_f1_mod8.
2431         (remquo_test_data): Add more tests.
2433 2015-02-13  Roland McGrath  <roland@hack.frob.com>
2435         * sysdeps/init_array/pt-crti.S: New file.
2437 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
2439         [BZ #17967]
2440         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
2441         __builtin_fmaf instead of relying on contraction of a * b + c.
2443 2015-02-12  J William Piggott  <elseifthen@gmx.com>
2445         [BZ #17969]
2446         * manual/time.texi: correct the zoneinfo path in the TZ Variable
2447         node.
2449 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2451         [BZ #17964]
2452         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
2453         __builtin_fma instead of relying on contraction of a * b + c.
2455 2015-02-12  Roland McGrath  <roland@hack.frob.com>
2457         * Makeconfig (ASFLAGS): Add -Werror=undef.
2458         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
2459         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
2460         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
2462         * Makeconfig (after-link): New variable.
2463         (+link-pie, +link-pie-tests): Use it.
2464         (+link-static, +link-static-tests): Likewise.
2465         (+link, +link-tests): Likewise.
2466         * Makerules (build-module, build-module-asneeded): Likewise.
2467         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
2468         Likewise.
2469         * elf/Makefile ($(objpfx)ld.so): Likewise.
2471 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
2473         [BZ #17965]
2474         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
2475         both struct timeval and struct timespec.
2477 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
2479         [BZ #16560]
2480         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
2481         and redefine.
2482         (__ieee754_exp2l): Do not multiply small fractional parts by
2483         M_LN2l.
2484         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
2485         small argument.
2486         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2487         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2488         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
2489         * math/auto-libm-test-in: Add more tests of exp2.
2490         * math/auto-libm-test-out: Regenerated.
2492 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2494         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
2495         unaligned path.
2497 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2499         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
2500         little endian.
2502 2015-02-12  Andreas Schwab  <schwab@suse.de>
2504         [BZ #15790]
2505         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
2506         Filter out elision flags from value returned in kind.
2507         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
2508         * nptl/tst-pthread-mutexattr.c: New file.
2510 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2512         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
2513         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
2514         into gnu-gnu, and update comment to refer to abi-tags.
2516 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
2518         [BZ #15467]
2519         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
2520         (__sincos): Set errno to EDOM for infinite argument.
2521         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
2522         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
2523         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
2524         (__sincosl): Set errno to EDOM for infinite argument.
2525         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
2526         (__sincosl): Set errno to EDOM for infinite argument.
2527         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
2528         (__sincosl): Set errno to EDOM for infinite argument.
2529         * math/libm-test.inc (sincos_test_data): Test errno setting.
2531 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
2533         * string/strxfrm_l.c: Remove #define STRCMP.
2534         * string/strcoll_l.c: Remove #define STRLEN.
2535         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
2536         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
2538 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
2540         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
2541         * sysdeps/mips/mips32/sfp-machine.h: ... here.
2542         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
2543         * sysdeps/mips/mips64/Makefile: ... here.
2544         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
2545         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
2546         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
2547         * sysdeps/mips/mips64/sfp-machine.h: ... here.
2548         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
2549         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
2550         * sysdeps/mips/mips64/n64/Implies: Likewise.
2552 2015-02-10  Roland McGrath  <roland@hack.frob.com>
2554         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
2555         <sys/time.h>, <string.h>, and <errno.h>.
2556         (dest_offset, dest_address, value, zero): Remove unused variables.
2557         (ldouble): Remove typedef.
2558         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
2559         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
2560         1).  Fix code style.
2561         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
2562         (check): Function removed.
2563         (CHECK): New macro.
2564         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
2565         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
2566         Don't call set_sigaction_FP and remove_sigaction_FP here.
2567         (ldouble_test): Just use 'long double' as macro argument, no need for
2568         the 'ldouble' typedef.
2569         (do_test): Set up SIGFPE handler at start, using plain signal rather
2570         than sigaction.  Fix code style.
2572 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
2574         [BZ #17949]
2575         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
2576         jump label.
2578 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2580         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
2581         * sysdeps/powerpc/powerpc32/configure: Regenerated.
2583         * sysdeps/powerpc/configure.ac: Remove file.
2584         * sysdeps/powerpc/configure: Likewise.
2586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2587         [sysdep_routines]: Remove wordcopy-power6 object.
2588         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2589         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
2590         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
2591         (__memmove_ppc32): Likewise.
2592         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
2593         file.
2594         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
2595         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
2596         Remove preprocessor.
2598         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2599         [sysdep_routines]: Remove wide chars objects.
2600         [wcsmbs]: New rule for wide char objects.
2602         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2603         Remove wordcopy-power6 obejct.
2604         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2605         Use local call for wordcopy and memcpy symbols.
2606         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2607         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2608         implementation for loader.
2609         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2611         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2612         Remove wordcopy-power7 object.
2613         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2614         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2615         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2616         (_wordcopy_fwd_dest_aligned): Likewise.
2617         (_wordcopy_bwd_aligned): Likewise.
2618         (_wordcopy_bwd_dest_aligned): Likewise.
2620         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2621         Rewrite to call __memmove_ppc instead of include default
2622         implementation.
2624         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2625         Remove wide chars objects.
2626         [wcsmbs]: New rule for wide char objects.
2628 2015-02-09  Andreas Schwab  <schwab@suse.de>
2630         [BZ #17912]
2631         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2632         in terms of __O_DIRECTORY.
2634 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2636         * time/getdate.c: Include <stdbool.h>.
2637         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2638         call PTR_MANGLE.
2639         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2640         PTR_DEMANGLE.
2642 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
2644         Add ersatz _Static_assert on older C hosts
2645         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2646         pre-C11 C platform that is not known to support _Static_assert.
2648 2015-02-07  Richard Braun  <rbraun@sceen.net>
2650         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2651         sigstate.
2652         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
2654 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2656         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2657         priority against unexistent AIO_PRIO_DELTA_MAX.
2658         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2659         instead of int.
2660         * misc/fchflags.c (fchflags): Likewise.
2661         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2662         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2663         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2664         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2665         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2666         Declare macros.
2667         [__USE_MISC] (chflags, fchflags): Declare functions.
2668         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2669         EINVAL when nfds is greater than FD_SETSIZE.
2670         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2671         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2672         45.
2673         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2674         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
2675         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2676         MACH_RCV_TIMED_OUT.
2677         * hurd/hurd/signal.h (_hurd_self_sigstate,
2678         _hurd_critical_section_lock, _hurd_critical_section_unlock):
2679         Explicit casts from void *.
2680         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
2681         * abi-tags: Rename gnu-gnu os into gnu.
2683         [BZ #4719]
2684         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2685         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2686         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2687         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2688         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2689         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2691         [BZ #17944]
2692         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2693         duplicates ADDR->sun_path with sockaddr LEN limitation.
2694         * sysdeps/mach/hurd/connect.c: Include <string.h>
2695         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2696         * sysdeps/mach/hurd/sendmsg.c: Likewise.
2697         * sysdeps/mach/hurd/sendto.c: Likewise.
2698         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2699         implementing it by hand.
2701 2015-02-06  Roland McGrath  <roland@hack.frob.com>
2703         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2704         Use sfi_breg on ldr.
2705         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2706         Likewise.
2708         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2709         it's defined.
2710         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2711         Test SIGSETXID only if it's defined.
2713         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2715         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2716         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
2718         * nptl/tst-align2.c: Moved ...
2719         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2720         * nptl/Makefile (tests): Remove tst-align2.
2721         * sysdeps/unix/sysv/linux/Makefile
2722         [$(subdir) = nptl] (tests): Add tst-align-clone.
2723         * nptl/tst-getpid1.c: Moved ...
2724         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2725         * nptl/tst-getpid2.c: Moved ...
2726         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2727         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2728         * sysdeps/unix/sysv/linux/Makefile
2729         [$(subdir) = nptl] (tests): ... here.
2730         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2731         * sysdeps/unix/sysv/linux/Makefile
2732         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2734         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2735         Drop trailing \n from perror argument.  Use return rather than exit.
2737         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2738         on [SA_SIGINFO].
2739         * nptl/tst-cancel21.c (do_test): Likewise.
2740         * debug/tst-backtrace6.c: Include <signal.h> first thing.
2741         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2742         [!SA_SIGINFO]: Make it a stub test.
2744         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2745         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2747         * posix/tst-getlogin.c: Move to ...
2748         * login/tst-getlogin.c: ... here.
2749         * posix/Makefile (tests): Move tst-getlogin to ...
2750         * login/Makefile (tests): ... here.
2752         * libio/tst-atime.c (do_test): Move local variables SV and E
2753         inside [ST_NOATIME] conditional.
2755         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2757         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2759         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2760         (wait_code): New function replaces macro.
2761         Call nanosleep rather than syscall.
2763         * nptl/pt-system.c: Rewritten.  Put everything under
2764         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2765         Use IFUNC to redirect when possible.
2767         * nptl/pt-longjmp.c: Rewritten.  Put everything under
2768         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2769         Use IFUNC to redirect when possible.
2771         * nptl/pt-fork.c: Rewritten.  Put everything under
2772         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2773         Use IFUNC to redirect when possible.
2774         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2776         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2777         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2778         unconditionally nowadays.  This included the only reference to
2779         __vdso_clock_gettime that appears outside libc proper.
2780         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2781         Remove version set (containing only __vdso_clock_gettime).
2782         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2783         Add attribute_hidden.
2784         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2785         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2786         libc_hidden_data_def.
2787         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2788         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2790         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2791         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2792         setrpcent, and getrpcport to ...
2793         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2794         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2795         getrpcbynumber_r, and getrpcent_r to ...
2796         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2797         * inet/getrpcbyname.c: Moved ...
2798         * sunrpc/getrpcbyname.c: ... here.
2799         * inet/getrpcbyname_r.c: Moved ...
2800         * sunrpc/getrpcbyname_r.c: ... here.
2801         * inet/getrpcbynumber.c: Moved ...
2802         * sunrpc/getrpcbynumber.c: ... here.
2803         * inet/getrpcbynumber_r.c: Moved ...
2804         * sunrpc/getrpcbynumber_r.c: ... here.
2805         * inet/getrpcent.c: Moved ...
2806         * sunrpc/getrpcent.c: ... here.
2807         * inet/getrpcent_r.c: Moved ...
2808         * sunrpc/getrpcent_r.c: ... here.
2809         * inet/Makefile (routines): Move those to ...
2810         * sunrpc/Makefile (routines): ... here.
2811         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2812         the $(subdirs) list.
2813         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
2814         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2815         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2816         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2818         * elf/Makefile (routines): Include $(all-dl-routines), not just
2819         $(dl-routines).
2820         (rtld-routines): Likewise.  Use = rather than :=.
2821         * sysdeps/aarch64/Makefile [$(subdir) = elf]
2822         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2823         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2824         * sysdeps/arm/Makefile: Likewise.
2825         * sysdeps/i386/Makefile: Likewise.
2826         * sysdeps/x86_64/Makefile: Likewise.
2827         * sysdeps/hppa/Makefile [$(subdir) = elf]
2828         (sysdep_routines, sysdep-rtld-routines): Don't add
2829         $(sysdep-dl-routines) to these.
2830         * sysdeps/ia64/Makefile: Likewise.
2831         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2832         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2833         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2834         Don't add dl-static to these; sysdep-dl-routines alone is enough.
2835         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2836         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2837         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2838         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2839         * sysdeps/powerpc/Makefile [$(subdir) = elf]
2840         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2841         these; sysdep-dl-routines alone is enough.
2843 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
2845         [BZ #17932]
2846         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2847         where multiplication results in zero and third argument is finite
2848         and nonzero.
2849         * math/auto-libm-test-in: Add more tests of fma.
2850         * math/auto-libm-test-out: Regenerated.
2852         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2853         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2854         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2855         (_FP_CMP_EQ): Likewise.
2856         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2858         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2859         extra argument CHECK_NAN.  Redefine as wrapper around
2860         _FP_EXTEND_CNAN.
2862 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
2864         * version.h (RELEASE): Set to "stable".
2865         (VERSION): Set to "2.21"
2866         * include/features.h (__GLIBC_MINOR__): Set to 21.
2868         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2870 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2871             Paul Eggert  <eggert@cs.ucla.edu>
2873         [BZ #16618]
2874         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2875         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2876         size in bytes. Store needed elements in wpmax. Use needed size
2877         in bytes for extend_alloca.
2879 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
2881         * manual/install.texi: Latest tested versions are GCC 4.9.2,
2882         binutls 2.25, and texinfo 5.2.
2883         * INSTALL: Regenerate.
2884         * sysdeps/nios2/configure: Regenerate.
2885         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2886         * manual/contrib.texi: Update.
2887         * po/be.po: Update.
2888         * po/bg.po: Update.
2889         * po/ca.po: Update.
2890         * po/cs.po: Update.
2891         * po/da.po: Update.
2892         * po/de.po: Update.
2893         * po/el.po: Update.
2894         * po/eo.po: Update.
2895         * po/es.po: Update.
2896         * po/fi.po: Update.
2897         * po/fr.po: Update.
2898         * po/gl.po: Update.
2899         * po/hr.po: Update.
2900         * po/hu.po: Update.
2901         * po/ia.po: Update.
2902         * po/id.po: Update.
2903         * po/it.po: Update.
2904         * po/ja.po: Update.
2905         * po/ko.po: Update.
2906         * po/lt.po: Update.
2907         * po/nb.po: Update.
2908         * po/nl.po: Update.
2909         * po/pl.po: Update.
2910         * po/pt_BR.po: Update.
2911         * po/ru.po: Update.
2912         * po/rw.po: Update.
2913         * po/sk.po: Update.
2914         * po/sl.po: Update.
2915         * po/sv.po: Update.
2916         * po/tr.po: Update.
2917         * po/uk.po: Update.
2918         * po/vi.po: Update.
2919         * po/zh_CN.po: Update.
2920         * po/zh_TW.po: Update.
2922         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2923         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2924         * sysdeps/hppa/dl-irel.h: Remove #warning.
2925         * sysdeps/hppa/entry.h: Provide prototype for
2926         __canonicalize_funcptr_for_compare and cast argument.
2927         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2928         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2929         * sysdeps/hppa/sotruss-lib.c: New file.
2930         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2931         (atomic_compare_and_exchange_val_acq): Use __typeof__.
2932         (atomic_compare_and_exchange_bool_acq): Likewise.
2933         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2934         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2936         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2937         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2938         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2940 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
2942         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2943         called function in non-PIC case.
2945 2015-01-31  David S. Miller  <davem@davemloft.net>
2947         * sysdeps/sparc/sparc32/bits/atomic.h
2948         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2949         unlock not after it.
2950         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2951         volatile register usage warnings from the compiler.
2953         * sysdeps/sparc/nptl/sem_init.c: Delete.
2954         * sysdeps/sparc/nptl/sem_post.c: Delete.
2955         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2956         * sysdeps/sparc/nptl/sem_wait.c: Delete.
2957         * sysdeps/sparc/sparc32/sem_init.c: New file.
2958         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2959         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2960         padding explicitly initialized.
2961         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2962         padding for in-semaphore spinlock.
2963         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2964         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2965         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2966         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2967         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2968         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2969         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2970         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2971         version.
2972         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2973         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2975 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2977         [BZ #17801]
2978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2979         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2980         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2981         New.
2982         (index_AVX_Fast_Unaligned_Load): Likewise.
2983         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2984         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2985         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2986         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2987         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2988         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2989         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2990         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2991         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2993 2015-01-29  Andreas Schwab  <schwab@suse.de>
2995         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2997 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
2999         [BZ #17892]
3000         * nscd/nscd_stat.c (send_stats): Initialize DATA.
3002 2015-01-28  Martin Sebor  <msebor@redhat.com>
3004         * math/README.libm-test: Clarify. Add "How to read the test output."
3006 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
3008         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3009         Define to 0.
3011 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
3013         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3014         (__HAVE_64B_ATOMICS): Define to 0.
3016 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3018         [BZ #17885]
3019         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3020         value to set as new flag.
3022         [BZ #16576]
3023         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3024         and use _ARCH_PPCSQ instead.
3025         (__ieee754_sqrt): Likewise.
3026         (__ieee754_sqrtf): Likewise.
3027         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3028         _ARCH_PPCSQ is defined.
3029         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3030         fsqrt instruction.
3031         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3032         _ARCH_PPCSQ is defined.
3033         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3034         fsqrts instruction.
3035         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3037 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3039         * iconv/loop.c: Suppress array out of bound warning caused by GCC
3040         bug (GCC BZ #64739).
3042 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
3044         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3045         Mark _retval as used.
3046         (lll_futex_wake_unlock): Likewise.
3047         (lll_futex_timed_wait_requeue_pi): Likewise.
3049         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3050         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3051         register variables.
3053         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3054         libm_hidden_def.
3056         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3057         (__bswap_64): Mark as __always_inline.
3059 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
3061         [BZ #15378]
3062         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3063         when none of the search directories exist.
3065 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3067         [BZ #17869]
3068         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3069         power8 in .machine directive.
3071         [BZ #17868]
3072         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3073         set dependency from opd value.
3075 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
3077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3078         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3079         architecture.
3081 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
3083         [BZ #17870]
3084         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
3085         with uint64_t.
3086         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
3087         (uint64_t) 1.
3088         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
3089         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
3090         Replace 1UL with (uint64_t) 1.
3091         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
3092         int with uint64_t.
3094 2015-01-23  Roland McGrath  <roland@hack.frob.com>
3096         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
3097         (if_freenameindex): Likewise.
3099         * resource/getrlimit64.c: Add missing libc_hidden_def.
3101 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
3103         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
3104         __label__.
3105         (_FP_FMA): Likewise.
3106         (_FP_TO_INT_ROUND): Likewise.
3107         (_FP_FROM_INT): Likewise.
3109 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3111         [BZ #16418]
3112         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3113         Make code racy and cancel safe.
3115 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
3117         * sysdeps/arm/unwind-resume.h: Fix copyright year.
3118         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
3119         attribution.
3121         * pwd/tst-getpw.c: Rewrite.
3123         [BZ #17702]
3124         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
3125         (modules-names): Add moddummy1 and moddummy2.
3126         ($(objpfx)tst-rec-dlopen): Define.
3127         * dlfcn/moddummy1.c: New file.
3128         * dlfcn/moddummy2.c: New file.
3129         * dlfcn/tst-rec-dlopen.c: New file.
3130         * elf/dl-cache.c (_dl_load_cache_lookup):
3131         Return char*. Copy result with alloca/strcpy/strdup.
3132         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
3133         returns char*. Free cached. If not saving realname
3134         free cached.
3135         * elf/dl-open.c (dl_open_worker): Do not assert that
3136         _r_debug->r_state is RT_CONSISTENT.
3137         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
3138         returns char*.
3140 2015-01-21  Torvald Riegel  <triegel@redhat.com>
3141             Carlos O'Donell  <carlos@redhat.com>
3143         [BZ #12674]
3144         * nptl/sem_waitcommon.c: New file.
3145         * nptl/sem_wait.c: Include sem_waitcommon.c.
3146         (__sem_wait_cleanup, do_futex_wait): Remove.
3147         (__new_sem_wait): Adapt.
3148         (__new_sem_trywait): New function.
3149         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
3150         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
3151         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
3152         (sem_timedwait): Adapt.
3153         * nptl/sem_post.c (__new_sem_post): Adapt.
3154         (futex_wake): New function.
3155         (__old_sem_post): Add release MO fence.
3156         * nptl/sem_open.c (sem_open): Adapt.
3157         * nptl/sem_init.c (__new_sem_init): Adapt.
3158         (futex_private_if_supported): New function.
3159         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
3160         (__old_sem_getvalue): Add using previous code.
3161         * sysdeps/nptl/internaltypes.h: Adapt.
3162         * nptl/tst-sem13.c (do_test): Adapt.
3163         * nptl/tst-sem11.c (main): Adapt.
3164         * nptl/sem_trywait.c: Remove.
3165         * nptl/DESIGN-sem.txt: Remove.
3166         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
3167         (gen-as-const-headers): Remove structsem.sym.
3168         * nptl/structsem.sym: Remove.
3169         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
3170         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
3171         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
3172         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
3173         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
3174         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
3175         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
3176         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
3177         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
3178         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
3179         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
3180         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
3181         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
3182         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
3183         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
3184         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
3185         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
3186         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
3187         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
3188         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
3189         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
3190         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
3192 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
3194         * INSTALL: Regenerated.
3196         * po/libc.pot: Regenerated.
3198 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
3199             Sandra Loosemore  <sandra@codesourcery.com>
3200             Andrew Jenner  <andrew@codesourcery.com>
3201             Joseph Myers  <joseph@codesourcery.com>
3202             Nathan Sidwell  <nathan@codesourcery.com>
3204         * NEWS: Mention new Nios II port.
3205         * sysdeps/nios2/Implies: New file.
3206         * sysdeps/nios2/Makefile: New file.
3207         * sysdeps/nios2/Subdirs: New file.
3208         * sysdeps/nios2/Versions: New file.
3209         * sysdeps/nios2/__longjmp.S: New file.
3210         * sysdeps/nios2/abort-instr.h: New file.
3211         * sysdeps/nios2/backtrace.c: New file.
3212         * sysdeps/nios2/bits/endian.h: New file.
3213         * sysdeps/nios2/bits/fenv.h: New file.
3214         * sysdeps/nios2/bits/link.h: New file.
3215         * sysdeps/nios2/bits/setjmp.h: New file.
3216         * sysdeps/nios2/bsd-_setjmp.S: New file.
3217         * sysdeps/nios2/bsd-setjmp.S: New file.
3218         * sysdeps/nios2/configure: New generated file.
3219         * sysdeps/nios2/configure.ac: New file.
3220         * sysdeps/nios2/crti.S: New file.
3221         * sysdeps/nios2/crtn.S: New file.
3222         * sysdeps/nios2/dl-init.c: New file.
3223         * sysdeps/nios2/dl-machine.h: New file.
3224         * sysdeps/nios2/dl-sysdep.h: New file.
3225         * sysdeps/nios2/dl-tls.h: New file.
3226         * sysdeps/nios2/dl-trampoline.S: New file.
3227         * sysdeps/nios2/gccframe.h: New file.
3228         * sysdeps/nios2/gmp-mparam.h: New file.
3229         * sysdeps/nios2/jmpbuf-offsets.h: New file.
3230         * sysdeps/nios2/jmpbuf-unwind.h: New file.
3231         * sysdeps/nios2/ldsodefs.h: New file.
3232         * sysdeps/nios2/libc-tls.c: New file.
3233         * sysdeps/nios2/libm-test-ulps: New file.
3234         * sysdeps/nios2/machine-gmon.h: New file.
3235         * sysdeps/nios2/math-tests.h: New file.
3236         * sysdeps/nios2/math_private.h: New file.
3237         * sysdeps/nios2/memusage.h: New file.
3238         * sysdeps/nios2/nptl/Makefile: New file.
3239         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
3240         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
3241         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
3242         * sysdeps/nios2/nptl/pthreaddef.h: New file.
3243         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
3244         * sysdeps/nios2/nptl/tls.h: New file.
3245         * sysdeps/nios2/preconfigure: New file.
3246         * sysdeps/nios2/s_fma.c: New file.
3247         * sysdeps/nios2/s_fmaf.c: New file.
3248         * sysdeps/nios2/setjmp.S: New file.
3249         * sysdeps/nios2/sfp-machine.h: New file.
3250         * sysdeps/nios2/sotruss-lib.c: New file.
3251         * sysdeps/nios2/stackguard-macros.h: New file.
3252         * sysdeps/nios2/stackinfo.h: New file.
3253         * sysdeps/nios2/start.S: New file.
3254         * sysdeps/nios2/sysdep.h: New file.
3255         * sysdeps/nios2/tls-macros.h: New file.
3256         * sysdeps/nios2/tst-audit.h: New file.
3257         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
3258         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
3259         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
3260         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
3261         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
3262         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
3263         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
3264         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
3265         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
3266         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
3267         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
3268         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
3269         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
3270         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
3271         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
3272         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
3273         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
3274         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
3275         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
3276         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
3277         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
3278         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
3279         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
3280         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
3281         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
3282         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
3283         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
3284         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
3285         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
3286         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
3287         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
3288         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
3289         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
3290         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
3291         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
3292         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
3293         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
3294         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
3295         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
3296         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
3297         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
3298         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
3299         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
3300         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
3302 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3304         [BZ #17844]
3305         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
3306         (getutent): Use weak_alias in non SHARED case
3307         and default_symbol_version in SHARED case.
3308         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
3309         (getutent_r, pututline): Likewise.
3310         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
3311         (getutid): Likewise.
3312         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
3313         (getutid_r): Likewise.
3314         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
3315         (getutline): Likewise.
3316         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
3317         (getutline_r): Likewise.
3318         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
3319         (updwtmp): Likewise.
3321 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3323         [BZ #17848]
3324         * sysdeps/s390/s390-32/memcmp.S
3325         (memcmp_g5): Rename to __memcmp_g5.
3326         * sysdeps/s390/s390-32/memcpy.S
3327         (memcpy_g5): Rename to __memcpy_g5.
3328         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3329         (memcpy_mvcle) Rename to __memcpy_mvcle.
3330         * sysdeps/s390/s390-32/memset.S
3331         (memset_g5): Rename to __memset_g5.
3332         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
3333         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3334         and use prefixed functions.
3335         * sysdeps/s390/s390-32/multiarch/memcmp.S
3336         (memcmp_z196): Rename to __memcmp_z196.
3337         (memcmp_z10): Rename to __memcmp_z10.
3338         (memcmp): Set alias to __memcmp_g5.
3339         (bcmp): Set alias to __memcmp_g5.
3340         * sysdeps/s390/s390-32/multiarch/memcpy.S
3341         (memcpy_z196): Rename to __memcpy_z196.
3342         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3343         (memcpy_z10): Rename to __memcpy_z10.
3344         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3345         (memcpy): Set alias to __memcpy_g5.
3346         * sysdeps/s390/s390-32/multiarch/memset.S
3347         (memset_z196): Rename to __memset_z196.
3348         Jump to __memset_mvcle instead of memset_mvcle.
3349         (memset_z10): Rename to __memset_z10.
3350         Jump to __memset_mvcle instead of memset_mvcle.
3351         (memset_mvcle) Rename to __memset_mvcle.
3352         (memset): Set alias to __memset_g5.
3353         * sysdeps/s390/s390-64/memcmp.S
3354         (memcmp_z900): Rename to __memcmp_z900.
3355         * sysdeps/s390/s390-64/memcpy.S
3356         (memcpy_z900): Rename to __memcpy_z900.
3357         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3358         (memcpy_mvcle) Rename to __memcpy_mvcle.
3359         * sysdeps/s390/s390-64/memset.S
3360         (memset_z900): Rename to __memset_z900.
3361         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
3362         (IFUNC_RESOLVE): Prefix ifunc-resolve function
3363         and use prefixed functions.
3364         * sysdeps/s390/s390-64/multiarch/memcmp.S
3365         (memcmp_z196): Rename to __memcmp_z196.
3366         (memcmp_z10): Rename to __memcmp_z10.
3367         (memcmp): Set alias to __memcmp_z900.
3368         (bcmp): Set alias to __memcmp_z900.
3369         * sysdeps/s390/s390-64/multiarch/memcpy.S
3370         (memcpy_z196): Rename to __memcpy_z196.
3371         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3372         (memcpy_z10): Rename to __memcpy_z10.
3373         Jump to __memcpy_mvcle instead of memcpy_mvcle.
3374         (memcpy): Set alias to __memcpy_z900.
3375         * sysdeps/s390/s390-64/multiarch/memset.S
3376         (memset_z196): Rename to __memset_z196.
3377         Jump to __memset_mvcle instead of memset_mvcle.
3378         (memset_z10): Rename to __memset_z10.
3379         Jump to __memset_mvcle instead of memset_mvcle.
3380         (memset_mvcle) Rename to __memset_mvcle.
3381         (memset): Set alias to __memset_z900.
3383 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
3385         [BZ #17748]
3386         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
3387         __fesetenv instead of fesetenv.
3389 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3391         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
3392         macro.
3394 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3396         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
3397         regression on LE.
3399         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
3400         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
3401         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3402         strncmp-power8 object.
3403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3404         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
3405         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
3406         * NEWS: Update.
3408 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3409             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3411         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
3412         trailing byte check.
3414 2015-01-13  David S. Miller  <davem@davemloft.net>
3416         * include/signal.h (__sigreturn): Guard with __USE_MISC.
3418 2015-01-13  Roland McGrath  <roland@hack.frob.com>
3420         * login/logout.c (logout): Use memset rather than bzero.
3421         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
3422         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
3423         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
3424         (_gethtbyaddr): Likewise.
3425         * locale/programs/simple-hash.c (bcopy): Macro removed.
3427 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3429         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3430         Add strcmp-power8 object.
3431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3432         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
3433         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
3434         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
3435         __strcmp_power8 implementation.
3436         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
3437         * NEWS: Update.
3439         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3440         Add strncpy-power8 and stpncpy-power8 objects.
3441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3442         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
3443         implementations.
3444         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
3445         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
3446         __stpncpy_power8 implementation.
3447         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
3448         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
3449         __strncpy_power8 implementation.
3450         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
3451         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
3452         * NEWS: Update.
3454         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
3455         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
3456         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
3458         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3459         strncat-power8 object.
3460         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
3461         __strcat_power8 implementation.
3462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3463         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
3464         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
3465         optimized strcat for power8.
3467         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
3468         strcpy-power8 and stpcpy-power8 objects.
3469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3470         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
3471         implementations.
3472         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
3473         multiarch stpcpy implementation for POWER8.
3474         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
3475         multiarch strcpy implementation for POWER8.
3476         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
3477         __strcpy_power8 function.
3478         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
3479         stpcpy for POWER8.
3480         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
3481         strcpy for POWER8.
3482         * NEWS: Update.
3484 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
3486         [BZ #16009]
3487         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
3488         weights and rules. Use do_xfrm_cached if data fits in cache,
3489         do_xfrm otherwise.  Moved former main loop to...
3490         * (do_xfrm_cached): New function.
3491         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
3492         find_idx, find_position and stack_push.
3493         * (find_idx): New function.
3494         * (find_position): Likewise.
3495         * localedata/sort-test.sh: Added test run for do_xfrm.
3496         * localedata/xfrm-test.c (main): Added command line option
3497         -nocache to run the test with strings that are too large for
3498         the STRXFRM cache.
3500 2015-01-13  Torvald Riegel  <triegel@redhat.com>
3502         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
3503         variable to lll_futex_wake call, not the value itself.
3505 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
3507         [BZ #17803]
3508         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
3509         twom64.  Adjust value to 0x1p-64L.
3510         (__scalblnl): Only return standard underflowing result for K <=
3511         -64 not K <= -63; adjust exponent for underflowing result by 64
3512         not 63.
3513         * math/libm-test.inc (scalbn_test_data): Add more tests.
3514         (scalbln_test_data): Likewise.
3516         [BZ #17834]
3517         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
3518         0x1p63L.
3519         (__scalblnl): Get new exponent of adjusted subnormal value from ES
3520         not HX.
3521         * math/libm-test.inc (scalbn_test_data): Add more tests.
3522         (scalbln_test_data): Likewise.
3524 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3525             Stefani Seibold  <stefani@seibold.net>
3527         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
3528         (sysdep_routines): Add dl-vdso here, ...
3529         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
3530         (sysdep_routines): ... not here.
3531         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
3532         fallback when vDSO is not presented.
3533         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
3534         Define with libc_hidden_proto/libc_hidden_data_def definitions.
3535         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
3536         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
3537         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
3538         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
3539         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
3540         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
3541         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
3542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
3543         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
3544         fallback configurable symbol when vDSO is not available.
3545         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
3546         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
3547         be able to redefine fallback symbol when vDSO is not available.
3548         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
3549         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
3551 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3553         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
3554         (TLS_INIT_TP): Add tm_capable initialization.
3555         (TLS_DEFINE_INIT_TP): Likewise.
3556         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
3557         TCB.
3558         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
3559         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
3560         calculation.
3561         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
3562         transactoion is lock elision is built and TCB tm_capable is set.
3563         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
3564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3565         (INTERNAL_SYSCALL_NCS): Likewise.
3566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3567         (INTERNAL_SYSCALL_NCS): Likewise.
3568         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
3570         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
3571         for powerpc.
3572         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3573         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
3574         and remove it for 32 bits case.
3575         [pthread_rwlock_t] (__rwelision): New field for lock elision.
3576         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
3577         initialization.
3578         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
3579         Disable lock elision with rdlocks if elision is not available.
3581         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
3582         (sysdep_routines): Add lock elision objects.
3583         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3584         [pthread_mutex_t] (__spins): Rework to add lock elision field.
3585         [pthread_mutex_t] (__elision): Add field.
3586         [__PTHREAD_SPINS]: Adjust to init lock elision field.
3587         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
3588         elision definitions for powerpc.
3589         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
3590         implementation of lock elision for powerpc.
3591         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
3592         implementation of timed lock elision for powerpc.
3593         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
3594         implementation of trylock with lock elision for powerpc.
3595         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
3596         implementaion of unlock for lock elision for powerpc.
3597         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3598         automatic enable lock elision for mutexes.
3599         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3600         transaction execution definitions for powerpc.
3601         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3602         definitions.
3603         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3604         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3605         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3606         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3607         * NEWS: Update.
3609 2015-01-09  Roland McGrath  <roland@hack.frob.com>
3611         * sysdeps/posix/shm-directory.c: Use <> rather than ""
3612         for #include of <shm-directory.h>.
3614 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
3616         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3617         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3619 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
3621         [BZ #17791]
3622         * NEWS: Mention bug fix.
3623         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3624         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3625         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3627 2015-01-09  Torvald Riegel <triegel@redhat.com>
3629         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3631 2015-01-09  Torvald Riegel <triegel@redhat.com>
3633         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3635 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3637         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3638         pointer and cast to uintptr_t.
3640 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3642         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3643         removed.
3644         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3646 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
3648         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3649         of 0.
3651 2015-01-08  Roland McGrath  <roland@hack.frob.com>
3653         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3654         <nptl/pthreadP.h> instead.
3655         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3657         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3658         already defined.
3659         [__SIGRTMIN] (init): Function removed.
3660         [__SIGRTMIN] (initialized): Variable removed.
3661         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3662         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3663         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3664         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3665         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3666         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3667         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3668         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3669         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3670         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3671         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3672         * sysdeps/nptl/allocrtsig.c: New file.
3673         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3674         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3675         * sysdeps/generic/testrtsig.h: File removed.
3677         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3678         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3680         * nptl/nptl-init.c (pthread_functions): Conditionalize
3681         .ptr__nptl_setxid initialization on [SIGSETXID].
3683         * sysdeps/nptl/sys/procfs.h: New file.
3684         * nptl_db/Makefile (headers): Add it.
3685         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3687         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3688         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3689         * nptl/pthread_attr_setaffinity.c: Include it.
3690         * nptl/pthread_setattr_default_np.c: Likewise.
3691         * nptl/check-cpuset.h: New file.
3693 2015-01-08  Richard Henderson  <rth@redhat.com>
3695         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3696         (CFLAGS-tst-execstack-prog.c): Likewise.
3697         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3699 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
3700             Sandra Loosemore  <sandra@codesourcery.com>
3701             Andrew Jenner  <andrew@codesourcery.com>
3702             Joseph Myers  <joseph@codesourcery.com>
3703             Nathan Sidwell  <nathan@codesourcery.com>
3705         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3706         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3707         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3708         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3709         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3710         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3711         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
3712         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3713         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3714         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3715         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3716         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3717         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
3718         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3719         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3720         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3721         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3723 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3725         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3726         timespec struct member in syscall macro.
3727         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3728         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3729         first timeval struct member in syscall macro.
3730         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3732 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
3734         [BZ #17748]
3735         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3736         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3737         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3738         __feupdateenv and define as weak alias of __feupdateenv.  Use
3739         libm_hidden_weak.
3740         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3741         libm_hidden_def.
3742         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3743         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
3744         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3745         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3746         libm_hidden_def.
3747         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3748         __feupdateenv and define as weak alias of __feupdateenv.  Use
3749         libm_hidden_weak.
3750         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3751         libm_hidden_def.
3752         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3753         __feupdateenv and define as weak alias of __feupdateenv.  Use
3754         libm_hidden_weak.
3755         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3756         libm_hidden_def.
3757         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3758         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3759         (__feupdateenv): Likewise.
3760         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3761         __feupdateenv and define as weak alias of __feupdateenv.  Use
3762         libm_hidden_weak.
3763         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3764         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3765         libm_hidden_def.
3766         * sysdeps/tile/math_private.h (__feupdateenv): New inline
3767         function.
3768         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3769         libm_hidden_def.
3770         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3771         __feupdateenv instead of feupdateenv.
3772         (default_libc_feupdateenv_test): Likewise.
3773         (libc_feresetround_ctx): Likewise.
3775 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3777         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3778         prototype.
3780 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
3782         * posix/regcomp.c (parse_bracket_exp): Initialize type to
3783         COLL_SYM in a couple of places to avoid uninitialized variable
3784         wanings on tilegx gcc 4.8.2.
3786 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
3788         * sysdeps/aarch64/strcpy.S: New file.
3789         * sysdeps/aarch64/stpcpy.S: New file.
3790         * NEWS: Updated.
3792 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
3794         * sysdeps/aarch64/strrchr.S: New file.
3795         * NEWS: Updated.
3797 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
3799         [BZ #17658]
3800         * stdlib/setenv.c: Fix memory leak when setting large,
3801         duplicate string.
3803 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
3805         [BZ #17273]
3806         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3807         and tabs from buffer before parsing fstab entry.
3808         * misc/tst-mntent.c (main): Add test for mount entry with
3809         trailing spaces and tabs.
3811 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
3813         [BZ #17748]
3814         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
3815         * math/fesetround.c (fesetround): Rename to __fesetround and
3816         define as weak alias of __fesetround.  Use libm_hidden_weak.
3817         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3818         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3819         * sysdeps/arm/fesetround.c (fesetround): Likewise.
3820         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3821         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3822         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3823         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3824         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3825         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3826         __fesetround_inline.
3827         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3828         __fesetround_inline instead of __fesetround.
3829         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3830         __fesetround and define as weak alias of __fesetround.  Use
3831         libm_hidden_weak.  Call __fesetround_inline instead of
3832         __fesetround.
3833         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3834         __fesetround and define as weak alias of __fesetround.  Use
3835         libm_hidden_weak.
3836         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3837         Likewise.
3838         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3839         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3840         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3841         * sysdeps/tile/math_private.h (__fesetround): New inline function.
3842         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3843         __fesetround and define as weak alias of __fesetround.  Use
3844         libm_hidden_weak.
3845         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3846         __fesetround instead of fesetround.
3847         (default_libc_feholdexcept_setround): Likewise.
3848         (libc_feholdsetround_ctx): Likewise.
3849         (libc_feholdsetround_noex_ctx): Likewise.
3851         [BZ #17748]
3852         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3853         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3854         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3855         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
3856         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3857         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3858         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3859         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3860         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3861         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3862         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3863         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3864         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3865         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3866         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3867         libm_hidden_def.
3868         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3869         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3870         Likewise.
3871         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3872         define as weak alias of __fesetenv.  Use libm_hidden_weak.
3873         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3874         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3875         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3876         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3877         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
3878         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3879         __fesetenv instead of fesetenv.
3880         (libc_feresetround_noex_ctx): Likewise.
3881         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3882         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3883         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3884         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3885         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3886         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3887         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3888         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3889         (__feupdateenv): Likewise.
3890         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3891         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3892         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3893         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3895 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3897         [BZ #17806]
3898         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3899         addresses have been freed.
3901 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
3903         * resolv/res_init.c (__res_vinit): Improve comments about nserv
3904         and nservall.
3906 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
3908         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3909         Clean up check_pf allocation pattern. addresses
3911 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3913         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3914         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3915         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3916         * nptl/pthread_exit.c (__pthread_exit): Likewise.
3917         * nptl/pthread_join.c (pthread_join): Likewise.
3918         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3919         * sysdeps/posix/waitid.c (__waitid): Likewise.
3920         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3921         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3922         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3923         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3924         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3925         Likewise.
3926         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3927         (__libc_pread64): Likewise.
3928         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3929         (__libc_pwrite): Likewise.
3930         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3931         (__libc_pwrite64): Likewsie.
3932         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3933         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3934         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3935         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3936         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3937         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3938         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3940         Likewise.
3941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3942         (__libc_pread64): Likewise.
3943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3944         Likewise.
3945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3946         (__libc_pwrite64): Likewise.
3947         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3948         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3949         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3950         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3951         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3952         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3953         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3954         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3955         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3956         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3957         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3958         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3959         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3960         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3961         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3962         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3963         Likewise.
3965 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3967         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3968         (CFLAGS-test-double.c): Likewise.
3969         (CFLAGS-test-ldouble.c): Likewise.
3970         (CPPFLAGS-test-ifloat.c): Likewise.
3971         (CPPFLAGS-test-idouble.c): Likewise.
3972         (CPPFLAGS-test-ildoubl.c): Likewise.
3973         (CFLAGS-test-test-fenv.c): Remove variable.
3974         (CFLAGS-test-misc.c): Likewise.
3976 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
3978         [BZ #17797]
3979         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3980         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3981         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3982         CLOCKS_PER_SEC == 1000000.
3983         * time/clocktest.c (main): Replace %ld with %jd and cast to
3984         intmax_t.
3986 2015-01-05  Roland McGrath  <roland@hack.frob.com>
3988         * sysdeps/generic/unwind-resume.h: New file.
3989         * sysdeps/gnu/unwind-resume.c: Include it.
3990         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3991         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3992         argument list.
3993         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3994         global rather than static.
3995         (_Unwind_Resume): Update user.
3996         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3997         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
3998         rather than static.  Add __attribute__ ((cold)).
3999         (_Unwind_Resume, __gcc_personality_v0): Update callers.
4000         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4001         * sysdeps/arm/arm-unwind-resume.S: New file.
4002         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4003         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4004         * sysdeps/arm/Makefile [$(subdir) = csu]
4005         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4006         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4007         Add rt-arm-unwind-resume.
4008         [$(subdir) = nptl]
4009         (libpthread-sysdep_routines, libpthread-shared-only-routines):
4010         Add pt-arm-unwind-resume.
4011         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4012         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4014 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4016         [BZ #17748]
4017         * include/fenv.h (__feholdexcept): Declare.  Use
4018         libm_hidden_proto.
4019         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4020         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
4021         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4022         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4023         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4024         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4025         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4026         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4027         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4028         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4029         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4030         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4031         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4032         (feholdexcept): Likewise.
4033         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4034         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4035         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4036         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4037         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4038         __feholdexcept instead of feholdexcept.
4039         (default_libc_feholdexcept_setround): Likewise.
4041 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4043         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4044         to avoid using stl/str to align destination.
4046 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4048         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4050 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4052         [BZ #17796]
4053         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4054         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4055         Define as weak alias not strong alias.
4057 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
4059         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4060         bltzal with addiupc.
4061         (RTLD_START): Ditto.
4063 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
4065         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4066         for __vdso_* functions in declarations.
4067         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4068         definitions.
4069         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4070         INTERNAL_VSYSCALL): Use struct return types to check for error.
4072         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4073         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4074         function with cast from llround().
4075         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4076         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4077         Define.
4079 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
4081         [BZ #17793]
4082         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4083         Define as weak alias not strong alias.
4085         [BZ #17635]
4086         * ctype/ctype-c99.c: New file.  isblank implementation moved from
4087         ...
4088         * ctype/ctype-extn.c: ... here.
4089         (__isblank_l): Move to ...
4090         * ctype/ctype-c99_l.c: ... here.  New file.
4091         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
4092         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
4093         Remove variable.
4094         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4095         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4096         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4097         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4098         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4100         [BZ #17777]
4101         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
4102         (posix_fadvise64): Define as weak alias not strong alias.
4103         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4104         (posix_fallocate64): Likewise.
4105         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
4106         Remove variable.
4107         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4108         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4109         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4110         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4111         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4113 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
4115         [BZ #16191]
4116         * NEWS: Mention bug fix.
4117         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
4118         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
4119         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
4120         (HOST_STACK_END_ADDR): Likewise.
4122 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
4124         [BZ #17748]
4125         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
4126         * math/fegetround.c (fegetround): Rename to __fegetround and
4127         define as weak alias of __fegetround.  Use libm_hidden_weak.
4128         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
4129         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
4130         * sysdeps/arm/fegetround.c (fegetround): Likewise.
4131         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
4132         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4133         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
4134         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
4135         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
4136         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4137         Undefine after rather than before function definition; use
4138         parentheses around function name in definition.
4139         (__fegetround): Also undefine macro after function definition.
4140         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
4141         __fegetround and define as weak alias of __fegetround.  Use
4142         libm_hidden_weak.  Do not undefine as macro.
4143         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4144         Likewise.
4145         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
4146         __fegetround and define as weak alias of __fegetround.  Use
4147         libm_hidden_weak.
4148         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4149         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4150         * sysdeps/tile/math_private.h (__fegetround): New inline function.
4151         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
4152         __fegetround and define as weak alias of __fegetround.  Use
4153         libm_hidden_weak.
4154         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
4155         __fegetround instead of fegetround.
4157         [BZ #17782]
4158         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
4159         Condition macro definition on [__USE_MISC].
4161         [BZ #17781]
4162         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
4163         (struct sigaction): Change type of sa_flags field to int.
4165         [BZ #17780]
4166         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
4167         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
4168         __glibc_reserved0.
4170         * nptl/version.c (banner): Use single year in copyright notice.
4172         * NEWS: Update copyright dates.
4173         * catgets/gencat.c (print_version): Likewise.
4174         * csu/version.c (banner): Likewise.
4175         * debug/catchsegv.sh: Likewise.
4176         * debug/pcprofiledump.c (print_version): Likewise.
4177         * debug/xtrace.sh (do_version): Likewise.
4178         * elf/ldconfig.c (print_version): Likewise.
4179         * elf/ldd.bash.in: Likewise.
4180         * elf/pldd.c (print_version): Likewise.
4181         * elf/sotruss.sh: Likewise.
4182         * elf/sprof.c (print_version): Likewise.
4183         * iconv/iconv_prog.c (print_version): Likewise.
4184         * iconv/iconvconfig.c (print_version): Likewise.
4185         * locale/programs/locale.c (print_version): Likewise.
4186         * locale/programs/localedef.c (print_version): Likewise.
4187         * login/programs/pt_chown.c (print_version): Likewise.
4188         * malloc/memusage.sh (do_version): Likewise.
4189         * malloc/memusagestat.c (print_version): Likewise.
4190         * malloc/mtrace.pl: Likewise.
4191         * manual/libc.texinfo: Likewise.
4192         * nptl/version.c (banner): Likewise.
4193         * nscd/nscd.c (print_version): Likewise.
4194         * nss/getent.c (print_version): Likewise.
4195         * nss/makedb.c (print_version): Likewise.
4196         * posix/getconf.c (main): Likewise.
4197         * scripts/test-installation.pl: Likewise.
4198         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4200 2015-01-02  Will Newton  <will.newton@linaro.org>
4202         * sysdeps/arm/armv7/configure: Removed.
4203         * sysdeps/arm/armv7/configure.ac: Likewise.
4205 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
4207         * All files with FSF copyright notices: Update copyright dates
4208         using scripts/update-copyrights.
4209         * intl/plural.c: Regenerated.
4210         * locale/programs/charmap-kw.h: Likewise.
4211         * locale/programs/locfile-kw.h: Likewise.
4213 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4215         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
4217 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4219         [BZ #17748]
4220         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
4221         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
4222         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4223         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4224         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4225         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
4226         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4227         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
4228         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4229         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4230         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4231         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4232         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4233         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4234         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
4235         libm_hidden_def.
4236         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
4237         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
4238         Likewise.
4239         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
4240         define as weak alias of __fegetenv.  Use libm_hidden_weak.
4241         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
4242         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
4243         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
4244         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
4245         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
4246         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
4247         __fegetenv instead of fegetenv.
4248         (libc_feholdsetround_noex_ctx): Likewise.
4250 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4252         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
4253         (Elf_MIPS_ABIFlags_v0): New structure.
4254         (EF_MIPS_FP64): Define.
4255         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
4256         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
4257         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
4258         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
4259         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
4260         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
4261         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
4262         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
4263         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
4264         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
4265         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
4266         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
4267         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
4268         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
4269         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
4270         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
4271         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
4272         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
4273         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
4274         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
4275         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
4276         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
4277         field.
4278         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
4279         EF_MIPS_FP64.
4280         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
4281         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
4282         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
4283         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
4284         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
4285         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
4286         * sysdeps/mips/tst-abi-interlink.c: Likewise.
4287         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
4288         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
4289         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
4290         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
4291         record the current FP ABI extension.
4292         (mips-mode-switch): Define to show if kernel headers support mode
4293         switching.
4294         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4295         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
4296         supported SYSV ABI version to 3.
4297         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
4298         feature.
4300 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4301             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4303         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
4304         path.
4305         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
4307 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
4309         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
4310         __fegetround and redefine to call __fegetround.  Remove condition
4311         on [!__NO_MATH_INLINES].
4312         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
4313         function.
4314         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
4315         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
4316         Remove macro.
4317         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
4318         instead of <fenv_libc.h>.
4319         (__llrintl): Call fegetround instead of __fegetround.
4320         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
4321         instead of <fenv_libc.h>.
4322         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4323         (__lrintl): Call fegetround instead of __fegetround.
4324         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
4325         instead of <fenv_libc.h>.
4326         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4327         (__rintl): Call fegetround instead of __fegetround.
4329 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4331         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
4332         arrays.
4334 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4336         [BZ #17775]
4337         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
4338         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
4339         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
4341 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4343         * sysdeps/i386/tls-macros.h: Include <features.h>.
4344         (TLS_LE): Use non-PIC version for GCC >= 5.0.
4345         (TLS_IE): Likewise.
4346         (TLS_LD): Likewise.
4347         (TLS_GD): Likewise.
4348         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
4349         define for GCC >= 5.0.
4351 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
4353         * math/test-fenv.c (test_single_exception, set_single_exc,
4354         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
4355         feexcp_mask_test, feenable_test, fe_single_test): Add
4356         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
4357         case where they are not used.
4358         * math/libm-test.inc: Likewise.
4359         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
4360         unused in the absence of FP rounding/exception support.
4361         * stdio-common/tst-printf-round.c: Likewise.
4362         * stdlib/tst-strtod-round.c: Likewise.
4363         * stdlib/tst-strtod-underflow.c: Likewise.
4365 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
4367         [BZ #17723]
4368         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
4369         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
4370         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4371         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4372         libm_hidden_weak.
4373         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
4374         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4375         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
4376         libm_hidden_def.
4377         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4378         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4379         libm_hidden_weak.
4380         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
4381         Likewise.
4382         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
4383         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4384         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4385         libm_hidden_weak.
4386         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4387         libm_hidden_def.
4388         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
4389         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
4390         (__feraiseexcept): Likewise.
4391         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
4392         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
4393         libm_hidden_weak.
4394         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
4395         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
4396         libm_hidden_def.
4397         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
4398         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
4399         Use libm_hidden_def.
4400         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
4401         libm_hidden_def.
4402         (feraiseexcept): Define as weak not strong alias.  Use
4403         libm_hidden_weak.
4404         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
4405         New inline function.  Factored out of ...
4406         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
4407         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
4408         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
4409         feraiseexcept.
4410         * math/w_acos.c (__acos): Likewise.
4411         * math/w_asin.c (__asin): Likewise.
4412         * math/w_ilogb.c (__ilogb): Likewise.
4413         * math/w_j0.c (y0): Likewise.
4414         * math/w_j1.c (y1): Likewise.
4415         * math/w_jn.c (yn): Likewise.
4416         * math/w_log.c (__log): Likewise.
4417         * math/w_log10.c (__log10): Likewise.
4418         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
4419         * sysdeps/aarch64/fpu/math_private.h
4420         (libc_feupdateenv_test_aarch64): Likewise.
4421         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4422         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
4423         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
4424         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4425         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4426         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4427         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
4428         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4429         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4430         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4432 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
4434         [BZ #17732]
4435         * io/test-utime.c (main): Replace %ld with %jd and cast to
4436         intmax_t.
4437         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
4438         * nptl/tst-mutex5.c: Include <stdint.h>.
4439         (do_test): Replace %ld with %jd and cast to intmax_t.
4440         * posix/tst-regex.c (run_test): Likewise.
4441         (run_test_backwards): Likewise.
4442         * rt/tst-clock.c: Include <stdint.h>.
4443         (clock_test): Replace %ld with %jd and cast to intmax_t.
4444         * rt/tst-cpuclock1.c: Include <stdint.h>.
4445         (do_test): Replace %lu with %ju and cast to uintmax_t.
4446         * rt/tst-cpuclock2.c: Include <stdint.h>.
4447         (do_test): Replace %lu with %ju and cast to uintmax_t.
4448         * rt/tst-mqueue1.c: Include <stdint.h>.
4449         (check_attrs): Replace %ld with %jd and cast to intmax_t.
4450         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
4451         intmax_t.
4452         * rt/tst-mqueue4.c (do_test): Likewise.
4453         * rt/tst-timer4.c: Include <stdint.h>.
4454         (check_ts): Replace %ld with %jd and cast to intmax_t.
4455         (do_test): Likewise.
4456         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
4457         and cast to intmax_t.
4458         * sysdeps/pthread/tst-timer.c (main): Likewise.
4459         * time/clocktest.c (main): Likewise.
4460         * time/tst-posixtz.c (do_test): Likewise.
4461         * timezone/tst-timezone.c (main): Likewise.
4463 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
4464             H.J. Lu  <hongjiu.lu@intel.com>
4466         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
4467         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
4468         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
4469         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
4470         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
4471         version if bit_Fast_Unaligned_Load is set.
4472         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4473         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4474         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4475         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4476         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4477         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4478         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4479         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
4480         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
4481         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
4482         to 4.
4483         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
4484         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
4485         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
4486         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
4488 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
4490         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
4491         instead of #if to avoid a Wundef warning.
4492         * stdlib/tst-limits.c (do_test): Likewise.
4494         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
4495         parallel other exception macros.
4496         (fegetenv): Convert from macro to extern inline so that it applies
4497         retroactively to inline functions already seen by the compiler.
4498         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
4500         * posix/Makefile (before-compile): Use $(objpfx) for
4501         posix-conf-vars-def.h.
4503 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4505         * posix/getconf.c (main): Use size_t for type of I.
4506         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
4507         NSPEC.
4509         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
4510         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
4511         * posix/posix-envs.def: Likewise.
4512         * sysdeps/posix/sysconf.c: Likewise.
4513         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
4514         (specs): Remove array.
4515         * scripts/gen-posix-conf-vars.awk: Support generation of specs
4516         array.
4518         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
4519         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
4520         (__sysconf): Use CONF_IS_* macros.
4522         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
4523         ($(objpfx)posix-conf-vars-def.h): New target.
4524         * posix/posix-conf-vars.list: New file.
4525         * posix/posix-conf-vars.h: New file.
4526         * posix/confstr.c: Include posix-conf-vars.h.
4527         (confstr): Use CONF_IS_* macros.
4528         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
4529         CONF_IS_* macros.
4530         * scripts/gen-posix-conf-vars.awk: New file.
4532 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
4534         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
4535         fegetround): Add no-op macros to avoid linknamespace issues.
4537         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
4538         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
4540         * sysdeps/unix/sysv/linux/tile/sysdep.h
4541         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
4542         assembly-specific section to avoid a redefinition warning.
4544         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
4545         long before casting to pointer to avoid a cast warning.
4547 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
4549         * sysdeps/tile/tilegx/Implies: New file.
4551 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
4553         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
4555 2014-12-23  Florian Weimer  <fweimer@redhat.com>
4557         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
4559 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4561         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4562         not define.
4563         * sysdeps/unix/sysv/linux/utimes.c: Do not include
4564         <kernel-features.h>.
4565         (__utimes) [__NR_utimes]: Make code unconditional.
4566         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
4567         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4568         (__ASSUME_UTIMES): Do not undefine.
4569         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4570         (__ASSUME_UTIMES): Likewise.
4571         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4572         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
4573         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
4574         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
4576 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
4578         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
4580 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
4582         [BZ #17747]
4583         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
4584         alias to weak alias for j0l, y0l.
4585         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
4586         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
4588         [BZ #17746]
4589         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
4590         conversion.
4592 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
4594         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
4595         to zero if not already defined.
4597 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4599         [BZ #17724]
4600         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4601         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
4602         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
4603         (char *) casts added.
4604         * sysdeps/ieee754/k_standardf.c: New file.
4605         * sysdeps/ieee754/k_standardl.c: Likewise.
4606         * math/Makefile (libm-support): Remove k_standard.
4607         (libm-calls): Add k_standard.
4609 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4611         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4612         Optimize to avoid an unnecessary FPCR read.
4614 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4616         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4617         Optimize to reduce FPCR/FPSR accesses.
4619 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4621         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4622         Call libc_fetestexcept_aarch64.
4624 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
4626         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4627         Call libc_fesetround_aarch64.
4629 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
4631         [BZ #17733]
4632         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4633         (__bind): Do not define as weak alias.
4634         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4635         define.
4636         (__getsockname): Do not define as weak alias.
4638 2014-12-22  Will Newton  <will.newton@linaro.org>
4640         * manual/install.texi: Document that we require bison 2.7
4641         or above.
4642         * INSTALL: Regenerate.
4643         * configure.ac: Use AC_CHECK_PROG_VER instead of
4644         AC_PATH_PROG when checking for bison and check for
4645         version 2.7 or above.
4646         * configure: Regenerate.
4648 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
4650         [BZ #17745]
4651         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4652         * sysdeps/tile/ffsll.c (ffsll): To here.
4654         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4656 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
4658         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4659         if not defined.
4660         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4661         definition.
4662         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4663         hidden ___tls_get_addr.
4664         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4665         hidden __tls_get_addr.
4666         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4667         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4668         Likewise.
4670 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
4672         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4673         _dl_init call.
4675 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
4677         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4678         from "call _dl_init@PLT".
4679         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
4681 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
4683         * manual/search.texi: (Array Sort Function): Clarify stable sorting
4684         guarantees.
4686 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
4688         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4690 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
4692         [BZ #17744]
4693         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4694         strnlen.
4696 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
4698         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4699         of multu on MIPSr6.
4700         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4701         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4702         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4703         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4704         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4706 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
4708         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4709         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4710         (PTR_SUBU): Use subu for mips32r6/mips64r6.
4711         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
4712         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
4713         mips32r6/mips64r6.
4714         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4716 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
4718         * string/strncat.c (STRNCAT): Simplify implementation.
4720 2014-12-19  David S. Miller  <davem@davemloft.net>
4722         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4723         access the quad as both a long double and as a series of 4 words.
4725         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4726         link_map->l_info array access.
4728 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
4730         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4732         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4733         * math/atest-exp2.c (TIMEOUT): Likewise.
4734         * math/atest-sincos.c (TIMEOUT): Likewise.
4736 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4738         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4739         -Wno-error with -fno-builtin-lround.
4741 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4743         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4744         Contains futex constants and functions moved over from ...
4745         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
4746         <lowlevellock-futex.h>.
4747         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4748         (lll_timedwait_tid): Add comments and parentheses around macro
4749         arguments.
4751 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4753         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4754         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
4755         (__lll_private_flag): Remove.
4756         (lll_futex_wait): Likewise.
4757         (lll_futex_timed_wait): Likewise.
4758         (lll_futex_wake): Likewise.
4759         (lll_futex_requeue): Likewise.
4760         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4761         (__lll_timedwait_tid): Spell out argument names.
4762         (lll_timedwait_tid): Add comments and parentheses around macro
4763         arguments.
4764         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4765         LLL_SHARED and LLL_PRIVATE usable from assembly code.
4767 2014-12-19  Torvald Riegel  <triegel@redhat.com>
4769         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4770         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4771         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4772         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4773         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4774         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4775         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4776         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4777         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4778         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4779         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4780         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4781         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4782         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4783         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4784         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4785         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4786         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4787         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4789 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4791         * sysdeps/x86_64/x32/Makefile: New file.
4793 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
4795         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4796         1L with (mp_limb_t) 1.
4798 2014-12-17  Roland McGrath  <roland@hack.frob.com>
4800         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4801         * nptl/libc_pthread_init.c: ... here.
4802         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4803         * nptl/register-atfork.c: ... here.
4805         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4806         Use pthread_sigmask rather than INTERNAL_SYSCALL.
4807         Use assert_perror to check its return value.
4808         (__gai_create_helper_thread): Likewise.
4810         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4812         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4814 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
4816         [BZ #17725]
4817         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4818         __profil_counter.
4819         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4820         Likewise.
4821         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4822         Likewise.
4823         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4824         Likewise.
4825         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4826         (profil_counter): Likewise.
4827         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4828         (profil_counter): Likewise.
4829         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4830         Likewise.
4831         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4832         Likewise.
4833         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4834         (profil_counter): Likewise.
4835         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4836         Likewise.
4837         [!__profil_counter] (profil_counter): Define as weak alias of
4838         __profil_counter.
4839         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4840         (profil_counter): Rename to __profil_counter.
4841         [!__profil_counter] (profil_counter): Define as weak alias of
4842         __profil_counter.
4843         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4844         (profil_counter): Rename to __profil_counter.
4845         [!__profil_counter] (profil_counter): Define as weak alias of
4846         __profil_counter.
4847         * sysdeps/posix/profil.c: Update comment referring to
4848         profil_counter.
4849         (__profil): Use __profil_counter instead of profil_counter.
4850         * sysdeps/posix/sprofil.c (profil_counter): Rename to
4851         __profil_counter.  Use __profil_counter_ushort and
4852         __profil_counter_uint in definitions.
4853         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4854         instead of profil_counter_uint and profil_counter_ushort.
4856         [BZ #17722]
4857         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4858         define as weak alias of __inet_makeaddr.
4859         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4860         as weak alias of __inet_addr.
4861         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4862         as weak alias of __inet_pton.  Use libc_hidden_weak.
4863         * include/arpa/inet.h (__inet_pton): Declare.  Use
4864         libc_hidden_proto.
4865         (inet_makeaddr): Don't use libc_hidden_proto.
4866         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
4867         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4868         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
4869         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4870         Remove variable.
4871         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4872         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4874 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
4876         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4878 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4880         * stdio-common/bug-vfprintf-nargs.c (do_test):
4881         Cast value to intptr_t to avoid format warning
4882         for usage with PRIdPTR printing macro.
4884 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4886         * libio/tst-widetext.c (do_test):
4887         Use format type %td instead of %Zd for ptrdiff_t
4888         in order to avoid format warning.
4890 2014-12-17  Andreas Schwab  <schwab@suse.de>
4892         * nscd/mem.c (gc): Add size_t cast to match printf format.
4894 2014-12-16  Roland McGrath  <roland@hack.frob.com>
4896         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4897         (init): Apply PTR_MANGLE to pointers before storing them.
4898         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4899         before using them.
4901 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
4903         [BZ #17719]
4904         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4905         define as weak alias of __memrchr.
4906         (__memrchr): Do not define as strong alias of memrchr.
4907         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4908         Remove variable.
4909         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4910         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4911         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4913         [BZ #17717]
4914         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4915         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
4916         (if_indextoname): Rename to __if_indextoname and define as weak
4917         alias of __if_indextoname.  Use libc_hidden_weak.
4918         (if_freenameindex): Rename to __if_freenameindex and define as
4919         weak alias of __if_freenameindex.
4920         (if_nameindex): Rename to __if_nameindex and define as weak alias
4921         of __if_nameindex.
4922         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4923         __if_nametoindex and define as weak alias of __if_nametoindex.
4924         Use libc_hidden_weak.
4925         (if_freenameindex): Rename to __if_freenameindex and define as
4926         weak alias of __if_freenameindex.
4927         (if_nameindex): Rename to __if_nameindex and define as weak alias
4928         of __if_nameindex.
4929         (if_indextoname): Rename to __if_indextoname and define as weak
4930         alias of __if_indextoname.  Use libc_hidden_weak.
4931         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4932         __if_nametoindex and define as weak alias of __if_nametoindex.
4933         Use libc_hidden_weak.
4934         (if_freenameindex): Rename to __if_freenameindex and define as
4935         weak alias of __if_freenameindex.  Use libc_hidden_weak.
4936         (if_nameindex_netlink): Use __if_freenameindex instead of
4937         if_freenameindex.
4938         (if_nameindex): Rename to __if_nameindex and define as weak alias
4939         of __if_nameindex.  Use libc_hidden_weak.
4940         (if_indextoname): Rename to __if_indextoname and define as weak
4941         alias of __if_indextoname.  Use libc_hidden_weak.
4942         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4943         libc_hidden_proto.
4944         [!_ISOMAC] (__if_freenameindex): Likewise.
4945         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4946         if_nametoindex.
4947         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4948         variable.
4949         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4950         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4951         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4952         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4953         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4954         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4955         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4957         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4958         Remove variable.
4959         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4960         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4962 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4964         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4965         subscript above bounds'
4967         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4968         bounds.
4970 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
4972         * libio/tst-fopenloc.c: Use test-skeleton.c.
4974         * stdlib/tst-bsearch.c: Use test-skeleton.c.
4975         (entry): Rename to ITEM.
4976         (do_test, comp): Adjust.
4978         * stdio-common/tst-fseek.c: Use test-skeleton.c.
4980 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4982         * string/tester.c: Include <libc-internal.h>.
4983         (test_memset): Ignore -Wmemset-transposed-args.
4985 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4987         * misc/tst-mntent2.c (do_test): Fix warning.
4989 2014-12-16  Torvald Riegel  <triegel@redhat.com>
4991         * elf/tst-unique4lib.cc(a): Mark as used.
4993 2014-12-16  Florian Weimer  <fweimer@redhat.com>
4995         [BZ #17630]
4996         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4997         names.
4999 2014-12-16  Allan McRae  <allan@archlinux.org>
5001         * stdio-common/Makefile (tests): Re-add bug26.
5003 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
5005         [BZ #17657]
5006         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5007         static array.
5009 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
5011         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5012         (__lll_lock_wait): Likewise.
5013         (__lll_timedlock_wait): Likewise.
5014         (__lll_timedwait_tid): Likewise.
5015         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5016         (__lll_robust_timedlock_wait): Likewise.
5017         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5018         (lll_cond_trylock): Likewise.
5019         (__lll_lock): Likewise.
5020         (__lll_robust_lock): Likewise.
5021         (__lll_cond_lock): Likewise.
5022         (lll_robust_cond_lock): Likewise.
5023         (__lll_timedlock): Likewise.
5024         (__lll_robust_timedlock): Likewise.
5025         (__lll_unlock): Likewise.
5026         (__lll_robust_unlock): Likewise.
5027         (lll_wait_tid): Likewise.
5028         (lll_timedwait_tid): Likewise.
5030 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5032         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5034 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5036         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5038 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5040         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5041         * stdio-common/tst-sprintf.c: Likewise.
5043 2014-12-15  Torvald Riegel  <triegel@redhat.com>
5045         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5047 2014-12-15  Jeff Law  <law@redhat.com>
5049         [BZ #16617]
5050         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5051         on the heap.  (CVE-2012-3406)
5052         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5053         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
5054         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5056 2014-12-15  Will Newton  <will.newton@linaro.org>
5058         * manual/install.texi: Bump required version of texinfo
5059         to 4.7 from 4.5.
5060         * INSTALL: Regenerated.
5061         * configure.ac: Check for makeinfo version 4.7 and above.
5062         * configure: Regenerated.
5064 2014-12-12  Roland McGrath  <roland@hack.frob.com>
5066         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5067         PREFIX, string constant to insert between directory and name.
5068         * sysdeps/posix/shm_open.c: Update caller.
5069         * sysdeps/posix/shm_unlink.c: Likewise.
5070         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5071         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5072         (SEM_SHM_PREFIX): New macro.
5073         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5074         [$(have-thread-library) = no].
5075         * nptl/Makefile (libpthread-routines): Add shm-directory.
5076         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5077         * sysdeps/nptl/shm-directory.h: New file.
5078         * sysdeps/posix/shm-directory.c
5079         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5080         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5081         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5082         INTERNAL_SYSCALL.
5083         (__where_is_shmfs): Function removed.
5084         (mountpoint, defaultmount, defaultdir, __namedsem_once):
5085         Variables removed.
5086         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
5087         Use SHM_GET_NAME.
5088         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
5090         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
5091         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
5092         unconditional for use inside libpthread.
5093         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
5095 2014-12-12  Roland McGrath  <roland@hack.frob.com>
5097         * nptl/pthread_getaffinity.c: New file.
5098         * nptl/pthread_setaffinity.c: New file.
5099         * nptl/pthread_getname.c: New file.
5100         * nptl/pthread_setname.c: New file.
5102         * nptl/pthread_create.c (START_THREAD_DEFN)
5103         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
5105 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5106             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5108         * resolv/res_send.c (send_vc): Disable warning resplen may
5109         be used uninitialized.
5111 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
5113         * nptl/tst-mutex6.c
5114         (ATTR_NULL): New define checks ATTR against NULL.
5115         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
5116         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
5118 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
5120         [BZ #17581]
5121         * malloc/hooks.c
5122         (mem2mem_check): Revert my previous change.
5123         (malloc_check_get_size): Revert my previous change.
5124         (mem2chunk_check): Revert my previous change.
5126 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5128         * sysdeps/posix/shm-directory.c: New file.
5129         * sysdeps/posix/shm-directory.h: New file.
5130         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
5131         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
5132         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
5133         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
5134         Transmute EPERM to EACCES.
5135         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
5136         from ...
5137         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
5138         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
5140 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5142         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
5143         pointer and cast to uintptr_t.
5144         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
5145         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
5146         Add cast to avoid warning.
5147         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
5149 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5151         * nptl/semaphore.h: Move to ...
5152         * sysdeps/pthread/semaphore.h: ... here.
5153         * Makefile (installed-headers): Change nptl/semaphore.h to
5154         sysdeps/pthread/semaphore.h.
5156 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5158         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
5159         generated error format strings.
5161         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
5162         -Wformat-extra-args warnings for scanf formats.
5163         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
5164         test of zero-length format (duh).
5165         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
5166         corner-case scanf format test.
5167         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
5168         generated fprintf format string.
5169         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
5170         corner-case sprintf format tests.
5171         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
5172         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
5173         -Wformat-extra-args warnings throughout.
5174         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
5175         (CFLAGS-scanf4.c): Likewise.
5176         (CFLAGS-scanf7.c): Likewise.
5177         (CFLAGS-tst-sprintf.c): Likewise.
5178         (CFLAGS-tst-printf.c): Likewise.
5179         (CFLAGS-tst-printfsz.c): Likewise.
5181 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
5183         * include/cpio.h: New file.
5184         * include/fmtmsg.h: Likewise.
5186         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
5187         corresponding format argument to size_t.
5188         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
5189         arguments.
5190         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
5191         corresponding format argument to size_t.
5192         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
5193         arguments.
5194         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
5195         corresponding format argument to size_t.
5196         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
5197         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
5198         (CFLAGS-tst-mbswcs2.c): Likewise.
5199         (CFLAGS-tst-mbswcs3.c): Likewise.
5200         (CFLAGS-tst-mbswcs4.c): Likewise.
5201         (CFLAGS-tst-mbswcs5.c): Likewise.
5202         (CFLAGS-tst-trans.c): Likewise
5204 2014-12-11  Roland McGrath  <roland@hack.frob.com>
5206         * posix/regexbug1.c (main): Use "%s" format with regerror results,
5207         rather than assuming they won't contain any '%'s.
5209 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
5211         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
5212         inhibit_loop_to_libcall to avoid recursive calls.
5213         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
5214         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
5216 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
5218         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
5219         prototype.
5221 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5223         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
5224         integer value instead of boolean.
5226 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
5228         * malloc/malloc.c: Fix powerof2 check.
5230 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5232         * locale/programs/locfile.h (maybe_swap_uint32):
5233         Remove inline and add unused attribute.
5235 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5237         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5238         Truncating assembler expression to a .long expression.
5240 2014-12-11  Andreas Schwab  <schwab@suse.de>
5242         * elf/rtld.c (struct map_args): Constify str member.
5243         (do_preload): Constify fname argument.
5245 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5247         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
5248         constants definition.
5250 2014-12-11  Andreas Schwab  <schwab@suse.de>
5252         [BZ #16657]
5253         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
5254         FORCE_ELISION instead of DO_ELISION.
5255         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
5256         Remove.
5257         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
5258         Likewise.
5260         * iconvdata/gconv-modules: Remove duplicate entry.
5262 2014-12-11  Will Newton  <will.newton@linaro.org>
5264         Merge gettext 0.19.3 into intl/.
5266         This involves a number of cosmetic changes to comments
5267         and ANSI function definitions and prototypes throughout
5268         all the files. The gettext copyright header is used but
5269         with the date ranges taken from the glibc copy.
5271         * NEWS: Add gettext merge to 2.21.
5272         * intl/bindtextdom.c: Switch to gettext copyright.
5273         Use ANSI definitions and prototypes.
5274         Use gl_* locking primitives rather than __libc_* ones.
5275         Use __builtin_expect rather than __glibc_likely/unlikely.
5276         * intl/dcgettext.c: Switch to gettext copyright.
5277         Use ANSI definitions and prototypes.
5278         * intl/dcigettext.c: Switch to gettext copyright.
5279         Use ANSI definitions and prototypes.
5280         (INTDIV0_RAISES_SIGFPE): New define.
5281         Use gl_* locking primitives rather than __libc_* ones.
5282         Include eval-plural.h instead of plural-eval.c.
5283         Use __builtin_expect rather than __glibc_likely/unlikely.
5284         * intl/dcngettext.c: Switch to gettext copyright.
5285         Use ANSI definitions and prototypes.
5286         * intl/dgettext.c: Likewise.
5287         * intl/dngettext.c: Likewise.
5288         * intl/plural-eval.c: Renamed to...
5289         * intl/eval-plural.h: ...this.
5290         * intl/explodename.c: Switch to gettext copyright.
5291         Use ANSI definitions and prototypes.
5292         (_nl_explode_name): Use strchr instead of __rawmemchr.
5293         * intl/finddomain.c: Switch to gettext copyright.
5294         Use ANSI definitions and prototypes.
5295         Use gl_* locking primitives rather than __libc_* ones.
5296         (_nl_find_domain): Use malloc rather than alloca for
5297         allocation of temporary locale name.
5298         * intl/gettext.c: Switch to gettext copyright.
5299         Use ANSI definitions and prototypes.
5300         * intl/gettextP.h: Switch to gettext copyright.
5301         Use ANSI definitions and prototypes.
5302         Use gl_* locking primitives rather than __libc_* ones.
5303         * intl/gmo.h: Switch to gettext copyright.
5304         (struct sysdep_string): Move struct segment_pair outside of
5305         struct definition.
5306         * intl/hash-string.c: Use ANSI definitions and prototypes.
5307         * intl/hash-string.h: Switch to gettext copyright.
5308         Use ANSI definitions and prototypes.
5309         * intl/l10nflist.c: Switch to gettext copyright.
5310         Use ANSI definitions and prototypes.
5311         (_nl_normalize_codeset): Avoid integer overflow.
5312         * intl/loadinfo.h: Switch to gettext copyright.
5313         Use ANSI definitions and prototypes.
5314         (LIBINTL_DLL_EXPORTED): New define.
5315         (PATH_SEPARATOR): New define.
5316         * intl/loadmsgcat.c: Switch to gettext copyright.
5317         * intl/localealias.c: Switch to gettext copyright.
5318         Use ANSI definitions and prototypes.
5319         (_nl_expand_alias): Use PATH_SEPARATOR.
5320         * intl/ngettext.c: Switch to gettext copyright.
5321         Use ANSI definitions and prototypes.
5322         * intl/plural-exp.c: Likewise.
5323         * intl/plural-exp.h: Switch to gettext copyright.
5324         Use ANSI definitions and prototypes.
5325         (struct expression): Move definition of enum operator outside
5326         of struct definition.
5327         * intl/plural.c: Regenerate.
5328         * intl/plural.y: Switch to gettext copyright.
5329         Use ANSI definitions and prototypes.
5330         Port to bison 3.0.
5331         * intl/textdomain.c: Switch to gettext copyright.
5332         Use ANSI definitions and prototypes.
5333         Use gl_* locking primitives rather than __libc_* ones.
5335 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
5337         * debug/warning-nop.c: Add used atrribute.
5339 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5341         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
5343         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
5344         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
5345         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
5347 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5348             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5350         [BZ #17634]
5351         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
5352         Undefine after defining function.  Define as weak alias of
5353         __wcschr.  Use libc_hidden_weak.
5354         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
5355         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
5356         (libc_hidden_def): Also define __GI___wcschr alias.
5357         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
5358         __wcschr and define as weak alias of __wcschr.
5359         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
5360         __wcschr.
5361         [!WCSCHR] (DEFAULT_WCSCHR): Define.
5362         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
5363         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
5364         libc_hidden_weak.  Do not use libc_hidden_def.
5365         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
5366         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
5367         __GI___wcschr alias.
5368         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
5369         [IS_IN (libc)] (wcschr): Define as macro expanding to
5370         __redirect_wcschr.
5371         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
5372         [IS_IN (libc)] (__wcschr_power6): Likewise.
5373         [IS_IN (libc)] (__wcschr_power7): Likewise.
5374         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
5375         instead of wcschr.
5376         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
5377         __libc_wcschr.
5378         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
5379         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
5380         __wcschr and define as weak alias of __wcschr.  Use
5381         libc_hidden_builtin_def.
5382         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
5383         as weak alias of __wcschr.  Use libc_hidden_weak.
5384         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
5385         wcschr.
5386         * time/era.c (_nl_init_era_entries): Likewise.
5387         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
5388         variable.
5389         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5390         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5392 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5394         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
5395         format for long int variable.
5397 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
5399         [BZ #10672]
5400         * manual/search.texi: (Array Sort Function): Remove claim how to make
5401         qsort stable.
5403 2014-12-10  Andreas Schwab  <schwab@suse.de>
5405         [BZ #12847]
5406         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
5407         user-controlled locks.
5409 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
5411         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
5412         register.
5414 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
5416         * configure.ac (--disable-werror): New configure option.
5417         (enable_werror): New AC_SUBST.
5418         * configure: Regenerated.
5419         * config.make.in (enable-werror): New variable.
5420         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
5421         -Wno-error=undef.
5422         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
5423         * manual/install.texi (Configuring and compiling): Document
5424         --disable-werror.
5425         * INSTALL: Regenerated.
5426         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
5427         (CFLAGS-tst-chk2.c): Likewise.
5428         (CFLAGS-tst-chk3.c): Likewise.
5429         (CFLAGS-tst-chk4.cc): Likewise.
5430         (CFLAGS-tst-chk5.cc): Likewise.
5431         (CFLAGS-tst-chk6.cc): Likewise.
5432         (CFLAGS-tst-lfschk1.c): Likewise.
5433         (CFLAGS-tst-lfschk2.c): Likewise.
5434         (CFLAGS-tst-lfschk3.c): Likewise.
5435         (CFLAGS-tst-lfschk4.cc): Likewise.
5436         (CFLAGS-tst-lfschk5.cc): Likewise.
5437         (CFLAGS-tst-lfschk6.cc): Likewise.
5439         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
5440         (main): Disable -Wdeprecated-declarations around calls to
5441         register_printf_function.
5443         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
5444         (do_test): Disable -Wdiv-by-zero around some calls to
5445         fwrite_unlocked and fread_unlocked.
5447         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
5448         (DIAG_POP_NEEDS_COMMENT): Likewise.
5449         (_DIAG_STR1): Likewise.
5450         (_DIAG_STR): Likewise.
5451         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
5452         * stdio-common/bug21.c: Include <libc-internal.h>.
5453         (do_test): Disable -Wformat around call to sscanf.
5454         * stdio-common/scanf14.c: Include <libc-internal.h>.
5455         (main): Disable -Wformat around some calls to scanf functions.
5457 2014-12-09  Torvald Riegel  <triegel@redhat.com>
5459         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
5461 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5463         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
5464         stack variable alignment.
5466 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
5468         [BZ #17682]
5469         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
5470         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
5471         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
5472         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
5473         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
5474         __getrlimit instead of getrlimit.
5475         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
5476         __gettimeofday instead of gettimeofday.
5477         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5478         Likewise.
5479         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
5480         Likewise.
5481         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5482         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
5483         Remove variable.
5484         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5485         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5487 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5489         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
5490         for wide-character tests.
5492 2014-12-04  Roland McGrath  <roland@hack.frob.com>
5494         * io/openat64.c: #include <libc-internal.h>
5495         (__openat64): Prototypify.  Use ignore_value on MODE.
5496         * io/openat.c: Likewise.
5497         * misc/reboot.c: #include <libc-internal.h>
5498         (reboot): Prototypify.  Use ignore_value on HOWTO.
5499         * misc/ptrace.c: #include <libc-internal.h>
5500         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
5502 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
5504         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
5505         XPG4, UNIX98 and XOPEN2K.
5506         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
5507         Remove variable.
5508         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5510 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5512         * libio/fileops.c: Use ISO C style for function definitions.
5513         * libio/iofopen.c: Likewise.
5514         * libio/wfileops.c: Likewise.
5516         [BZ #17653]
5517         * libio/fileops.c (_IO_new_file_underflow): Unset cached
5518         offset on EOF.
5519         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
5520         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
5521         (fgets_func): Function pointer to fgets and fgetws.
5522         (do_ftell_test): Add test to verify ftell value after read
5523         EOF.
5524         (do_test): Set fgets_func.
5526         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
5527         O_TRUNC flag for w and w+ modes.
5528         (do_rewind_test): Likewise.
5529         (do_ftell_test): Likewise.
5530         (do_write_test): Likewise.
5532         [BZ #17647]
5533         * libio/fileops.c (do_ftell): Seek only when there are
5534         unflushed writes.
5535         * libio/wfileops.c (do_ftell_wide): Likewise.
5536         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
5537         test case.
5538         (do_one_test): Call it.
5540 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
5542         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
5543         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
5544         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
5545         Remove variable.
5546         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5547         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5548         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5550 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
5552         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
5553         Remove variable.
5554         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5556         [BZ #17668]
5557         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
5558         as weak alias of __getifaddrs.  Use libc_hidden_weak.
5559         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5560         __freeifaddrs.  Use libc_hidden_weak.
5561         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
5562         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
5563         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5564         __freeifaddrs.  Use libc_hidden_weak.
5565         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
5566         __getifaddrs and define as weak alias of __getifaddrs.  Use
5567         libc_hidden_weak.
5568         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5569         __freeifaddrs.  Use libc_hidden_weak.
5570         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
5571         Remove variable.
5572         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5573         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5575 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
5577         [BZ #17601]
5578         * sysdeps/mips/start.S (__start): Use indirect jump to call
5579         __libc_start_main.
5581 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
5583         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
5585         * nptl/tst-mutex1.c: Include <stdbool.h>.
5586         [!ATTR] (ATTR_NULL): New macro.
5587         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
5588         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
5589         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
5591         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
5592         to char *.
5594         [BZ #17665]
5595         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
5596         Change conditional to [__USE_MISC].
5598         [BZ #17664]
5599         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5600         fgets_unlocked.
5601         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5602         __fgets_unlocked.
5603         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5604         fgets_unlocked.
5605         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5606         Remove variable.
5607         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5608         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5609         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5610         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5611         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5612         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5613         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5614         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5615         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5617         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5619 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5621         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5622         Remove strpbrk objects.
5623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5624         (__libc_ifunc_impl_list): Remove strpbrk implementation.
5625         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5626         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5627         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5628         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5630         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5631         Remove strcspn objects.
5632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5633         (__libc_ifunc_impl_list): Remove strcspn implementation.
5634         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5635         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5636         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5637         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
5639         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5640         Remove strspn objetcs.
5641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5642         (__libc_ifunc_impl_list): Remove strspn implementation.
5643         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5644         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5645         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5646         * sysdeps/powerpc/powerpc64/strspn.S: New file.
5648 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
5650         [BZ #17581]
5651         * malloc/hooks.c
5652         (mem2mem_check): Add a terminator to the chain of checking blocks.
5653         (malloc_check_get_size): Use it here.
5654         (mem2chunk_check): Ditto.
5656 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5658         * sysdeps/powerpc/powerpc64/strtok.S: New file.
5659         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5661 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
5663         * bits/ioctl-types.h: Indent preprocessor directives correctly.
5665         * nptl/nptl-init.c: Include libc-internal.h.
5666         (__pthread_initialize_minimal_internal): Use ROUND_UP.
5668         * elf/ldconfig.c (search_dir): Expand comment.
5670 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
5672         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5673         variable.
5674         (linknamespace-symlist-stdlibs-tests): Likewise.
5675         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5676         instead of $(objpfx)symlist-stdlibs.
5677         (linknamespace-libs-isoc): New variable.
5678         (linknamespace-libs): Use $(linknamespace-libs-isoc).
5679         (linknamespace-libs-ISO): New variable.
5680         (linknamespace-libs-ISO99): Likewise.
5681         (linknamespace-libs-ISO11): Likewise.
5682         (linknamespace-libs-XPG3): Likewise.
5683         (linknamespace-libs-XPG4): Likewise.
5684         (linknamespace-libs-POSIX): Likewise.
5685         (linknamespace-libs-UNIX98): Likewise.
5686         (linknamespace-libs-XOPEN2K): Likewise.
5687         (linknamespace-libs-POSIX2008): Likewise.
5688         (linknamespace-libs-XOPEN2K8): Likewise.
5689         ($(objpfx)symlist-stdlibs): Replace by
5690         $(linknamespace-symlist-stdlibs-tests).  Use
5691         $(linknamespace-libs-$*) as set of libraries.
5692         ($(linknamespace-header-tests)): Update dependencies.  Use
5693         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5694         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5695         * conform/linknamespace.pl: Remove comment about considering
5696         definitions of symbols from irrelevant libraries.
5698 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
5700         [BZ #13862]
5701         * elf/dl-tls.c: Include <atomic.h>.
5702         (oom): Remove #ifdef SHARED/#endif.
5703         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5704         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
5705         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5706         big enough.
5707         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5708         * nptl/Makefile (tests): Add tst-stack4.
5709         (modules-names): Add tst-stack4mod.
5710         ($(objpfx)tst-stack4): New.
5711         (tst-stack4mod.sos): Likewise.
5712         ($(objpfx)tst-stack4.out): Likewise.
5713         ($(tst-stack4mod.sos)): Likewise.
5714         (clean): Likewise.
5715         * nptl/tst-stack4.c: New file.
5716         * nptl/tst-stack4mod.c: Likewise.
5718 2014-11-27  J. Brown  <jb999@gmx.de>
5720         * sysdeps/x86/bits/string.h: Add recent CPUs.
5722 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
5724         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5725         sigblock.
5727         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5728         feof.
5730         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5731         variable.
5733 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5735         * nscd/connections.c: Include libc-internal.h because of macro
5736         usage ignore_value.
5738 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5740         * string/bits/string3.h (__warn_memset_zero_len): Don't
5741         declare for gcc newer than 5.0.
5742         (memset): Don't test for zero-length __LEN for gcc newer than
5743         5.0.
5745 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
5747         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5748         size_t for %zu format.
5750         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5751         difference, not %ju.
5753 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
5755         * include/libc-internal.h (ignore_value): New macro.
5756         * nscd/connections.c (restart): Wrap calls to setuid and setgid
5757         with ignore_value.
5759         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5760         definition.
5762         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5763         pthread_cleanup_push to void *.
5765         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5766         Undefine.
5768         [BZ #16619]
5769         [BZ #16740]
5770         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5771         instead of 1L << 52.
5773         * libio/bug-rewind.c (do_test): Check fwscanf return values.
5774         * libio/bug-rewind2.c (do_test): Likewise.
5776         * debug/test-stpcpy_chk-ifunc.c: Remove file.
5777         * debug/test-strcpy_chk-ifunc.c: Likewise.
5778         * wcsmbs/test-wcschr-ifunc.c: Likewise.
5779         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5780         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5781         * wcsmbs/test-wcslen-ifunc.c: Likewise.
5782         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5783         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5784         * Rules [$(multi-arch) = no] (tests): Do not filter out
5785         $(tests-ifunc).
5786         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5787         * debug/Makefile (tests-ifunc): Remove variable.
5788         (tests): Do not add $(tests-ifunc).
5789         * wcsmbs/Makefile (tests-ifunc): Remove variable.
5790         (tests): Do not add $(tests-ifunc).
5791         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5792         [TEST_IFUNC]: Remove conditionals.
5793         * string/test-string.h (TEST_IFUNC): Remove macro.
5794         [TEST_IFUNC]: Remove conditionals.
5796         * string/test-strchr.c [!WIDE] (L): New macro.
5797         [WIDE] (L): Likewise.
5798         (check1): Use CHAR instead of char.  Use L on string and character
5799         constants.
5801 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
5803         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5804         tests.
5805         * sysdeps/powerpc/bits/atomic.h
5806         (__arch_atomic_exchange_and_add_32_acq): Add definition.
5807         (__arch_atomic_exchange_and_add_32_rel): Likewise.
5808         (atomic_exchange_and_add_acq): Likewise.
5809         (atomic_exchange_and_add_rel): Likewise.
5810         * sysdeps/powerpc/powerpc32/bits/atomic.h
5811         (__arch_atomic_exchange_and_add_64_acq): Add definition.
5812         (__arch_atomic_exchange_and_add_64_rel): Likewise.
5813         * sysdeps/powerpc/powerpc64/bits/atomic.h
5814         (__arch_atomic_exchange_and_add_64_acq): Add definition.
5815         (__arch_atomic_exchange_and_add_64_rel): Likewise.
5817 2014-11-26  Torvald Riegel  <triegel@redhat.com>
5819         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5820         Change synchronization of __sched_fifo_min_prio and
5821         __sched_fifo_max_prio.
5822         * nptl/pthread_mutexattr_getprioceiling.c
5823         (pthread_mutexattr_getprioceiling): Likewise.
5824         * nptl/pthread_mutexattr_setprioceiling.c
5825         (pthread_mutexattr_setprioceiling): Likewise.
5826         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5827         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5828         Likewise.
5830 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
5832         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5833         void.
5835 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
5837         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5838         third argument const.
5840 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
5842         fnmatch: work around GCC compiler warning bug with uninit var
5843         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5844         This works around a bug with x86-64 GCC 4.9.2 and earlier
5845         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5846         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5847         used uninitialized in this function [-Wmaybe-uninitialized]".
5849 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
5851         * posix/bug-regex31.c (main): Return RES not 0.
5853 2014-11-25  Anton Blanchard <anton@samba.org>
5855         * sysdeps/powerpc/bits/atomic.h
5856         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5858 2014-11-24  Sterling Augustine  <saugustine@google.com>
5860         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5862 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
5864         [BZ #17608]
5865         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5867 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
5869         [BZ #17633]
5870         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5871         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5872         variable.
5873         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5874         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5876 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
5878         * string/strncpy.c (strncpy): Improve performance by using memset.
5880 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
5882         * string/strcpy.c (strcpy):
5883         Improve performance by using strlen and memcpy.
5885 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
5887         * string/strcoll_l.c (get_next_seq): __always_inline.
5888         * string/strcoll_l.c (do_compare): __always_inline.
5890 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5892         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5893         defined.
5894         * include/mqueue.h: Likewise.
5895         * include/stdlib.h: Likewise.
5897         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5898         (get_null_defines): Adjust.
5899         * sunrpc/Makefile: Adjust comment.
5900         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5901         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5902         (CFLAGS-interp.c): Likewise.
5903         (CFLAGS-ldconfig.c): Likewise.
5904         (CPPFLAGS-.os): Likewise.
5905         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5906         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5907         * extra-modules.mk (extra-modules.mk): Likewise.
5908         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5909         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5910         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5911         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5912         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5913         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5914         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5915         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5916         * iconvdata/Makefile (CPPFLAGS): Likewise.
5917         (cpp-srcs-left): Add libof for all iconvdata routines.
5918         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5919         * include/assert.h: Likewise.
5920         * include/ctype.h: Likewise.
5921         * include/errno.h: Likewise.
5922         * include/libc-symbols.h: Likewise.
5923         * include/math.h: Likewise.
5924         * include/netdb.h: Likewise.
5925         * include/resolv.h: Likewise.
5926         * include/stdio.h: Likewise.
5927         * include/stdlib.h: Likewise.
5928         * include/string.h: Likewise.
5929         * include/sys/stat.h: Likewise.
5930         * include/wctype.h: Likewise.
5931         * intl/l10nflist.c: Likewise.
5932         * libidn/idn-stub.c: Likewise.
5933         * libio/libioP.h: Likewise.
5934         * nptl/libc_multiple_threads.c: Likewise.
5935         * nptl/pthreadP.h: Likewise.
5936         * posix/regex_internal.h: Likewise.
5937         * resolv/res_hconf.c: Likewise.
5938         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5939         * sysdeps/arm/memmove.S: Likewise.
5940         * sysdeps/arm/sysdep.h: Likewise.
5941         * sysdeps/generic/_itoa.h: Likewise.
5942         * sysdeps/generic/symbol-hacks.h: Likewise.
5943         * sysdeps/gnu/errlist.awk: Likewise.
5944         * sysdeps/gnu/errlist.c: Likewise.
5945         * sysdeps/i386/i586/memcpy.S: Likewise.
5946         * sysdeps/i386/i586/memset.S: Likewise.
5947         * sysdeps/i386/i686/memcpy.S: Likewise.
5948         * sysdeps/i386/i686/memmove.S: Likewise.
5949         * sysdeps/i386/i686/mempcpy.S: Likewise.
5950         * sysdeps/i386/i686/memset.S: Likewise.
5951         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5952         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5953         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5954         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5955         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5956         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5957         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5958         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5959         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5960         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5961         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5962         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5963         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5964         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5965         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5966         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5967         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5968         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5969         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5970         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5971         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5972         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5973         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5974         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5975         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5976         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5977         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5978         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5979         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5980         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5981         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5982         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5983         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5984         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5985         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5986         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5987         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5988         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5989         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5990         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5991         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5992         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5993         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5994         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5995         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5996         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5997         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5998         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5999         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6000         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6001         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6002         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6003         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6004         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6005         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6006         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6007         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6008         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6009         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6010         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6011         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6012         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6013         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6014         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6015         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6016         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6017         * sysdeps/posix/closedir.c: Likewise.
6018         * sysdeps/posix/opendir.c: Likewise.
6019         * sysdeps/posix/readdir.c: Likewise.
6020         * sysdeps/posix/rewinddir.c: Likewise.
6021         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6022         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6023         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6024         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6025         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6026         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6027         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6028         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6029         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6030         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6031         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6032         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6033         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6034         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6035         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6036         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6037         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6038         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6039         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6040         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6041         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6042         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6043         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6044         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6045         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6046         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6047         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6048         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6049         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6051         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6053         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6054         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6056         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6057         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6058         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6059         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6060         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6061         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6062         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6063         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6064         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6065         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6066         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6067         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6068         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6069         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6070         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6071         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6072         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6073         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6074         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6075         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6076         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6077         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6078         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6079         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6080         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6081         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6082         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6083         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
6084         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
6085         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
6086         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6087         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
6088         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
6089         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
6090         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
6091         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6092         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
6093         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
6094         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
6095         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
6096         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
6097         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
6098         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
6099         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6100         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
6101         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
6102         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6103         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
6104         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
6105         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6106         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
6107         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
6108         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
6109         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
6110         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6111         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
6112         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
6113         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
6114         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6115         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6116         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
6117         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6118         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6119         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
6120         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
6121         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6122         * sysdeps/unix/alpha/sysdep.S: Likewise.
6123         * sysdeps/unix/alpha/sysdep.h: Likewise.
6124         * sysdeps/unix/make-syscalls.sh: Likewise.
6125         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6126         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6127         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6128         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6129         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6130         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6131         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
6132         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6133         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6134         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
6135         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6136         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6137         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6138         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6139         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6140         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6141         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6142         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6143         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6144         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6145         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6146         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6147         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6148         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6149         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6150         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6151         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6154         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
6155         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6157         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6158         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6159         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6160         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6161         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6162         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6163         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6164         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6165         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6166         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6167         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6168         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6169         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6170         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6171         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6172         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6173         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6174         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6175         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6176         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6177         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6178         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6179         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
6180         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6181         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6182         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6183         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
6184         * sysdeps/x86_64/memcpy.S: Likewise.
6185         * sysdeps/x86_64/memmove.c: Likewise.
6186         * sysdeps/x86_64/memset.S: Likewise.
6187         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
6188         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6189         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6190         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
6191         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6192         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6193         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6194         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6195         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6196         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6197         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6198         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6199         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
6200         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6201         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6202         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
6203         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6204         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6205         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6206         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6207         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
6208         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6209         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6210         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6211         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6212         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6213         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6214         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
6215         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6216         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6217         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
6218         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6219         * sysdeps/x86_64/strcmp.S: Likewise.
6221         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
6223         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
6224         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
6225         * elf/rtld-Rules: Likewise.
6226         * elf/setup-vdso.h: Likewise.
6227         * include/assert.h: Likewise.
6228         * include/bits/stdlib-float.h: Likewise.
6229         * include/errno.h: Likewise.
6230         * include/sys/stat.h: Likewise.
6231         * include/unistd.h: Likewise.
6232         * sysdeps/aarch64/setjmp.S: Likewise.
6233         * sysdeps/alpha/setjmp.S: Likewise.
6234         * sysdeps/arm/__longjmp.S: Likewise.
6235         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
6236         * sysdeps/arm/setjmp.S: Likewise.
6237         * sysdeps/arm/sysdep.h: Likewise.
6238         * sysdeps/generic/_itoa.h: Likewise.
6239         * sysdeps/generic/dl-sysdep.h: Likewise.
6240         * sysdeps/generic/ldsodefs.h: Likewise.
6241         * sysdeps/i386/dl-tls.h: Likewise.
6242         * sysdeps/i386/setjmp.S: Likewise.
6243         * sysdeps/m68k/setjmp.c: Likewise.
6244         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
6245         * sysdeps/mach/hurd/opendir.c: Likewise.
6246         * sysdeps/posix/getcwd.c: Likewise.
6247         * sysdeps/posix/opendir.c: Likewise.
6248         * sysdeps/posix/profil.c: Likewise.
6249         * sysdeps/powerpc/dl-procinfo.h: Likewise.
6250         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6251         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6252         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6253         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6254         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
6255         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6256         * sysdeps/s390/dl-tls.h: Likewise.
6257         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6258         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6259         * sysdeps/sh/sh3/setjmp.S: Likewise.
6260         * sysdeps/sh/sh4/setjmp.S: Likewise.
6261         * sysdeps/unix/alpha/sysdep.h: Likewise.
6262         * sysdeps/unix/arm/sysdep.S: Likewise.
6263         * sysdeps/unix/i386/sysdep.S: Likewise.
6264         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6265         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6266         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6267         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6268         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6269         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
6270         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6271         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6272         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
6273         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
6274         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6275         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6276         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6279         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6280         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6281         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6282         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6283         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6284         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6285         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6286         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6287         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6288         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6289         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6290         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6291         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6292         * sysdeps/x86_64/setjmp.S: Likewise.
6294         * include/math.h: Use IS_IN instead of IS_IN_libm.
6295         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
6296         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6297         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6298         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6299         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6300         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6301         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6302         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6303         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6304         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6305         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
6306         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
6307         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
6308         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
6309         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
6310         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
6311         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
6312         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
6313         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
6314         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
6315         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
6316         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
6317         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
6318         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
6319         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
6320         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6321         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
6322         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
6323         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
6324         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
6325         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
6326         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6327         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
6329         Likewise.
6330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
6331         Likewise.
6332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
6333         Likewise.
6334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
6335         Likewise.
6336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
6337         Likewise.
6338         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6339         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
6340         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6341         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6342         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6343         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
6345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
6346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
6347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
6348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
6349         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
6350         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
6351         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6352         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6353         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
6354         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6355         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6356         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
6357         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6358         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
6359         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
6360         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
6361         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
6362         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
6363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
6364         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
6366         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
6367         * nptl/pthreadP.h: Likewise.
6368         * nptl_db/structs.def: Likewise.
6369         * sysdeps/arm/sysdep.h: Likewise.
6370         * sysdeps/nptl/bits/libc-lock.h: Likewise.
6371         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6372         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
6373         * sysdeps/unix/alpha/sysdep.h: Likewise.
6374         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6375         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6376         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6377         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6378         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6379         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6380         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6381         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6382         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6383         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6384         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6385         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6386         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6387         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
6389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
6390         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6391         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6392         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6393         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6394         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6395         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6396         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6397         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6398         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
6399         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6401         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
6402         * nptl/pthreadP.h: Likewise.
6403         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6404         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
6405         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
6406         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
6407         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
6408         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
6409         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6410         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
6411         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
6412         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
6413         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
6414         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
6415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6416         Likewise.
6417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6418         Likewise.
6419         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
6420         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
6421         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
6422         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
6423         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
6424         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
6425         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
6426         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
6428         * dlfcn/dladdr.c: Use IS_IN.
6429         * dlfcn/dladdr1.c: Likewise.
6430         * dlfcn/dlclose.c: Likewise.
6431         * dlfcn/dlerror.c: Likewise.
6432         * dlfcn/dlinfo.c: Likewise.
6433         * dlfcn/dlmopen.c: Likewise.
6434         * dlfcn/dlopen.c: Likewise.
6435         * dlfcn/dlsym.c: Likewise.
6436         * dlfcn/dlvsym.c: Likewise.
6438         * include/ifaddrs.h: Use IS_IN.
6439         * inet/check_pf.c: Likewise.
6440         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6441         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
6443         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
6444         IS_IN_ldconfig.
6445         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
6446         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
6448         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
6449         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
6450         IS_IN (libc).
6452         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
6454         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
6455         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6456         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6457         * include/libc-symbols.h (IS_IN_LIB): New macro.
6458         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
6459         * include/netdb.h: Likewise.
6460         * include/stap-probe.h: Remove all uses of IN_LIB.
6462         * Makeconfig (module-cppflags-real): Define MODULE_NAME
6463         instead of IN_MODULE.
6464         * include/libc-symbols.h (IN_MODULE): Define using
6465         MODULE_NAME.
6466         (PASTE_NAME, PASTE_NAME1): New macros.
6467         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
6468         of IN_LIB.
6469         (STAP_PROBE_ASM): Likewise.
6471 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6473         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
6474         __mach_init in dlopened libc.
6476 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
6478         * sysdeps/arm/preconfigure.ac: Delete EABI check.
6479         * sysdeps/arm/preconfigure: Regenerate.
6481 2014-11-21  Roland McGrath  <roland@hack.frob.com>
6483         * nptl/pthread_create.c (__pthread_create_2_1): Set
6484         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
6485         when copying values from IATTR into PD.
6487 2014-11-21  Will Newton  <will.newton@linaro.org>
6488             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6490         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
6491         Refactor inline-asm.  Also add comment.
6493         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
6494         ElfW macro instead of hardcoded Elf64 types.
6495         (la_aarch64_gnu_pltenter): Likewise.
6496         * sysdeps/aarch64/dl-machine.h
6497         (elf_machine_runtime_setup): Use ElfW(Addr).
6499         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
6500         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
6501         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
6502         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
6503         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
6504         (R_AARCH64_TLS_DTPMOD64): Rename to ..
6505         (R_AARCH64_TLS_DTPMOD): This.
6506         (R_AARCH64_TLS_DTPREL64): Rename to ...
6507         (R_AARCH64_TLS_DTPREL): This.
6508         (R_AARCH64_TLS_TPREL64): Rename to ...
6509         (R_AARCH64_TLS_TPREL): This.
6510         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
6511         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
6512         R_AARCH64_TLS_TPREL64.
6513         (elf_machine_rela): Likewise.
6515 2014-11-21  Torvald Riegel  <triegel@redhat.com>
6517         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
6518         by setting it to 0.  64b atomics are not supported currently.
6520 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6522         [BZ #16469]
6523         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
6524         search domain names.
6526 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6528         [BZ #16469]
6529         * NEWS: Update.
6530         * resolv/res_query.c (__libc_res_nquerydomain): Retain
6531         trailing dot.
6532         * posix/tst-getaddrinfo5.c: New.
6533         * posix/Makefile (tests): Add it.
6535 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6537         [BZ #14498]
6538         * NEWS: Fixed.
6539         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
6540         after parsing line but before break_if_match.
6541         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
6542         if there is a protocol mismatch.
6544 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
6546         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
6547         because the potential race is on the user-supplied stream.
6549 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6551         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
6552         string literal if not passed a buffer.
6553         * manual/job.texi (ctermid): Update reasoning, note deviation
6554         from posix, suggest mtasurace when not passed a buffer, for
6555         future non-preliminary safety notes.
6557 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6559         * manual/users.texi (cuserid): Fix MT-Safety note for the case
6560         of not passing it a buffer.
6561         Reported by Peng Haitao.
6563 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
6565         * manual/Makefile ($(objpfx)stamp-summary): Require
6566         check-safety.sh to pass.
6567         * manual/check-safety.sh: Wish for verification that every
6568         @deftypefn and @deftypefun is followed by a @safety remark.
6570 2014-11-20  Roland McGrath  <roland@hack.frob.com>
6572         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
6574         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
6575         PTHREAD_CANCEL_ASYNCHRONOUS.
6576         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
6577         send SIGCANCEL.
6579         * nptl/default-sched.h: New file.
6580         * sysdeps/unix/sysv/linux/default-sched.h: New file.
6581         * nptl/pthread_create.c: Include it.
6582         (__pthread_create_2_1): Use collect_default_sched instead of making
6583         Linux syscalls here directly.
6585 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6587         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
6588         __pthread_once): Use C11 atomics.
6590 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6592         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
6594 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6596         * include/atomic.h (__atomic_link_error, __atomic_check_size,
6597         atomic_thread_fence_acquire, atomic_thread_fence_release,
6598         atomic_thread_fence_seq_cst, atomic_load_relaxed,
6599         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6600         atomic_compare_exchange_weak_relaxed,
6601         atomic_compare_exchange_weak_acquire,
6602         atomic_compare_exchange_weak_release,
6603         atomic_exchange_acquire, atomic_exchange_release,
6604         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6605         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6606         atomic_fetch_and_acquire,
6607         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6609 2014-11-20  Torvald Riegel  <triegel@redhat.com>
6611         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6612         USE_ATOMIC_COMPILER_BUILTINS): Define.
6613         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6614         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6615         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6617         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6618         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6619         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6620         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6621         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6622         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6623         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6624         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6625         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6626         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6627         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6628         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6629         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6630         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6631         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6632         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6633         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6634         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6635         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6636         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6637         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6638         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6639         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6640         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6641         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6642         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6643         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6644         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6645         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6646         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6647         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6648         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6649         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6650         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6651         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6652         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6654 2014-11-19  Roland McGrath  <roland@hack.frob.com>
6656         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6657         the sched_priority value here.  It was already checked when the user
6658         called pthread_attr_setschedparam.
6660         * nptl/tst-bad-schedattr.c: New file.
6661         * nptl/Makefile (tests): Add it.
6663 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
6664             Florian Weimer  <fweimer@redhat.com>
6665             Joseph Myers  <joseph@codesourcery.com>
6666             Adam Conrad  <adconrad@0c3.net>
6667             Andreas Schwab  <schwab@suse.de>
6668             Brooks  <bmoses@google.com>
6670         [BZ #17625]
6671         * wordexp-test.c (__dso_handle): Add prototype.
6672         (__register_atfork): Likewise.
6673         (__app_register_atfork): New function.
6674         (registered_forks): New global.
6675         (register_fork): New function.
6676         (test_case): Add 3 new tests for WRDE_CMDSUB.
6677         (main): Call __app_register_atfork.
6678         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6679         fork count is non-zero fail the test.
6680         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6681         is set.
6682         (parse_dollars): Remove check for WRDE_NOCMD.
6683         (parse_dquote): Likewise.
6685 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6687         * Makeconfig (built-modules): List non-library modules to be
6688         built.
6689         (module-cppflags): Include libc-modules.h for
6690         everything except shlib-versions.v.i.
6691         (CPPFLAGS): Use it.
6692         (before-compile): Add libc-modules.h.
6693         ($(common-objpfx)libc-modules.h,
6694         $(common-objpfx)libc-modules.stmp): New targets.
6695         (common-generated): Add libc-modules.h and libc-modules.stmp.
6696         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6697         * include/libc-symbols.h: Don't include libc-modules.h.
6698         * include/libc-modules.h: Remove file.
6699         * scripts/gen-libc-modules.awk: New script to generate
6700         libc-modules.h.
6701         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6702         Depend on libc-modules.stmp.
6704         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6706         * Makeconfig (in-module): Get value of libof set for the
6707         translation unit.
6708         (CPPFLAGS): Use $(in-module).
6709         * Makerules: Don't suffix routine names for nonlib.
6710         * include/libc-modules.h: New file.
6711         * include/libc-symbols.h: Include libc-modules.h
6712         (IS_IN): New macro to replace IS_IN_* macros.
6713         * elf/Makefile: Set libof-* for each routine.
6714         * elf/rtld-Rules: Likewise.
6715         * extra-modules.mk: Likewise.
6716         * iconv/Makefile: Likewise.
6717         * iconvdata/Makefile: Likewise.
6718         * locale/Makefile: Likewise.
6719         * malloc/Makefile: Likewise.
6720         * nss/Makefile: Likewise.
6721         * sysdeps/gnu/Makefile: Likewise.
6722         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6723         * sysdeps/unix/sysv/linux/Makefile: Likewise.
6724         * sysdeps/s390/s390-64/Makefile: Likewise.
6725         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
6726         CPPFLAGS for nscd instead of nonlib.
6728 2014-11-18  Roland McGrath  <roland@hack.frob.com>
6730         * nptl/createthread.c: New file.
6732         * nptl/createthread.c: Moved ...
6733         * sysdeps/unix/sysv/linux/createthread.c: ... here.
6735         * nptl/createthread.c: Add proper top-line comment.
6736         (do_clone): Folded into ...
6737         (create_thread): ... here.  Take new arguments STOPPED_START and
6738         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
6739         increment __nptl_threads, do event-reporting logic, do
6740         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6741         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
6742         resource cleanup if sched_setaffinity or sched_setscheduler fails,
6743         just send SIGCANCEL.
6744         * nptl/pthread_create.c: Forward-declare create_thread before
6745         including createthread.c.
6746         (start_thread): Use new macro START_THREAD_DEFN to replace defining
6747         declaration, and new macro START_THREAD_SELF to replace argument.
6748         Remove return statement.
6749         (report_thread_creation): New function.
6750         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
6751         synchronization logic, and __nptl_nthreads increment here, around
6752         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
6753         PD->parent_cancelhandling here, before create_thread.  When
6754         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6755         __deallocate_stack, and ENOMEM translation here.
6757 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
6759         [BZ #17616]
6760         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6761         (mptwo): Rename to __mptwo.
6762         (__inv): Use __mptwo instead of mptwo.
6763         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6764         (mptwo): Rename to __mptwo.
6765         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6766         of mpone and __mptwo instead of mptwo.
6767         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6768         instead of mpone.
6769         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6770         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6771         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6772         of mpone and __mptwo instead of mptwo.
6773         (__mpranred): Use __mpone instead of mpone.
6774         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6775         variable.
6776         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6777         (test-xfail-ISO99/math.h/linknamespace): Likewise.
6778         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6779         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6780         (test-xfail-ISO11/math.h/linknamespace): Likewise.
6781         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6782         (test-xfail-XPG3/math.h/linknamespace): Likewise.
6783         (test-xfail-XPG4/math.h/linknamespace): Likewise.
6784         (test-xfail-POSIX/math.h/linknamespace): Likewise.
6785         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6786         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6787         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6788         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6789         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6790         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6791         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6792         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6793         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6794         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6796 2014-11-18  Tom de Vries  <tom@codesoucery.com>
6798         * manual/signal.texi (Primitives Interrupted by Signals): In section,
6799         replace BSD Handler xref with BSD Signal Handling.
6801 2014-11-17  Richard Henderson  <rth@redhat.com>
6803         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6804         (_FP_PACK_RAW_2): Remove.
6805         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6806         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6807         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6808         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6809         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6810         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6811         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6812         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6813         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6814         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6815         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6816         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6817         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6818         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6819         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6820         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6822 2014-11-14  Roland McGrath  <roland@hack.frob.com>
6824         * signal/signal.h [__USE_MISC]
6825         (struct sigvec): Remove type.
6826         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6827         (sigvec): Remove declaration.
6828         * sysdeps/posix/sigvec.c: Moved ...
6829         * signal/sigvec.c: ... here, replacing old file.
6830         (struct sigvec): New type, copied from old signal.h definition.
6831         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6832         (__sigvec): Convert definition to prototype.
6833         (sigvec): Replace weak_alias with compat_symbol.
6834         * signal/Versions (libc: GLIBC_2.21): New version set.
6835         * include/signal.h: Remove __sigvec declaration.
6836         * sysdeps/unix/bsd/sigvec.c: Remove file.
6837         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6838         * manual/signal.texi (BSD Handler): Remove subsection.
6839         Move siginterrupt up to ...
6840         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
6841         (Blocking in BSD): Fold subsection into its parent.
6842         * NEWS: Mention sigvec removal.
6844 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
6846         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6847         (DLA_FMS): Make definition conditional only on [__FMA4__].
6848         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6849         definition.
6851         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6852         Make definition conditional only on [PROF].
6853         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6854         definition.
6855         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6856         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6858         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6859         !__GNUC__].
6860         * include/signal.h (__sigpause): Move declaration above call to
6861         libc_hidden_proto.
6862         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6863         variable.
6864         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6865         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6867 2014-11-14  David S. Miller  <davem@davemloft.net>
6869         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6870         Define before including <string/memcpy.c> and <string/mempcpy.c>.
6872 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
6874         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6875         * configure: Regenerated.
6876         * manual/install.texi (Tools for Compilation): Document a
6877         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6878         compiler verified to work.
6879         * INSTALL: Regenerated.
6881         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6882         redeclare with asm name.
6883         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6884         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6885         including <string.h>.
6886         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6887         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6888         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6889         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6890         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6891         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6892         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6894 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
6896         * stdlib/strtol.c (__strtol): Use prototype definition.
6898         [BZ #17594]
6899         * stdlib/strtol.c (SYM__): New macro.
6900         (SYM__1): Likewise.
6901         (__strtol): Likewise.
6902         (strtol): Rename to __strtol and define as weak alias of
6903         __strtol.  Use libc_hidden_weak.
6905 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6907         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6908         Use numbered labels in inline assembly.
6910 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6912         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6913         Add setjmp LIBC_PROBE.
6914         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6915         Likewise.
6916         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6917         Add longjmp, longjmp_target LIBC_PROBE.
6918         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6919         Likewise.
6921 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6923         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6924         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6925         to get rid of unused variable warning.
6927 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
6929         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6930         Check for unwind_backtrace ==  NULL only in SHARED case.
6931         (__backchain_backtrace): Compile only in SHARED case.
6932         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6933         Likewise.
6934         (__backchain_backtrace): Declare as static.
6936 2014-11-12  Roland McGrath  <roland@hack.frob.com>
6938         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6939         (__libc_multiple_threads_ptr): Variable moved ...
6940         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6942 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
6944         * conform/GlibcConform.pm: New file.
6945         * conform/conformtest.pl: Use GlibcConform module.
6946         * conform/linknamespace.pl: New file.
6947         * conform/list-header-symbols.pl: Likewise.
6948         * conform/Makefile (linknamespace-symlists-base): New variable.
6949         (linknamespace-symlists-tests): Likewise.
6950         (linknamespace-header-base): Likewise.
6951         (linknamespace-header-tests): Likewise.
6952         (tests-special): Add new tests.
6953         ($(linknamespace-symlists-tests)): New rule.
6954         (linknamespace-libs): New variable.
6955         ($(objpfx)symlist-stdlibs): New rule.
6956         ($(linknamespace-header-tests)): Likewise.
6957         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6958         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6959         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6960         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6961         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6962         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6963         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6964         (test-xfail-ISO/math.h/linknamespace): Likewise.
6965         (test-xfail-ISO/signal.h/linknamespace): Likewise.
6966         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6967         (test-xfail-ISO/time.h/linknamespace): Likewise.
6968         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6969         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6970         (test-xfail-ISO99/math.h/linknamespace): Likewise.
6971         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6972         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6973         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6974         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6975         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6976         (test-xfail-ISO11/math.h/linknamespace): Likewise.
6977         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6978         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6979         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6980         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6981         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6982         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6983         (test-xfail-XPG3/math.h/linknamespace): Likewise.
6984         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6985         (test-xfail-XPG3/search.h/linknamespace): Likewise.
6986         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6987         (test-xfail-XPG3/time.h/linknamespace): Likewise.
6988         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6989         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6990         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6991         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6992         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6993         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6994         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6995         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6996         (test-xfail-XPG4/math.h/linknamespace): Likewise.
6997         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6998         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6999         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7000         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7001         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7002         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7003         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7004         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7005         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7006         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7007         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7008         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7009         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7010         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7011         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7012         (test-xfail-POSIX/math.h/linknamespace): Likewise.
7013         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7014         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7015         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7016         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7017         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7018         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7019         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7020         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7021         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7022         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7023         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7024         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7025         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7026         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7027         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7028         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7029         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7030         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7031         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7032         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7033         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7034         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7035         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7036         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7037         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7038         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7039         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7040         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7041         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7042         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7043         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7044         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7045         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7046         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7047         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7048         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7049         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7050         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7051         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7052         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7053         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7054         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7055         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7056         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7057         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7058         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7059         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7060         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7061         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7062         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7063         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7064         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7065         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7066         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7067         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7068         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7069         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7070         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7071         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7072         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7073         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7074         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7075         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7076         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7077         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7078         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7079         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7080         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7081         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7082         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7083         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
7084         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7085         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
7086         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7087         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7088         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
7089         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7090         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7091         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7092         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7093         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7094         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
7095         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7096         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7097         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7098         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
7099         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
7100         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
7101         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7102         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7103         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
7104         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7105         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
7106         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7107         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
7108         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7109         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7110         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7111         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7112         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7113         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7114         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
7115         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7116         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7117         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7119         [BZ #17589]
7120         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
7121         of fgets_unlocked.
7123         [BZ #17585]
7124         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
7125         (memmem): Rename to __memmem and define as weak alias of
7126         __memmem.  Use libc_hidden_weak.
7127         (__memmem): Use libc_hidden_def.
7128         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
7129         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
7130         memmem.
7132         [BZ #17582]
7133         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
7134         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
7135         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
7136         and define as weak alias of __fgets_unlocked.  Use
7137         libc_hidden_weak.
7138         (__fgets_unlocked): Use libc_hidden_def.
7139         * include/stdio.h (__fgets_unlocked): Declare.  Use
7140         libc_hidden_proto.
7141         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
7142         __fgets_unlocked instead of fgets_unlocked.
7143         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
7144         (GET_NPROCS_CONF_PARSER): Likewise.
7145         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
7146         (GET_NPROCS_CONF_PARSER): Likewise.
7148         [BZ #17574]
7149         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
7150         weak alias of __wmemset.  Use libc_hidden_weak.
7151         (__wmemset): Use libc_hidden_def.
7152         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
7153         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
7154         of wmemset.
7156         [BZ #17573]
7157         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
7158         with asm name __mempcpy.
7159         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
7161         [BZ #17572]
7162         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
7163         and define as weak alias of __rawmemchr.
7164         (__rawmemchr): Do not define as strong alias of rawmemchr.
7166         [BZ #17571]
7167         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
7168         alias of __qsort_r.
7169         (qsort): Call __qsort_r instead of qsort_r.
7170         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
7171         (__qsort_r): Declare.  Call libc_hidden_proto.
7172         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
7173         instead of qsort_r.
7174         * nscd/gai.c (__qsort_r): Define to qsort_r.
7175         * posix/tst-rfc3484.c (__qsort_r): Likewise.
7176         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
7177         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
7179         [BZ #17570]
7180         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
7181         define as weak alias of __malloc_info.
7183         [BZ #17584]
7184         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
7185         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7186         (__rewinddir): Use libc_hidden_def.
7187         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
7188         as weak alias of __rewinddir.  Don't use libc_hidden_def.
7189         (__rewinddir): Use libc_hidden_def.
7190         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
7191         weak alias of __rewinddir.  Don't use libc_hidden_def.
7192         (__rewinddir): Use libc_hidden_def.
7193         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
7194         (__rewinddir): Use libc_hidden_proto.
7195         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
7196         rewinddir.
7197         (__getcwd): Use __rewinddir instead of rewinddir.
7199         [BZ #17583]
7200         * libio/fileno.c (fileno): Rename to __fileno and define as weak
7201         alias of __fileno.  Use libc_hidden_weak.
7202         (__fileno): Use libc_hidden_def.
7203         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
7204         * libio/ftello.c (ftello): Rename to __ftello and define as weak
7205         alias of __ftello.
7206         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
7207         __ftello.
7208         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
7209         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
7210         libc_hidden_def.
7211         (fread_unlocked): Don't use libc_hidden_ver.
7212         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
7213         and define as weak alias of __fread_unlocked.  Don't use
7214         libc_hidden_def.
7215         (__fread_unlocked): Use libc_hidden_def.
7216         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
7217         (ftello): Don't use libc_hidden_proto.
7218         (__ftello): Declare.  Use libc_hidden_proto.
7219         (fread_unlocked): Don't use libc_hidden_proto.
7220         (__fread_unlocked): Declare.  Use libc_hidden_proto.
7221         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
7222         and __ftello instead of fileno, fread_unlocked and ftello.
7224 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7226         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
7227         GOT12.
7228         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7229         Likewise.
7230         (_dl_start_user): Likewise.
7231         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
7233 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
7234             Siddhesh Poyarekar  <siddhesh@redhat.com>
7236         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
7237         Move argv and envp down instead of moving argc up.
7238         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
7240 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
7242         [BZ #17506]
7243         * test-skeleton.c (main): Return successful if one of
7244         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
7245         * string/tst-strcoll-overflow.c: Define expected status.
7247 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
7249         [BZ #17475]
7250         * locale/iso-639.def: Define Bhili and Tulu language codes.
7252 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
7254         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
7256 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
7258         [BZ #17555]
7259         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
7261 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
7263         * configure.ac: Updated check of minimal required version to
7264         2.22.
7265         * manual/install.texi (Tools for Compilation): Updated version
7266         number.
7267         * configure: Regenerated.
7268         * INSTALL: Likewise.
7270 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
7272         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
7273         __tls_get_addr.
7275 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
7277         * include/sys/wait.h (__libc_waitpid): Remove declaration.
7278         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
7279         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7280         libc_hidden_weak.
7281         (waitpid): Define as alias of __waitpid.
7282         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
7283         __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/sysv/linux/i386/syscalls.list (waitpid): Remove
7288         __libc_waitpid alias.
7289         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
7290         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
7291         Likewise.
7292         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
7293         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
7294         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
7295         alias.
7296         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
7297         __waitpid.
7298         (__waitpid): Don't define as alias.  Use libc_hidden_def not
7299         libc_hidden_weak.
7300         (waitpid): Define as alias of __waitpid.
7302 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
7304         * manual/llio.texi: Add comment that write safety has been
7305         fixed in Linux.
7307         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7308         (localplt-build-dso): Add elf/ld.so.
7309         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
7310         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
7311         and free for ld.so.
7312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
7313         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
7314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
7315         Likewise.
7316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7317         Likewise.
7318         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
7319         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
7320         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
7321         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
7322         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
7323         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
7324         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
7325         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
7326         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
7327         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
7328         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7330 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
7332         [BZ #14132]
7333         * include/libc-symbols.h (INTUSE): Remove macro.
7334         (INTDEF): Likewise.
7335         (INTVARDEF): Likewise.
7336         (_INTVARDEF): Likewise.
7337         (INTDEF2): Likewise.
7338         (INTVARDEF2): Likewise.
7339         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
7340         rtld_hidden_def instead of INTVARDEF.
7341         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
7342         (_dl_starting_up_internal): Remove declaration.
7343         (_dl_starting_up): Use rtld_hidden_proto.
7344         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
7345         declaration.
7346         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
7347         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
7348         _dl_starting_up.
7349         * elf/dl-writev.h (_dl_writev): Likewise.
7350         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
7351         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
7352         _dl_starting_up_internal.
7354 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7356         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
7357         test-skeleton.c.
7359 2014-11-05  Will Newton  <will.newton@linaro.org>
7361         * benchtests/Makefile: (bench-malloc): Add malloc thread
7362         scalability benchmark.
7363         * benchtests/bench-malloc-threads.c: New file.
7365 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
7367         * sysdeps/aarch64/strchrnul.S: New file.
7369 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7371         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
7372         definition.
7373         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7374         Likwise.
7375         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7376         Likewise.
7377         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7378         Likewise.
7379         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7380         Likewise.
7381         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7382         Likewise.
7384 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
7386         * catgets/test-gencat.c: Use test-skeleton.c.
7387         * catgets/tst-catgets.c: Likewise.
7388         * csu/tst-empty.c: Likewise.
7389         * elf/tst-audit2.c: Likewise.
7390         * elf/tst-global1.c: Likewise.
7391         * elf/tst-pathopt.c: Likewise.
7392         * elf/tst-piemod1.c: Likewise.
7393         * elf/tst-tls10.c: Likewise.
7394         * elf/tst-tls11.c: Likewise.
7395         * elf/tst-tls12.c: Likewise.
7396         * gnulib/tst-gcc.c: Likewise.
7397         * iconvdata/tst-e2big.c: Likewise.
7398         * iconvdata/tst-loading.c: Likewise.
7399         * iconv/tst-iconv1.c: Likewise.
7400         * iconv/tst-iconv2.c: Likewise.
7401         * inet/test-inet6_opt.c: Likewise.
7402         * inet/tst-gethnm.c: Likewise.
7403         * inet/tst-network.c: Likewise.
7404         * inet/tst-ntoa.c: Likewise.
7405         * intl/tst-codeset.c: Likewise.
7406         * intl/tst-gettext2.c: Likewise.
7407         * intl/tst-gettext3.c: Likewise.
7408         * intl/tst-ngettext.c: Likewise.
7409         * intl/tst-translit.c: Likewise.
7410         * io/test-stat.c: Likewise.
7411         * libio/test-fmemopen.c: Likewise.
7412         * libio/tst-freopen.c: Likewise.
7413         * libio/tst-sscanf.c: Likewise.
7414         * libio/tst-ungetwc1.c: Likewise.
7415         * libio/tst-ungetwc2.c: Likewise.
7416         * libio/tst-widetext.c: Likewise.
7417         * localedata/tst-ctype.c: Likewise.
7418         * localedata/tst-digits.c: Likewise.
7419         * localedata/tst-leaks.c: Likewise.
7420         * localedata/tst-mbswcs1.c: Likewise.
7421         * localedata/tst-mbswcs2.c: Likewise.
7422         * localedata/tst-mbswcs3.c: Likewise.
7423         * localedata/tst-mbswcs4.c: Likewise.
7424         * localedata/tst-mbswcs5.c: Likewise.
7425         * localedata/tst-setlocale.c: Likewise.
7426         * localedata/tst-trans.c: Likewise.
7427         * localedata/tst-wctype.c: Likewise.
7428         * localedata/tst-xlocale1.c: Likewise.
7429         * login/tst-grantpt.c: Likewise.
7430         * malloc/tst-calloc.c: Likewise.
7431         * malloc/tst-malloc.c: Likewise.
7432         * malloc/tst-mallocstate.c: Likewise.
7433         * malloc/tst-mcheck.c: Likewise.
7434         * malloc/tst-mtrace.c: Likewise.
7435         * malloc/tst-obstack.c: Likewise.
7436         * math/atest-exp2.c: Likewise.
7437         * math/atest-exp.c: Likewise.
7438         * math/atest-sincos.c: Likewise.
7439         * math/test-matherr.c: Likewise.
7440         * math/test-misc.c: Likewise.
7441         * math/test-powl.c: Likewise.
7442         * math/tst-definitions.c: Likewise.
7443         * misc/tst-dirname.c: Likewise.
7444         * misc/tst-efgcvt.c: Likewise.
7445         * misc/tst-fdset.c: Likewise.
7446         * misc/tst-hsearch.c: Likewise.
7447         * misc/tst-mntent2.c: Likewise.
7448         * nptl/tst-sem7.c: Likewise.
7449         * nptl/tst-sem8.c: Likewise.
7450         * nptl/tst-sem9.c: Likewise.
7451         * nss/test-netdb.c: Likewise.
7452         * posix/tst-fnmatch.c: Likewise.
7453         * posix/tst-getlogin.c: Likewise.
7454         * posix/tst-gnuglob.c: Likewise.
7455         * posix/tst-mmap.c: Likewise.
7456         * pwd/tst-getpw.c: Likewise.
7457         * resolv/tst-inet_ntop.c: Likewise.
7458         * rt/tst-timer.c: Likewise.
7459         * stdio-common/test-fseek.c: Likewise.
7460         * stdio-common/test-popen.c: Likewise.
7461         * stdio-common/test-vfprintf.c: Likewise.
7462         * stdio-common/tst-cookie.c: Likewise.
7463         * stdio-common/tst-fileno.c: Likewise.
7464         * stdio-common/tst-gets.c: Likewise.
7465         * stdio-common/tst-obprintf.c: Likewise.
7466         * stdio-common/tst-perror.c: Likewise.
7467         * stdio-common/tst-sprintf2.c: Likewise.
7468         * stdio-common/tst-sprintf3.c: Likewise.
7469         * stdio-common/tst-sprintf.c: Likewise.
7470         * stdio-common/tst-swprintf.c: Likewise.
7471         * stdio-common/tst-tmpnam.c: Likewise.
7472         * stdio-common/tst-unbputc.c: Likewise.
7473         * stdio-common/tst-wc-printf.c: Likewise.
7474         * stdlib/tst-environ.c: Likewise.
7475         * stdlib/tst-fmtmsg.c: Likewise.
7476         * stdlib/tst-limits.c: Likewise.
7477         * stdlib/tst-rand48-2.c: Likewise.
7478         * stdlib/tst-rand48.c: Likewise.
7479         * stdlib/tst-random2.c: Likewise.
7480         * stdlib/tst-random.c: Likewise.
7481         * stdlib/tst-strtol.c: Likewise.
7482         * stdlib/tst-strtoll.c: Likewise.
7483         * stdlib/tst-tls-atexit.c: Likewise.
7484         * stdlib/tst-xpg-basename.c: Likewise.
7485         * string/test-ffs.c: Likewise.
7486         * string/tst-bswap.c: Likewise.
7487         * string/tst-inlcall.c: Likewise.
7488         * string/tst-strtok.c: Likewise.
7489         * string/tst-strxfrm.c: Likewise.
7490         * sysdeps/x86_64/tst-audit10.c: Likewise.
7491         * sysdeps/x86_64/tst-audit3.c: Likewise.
7492         * sysdeps/x86_64/tst-audit4.c: Likewise.
7493         * sysdeps/x86_64/tst-audit5.c: Likewise.
7494         * time/tst-ftime_l.c: Likewise.
7495         * time/tst-getdate.c: Likewise.
7496         * time/tst-mktime3.c: Likewise.
7497         * time/tst-mktime.c: Likewise.
7498         * time/tst-posixtz.c: Likewise.
7499         * time/tst-strptime2.c: Likewise.
7500         * time/tst-strptime3.c: Likewise.
7501         * wcsmbs/tst-btowc.c: Likewise.
7502         * wcsmbs/tst-mbrtowc.c: Likewise.
7503         * wcsmbs/tst-mbsrtowcs.c: Likewise.
7504         * wcsmbs/tst-wchar-h.c: Likewise.
7505         * wcsmbs/tst-wcpncpy.c: Likewise.
7506         * wcsmbs/tst-wcrtomb.c: Likewise.
7507         * wcsmbs/tst-wcsnlen.c: Likewise.
7508         * wcsmbs/tst-wcstof.c: Likewise.
7510 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
7512         [BZ #14132]
7513         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
7514         INTDEF.
7515         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
7516         declaration.
7517         (_dl_mcount): Use rtld_hidden_proto.
7518         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
7519         _dl_mcount.
7520         * elf/rtld.c (_rtld_global_ro): Likewise.
7522         [BZ #14132]
7523         * elf/dl-init.c (_dl_init): Don't use INTDEF.
7524         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
7525         of _dl_init_internal.
7526         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
7527         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
7528         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
7529         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
7530         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
7531         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
7532         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
7533         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
7534         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
7535         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
7536         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
7537         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
7538         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7539         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7540         * sysdeps/tile/dl-start.S (_start): Likewise.
7541         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
7542         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
7544         [BZ #14132]
7545         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
7546         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
7547         (rtld_progname): Make macro definition unconditional.
7548         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
7549         INTDEF.
7550         (dlmopen_doit): Do not use INTUSE with _dl_argv.
7551         (dl_main): Likewise.
7552         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7553         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
7554         instead of _dl_argv_internal.
7555         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
7556         __GI__dl_argv instead of INTUSE(_dl_argv).
7557         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
7558         __GI__dl_argv instead of _dl_argv_internal.
7560         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
7561         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
7562         macro.
7563         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7564         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
7565         New macro.
7566         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
7567         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
7568         macro.
7569         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
7570         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
7572 2014-11-04  Andreas Schwab  <schwab@suse.de>
7574         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
7576 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7578         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
7579         mtvsrd instruction in binary form.
7581 2014-11-03  Andreas Schwab  <schwab@suse.de>
7583         [BZ #17522]
7584         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
7585         for less than MB_LEN_MAX use a local buffer of that size.
7586         * libio/tst-fputws.c: New file.
7587         * libio/Makefile (tests): Add tst-fputws.
7589 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
7591         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
7592         the size of the fpu_fr.fpu_dregs[] array.
7594 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
7596         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
7597         (__nanosleep): Do not define as alias.
7598         (nanosleep): Define as alias of __nanosleep.
7599         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7600         __libc_nanosleep name.
7602 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
7604         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7605         install.texi in comment.
7607 2014-10-31  Torvald Riegel  <triegel@redhat.com>
7609         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7610         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7611         ... add here and use lwsync or sync ...
7612         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7613         ... and add here using lwsync.
7615 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7617         * elf/dl-machine-reject-phdr.h: New file.
7618         * elf/dl-load.c: #include that.
7619         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7620         if that returned true.
7622 2014-10-31  Roland McGrath  <roland@hack.frob.com>
7624         [BZ #17496]
7625         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7626         gen-as-const-headers chunk.  Add a big scare comment after the last
7627         safe place to touch before-compile.
7629 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
7631         * manual/install.texi (Tools for Compilation): Update autoconf
7632         version requirements.
7633         * INSTALL: Regenerated.
7635         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7636         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7637         (__libc_pselect): Likewise.
7639         [BZ #14138]
7640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7645 2014-10-31  Torvald Riegel  <triegel@redhat.com>
7647         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7648         correct barrier instruction.
7649         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7650         Likewise.
7651         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7652         Likewise.
7654 2014-10-30  Roland McGrath  <roland@hack.frob.com>
7656         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7657         after defining inlines.  Instead, just use parens to defeat macro
7658         expansion of __isctype in its declaration.
7660 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7662         * include/sys/uio.h (__libc_readv): Remove declaration.
7663         (__libc_writev): Likewise.
7664         * misc/readv.c (__libc_readv): Rename to __readv.
7665         (__readv): Do not define as alias.
7666         (readv): Define as alias of __readv.
7667         * misc/writev.c (__libc_writev): Rename to __writev.
7668         (__writev): Do not define as alias.
7669         (writev): Define as alias of __writev.
7670         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7671         (__readv): Do not define as alias.
7672         (readv): Define unconditionally as alias of __readv.
7673         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7674         (__writev): Do not define as alias.
7675         (writev): Define unconditionally as alias of __writev.
7676         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7677         name.
7678         (writev): Do not define __libc_writev name.
7680 2014-10-30  Roland McGrath  <roland@hack.frob.com>
7682         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7683         (convert_charseq): New function, broken out of ...
7684         (use_from_charmap): ... here.  Call it.
7685         (use_to_charmap): Use convert_charseq and free instead of duplicating
7686         its code with a variable-length stack struct.
7688 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
7690         * include/fcntl.h (__libc_creat): Remove declaration.
7691         * io/creat.c (__libc_creat): Rename to creat.
7692         (creat): Do not define as alias.
7693         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7694         of creat instead of __libc_creat.
7695         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7696         to creat.
7697         (creat): Do not define as alias.
7698         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7699         __libc_creat.
7700         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7701         __libc_creat name.
7702         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7703         Likewise.
7705 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
7707         * manual/llio.texi: Add comments discussing why write() may be
7708         considered MT-unsafe on Linux.
7710 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
7712         * dl-load.c (local_strdup): Remove.
7713         (expand_dynamic_string_token): Use __strdup.
7714         (decompose_rpath): Likewise.
7715         (_dl_map_object): Likewise.
7717 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
7719         [BZ #14132]
7720         * sysdeps/generic/unwind-dw2-fde.c
7721         (__register_frame_info_bases_internal): Do not declare.
7722         (__register_frame_info_table_bases_internal): Likewise.
7723         (__deregister_frame_info_bases_internal): Likewise.
7724         (__register_frame_info_bases): Declare and use hidden_proto before
7725         definition.  Use hidden_def instead of INTDEF.
7726         (__register_frame_info_table_bases): Likewise.
7727         (__deregister_frame_info_bases): Likewise.
7728         (__register_frame_info): Do not use INTUSE.
7729         (__register_frame): Likewise.
7730         (__register_frame_info_table): Likewise.
7731         (__register_frame_table): Likewise.
7732         (__deregister_frame_info): Likewise.
7733         (__deregister_frame): Likewise.
7735 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
7737         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7738         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7739         not undefine.
7740         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7741         Likewise.
7742         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7743         Likewise.
7745 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
7747         [BZ #14138]
7748         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7749         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7750         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7751         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7752         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7753         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7754         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7755         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7756         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7757         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7758         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7759         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7760         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7761         syscall.
7762         (setfsuid): Likewise.
7763         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7764         (setfsuid): Likewise.
7765         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7766         (setfsuid): Likewise.
7767         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7768         Likewise.
7769         (setfsuid): Likewise.
7770         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7771         (setfsuid): Likewise.
7772         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7773         Likewise.
7774         (setfsuid): Likewise.
7776 2014-10-27  Andreas Schwab  <schwab@suse.de>
7778         [BZ #17501]
7779         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7780         check for Slow_SSE4_2 feature bit.
7781         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7782         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7783         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7784         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
7786 2014-10-24  Roland McGrath  <roland@hack.frob.com>
7788         * configure.ac: Validate compiler version with a empirical test of
7789         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7790         $CC -v output.
7791         * configure: Regenerated.
7793         * inet/htons.c (htons): Prototypify.
7794         * inet/htonl.c (htonl): Likewise.
7796 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7798         * string/strncat.c (strncat): Improve performance by using strlen.
7800 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7802         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7804 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7806         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7807         Call libc_fetestexcept_aarch64.
7809 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7811         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7812         Call libc_feholdexcept_aarch64.
7814 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7816         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7817         Call get_rounding_mode.
7819 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7821         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7822         Simplify logic.
7824 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
7826         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7827         Simplify logic.
7829 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
7831         [BZ #14138]
7832         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7833         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7834         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7835         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7836         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7837         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7838         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7839         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7840         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7841         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7842         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7843         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7844         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7845         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7846         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7847         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7848         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7849         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7850         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7851         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7852         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7853         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7854         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7855         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7856         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7857         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7858         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7859         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7860         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7861         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7862         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7863         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7864         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7865         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7866         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7867         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7868         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7869         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7870         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7871         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7872         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7873         syscall.
7874         (geteuid): Likewise.
7875         (getgid): Likewise.
7876         (getuid): Likewise.
7877         (getresgid): Likewise.
7878         (getresuid): Likewise.
7879         (getgroups): Likewise.
7880         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7881         (geteuid): Likewise.
7882         (getgid): Likewise.
7883         (getuid): Likewise.
7884         (getresgid): Likewise.
7885         (getresuid): Likewise.
7886         (getgroups): Likewise.
7887         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7888         (geteuid): Likewise.
7889         (getgid): Likewise.
7890         (getuid): Likewise.
7891         (getresgid): Likewise.
7892         (getresuid): Likewise.
7893         (getgroups): Likewise.
7894         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7895         Likewise.
7896         (geteuid): Likewise.
7897         (getgid): Likewise.
7898         (getuid): Likewise.
7899         (getresgid): Likewise.
7900         (getresuid): Likewise.
7901         (getgroups): Likewise.
7902         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7903         (geteuid): Likewise.
7904         (getgid): Likewise.
7905         (getuid): Likewise.
7906         (getresgid): Likewise.
7907         (getresuid): Likewise.
7908         (getgroups): Likewise.
7909         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7910         Likewise.
7911         (geteuid): Likewise.
7912         (getgid): Likewise.
7913         (getuid): Likewise.
7914         (getgroups): Likewise.
7916         [BZ #14138]
7917         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7918         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7919         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7920         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7921         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7922         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7923         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7924         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7925         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7926         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7927         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7928         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7929         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7930         __chown.
7931         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7932         (lchown): Likewise.
7933         (fchown): Likewise.
7934         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7935         Likewise.
7936         (lchown): Likewise.
7937         (fchown): Likewise.
7938         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7939         (lchown): Likewise.
7940         (fchown): Likewise.
7941         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7942         Likewise.
7943         (lchown): Likewise.
7944         (fchown): Likewise.
7946 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7948         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7949         Simplify logic.
7951 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7953         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7954         Cleanup logic.
7956 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7958         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7959         Remove unused include.
7961 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
7963         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7964         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7965         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7966         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7968 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
7969             Helge Deller <deller@gmx.de>
7971         [BZ #17508]
7972         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7973         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7974         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7976 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
7978         [BZ #14132]
7979         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7980         Remove macro definition.
7981         (__ashrdi3_v_glibc20): Likewise.
7982         (__lshrdi3_v_glibc20): Likewise.
7983         (__cmpdi2_v_glibc20): Likewise.
7984         (__ucmpdi2_v_glibc20): Likewise.
7985         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7986         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7987         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7988         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7989         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7990         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7992 2014-10-22  Roland McGrath  <roland@hack.frob.com>
7994         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7995         old GNU extension [0] syntax.
7996         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7997         alloca rather than an array member with variable length.
7998         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7999         * nscd/nscd.c (invalidate_db): New function, broken out of ...
8000         (parse_opt): ... here.  Likewise use alloca there.
8001         Validate the -i argument before checking for rootness.
8002         (send_shutdown): New function, broken out of ...
8003         (parse_opt): ... here.
8005 2014-10-22  Roland McGrath  <roland@hack.frob.com>
8007         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8008         macro to get at the _rt_local_ro field.
8009         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8010         ([PIC] case) or _dl_hwcap ([!PIC] case).
8011         * sysdeps/arm/setjmp.S: Likewise.
8013         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8014         * sysdeps/arm/configure.ac: New check to define it.
8015         * sysdeps/arm/configure: Regenerated.
8016         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8017         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8018         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8019         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8020         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8021         Use move/movt pair instead of a load.
8022         (LDST_GLOBAL): Macro removed.
8023         (LDR_GLOBAL): New macro replaces it.
8024         (LDR_HIDDEN): New macro.
8025         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8026         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8028         * setjmp/tst-setjmp-static.c: New file.
8029         * setjmp/Makefile (tests): Add it.
8030         (tests-static): New variable.
8032 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
8034         [BZ #17485]
8035         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8037 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
8039         [BZ #14132]
8040         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8042 2014-10-21  Roland McGrath  <roland@hack.frob.com>
8044         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8046 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8048         * io/fts.c (dirent_not_directory): New function.
8049         (fts_build): Call it.
8051 2014-10-20  Roland McGrath  <roland@hack.frob.com>
8053         * nptl/version.c (__nptl_main): Use normal __write rather than
8054         INTERNAL_SYSCALL.
8055         (banner): Update copyright years.
8057         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8058         gettimeofday.
8059         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8060         * nptl/pthread_cond_timedwait.c: Likewise.
8061         * nptl/pthread_mutex_timedlock.c: Likewise.
8062         * nptl/sem_timedwait.c: Likewise.
8064         * sysdeps/nptl/bits/libc-lock.h
8065         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8066         (__libc_lock_init_recursive): Return void, not 0.
8067         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8068         (__libc_rwlock_init): Likewise.
8069         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8071 2014-10-20  Torvald Riegel  <triegel@redhat.com>
8073         [BZ #15215]
8074         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8075         (__pthread_once_slow): ... here.
8076         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8077         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8079 2014-10-20  Torvald Riegel  <triegel@redhat.com>
8081         [BZ #15215]
8082         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8083         __PTHREAD_ONCE_FORK_GEN_INCR): New.
8084         * sysdeps/nptl/fork.c (__libc_fork): Use them.
8085         * nptl/pthread_once.c (__pthread_once): Likewise.
8086         Update comments.
8088 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
8090         [BZ #14138]
8091         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
8092         name.
8093         (writev): Use __libc_writev as strong name.
8094         * sysdeps/unix/sysv/linux/readv.c: Remove file.
8095         * sysdeps/unix/sysv/linux/writev.c: Likewise.
8097 2014-10-17  Roland McGrath  <roland@hack.frob.com>
8099         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
8101         * sysdeps/i386/nptl/tls.h
8102         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
8103         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
8104         New macros.
8105         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
8106         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
8107         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
8108         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
8109         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
8110         Call CHECK_THREAD_SYSINFO instead of doing an assert.
8112         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
8113         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
8114         on [__NR_futex].
8115         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
8116         broken out of ...
8117         (__pthread_mutex_init): ... here.  Call it.
8118         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
8119         Conditionalize PI cases on [__NR_futex].
8120         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
8121         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8122         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8124         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
8125         conditional on [SIGSETXID].
8126         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
8127         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
8128         is defined.  Likewise for SIGSETXID.
8129         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
8130         Conditionalize definitions on [SIGSETXID].
8131         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
8132         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
8133         unblocking on [SIGCANCEL].
8135         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
8136         [__NR_set_robust_list].
8138 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
8140         * string/strcoll_l.c (get_next_seq): Fix up formatting.
8141         (do_compare): Likewise.
8143 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
8145         [BZ #15884]
8146         * string/strcoll_l.c: Don't include stdio.h.
8147         (coll_seq): Remove members idxarr and rulearr.
8148         (get_next_seq_cached): Remove function.
8149         (get_next_seq): Likewise.
8150         (get_next_seq_nocache): Rename to get_next_seq.
8151         (do_compare): Remove function.
8152         (do_compare_nocache): Rename to do_compare.
8153         (STRCOLL): Remove weight and rules cache.
8155 2014-10-16  Roland McGrath  <roland@hack.frob.com>
8157         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
8158         * sysdeps/arm/sfp-machine.h: ... to here.
8159         * sysdeps/arm/Implies: Remove arm/soft-fp.
8161 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
8163         * conform/data/sys/utsname.h-data (*_t): Allow.
8164         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
8165         [POSIX] (WEXITED): Do not expect constant.
8166         [POSIX] (WSTOPPED): Likewise.
8167         [POSIX] (WNOHANG): Likewise.
8168         [POSIX] (WNOWAIT): Likewise.
8169         [POSIX] (siginfo_t): Do not expect type or elements.
8170         [POSIX] (pid_t): Do not expect type.
8171         [POSIX] (signal.h): Do not allow header.
8172         [POSIX] (sys/resource.h): Likewise.
8173         [POSIX] (si_*): Do not allow pattern.
8174         [POSIX] (W*): Likewise.
8175         [POSIX] (P_*): Likewise.
8176         [POSIX] (BUS_*): Likewise.
8177         [POSIX] (CLD_*): Likewise.
8178         [POSIX] (FPE_*): Likewise.
8179         [POSIX] (ILL_*): Likewise.
8180         [POSIX] (POLL_*): Likewise.
8181         [POSIX] (SEGV_*): Likewise.
8182         [POSIX] (SI_*): Likewise.
8183         [POSIX] (TRAP_*): Likewise.
8184         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
8185         variable.
8187 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8189         [BZ #12926]
8190         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
8191         infinite loop when __recvmsg returns 0.
8193 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
8195         * CANCEL-FCT-WAIVE: Remove file.
8196         * CANCEL-FILE-WAIVE: Likewise.
8198         [BZ #14132]
8199         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
8200         instead of INTVARDEF.
8201         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8202         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
8203         rtld_hidden_data_def instead of INTVARDEF.
8204         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
8205         * elf/dl-deps.c (expand_dst): Likewise.
8206         * elf/dl-load.c (_dl_dst_count): Likewise.
8207         (_dl_dst_substitute): Likewise.
8208         (decompose_rpath): Likewise.
8209         (_dl_init_paths): Likewise.
8210         (open_path): Likewise.
8211         (_dl_map_object): Likewise.
8212         * elf/rtld.c (dl_main): Likewise.
8213         (process_dl_audit): Likewise.
8214         (process_envvars): Likewise.
8215         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
8216         Remove declaration.
8217         (__libc_enable_secure): Use rtld_hidden_proto.
8219 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8221         * elf/dl-load.c
8222         (add_path): New function broken out of _dl_rtld_di_serinfo.
8223         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
8225 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8227         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
8228         parentheses around macro arguments.
8229         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
8230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
8231         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
8232         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
8233         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
8234         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8235         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8236         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
8237         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
8238         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
8239         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
8240         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
8241         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
8242         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
8243         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
8244         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
8245         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
8246         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
8247         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
8248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
8249         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
8250         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
8251         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
8252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
8253         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
8254         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
8255         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
8256         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
8257         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
8258         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
8259         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
8260         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
8261         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
8262         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
8263         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
8264         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
8265         Likewise.
8266         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
8267         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8268         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8269         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
8270         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
8271         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
8272         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
8273         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
8274         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
8275         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
8276         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
8277         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
8278         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
8279         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
8280         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
8281         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
8282         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
8283         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
8284         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
8285         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
8286         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
8287         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
8288         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
8289         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
8290         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
8291         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
8292         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
8293         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
8294         (_FP_FRAC_SRS_1): Likewise.
8295         (_FP_FRAC_CLZ_1): Likewise.
8296         (_FP_MUL_MEAT_1_imm): Likewise.
8297         (_FP_MUL_MEAT_1_wide): Likewise.
8298         (_FP_MUL_MEAT_1_hard): Likewise.
8299         (_FP_SQRT_MEAT_1): Likewise.
8300         (_FP_FRAC_ASSEMBLE_1): Likewise.
8301         (_FP_FRAC_DISASSEMBLE_1): Likewise.
8302         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
8303         (__FP_CLZ_2): Likewise.
8304         (_FP_MUL_MEAT_2_wide): Likewise.
8305         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8306         (_FP_MUL_MEAT_2_gmp): Likewise.
8307         (_FP_MUL_MEAT_2_120_240_double): Likewise.
8308         (_FP_SQRT_MEAT_2): Likewise.
8309         (_FP_FRAC_ASSEMBLE_2): Likewise.
8310         (_FP_FRAC_DISASSEMBLE_2): Likewise.
8311         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
8312         (_FP_FRAC_CLZ_4): Likewise.
8313         (_FP_MUL_MEAT_4_wide): Likewise.
8314         (_FP_MUL_MEAT_4_gmp): Likewise.
8315         (_FP_SQRT_MEAT_4): Likewise.
8316         (_FP_FRAC_ASSEMBLE_4): Likewise.
8317         (_FP_FRAC_DISASSEMBLE_4): Likewise.
8318         * soft-fp/op-common.h (_FP_CMP): Likewise.
8319         (_FP_CMP_EQ): Likewise.
8320         (_FP_CMP_UNORD): Likewise.
8321         (_FP_TO_INT): Likewise.
8322         (_FP_FROM_INT): Likewise.
8323         [!__FP_CLZ] (__FP_CLZ): Likewise.
8324         (_FP_DIV_HELP_imm): Likewise.
8325         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
8326         Likewise.
8327         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
8328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
8329         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
8330         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
8331         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
8332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8333         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
8335         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
8336         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
8337         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
8338         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
8339         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
8340         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
8341         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
8342         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
8343         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
8344         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
8345         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
8346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
8347         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
8348         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
8349         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
8350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
8351         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
8352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
8353         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
8354         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
8355         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
8356         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
8357         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
8358         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
8359         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
8360         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
8361         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
8362         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
8363         (FP_UNPACK_RAW_SP): Likewise.
8364         (FP_PACK_RAW_S): Likewise.
8365         (FP_PACK_RAW_SP): Likewise.
8366         (FP_UNPACK_S): Likewise.
8367         (FP_UNPACK_SP): Likewise.
8368         (FP_UNPACK_SEMIRAW_S): Likewise.
8369         (FP_UNPACK_SEMIRAW_SP): Likewise.
8370         (FP_PACK_S): Likewise.
8371         (FP_PACK_SP): Likewise.
8372         (FP_PACK_SEMIRAW_S): Likewise.
8373         (FP_PACK_SEMIRAW_SP): Likewise.
8374         (_FP_SQRT_MEAT_S): Likewise.
8375         (FP_CMP_S): Likewise.
8376         (FP_CMP_EQ_S): Likewise.
8377         (FP_CMP_UNORD_S): Likewise.
8378         (FP_TO_INT_S): Likewise.
8379         (FP_FROM_INT_S): Likewise.
8381         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
8383         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
8384         (FP_EX_INVALID_IMZ): Likewise.
8385         (FP_EX_INVALID_IMZ_FMA): Likewise.
8386         (FP_EX_INVALID_ISI): Likewise.
8387         (FP_EX_INVALID_ZDZ): Likewise.
8388         (FP_EX_INVALID_IDI): Likewise.
8389         (FP_EX_INVALID_SQRT): Likewise.
8390         (FP_EX_INVALID_CVI): Likewise.
8391         (FP_EX_INVALID_VC): Likewise.
8392         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
8393         "invalid" exceptions.
8394         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
8395         (_FP_ADD_INTERNAL): Likewise.
8396         (_FP_MUL): Likewise.
8397         (_FP_FMA): Likewise.
8398         (_FP_DIV): Likewise.
8399         (_FP_CMP_CHECK_NAN): Likewise.
8400         (_FP_SQRT): Likewise.
8401         (_FP_TO_INT): Likewise.
8402         (FP_EXTEND): Likewise.
8404 2014-10-09  Allan McRae  <allan@archlinux.org>
8406         * po/fr.po: Update French translation from translation project.
8408 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
8410         [BZ #14132]
8411         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
8412         of INTDEF.
8413         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
8414         (__cxa_atexit): Use libc_hidden_proto.
8415         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
8417         [BZ #14132]
8418         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
8419         declaration.
8420         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
8421         [!_ISOMAC] (__iswspace_l_internal): Likewise.
8422         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
8423         [!_ISOMAC] (__iswctype_internal): Likewise.
8424         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
8425         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
8426         alias.
8427         (fcntl): Remove __fcntl_internal alias.
8428         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
8429         __connect_internal alias.
8430         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
8431         Likewise.
8433         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
8434         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
8435         FP_DENORM_ZERO.
8436         (_FP_CHECK_FLUSH_ZERO): New macro.
8437         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
8438         (_FP_CMP): Likewise.
8439         (_FP_CMP_EQ): Likewise.
8440         (_FP_TO_INT): Do not set inexact for subnormal arguments if
8441         FP_DENORM_ZERO.
8442         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
8443         (FP_TRUNC): Likewise.
8445         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
8446         treated as invalid conversion, not as normal exponent.
8448         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
8449         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
8450         (_FP_CMP_EQ): Likewise.
8451         (_FP_CMP_UNORD): Likewise.
8452         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
8453         (FP_CMP_EQ_D): Likewise.
8454         (FP_CMP_UNORD_D): Likewise.
8455         * soft-fp/extended.h (FP_CMP_E): Likewise.
8456         (FP_CMP_EQ_E): Likewise.
8457         (FP_CMP_UNORD_E): Likewise.
8458         * soft-fp/quad.h (FP_CMP_Q): Likewise.
8459         (FP_CMP_EQ_Q): Likewise.
8460         (FP_CMP_UNORD_Q): Likewise.
8461         * soft-fp/single.h (FP_CMP_S): Likewise.
8462         (FP_CMP_EQ_S): Likewise.
8463         (FP_CMP_UNORD_S): Likewise.
8464         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
8465         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
8466         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
8467         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
8468         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
8469         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
8470         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
8471         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
8472         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
8473         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
8474         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
8475         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
8476         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
8477         to FP_CMP_Q.
8478         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
8479         FP_CMP_Q.
8480         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
8481         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
8482         FP_CMP_EQ_Q.
8483         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
8484         FP_CMP_Q.
8485         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
8486         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
8487         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
8488         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
8489         FP_CMP_EQ_Q.
8490         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
8491         FP_CMP_Q.
8492         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
8493         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
8494         FP_CMP_EQ_Q.
8495         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
8496         FP_CMP_Q.
8497         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
8498         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
8499         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
8500         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
8501         FP_CMP_EQ_Q.
8503         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
8504         a subnormal result, set the underflow exception if trapping on
8505         underflow is enabled.
8506         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
8507         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
8508         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
8509         redefine to 0.
8510         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
8511         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8512         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
8513         * soft-fp/extendxftf2.c (__extendxftf2): Use
8514         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
8516         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
8517         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
8518         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8519         FP_HANDLE_EXCEPTIONS.
8520         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
8521         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8522         FP_HANDLE_EXCEPTIONS.
8523         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
8524         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8525         FP_HANDLE_EXCEPTIONS.
8526         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
8527         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
8528         FP_HANDLE_EXCEPTIONS.
8530 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
8532         [BZ #14132]
8533         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
8534         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
8535         use INTUSE.
8536         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
8537         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
8538         Remove alias.
8539         (__adjtimex): Define using libc_hidden_ver.
8540         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
8541         Remove declaration.
8542         (ntp_gettime): Call __adjtimex directly.
8543         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
8544         Remove declaration.
8545         (ntp_gettimex): Call __adjtimex directly.
8546         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
8547         __adjtimex_internal alias.
8549 2014-10-08  Roland McGrath  <roland@hack.frob.com>
8551         [BZ #17460]
8552         * nscd/nscd.c (more_help): Rewrite list of tables collection
8553         using xstrdup and asprintf.
8555         * nscd/nscd_conf.c: Remove local xstrdup declaration.
8557 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8558             Roland McGrath  <roland@hack.frob.com>
8560         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
8561         (do_lookup_unique): ... local function 'enter' here; update callers.
8563 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
8565         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
8566         compat_symbol calls on [SHARED].
8567         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
8568         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8569         Remove.
8570         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8571         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
8572         (oldsetrlimit): Remove.
8573         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8575         (lchown): New syscall entry.
8576         (oldsetrlimit): Remove.
8577         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8578         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
8579         (oldsetrlimit): Remove.
8580         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8582         [BZ #14138]
8583         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
8584         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
8585         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
8586         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8587         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8588         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
8589         (fchown): Likewise.
8590         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
8591         (fchown): Likewise.
8592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
8593         Likewise.
8595 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8597         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8598         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8599         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8600         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8601         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8602         Likewise.
8603         (__old_sem_post): Likewise.
8605 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
8607         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8608         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8609         HAVE_CLOCK_GETTIME_VSYSCALL macros.
8610         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8611         Use INLINE_VSYSCALL macro.
8612         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8613         __vdso_clock_gettime.
8614         * sysdeps/unix/sysv/linux/tile/init-first.c
8615         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8616         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8617         __vdso_clock_gettime.
8619         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8620         to set up frame more cleanly.
8622         * sysdeps/tile/memcmp.c: New file.
8624         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8626         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8627         * sysdeps/tile/tilegx/strcasestr.c: New file.
8628         * sysdeps/tile/tilegx/strnlen.c: New file.
8629         * sysdeps/tile/tilegx/strstr.c: New file.
8631         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8633 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
8635         * nptl/tst-setuid3.c: Write errors to stdout.
8637 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8639         * elf/dl-deps.c
8640         (preload): New functions broken out of _dl_map_object_deps.
8641         (_dl_map_object_deps):  Remove a nested function. Update call sites.
8643 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
8645         [BZ #14138]
8646         * sysdeps/unix/sysv/linux/execve.c: Remove file.
8647         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8649 2014-10-01  Steve Ellcey  <sellcey@mips.com>
8651         * sysdeps/mips/strcmp.S: New.
8653 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
8655         [BZ #14138]
8656         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8657         (linkat): Likewise.
8658         (mkdirat): Likewise.
8659         (readlinkat): Likewise.
8660         (renameat): Likewise.
8661         (symlinkat): Likewise.
8662         (unlinkat): Likewise.
8663         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8664         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8665         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8666         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8667         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8668         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8669         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8671 2014-09-30  Will Newton  <will.newton@linaro.org>
8673         * math/math.h: Define long double math functions if
8674         _LIBC_TEST is defined.
8675         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8677         * localedata/Makefile: Move assignment to tests-special
8678         into an ifdef testing run-built-tests.
8679         * timezone/Makefile: Likewise.
8681 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
8683         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8684         with $(BASH) not $(SHELL).
8686 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
8687             Matthew LeGendre  <legendre1@llnl.gov>
8689         [BZ #17411]
8690         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8691         l_reloc_result.
8693 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8695         * stdio-common/printf_fp.c
8696         (hack_digit): New function, broken out of ...
8697         (__printf_fp): ... local function here.  Update call sites.
8698         hack_digit now takes an additional parameter that is a pointer
8699         to a struct of the referenced locals.  Those locals moved inside
8700         the struct and references updated.
8702 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
8704         * aclocal.m4: Require autoconf 2.69.
8705         * configure: Regenerated.
8706         * sysdeps/aarch64/configure: Likewise.
8707         * sysdeps/alpha/configure: Likewise.
8708         * sysdeps/arm/armv7/configure: Likewise.
8709         * sysdeps/arm/configure: Likewise.
8710         * sysdeps/ia64/configure: Likewise.
8711         * sysdeps/mach/configure: Likewise.
8712         * sysdeps/mips/configure: Likewise.
8713         * sysdeps/s390/configure: Likewise.
8714         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8717         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8718         file.
8719         * sysdeps/ia64/configure.ac: Likewise.
8721 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
8723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8724         specify symbol version for ld.so.  Do not include entry for
8725         libpthread.
8726         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8727         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8728         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8730         [BZ #14171]
8731         * Makeconfig [$(build-shared) = yes]
8732         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8733         makefiles.
8734         [$(build-shared) = yes && $(soversions.mk-done) = t]
8735         ($(common-objpfx)gnu/lib-names.h): Remove rule.
8736         [$(build-shared) = yes && $(soversions.mk-done) = t]
8737         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
8738         to Makerules.
8739         [$(build-shared) = yes && $(soversions.mk-done) = t]
8740         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8741         here.
8742         [$(build-shared) = yes && $(soversions.mk-done) = t]
8743         (common-generated): Don't append gnu/lib-names.h and
8744         gnu/lib-names.stmp here.
8745         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8746         (lib-names-h-abi): New variable.
8747         [$(build-shared) = yes && $(soversions.mk-done) = t]
8748         (lib-names-stmp-abi): Likewise.
8749         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8750         abi-variants] (before-compile): Append
8751         $(common-objpfx)$(lib-names-h-abi).
8752         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8753         abi-variants] (common-generated): Append gnu/lib-names.h.
8754         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8755         abi-variants] (install-others-nosubdir): Depend on
8756         $(inst_includedir)/$(lib-names-h-abi).
8757         [$(build-shared) = yes && $(soversions.mk-done) = t &&
8758         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8759         [$(build-shared) = yes && $(soversions.mk-done) = t]
8760         ($(common-objpfx)$(lib-names-h-abi)): New rule.
8761         [$(build-shared) = yes && $(soversions.mk-done) = t]
8762         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8763         [$(build-shared) = yes && $(soversions.mk-done) = t]
8764         (common-generated): Append $(lib-names-h-abi) and
8765         $(lib-names-stmp-abi).
8766         * scripts/lib-names.awk: Do not handle multi being set.
8767         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8768         Remove variable.
8769         (abi-lp64_be-ld-soname): Likewise.
8770         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8771         Likewise.
8772         (abi-hard-ld-soname): Likewise.
8773         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8774         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8775         Remove variable.
8776         (abi-o32_hard-ld-soname): Likewise.
8777         (abi-o32_soft_2008-ld-soname): Likewise.
8778         (abi-o32_hard_2008-ld-soname): Likewise.
8779         (abi-n32_soft-ld-soname): Likewise.
8780         (abi-n32_hard-ld-soname): Likewise.
8781         (abi-n32_soft_2008-ld-soname): Likewise.
8782         (abi-n32_hard_2008-ld-soname): Likewise.
8783         (abi-n64_soft-ld-soname): Likewise.
8784         (abi-n64_hard-ld-soname): Likewise.
8785         (abi-n64_soft_2008-ld-soname): Likewise.
8786         (abi-n64_hard_2008-ld-soname): Likewise.
8787         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8788         Likewise.
8789         (abi-64-v2-ld-soname): Likewise.
8790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8791         ld.so entries.
8792         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8793         variable.
8794         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8795         entry.
8796         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8797         variable.
8798         (abi-64-ld-soname): Likewise.
8799         (abi-x32-ld-soname): Likewise.
8800         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8801         entry.
8802         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8804 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
8806         [BZ #14138]
8807         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8808         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8809         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8810         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8811         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8812         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8813         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8814         syscall entry for GLIBC_2.2 symbol version.
8815         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8816         Likewise.
8817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8818         (setrlimit): Likewise.
8819         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8820         Likewise.
8822 2014-09-23  Will Newton  <will.newton@linaro.org>
8824         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8825         _LINUX_ARM_SYSDEP_H include guard too.
8826         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8827         define.
8829 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8831         * sysdeps/unix/sysv/linux/eventfd.c:
8832         Make first argument unsigned.
8833         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8834         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8836 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
8838         * socket/recvmmsg.c (recvmmsg): Drop const argument.
8839         * socket/sys/socket.h: Likewise
8840         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8842 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8844         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8846 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
8848         * time/tst-ftime.c: New test.
8849         * time/Makefile (tests): Add tst-ftime.
8851 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
8853         * soft-fp/extended.h: Fix comment formatting.
8854         * soft-fp/op-1.h: Likewise.
8855         * soft-fp/op-2.h: Likewise.
8856         * soft-fp/op-4.h: Likewise.
8857         * soft-fp/op-8.h: Likewise.
8858         * soft-fp/op-common.h: Likewise.
8859         * soft-fp/soft-fp.h: Likewise.
8861         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8863 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
8865         [BZ #6652]
8866         * Makeconfig (soversions-default-setname): Remove variable.
8867         ($(common-objpfx)soversions.i): Don't pass default_setname to
8868         soversions.awk.
8869         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8870         oldest_abi to abi-versions.awk.
8871         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8872         * config.make.in (oldest-abi): Remove variable.
8873         * configure.ac (--enable-oldest-abi): Remove configure option.
8874         * configure: Regenerated.
8875         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8876         text.
8877         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8878         * scripts/soversions.awk: Do not handle default_setname variable.
8879         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8880         variable.
8881         * sysdeps/mach/hurd/configure: Regenerated.
8882         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8883         variable.
8884         * sysdeps/unix/sysv/linux/configure: Regenerated.
8886 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8888         * elf/Makefile (CFLAGS-interp.c): Remove.
8889         ($(elf-objpfx)runtime-linker.h): Generate header with linker
8890         path string.
8891         * elf/interp.c: Include generated runtime-linker.h
8893         * Makerules (lib%.so): Don't include $(+interp) in
8894         prerequisites.
8895         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8896         * dlfcn/eval.c: Remove file.
8898         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8899         macros.
8901         [BZ #17266]
8902         * misc/sys/cdefs.h: Define __extern_always_inline for clang
8903         4.2 and newer.
8905         [BZ #17370]
8906         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8908 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8909             Jakub Jelinek  <jakub@redhat.com>
8911         [BZ #17266]
8912         * libio/stdio.h: Check definition of __fortify_function
8913         instead of __extern_always_inline to include bits/stdio2.h.
8914         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8915         check if __extern_always_inline is defined.
8916         [__USE_MISC || __USE_XOPEN]: Likewise.
8917         [__USE_ISOC99] Likewise.
8918         * misc/sys/cdefs.h (__fortify_function): Define only if
8919         __extern_always_inline is defined.
8920         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8921         __extern_always_inline and __extern_inline only for g++-4.3
8922         and newer or a compatible gcc.
8924 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
8926         [BZ #17371]
8927         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8928         last change to handle zero prefix length.
8930 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8932         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8933         _SC_REGEX_VERSION.
8935         * posix/getconf.c (vars): Add _POSIX_IPV6 and
8936         _POSIX_RAW_SOCKETS.
8938 2014-09-13  Allan McRae  <allan@archlinux.org>
8940         * po/ru.po: Update Russian translation from translation project.
8942 2014-09-12  Roland McGrath  <roland@hack.frob.com>
8944         * locale/programs/locale.c (show_locale_vars): Inline local function
8945         into its sole call site.  Clean up some style nits.
8946         (print_item): New function, broken out of ...
8947         (show_info): ... local function here.  Clean up style nits.
8949         * locale/programs/ld-ctype.c (set_one_default): New function, broken
8950         out of ...
8951         (set_class_defaults): ... local function set_default here.
8952         Define set_default as a macro locally to pass constant parameters.
8953         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8954         rather than a shared local.
8956         * stdlib/rpmatch.c (try): New function, broken out of ...
8957         (rpmatch): ... local function here.  Also, prototypify definition.
8959 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
8961         * scripts/soversions.awk: Do not handle configuration names.
8962         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8963         vendor and os variables to soversions.awk.
8964         * configure.ac: Do not modify gnu-* host_os.
8965         * configure: Regenerated
8966         * shlib-versions: Remove first column with configuration names.
8967         * nptl/shlib-versions: Likewise.
8968         * nptl_db/shlib-versions: Likewise.
8969         * sysdeps/hppa/shlib-versions: Likewise.
8970         * sysdeps/m68k/shlib-versions: Likewise.
8971         * sysdeps/mach/hurd/shlib-versions: Likewise.
8972         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8973         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8974         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8975         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8976         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8977         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8978         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8979         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8981         Likewise.
8982         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8983         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8984         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8985         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8986         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8987         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8988         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8989         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8992         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8994         Regenerated.
8995         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8997         Condition symbol version definitions on [HAVE_ELFV2_ABI].
8999         * shlib-versions: Remove OS-specific entries.  Moved to files in
9000         sysdeps.
9001         * sysdeps/mach/hurd/shlib-versions: New file.
9002         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9004         * nptl/shlib-versions: Remove architecture-specific entries.
9005         Moved to files in sysdeps.
9006         * shlib-versions: Likewise.
9007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9008         file.
9009         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9010         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9011         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9012         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9014         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9015         (UDP_NO_CHECK6_RX): Likewise.
9017 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9019         * sysdeps/posix/sysconf.c (__sysconf): Spell
9020         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9022 2014-08-12  Florian Weimer  <fweimer@redhat.com>
9024         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9025         loading.
9026         * iconv/Versions (__gconv_transliterate): Export for use from
9027         gconv modules.
9028         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9029         (struct __gconv_trans_data, __gconv_trans_fct,
9030         __gconv_trans_context_fct, __gconv_trans_query_fct,
9031         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9032         definitions.
9033         (struct __gconv_step_data): Remove __trans member.
9034         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
9035         longer hidden.  Remove unused trans_data argument.
9036         * iconv/gconv_int.h (struct trans_struct): Remove definition.
9037         (__gconv_translit_find): Remove declaration.
9038         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
9039         prototype.
9040         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9041         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9042         trans_data argument.  Add hidden definition.
9043         (__gconv_translit_find): Remove.
9044         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9045         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9046         * iconv/skeleton.c: Remove transliteration initialization.
9047         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9048         __gconv_step_data initialization.
9049         * libio/iofwide.c (__libio_translit_): Remove.
9050         (_IO_fwide): Adjust struct __gconv_step_data initialization.
9051         * wcsmbs/btowc.c (__btowc): Likewise.
9052         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9053         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9054         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9055         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9056         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9057         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9058         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9059         * wcsmbs/wctob.c (wctob): Likewise.
9061 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9063         [BZ #16194]
9064         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9065         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
9066         register usage.
9067         * sysdeps/x86/Makefile: Adjust.
9069 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9070             Roland McGrath  <roland@hack.frob.com>
9072         * locale/weight.h: Add include guard.
9073         (findidx): Make static rather than auto; take new parameters
9074         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9075         * locale/weightwc.h: Likewise.
9076         * posix/fnmatch_loop.c
9077         (FCT): Change type of EXTRA from int32_t to wint_t.
9078         Don't include either header inside the function.
9079         Call FINDIDX rather than findidx, and pass new arguments.
9080         #undef FINDIDX at the end of the file.
9081         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9082         FINDIDX before including fnmatch_loop.c for the non-wide version.
9083         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
9084         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
9085         for the wide version.
9086         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
9087         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
9088         Pass new arguments to findidx.
9089         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
9090         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
9091         Don't #include it inside the function.  Pass new arguments to findidx.
9092         * posix/regex_internal.h
9093         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
9094         (re_string_elem_size_at): Don't #include it inside the function.
9095         Pass new arguments to findidx.
9096         * string/strcoll_l.c: #include WEIGHT_H at top level.
9097         (get_next_seq): Don't #include it inside the function.
9098         Pass new arguments to findidx.
9099         (get_next_seq_nocache): Likewise.
9100         * string/strxfrm_l.c: #include WEIGHT_H at top level.
9101         (STRXFRM): Don't #include it inside the function.
9102         Pass new arguments to findidx.
9104 2014-09-11  Florian Weimer  <fweimer@redhat.com>
9106         [BZ #17344]
9107         * malloc/malloc.c (unlink): Turn asserts into a call to
9108         malloc_printerr.
9110 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
9112         [BZ #17370]
9113         * libio/wfileops (do_ftell_wide): Free OUT.
9115 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
9117         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
9119 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9121         [BZ #17363]
9122         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
9123         group if the current group is empty.
9125 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9127         * benchtests/bench-memset.c (test_main): Add more test from size
9128         from 32 to 512 bytes.
9129         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9130         Add POWER8 memset object.
9131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9132         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
9133         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
9134         implementation.
9135         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
9136         Likewise.
9137         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
9138         multiarch POWER8 memset optimization.
9139         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
9140         POWER8 memset optimization.
9142         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9143         Remove bzero multiarch objects.
9144         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
9145         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
9146         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
9147         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
9148         Remove define.
9149         [__bzero]: Redefine to specific name.
9150         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
9151         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
9152         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
9153         define.
9154         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9155         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9157 2014-09-10  Florian Weimer  <fweimer@redhat.com>
9159         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
9160         warnings into errors.
9162         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
9163         __cxa_thread_atexit_impl prototype.
9165 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9167         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
9168         Fix capitalization of error message.
9170 2014-09-09  Steve Ellcey  <sellcey@mips.com>
9172         * sysdeps/mips/preconfigure: Modify ABI tests.
9174 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
9176         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
9178 2014-09-07  Roland McGrath  <roland@hack.frob.com>
9179             Carlos O'Donell  <carlos@systemhalted.org>
9181         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
9182         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
9183         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
9184         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
9185         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
9186         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
9187         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
9188         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
9189         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
9190         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
9191         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
9192         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
9193         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
9194         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
9195         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
9196         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
9197         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
9198         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
9199         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
9200         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
9201         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
9202         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
9203         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
9204         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
9205         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
9206         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
9207         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
9208         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
9209         Deconditionalize the code that was previously under [RESET_PID].
9210         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
9211         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
9212         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
9213         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
9214         include sysdep.h.
9216 2014-09-08  Allan McRae  <allan@archlinux.org>
9218         * version.h (RELEASE): Set to "development".
9219         (VERSION): Set to "2.20.90"
9221 2014-09-07  Allan McRae  <allan@archlinux.org
9223         * version.h (RELEASE): Set to "stable".
9224         (VERSION): Set to "2.20"
9225         * include/features.h (__GLIBC_MINOR__): Set to 20.
9227         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
9228         Liebler.
9230         * po/ko.po: Update Korean translation from translation project.
9232 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
9234         [BZ #17354]
9235         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
9236         macro for handling signed relocations.
9238 2014-09-03  Florian Weimer  <fweimer@redhat.com>
9240         [BZ #17325]
9241         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
9242         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
9243         assert.
9244         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
9245         * iconvdata/ibm935.c (BODY): Likewise.
9246         * iconvdata/ibm937.c (BODY): Likewise.
9247         * iconvdata/ibm939.c (BODY): Likewise.
9248         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
9249         assert.
9250         * iconvdata/Makefile (iconv-test.out): Pass module list to test
9251         script.
9252         * iconvdata/run-iconv-test.sh: New test loop for checking for
9253         decoder crashers.
9255 2014-09-02  Khem Raj  <raj.khem@gmail.com>
9257         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
9258         libm_hidden_ver.
9260 2014-09-01  Allan McRae  <allan@archlinux.org>
9262         * po/eo.po: Update Esperanto translation from translation project.
9264         * po/ca.po: Update Catalan translation from translation project.
9266 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9268         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
9269         __proc_dostop call.
9271 2014-08-27  Mark Wielaard  <mjw@redhat.com>
9273         [BZ #17319]
9274         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
9275         to call set_thread_area instead of hand written asm.
9276         (__NR_set_thread_area): Removed define.
9277         (TLS_FLAG_WRITABLE): Likewise.
9278         (__ASSUME_SET_THREAD_AREA): Remove check.
9279         (TLS_EBX_ARG): Remove define.
9280         (TLS_LOAD_EBX): Likewise.
9282 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9284         Simplify atomicity of socket creation in bind.
9286         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
9287         looking up the name after linking the file.
9289 2014-08-27  Allan McRae  <allan@archlinux.org>
9291         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9293 2014-08-26  Florian Weimer  <fweimer@redhat.com>
9295         [BZ #17187]
9296         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
9297         trans_compare, open_translit, __gconv_translit_find):
9298         Remove module loading code.
9300 2014-08-26  Allan McRae  <allan@archlinux.org>
9302         * po/vi.po: Update Vietnamese translation from translation project.
9304         * po/uk.po: Update Ukrainian translation from translation project.
9306         * po/fr.po: Update French translation from translation project.
9308         * po/ru.po: Update Russian translation from translation project.
9310         * po/pl.po: Update Polish translation from translation project.
9312         * po/cs.po: Update Czech translation from translation project.
9314         * po/de.po: Update German translation from translation project.
9316         * po/bg.po: Update Bulgarian translation from translation project.
9318         * po/sv.po: Update Sweedish translation from translation project.
9320         * po/nl.po: Update Dutch translation from translation project.
9322         * po/es.po: Update Spanish translation from translation project.
9324 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9326         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
9328         * catgets/Makefile (CPPFLAGS-gencat): Remove.
9329         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
9330         (CPPFLAGS-iconvconfig): Likewise.
9331         * timezone/Makefile (CPPFLAGS-zic): Likewise.
9333         * include/libc-symbols.h: Remove unnecessary check for
9334         NOT_IN_libc.
9335         * nptl/pthreadP.h: Likewise.
9336         * sysdeps/aarch64/setjmp.S: Likewise.
9337         * sysdeps/alpha/setjmp.S: Likewise.
9338         * sysdeps/arm/sysdep.h: Likewise.
9339         * sysdeps/i386/setjmp.S: Likewise.
9340         * sysdeps/m68k/setjmp.c: Likewise.
9341         * sysdeps/posix/getcwd.c: Likewise.
9342         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9343         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9344         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9345         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9346         * sysdeps/sh/sh3/setjmp.S: Likewise.
9347         * sysdeps/sh/sh4/setjmp.S: Likewise.
9348         * sysdeps/unix/alpha/sysdep.h: Likewise.
9349         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9350         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9351         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9352         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9355         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9356         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9357         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9358         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9359         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9360         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9361         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9362         * sysdeps/x86_64/setjmp.S: Likewise.
9364 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
9366         [BZ #17263]
9367         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
9368         <stdint.h>.
9369         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
9370         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
9372 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9374         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
9376         [BZ #17262]
9377         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
9378         and __x86_64__ when disabling x87 inline functions.
9380 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
9382         [BZ #17259]
9383         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
9384         asm statement with __cpuid_count.
9386 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
9388         * configure.ac: Change __ehdr_start code to dereference the struct.
9389         Run readelf on the output to look for relocations.
9390         * configure: Regenerated.
9392 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
9394         [BZ #17261]
9395         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
9396         value to 0.
9397         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
9399 2014-08-12  Roland McGrath  <roland@hack.frob.com>
9401         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
9403 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
9405         [BZ #16892]
9406         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
9407         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
9409 2014-08-12  Sean Anderson  <seanga2@gmail.com>
9411         * malloc/malloc.c: Fix typo in comment.
9413 2014-08-09  Allan McRae  <allan@archlinux.org>
9415         * Regenerate libc.po.
9417 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
9419         * intl/tst-gettext2.sh: Check every lang file for creation.
9421 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9423         * sysdeps/aarch64/fpu/math_private.h
9424         (libc_feholdsetround_noex_aarch64_ctx): New function.
9426 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
9428         * sysdeps/arm/armv6/strcpy.S (strcpy):
9429         Fix performance issue in misaligned cases.
9431 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9433         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
9434         Move definition from termios.h.
9435         (struct termio): Likewise.
9436         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9437         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9438         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9439         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9440         Likewise.
9441         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
9442         Move definition to ioctl-types.h
9443         (struct termio): Likewise.
9444         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9445         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
9446         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
9447         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
9448         Likewise.
9450 2014-08-05  Richard Henderson  <rth@redhat.com>
9452         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
9453         exceptions.
9454         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
9455         Add fraiseexcpt.
9456         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
9457         Use __feraiseexcept.
9458         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
9459         Protect libm symbols with IS_IN_libm.
9461         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
9463 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
9465         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
9467 2014-08-04  Will Newton  <will.newton@linaro.org>
9469         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
9470         file.
9472 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
9474         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
9475         variants for each function.
9477 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9479         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
9480         appended ...
9481         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
9482         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
9483         appended ...
9484         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
9485         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
9486         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
9487         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
9488         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
9489         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
9490         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
9491         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
9492         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
9493         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
9494         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
9495         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
9496         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
9497         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
9498         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
9499         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
9500         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
9501         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
9502         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
9503         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
9504         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
9505         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
9506         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
9507         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
9508         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
9509         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
9510         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
9511         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
9512         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
9513         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
9514         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
9515         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
9516         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
9517         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
9518         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
9519         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
9520         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
9521         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
9522         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
9523         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
9524         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
9525         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
9526         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
9527         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
9528         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
9529         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
9530         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
9531         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
9532         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
9533         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
9534         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
9535         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
9536         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
9537         Update #include.
9538         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
9539         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
9541 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9543         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
9544         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
9545         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
9546         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
9547         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
9548         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
9550 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9552         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
9553         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
9554         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9555         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
9557 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9559         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
9560         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
9561         (__libc_vfork): Define function under this name.
9562         (__vfork): Define as an alias.
9563         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
9564         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
9566 2014-08-04  Roland McGrath  <roland@hack.frob.com>
9568         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
9569         that was previously under [RESET_PID].
9570         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
9572 2014-08-04  Andreas Schwab  <schwab@suse.de>
9574         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
9576 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
9578         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
9579         (main): Likewise.
9581 2014-08-01  Roland McGrath  <roland@hack.frob.com>
9583         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9585 2014-08-01  Richard Henderon  <rth@redhat.com>
9587         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
9588         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
9589         typo in exact zero test.
9590         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9591         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9592         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9594 2014-08-01  Roland McGrath  <roland@hack.frob.com>
9596         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
9597         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9598         * sysdeps/arm/sysdep.h: ... here.
9599         [!__ASSEMBLER__]: Include <stdint.h>.
9601 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9603         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9604         (HAVE_WCTYPE_H): Likewise.
9605         (HAVE_ISWCTYPE): Likewise.
9606         (ENABLE_NLS): Likewise.
9607         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9608         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9610         * posix/regex_internal.c: Check if DEBUG is defined and is
9611         set.
9613         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9614         (HAVE_MBSRTOWCS): Likewise.
9615         * posix/fnmatch.c: Include string.h unconditionally.
9617 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9619         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9620         reversal.
9622 2014-07-31  Roland McGrath  <roland@hack.frob.com>
9624         * sysdeps/generic/safe-fatal.h: New file.
9625         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9626         * nptl/forward.c: Include it.
9627         (__pthread_unwind): Use __safe_fatal as default action, rather
9628         than a bogus use of INTERNAL_SYSCALL that could never work.
9630         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9631         * configure.ac (libc_cv_builtin_trap): New test.
9632         * configure: Regenerated.
9633         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9634         (ABORT_INSTRUCTION): Define using __builtin_trap.
9636         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9637         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9638         * sysdeps/nptl/nptl-signals.h: New file.
9639         * nptl/pthreadP.h: Include <nptl-signals.h>.
9641 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9643         * sysdeps/s390/s390-64/utf16-utf32-z9.c
9644         (ONE_DIRECTION): Define.
9645         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9646         (ONE_DIRECTION): Define.
9647         * sysdeps/s390/s390-64/utf8-utf32-z9.c
9648         (ONE_DIRECTION): Define.
9650 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9652         * sysdeps/s390/Makefile: Delete file.
9653         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9654         * sysdeps/s390/__longjmp.c: Delete file.
9655         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9656         Remove fields __flags and __reserved.
9657         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9658         and add versioning.
9659         * sysdeps/s390/rtld-__longjmp.c: Delete file.
9660         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9661         * sysdeps/s390/rtld-setjmp.S: Likewise.
9662         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9663         * sysdeps/s390/s390-32/__longjmp.c: ... here.
9664         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9665         * sysdeps/s390/s390-32/setjmp.S: ... here.
9666         Add versioning.
9667         (__sigsetjmp): Remove setting __flags field.
9668         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9669         * sysdeps/s390/s390-64/__longjmp.c: ... here.
9670         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9671         * sysdeps/s390/s390-64/setjmp.S: ... here.
9672         Add versioning.
9673         (__sigsetjmp): Remove setting __flags field.
9674         * sysdeps/s390/setjmp.S: Delete file.
9675         * sysdeps/s390/sigjmp.c: Likewise.
9676         * sysdeps/s390/v1-longjmp.c: Likewise.
9677         * sysdeps/s390/v1-setjmp.h: Likewise.
9678         * sysdeps/s390/v1-sigjmp.c: Likewise.
9679         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9680         Remove v1-longjmp_chk.
9681         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9682         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9683         Include debug/longjmp_chk.c and add versioning.
9684         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9685         Include nptl/pt-longjmp.c and add versioning.
9686         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9687         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9688         Include __longjmp.c.
9689         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9690         Move to ...
9691         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9692         (__getcontext): Remove setting __flags field.
9693         Add versioning.
9694         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9695         Don't restore upper high grps.
9696         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9697         Likewise.
9698         (__swapcontext): Remove setting uc_flags field.
9699         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9700         Delete file.
9701         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9702         Include __longjmp.c.
9703         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9704         Move to ...
9705         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9706         (__getcontext): Remove setting __flags field.
9707         Add versioning.
9708         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9709         (__swapcontext): Remove setting uc_flags field.
9710         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9711         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9712         Remove fields uc_high_gprs and __reserved.
9713         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9714         New file with reverted content.
9715         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9716         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9717         Regenerated.
9718         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9719         Regenerated.
9721 2014-07-31  Andreas Schwab  <schwab@suse.de>
9723         * config.h.in (HAVE_IFUNC): Define to 0.
9724         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9725         definedness.
9727 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
9729         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9730         memmove-avx-unaligned, memcpy-avx-unaligned and
9731         mempcpy-avx-unaligned.
9732         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9733         Add tests for AVX memcpy functions.
9734         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9735         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9736         memcpy_chk.
9737         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9738         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9739         memmove_chk.
9740         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9741         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9742         mempcpy_chk.
9743         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9744         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9745         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9747 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9749         [BZ #17213]
9750         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9751         powerpc64le.
9753 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
9755         [BZ #16839]
9756         * manual/llio.texi: Add section about open file description locks.
9757         * manual/examples/ofdlocks.c: Example of open file description
9758         lock usage.
9759         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9760         F_OFD_SETLK, and F_OFD_SETLKW.
9762 2014-07-23  Allan McRae  <allan@archlinux.org>
9764         * po/es.po: Update Spanish translation from translation project.
9766 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
9768         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9770 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
9772         [BZ #17078]
9773         * sysdeps/arm/dl-machine.h (elf_machine_rela)
9774         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9775         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9777 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
9779         [BZ #17088]
9780         * math/fesetenv.c (__fesetenv)
9781         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9782         * math/feupdateenv.c (__feupdateenv)
9783         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9785         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9786         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9787         (__ASSUME_SOCKETCALL): Do not define.
9789         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9790         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9791         (__ASSUME_SOCKETCALL): Do not define.
9792         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9793         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9794         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9795         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9796         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9797         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9798         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9799         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9801         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9802         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9803         (__ASSUME_SOCKETCALL): Do not define.
9804         (__ASSUME_IPC64): Define unconditionally.
9805         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9806         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9807         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9808         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9809         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9810         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9811         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9812         Likewise.
9814         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9815         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9816         (__ASSUME_SOCKETCALL): Do not define.
9817         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9818         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9819         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9820         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9821         (__ASSUME_REQUEUE_PI): Define unconditionally.
9822         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9823         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9824         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9825         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9826         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9827         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9829         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9830         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9831         (__ASSUME_SOCKETCALL): Do not define.
9832         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9833         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9834         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9835         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9836         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9837         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9839         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9840         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9841         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9842         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9843         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9844         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9845         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9846         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9847         (__ASSUME_GETCPU_SYSCALL): Likewise.
9849         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9850         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
9851         cases for individual architectures.
9852         * sysdeps/gnu/configure: Regenerated.
9853         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9854         LIBC_SLIBDIR_RTLDDIR.
9855         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9856         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9857         LIBC_SLIBDIR_RTLDDIR.
9858         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9860         LIBC_SLIBDIR_RTLDDIR.
9861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9862         Regenerated.
9863         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9864         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9865         file.
9866         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9867         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9868         file.
9869         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9870         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9871         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9872         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9874         * sysdeps/aarch64/shlib-versions: Move to ...
9875         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9876         * sysdeps/alpha/shlib-versions: Move to ...
9877         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9878         * sysdeps/arm/shlib-versions: Move to ...
9879         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9880         * sysdeps/hppa/shlib-versions: Move all contents except for
9881         libgcc_s entry to ...
9882         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
9883         entry from ...
9884         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
9885         * sysdeps/ia64/shlib-versions: Move to ...
9886         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
9887         entry from ...
9888         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
9889         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9890         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9891         * sysdeps/microblaze/shlib-versions: Move to ...
9892         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9893         * sysdeps/mips/shlib-versions: Move to ...
9894         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
9895         entry from ...
9896         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
9897         * sysdeps/tile/shlib-versions: Move to ...
9898         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9899         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9900         from ...
9901         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
9902         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9903         entry from ...
9904         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
9906 2014-07-17  Will Newton  <will.newton@linaro.org>
9908         * sysdeps/arm/bits/atomic.h
9909         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9910         (__arch_compare_and_exchange_bool_16_int): Likewise.
9911         (__arch_compare_and_exchange_bool_64_int): Likewise.
9913         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9914         into an #else block.
9916 2014-07-16  Roland McGrath  <roland@hack.frob.com>
9918         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9919         just Linux configurations.  Test empirically that the compiler sets
9920         __ARM_EABI__, rather than using the tuple to decide.
9921         * sysdeps/arm/preconfigure: Regenerated.
9922         * sysdeps/unix/sysv/linux/arm/configure: File removed.
9923         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9924         contents appended ...
9925         * sysdeps/arm/configure.ac: ... here.
9926         * sysdeps/arm/configure: Regenerated.
9928 2014-07-15  Roland McGrath  <roland@hack.frob.com>
9930         * nptl/pthread_kill.c: New file.
9931         * nptl/pthread_sigmask.c: New file.
9932         * nptl/pthread_sigqueue.c: New file.
9934         * sysdeps/nptl/lowlevellock.h: New file.
9935         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9936         * sysdeps/nptl/lowlevellock-futex.h: New file.
9938         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9939         Remove dead declarations.
9941 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
9943         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9944         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9945         config-cflags-avx2.
9946         * sysdeps/x86_64/configure.ac: Likewise.
9947         * sysdeps/i386/configure: Regenerated.
9948         * sysdeps/x86_64/configure: Likewise.
9949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9950         memset-avx2 only if config-cflags-avx2 is yes.
9951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9952         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9953         defined.
9954         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9955         only if HAVE_AVX2_SUPPORT is defined.
9956         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9958 2014-07-14  Alan Modra  <amodra@gmail.com>
9960         [BZ #17153]
9961         * elf/elf.h (DT_PPC64_NUM): Correct value.
9962         * NEWS: Add to fixed bug list.
9964 2014-07-13  Jim Meyering  <meyering@fb.com>
9966         [BZ 17150]
9967         regex: don't deref NULL upon heap allocation failure
9968         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9969         failure in one more place.
9970         To trigger the segfault, configure grep -with-included-regex,
9971         build it, and run these commands:
9972         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9974 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
9976         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9978 2014-07-11  Richard Henderson  <rth@redhat.com>
9980         * sysdeps/aarch64/libm-test-ulps: Update.
9982 2014-07-10  Florian Weimer  <fweimer@redhat.com>
9984         [BZ #17135]
9985         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9986         * nptl/allocatestack.c (__nptl_setxid_error): New function.
9987         (__nptl_setxid): Initialize error member.  Call
9988         __nptl_setxid_error.
9989         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9990         * nptl/descr.h (struct xid_command): Add error member.
9991         * nptl/tst-setuid3.c: New file.
9992         * nptl/Makefile (tests): Add it.
9994 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9996         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9997         New define.
9998         (__lll_trylock): Use __lll_base_trylock.
9999         (__lll_cond_trylock): Likewise.
10001 2014-07-10  Roland McGrath  <roland@hack.frob.com>
10003         * nptl/pthread_create.c (start_thread): Use atomic_or and
10004         lll_futex_wake directly rather than lll_robust_dead.
10005         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10006         (lll_robust_dead): Macro removed.
10007         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
10008         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10009         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10010         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10011         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10012         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10013         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10014         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10015         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10016         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10017         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10018         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10019         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10020         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10021         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10023         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10024         Use atomic_compare_and_exchange_val_acq directly rather than
10025         lll_robust_trylock.
10026         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10027         (__lll_robust_trylock, lll_robust_trylock): Removed.
10028         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10029         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10030         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10031         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10032         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10033         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10034         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10035         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10036         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10037         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10038         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10039         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10040         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10041         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10043 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10045         * manual/locale.texi (Locale Names): New section documenting
10046         locale name syntax.  Adjust menu and node chaining accordingly.
10047         (Choosing Locale): Reference Locale Names, Locale Categories.
10048         Mention setting LC_ALL=C.  Reflect that name syntax is now
10049         documented.
10050         (Locale Categories): New section title.  Reference Locale Names.
10051         LC_ALL is an environment variable, but not a category.
10052         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10053         description, now in Locale Name.  Reference that section.  Locale
10054         name syntax is now documented.
10056 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10058         [BZ #17137]
10059         * locale/findlocale.c (name_present, valid_locale_name): New
10060         functions.
10061         (_nl_find_locale): Use the loc_name variable to store name
10062         candidates.  Call name_present and valid_locale_name to check and
10063         validate locale names.  Return an error if the locale is invalid.
10065 2014-07-02  Florian Weimer  <fweimer@redhat.com>
10067         * locale/setlocale.c (setlocale): Use strdup for allocating
10068         composite name copy.
10070 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10072         Sync up with gnulib.
10073         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10074         [!_LIBC && ENABLE_NLS]: Include gettext.h.
10075         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10076         and _GL_ARG_NONNULL.
10077         [USE_UNLOCKED_IO]: Include unlocked-io.h.
10078         [!_LIBC]: Include code for Windows and Cygwin.
10079         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10080         Include prototype for int strerror_r.
10081         [!_LIBC] (is_open): New function.
10082         (flush_stdout): New function.
10083         (print_errno_message): Use it.
10084         (error): Likewise.
10085         (error_at_line): Likewise.
10086         (error_tail) Add function attribute macros.  Use
10087         __builtin_expect.
10089         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
10091         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
10093         * io/ftw.c: Include sys/param.h unconditionally.
10095         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
10097         [BZ #17125]
10098         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
10099         libc_freeres_ptr.
10100         (freecache): New function to free CACHE on exit.
10102         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
10103         initialization.
10105 2014-07-09  David S. Miller  <davem@davemloft.net>
10107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10109         * sysdeps/sparc/nptl/internaltypes.h: Delete.
10110         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
10111         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
10112         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
10113         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
10114         * sysdeps/sparc/nptl/sem_init.c: Likewise.
10115         * sysdeps/sparc/nptl/sem_post.c: Likewise.
10116         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
10117         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
10118         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
10119         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
10120         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
10121         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
10123 2014-07-09  Andreas Schwab  <schwab@suse.de>
10125         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
10126         output.
10127         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
10128         (do_test): Likewise.
10130         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10132 2014-07-09  Will Newton  <will.newton@linaro.org>
10134         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
10135         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
10136         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
10137         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
10138         * sysdeps/hppa/start.S (_start): Likewise.
10140 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
10142         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
10144         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
10145         defined.
10147 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10149         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
10150         after checking that it is non-NULL.
10152         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
10154 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10156         * sysdeps/powerpc/memmove.c: Remove file.
10157         * sysdeps/powerpc/powerpc32/power4/memcopy.h
10158         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
10159         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10160         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
10161         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
10162         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10163         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
10164         string memmove instead of removed powerpc one.
10166         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10167         [weak_alias]: Fix compiler warning due trailing data.
10168         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
10169         [weak_alias]: Likewise.
10170         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
10171         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
10173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10174         (__libc_ifunc_impl_list): Add memmove functions.
10176 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10178         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
10179         Remove code.
10180         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
10181         Likewise
10182         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
10183         Likewise
10184         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
10185         Likewise
10186         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
10187         Likewise
10188         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
10189         Likewise
10190         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
10191         Likewise
10192         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
10193         Likewise
10194         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
10195         Likewise
10196         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
10197         Likewise
10198         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
10199         Likewise
10200         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
10201         Likewise
10202         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
10203         Likewise
10204         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
10205         Likewise
10206         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
10207         Likewise
10208         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
10209         Likewise
10210         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
10211         Likewise
10213 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10215         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
10216         to avoid alignment traps in non-cacheable memory.
10217         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
10220         multiarch objects.
10221         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
10222         file: multiarch power7 memmove.
10223         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
10224         multiarch default memmove.
10225         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
10226         multiarch memove for powerpc32/power4.
10228         * string/bcopy.c: Use full path to include memmove.c.
10229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
10230         multiarch objects.
10231         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
10232         bcopy for powerpc64.
10233         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
10234         bcopy for powerpc64.
10235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
10236         and memmove implementations.
10237         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
10238         optimized multiarch memmove for POWER7/powerpc64.
10239         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
10240         default multiarch memmove for powerpc64.
10241         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
10242         multiarch for powerpc64.
10243         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
10244         for POWER7/powerpc64.
10245         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
10246         memmove for POWER7/powerpc64.
10248         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
10249         glibc default one.
10251         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
10252         __ELF_NATIVE_CLASS equal to 64.
10254 2014-07-07  Roland McGrath  <roland@hack.frob.com>
10256         * sysdeps/nptl/lowlevellock.h: File removed.
10258         * NEWS: NPTL is no longer an add-on!
10259         * nptl/internaltypes.h: Moved ...
10260         * sysdeps/nptl/internaltypes.h: ... here.
10261         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
10262         * sysdeps/nptl/fork.c: Likewise.
10263         * sysdeps/nptl/gai_misc.h: Likewise.
10264         * sysdeps/nptl/librt-cancellation.c: Likewise.
10265         * sysdeps/nptl/jmp-unwind.c: Likewise.
10266         * sysdeps/nptl/setxid.h: Likewise.
10267         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
10268         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
10269         * sysdeps/unix/sysv/linux/arm/Implies: New file.
10270         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
10271         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
10272         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
10273         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
10274         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
10275         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
10276         * sysdeps/unix/sysv/linux/mips/Implies: New file.
10277         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
10278         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
10279         * sysdeps/unix/sysv/linux/sh/Implies: New file.
10280         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
10281         * sysdeps/unix/sysv/linux/tile/Implies: New file.
10282         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
10283         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
10284         * nptl/Makeconfig: Moved ...
10285         * sysdeps/nptl/Makeconfig: ... here.
10286         * nptl/configure: File removed.
10287         * nptl/ANNOUNCE: File removed.
10288         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
10289         * sysdeps/unix/sysv/linux/configure: Regenerated.
10291         * nptl/Makefile (routines): Add libc_pthread_init,
10292         libc_multiple_threads, register-atfork and unregister-atfork.
10293         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
10294         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
10295         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
10296         pthread-pi-defines.sym, structsem.sym.
10297         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
10298         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
10299         [$(subdir) = nptl] (tests): Add tst-setgetname.
10300         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
10301         * sysdeps/unix/sysv/linux/sigaction.c: Just include
10302         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
10303         [!LIBC_SIGACTION]: Remove aliases.
10304         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10305         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10306         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10307         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
10308         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10309         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
10310         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10311         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10312         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10313         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
10314         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
10315         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
10316         __libc_allocate_rtsig_private.
10317         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
10318         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
10319         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
10320         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
10321         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
10322         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
10323         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
10324         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
10325         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
10326         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
10327         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
10328         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
10329         * nptl/internaltypes.h: ... here.
10330         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
10331         * sysdeps/nptl/jmp-unwind.c: ... here.
10332         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
10333         * nptl/libc-lowlevellock.c: ... here.
10334         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
10335         * nptl/libc_multiple_threads.c: ... here.
10336         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
10337         * nptl/libc_pthread_init.c: ... here.
10338         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
10339         * nptl/lowlevelbarrier.sym: ... here.
10340         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
10341         * nptl/lowlevelcond.sym: ... here.
10342         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
10343         * nptl/lowlevellock.c: ... here.
10344         * nptl/lowlevellock.h: Moved ...
10345         * sysdeps/nptl/lowlevellock.h: ... here.
10346         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
10347         * nptl/lowlevelrobustlock.c: ... here.
10348         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
10349         * nptl/lowlevelrobustlock.sym: ... here.
10350         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
10351         * nptl/lowlevelrwlock.sym: ... here.
10352         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
10353         * nptl/pt-fork.c: ... here.
10354         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
10355         * nptl/pthread-pi-defines.sym: ... here.
10356         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
10357         * nptl/pthread_attr_getaffinity.c: ... here.
10358         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
10359         * nptl/pthread_attr_setaffinity.c: ... here.
10360         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
10361         * nptl/pthread_mutex_cond_lock.c: ... here.
10362         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10363         Update #include.
10364         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
10365         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
10366         * nptl/pthread_once.c: ... here, replacing old file.
10367         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
10368         * nptl/pthread_yield.c: ... here.
10369         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
10370         * nptl/register-atfork.c: ... here.
10371         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
10372         * nptl/sem_post.c: ... here.
10373         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
10374         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
10375         * nptl/sem_timedwait.c: ... here.
10376         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
10377         * nptl/sem_trywait.c: ... here.
10378         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
10379         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
10380         * nptl/sem_wait.c: ... here.
10381         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
10382         * nptl/structsem.sym: ... here.
10383         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
10384         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
10385         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
10386         * nptl/unregister-atfork.c: ... here.
10387         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
10388         * nptl/unwindbuf.sym: ... here.
10389         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
10390         * sysdeps/nptl/fork.c: ... here.
10391         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
10392         * sysdeps/nptl/fork.h: ... here.
10393         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
10394         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
10395         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
10396         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
10397         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
10398         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
10399         * sysdeps/unix/sysv/linux/getpid.c: ... here.
10400         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
10401         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
10402         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
10403         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
10404         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
10405         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
10406         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
10407         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
10408         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
10409         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
10410         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
10411         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
10412         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
10413         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
10414         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
10415         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
10416         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
10417         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
10418         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
10419         * sysdeps/unix/sysv/linux/raise.c: ... here.
10420         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
10421         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
10422         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
10423         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
10424         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
10425         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
10426         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
10427         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
10428         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
10429         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
10430         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
10431         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
10432         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
10433         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
10434         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
10436 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10438         * sysdeps/generic/memcopy.h: Add comment for
10439         MEMCPY_OK_FOR_FWD_MEMMOVE.
10441 2014-07-04  Will Newton  <will.newton@linaro.org>
10443         * string/memchr.c: Merge from gnulib.
10444         [_LIBC]: Remove conditionals.
10445         (__ptr_t): Remove define.
10446         (LONG_MAX_32_BITS): Likewise.
10447         (LONG_MAX): Likewise.
10448         (MEMCHR): Use ANSI prototype and optimize algorithm.
10450         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
10452 2014-07-03  Roland McGrath  <roland@hack.frob.com>
10454         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
10455         (lll_futex_timed_wait_bitset): Fix syscall argument count.
10457         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
10458         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
10459         in a bare environment with no <stdlib.h> installed.
10460         * sysdeps/nptl/configure: Regenerated.
10462         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
10464         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
10465         AC_EGREP_CPP for kernel header checks, so they only succeed if
10466         including <linux/version.h> actually works right.
10467         * sysdeps/unix/sysv/linux/configure: Regenerated.
10469         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
10470         value so it's not diagnosed as unused.
10472         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
10473         thing) with "ifeq ($(subdir),rt)".
10475 2014-07-03  Richard Henderson  <rth@redhat.com>
10477         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
10478         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
10479         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
10481         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
10482         (math_force_eval): New.
10484         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
10485         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
10487         * sysdeps/alpha/fpu/s_round.c: Remove file.
10488         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
10490         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
10491         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
10492         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
10493         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
10494         (_dl_start, print_statistics): Likewise.
10495         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
10496         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
10498         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10499         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10500         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10501         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10502         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10503         (HP_SMALL_TIMING_AVAIL): Define.
10504         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10505         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10506         (HP_SMALL_TIMING_AVAIL): Define.
10507         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10508         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
10510         * sysdeps/aarch64/hp-timing.h: New file.
10512         * sysdeps/generic/hp-timing.h: Remove dead comment.
10513         * sysdeps/generic/hp-timing-common.h: New file.
10514         * sysdeps/alpha/hp-timing.h: Include it.
10515         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
10516         * sysdeps/i386/i686/hp-timing.h: Likewise.
10517         * sysdeps/ia64/hp-timing.h: Likewise.
10518         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10519         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10520         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
10521         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
10522         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
10523         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
10524         (hp_timing_t): New.
10526         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
10527         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
10528         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
10529         * elf/rtld.c (_dl_start_final): Likewise.
10530         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
10531         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10532         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10533         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10534         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10535         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10536         (HP_TIMING_DIFF_INIT): Remove.
10537         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10538         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
10539         (HP_TIMING_DIFF_INIT): Remove.
10540         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
10541         * sysdeps/i386/i686/hp-timing.c: Remove file.
10542         * sysdeps/x86_64/hp-timing.c: Remove file.
10543         * sysdeps/ia64/hp-timing.c: Remove file.
10544         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
10545         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
10546         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
10547         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
10549         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
10550         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
10551         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
10552         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10553         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
10554         (HP_TIMING_ACCUM): Remove.
10555         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10556         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
10557         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
10559         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
10560         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
10561         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
10562         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
10563         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
10564         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10565         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
10566         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10568         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
10570 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
10572         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
10574 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10576         Sync up with gettext.
10577         * intl/loadmsgcat.c: Define O_BINARY if not defined.
10578         [_MSC_VER]: Include malloc.h
10579         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
10580         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
10581         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
10582         TEMP_FAILURE_RETRY.  Cast return of alloca.
10583         [!_LIBC] Call gl_rwlock_init.
10584         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
10586 2014-07-02  Roland McGrath  <roland@hack.frob.com>
10588         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
10589         before checking its value.
10591 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10593         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
10595         * debug/memcpy_chk.c: Don't include pagecopy.h.
10596         * debug/mempcpy_chk.c: Likewise.
10597         * string/memcpy.c: Likewise.
10598         * string/memmove.c: Likewise.
10599         * sysdeps/powerpc/memmove.c: Likewise.
10600         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
10601         definition of PAGE_COPY_FWD_MAYBE here...
10602         * sysdeps/generic/pagecopy.h: ... from here.
10603         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10605 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10606             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10608         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10610         optimizations.
10611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10612         (__libc_ifunc_impl_list): Likewise.
10613         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10614         multiarch strcat for PPC64.
10615         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10616         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10618 2014-07-02  Roland McGrath  <roland@hack.frob.com>
10620         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10622 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10624         * intl/loadmsgcat.c: Remove declaration of
10625         get_sysdep_segment_value.
10626         (get_sysdep_segment_value): Use ISO C style.
10627         (_nl_load_domain): Use ISO C style.  Get rid of redundant
10628         semicolon.  Fix typo and formatting in comment.
10629         (_nl_unload_domain): Use ISO C style.
10631         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10633 2014-07-02  Will Newton  <will.newton@linaro.org>
10635         * malloc/obstack.c: Merge from gnulib master.
10636         [HAVE_CONFIG_H]: Remove conditional code.
10637         [!_LIBC]: Include config.h.
10638         [!ELIDE_CODE]: Don't include inttypes.h, include
10639         stdint.h unconditionally.
10640         (print_and_abort): Mark as _Noreturn.
10641         (_obstack_allocated_p): Mark as __attribute_pure__.
10642         (obstack_free): Rename to __obstack_free.
10643         [!__attribute__]: Remove conditional code.
10644         * malloc/obstack.h: Merge from gnulib master.
10645         [__cplusplus]: Move conditional down.
10646         [!__attribute_pure__]: Define __attribute_pure__ here
10647         if it is not already defined.
10648         (_obstack_memory_used): Mark as __attribute_pure__.
10649         [!__obstack_free]: Define as obstack_free.
10650         [__GNUC__]: Remove check for ancient NeXT gcc.
10652 2014-07-02  Will Newton  <will.newton@linaro.org>
10653             Paul Eggert  <eggert@cs.ucla.edu>
10655         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10657 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10659         * resolv/gethnamaddr.c: Add comment warning that the file is
10660         not maintained.
10662 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
10664         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10665         entries.
10667         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10668         entry for aio_cancel and aio_cancel64.
10669         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10670         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10671         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10672         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10673         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10674         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10675         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10676         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10677         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10678         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10679         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10680         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10681         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10683 2014-07-01  Roland McGrath  <roland@hack.frob.com>
10685         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10686         * nptl/pthread_mutex_lock.c: Likewise.
10687         * nptl/pthread_mutex_timedlock.c: Likewise.
10688         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10690 2014-07-01  Richard henderson  <rth@redhat.com>
10692         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10693         (__isnan, __isnanl): Remove.
10694         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10696         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10698 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10700         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10702 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10704         * resolv/nss_dns/dns-host.c (getanswer_r)
10705         [MULTI_PTRS_ARE_ALIASES]: Remove code.
10707 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
10709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10710         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10711         undefine.
10712         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10713         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10715 2014-07-01  Roland McGrath <roland@hack.frob.com>
10717         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10718         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10720         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10721         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10723         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10724         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10725         ... here.
10726         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10727         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10729         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10730         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10731         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10732         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10734         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10735         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10736         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10737         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10738         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10739         Moved ...
10740         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10741         ... here.
10742         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10743         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10744         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10745         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10746         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10747         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10748         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10749         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10750         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10751         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10752         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10753         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10754         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10755         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10756         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10757         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10758         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10759         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10760         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10761         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10762         ... here.
10763         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10764         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10765         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10766         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10767         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10768         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10769         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10770         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10772 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
10774         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10775         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10776         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10777         Add sysdep.
10779 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10783 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
10785         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10786         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10788         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10790         * sysdeps/arm/libm-test-ulps: Regenerated.
10792 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
10793             Roland McGrath <roland@hack.frob.com>
10795         * test-skeleton.c (signal_handler): Kill the whole process group
10796         before killing the child individually.
10797         (main): Report any failure on `setpgid'.
10799 2014-06-30  Roland McGrath  <roland@hack.frob.com>
10801         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10802         from _TLS_H to _ARM_NPTL_TLS_H.
10803         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10804         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10806 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
10808         [BZ #16539]
10809         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10810         (__expm1l): Return argument unchanged when small but not
10811         subnormal.
10813         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10814         include macro name.
10815         (_FP_UNPACK_RAW_1_P): Likewise.
10816         (_FP_PACK_RAW_1): Likewise.
10817         (_FP_PACK_RAW_1_P): Likewise.
10818         (_FP_MUL_MEAT_1_wide): Likewise.
10819         (_FP_MUL_MEAT_DW_1_hard): Likewise.
10820         (_FP_MUL_MEAT_1_hard): Likewise.
10821         (_FP_DIV_MEAT_1_imm): Likewise.
10822         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10823         (_FP_DIV_MEAT_1_udiv): Likewise.
10824         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10825         (_FP_UNPACK_RAW_2): Likewise.
10826         (_FP_UNPACK_RAW_2_P): Likewise.
10827         (_FP_PACK_RAW_2): Likewise.
10828         (_FP_PACK_RAW_2_P): Likewise.
10829         (_FP_MUL_MEAT_DW_2_wide): Likewise.
10830         (_FP_MUL_MEAT_2_wide): Likewise.
10831         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10832         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10833         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10834         (_FP_MUL_MEAT_2_gmp): Likewise.
10835         (_FP_DIV_MEAT_2_udiv): Likewise.
10836         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10837         (_FP_FRAC_SRL_4): Likewise.
10838         (_FP_FRAC_SRST_4): Likewise.
10839         (_FP_FRAC_SRS_4): Likewise.
10840         (_FP_UNPACK_RAW_4): Likewise.
10841         (_FP_UNPACK_RAW_4_P): Likewise.
10842         (_FP_PACK_RAW_4): Likewise.
10843         (_FP_PACK_RAW_4_P): Likewise.
10844         (_FP_MUL_MEAT_DW_4_wide): Likewise.
10845         (_FP_MUL_MEAT_4_wide): Likewise.
10846         (_FP_MUL_MEAT_4_gmp): Likewise.
10847         (umul_ppppmnnn): Likewise.
10848         (_FP_DIV_MEAT_4_udiv): Likewise.
10849         (__FP_FRAC_ADD_4): Likewise.
10850         (__FP_FRAC_SUB_3): Likewise.
10851         (__FP_FRAC_SUB_4): Likewise.
10852         (__FP_FRAC_DEC_3): Likewise.
10853         (__FP_FRAC_DEC_4): Likewise.
10854         (__FP_FRAC_ADDI_4): Likewise.
10855         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10856         (_FP_FRAC_SRL_8): Likewise.
10857         (_FP_FRAC_SRS_8): Likewise.
10859         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10860         include macro name.
10861         (FP_UNPACK_RAW_EP): Likewise.
10862         (FP_PACK_RAW_E): Likewise.
10863         (FP_PACK_RAW_EP): Likewise.
10864         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10865         (_FP_ISSIGNAN): Likewise.
10866         (_FP_ADD_INTERNAL): Likewise.
10867         (_FP_FMA): Likewise.
10868         (_FP_CMP): Likewise.
10869         (_FP_SQRT): Likewise.
10870         (_FP_TO_INT): Likewise.
10871         (_FP_FROM_INT): Likewise.
10872         (FP_EXTEND): Likewise.
10873         (_FP_DIV_MEAT_N_loop): Likewise.
10875 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
10877         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10878         throughout.
10880 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
10882         [BZ #17097]
10883         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10884         result with correct sign in case of exponents that produce
10885         overflow except for X very close to 1.
10887 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
10889         mktime: merge #if/#ifdef usage from glibc
10890         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10891         as that works with both Glibc's and Gnulib's style.
10892         See thread starting at Siddhesh Poyarekar's bug report at:
10893         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10895 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10897         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10898         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10899         * sysdeps/tile/tilegx/memmove.c: Remove file.
10901 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10903         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10904         abi-name definition.
10905         * scripts/soversions.awk: Do not handle or generate ABI lines.
10906         * shlib-versions: Remove ABI entries.
10907         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10908         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10910 2014-06-27  Roland McGrath  <roland@hack.frob.com>
10912         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10913         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10914         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10915         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10917         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10919         Moved ...
10920         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10921         ... here.
10922         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10923         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10924         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10925         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10927         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10929         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10931         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10932         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10933         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10934         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10935         Moved ...
10936         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10938         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10940         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10942         Moved ...
10943         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10944         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10945         Moved ...
10946         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10947         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10948         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10950         Moved ...
10951         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10952         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10953         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10954         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10955         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10956         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10957         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10958         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10959         Moved ...
10960         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10961         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10962         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10963         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10964         Moved ...
10965         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10966         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10967         Moved ...
10968         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10969         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10970         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10971         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10972         Moved ...
10973         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10974         ... here.
10975         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10976         Identical file removed.
10977         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10978         Moved ...
10979         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10980         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10981         Identical file removed.
10982         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10983         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10984         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10985         Moved ...
10986         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10987         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10988         Identical file removed.
10989         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10990         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10991         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10992         Identical file removed.
10993         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10994         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10995         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10996         Identical file removed.
10997         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10998         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10999         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11000         Identical file removed.
11001         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11002         Moved ...
11003         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11004         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11005         Identical file removed.
11006         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11007         Moved ...
11008         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11009         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11010         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11011         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11012         Identical file removed.
11013         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11014         Moved ...
11015         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11016         ... here.
11017         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11018         Identical file removed.
11019         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11020         Moved ...
11021         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11022         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11023         Identical file removed.
11024         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11025         Moved ...
11026         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11027         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11028         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11029         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11030         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11031         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11032         Moved ...
11033         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11034         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11035         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11037         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11038         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11039         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11040         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11041         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11043 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
11045         [BZ #17092]
11046         * nscd/nscd.c (monitor_child): Return exit status of child
11047         instead of return value from wait syscall.
11049 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
11051         * configure.ac (libc_commonpagesize): Remove variable.
11052         (libc_relro_required): Likewise.
11053         (libc_cv_z_relro): Remove configure test.
11054         * configure: Regenerated.
11055         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11056         variable.
11057         (libc_relro_required): Likewise.
11058         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11059         (libc_relro_required): Likewise.
11060         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11061         (libc_relro_required): Likewise.
11062         * sysdeps/arm/preconfigure: Regenerated.
11063         * sysdeps/ia64/preconfigure: Remove file.
11064         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11065         variable.
11066         (libc_relro_required): Likewise.
11068         [BZ #16561]
11069         [BZ #16562]
11070         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11071         (__ieee754_yn): Set FE_TONEAREST mode internally and then
11072         recompute overflowing results in original rounding mode.
11073         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11074         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11075         recompute overflowing results in original rounding mode.
11076         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11077         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11078         recompute overflowing results in original rounding mode.
11079         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11080         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11081         recompute overflowing results in original rounding mode.
11082         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11083         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11084         recompute overflowing results in original rounding mode.
11085         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
11086         (libc_feholdsetround_ctx): New macro.
11087         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
11088         * sysdeps/i386/fpu/libm-test-ulps: Update.
11089         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
11091 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11093         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
11094         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
11095         corresponding .cpsetup call.
11097 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11099         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
11100         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
11101         * sysdeps/arm/Makefile [$(subdir) = csu]
11102         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
11103         (static-only-routines): Add aeabi_read_tp here.
11104         (shared-only-routines): Add libc-aeabi_read_tp here.
11105         (CFLAGS-libc-start.c): Add -fexceptions here.
11106         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
11107         (sysdep_routines, static-only-routines, shared-only-routines):
11108         Don't add to these here.
11109         (CFLAGS-libc-start.c): Likewise.
11111         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
11112         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11113         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
11114         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11115         * sysdeps/arm/Makefile [$(subdir) = rt]
11116         (librt-sysdep_routines, librt-shared-only-routines):
11117         Append rt-aeabi_unwind_cpp_pr1 here.
11118         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
11119         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
11120         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
11121         (libpthread-sysdep_routines, libpthread-shared-only-routines):
11122         Append nptl-aeabi_unwind_cpp_pr1 here.
11123         (tests): Filter out tst-cleanupx4 here.
11124         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
11125         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
11126         Don't do those here.
11128 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11130         * scripts/list-sources.sh: Do not handle ports specially.
11132 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11134         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
11135         * sysdeps/arm/feupdateenv.c: Likewise.
11137         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
11139 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11141         * manual/texinfo.tex: Update to version 2014-05-05.10 with
11142         trailing whitespace removed.
11143         * scripts/config.guess: Update to version 2014-03-23.
11144         * scripts/config.sub: Update to version 2014-05-01
11145         * scripts/install-sh: Update to version 2013-12-25.23.
11146         * scripts/move-if-change: Update from gnulib.
11148 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11150         * debug/memmove_chk.c: Remove pagecopy.h include.
11152 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
11154         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
11155         identical to gnulib mktime.
11157 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
11159         * configure.ac: Do not test for machine being rs6000.  Do not test
11160         for powerpc*-*soft.
11161         * configure: Regenerated.
11163         [BZ #11505]
11164         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
11165         test.
11166         * configure: Regenerated.
11167         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
11168         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
11169         Remove configure test.
11170         * sysdeps/arm/configure: Regenerated.
11171         * sysdeps/nptl/configure.ac: Do not check
11172         libc_cv_asm_cfi_directives.
11173         * sysdeps/nptl/configure: Regenerated.
11174         * sysdeps/x86_64/nptl/configure.ac: Remove file.
11175         * sysdeps/x86_64/nptl/configure: Remove generated file.
11176         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
11177         unconditional.
11178         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
11180 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11182         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
11183         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
11184         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
11185         it is defined.
11187         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
11188         instead of whether it is defined.
11189         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
11190         * sysdeps/hppa/dl-machine.h: Likewise.
11191         * sysdeps/ia64/dl-machine.h: Likewise.
11192         * sysdeps/m68k/dl-machine.h: Likewise.
11193         * sysdeps/microblaze/dl-machine.h: Likewise.
11194         * sysdeps/mips/dl-machine.: Likewise.
11195         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11196         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11197         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11198         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11199         * sysdeps/sh/dl-machine.h: Likewise.
11200         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11201         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11202         * sysdeps/tile/dl-machine.h: Likewise.
11203         * sysdeps/x86_64/dl-machine.h: Likewise.
11205         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
11206         code.
11207         (verify_persistent_db): Likewise.
11209 2014-06-26  Roland McGrath  <roland@hack.frob.com>
11211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
11212         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
11213         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
11214         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
11215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11216         Moved ...
11217         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
11218         ... here.
11219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
11220         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
11221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
11222         Identical file removed.
11223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
11224         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
11225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
11226         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
11227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
11228         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
11229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
11230         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
11231         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
11232         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
11233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11234         Moved ...
11235         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
11236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
11237         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
11238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
11239         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
11240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11241         Moved ...
11242         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
11243         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
11244         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
11245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
11246         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
11247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11248         Identical file removed.
11249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
11250         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
11251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
11252         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
11253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11254         Moved ...
11255         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
11256         ... here.
11257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
11258         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
11259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
11260         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
11261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
11262         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
11263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
11264         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
11265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
11266         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
11267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11268         Moved ...
11269         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
11270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
11271         Moved ...
11272         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
11273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
11274         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
11275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11276         Moved ...
11277         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
11278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
11279         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
11281         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
11282         folded into ...
11283         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
11284         * sysdeps/unix/sysv/linux/s390/Versions
11285         (libpthread: GLIBC_2.19): New version set.
11286         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
11287         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
11288         (librt: GLIBC_2.3.3): New version set.
11289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
11290         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
11291         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
11292         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
11293         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
11294         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
11295         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
11296         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
11297         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
11298         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
11299         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
11300         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
11301         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
11302         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
11303         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
11304         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
11305         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
11306         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
11307         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
11308         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
11309         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
11310         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
11311         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
11312         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
11313         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
11314         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
11315         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
11316         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
11317         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
11318         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
11319         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
11320         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
11321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
11322         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
11323         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
11324         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
11325         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
11326         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
11327         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
11328         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
11329         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
11330         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
11331         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
11332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
11333         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
11335         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
11336         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
11337         (__libc_vfork): Define the function under this name.
11338         [!NOT_IN_libc] (__vfork): Make this an alias.
11339         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
11340         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
11341         * sysdeps/unix/sysv/linux/s390/s390-64/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         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
11346         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
11347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
11348         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
11349         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11351         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
11352         code that was previously under [RESET_PID].
11353         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11354         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
11355         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
11357         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
11358         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
11359         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
11360         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
11361         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
11362         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
11363         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
11364         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
11365         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
11366         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
11367         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
11368         Moved ...
11369         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
11370         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
11371         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
11372         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
11373         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
11374         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
11375         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
11376         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
11377         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
11378         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
11379         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
11380         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
11381         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
11382         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
11383         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
11384         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
11385         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
11386         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
11387         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
11388         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
11389         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
11390         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
11391         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
11392         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
11393         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
11394         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
11395         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
11396         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
11397         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
11399 2014-06-25  Roland McGrath  <roland@hack.frob.com>
11401         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
11402         that was previously under [RESET_PID].
11403         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
11405 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11407         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
11408         not undefine and redefine.
11409         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
11410         [O_CLOEXEC]: Make code unconditional.
11411         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
11412         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
11413         <kernel-features.h>.
11414         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
11415         conditional variable definition.
11416         (shm_open) [O_CLOEXEC]: Make code unconditional.
11417         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
11418         code.
11420         * configure.ac (USE_REGPARMS): Don't define here.
11421         * configure: Regenerated.
11422         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
11423         * sysdeps/i386/configure: Regenerated.
11425         * nptl/createthread.c: Don't include kernel-features.h.
11426         * nptl/pthread_cancel.c: Likewise.
11427         * nptl/pthread_condattr_setclock.c: Likewise.
11428         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
11429         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
11430         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
11431         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
11432         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
11433         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
11434         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11435         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
11436         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11437         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
11438         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
11439         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
11440         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
11441         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
11442         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
11443         * nscd/gai.c: Likewise.
11444         * nss/nss_db/db-open.c: Likewise.
11445         * sysdeps/generic/ldsodefs.h: Likewise.
11446         * sysdeps/sh/nptl/tls.h: Likewise.
11447         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11448         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
11449         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
11450         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
11451         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
11452         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11453         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
11454         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11455         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11456         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
11457         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
11458         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11459         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
11460         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
11461         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
11462         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
11463         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
11464         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
11465         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
11466         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
11467         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11468         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11469         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
11470         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
11471         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11472         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
11474         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
11475         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11476         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
11477         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
11478         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
11479         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
11480         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11481         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11482         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11483         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11484         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
11485         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
11486         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
11487         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11488         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
11489         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
11490         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11491         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11492         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
11493         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
11494         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
11495         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
11496         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11497         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11498         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11499         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11500         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11501         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
11502         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11503         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11504         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
11505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
11507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
11508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
11509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
11510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
11517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
11518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
11519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
11525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
11526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11527         * sysdeps/unix/sysv/linux/pread.c: Likewise.
11528         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
11529         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
11530         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
11531         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
11532         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
11533         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
11534         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
11535         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
11536         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11537         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
11538         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11539         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
11540         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
11541         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
11542         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
11543         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11544         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
11545         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
11546         * sysdeps/unix/sysv/linux/system.c: Likewise.
11547         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
11548         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
11549         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
11550         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
11551         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11552         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11553         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11555         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
11556         * configure: Regenerated.
11557         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
11559         * configure.ac (base_machine): Do not set specially for particular
11560         machines here.
11561         * configure: Regenerated.
11562         * sysdeps/powerpc/preconfigure: Move machine and base_machine
11563         settings from configure.ac.
11564         * sysdeps/i386/preconfigure: New file.
11565         * sysdeps/s390/preconfigure: Likewise.
11566         * sysdeps/sh/preconfigure: Likewise.
11567         * sysdeps/sparc/preconfigure: Likewise.
11569 2014-06-25  Roland McGrath  <roland@hack.frob.com>
11571         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
11572         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
11573         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
11574         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
11575         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
11576         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
11577         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
11578         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11579         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
11580         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
11581         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
11582         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
11583         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
11584         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
11585         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
11586         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
11587         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
11588         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
11589         * sysdeps/sparc/sparc64/Makefile: ... appended here.
11591         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
11592         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
11593         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
11594         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
11595         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
11596         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
11597         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11598         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11599         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11600         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11601         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11602         * sysdeps/sparc/sparc32/sem_post.c: ... here.
11603         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11604         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11605         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11606         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11607         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11608         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11609         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11610         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11611         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11612         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11613         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11614         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11615         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11616         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11617         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11618         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11619         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11620         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11621         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11622         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11623         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11624         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11625         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11626         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11627         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11628         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11631         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11633         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11635         Moved ...
11636         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11637         ... here.
11638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11639         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11641         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11643         Moved ...
11644         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11646         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11648         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11650         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11652         Moved ...
11653         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11655         Moved ...
11656         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11658         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11660         Moved ...
11661         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11663         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11665         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11667         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11669         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11671         Moved ...
11672         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11673         ... here.
11674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11675         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11677         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11679         Moved ...
11680         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11682         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11684         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11686         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11688         Moved ...
11689         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11691         Moved ...
11692         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11694         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11696         Moved ...
11697         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11699         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11701         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11703 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11705         * timezone/checktab.awk: Update from tzcode 2014e.
11706         * timezone/private.h: Likewise.
11707         * timezone/tzfile.h: Likewise.
11708         * timezone/zdump.c: Likewise.
11709         * timezone/zic.c: Likewise.
11711         * sysdeps/unix/sysv/linux/kernel-features.h
11712         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11713         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11714         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11715         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11716         Remove conditional code.
11718 2014-06-25  Will Newton  <will.newton@linaro.org>
11720         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11721         (_dl_arm_cap_flags): Add HWCAP2 values.
11722         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11723         (_DL_HWCAP_COUNT): Increase to 37.
11724         (_DL_HWCAP_LAST): New define.
11725         (_DL_HWCAP2_LAST): New define.
11726         (_dl_procinfo): Add support for printing
11727         AT_HWCAP2 entries.
11728         (_dl_string_hwcap): Use _dl_hwcap_string.
11730 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11734 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
11736         * README: Do not mention ports directory.
11738         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11739         Remove macro.
11740         * sysdeps/unix/sysv/linux/futimes.c: Do not include
11741         <kernel-features.h>.
11742         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11743         conditional variable definition.
11744         (__futimes): Update comment.
11745         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11746         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11748         [BZ #16560]
11749         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11750         arguments close to 0.
11751         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11752         Likewise.
11753         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11754         Likewise.
11755         * math/auto-libm-test-in: Add more tests of exp10.
11756         * math/auto-libm-test-out: Regenerated.
11757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11759         * sysdeps/unix/sysv/linux/kernel-features.h
11760         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11761         * sysdeps/unix/sysv/linux/readv.c: Do not include
11762         <kernel-features.h>.
11763         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11764         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11765         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11766         unconditional.
11767         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11768         conditional code.
11769         * sysdeps/unix/sysv/linux/writev.c: Do not include
11770         <kernel-features.h>.
11771         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11772         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11773         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11774         unconditional.
11775         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11776         conditional code.
11778 2014-06-25  Will Newton  <will.newton@linaro.org>
11780         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11781         comment changes throughout the file.  Remove checks
11782         for HAVE_*_H definitions that are not required.
11783         (__gen_tempname): Call abort if an unknown kind value is
11784         passed.
11786 2014-06-25  Andreas Schwab  <schwab@suse.de>
11788         [BZ #17086]
11789         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11790         scalbln, scalblnf, scalblnl in libc.
11792 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
11794         [BZ #17086]
11795         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11796         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11797         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11799 2014-06-24  Roland McGrath  <roland@hack.frob.com>
11801         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11802         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11803         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11804         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11805         Update #include.
11806         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11807         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11808         Update #include.
11809         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11810         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11811         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11812         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11813         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11814         * sysdeps/x86/bits/pthreadtypes.h: ... here.
11815         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11816         * sysdeps/x86/bits/semaphore.h: ... here.
11817         * sysdeps/x86/nptl/elide.h: Moved ...
11818         * sysdeps/x86/elide.h: ... here.
11819         * sysdeps/x86_64/nptl/Implies: File removed.
11820         * sysdeps/i386/nptl/Implies: File removed.
11822 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
11824         [BZ #16539]
11825         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11826         return the argument for normal arguments with exponent below -64.
11827         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11828         Likewise.
11829         * math/auto-libm-test-in: Add another test of expm1.
11830         * math/auto-libm-test-out: Regenerated.
11832         [BZ #16287]
11833         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11834         calling __erfcl for arguments at least 16.
11835         * math/auto-libm-test-in: Add more tests of erf.
11836         * math/auto-libm-test-out: Regenerated.
11838         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11839         individual architectures.
11840         * sysdeps/unix/sysv/linux/configure: Regenerated.
11841         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11842         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11843         * sysdeps/unix/sysv/linux/powerpc/configure.ac
11844         (ldd_rewrite_script): Define variable.
11845         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11847         file.
11848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11849         generated file.
11850         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11851         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11852         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11853         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11854         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11855         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11856         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11857         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11859 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11861         [BZ #17084]
11862         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11863         Rename member __data.d to __data.__elision_data.
11865 2014-06-24  Wilco  <wdijkstr@arm.com>
11867         * NEWS: Add 16918 to fixed bug list.
11869 2014-06-24  Wilco  <wdijkstr@arm.com>
11871         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11873 2014-06-24  Wilco  <wdijkstr@arm.com>
11875         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11876         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11877         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11878         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11879         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11880         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11881         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11882         Use _FPU_MASK_RM.
11884 2014-06-24  Wilco  <wdijkstr@arm.com>
11886         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11888 2014-06-24  Wilco  <wdijkstr@arm.com>
11890         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11891         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11892         * sysdeps/arm/fesetround.c (fesetround): Remove space.
11893         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11895 2014-06-24  Wilco  <wdijkstr@arm.com>
11897         [BZ #16918]
11898         * sysdeps/arm/feupdateenv.c (feupdateenv):
11899         Rewrite to reduce FPSCR accesses and fix return value.
11901 2014-06-24  Wilco  <wdijkstr@arm.com>
11903         * sysdeps/arm/fclrexcpt.c (feclearexcept):
11904         Optimize to avoid unnecessary FPSCR writes.
11905         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11906         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11907         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11908         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11910 2014-06-24  Wilco  <wdijkstr@arm.com>
11912         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11913         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11914         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11915         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11916         Call libc_fetestexcept_vfp.
11917         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11918         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11919         __SOFTFP__ ifdef so that they can be built for softfp.
11921 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11923         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11924         argument type signed char.
11926         * Makerules (check-abi): Dump diff of symlist if the test
11927         fails.
11929 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11931         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11932         using abort.
11934         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11935         Remove unused variable ST.
11937 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11939         [BZ #16354]
11940         [BZ #17061]
11941         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11942         small arguments before calling __expm1.
11943         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11944         small arguments before calling __expm1f.
11945         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11946         small arguments before calling __expm1l.
11947         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11948         Likewise.
11949         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11950         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
11951         spurious underflow for some cosh tests.
11952         * math/auto-libm-test-out: Regenerated.
11953         * sysdeps/i386/fpu/libm-test-ulps: Update.
11955         [BZ #17050]
11956         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11957         (__ieee754_y1): Set errno if return value overflows.
11958         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11959         (__ieee754_y1f): Set errno if return value overflows.
11960         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11961         (__ieee754_y1l): Set errno if return value overflows.
11962         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11963         (__ieee754_y1l): Set errno if return value overflows.
11964         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11965         * math/auto-libm-test-out: Regenerated.
11967         * math/gen-auto-libm-tests.c: Document use of
11968         ignore-zero-inf-sign.
11969         (input_flag_type): Add value flag_ignore_zero_inf_sign.
11970         (input_flags): Add ignore-zero-inf-sign.
11971         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11972         * math/gen-libm-test.pl (generate_testfile): Handle
11973         ignore-zero-inf-sign.
11974         * math/auto-libm-test-in: Mark some cpow tests with
11975         ignore-zero-inf-sign and some with xfail-rounding.
11976         * math/auto-libm-test-out: Regenerated.
11977         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11978         * sysdeps/i386/fpu/libm-test-ulps: Update.
11979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11981         [BZ #16315]
11982         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11983         overflowing or underflowing operations take place with sign of
11984         result.
11985         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11986         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11987         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11988         (__ieee754_pow): Recompute overflowing and underflowing results in
11989         original rounding mode.
11990         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11991         (__powl_helper): Allow negative argument X and scale negated value
11992         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
11993         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11994         overflowing or underflowing operations take place with sign of
11995         result.
11996         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11997         Include <math.h>.
11998         * math/auto-libm-test-in: Add more tests of pow.
11999         * math/auto-libm-test-out: Regenerated.
12000         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12001         (pow_tonearest_test_data): Remove.
12002         (pow_test_tonearest): Likewise.
12003         (pow_towardzero_test_data): Likewise.
12004         (pow_test_towardzero): Likewise.
12005         (pow_downward_test_data): Likewise.
12006         (pow_test_downward): Likewise.
12007         (pow_upward_test_data): Likewise.
12008         (pow_test_upward): Likewise.
12009         (main): Don't call removed functions.
12010         * sysdeps/i386/fpu/libm-test-ulps: Update.
12011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12013 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12016         Moved ...
12017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12019         Moved ...
12020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12022         Moved ...
12023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12025         Moved ...
12026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12028         File removed.
12029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12030         File removed.
12031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12032         File removed.
12033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12034         File removed.
12035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12036         File removed.
12037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12038         File removed.
12039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12040         File removed.
12041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12042         File removed.
12043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12044         File removed.
12045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12046         File removed.
12047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12048         File removed.
12049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12050         File removed.
12051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12052         Moved ...
12053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12055         Moved ...
12056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12057         ... here.
12058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12059         Moved ...
12060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12062         Moved ...
12063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12065         Moved ...
12066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12068         Moved ...
12069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12071         Moved ...
12072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12074         Moved ...
12075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12077         Moved ...
12078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12081         ... here.
12082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12083         Moved ...
12084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
12085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12086         Moved ...
12087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12088         ... here.
12089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
12090         Moved ...
12091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12092         ... here.
12093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12094         Moved ...
12095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12096         ... here.
12097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12098         Moved ...
12099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
12100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
12101         Moved ...
12102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
12103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
12104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
12105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
12106         Moved ...
12107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
12108         ... here.
12109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
12110         Moved ...
12111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
12112         ... here.
12113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
12114         Moved ...
12115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
12116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
12117         Moved ...
12118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
12119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
12120         Moved ...
12121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
12122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12123         Moved ...
12124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
12125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
12126         Moved ...
12127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
12128         ... here.
12129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
12130         Moved ...
12131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
12132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
12133         Moved ...
12134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
12135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
12136         Moved ...
12137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
12138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
12139         Moved ...
12140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
12141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
12142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
12143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
12144         Moved ...
12145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
12146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
12147         Moved ...
12148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
12149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
12150         Moved ...
12151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
12152         ... here.
12153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
12154         Moved ...
12155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
12156         ... here.
12157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
12158         Moved ...
12159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
12160         ... here.
12161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
12162         Moved ...
12163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
12164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
12165         Moved ...
12166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
12167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
12168         Moved ...
12169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
12170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
12171         Moved ...
12172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
12173         ... here.
12174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
12175         Moved ...
12176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
12177         ... here.
12178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
12179         Moved ...
12180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
12181         ... here.
12182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
12183         Moved ...
12184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
12185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12186         Moved ...
12187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
12189 2014-06-23  Will Newton  <will.newton@linaro.org>
12190             Wilco  <wdijkstr@arm.com>
12192         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
12193         implementation.  Include get-rounding-mode.h.
12194         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
12195         [!libc_feholdsetround_noex_ctx]: Define
12196         libc_feholdsetround_noex_ctx.
12197         [!libc_feholdsetround_noexf_ctx]: Define
12198         libc_feholdsetround_noexf_ctx.
12199         [!libc_feholdsetround_noexl_ctx]: Define
12200         libc_feholdsetround_noexl_ctx.
12201         (libc_feholdsetround_ctx): New function.
12202         (libc_feresetround_ctx): New function.
12203         (libc_feholdsetround_noex_ctx): New function.
12204         (libc_feresetround_noex_ctx): New function.
12206 2014-06-23  Roland McGrath  <roland@hack.frob.com>
12208         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
12209         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
12210         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
12211         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
12212         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
12213         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
12215         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
12216         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
12217         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
12218         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
12219         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
12220         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
12221         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
12222         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
12223         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
12224         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
12225         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
12226         Moved ...
12227         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
12228         ... here.
12229         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
12230         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
12231         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
12232         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
12233         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
12234         Moved ...
12235         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
12236         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
12237         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
12238         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
12239         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
12240         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
12241         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
12242         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
12243         Moved ...
12244         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
12245         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
12246         Moved ...
12247         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
12248         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
12249         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
12250         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
12251         Moved ...
12252         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
12253         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
12254         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
12255         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
12256         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
12257         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
12258         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
12259         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
12260         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
12261         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
12262         Moved ...
12263         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
12264         ... here.
12265         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
12266         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
12267         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
12268         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
12269         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
12270         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
12271         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
12272         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
12273         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
12274         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
12275         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
12276         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
12277         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
12278         Moved ...
12279         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
12280         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
12281         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
12282         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
12283         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
12284         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
12285         Moved ...
12286         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
12287         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
12288         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
12289         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
12290         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
12292         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
12293         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
12294         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
12295         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
12296         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
12297         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
12298         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
12299         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
12300         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12301         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
12302         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
12303         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
12304         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
12305         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
12306         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
12307         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
12308         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
12309         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
12310         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
12311         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
12312         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
12313         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
12314         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
12315         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
12316         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
12317         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
12318         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
12319         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
12321 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
12323         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
12324         (FALLOC_FL_COLLAPSE_RANGE): New macro.
12325         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
12326         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
12327         (IPV6_PMTUDISC_INTERFACE): Likewise.
12328         (IPV6_PMTUDISC_OMIT): Likewise.
12330 2014-06-23  Andreas Schwab  <schwab@suse.de>
12332         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
12333         Remove unused errout label.
12335 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12337         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
12338         macro: hardware supports Vector Crypto instructions.
12340 2014-06-23  Will Newton  <will.newton@linaro.org>
12342         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
12343         rather than __builtin_expect.
12345         * elf/dl-lookup.c (undefined_msg): Remove variable.
12346         (_dl_lookup_symbol_x): Replace undefined_msg with string
12347         literal.
12349         * elf/dl-lookup.c (do_lookup_unique): New function.
12350         (do_lookup_x): Move STB_GNU_UNIQUE handling code
12351         to a separate function.
12353 2014-06-23  Andreas Schwab  <schwab@suse.de>
12355         [BZ #17079]
12356         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
12357         before reading the next line.
12359 2014-06-23  Will Newton  <will.newton@linaro.org>
12361         * test-skeleton.c (signal_handler): Use printf and %m
12362         rather than perror.  Use printf rather than fprintf to
12363         stderr.  Use puts rather than fputs to stderr.
12364         (main): Likewise.
12366 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
12368         * nscd/nscd.c (thread_info_t): Remove typedef.
12369         (thread_info): Remove variable.
12371 2014-06-21  Allan McRae  <allan@archlinux.org>
12373         * NEWS: Mention CVE-2014-4043.
12375 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12377         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
12378         * nptl/smp.h: ... here.
12380         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
12382         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
12383         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
12384         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
12385         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
12387         * nptl/allocatestack.c: Include <stack-aliasing.h>.
12388         * nptl/stack-aliasing.h: New file.
12389         * sysdeps/i386/i686/stack-aliasing.h: New file.
12390         * sysdeps/i386/i686/nptl/Makefile: File removed.
12391         * sysdeps/x86_64/stack-aliasing.h: New file.
12392         * sysdeps/x86_64/nptl/Makefile
12393         (CFLAGS-pthread_create.c): Variable removed.
12395         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
12396         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
12397         old file.
12398         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
12399         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
12400         old file.
12402 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
12404         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12405         (__ASSUME_SIGFRAME_V2): Remove macro.
12406         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
12407         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
12408         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
12409         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
12410         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
12411         Declare as function.  Remove conditional macro definitions.
12412         (__default_rt_sa_restorer): Likewise.
12413         (__default_sa_restorer_v1): Remove declaration.
12414         (__default_sa_restorer_v2): Likewise.
12415         (__default_rt_sa_restorer_v1): Likewise.
12416         (__default_rt_sa_restorer_v2): Likewise.
12417         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
12418         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
12419         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
12421 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12423         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
12424         (libpthread-routines): Add sysdep.
12425         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
12426         * sysdeps/unix/sysv/linux/sparc/Versions
12427         (libpthread: GLIBC_2.3.3): New version set.
12428         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
12429         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
12430         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
12431         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
12432         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
12433         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
12434         Moved ...
12435         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
12436         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
12437         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
12438         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
12439         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
12440         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
12441         * sysdeps/sparc/nptl/sem_init.c: ... here.
12442         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
12443         * sysdeps/sparc/nptl/sem_post.c: ... here.
12444         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
12445         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
12446         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
12447         * sysdeps/sparc/nptl/sem_wait.c: ... here.
12448         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
12449         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
12450         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
12451         (libpthread-routines): Add cpu_relax.
12452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
12453         File removed.
12454         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
12455         (librt: GLIBC_2.3.3): New version set.
12456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
12457         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
12458         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
12459         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
12460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
12461         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
12462         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
12463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
12464         Moved ...
12465         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
12466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
12467         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
12468         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
12469         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
12470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
12471         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
12472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
12473         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
12474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
12475         Moved ...
12476         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
12477         Update #include.
12478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
12479         Moved ...
12480         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
12481         Update #include.
12482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
12483         Moved ...
12484         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
12485         Update #include.
12486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
12487         Moved ...
12488         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
12489         Update #include.
12490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
12491         Moved ...
12492         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
12493         Update #include.
12494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
12495         Moved ...
12496         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
12497         Update #include.
12498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
12499         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
12500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
12501         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
12502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
12503         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
12504         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
12505         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
12506         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
12507         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
12508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12509         Moved ...
12510         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
12511         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
12512         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
12513         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
12514         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
12516 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12518         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
12519         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
12520         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12521         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
12522         * nscd/nscd.c: Likewise.
12523         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
12524         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
12525         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
12526         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
12528         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
12529         <kernel-features.h>.
12530         (init_mq_netlink): Remove conditional have_sock_cloexec
12531         definitions.  Remove code conditional on have_sock_cloexec < 0.
12532         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
12533         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
12534         * sysdeps/unix/sysv/linux/opensock.c: Do not include
12535         <kernel-features.h>.
12536         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
12537         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
12539 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
12541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12542         Add tests for memset_chk and memset.
12544         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
12545         with AVX2_Usable.
12547 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
12549         [BZ #16046]
12550         * elf/tst-dl-iter-static.c: New file.
12551         * elf/Makefile (tests-static): Add tst-dl-iter-static.
12553         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
12554         error.
12556 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12558         * sysdeps/unix/sysv/linux/kernel-features.h
12559         (__ASSUME_F_GETOWN_EX): Remove macro.
12560         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
12561         <kernel-features.h>.
12562         (miss_F_GETOWN_EX): Remove variable or macro.
12563         (do_fcntl): Do not check miss_F_GETOWN_EX.
12564         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
12566         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
12567         Remove macro.
12568         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
12569         [!__ASSUME_AT_RANDOM]: Remove conditional code.
12570         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
12572         * sysdeps/unix/sysv/linux/kernel-features.h
12573         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
12574         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
12575         [ADJ_OFFSET_SS_READ]: Make code unconditional.
12576         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
12578 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
12580         [BZ #17075]
12581         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
12582         Fix calculation of the symbol's value.
12583         * sysdeps/arm/tst-armtlsdescloc.c: New file.
12584         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
12585         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
12586         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
12587         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
12588         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
12589         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
12590         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
12591         (modules-names): Add `tst-armtlsdescmod',
12592         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
12593         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
12594         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12595         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
12596         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
12597         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12598         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12599         ($(objpfx)tst-armtlsdescloc): New dependency.
12600         ($(objpfx)tst-armtlsdescextnow): Likewise.
12601         ($(objpfx)tst-armtlsdescextlazy): Likewise.
12602         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12603         TLS scheme support.
12604         * sysdeps/arm/configure: Regenerate.
12606 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
12608         * include/fcntl.h (__atfct_seterrno): Remove prototype.
12609         (__atfct_seterrno_2): Likewise.
12610         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12611         <kernel-features.h>.
12612         (__ASSUME_ATFCTS): Do not undefine and redefine.
12613         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12614         (__have_atfcts): Remove conditional definition.
12615         (__fxstatat([__NR_fstatat64]: Make code unconditional.
12616         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12617         unreachable if [__ASSUME_ATFCTS].
12618         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12619         not undefine and redefine.
12620         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12621         <kernel-features.h>.
12622         (faccessat) [__NR_faccessat]: Make code unconditional.
12623         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12624         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12625         <kernel-features.h>.
12626         (fchmodat) [__NR_fchmodat]: Make code unconditional.
12627         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12628         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12629         <kernel-features.h>.
12630         (fchownat) [__NR_fchownat]: Make code unconditional.
12631         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12632         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12633         <kernel-features.h>.
12634         (futimesat) [__NR_futimesat]: Make code unconditional.
12635         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12636         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12637         <kernel-features.h>.
12638         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12639         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12640         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12641         <kernel-features.h>.
12642         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12643         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12644         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12645         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12646         <kernel-features.h>.
12647         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12648         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12649         * sysdeps/unix/sysv/linux/linkat.c: Do not include
12650         <kernel-features.h>.
12651         (linkat) [__NR_linkat]: Make code unconditional.
12652         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12653         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12654         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12655         <kernel-features.h>.
12656         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12657         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12658         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12659         <kernel-features.h>.
12660         (mkdirat) [__NR_mkdirat]: Make code unconditional.
12661         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12662         * sysdeps/unix/sysv/linux/openat.c: Do not include
12663         <kernel-features.h>.
12664         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12665         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12666         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12667         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12668         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12669         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12670         <kernel-features.h>.
12671         (readlinkat) [__NR_readlinkat]: Make code unconditional.
12672         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
12673         result of INLINE_SYSCALL directly, not via int variable.
12674         * sysdeps/unix/sysv/linux/renameat.c: Do not include
12675         <kernel-features.h>.
12676         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12677         (renameat) [__NR_renameat]: Make code unconditional.
12678         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12679         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12680         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12681         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12682         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12683         (__ASSUME_ATFCTS): Do not undefine and redefine.
12684         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12685         <kernel-features.h>.
12686         (symlinkat) [__NR_symlinkat]: Make code unconditional.
12687         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12688         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12689         <kernel-features.h>.
12690         (unlinkat) [__NR_unlinkat]: Make code unconditional.
12691         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12692         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12693         (__ASSUME_ATFCTS): Do not undefine and redefine.
12694         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12695         <kernel-features.h>.
12696         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12697         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12698         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12699         <kernel-features.h>.
12700         (__xmknodat) [__NR_mknodat]: Make code unconditional.
12701         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12703 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
12705         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12707 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
12709         [BZ #17069]
12710         * posix/regcomp.c (parse_reg_exp): Deallocate partially
12711         constructed tree before returning error.
12712         * posix/bug-regexp36.c: Expand test case.
12714 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12716         [BZ #6803]
12717         * math/libm-test.inc (scalbln_test_date):
12718         Add errno expectations.
12719         * math/w_scalblnf.c: New File.
12720         Add wrapper which checks for setting errno to ERANGE.
12721         Add weak_alias for corresponding scalbln function.
12722         * math/w_scalbln.c: Likewise.
12723         * math/w_scalblnl.c: Likewise.
12724         * math/Makefile (libm-calls): Add w_scalbln.
12725         * sysdeps/ieee754/flt-32/s_scalblnf.c:
12726         Remove weak_alias for corresponding scalbln function.
12727         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12728         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12729         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12730         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12731         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12732         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12733         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12734         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12735         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12736         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12737         Remove long_double_symbol for scalblnl function in libm, libc.
12738         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12739         Add wrapper which checks for setting errno to ERANGE.
12740         Add long_double_symbol for scalblnl function in libm, libc.
12741         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12742         Remove long_double_symbol for scalblnl in libm.
12743         * sysdeps/ieee754/ldbl-128ibm/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.
12746         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12747         Do not use wrapper because of own implementation.
12749 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
12751         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12752         3 bytes for __pad1 for x32.
12753         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12755 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
12756             H.J. Lu  <hongjiu.lu@intel.com>
12758         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12759         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12760         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12761         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12762         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12764 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
12766         [BZ #17069]
12767         * posix/regcomp.c (parse_expression): Deallocate partially
12768         constructed tree before returning error.
12769         * posix/Makefile.c (tests): Add bug-regex36.
12770         (generated): Add bug-regex36.mtrace.
12771         (tests-special): Add $(objpfx)bug-regex36-mem.out
12772         (bug-regex36-ENV): New variable.
12773         ($(objpfx)bug-regex36-mem.out): New rule.
12774         * posix/bug-regex36.c: New file.
12776 2014-06-19  Will Newton  <will.newton@linaro.org>
12778         * malloc/malloc.c (systrim): If extra is zero then return
12779         early.
12781 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12783         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12785 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
12787         * sysdeps/aarch64/strchr.S: New file.
12789 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
12791         [BZ #17022]
12792         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12793         from arguments -2 or below.
12794         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12795         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12797 2014-06-18  Andreas Schwab  <schwab@suse.de>
12799         [BZ #17062]
12800         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12801         of a bracket expr not to run off the end of the string.
12802         * posix/Makefile (tests): Add tst-fnmatch3.
12803         * posix/tst-fnmatch3.c: New file.
12805 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
12807         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12808         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12809         [$(cross-compiling) = no]: Likewise.
12810         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12811         [$(cross-compiling) = no]: Likewise.
12813 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12815         [BZ #17031]
12816         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12817         double, adjusted for any remainder from the high double.
12818         * math/libm-test.inc (nearbyint): Add tests.
12819         (rint): Likewise.
12821 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12823         * nptl/sysdeps/powerpc/Makefile: Moved ...
12824         * sysdeps/powerpc/nptl/Makefile: ... here.
12825         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12826         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12827         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12828         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12829         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12830         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12831         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12832         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12833         * nptl/sysdeps/powerpc/tls.h: Moved ...
12834         * sysdeps/powerpc/nptl/tls.h: ... here.
12836 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
12838         [BZ #16681]
12839         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12840         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12841         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12842         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12843         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12844         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12845         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12846         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12847         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12849 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
12851         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12853 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
12855         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12856         defined operator.
12858         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12859         $TIMEOUTFACTOR.
12861 2014-06-16  Florian Weimer  <fweimer@redhat.com>
12863         [BZ #17058]
12864         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12865         non-executed part of the test.
12867 2014-06-16  Andreas Schwab  <schwab@suse.de>
12869         * string/bits/string2.h (strdup, strndup): Update feature guard.
12871 2014-06-14  David S. Miller  <davem@davemloft.net>
12873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12875 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
12877         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12878         that was previously under [RESET_PID].
12879         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12881         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12882         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12883         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12884         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12885         (__libc_vfork): New strong alias.
12886         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12888 2014-06-14 Andi Kleen  <ak@linux.intel.com>
12890         * sysdeps/generic/elide.h: New file.
12892 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
12894         * Makefile (installed-headers): Adjust path of pthread.h header.
12896 2014-06-13  Roland McGrath  <roland@hack.frob.com>
12898         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12899         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12900         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12901         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12903         * nptl/sysdeps/s390/Makefile: Moved ...
12904         * sysdeps/s390/nptl/Makefile: ... here.
12905         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12906         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12907         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12908         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12909         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12910         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12911         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12912         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12913         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12914         * sysdeps/s390/nptl/pthreaddef.h: ... here.
12915         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12916         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12917         * nptl/sysdeps/s390/tls.h: Moved ...
12918         * sysdeps/s390/nptl/tls.h: ... here.
12920         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12921         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12923 2014-06-13  David S. Miller  <davem@davemloft.net>
12925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12928         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12929         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12932         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12933         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12934         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12935         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12936         Remove RESET_PID cpp guards.
12937         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12938         Remove RESET_PID cpp guards.
12939         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12941 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
12943         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12944         __sp to uintptr_t.
12946 2014-06-13  Andi Kleen  <ak@linux.intel.com>
12948         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12949         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12950         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12951         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12952         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12953         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12954         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12955         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12956         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12957         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12958         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12959         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12960         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12961         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12962         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12963         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12964         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12965         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12966         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12967         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
12969         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
12970         (pthread_rwlock_rdlock): Add elision.
12971         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12972         (pthread_rwlock_wrlock): Add elision.
12973         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12974         (pthread_rwlock_trywrlock): Add elision.
12975         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12976         (pthread_rwlock_tryrdlock): Add elision.
12977         * nptl/pthread_rwlock_unlock.c: Include elide.h.
12978         (pthread_rwlock_tryrdlock): Add elision unlock.
12979         * nptl/sysdeps/pthread/pthread.h:
12980         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12981         (PTHREAD_RWLOCK_INITIALIZER,
12982         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12983         Handle new elision field.
12984         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12985         * sysdeps/arm/nptl/bits/pthreadtypes.h
12986         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12987         * sysdeps/sh/nptl/bits/pthreadtypes.h
12988         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12989         * sysdeps/tile/nptl/bits/pthreadtypes.h
12990         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12991         * sysdeps/a/nptl/bits/pthreadtypes.h
12992         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12993         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12994         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12995         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12996         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12997         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12998         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12999         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13000         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13001         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13002         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13003         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13004         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13005         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13006         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13007         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13008         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13009         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13010         (elision_init): Set try_xbegin to zero when no RTM.
13011         * sysdeps/x86/nptl/bits/pthreadtypes.h
13012         (pthread_rwlock_t): Change __pad1 to __rwelision.
13013         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13015 2014-06-13  Andi Kleen  <ak@linux.intel.com>
13017         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13018         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13019         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13020         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13022 2014-06-13  Meador Inge  <meadori@codesourcery.com>
13024         [BZ #16996]
13025         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
13026         that the cached result has been set before returning it.
13028 2014-06-12  Roland McGrath  <roland@hack.frob.com>
13030         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13031         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13032         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13033         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13034         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13035         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13037         * nptl/sysdeps/sparc/Makefile: Moved ...
13038         * sysdeps/sparc/nptl/Makefile: ... here.
13039         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13040         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13041         * nptl/sysdeps/sparc/tls.h: Moved ...
13042         * sysdeps/sparc/nptl/tls.h: ... here.
13043         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13044         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13045         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13046         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13047         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13048         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13049         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13050         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13051         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13052         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13053         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13054         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13055         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13056         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13057         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13058         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13059         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13060         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13061         Update #include.
13062         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13063         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13064         Update #include.
13065         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13066         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13067         Update #include.
13068         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13069         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13070         Update #include.
13072         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13074         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13075         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13077         * sysdeps/pthread/posix-timer.h: Include <list.h>.
13078         (struct list_links): Type removed.
13079         (struct thread_node, struct timer_node): Replace struct list_links
13080         with struct list_head.
13081         (list_unlink_ip): Likewise.
13082         * sysdeps/pthread/timer_routines.c
13083         (timer_free_list, thread_free_list, thread_active_list): Likewise.
13084         (list_append, list_insbefore): Likewise.
13085         (list_init): Function removed.
13086         (thread_init, init_module): Use INIT_LIST_HEAD instead.
13087         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
13088         * sysdeps/pthread/Makefile: ... here, new file.
13090         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
13091         * sysdeps/nptl/Implies: ... here.
13092         * sysdeps/unix/sysv/linux/Implies: Add nptl.
13093         * nptl/sysdeps/pthread/list.h: Moved ...
13094         * include/list.h: ... here.
13095         * nptl/sysdeps/pthread/createthread.c: Moved ...
13096         * nptl/createthread.c: ... here.
13097         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
13098         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
13099         * nptl/pt-longjmp.c: ... here.
13100         * nptl/sysdeps/pthread/Makefile: Moved ...
13101         * sysdeps/nptl/Makefile: ... here.
13102         * nptl/sysdeps/pthread/Subdirs: Moved ...
13103         * sysdeps/nptl/Subdirs: ... here.
13104         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
13105         * sysdeps/nptl/aio_misc.h: ... here.
13106         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
13107         * sysdeps/nptl/bits/libc-lock.h: ... here.
13108         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
13109         * sysdeps/nptl/bits/libc-lockP.h: ... here.
13110         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
13111         * sysdeps/nptl/bits/stdio-lock.h: ... here.
13112         * nptl/sysdeps/pthread/configure: Moved ...
13113         * sysdeps/nptl/configure: ... here.
13114         * nptl/sysdeps/pthread/configure.ac: Moved ...
13115         * sysdeps/nptl/configure.ac: ... here.
13116         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
13117         * sysdeps/nptl/gai_misc.h: ... here.
13118         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
13119         * sysdeps/nptl/librt-cancellation.c: ... here.
13120         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
13121         * sysdeps/nptl/malloc-machine.h: ... here.
13122         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
13123         * sysdeps/nptl/pthread-functions.h: ... here.
13124         * nptl/sysdeps/pthread/pthread.h: Moved ...
13125         * sysdeps/nptl/pthread.h: ... here.
13126         * nptl/sysdeps/pthread/setxid.h: Moved ...
13127         * sysdeps/nptl/setxid.h: ... here.
13128         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
13129         * sysdeps/nptl/sigfillset.c: ... here.
13130         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
13131         * sysdeps/nptl/tcb-offsets.h: ... here.
13132         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
13133         * sysdeps/nptl/tst-mqueue8x.c: ... here.
13134         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
13135         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
13136         * nptl/sysdeps/pthread/allocalim.h: Moved ...
13137         * sysdeps/pthread/allocalim.h: ... here.
13138         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
13139         * sysdeps/pthread/bits/sigthread.h: ... here.
13140         * nptl/sysdeps/pthread/flockfile.c: Moved ...
13141         * sysdeps/pthread/flockfile.c: ... here.
13142         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
13143         * sysdeps/pthread/ftrylockfile.c: ... here.
13144         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
13145         * sysdeps/pthread/funlockfile.c: ... here.
13146         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
13147         * sysdeps/pthread/posix-timer.h: ... here.
13148         * nptl/sysdeps/pthread/timer_create.c: Moved ...
13149         * sysdeps/pthread/timer_create.c: ... here.
13150         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
13151         * sysdeps/pthread/timer_delete.c: ... here.
13152         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
13153         * sysdeps/pthread/timer_getoverr.c: ... here.
13154         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
13155         * sysdeps/pthread/timer_gettime.c: ... here.
13156         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
13157         * sysdeps/pthread/timer_routines.c: ... here.
13158         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
13159         * sysdeps/pthread/timer_settime.c: ... here.
13160         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
13161         * sysdeps/pthread/tst-timer.c: ... here.
13162         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
13163         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
13165         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
13166         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
13168         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
13169         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
13170         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
13171         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
13172         Update #include target.
13173         * nptl/sysdeps/i386/i686/Makefile: Moved ...
13174         * sysdeps/i386/i686/nptl/Makefile: ... here.
13175         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
13176         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
13177         Update #include target.
13178         * nptl/sysdeps/i386/i686/tls.h: Moved ...
13179         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
13180         * nptl/sysdeps/i386/Makefile: Moved ...
13181         * sysdeps/i386/nptl/Makefile: ... here.
13182         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
13183         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
13184         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
13185         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
13186         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
13187         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
13188         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
13189         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
13190         * sysdeps/i386/nptl/pthreaddef.h: ... here.
13191         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
13192         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
13193         * nptl/sysdeps/i386/tls.h: Moved ...
13194         * sysdeps/i386/nptl/tls.h: ... here.
13196         * sysdeps/sh/Makefile [$(subdir) = csu]
13197         (gen-as-const-headers): Add tcb-offsets.sym.
13198         * nptl/sysdeps/sh/Makefile: File removed.
13199         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
13200         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
13201         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
13202         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
13203         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
13204         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
13205         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
13206         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
13207         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
13208         * sysdeps/sh/nptl/pthreaddef.h: ... here.
13209         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
13210         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
13211         * nptl/sysdeps/sh/tls.h: Moved ...
13212         * sysdeps/sh/nptl/tls.h: ... here.
13213         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
13214         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
13215         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
13216         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
13217         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
13218         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
13219         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
13220         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
13221         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
13222         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
13223         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
13224         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
13225         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
13226         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
13227         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
13228         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
13229         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
13230         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
13231         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
13232         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
13233         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
13234         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
13235         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
13236         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
13237         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
13238         Moved ...
13239         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
13240         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
13241         Moved ...
13242         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
13243         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
13244         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
13245         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
13246         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
13247         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
13248         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
13249         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
13250         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
13251         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
13252         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
13253         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
13254         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
13255         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
13256         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
13257         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
13258         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
13259         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
13260         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
13262 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13264         * posix/spawn_faction_addopen.c: Include string.h.
13266 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13268         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
13269         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
13270         * nptl/sysdeps/x86_64/Makefile: Moved ...
13271         * sysdeps/x86_64/nptl/Makefile: ... here.
13272         * nptl/sysdeps/x86_64/configure: Moved ...
13273         * sysdeps/x86_64/nptl/configure: ... here.
13274         * nptl/sysdeps/x86_64/configure.ac: Moved ...
13275         * sysdeps/x86_64/nptl/configure.ac: ... here.
13276         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
13277         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
13278         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
13279         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
13280         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
13281         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
13282         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
13283         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
13284         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
13285         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
13286         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
13287         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
13288         * nptl/sysdeps/x86_64/tls.h: Moved ...
13289         * sysdeps/x86_64/nptl/tls.h: ... here.
13290         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
13291         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
13292         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
13293         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
13295         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
13297 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13301 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
13303         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
13304         type.
13305         [POSIX] (off_t): Likewise.
13306         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
13307         [POSIX] (S_ISBLK): Require macro.
13308         [POSIX] (S_ISCHR): Likewise.
13309         [POSIX] (S_ISDIR): Likewise.
13310         [POSIX] (S_ISFIFO): Likewise.
13311         [POSIX] (S_ISREG): Likewise.
13312         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
13313         optional-macro.
13314         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
13315         type.
13316         [POSIX] (time_t): Likewise.
13317         [POSIX] (timer_t): Likewise.
13319 2014-06-11  Florian Weimer  <fweimer@redhat.com>
13321         [BZ #17048]
13322         * posix/spawn_int.h (struct __spawn_action): Make the path string
13323         non-const to support deallocation.
13324         * posix/spawn_faction_addopen.c
13325         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
13326         * posix/spawn_faction_destroy.c
13327         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
13328         path in all spawn_do_open actions.
13329         * posix/tst-spawn.c (do_test): Exercise the copy operation in
13330         posix_spawn_file_actions_addopen.
13332 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
13334         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
13335         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
13336         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
13337         conditional code always true.
13338         (__libc_vfork): New alias.
13340 2014-06-11  Roland McGrath  <roland@hack.frob.com>
13342         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13343         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
13345         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
13347         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13348         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
13350         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13351         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
13353         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13354         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
13356 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13358         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
13359         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
13360         multiarch strcmp for PPC64.
13361         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
13362         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
13363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
13364         multiarch optimizations.
13365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13366         (__libc_ifunc_impl_list): Likewise.
13368 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13370         * benchtests/scripts/validate_benchout.py: New script.
13371         * benchtests/Makefile (bench-func): Call it.
13372         * benchtests/scripts/benchout.schema.json: New file.
13374 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
13376         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
13377         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
13378         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
13379         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
13380         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
13381         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
13382         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
13383         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
13384         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
13385         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
13386         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
13387         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
13388         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
13389         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
13390         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
13391         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
13392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
13393         Moved ...
13394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
13395         ... here.
13396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
13397         Moved ...
13398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
13399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
13400         Moved ...
13401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
13402         ... here.
13403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
13404         Moved ...
13405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
13406         ... here.
13407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
13408         Moved ...
13409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
13410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
13411         Moved ...
13412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
13413         ... here.
13414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
13415         Moved ...
13416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
13417         ... here.
13418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
13419         Moved ...
13420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
13421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
13422         Moved ...
13423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
13424         ... here.
13425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
13426         Moved ...
13427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
13428         ... here.
13429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
13430         Moved ...
13431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
13432         ... here.
13433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
13434         Moved ...
13435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
13436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
13437         Moved ...
13438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
13439         ... here.
13440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
13441         Moved ...
13442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
13443         ... here.
13444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
13445         Moved ...
13446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
13447         ... here.
13448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
13449         Moved ...
13450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
13451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
13452         Moved ...
13453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
13454         ... here.
13455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
13456         Moved ...
13457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
13458         ... here.
13459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
13460         Moved ...
13461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
13462         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
13463         Moved ...
13464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
13465         ... here.
13466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
13467         Moved ...
13468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
13469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
13470         Moved ...
13471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
13472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
13473         Moved ...
13474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
13475         ... here.
13476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
13477         Moved ...
13478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
13479         ... here.
13480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
13481         Moved ...
13482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
13483         ... here.
13484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
13485         Moved ...
13486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
13487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
13488         Moved ...
13489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
13490         ... here.
13491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
13492         Moved ...
13493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
13494         ... here.
13495         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
13496         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
13497         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
13498         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
13499         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
13500         Moved ...
13501         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
13502         ... here.
13503         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
13504         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
13505         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
13506         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
13507         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
13508         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
13509         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
13510         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
13511         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
13512         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
13513         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
13514         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
13515         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
13516         Moved ...
13517         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
13518         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
13519         Moved ...
13520         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
13521         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
13522         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
13523         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
13524         Moved ...
13525         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
13526         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
13527         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
13528         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
13529         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
13530         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
13531         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
13533 2014-06-10  Wilco  <wdijkstr@arm.com>
13535         * math/test-fenv-return.c: New file.
13536         * math/Makefile: Add new test test-fenv-return.
13538 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
13540         [BZ #17042]
13541         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
13542         when x - 1 is zero.
13543         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
13544         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13545         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
13546         0.0L for an argument of 1.0L.
13547         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13548         Likewise.
13549         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
13550         value when x - 1 is zero.
13551         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
13552         * sysdeps/i386/fpu/libm-test-ulps: Update.
13553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13555 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
13557         [BZ #15119]
13558         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
13560 2014-06-09  Roland McGrath  <roland@hack.frob.com>
13562         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
13563         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
13565 2014-06-09  Roland McGrath  <roland@hack.frob.com>
13567         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13568         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
13570         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13571         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
13573         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13574         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
13576         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13577         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
13579         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
13580         if not already defined.
13581         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
13582         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13583         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
13584         (TLS_INIT_TP): Use it.
13585         (TLS_DEFINE_INIT_TP): New macro.
13586         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
13588 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
13590         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
13591         constant.
13592         [POSIX] (IXANY): Likewise.
13593         [POSIX] (OLCUC): Likewise.
13594         [POSIX || POSIX2008] (CBAUD): Do not allow.
13595         [POSIX || POSIX2008] (DEFECHO): Likewise.
13596         [POSIX || POSIX2008] (ECHOCTL): Likewise.
13597         [POSIX || POSIX2008] (ECHOKE): Likewise.
13598         [POSIX || POSIX2008] (ECHOPRT): Likewise.
13599         [POSIX || POSIX2008] (EXTA): Likewise.
13600         [POSIX || POSIX2008] (EXTB): Likewise.
13601         [POSIX || POSIX2008] (FLUSHO): Likewise.
13602         [POSIX || POSIX2008] (LOBLK): Likewise.
13603         [POSIX || POSIX2008] (PENDIN): Likewise.
13604         [POSIX || POSIX2008] (SWTCH): Likewise.
13605         [POSIX || POSIX2008] (VDISCARD): Likewise.
13606         [POSIX || POSIX2008] (VDSUSP): Likewise.
13607         [POSIX || POSIX2008] (VLNEXT): Likewise.
13608         [POSIX || POSIX2008] (VREPRINT): Likewise.
13609         [POSIX || POSIX2008] (VSTATUS): Likewise.
13610         [POSIX || POSIX2008] (VWERASE): Likewise.
13611         (B*): Change to B[0123456789]*.
13612         * conform/data/time.h-data [POSIX || UNIX98]
13613         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13614         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13615         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13616         [POSIX] (tm_*): Do not allow.
13618 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
13620         * Makefile (install): Don't set LANGUAGE.
13621         * Makefile.in (install): Likewise.
13622         * assert/Makefile (test-assert-ENV): Remove variable.
13623         (test-assert-perr-ENV): Likewise.
13624         * elf/Makefile (neededtest4-ENV): Likewise.
13625         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13626         [$(cross-compiling) = no]: Don't set LANGUAGE.
13627         * io/ftwtest-sh (LANG): Remove variable.
13628         * libio/Makefile (tst-widetext-ENV): Likewise.
13629         * manual/install.texi (Running make install): Don't refer to
13630         environment settings for make install.
13631         * INSTALL: Regenerated.
13632         * nptl/tst-tls6.sh: Don't set LANG.
13633         * posix/globtest.sh (LANG): Remove variable.
13634         * string/Makefile (tester-ENV): Likewise.
13635         (inl-tester-ENV): Likewise.
13636         (noinl-tester-ENV): Likewise.
13637         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13638         [$(cross-compiling) = no]: Don't set LANGUAGE.
13639         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13640         without explicit environment settings.
13642 2014-06-06  Roland McGrath  <roland@hack.frob.com>
13644         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13645         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13646         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13647         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13649 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
13651         * crypt/crypt-private.h [DOS]: Add some includes taken from the
13652         other files in the crypt directory.
13653         * crypt/crypt.c: Remove duplicate includes.
13654         * crypt/crypt-entry.c: Likewise.
13655         * crypt/crypt_util.c: Likewise.
13657 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
13659         * Makeconfig (run-program-env): New variable.
13660         (run-program-prefix-before-env): Likewise.
13661         (run-program-prefix-after-env): Likewise.
13662         (run-program-prefix): Define in terms of new variables.
13663         (built-program-cmd-before-env): New variable.
13664         (built-program-cmd-after-env): Likewise.
13665         (built-program-cmd): Define in terms of new variables.
13666         (test-program-prefix-before-env): New variable.
13667         (test-program-prefix-after-env): Likewise.
13668         (test-program-prefix): Define in terms of new variables.
13669         (test-program-cmd-before-env): New variable.
13670         (test-program-cmd-after-env): Likewise.
13671         (test-program-cmd): Define in terms of new variables.
13672         * Rules (make-test-out): Use $(run-program-env).
13673         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13674         (help): Do not mention environment variables.  Mention
13675         --timeoutfactor option.
13676         (timeoutfactor): New variable.
13677         (blacklist_exports): Remove function.
13678         (exports): Remove variable.
13679         (command): Do not include ${exports}.
13680         * manual/install.texi (Configuring and compiling): Do not mention
13681         test wrappers preserving environment variables.  Mention that last
13682         assignment to a variable must take precedence.
13683         * INSTALL: Regenerated.
13684         * benchtests/Makefile (run-bench): Use $(run-program-env).
13685         * catgets/Makefile ($(objpfx)test1.cat): Use
13686         $(built-program-cmd-before-env), $(run-program-env) and
13687         $(built-program-cmd-after-env).
13688         ($(objpfx)test2.cat): Do not specify environment variables
13689         explicitly.
13690         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13691         $(run-program-env) and $(built-program-cmd-after-env).
13692         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13693         $(run-program-env) and $(test-program-cmd-after-env).
13694         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13695         explicitly.
13696         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13697         run_program_env and test_program_cmd_after_env arguments.
13698         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13699         * elf/tst-pathopt.sh: Use run_program_env argument.
13700         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13701         $(test-wrapper-env) and $(run-program-env).
13702         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13703         run_program_env arguments.
13704         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13705         * intl/Makefile ($(objpfx)tst-gettext.out): Use
13706         $(test-program-prefix-before-env), $(run-program-env) and
13707         $(test-program-prefix-after-env).
13708         ($(objpfx)tst-gettext2.out): Likewise.
13709         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13710         run_program_env and test_program_prefix_after_env arguments.
13711         * intl/tst-gettext2.sh: Likewise.
13712         * intl/tst-gettext4.sh: Do not set environment variables
13713         explicitly.
13714         * intl/tst-gettext6.sh: Likewise.
13715         * intl/tst-translit.sh: Likewise.
13716         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13717         $(test-program-prefix-before-env), $(run-program-env) and
13718         $(test-program-prefix-after-env).
13719         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13720         run_program_env and test_program_prefix_after_env arguments.
13721         * math/Makefile (run-regen-ulps): Use $(run-program-env).
13722         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13723         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
13724         explicitly with each use of ${test_wrapper_env}.
13725         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13726         $(test-program-prefix-before-env), $(run-program-env) and
13727         $(test-program-prefix-after-env).
13728         * posix/tst-getconf.sh: Do not set environment variables
13729         explicitly.
13730         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13731         run_program_env and test_program_prefix_after_env arguments.
13732         * stdio-common/tst-printf.sh: Do not set environment variables
13733         explicitly.
13734         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13735         $(test-program-prefix-before-env), $(run-program-env) and
13736         $(test-program-prefix-after-env).
13737         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13738         run_program_env and test_program_prefix_after_env arguments.
13739         Split $test calls into $test_pre and $test.
13740         * timezone/Makefile (build-testdata): Use
13741         $(built-program-cmd-before-env), $(run-program-env) and
13742         $(built-program-cmd-after-env).
13744 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13746         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13747         strlen for non SHARED builds.
13749 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13751         * nptl/allocatestack.c (check_list): Inlined function...
13752         (__reclaim_stacks): ... here.
13754 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
13756         [BZ #15698]
13757         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13758         memory overrun.
13760 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
13762         * Rules (make-test-out): Include
13763         LOCPATH=$(common-objpfx)localedata in default environment.
13764         * debug/Makefile (tst-chk1-ENV): Remove variable.
13765         (tst-chk2-ENV): Likewise.
13766         (tst-chk3-ENV): Likewise.
13767         (tst-chk4-ENV): Likewise.
13768         (tst-chk5-ENV): Likewise.
13769         (tst-chk6-ENV): Likewise.
13770         (tst-lfschk1-ENV): Likewise.
13771         (tst-lfschk2-ENV): Likewise.
13772         (tst-lfschk3-ENV): Likewise.
13773         (tst-lfschk4-ENV): Likewise.
13774         (tst-lfschk5-ENV): Likewise.
13775         (tst-lfschk6-ENV): Likewise.
13776         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13777         (tst-iconv7-ENV): Likewise.
13778         * intl/Makefile (LOCPATH-ENV): Likewise.
13779         (tst-codeset-ENV): Likewise.
13780         (tst-gettext3-ENV): Likewise.
13781         (tst-gettext5-ENV): Likewise.
13782         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13783         (tst-fopenloc-ENV): Likewise.
13784         (tst-fgetws-ENV): Remove variable.
13785         (tst-ungetwc1-ENV): Likewise.
13786         (tst-ungetwc2-ENV): Likewise.
13787         (bug-ungetwc2-ENV): Likewise.
13788         (tst-swscanf-ENV): Likewise.
13789         (bug-ftell-ENV): Likewise.
13790         (tst-fgetwc-ENV): Likewise.
13791         (tst-fseek-ENV): Likewise.
13792         (tst-ftell-partial-wide-ENV): Likewise.
13793         (tst-ftell-active-handler-ENV): Likewise.
13794         (tst-ftell-append-ENV): Likewise.
13795         * posix/Makefile (tst-fnmatch-ENV): Likewise.
13796         (tst-regexloc-ENV): Likewise.
13797         (bug-regex1-ENV): Likewise.
13798         (tst-regex-ENV): Likewise.
13799         (tst-regex2-ENV): Likewise.
13800         (bug-regex5-ENV): Likewise.
13801         (bug-regex6-ENV): Likewise.
13802         (bug-regex17-ENV): Likewise.
13803         (bug-regex18-ENV): Likewise.
13804         (bug-regex19-ENV): Likewise.
13805         (bug-regex20-ENV): Likewise.
13806         (bug-regex22-ENV): Likewise.
13807         (bug-regex23-ENV): Likewise.
13808         (bug-regex25-ENV): Likewise.
13809         (bug-regex26-ENV): Likewise.
13810         (bug-regex30-ENV): Likewise.
13811         (bug-regex32-ENV): Likewise.
13812         (bug-regex33-ENV): Likewise.
13813         (bug-regex34-ENV): Likewise.
13814         (bug-regex35-ENV): Likewise.
13815         (tst-rxspencer-ENV): Likewise.
13816         (tst-rxspencer-no-utf8-ENV): Likewise.
13817         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13818         (tst-sscanf-ENV): Likewise.
13819         (tst-swprintf-ENV): Likewise.
13820         (tst-swscanf-ENV): Likewise.
13821         (test-vfprintf-ENV): Likewise.
13822         (scanf13-ENV): Likewise.
13823         (bug14-ENV): Likewise.
13824         (tst-grouping-ENV): Likewise.
13825         * stdlib/Makefile (tst-strtod-ENV): Likewise.
13826         (tst-strtod3-ENV): Likewise.
13827         (tst-strtod4-ENV): Likewise.
13828         (tst-strtod5-ENV): Likewise.
13829         (testmb2-ENV): Likewise./
13830         * string/Makefile (tst-strxfrm-ENV): Likewise.
13831         (tst-strxfrm2-ENV): Likewise.
13832         (bug-strcoll1-ENV): Likewise.
13833         (test-strcasecmp-ENV): Likewise.
13834         (test-strncasecmp-ENV): Likewise.
13835         * time/Makefile (tst-strptime-ENV): Likewise.
13836         (tst-ftime_l-ENV): Likewise.
13837         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13838         (tst-mbrtowc-ENV): Likewise.
13839         (tst-wcrtomb-ENV): Likewise.
13840         (tst-mbrtowc2-ENV): Likewise.
13841         (tst-c16c32-1-ENV): Likewise.
13842         (tst-mbsnrtowcs-ENV): Likewise.
13844 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
13846         * manual/resource.texi (How to get information about the memory
13847         subsystem?): Fix typo.
13848         Reported by Peon de la Parra Ivan <peon@keba.com>
13850 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
13852         [BZ #16882]
13853         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13854         (pthread_spin_lock): Branch out of spin loop to proper location.
13855         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13856         (pthread_spin_lock): Likewise.
13858         * nptl/tst-spin4.c: New test.
13859         * nptl/Makefile (tests): Add tst-spin4.
13861 2014-06-03  Andreas Schwab  <schwab@suse.de>
13863         [BZ #15946]
13864         * resolv/res_send.c (send_dg): Reload file descriptor after
13865         calling reopen.
13867 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
13869         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13871 2014-06-03  Richard Henderson  <rth@redhat.com>
13873         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13874         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13875         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13876         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
13877         in the SAVE_PID block.
13878         (__libc_vfork): New alias.
13879         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
13881         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13882         child in registers, not on the stack.  Remove RESET_PID conditionals.
13883         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13885 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13887         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13889 2014-06-03  Wilco  <wdijkstr@arm.com>
13891         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13892         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13893         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13894         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13895         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13896         Likewise.
13898 2014-06-03  Wilco  <wdijkstr@arm.com>
13900         * sysdeps/aarch64/fpu/math_private.h
13901         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13902         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13903         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13904         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13905         Fix declarations.
13907 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13909         * crypt/crypt-private.h: Include ufc-crypt.h.
13910         (__b64_from_24bit): Declare extern.
13911         * crypt/crypt_util.c(__b64_from_24bit): New function.
13912         (b64t): New static const variable.
13913         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13914         (b64t): Remove variable.
13915         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13916         * crypt/sha256-crypt.c: Include crypt-private.h.
13917         (b64t): Remove variable.
13918         (__sha256_crypt_r): Remove b64_from_24bit and replace
13919         with __b64_from_24bit.
13920         * crypt/sha512-crypt.c: Likewise.
13922 2014-06-02  Roland McGrath  <roland@hack.frob.com>
13924         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13925         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13926         Label the code __libc_vfork rather than __vfork.
13927         [!NOT_IN_libc] (vfork): Define as weak alias.
13928         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13929         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13930         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13932 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13934         * malloc/malloc.c (malloc_info): Fix format specifier for
13935         n_mmaps.
13937 2014-06-02  Wilco  <wdijkstr@arm.com>
13939         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13940         FPCR write.
13942 2014-06-02  Wilco  <wdijkstr@arm.com>
13944         [BZ #17009]
13945         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13946         Rewrite to reduce FPCR/FPSR accesses.
13948 2014-06-01  David S. Miller  <davem@davemloft.net>
13950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13952 2014-05-31  David S. Miller  <davem@davemloft.net>
13954         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13955         to occur in round to nearest mode when |x| >= 2.0
13957 2014-05-30  Richard Henderson  <rth@twiddle.net>
13959         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13960         (PSEUDO_RET_NOERRNO): Remove.
13961         (ret): Don't redefine.
13962         (ret_NOERRNO): Define in terms of ret.
13963         (ret_ERRVAL): Likewise.
13965         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13966         use of PSEUDO_RET; perform the error check directly.
13968 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
13970         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13971         with __int128_t.
13973 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13975         * malloc/malloc (malloc_info): Fix formatting.
13977 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13978             Roland McGrath  <roland@hack.frob.com>
13980         * malloc/malloc (malloc_info): Also print mmapped statistics.
13982 2014-05-30  Roland McGrath  <roland@hack.frob.com>
13984         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13985         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13987 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
13989         * malloc/malloc.c (malloc_info): Inline mi_arena.
13991 2014-05-29  Richard Henderson  <rth@twiddle.net>
13993         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13994         Remove comma before expanding ASM_ARGS_##nr.
13995         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13996         Make _x0 a strict output; make _x8 a strict input; adjust expansion
13997         of ASM_ARGS_##nr.
13998         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13999         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14000         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14001         (ASM_ARGS_1): Add leading comma.
14003         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14004         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14005         to __errno_location.
14006         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14007         Remove the expected plt for __errno_location.
14009         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14010         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
14011         call to __read_tp.
14013         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14014         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
14015         it and break it down.
14016         (DOCARGS_0, DOCARGS_1): Do nothing.
14017         (DOCARGS_2): Update to store into the new stack frame.
14018         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14019         (UNDOCARGS_1): Update to restore from the new stack frame.
14020         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14021         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14023         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14024         (SINGLE_THREAD_P): New parameter for result regno.
14025         (PSEUDO): Update to match; use cbz instead of beq.
14027         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14028         Use ENTRY to define the _nocancel entry point.  Share the syscall
14029         and syscall error check paths with the cancel path.
14030         (PSEUDO_END): New.
14032         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14033         whitespace; tabs before and after asm mnemonics.
14035 2014-05-29  Eric Wong  <normalperson@yhbt.net>
14037         [BZ #15132]
14038         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14039         Call fstat64 or stat64 internally, depending on arguments passed.
14040         Replace stat buffer argument with file descriptor argument.
14041         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14042         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14043         Pass fd to __internal_statvfs instead of calling fstat64.
14044         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14045         Pass fd to __internal_statvfs64 instead of calling fstat64.
14046         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14047         Pass -1 to __internal_statvfs instead of calling stat64.
14048         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14049         Pass -1 to __internal_statvfs64 instead of calling stat64.
14051 2014-05-28  Roland McGrath  <roland@hack.frob.com>
14053         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14054         that was previously under [RESET_PID].
14055         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14057         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14058         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14060 2014-05-27  Roland McGrath  <roland@hack.frob.com>
14062         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14064         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14065         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14067 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
14069         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14071 2014-05-27  Andreas Schwab  <schwab@suse.de>
14073         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14074         TLS_INIT_TP macro.
14075         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14076         * elf/rtld.c (init_tls, dl_main): Likewise.
14077         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14078         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14079         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14080         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14081         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14082         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14083         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
14084         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
14085         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
14086         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
14087         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
14088         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
14089         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
14090         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
14091         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
14092         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
14093         * sysdeps/generic/tls.h: Update description.
14095 2014-05-27  Will Newton  <will.newton@linaro.org>
14097         [BZ #16990]
14098         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
14099         and restore r2 rather than just restoring.
14101 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14103         [BZ #16724]
14104         * libio/tst-ftell-append.c: New test case.
14105         * libio/Makefile (tests): Add test case.
14106         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
14107         append mode.
14108         * libio/wfileops.c (do_ftell_wide): Likewise.
14110 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14114         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
14115         ...
14116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
14117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14118         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
14119         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
14120         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
14121         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
14122         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
14123         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
14124         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14125         Moved ...
14126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
14127         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14128         Moved ...
14129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
14130         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
14131         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
14132         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
14133         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
14134         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
14135         ...
14136         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
14137         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
14138         Moved ...
14139         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
14140         here.
14141         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
14142         ...
14143         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
14144         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
14145         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
14147         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
14148         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
14149         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
14150         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
14152         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
14153         merge into ...
14154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
14155         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
14156         ...
14157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
14158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
14159         ...
14160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
14161         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14162         Moved ...
14163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
14164         here.
14165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14166         Moved ...
14167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
14168         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14169         Moved ...
14170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
14172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
14173         conditional [RESET_PID].
14174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
14176         removed.
14177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
14178         removed.
14180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
14181         <tcb-offsets.h>.
14182         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14183         (__libc_vfork): New strong alias.
14184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
14185         removed.
14186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
14187         Removed.
14189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
14190         <tcb-offsets.h>.
14191         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
14192         (__libc_vfork): New strong alias.
14193         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
14194         removed.
14195         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
14196         removed.
14198 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
14200         * malloc/malloc.c (mi_arena): New function.
14201         (malloc_info): Remove nested function mi_arena. Call non-nosted
14202         function mi_arena.
14204 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14206         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
14207         by insrwi.
14208         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
14209         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
14210         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
14211         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
14212         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
14213         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
14214         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
14216 2014-05-26  Andreas Schwab  <schwab@suse.de>
14218         [BZ #16984]
14219         * locale/programs/repertoire.c (repertoire_read): Add slash
14220         between I18NPATH element and file name.
14221         * locale/programs/locfile.c (locfile_read): Likewise.
14223 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14225         * nptl/pthread_mutexattr_settype.c
14226         (__pthread_mutexattr_settype):
14227         Disable lock elision for PTHREAD_MUTEX_NORMAL.
14229 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14231         * nptl/tst-mutex5 (do_test):
14232         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
14234 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14236         * benchtests/README: Document 'init' directive.
14237         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
14238         BENCH_INIT.
14239         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
14240         (parse_file): Recognize 'init' directive.
14242 2014-05-26  Kyle McMartin  <kyle@redhat.com>
14244         [BZ #16796]
14245         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
14246         alignment of struct pthread.
14248 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14250         [BZ #16878]
14251         * nscd/netgroupcache.c (addgetnetgrentX): Look for
14252         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14253         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
14254         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
14256 2014-05-25  Richard Henderson  <rth@twiddle.net>
14258         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14259         (SINGLE_THREAD_P_PIC): Remove.
14260         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14261         (SINGLE_THREAD_P_PIC): Remove.
14263         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
14264         branch to syscall error ...
14265         (PSEUDO): ... here.
14266         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
14267         from __local_syscall_error to .Lsyscall_error.
14268         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
14269         (SYSCALL_ERROR): Update label name.
14271         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14272         Do not use DOARGS/UNDOARGS.
14273         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
14274         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
14275         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
14276         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
14277         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
14279         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
14280         block comment.
14282         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
14283         define if !NOT_IN_libc.
14284         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
14285         define with non-default symbol versions.
14287 2014-05-23  Richard Henderson  <rth@twiddle.net>
14289         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
14290         (vfork, __vfork): Define via compat_symbol.
14292         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
14293         [!HAVE_IFUNC] (vfork_compat): Remove.
14294         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
14296 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14298         [BZ #16978]
14299         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
14300         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
14301         variable.
14303 2014-05-23  Richard Henderson  <rth@twiddle.net>
14305         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
14306         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
14307         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
14308         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
14310         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
14311         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
14312         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
14313         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
14314         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
14315         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
14316         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
14317         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
14318         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
14319         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
14320         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
14321         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
14322         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
14323         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
14324         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
14325         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
14326         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
14327         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
14328         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
14329         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
14330         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
14331         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
14332         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
14333         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
14334         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
14335         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
14336         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
14337         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
14338         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
14339         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
14340         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
14341         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
14342         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
14343         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
14344         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
14345         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
14346         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
14347         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
14348         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
14349         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
14350         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
14351         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
14352         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
14353         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
14354         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
14355         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
14356         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
14357         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
14358         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
14359         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
14360         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
14361         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
14362         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
14363         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
14364         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
14365         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
14367         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
14368         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
14369         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
14370         before exiting on error.
14371         (__libc_vfork): New strong alias.
14372         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
14373         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
14375         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
14376         that was previously under [RESET_PID].
14377         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
14379         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
14381 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
14383         [BZ #16977]
14384         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
14385         value when x - 1 is zero.
14386         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
14387         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14388         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
14389         0.0L for an argument of 1.0L.
14390         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
14391         Likewise.
14392         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
14393         value when x - 1 is zero.
14394         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
14395         * sysdeps/i386/fpu/libm-test-ulps: Update.
14396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14398 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14400         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
14401         alphasort and versionsort.
14403 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14405         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
14406         macro.
14407         [copysignf]: Likewise.
14409 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14411         * crypt/md5-crypt.c: Fix formatting.
14413 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14415         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
14416         (b64_from_24bit): New function.
14418 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14420         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
14421         libc_hidden_builtin_def to ifunc.
14422         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14423         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
14425 2014-05-21  Roland McGrath  <roland@hack.frob.com>
14427         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
14428         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
14430 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
14432         * nscd/Depend (linuxthreads): Remove.
14433         (nptl): Add.
14434         * resolv/Depend (linuxthreads): Remove.
14435         * rt/Depend (linuxthreads): Remove.
14437         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
14438         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
14439         $(common-objpfx)elf/.
14440         (link-libc-before-gnulib): Likewise.
14441         (elfobjdir): Remove variable.
14442         * Makefile (install): Use $(elf-objpfx) instead of
14443         $(common-objpfx)elf/.
14444         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
14445         $(elfobjdir)/.
14446         (link-libc-deps): Likewise.
14447         ($(common-objpfx)libc.so): Likewise.
14448         ($(common-objpfx)linkobj/libc.so): Likewise.
14449         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
14450         instead of $(common-objpfx)elf/.
14451         (symbolic-link-list): Likewise.
14452         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14453         [$(cross-compiling) = no]: Likewise.
14454         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
14455         $(elfobjdir)/.
14456         (static-gnulib-arch): Likewise.
14457         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14458         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
14459         $(common-objpfx)elf/.
14461 2014-05-21  Richard Henderson  <rth@redhat.com>
14463         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14464         (SINGLE_THREAD_P): Use the correct width load.  Fold
14465         into the ldr offset.
14467         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
14468         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
14470 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
14472         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
14473         (libgcc_s_resume): Use __attribute_used__.
14474         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
14475         Likewise.
14477 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14479         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
14480         optimization when used with float constants.
14482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14484 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
14486         [BZ #16915]
14487         * locale/nl_langinfo_l.c: Make direct reference to every
14488         _nl_current_CATEGORY symbol.
14489         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
14490         (tests-static): Add tst-langinfo-static.
14491         (tests-special): Add tst-langinfo-static.out.
14492         ($(objpfx)tst-langinfo.out): Redirect output.
14493         ($(objpfx)tst-langinfo-static.out): New.
14494         * localedata/tst-langinfo.sh: Send output to stdout.
14495         * localedata/tst-langinfo-static.c: New file.
14497         [BZ #16965]
14498         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
14499         when the shift amount is modulo the limb size.
14501 2014-05-20  Richard Henderson  <rth@redhat.com>
14503         [BZ #16967]
14504         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
14505         Change type of sa_flags from unsigned int to int.
14507         [BZ #16966]
14508         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
14510         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
14512 2014-05-20  Will Newton  <will.newton@linaro.org>
14514         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14515         Test the return value of the system call in the nocancel case.
14517 2014-05-20  Will Newton  <will.newton@linaro.org>
14518             Yvan Roux  <yvan.roux@linaro.org>
14520         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
14521         #include of asm/ptrace.h.
14522         (PTRACE_GET_THREAD_AREA): Remove #undef.
14523         (PTRACE_GETHBPREGS): Likewise.
14524         (PTRACE_SETHBPREGS): Likewise.
14525         (struct user_regs_struct): New structure.
14526         (struct user_fpsimd_struct): New structure.
14527         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
14528         #include of asm/ptrace.h and second #include of sys/user.h.
14529         (PTRACE_GET_THREAD_AREA): Remove #undef.
14530         (PTRACE_GETHBPREGS): Likewise.
14531         (PTRACE_SETHBPREGS): Likewise.
14532         (ELF_NGREG): Use new struct user_regs_struct.
14533         (elf_fpregset_t): Use new struct user_fpsimd_struct.
14535 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14537         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
14538         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
14540 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
14542         [BZ #16958]
14543         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
14544         membar to avoid block loads/stores to overlap previous stores.
14546 2014-05-17  Richard Henderson  <rth@redhat.com>
14548         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
14549         Create the __##syscall_name##_nocancel entry point.
14550         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
14551         Remove; let the sysdep-cancel.h code create it.
14553 2014-05-17  David S. Miller  <davem@davemloft.net>
14555         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
14556         Protect with __USE_GNU.
14557         (TIOCSET_TEMPT): Likewise.
14558         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14559         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
14560         these are already provided in bits/ioctl-types.h
14562 2014-05-16  Roland McGrath  <roland@hack.frob.com>
14564         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
14565         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
14567         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
14568         Use wait4 regardless of [__NR_waitpid].
14570 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
14572         PR libgcc/60166
14573         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14574         (_FP_NANSIGN_Q): Set the quiet bit.
14576 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
14578         * benchtests/Makefile
14579         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
14580         not $(common-objpfx)math/libm.so.
14581         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
14582         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14583         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
14584         $(common-objpfx)dlfcn/libdl.so.
14585         ($(objpfx)tst-audit8): Depend on $(libm), not
14586         $(common-objpfx)math/libm.so.
14587         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
14588         not $(common-objpfx)dlfcn/libdl.so.
14589         * math/Makefile
14590         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14591         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
14592         [$(build-shared) = yes].
14593         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
14594         $(common-objpfx)nptl/libpthread.so.
14595         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
14596         $(common-objpfx)math/libm.so$(libm.so-version) or
14597         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14598         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14599         $(common-objpfx)dlfcn/libdl.so.
14600         * setjmp/Makefile (link-libm): Remove variable.
14601         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14602         * stdio-common/Makefile (link-libm): Remove variable.
14603         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14604         * stdlib/Makefile (link-libm): Remove variable.
14605         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14606         ($(objpfx)tst-strtod-round): Likewise.
14607         ($(objpfx)tst-tininess): Likewise.
14608         ($(objpfx)tst-strtod-underflow): Likewise.
14609         ($(objpfx)tst-strtod6): Likewise.
14610         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14611         $(libdl), not $(common-objpfx)nptl/libpthread.so and
14612         $(common-objpfx)dlfcn/libdl.so.
14614 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14616         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14617         BSD terminal modes definitions.
14619 2014-05-16  Roland McGrath  <roland@hack.frob.com>
14621         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14622         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14624         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
14625         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14626         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14627         Don't do #include_next.
14628         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14629         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14630         Don't do #include_next.
14631         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14632         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14633         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14634         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14636 2014-05-16  Allan McRae  <allan@archlinux.org>
14638         * po/sv.po: Update Swedish translation from translation project.
14640         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14641         in sed expression.
14643 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
14645         [BZ #16917]
14646         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14647         errno if the TIOCGPTN ioctl fails with an error different than
14648         EINVAL.
14649         * login/tst-ptsname.c: New file.
14650         * login/Makefile (tests): Add tst-ptsname.
14652         [BZ #16943]
14653         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14654         and prlimit64.
14656 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14658         [BZ #16849]
14659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14660         herrno to return EAI_AGAIN.
14662 2014-05-14  Roland McGrath  <roland@hack.frob.com>
14664         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14665         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14666         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14667         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14668         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14669         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14670         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14671         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14672         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14673         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14674         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14675         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14676         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14677         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14678         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14679         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14680         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14681         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14682         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14683         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14684         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14685         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14686         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14687         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14688         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14689         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14690         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14691         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14692         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14693         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14695         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14697         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14699         Moved ...
14700         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14702         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14704         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14706         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14708         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14710         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14712         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14714         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14716         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14718         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14720         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14722         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14724         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14726         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14728         Moved ...
14729         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14731         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14733         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14735         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14737         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14739         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14741         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14743         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14745         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14747         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14749         Moved ...
14750         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14752         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14754         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14755         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14756         (libpthread-sysdep_routines): Add elision-related stuff here instead.
14757         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14758         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14759         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14760         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14761         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14762         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14763         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14764         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14765         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14766         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14767         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14768         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14769         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14770         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14771         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14772         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14773         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14774         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14775         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14776         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14777         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14778         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14779         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14780         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14781         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14782         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14783         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14784         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14786         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14787         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14789         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14790         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14791         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14792         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14793         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14794         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14795         Moved ...
14796         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14797         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14798         Moved ...
14799         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14800         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14801         Moved ...
14802         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14803         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14804         Moved ...
14805         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14806         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14807         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14808         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14809         Moved ...
14810         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14811         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14812         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14813         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14814         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14815         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14816         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14817         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14818         Moved ...
14819         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14820         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14821         Moved ...
14822         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14823         ... here.
14824         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14825         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14826         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14827         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14828         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14829         Moved ...
14830         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14831         ... here.
14832         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14833         Moved ...
14834         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14835         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14836         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14837         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14838         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14839         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14840         Moved ...
14841         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14842         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14843         Moved ...
14844         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14845         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14846         Moved ...
14847         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14848         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14849         Moved ...
14850         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14851         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14852         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14853         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14854         Moved ...
14855         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14856         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14857         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14858         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14859         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14860         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14861         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14862         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14863         Moved ...
14864         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14865         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14866         Moved ...
14867         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14868         ... here.
14869         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14870         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14871         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14872         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14873         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14874         Moved ...
14875         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14876         ... here.
14877         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14878         Moved ...
14879         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14880         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14881         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14882         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14883         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14884         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14885         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14886         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14887         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14888         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14889         Moved ...
14890         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14891         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14892         Moved ...
14893         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14894         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14895         Moved ...
14896         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14897         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14898         Moved ...
14899         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14900         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14901         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14902         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14903         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14904         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14905         Moved ...
14906         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14907         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14908         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14909         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14910         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14911         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14912         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14913         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14914         Moved ...
14915         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14916         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14917         Moved ...
14918         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14919         ... here.
14920         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14921         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14922         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14923         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14924         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14925         Moved ...
14926         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14927         ... here.
14928         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14929         Moved ...
14930         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14931         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14932         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14933         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14934         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14935         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14936         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14937         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14938         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14939         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14940         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14942         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14943         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14945         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14946         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14948         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14949         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14950         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14951         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14952         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14953         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14954         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14955         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14956         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14957         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14958         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14959         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14960         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14961         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14962         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14963         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14964         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14965         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14966         Moved ...
14967         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14968         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14969         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14970         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14971         Moved ...
14972         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14973         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14974         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14975         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14976         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14977         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14978         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14979         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14980         Moved ...
14981         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14982         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14983         Moved ...
14984         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14985         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14986         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14987         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14988         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14989         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14990         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14991         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14992         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14993         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14994         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14995         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14996         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14997         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14998         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14999         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15000         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15002         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15003         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15004         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15005         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15006         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15008         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15009         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15010         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15011         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15012         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15013         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15014         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15015         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15016         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15017         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15019         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15020         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15022         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15023         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
15024         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15025         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15026         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15027         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15028         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15029         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15030         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15031         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15032         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15033         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15034         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15035         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15037         Update #include.
15038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15039         Likewise.
15040         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15041         Likewise.
15042         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15043         Likewise.
15044         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15045         Likewise.
15046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15047         Likewise.
15048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15049         Likewise.
15050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15051         Likewise.
15052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15053         Likewise.
15054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15055         Likewise.
15056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15057         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15059         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15060         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
15061         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15062         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15063         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15064         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15065         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15066         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15067         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15068         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15069         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
15070         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
15072         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15073         that was previously under [RESET_PID].
15074         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15075         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15076         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15078         * sysdeps/i386/nptl/Implies: New file.
15079         * sysdeps/x86_64/nptl/Implies: New file.
15080         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15081         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15082         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15083         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
15085         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
15086         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15087         (__libc_vfork): New strong alias.
15088         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
15089         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
15091         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
15092         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15093         (__libc_vfork): New strong alias.
15094         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
15095         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
15097         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
15098         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15099         (__libc_vfork): New strong alias.
15100         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
15101         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
15102         * nptl/pt-vfork.c: New file.
15103         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
15104         (libpthread: GLIBC_2.20): New version set (empty).
15106 2014-05-14  Will Newton  <will.newton@linaro.org>
15108         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
15109         rather than #if.
15111 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
15113         [BZ #16564]
15114         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
15115         arguments with exponent 65 or above.
15116         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
15117         arguments 0x1p113L or above.
15118         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
15119         to arguments 0x1p107L or above.
15120         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
15121         positive arguments with exponent 65 or above.
15122         * math/auto-libm-test-in: Add more tests of log1p.
15123         * math/auto-libm-test-out: Regenerated.
15125         [BZ #16928]
15126         * math/s_cacos.c (__cacos): Ensure zero real part of result from
15127         non-finite arguments is +0.
15128         * math/s_cacosf.c (__cacosf): Likewise.
15129         * math/s_cacosl.c (__cacosl): Likewise.
15130         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
15131         * sysdeps/i386/fpu/libm-test-ulps: Update.
15132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15134         [BZ #16927]
15135         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
15136         value.
15137         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15138         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
15139         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
15140         for explicit high bit of mantissa when testing for argument equal
15141         to 1.
15142         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
15143         * sysdeps/i386/fpu/libm-test-ulps: Update.
15144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15146         [BZ #16516]
15147         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
15148         (__erf): Scale by 16 instead of 8 in potentially underflowing
15149         case.  Ensure exception if result actually underflows.
15150         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
15151         (__erff): Scale by 16 instead of 8 in potentially underflowing
15152         case.  Ensure exception if result actually underflows.
15153         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
15154         (efx8): Remove variable.
15155         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15156         case.  Ensure exception if result actually underflows.
15157         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
15158         (efx8): Remove variable.
15159         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15160         case.  Ensure exception if result actually underflows.
15161         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
15162         (efx8): Remove variable.
15163         (__erfl): Scale by 16 instead of 8 in potentially underflowing
15164         case.  Ensure exception if result actually underflows.
15165         * math/auto-libm-test-in: Add more tests of erf.
15166         * math/auto-libm-test-out: Regenerated.
15168 2014-05-14  Andreas Schwab  <schwab@suse.de>
15170         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
15171         Remove code conditionalized on USE___THREAD.
15173         * config.h.in (HAVE_PT_CHOWN): Define as 0.
15174         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
15175         not definedness.
15177 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
15179         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
15180         Define unconditionally.
15181         (__ASSUME_O_CLOEXEC): Likewise.
15182         (__ASSUME_SOCK_CLOEXEC): Likewise.
15183         (__ASSUME_IN_NONBLOCK): Likewise.
15184         (__ASSUME_PIPE2): Likewise.
15185         (__ASSUME_EVENTFD2): Likewise.
15186         (__ASSUME_SIGNALFD4): Likewise.
15187         (__ASSUME_DUP3): Likewise.
15188         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15189         (__ASSUME_DUP3): Do not define.
15190         (__ASSUME_EVENTFD2): Likewise.
15191         (__ASSUME_IN_NONBLOCK): Likewise.
15192         (__ASSUME_O_CLOEXEC): Likewise.
15193         (__ASSUME_PIPE2): Likewise.
15194         (__ASSUME_SIGNALFD4): Likewise.
15195         (__ASSUME_SOCK_CLOEXEC): Likewise.
15196         (__ASSUME_UTIMES): Undefine.
15197         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15198         (__ASSUME_UTIMES): Do not define.
15199         (__ASSUME_O_CLOEXEC): Likewise.
15200         (__ASSUME_SOCK_CLOEXEC): Likewise.
15201         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
15202         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
15203         0x020621].
15204         (__ASSUME_PIPE2): Likewise.
15205         (__ASSUME_EVENTFD2): Likewise.
15206         (__ASSUME_SIGNALFD4): Likewise.
15207         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
15208         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
15209         Do not define.
15210         (__ASSUME_EVENTFD2): Likewise.
15211         (__ASSUME_SIGNALFD4): Likewise.
15212         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15213         (__ASSUME_32BITUIDS): Likewise.
15214         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
15215         (__ASSUME_IPC64): Likewise.
15216         (__ASSUME_ST_INO_64_BIT): Likewise.
15217         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
15218         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
15219         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15220         (__ASSUME_UTIMES): Do not define.
15221         (__ASSUME_PSELECT): Likewise.
15222         (__ASSUME_PPOLL): Likewise.
15223         (__ASSUME_O_CLOEXEC): Likewise.
15224         (__ASSUME_SOCK_CLOEXEC): Likewise.
15225         (__ASSUME_IN_NONBLOCK): Likewise.
15226         (__ASSUME_PIPE2): Likewise.
15227         (__ASSUME_EVENTFD2): Likewise.
15228         (__ASSUME_SIGNALFD4): Likewise.
15229         (__ASSUME_DUP3): Likewise.
15230         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15231         (__ASSUME_UTIMES): Likewise.
15232         (__ASSUME_O_CLOEXEC): Likewise.
15233         (__ASSUME_SOCK_CLOEXEC): Likewise.
15234         (__ASSUME_IN_NONBLOCK): Likewise.
15235         (__ASSUME_PIPE2): Likewise.
15236         (__ASSUME_EVENTFD2): Likewise.
15237         (__ASSUME_SIGNALFD4): Likewise.
15238         (__ASSUME_DUP3): Likewise.
15239         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15240         (__ASSUME_UTIMES): Likewise.
15241         (__ASSUME_O_CLOEXEC): Likewise.
15242         (__ASSUME_SOCK_CLOEXEC): Likewise.
15243         (__ASSUME_IN_NONBLOCK): Likewise.
15244         (__ASSUME_PIPE2): Likewise.
15245         (__ASSUME_EVENTFD2): Likewise.
15246         (__ASSUME_SIGNALFD4): Likewise.
15247         (__ASSUME_DUP3): Likewise.
15248         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
15249         Likewise.
15250         (__ASSUME_UTIMES): Likewise.
15251         (__ASSUME_EVENTFD2): Likewise.
15252         (__ASSUME_SIGNALFD4): Likewise.
15253         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15254         (__ASSUME_O_CLOEXEC): Likewise.
15255         (__ASSUME_SOCK_CLOEXEC): Likewise.
15256         (__ASSUME_IN_NONBLOCK): Likewise.
15257         (__ASSUME_PIPE2): Likewise.
15258         (__ASSUME_EVENTFD2): Likewise.
15259         (__ASSUME_SIGNALFD4): Likewise.
15260         (__ASSUME_DUP3): Likewise.
15261         (__ASSUME_UTIMES): Undefine.
15263         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
15264         feclearexcept.  Remove symbol versioning code.
15265         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
15266         symbol versioning code.
15267         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
15268         symbol versioning code.
15269         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
15270         feupdateenv.  Remove symbol versioning code.
15271         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
15272         fegetexceptflag.  Remove symbol versioning code.
15273         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
15274         fesetexceptflag.  Remove symbol versioning code.
15275         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
15276         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
15277         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
15278         (__posix_fadvise64_l32): Remove prototype.
15279         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
15280         code.
15282 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15284         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
15285         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
15286         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
15287         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
15289 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
15291         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
15292         current working directory
15294 2014-05-13  Roland McGrath  <roland@hack.frob.com>
15296         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
15297         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
15298         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
15299         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
15300         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
15301         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
15302         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
15303         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
15304         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
15305         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
15306         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
15307         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
15308         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
15309         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
15310         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
15311         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
15312         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
15313         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
15314         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
15315         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
15316         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
15317         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
15318         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
15319         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
15320         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
15321         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
15322         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
15323         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
15324         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
15325         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
15326         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
15327         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
15328         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
15329         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
15330         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
15331         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
15332         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
15333         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
15334         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
15335         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
15336         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
15337         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
15339         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
15340         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
15342         * sysdeps/unix/sysv/linux/arm/Makefile
15343         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
15344         Add rt-aeabi_unwind_cpp_pr1.
15345         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
15346         Add nptl-aeabi_unwind_cpp_pr1.
15347         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
15348         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
15349         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
15350         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15351         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
15352         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15354         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
15355         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
15356         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
15357         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
15359         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
15360         Deconditionalize the code that was previously under [RESET_PID].
15361         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
15363         * sysdeps/generic/exit-thread.h: New file.
15364         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
15365         * include/unistd.h (__exit_thread): Remove declaration.
15366         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
15367         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
15368         * csu/libc-start.c: Include <exit-thread.h>.
15369         (LIBC_START_MAIN): Pass no argument to __exit_thread.
15370         * nptl/pthread_create.c: Include <exit-thread.h>.
15371         (start_thread): Call __exit_thread in place of __exit_thread_inline.
15372         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
15373         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
15374         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
15375         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
15376         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
15377         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
15378         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
15379         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
15380         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
15381         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
15382         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
15383         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
15384         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
15385         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
15386         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
15387         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
15389 2014-05-13  Andreas Schwab  <schwab@suse.de>
15391         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
15393 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
15395         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15396         (__ASSUME_UTIMES): Do not condition on kernel version.
15397         (__ASSUME_PSELECT): Define unconditionally.
15398         (__ASSUME_PPOLL): Likewise.
15399         (__ASSUME_ATFCTS): Likewise.
15400         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
15401         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
15402         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
15403         (__ASSUME_UTIMENSAT): Define unconditionally.
15404         (__ASSUME_PRIVATE_FUTEX): Likewise.
15405         (__ASSUME_FALLOCATE): Likewise.
15406         (__ASSUME_O_CLOEXEC): Likewise.
15407         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
15408         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
15409         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
15410         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
15411         (__ASSUME_IN_NONBLOCK): Likewise.
15412         (__ASSUME_PIPE2): Likewise.
15413         (__ASSUME_EVENTFD2): Likewise.
15414         (__ASSUME_SIGNALFD4): Likewise.
15415         (__ASSUME_DUP3): Likewise.
15416         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15417         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
15418         (__ASSUME_AT_RANDOM): Likewise.
15419         (__ASSUME_PREADV): Likewise.
15420         (__ASSUME_PWRITEV): Likewise.
15421         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
15422         (__ASSUME_F_GETOWN_EX): Define unconditionally.
15423         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
15424         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15425         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
15426         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15427         (__ASSUME_O_CLOEXEC): Define unconditionally.
15428         (__ASSUME_PSELECT): Do not undefine conditionally.
15429         (__ASSUME_PPOLL): Likewise.
15430         (__ASSUME_ATFCTS): Likewise.
15431         (__ASSUME_SET_ROBUST_LIST): Likewise.
15432         (__ASSUME_UTIMENSAT): Likewise.
15433         (__ASSUME_FDATASYNC): Define unconditionally.
15434         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15435         (__ASSUME_SIGFRAME_V2): Likewise.
15436         )__ASSUME_EVENTFD2): Likewise.
15437         (__ASSUME_SIGNALFD4): Likewise.
15438         (__ASSUME_PSELECT): Do not undefine conditionally.
15439         (__ASSUME_PPOLL): Likewise.
15440         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15441         (__ASSUME_PSELECT): Define unconditionally.
15442         (__ASSUME_PPOLL): Likewise.
15443         (__ASSUME_O_CLOEXEC): Likewise.
15444         (__ASSUME_SOCK_CLOEXEC): Likewise.
15445         (__ASSUME_IN_NONBLOCK): Likewise.
15446         (__ASSUME_PIPE2): Likewise.
15447         (__ASSUME_EVENTFD2): Likewise.
15448         (__ASSUME_SIGNALFD4): Likewise.
15449         (__ASSUME_DUP3): Likewise.
15450         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15451         (__ASSUME_O_CLOEXEC): Likewise.
15452         (__ASSUME_SOCK_CLOEXEC): Likewise.
15453         (__ASSUME_IN_NONBLOCK): Likewise.
15454         (__ASSUME_PIPE2): Likewise.
15455         (__ASSUME_EVENTFD2): Likewise.
15456         (__ASSUME_SIGNALFD4): Likewise.
15457         (__ASSUME_DUP3): Likewise.
15458         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15459         (__ASSUME_EVENTFD2): Likewise.
15460         (__ASSUME_SIGNALFD4): Likewise.
15461         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15463 2014-05-12  Andreas Schwab  <schwab@suse.de>
15465         [BZ #16932]
15466         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
15467         (_nss_nis_gethostbyname4_r): Return error if item length is larger
15468         than maximum RPC packet size.
15469         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
15470         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
15471         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
15472         (_nss_nis_getservbyport_r): Likewise.
15474 2014-05-12  Will Newton  <will.newton@linaro.org>
15476         * malloc/Makefile (tests): Add tst-mallopt.
15477         * malloc/tst-mallopt.c: New file.
15479 2014-05-09  Roland McGrath  <roland@hack.frob.com>
15481         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
15482         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
15484 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15486         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
15487         (tst-tlsmod6.so): Likewise.
15489 2014-05-09  Roland McGrath  <roland@hack.frob.com>
15491         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
15493 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
15495         [BZ #16064]
15496         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
15497         and <dl-procinfo.h>.
15498         (__fegetenv): Save SSE state in envp->__eip if supported.
15499         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
15500         envp->__eip if supported.
15501         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
15502         and <dl-procinfo.h>.
15503         (__fesetenv): Always set __eip, __cs_selector, __opcode,
15504         __data_offset and __data_selector in environment to 0.  Set SSE
15505         state if supported.
15506         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15507         test-fenv-sse.
15508         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
15509         -mfpmath=sse.
15510         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
15512 2014-05-09  Will Newton  <will.newton@linaro.org>
15514         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
15515         and libc_relro_required for ARM.
15516         * sysdeps/arm/preconfigure: Regenerate.
15518 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
15519             Stefan Liebler  <stli@linux.vnet.ibm.com>
15521         * config.make.in (enable-lock-elision): New Makefile variable.
15522         * configure.ac: Likewise.
15523         * configure: Regenerate.
15524         * sysdeps/s390/configure.ac:
15525         Add check for gcc transactions support.
15526         * sysdeps/s390/configure: Regenerate.
15527         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
15528         Build elision files if enabled.
15529         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
15530         Add lock elision support for s390.
15531         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
15532         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
15533         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
15534         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15535         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
15536         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
15537         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15538         Likewise.
15539         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
15540         Likewise.
15541         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
15542         Likewise.
15543         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
15544         Likewise.
15545         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
15546         (__lll_timedlock_elision, __lll_lock_elision)
15547         (__lll_unlock_elision, __lll_trylock_elision)
15548         (lll_timedlock_elision, lll_lock_elision)
15549         (lll_unlock_elision, lll_trylock_elision): Add.
15550         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15551         (pthread_mutex_t): Add lock elision support for s390.
15553 2014-05-14  Wilco  <wdijkstr@arm.com>
15555         * sysdeps/arm/fclrexcpt.c: Cleanup.
15556         * sysdeps/arm/fedisblxcpt.c: Cleanup.
15557         * sysdeps/arm/feenablxcpt.c: Cleanup.
15558         * sysdeps/arm/fegetenv.c: Cleanup.
15559         * sysdeps/arm/fegetexcept.c: Cleanup.
15560         * sysdeps/arm/fegetround.c: Cleanup.
15561         * sysdeps/arm/feholdexcpt.c: Cleanup.
15562         * sysdeps/arm/fesetenv.c: Cleanup.
15563         * sysdeps/arm/fesetround.c: Cleanup.
15564         * sysdeps/arm/feupdateenv.c: Cleanup.
15565         * sysdeps/arm/fgetexcptflg.c: Cleanup.
15566         * sysdeps/arm/fraiseexcpt.c: Cleanup.
15567         * sysdeps/arm/fsetexcptflg.c: Cleanup.
15568         * sysdeps/arm/ftestexcept.c: Cleanup.
15569         * sysdeps/arm/get-rounding-mode.h: Cleanup.
15570         * sysdeps/arm/setfpucw.c: Cleanup.
15572 2014-05-09  Will Newton  <will.newton@linaro.org>
15574         * sysdeps/arm/armv7/strcmp.S: New file.
15575         * NEWS: Mention addition of ARMv7 optimized strcmp.
15577 2014-05-08  Roland McGrath  <roland@hack.frob.com>
15579         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
15580         look for %.ac rather than %.in.
15582         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
15583         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
15584         * sysdeps/mach/hurd/configure: Regenerated.
15585         * sysdeps/unix/sysv/linux/configure: Regenerated.
15587         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
15589 2014-05-07  Steve Ellcey  <sellcey@mips.com>
15591         [BZ# 16922]
15592         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
15593         (LONG_SUB): Ditto.
15594         (PTR_SUB): Ditto.
15596 2014-05-07  Andreas Schwab  <schwab@suse.de>
15598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15599         when skipping over non-matching result from nscd.
15601 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
15603         [BZ #16876]
15604         * nptl/sockperf.c (client): Check socket return value.
15606         [BZ #16877]
15607         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15608         nscd security class.
15610 2014-05-06  Roland McGrath  <roland@hack.frob.com>
15612         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15613         * sysdeps/arm/unwind.h: ... here.
15615 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
15617         [BZ# 16916]
15618         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15619         Define.
15621 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15623         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15624         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15625         multiarch strncpy for PPC64.
15626         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15627         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15628         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15629         multiarch optimizations.
15630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15631         (__libc_ifunc_impl_list): Likewise.
15632         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15633         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15634         multiarch stpncpy for PPC64.
15635         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15636         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15638 2014-05-06  Andreas Schwab  <schwab@suse.de>
15640         [BZ #16912]
15641         * gmon/mcount.c (_MCOUNT_DECL): Use
15642         atomic_compare_and_exchange_bool_acq instead of
15643         catomic_compare_and_exchange_bool_acq.
15645 2014-05-05  Roland McGrath  <roland@hack.frob.com>
15647         * elf/Makefile (others, install-bin): Remove pldd.
15648         (pldd-modules): Variable removed.
15649         ($(objpfx)pldd): Target removed.
15650         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15651         (others, install-bin): Append pldd here.
15652         ($(objpfx)pldd): New target.
15654         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15655         to 0, so the first #if test emitted later doesn't see it undefined.
15656         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15657         * sysdeps/gnu/errlist.c: Regenerated.
15659 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15661         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15662         [libc_hidden_builtin_def]: Define to empty value.
15663         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15664         [libc_hidden_builtin_def]: Likewise.
15665         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15666         [libc_hidden_builtin_def]: Likewise.
15667         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15668         [libc_hidden_builtin_def]: Likewise.
15669         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15670         __redirect_memcpy and define ifunc as default hidden symbol.
15671         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15672         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15674 2014-05-04  Adam Conrad  <adconrad@0c3.net>
15676         * locale/iso-4217.def: Reintroduce XDR currency.
15678 2014-05-04  Allan McRae  <allan@archlinux.org>
15680         * po/eo.po: Update Esperanto translation from translation project.
15682 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
15684         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15685         and FEATURE_INDEX_MAX to 1.
15686         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15688 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15690         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15691         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15692         * iconvdata/big5.c (ONE_DIRECTION): Define.
15693         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15694         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15695         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15696         * iconvdata/cp932.c (ONE_DIRECTION): Define.
15697         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15698         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15699         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15700         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15701         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15702         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15703         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15704         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15705         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15706         * iconvdata/gbk.c (ONE_DIRECTION): Define.
15707         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15708         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15709         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15710         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15711         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15712         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15713         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15714         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15715         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15716         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15717         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15718         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15719         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15720         * iconvdata/iso646.c (ONE_DIRECTION): Define.
15721         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15722         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15723         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15724         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15725         * iconvdata/johab.c (ONE_DIRECTION): Define.
15726         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15727         * iconvdata/sjis.c (ONE_DIRECTION): Define.
15728         * iconvdata/t.61.c (ONE_DIRECTION): Define.
15729         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15730         * iconvdata/tscii.c (ONE_DIRECTION): Define.
15731         * iconvdata/uhc.c (ONE_DIRECTION): Define.
15732         * iconvdata/unicode.c (ONE_DIRECTION): Define.
15733         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15734         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15735         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15737 2014-05-01  Roland McGrath  <roland@hack.frob.com>
15739         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15740         (_IO_JUMPS_OFFSET): Define to 0.
15742         * nptl/sysdeps/pthread/bits/libc-lock.h
15743         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15744         (__libc_lock_define_initialized_recursive): Always define using
15745         initializer.  Modern compilers treat uninitialized (implicit zero) and
15746         explicit zero initializers the same (i.e. put the datum in bss).
15748 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15750         * nscd/nscd-client.h: Include <string.h>.
15752 2014-05-01  David S. Miller  <davem@davemloft.net>
15754         [BZ #16885]
15755         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15756         multiple zero bytes exist at the end of a string.
15757         Reported by Aurelien Jarno <aurelien@aurel32.net>
15759         * string/test-strcmp.c (check): Add explicit test for situations where
15760         there are multiple zero bytes after the first.
15762 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
15764         [BZ #16890]
15765         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15766         when compiling wprintf.
15767         * stdio-common/tstdiomisc.c (t3): New function.
15768         (main): Call it.
15770 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15772         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15773         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15774         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15775         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15777 2014-05-01  Steve Ellcey  <sellcey@mips.com>
15779         * stdlib/longlong.h: Updated from GCC.
15781 2014-05-01  Will Newton  <will.newton@linaro.org>
15782             Bernard Ogden  <bernie.ogden@linaro.org>
15784         * NEWS: Update fixed bug list.
15786         [BZ #15119]
15787         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15789 2014-04-30  David S. Miller  <davem@davemloft.net>
15791         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15792         (libc_feholdexcept_setround_sparc_ctx): New function.
15793         (libc_fesetenv_sparc_ctx): Likewise.
15794         (libc_feupdateenv_sparc_ctx): Likewise.
15795         (libc_feholdsetround_sparc_ctx): Likewise.
15796         (libc_feholdexcept_setround_ctx): Define.
15797         (libc_feholdexcept_setroundf_ctx): Likewise.
15798         (libc_feholdexcept_setroundl_ctx): Likewise.
15799         (libc_fesetenv_ctx): Likewise.
15800         (libc_fesetenvf_ctx): Likewise.
15801         (libc_fesetenvl_ctx): Likewise.
15802         (libc_feupdateenv_ctx): Likewise.
15803         (libc_feupdateenvf_ctx): Likewise.
15804         (libc_feupdateenvl_ctx): Likewise.
15805         (libc_feresetround_ctx): Likewise.
15806         (libc_feresetroundf_ctx): Likewise.
15807         (libc_feresetroundl_ctx): Likewise.
15808         (libc_feholdsetround_ctx): Likewise.
15809         (libc_feholdsetroundf_ctx): Likewise.
15810         (libc_feholdsetroundl_ctx): Likewise.
15812         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15813         with __USE_GNU instead of XOPEN cpp guards.
15815         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15816         0.
15818         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15819         with XOPEN cpp guards.
15821 2014-04-30  Julian Brown  <julian@codesourcery.com>
15823         [BZ #16888]
15824         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15825         handling.
15827 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
15829         [BZ #9894]
15830         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15831         Change to 2.6.32.
15832         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15833         * sysdeps/unix/sysv/linux/configure: Regenerated.
15834         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15835         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15836         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15837         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15838         * README: Update reference to required Linux kernel version.
15839         * manual/install.texi (Linux): Update reference to required Linux
15840         kernel headers version.
15841         * INSTALL: Regenerated.
15843         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15844         header inclusion.
15845         [POSIX] (limits.h): Likewise.
15846         [POSIX] (math.h): Likewise.
15847         [POSIX] (sys/wait.h): Likewise.
15848         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15849         function.
15850         [POSIX] (stddef.h): Do not allow header inclusion.
15852 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15854         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
15856 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
15858         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15859         Return immediately after lll_futex_wake.
15861 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15863         [BZ #16791]
15864         * nscd/nscd-client.h (datahead_init_common): Initialize entire
15865         structure.
15866         (datahead_init_pos): Call datahead_init_common early.
15867         (datahead_init_neg): Likewise.
15869         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15870         datahead_init_neg): New functions.
15871         * nscd/aicache.c (addhstaiX): Use them.
15872         * nscd/grpcache.c (cache_addgr): Likewise.
15873         * nscd/hstcache.c (cache_addhst): Likewise.
15874         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15875         * nscd/netgroupcache.c (do_notfound): Likewise.
15876         (addgetnetgrentX): Likewise.
15877         (addinnetgrX): Likewise.
15878         * nscd/pwdcache.c (cache_addpw): Likewise.
15879         * nscd/servicescache.c (cache_addserv): Likewise.
15881 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15882             Atsushi Onoe  <atsushi@onoe.org>
15884         [BZ #14308]
15885         [BZ #12994]
15886         [BZ #13651]
15887         * resolv/res_query.c (__libc_res_nsearch): Return if at least
15888         one response is valid.
15889         * resolv/res_send.c (send_dg): Check for validity of other
15890         response if the current response is a referral.
15892 2014-04-29  Steve Ellcey  <sellcey@mips.com>
15894         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15896 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
15898         [BZ #16823]
15899         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15900         Always divide by positive zero when computing -Inf result.
15901         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15902         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15904 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15906         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15907         FPSCR if value do not change.
15908         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15909         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15910         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15911         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15912         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15913         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15914         function.
15916 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
15918         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15919         * sysdeps/unix/sysv/linux/hppa: Move directory from
15920         ports/systeps/unix/sysv/linux/hppa.
15921         * README: Update listing for hppa-*-linux-gnu.
15923 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
15925         [BZ #16754]
15926         * manual/stdio.texi (Hook functions): Fix types of stream hook
15927         functions.
15928         [BZ #16854]
15929         * socket/sys/socket.h: Fix typo in comment.
15931 2014-04-28  Wilco  <wdijkstr@arm.com>
15933         * sysdeps/arm/fenv_private.h: New file.
15934         * sysdeps/arm/math_private.h: New file.
15935         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15937 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
15939         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15940         with __int128_t.
15941         (La_x86_64_retval): Likewise.
15943 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
15945         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15946         fpsr if value didn't change.
15947         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15948         to fpcr if value didn't change.
15949         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15950         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15951         fpsr or fpcr if value didn't change.
15952         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15953         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15954         fpcr if value didn't change.
15955         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15956         to fpsr if value didn't change.
15958 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
15960         * nptl/tst-sem3.c: Use test-skeleton.c
15961         (main): Rename to do_test.  Use return instead of
15962         exit.
15963         * nptl/tst-sem4.c: Use test-skeleton.c
15964         (main): Rename to do_test.
15966 2014-04-22  David S. Miller  <davem@davemloft.net>
15968         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15969         (struct sigaction): New struct member __glibc_reserved0, change
15970         type of sa_flags to int.
15972 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
15974         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15975         (COUNT_LEADING_ZEROS_0): Define for AArch64.
15977 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
15979         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15980         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15982 2014-04-22  Will Newton  <will.newton@linaro.org>
15983             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
15985         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15986         (__longjmp): Add longjmp and longjmp_target SystemTap
15987         probes.
15988         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15989         (__sigsetjmp): Add setjmp SystemTap probe.
15991 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
15993         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15994         match manual order.
15996 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15998         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16000         * sysdeps/powerpc/fpu/fenv_private.h
16001         (libc_feholdexcept_setroundl_ctx): Define to
16002         libc_feholdexcept_setround_ppc_ctx.
16003         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16004         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16005         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16006         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16008 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16010         * sysdeps/aarch64/math-tests.h: New file.
16012 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
16014         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16015         New.
16016         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16017         Check and set bit_AVX2_Usable.
16018         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16019         macro.
16020         (bit_AVX2): Likewise.
16021         (index_AVX2_Usable): Likewise.
16022         (CPUID_AVX2): Likewise.
16023         (HAS_AVX2): Likewise.
16025 2014-04-17  Will Newton  <will.newton@linaro.org>
16027         * manual/setjmp.texi (System V contexts): Add note that
16028         calling setcontext on a context created by a call to a
16029         signal handler is undefined.  Update text to note that
16030         setcontext from a signal handler is possible but not
16031         recommended.
16033         [BZ #16629]
16034         * stdlib/tst-setcontext.c: Include signal.h.
16035         (main): Check that the signal stack before and
16036         after swapcontext is the same.
16038         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16039         Re-implement to restore registers in user code and avoid
16040         rt_sigreturn system call.
16042 2014-04-17  Wilco  <wdijkstr@arm.com>
16044         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16045         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16046         * math/test-fenv.c: Skip exception trap tests on targets which only
16047         support non-stop mode.
16049 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
16050             Wilco Dijkstra  <wilco.dijkstra@arm.com>
16052         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16053         (libc_feholdsetround_aarch64_ctx)
16054         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16055         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16056         (libc_feresetround_ctx, libc_feresetroundf_ctx)
16057         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16058         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16059         (libc_feresetround_noexl_ctx): Define.
16061 2014-04-16  Richard Henderson  <rth@redhat.com>
16063         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16065         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16066         unwind tables.
16068         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16069         const from the non-libc, non-ldso copy.
16071         * sysdeps/alpha/libm-test-ulps: Regenerate.
16073 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
16074             Wilco Dijkstra  <wilco.dijkstra@arm.com>
16076         * sysdeps/aarch64/fpu/math_private.h: New file.
16078 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16080         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16082 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
16084         [BZ #16275]
16085         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
16086         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
16087         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
16088         Intel MPX bound registers before _dl_profile_fixup.
16089         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
16090         registers after _dl_profile_fixup.  Save and restore bound
16091         registers bnd0/bnd1 when calling _dl_call_pltexit.
16092         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
16093         (LR_BND_OFFSET): Likewise.
16094         (LRV_BND0_OFFSET): Likewise.
16095         (LRV_BND1_OFFSET): Likewise.
16097 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16099         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
16100         to...
16101         * sysdeps/mach/hurd/i386/tls.h: ... here.
16102         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
16103         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
16104         fields.
16106 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16108         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
16110 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16112         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16114 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
16116         [BZ #14770]
16117         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
16118         * sysdeps/s390/configure: Regenerate.
16120         [BZ #16824]
16121         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
16122         Set round-to-nearest internally to reduce error accumulation.
16124 2014-04-16  Alan Modra  <amodra@gmail.com>
16126         [BZ #16740]
16127         [BZ #16619]
16128         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
16129         * math/libm-test.inc (frexp_test_data): Add tests.
16130         * NEWS: Update fixed bug list.
16132 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16134         * benchtests/Makefile: Depend on libraries in build directory.
16135         (bench-math): Separate out math tests.
16136         (bench-pthread): Separate out pthread tests.
16137         (bench): Include math and pthread tests.
16139 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
16141         [BZ #16831]
16142         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
16143         _dl_debug_initialize.
16145         * configure.ac: Remove SELinux header check.
16146         * configure: Regenerate.
16147         * nscd/selinux.c (perms): Array of const char* to permission names.
16148         (nscd_request_avc_has_perm): Call security_deny_unknown to find
16149         default policy. Call string_to_security_class and string_to_av_perm to
16150         translate strings. Enforce default policy and call avs_has_perm with
16151         results of translated strings.
16153 2014-04-13  David S. Miller  <davem@davemloft.net>
16155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16157 2014-04-12  Allan McRae  <allan@archlinux.org>
16159         [BZ #16838]
16160         * manual/string.texi (Collation Functions): Fix qsort argument
16161         order in example.
16162         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
16164 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
16166         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
16167         Make the test a no-op if there are no exceptions defined.
16169 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16171         * elf/Makefile (tests): make tst-dlopen-aout conditional on
16172         enable-hardcoded-path-in-tests
16174 2014-04-11  Will Newton  <will.newton@linaro.org>
16176         * benchtests/Makefile (extra-objs): Add json-lib.o.
16177         (bench-func): Tidy up JSON output.
16178         * benchtests/bench-skeleton.c: Include json-lib.h.
16179         (main): Use JSON library functions to do output of
16180         benchmark results.
16181         * benchtests/bench-timing-type.c (main): Output the
16182         timing type simply, leaving formatting to the user.
16183         * benchtests/json-lib.c: New file.
16184         * benchtests/json-lib.h: Likewise.
16186 2014-04-11  Torvald Riegel  <triegel@redhat.com>
16188         [BZ #15215]
16189         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
16190         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
16191         memory barriers.  Add comments.
16192         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
16193         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
16194         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
16195         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
16196         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
16197         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
16199 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16201         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
16202         * sysdeps/s390/s390-64/configure.ac: ... this ...
16203         * sysdeps/s390/configure.ac: ... to here.
16204         * sysdeps/s390/s390-32/configure: Delete file.
16205         * sysdeps/s390/s390-64/configure: Delete file.
16206         * sysdeps/s390/configure: Regenerate.
16208 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
16210         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
16212 2014-04-11  Will Newton  <will.newton@linaro.org>
16214         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
16215         to zero if it is not defined elsewhere.  (mtrim): Test
16216         the value of MALLOC_DEBUG with #if rather than #ifdef.
16218 2014-04-10 Torvald Riegel  <triegel@redhat.com>
16220         * benchtests/pthread_once-inputs: New file.
16221         * benchtests/pthread_once-source.c: New file.
16222         * benchtests/README: Update documentation.
16224 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16225             H.J. Lu  <hongjiu.lu@intel.com>
16227         [BZ #16275]
16228         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
16229         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
16230         * sysdeps/x86_64/configure: Regenerated.
16231         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
16232         macro.
16233         (REGISTER_SAVE_RAX): Likewise.
16234         (REGISTER_SAVE_RCX): Likewise.
16235         (REGISTER_SAVE_RDX): Likewise.
16236         (REGISTER_SAVE_RSI): Likewise.
16237         (REGISTER_SAVE_RDI): Likewise.
16238         (REGISTER_SAVE_R8): Likewise.
16239         (REGISTER_SAVE_R9): Likewise.
16240         (REGISTER_SAVE_BND0): Likewise.
16241         (REGISTER_SAVE_BND1): Likewise.
16242         (REGISTER_SAVE_BND2): Likewise.
16243         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
16244         bound registers when calling _dl_fixup.
16246 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16248         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
16249         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
16250         of its definition.
16251         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
16252         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
16253         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
16254         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
16255         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
16256         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
16257         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
16259 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
16261         [BZ #15514]
16262         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
16263         pathconf(_PC_NAME_MAX).
16265 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16267         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
16268         Remove macro usage.
16269         (__PTHREAD_SPINS): Move definition to ...
16270         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16271         (__PTHREAD_SPINS): ... here.
16272         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16273         (__PTHREAD_SPIN): Likewise.
16274         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
16275         (__PTHREAD_SPIN): Likewise.
16276         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
16277         (__PTHREAD_SPIN): Likewise.
16278         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
16279         (__PTHREAD_SPIN): Likewise.
16280         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
16281         (__PTHREAD_SPIN): Likewise.
16282         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
16283         (__PTHREAD_SPIN): Likewise.
16284         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
16285         (__PTHREAD_SPIN): Likewise.
16286         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
16287         (__PTHREAD_SPIN): Likewise.
16288         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
16289         (__PTHREAD_SPIN): Likewise.
16290         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
16291         (__PTHREAD_SPIN): Likewise.
16292         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
16293         (__PTHREAD_SPIN): Likewise.
16294         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
16295         (__PTHREAD_SPIN): Likewise.
16297         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
16298         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
16299         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
16300         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
16301         imply folder.
16302         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
16303         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
16304         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
16305         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
16306         correct imply path.
16307         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
16308         strlen symbol for non multi-arch builds.
16309         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
16310         missing hidden_def and weak_alias.
16312 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
16314         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
16316 2014-04-07  Will Newton  <will.newton@linaro.org>
16318         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
16319         and contents.  [!_LIBC] Remove #ifndef and contents.
16320         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
16321         * string/memccpy.c (__memccpy): Use ANSI prototype.
16322         * string/memfrob.c (memfrob): Likewise.
16323         * string/strcoll.c (STRCOLL): Likewise.
16324         * string/strlen.c (strlen): Likewise.
16325         * string/strtok.c (STRTOK): Likewise.
16326         * string/strcat.c: Remove unused #include of memcopy.h.
16327         (strcat): Use ANSI prototype.
16328         * string/strchr.c: Remove unused #include of memcopy.h.
16329         (strchr): Use ANSI prototype.
16330         * string/strcmp.c: Remove unused #include of memcopy.h.
16331         (strcmp): Use ANSI prototype.
16332         * string/strcpy.c: Remove unused #include of memcopy.h.
16333         (strcpy): Use ANSI prototype.
16335 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16337         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
16338         * config.make.in (config-extra-cppflags): Set it from
16339         libc_extra_cppflags.
16340         * configure.ac (libc_extra_cflags): Make it accumulate over
16341         configure fragments.
16342         (libc_extra_cppflags): New flag.
16343         * configure. Regenerate.
16344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16345         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
16346         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
16347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
16349         [BZ #16815]
16350         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
16351         result for FE_DOWNWARD rounding mode.
16352         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16353         Likewise.
16354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16356 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
16358         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
16359         in function argument name.
16361 2014-04-03  David Svoboda  <svoboda@cert.org>
16363         [BZ #5666]
16364         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
16365         explicitly.
16367 2014-04-03  Roland McGrath  <roland@hack.frob.com>
16369         * elf/dl-unmap-segments.h: New file.
16370         * sysdeps/generic/ldsodefs.h
16371         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
16372         * elf/dl-close.c: Include <dl-unmap-segments.h>.
16373         * elf/dl-fptr.c: Likewise.
16374         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
16375         * sysdeps/aarch64/tlsdesc.c: Likewise.
16376         * sysdeps/arm/tlsdesc.c: Likewise.
16377         * sysdeps/i386/tlsdesc.c: Likewise.
16378         * sysdeps/tile/dl-runtime.c: Likewise.
16379         * sysdeps/x86_64/tlsdesc.c: Likewise.
16380         * elf/dl-load.h: New file.
16381         * elf/dl-load.c: Include it.
16382         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
16383         Macros moved to dl-load.h.
16384         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
16385         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
16386         Use _dl_unmap_segments in place of __munmap.
16387         Break out segment-mapping loop into ...
16388         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
16390 2014-04-03  Will Newton  <will.newton@linaro.org>
16392         * elf/dl-lookup.c (do_lookup_x): Remove comment
16393         referring to nested function and move variable
16394         declarations down to before first use.
16396 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
16398         [BZ #16799]
16399         [BZ #16800]
16400         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
16401         with 0 numerator.
16402         * math/s_catanf.c (__catanf): Likewise.
16403         * math/s_catanh.c (__catanh): Likewise.
16404         * math/s_catanhf.c (__catanhf): Likewise.
16405         * math/s_catanhl.c (__catanhl): Likewise.
16406         * math/s_catanl.c (__catanl): Likewise.
16407         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
16408         by positive zero when computing -Inf result.
16409         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
16410         (catanh_test): Likewise.
16411         * sysdeps/i386/fpu/libm-test-ulps: Update.
16412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16414         [BZ #16789]
16415         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
16416         instead of using underflowing value in computing result.
16417         * math/s_clog10.c (__clog10): Likewise.
16418         * math/s_clog10f.c (__clog10f): Likewise.
16419         * math/s_clog10l.c (__clog10l): Likewise.
16420         * math/s_clogf.c (__clogf): Likewise.
16421         * math/s_clogl.c (__clogl): Likewise.
16422         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
16423         (clog10_test): Likewise.
16424         * sysdeps/i386/fpu/libm-test-ulps: Update.
16425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16427 2014-04-02  Alan Modra  <amodra@gmail.com>
16429         [BZ #16739]
16430         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
16431         output when value is near a power of two.  Use int64_t for lx and
16432         remove casts.  Use decimal rather than hex exponent constants.
16433         Don't use long double multiplication when double will suffice.
16434         * math/libm-test.inc (nextafter_test_data): Add tests.
16435         * NEWS: Add 16739 and 16786 to bug list.
16437         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
16439         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
16441 2014-04-01  Will Newton  <will.newton@linaro.org>
16443         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
16444         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
16446 2014-04-01  Florian Weimer  <fweimer@redhat.com>
16448         [BZ #13347]
16449         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
16450         * nptl/tst-setuid2.c: New file.
16451         * nptl/Makefile (xtests): Add tst-setuid2.
16453 2014-04-01  Alan Modra  <amodra@gmail.com>
16455         [BZ #16786]
16456         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
16458 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
16460         [BZ #6803]
16461         [BZ #6804]
16462         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
16463         set errno as appropriate.
16464         * math/w_scalbf.c (__scalbf): Likewise.
16465         * math/w_scalbl.c (__scalbl): Likewise.
16466         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
16467         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
16468         * math/libm-test.inc (scalb_test_data): Add errno expectations.
16469         Add more NaN tests.
16471         [BZ #16349]
16472         * math/w_atan2.c: Include <errno.h>.
16473         (__atan2): Set errno for result underflowing to zero.
16474         * math/w_atan2f.c: Include <errno.h>.
16475         (__atan2f): Set errno for result underflowing to zero.
16476         * math/w_atan2l.c: Include <errno.h>.
16477         (__atan2l): Set errno for result underflowing to zero.
16478         * math/auto-libm-test-in: Don't allow missing errno for some atan2
16479         tests.
16480         * math/auto-libm-test-out: Regenerated.
16482 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16484         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
16485         Encode instruction correctly in little endian.
16486         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
16487         Likewise.
16488         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
16489         Likewise.
16490         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
16491         Likewise.
16492         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
16493         Likewise.
16495 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
16497         [BZ #9894]
16498         * sysdeps/unix/sysv/linux/kernel-features.h
16499         [__sparc__ && !__arch64__ && !__sparc_v9__]
16500         (__ASSUME_SET_ROBUST_LIST): Do not define.
16501         [__sparc__ && !__arch64__ && !__sparc_v9__]
16502         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16503         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
16504         Likewise.
16505         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16506         (__ASSUME_FUTEX_LOCK_PI): Undefine.
16507         (__ASSUME_REQUEUE_PI): Likewise.
16508         (__ASSUME_SET_ROBUST_LIST): Likewise.
16509         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16510         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
16511         Undefine.
16512         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16513         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
16514         Likewise.
16515         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
16516         Likewise.
16517         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
16518         Likewise.
16519         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16520         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
16521         Undefine.
16522         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
16523         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
16524         Likewise.
16526         [BZ #16648]
16527         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16528         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
16529         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
16531 2014-03-31  Will Newton  <will.newton@linaro.org>
16533         * benchtests/Makefile (bench): Add ffs and ffsll to list
16534         of tests.
16535         * benchtests/ffs-inputs: New file.
16536         * benchtests/ffsll-inputs: Likewise.
16538 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
16540         [BZ #16770]
16541         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
16542         too large before casting to int.
16543         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
16544         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
16545         * math/libm-test.inc (scalb_test_data): Add more tests.
16547 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16549         * benchtests/Makefile (DETAILED_OPT): New make option.
16550         (bench-func): Run benchmark program with -d if DETAILED_OPT is
16551         set.
16552         * benchtests/bench-skeleton.c: Include stdbool.h.
16553         (main): Store and print timings per input.
16554         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
16555         member to each argument value.
16556         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
16557         (_print_arg_data): Initialize per-input timing to 0.
16559         * benchtests/Makefile (timing-type): New binary.
16560         (bench-clean): Also remove bench-timing-type.
16561         (bench): New target for timing-type.
16562         (bench-func): Print output in JSON format.
16563         * benchtests/bench-skeleton.c (main): Print output in JSON
16564         format.
16565         * benchtests/bench-timing-type.c: New file.
16566         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
16567         (TIMING_PRINT_STATS): Remove.
16568         * benchtests/scripts/bench.py (_print_arg_data): Store variant
16569         name separately.
16571         * benchtests/bench-modf.c: Remove.
16572         * benchtests/modf-inputs: New inputs file.
16574 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
16576         [BZ #16362]
16577         * math/s_clog10.c (M_PI_LOG10E): New macro.
16578         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
16579         imaginary parts are 0.
16580         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
16581         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
16582         imaginary parts are 0.
16583         * math/s_clog10l.c (M_PI_LOG10El): New macro.
16584         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
16585         imaginary parts are 0.
16586         * math/libm-test.inc (clog10_test_data): Update expected results
16587         for when real and imaginary parts are 0.
16589 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
16591         * elf/dl-load.c: Finish conversion of __builtin_expect into
16592         __glibc_{un}likely.
16594 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
16596         [BZ #16348]
16597         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16598         1+x for argument with exponent below -67.
16599         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16600         Likewise.
16601         * math/auto-libm-test-in: Add more tests of exp.
16602         * math/auto-libm-test-out: Regenerated.
16604 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16606         [BZ #16759]
16607         * inet/getnetgrent_r.c (get_nonempty_val): New function.
16608         (nscd_getnetgrent): Use it.
16610         [BZ #16760]
16611         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16612         of stpcpy.
16614 2014-03-27  Andi Kleen  <ak@linux.intel.com>
16616         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16617         (lll_robust_lock, lll_cond_lock, lll_timedlock)
16618         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16619         (lll_robust_unlock): Remove out of line section. Use cfi
16620         intrinsics.
16621         (LLL_STUB_UNWIND_INFO*): Remove.
16622         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16623         (lll_robust_lock, lll_cond_lock, lll_timedlock)
16624         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16625         (lll_robust_unlock): Remove out of line section. Use cfi
16626         intrinsics.
16627         (LLL_STUB_UNWIND_INFO*): Remove.
16629 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16631         [BZ #16758]
16632         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16633         blank values.
16635 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
16637         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16639 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
16641         [BZ #16198]
16642         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16643         fnstenv.
16644         * math/test-fenv-preserve.c: New file.
16645         * math/Makefile (tests): Add test-fenv-preserve.
16647 2014-03-26  Will Newton <will.newton@linaro.org>
16649         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16651 2014-03-25  Roland McGrath  <roland@hack.frob.com>
16653         * scripts/versionlist.awk: Partition the version sets and emit all
16654         GLIBC_* (sorted) before all others (sorted).
16656 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
16658         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16659         GLIBC_2.2.5 version.
16661 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16663         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16664         calls.
16666         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16667         previous change.
16669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16671 2014-03-25  Andreas Schwab  <schwab@suse.de>
16673         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16674         label to be used after in6ailist is initialized.
16676 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16678         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16679         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16681 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
16683         [BZ #16357]
16684         [BZ #16599]
16685         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16686         min_plus_half.
16687         (fp_formats): Update initializers.
16688         (init_fp_formats): Initialize new field.
16689         (output_for_one_input_case): Allow underflow for results up to
16690         min_plus_half.
16691         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16692         * math/auto-libm-test-in: Don't mark some underflows from asin and
16693         atanh as spurious.
16694         * math/auto-libm-test-out: Regenerated.
16695         * sysdeps/i386/fpu/libm-test-ulps: Update.
16696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16698 2014-03-25  Andreas Schwab  <schwab@suse.de>
16700         * libio/Makefile (tst-ftell-partial-wide-ENV)
16701         (tst-ftell-active-handler-ENV): Define.
16703 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
16705         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16707 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16709         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16711 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
16713         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16714         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16715         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16717 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16719         [BZ #16634]
16720         * elf/dl-load.c (open_verify): Add mode parameter.
16721         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16722         (open_path): Change from boolean 'secure' to complete flag 'mode'
16723         (_dl_map_object): Adjust.
16724         * elf/Makefile (tests): Add tst-dlopen-aout.
16725         * elf/tst-dlopen-aout.c: New test.
16727 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
16729         [BZ #16714]
16730         * sysdeps/unix/sysv/linux/s390/bits/stat.h
16731         (struct stat): Rename member pad0 to __glibc_reserved0.
16733         [BZ #16712]
16734         * sysdeps/s390/s390-32/bits/wordsize.h
16735         (__WORDSIZE32_SIZE_ULONG): New define.
16736         * sysdeps/s390/s390-64/bits/wordsize.h
16737         (__WORDSIZE32_SIZE_ULONG): Likewise.
16738         * sysdeps/generic/stdint.h (SIZE_MAX):
16739         Define as UL if __WORDSIZE32_SIZE_ULONG.
16741         [BZ #16713]
16742         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16743         (__glibc_reserved0): New variable.
16744         (sa_flags): Change type to int.
16746         * posix/Makefile (before-compile): Use += before-compile instead
16747         of a :=.
16749         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16750         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16752 2014-03-20  Andreas Schwab  <schwab@suse.de>
16754         [BZ #16743]
16755         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16756         non-matching result from nscd.
16758 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16760         * scripts/bench.py: Moved to ...
16761         * benchtests/scripts/bench.py: ... here.
16762         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16764 2014-03-24  Andreas Schwab  <schwab@suse.de>
16766         [BZ #16002]
16767         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16768         alloca_account and account alloca use for struct in6ailist.
16770 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
16772         [BZ #16284]
16773         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16774         rounding mode to recompute results that overflow to infinity or
16775         underflow to zero.
16776         * math/auto-libm-test-in: Don't mark tests as expected to fail for
16777         bug 16284.
16778         * math/auto-libm-test-out: Regenerated.
16779         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16780         (ccosh_test): Likewise.
16781         (csin_test_data): Use plus_oflow.
16782         (csin_test): Use ALL_RM_TEST.
16783         (csinh_test_data): Use plus_oflow.
16784         (csinh_test): Use ALL_RM_TEST.
16785         * sysdeps/i386/fpu/libm-test-ulps: Update.
16786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16788 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
16790         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16791         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16792         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16794         [BZ #16731]
16795         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16796         when x - 1 is zero.
16797         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16798         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16799         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16800         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16801         argument is 1.
16802         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16803         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16804         zero.
16805         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16806         * sysdeps/i386/fpu/libm-test-ulps: Update.
16807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16809 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16811         * scripts/bench.pl: Remove file.
16812         * scripts/bench.py: New benchmark script.
16813         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16814         * benchtests/README: Mention python dependency.
16815         * scripts/pylintrc: New file.
16816         * scripts/pylint: New file.
16818         * bits/mathdef.h: Use #ifdef instead of #if.
16819         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16820         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16821         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16822         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16823         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16824         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16826 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16827             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16829         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16831         and strpbrk-ppc64 objects.
16832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16833         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16834         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16835         multiarch strpbrk for POWER7.
16836         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16837         multiarch strpbrk for PPC64.
16838         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16839         ifunc selector.
16840         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16841         strpbrk for POWER7.
16843 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
16845         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16846         (atan_test): Likewise.
16847         (atanh_test_data): Use NO_TEST_INLINE for two tests.
16848         (atanh_test): Use ALL_RM_TEST.
16849         (atan2_test_data): Likewise.
16850         (cabs_test): Likewise.
16851         (cacosh_test): Likewise.
16852         (carg_test): Likewise.
16853         (casin_test): Likewise.
16854         (casinh_test): Likewise.
16855         (cbrt_test): Likewise.
16856         (csqrt_test): Likewise.
16857         (erf_test): Likewise.
16858         (erfc_test): Likewise.
16859         (pow10_test): Likewise.
16860         (exp2_test): Likewise.
16861         (hypot_test): Likewise.
16862         (j0_test): Likewise.
16863         (j1_test): Likewise.
16864         (lgamma_test): Likewise.
16865         (gamma_test): Likewise.
16866         (sincos_test): Likewise.
16867         (tanh_test): Likewise.
16868         (y0_test): Likewise.
16869         (y1_test): Likewise.
16870         * sysdeps/i386/fpu/libm-test-ulps: Update.
16871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16873 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16875         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16876         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
16877         and strcspn-ppc64 objects.
16878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16879         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16880         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16881         multiarch strcspn for POWER7.
16882         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16883         multiarch strcspn for PPC64.
16884         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16885         ifunc selector.
16886         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16887         strcspn for POWER7.
16889 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
16891         * math/gen-libm-test.pl (generate_testfile): Expect only function
16892         name as argument to AUTO_TESTS_* and pass results for all rounding
16893         modes to parse_args.
16894         (parse_auto_input): Separate inputs of automatic tests from
16895         outputs before storing in %auto_tests.
16896         * math/libm-test.inc (acos_test_data): Update call to
16897         AUTO_TESTS_f_f.
16898         (acos_test): Use ALL_RM_TEST.
16899         (acos_tonearest_test_data): Remove.
16900         (acos_test_tonearest): Likewise.
16901         (acos_towardzero_test_data): Likewise.
16902         (acos_test_towardzero): Likewise.
16903         (acos_downward_test_data): Likewise.
16904         (acos_test_downward): Likewise.
16905         (acos_upward_test_data): Likewise.
16906         (acos_test_upward): Likewise.
16907         (acosh_test_data): Update call to AUTO_TESTS_f_f.
16908         (asin_test_data): Likewise.
16909         (asin_test): Use ALL_RM_TEST.
16910         (asin_tonearest_test_data): Remove.
16911         (asin_test_tonearest): Likewise.
16912         (asin_towardzero_test_data): Likewise.
16913         (asin_test_towardzero): Likewise.
16914         (asin_downward_test_data): Likewise.
16915         (asin_test_downward): Likewise.
16916         (asin_upward_test_data): Likewise.
16917         (asin_test_upward): Likewise.
16918         (asinh_test_data): Update call to AUTO_TESTS_f_f.
16919         (atan_test_data): Likewise.
16920         (atanh_test_data): Likewise.
16921         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16922         (cabs_test_data): Update call to AUTO_TESTS_c_f.
16923         (carg_test_data): Likewise.
16924         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16925         (ccos_test_data): Update call to AUTO_TESTS_c_c.
16926         (ccosh_test_data): Likewise.
16927         (cexp_test_data): Likewise.
16928         (clog_test_data): Likewise.
16929         (clog10_test_data): Likewise.
16930         (cos_test_data): Update call to AUTO_TESTS_f_f.
16931         (cos_test): Use ALL_RM_TEST.
16932         (cos_tonearest_test_data): Remove.
16933         (cos_test_tonearest): Likewise.
16934         (cos_towardzero_test_data): Likewise.
16935         (cos_test_towardzero): Likewise.
16936         (cos_downward_test_data): Likewise.
16937         (cos_test_downward): Likewise.
16938         (cos_upward_test_data): Likewise.
16939         (cos_test_upward): Likewise.
16940         (cosh_test_data): Update call to AUTO_TESTS_f_f.
16941         (cosh_test): Use ALL_RM_TEST.
16942         (cosh_tonearest_test_data): Remove.
16943         (cosh_test_tonearest): Likewise.
16944         (cosh_towardzero_test_data): Likewise.
16945         (cosh_test_towardzero): Likewise.
16946         (cosh_downward_test_data): Likewise.
16947         (cosh_test_downward): Likewise.
16948         (cosh_upward_test_data): Likewise.
16949         (cosh_test_upward): Likewise.
16950         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16951         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16952         (ctan_test_data): Likewise.
16953         (ctan_test): Use ALL_RM_TEST.
16954         (ctan_tonearest_test_data): Remove.
16955         (ctan_test_tonearest): Likewise.
16956         (ctan_towardzero_test_data): Likewise.
16957         (ctan_test_towardzero): Likewise.
16958         (ctan_downward_test_data): Likewise.
16959         (ctan_test_downward): Likewise.
16960         (ctan_upward_test_data): Likewise.
16961         (ctan_test_upward): Likewise.
16962         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16963         (ctanh_test): Use ALL_RM_TEST.
16964         (ctanh_tonearest_test_data): Remove.
16965         (ctanh_test_tonearest): Likewise.
16966         (ctanh_towardzero_test_data): Likewise.
16967         (ctanh_test_towardzero): Likewise.
16968         (ctanh_downward_test_data): Likewise.
16969         (ctanh_test_downward): Likewise.
16970         (ctanh_upward_test_data): Likewise.
16971         (ctanh_test_upward): Likewise.
16972         (erf_test_data): Update call to AUTO_TESTS_f_f.
16973         (erfc_test_data): Likewise.
16974         (exp_test_data): Likewise.
16975         (exp_test): Use ALL_RM_TEST.
16976         (exp_tonearest_test_data): Remove.
16977         (exp_test_tonearest): Likewise.
16978         (exp_towardzero_test_data): Likewise.
16979         (exp_test_towardzero): Likewise.
16980         (exp_downward_test_data): Likewise.
16981         (exp_test_downward): Likewise.
16982         (exp_upward_test_data): Likewise.
16983         (exp_test_upward): Likewise.
16984         (exp10_test_data): Update call to AUTO_TESTS_f_f.
16985         (exp10_test): Use ALL_RM_TEST.
16986         (exp10_tonearest_test_data): Remove.
16987         (exp10_test_tonearest): Likewise.
16988         (exp10_towardzero_test_data): Likewise.
16989         (exp10_test_towardzero): Likewise.
16990         (exp10_downward_test_data): Likewise.
16991         (exp10_test_downward): Likewise.
16992         (exp10_upward_test_data): Likewise.
16993         (exp10_test_upward): Likewise.
16994         (exp2_test_data): Update call to AUTO_TESTS_f_f.
16995         (expm1_test_data): Likewise.
16996         (expm1_test): Use ALL_RM_TEST.
16997         (expm1_tonearest_test_data): Remove.
16998         (expm1_test_tonearest): Likewise.
16999         (expm1_towardzero_test_data): Likewise.
17000         (expm1_test_towardzero): Likewise.
17001         (expm1_downward_test_data): Likewise.
17002         (expm1_test_downward): Likewise.
17003         (expm1_upward_test_data): Likewise.
17004         (expm1_test_upward): Likewise.
17005         (fma_test_data): Update call to AUTO_TESTS_fff_f.
17006         (fma_test): Use ALL_RM_TEST.
17007         (fma_towardzero_test_data): Remove.
17008         (fma_test_towardzero): Likewise.
17009         (fma_downward_test_data): Likewise.
17010         (fma_test_downward): Likewise.
17011         (fma_upward_test_data): Likewise.
17012         (fma_test_upward): Likewise.
17013         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17014         (j0_test_data): Update call to AUTO_TESTS_f_f.
17015         (j1_test_data): Likewise.
17016         (jn_test_data): Update call to AUTO_TESTS_if_f.
17017         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17018         (log_test_data): Update call to AUTO_TESTS_f_f.
17019         (log10_test_data): Likewise.
17020         (log1p_test_data): Likewise.
17021         (log2_test_data): Likewise.
17022         (pow_test_data): Update call to AUTO_TESTS_ff_f.
17023         (pow_tonearest_test_data): Likewise.
17024         (sin_test_data): Update call to AUTO_TESTS_f_f.
17025         (sin_test): Use ALL_RM_TEST.
17026         (sin_tonearest_test_data): Remove.
17027         (sin_test_tonearest): Likewise.
17028         (sin_towardzero_test_data): Likewise.
17029         (sin_test_towardzero): Likewise.
17030         (sin_downward_test_data): Likewise.
17031         (sin_test_downward): Likewise.
17032         (sin_upward_test_data): Likewise.
17033         (sin_test_upward): Likewise.
17034         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17035         (sinh_test_data): Update call to AUTO_TESTS_f_f.
17036         (sinh_test): Use ALL_RM_TEST.
17037         (sinh_tonearest_test_data): Remove.
17038         (sinh_test_tonearest): Likewise.
17039         (sinh_towardzero_test_data): Likewise.
17040         (sinh_test_towardzero): Likewise.
17041         (sinh_downward_test_data): Likewise.
17042         (sinh_test_downward): Likewise.
17043         (sinh_upward_test_data): Likewise.
17044         (sinh_test_upward): Likewise.
17045         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17046         (sqrt_test): Use ALL_RM_TEST.
17047         (sqrt_tonearest_test_data): Remove.
17048         (sqrt_test_tonearest): Likewise.
17049         (sqrt_towardzero_test_data): Likewise.
17050         (sqrt_test_towardzero): Likewise.
17051         (sqrt_downward_test_data): Likewise.
17052         (sqrt_test_downward): Likewise.
17053         (sqrt_upward_test_data): Likewise.
17054         (sqrt_test_upward): Likewise.
17055         (tan_test_data): Update call to AUTO_TESTS_f_f.
17056         (tan_test): Use ALL_RM_TEST.
17057         (tan_tonearest_test_data): Remove.
17058         (tan_test_tonearest): Likewise.
17059         (tan_towardzero_test_data): Likewise.
17060         (tan_test_towardzero): Likewise.
17061         (tan_downward_test_data): Likewise.
17062         (tan_test_downward): Likewise.
17063         (tan_upward_test_data): Likewise.
17064         (tan_test_upward): Likewise.
17065         (tanh_test_data): Update call to AUTO_TESTS_f_f.
17066         (tgamma_test_data): Likewise.
17067         (y0_test_data): Likewise.
17068         (y1_test_data): Likewise.
17069         (yn_test_data): Update call to AUTO_TESTS_if_f.
17070         (main): Do not call removed functions.
17072 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
17074         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17075         (ldexp_test_data): Remove.
17076         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
17077         scalbn_test_data.
17078         (scalb_test): Use ALL_RM_TEST.
17080 2014-03-19  Andreas Schwab  <schwab@suse.de>
17082         * nscd/nscd.service: Also invalidate netgroup cache on reload.
17084 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
17086         [BZ #16649]
17087         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17088         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
17089         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
17090         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17091         (__ASSUME_PREADV): Undefine.
17092         (__ASSUME_PWRITEV): Likewise.
17094 2014-03-18  Roland McGrath  <roland@hack.frob.com>
17096         * bits/mman-linux.h: Add comment about non-Linux use.
17097         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
17098         bits/mman-linux.h resting place.
17100         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
17101         * bits/mman-linux.h: ... here.
17103 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17105         * conform/conformtest.pl: Add standard definition when calling C
17106         preprocessor on data files.
17107         (checknamespace): Remove unused variable.
17109 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
17111         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
17112         minus_oflow, plus_uflow and minus_uflow in expected results.
17113         * math/libm-test.inc (scalbn_test_data): Add more tests of
17114         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
17115         minus_uflow.
17116         (scalbn_test): Use ALL_RM_TEST.
17117         (scalbln_test_data): Add more tests of negative arguments.  Use
17118         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
17119         (scalbln_test): Use ALL_RM_TEST.
17121 2014-03-18  Roland McGrath  <roland@hack.frob.com>
17123         * scripts/abilist.awk: Ignore symbols marked with .hidden.
17125 2014-03-18  Will Newton  <will.newton@linaro.org>
17127         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
17128         inaccurate comment.
17130 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
17132         * Makerules [!subdir] (check-abi): Exit with error status if a
17133         test failed.
17135 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
17137         * math/libm-test.inc (nearbyint_test_data): Include all tests used
17138         for rint.  Include results for all rounding modes.
17139         (nearbyint_test): Use ALL_RM_TEST.
17140         (rint_test_data): Include all tests used for nearbyint.
17142 2014-03-17  Will Newton  <will.newton@linaro.org>
17144         * nptl/sysdeps/pthread/pthread.h: Revert previous
17145         change.
17147         * sysdeps/generic/ldsodefs.h: Revert previous
17148         change.
17150         * libio/genops.c: Revert previous change.
17151         * libio/libioP.h: Likewise.
17152         * stdio-common/vfprintf.c: Likewise.
17154         * sysdeps/generic/math_private.h: Revert previous
17155         change.
17157         * sysdeps/generic/math_private.h: Check whether
17158         HAVE_RM_CTX is defined with #ifdef rather
17159         than #if.
17161         * argp/argp-fmtstream.h: Check whether
17162         __STRICT_ANSI__ is defined with #ifdef rather
17163         than #if.
17164         * argp/argp.h: Likewise.
17166         * libio/genops.c: Check whether
17167         _IO_JUMPS_OFFSET is defined with #ifdef rather
17168         than #if.
17169         * libio/libioP.h: Likewise.
17170         * stdio-common/vfprintf.c: Likewise.
17172         * sysdeps/generic/ldsodefs.h: Check whether
17173         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
17174         than #if.
17176         * nptl/sysdeps/pthread/pthread.h: Check
17177         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
17178         its value.
17180 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17182         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
17183         setting O_APPEND.
17184         * libio/tst-ftell-active-handler.c (do_append_test): Add a
17185         test case.
17187         [BZ #16680]
17188         * libio/fileops.c (_IO_file_open): Seek to end of file but
17189         don't cache the offset.
17190         (get_file_offset): Remove function.
17191         (do_ftell): Use cached offset when available.
17192         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
17193         don't cache the offset.
17194         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
17195         case.
17196         (do_one_test): Call it.
17197         (do_ftell_test): Fix up expected old offset for a+ mode.
17198         * libio/wfileops.c (do_ftell_wide): Used cached offset when
17199         available.
17201         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
17202         up test status with function return status.
17203         (do_write_test): Likewise.
17204         (do_append_test): Likewise.
17206         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
17207         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
17208         Remove.
17210 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
17212         * math/gen-libm-test.pl (parse_args): Handle results specified for
17213         each rounding mode separately.
17214         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
17215         tests and results from lrint_tonearest_test_data,
17216         lrint_towardzero_test_data, lrint_downward_test_data and
17217         lrint_upward_test_data.
17218         (lrint_test): Use ALL_RM_TEST.
17219         (lrint_tonearest_test_data): Remove.
17220         (lrint_test_tonearest): Likewise.
17221         (lrint_towardzero_test_data): Likewise.
17222         (lrint_test_towardzero): Likewise.
17223         (lrint_downward_test_data): Likewise.
17224         (lrint_test_downward): Likewise.
17225         (lrint_upward_test_data): Likewise.
17226         (lrint_test_upward): Likewise.
17227         (llrint_test_data): Merge in per-rounding-mode tests and results
17228         from llrint_tonearest_test_data, llrint_towardzero_test_data,
17229         llrint_downward_test_data and llrint_upward_test_data.
17230         (llrint_test): Use ALL_RM_TEST.
17231         (llrint_tonearest_test_data): Remove.
17232         (llrint_test_tonearest): Likewise.
17233         (llrint_towardzero_test_data): Likewise.
17234         (llrint_test_towardzero): Likewise.
17235         (llrint_downward_test_data): Likewise.
17236         (llrint_test_downward): Likewise.
17237         (llrint_upward_test_data): Likewise.
17238         (llrint_test_upward): Likewise.
17239         (rint_test_data): Merge in per-rounding-mode tests and results
17240         from rint_tonearest_test_data, rint_towardzero_test_data,
17241         rint_downward_test_data and rint_upward_test_data.  Add
17242         per-rounding-mode results for tests not in those arrays.
17243         (rint_test): Use ALL_RM_TEST.
17244         (rint_tonearest_test_data): Remove.
17245         (rint_test_tonearest): Likewise.
17246         (rint_towardzero_test_data): Likewise.
17247         (rint_test_towardzero): Likewise.
17248         (rint_downward_test_data): Likewise.
17249         (rint_test_downward): Likewise.
17250         (rint_upward_test_data): Likewise.
17251         (rint_test_upward): Likewise.
17252         (main): Don't call removed functions.
17254 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17256         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
17257         "Compiled on ..." crapola.  It is anti-useful.
17259 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
17261         * scripts/evaluate-test.sh: Handle fourth argument to determine
17262         whether test run should stop on failure.
17263         * Makeconfig (stop-on-test-failure): New variable.
17264         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
17265         $(stop-on-test-failure).
17266         * Makefile (tests): Give a summary of results from testing and
17267         exit with failure status if they include an ERROR or FAIL.
17268         (xtests): Likewise.
17269         * manual/install.texi (Configuring and compiling): Mention
17270         stop-on-test-failure=y.
17271         * INSTALL: Regenerated.
17273 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17275         * scripts/versionlist.awk: New file.
17276         * Makerules [$(build-shared) = yes]
17277         (postclean-generated): Add Versions.def, not Versions.def.v and
17278         Versions.def.v.i.
17279         ($(common-objpfx)Versions.def.v.i): Target removed.
17280         ($(common-objpfx)Versions.def): New target.
17281         ($(common-objpfx)Versions.all): Depend on that rather that
17282         $(common-objpfx)Versions.def.v.
17283         * Versions.def: File removed.
17285         * Makeconfig (+gccwarn): Add -Wundef.
17286         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
17287         a dl-sysdep.h breaking its contract.
17288         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17289         * include/stackinfo.h: New file.
17290         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
17291         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
17292         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
17293         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
17294         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
17295         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
17296         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17297         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17298         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17299         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17300         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17301         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
17302         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17303         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17304         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
17306 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17308         [BZ #16707]
17309         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
17310         implementation.
17311         * math/libm-test.inc (round_test_data): Add more tests.
17313         [BZ #16706]
17314         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
17315         implementation.
17316         * math/libm-test.inc (nearbyint_test_data): Add more tests.
17318         [BZ #16701]
17319         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
17320         implementation.
17321         * math/libm-test.inc (ceil_test_data): Add more tests.
17323         * math/libm-test.inc (trunc_test_data): Add more tests related to
17324         BZ#16414.
17326 2014-03-14  Roland McGrath  <roland@hack.frob.com>
17328         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
17329         with #if rather than #ifdef.
17330         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
17332 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
17334         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
17335         first.  Disable AVX-512 GCC support if assembler doesn't support
17336         it.
17337         * sysdeps/x86_64/configure: Regenerated.
17339 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
17341         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
17342         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
17343         (__old_pthread_attr_setstack): Likewise.
17344         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
17345         [!_STACK_GROWS_DOWN]: Likewise.
17347 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
17349         * config.make.in (have-bash2): Delete.
17350         * configure.ac (libc_cv_have_bash2): Delete.
17351         * configure: Regenerate.
17352         * elf/Makefile (common-ldd-rewrite): Rename to ...
17353         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
17354         (sh-ldd-rewrite): Delete.
17355         (bash-ldd-rewrite): Delete.
17356         (have-bash2): Delete checks.
17357         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
17358         ldd-rewrite.
17360         * config.make.in (have-ksh): Delete.
17361         (KSH): Delete.
17362         * configure.ac (libc_cv_have_ksh): Delete.
17363         * configure: Regenerate.
17365         * elf/Makefile: Delete $(have-ksh) check.
17366         ($(objpfx)sotruss): Change KSH to BASH.
17367         * elf/sotruss.ksh: Rename to ...
17368         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
17369         function style to match POSIX.  Drop ksh vim mode setting.
17371         * manual/time.texi (Specifying the Time Zone with TZ): Change
17372         Tuesday to Thursday.
17374         * debug/tst-longjmp_chk2.c: Update header comment.
17375         (stackoverflow_handler): Add comment.  Call assert on pass value.
17377 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
17379         [BZ #16194]
17380         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
17381         (HAVE_AVX512_ASM_SUPPORT): Likewise.
17382         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
17383         (La_x86_64_vector): Add zmm.
17384         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
17385         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
17386         ($(objpfx)tst-audit10): New target.
17387         ($(objpfx)tst-audit10.out): Likewise.
17388         (tst-audit10-ENV): New.
17389         (AVX512-CFLAGS): Likewise.
17390         (CFLAGS-tst-audit10.c): Likewise.
17391         (CFLAGS-tst-auditmod10a.c): Likewise.
17392         (CFLAGS-tst-auditmod10b.c): Likewise.
17393         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
17394         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
17395         * sysdeps/x86_64/configure: Regenerated.
17396         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
17397         AVX-512 zmm register support.
17398         (_dl_x86_64_save_sse): Likewise.
17399         (_dl_x86_64_restore_sse): Likewise.
17400         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
17401         size vector registers.
17402         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
17403         (ZMM_SIZE): Likewise.
17404         * sysdeps/x86_64/tst-audit10.c: New file.
17405         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
17406         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
17408 2014-03-13  Roland McGrath  <roland@hack.frob.com>
17410         * configure.ac (HAVE_EHDR_START): New check.
17411         * configure: Regenerated.
17412         * config.h.in (HAVE_EHDR_START): New #undef.
17413         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
17414         assuming the lowest-addressed segment maps the start of the file.
17416 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
17418         * INSTALL: Regenerated.
17420 2014-03-13  Will Newton  <will.newton@linaro.org>
17422         * manual/setjmp.texi (System V contexts): Improve
17423         clarity and grammar of documentation.
17425 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
17427         [BZ #16381]
17428         * elf/Makefile (tests): Add tst-pie2.
17429         (tests-pie): Add tst-pie2.
17430         * elf/tst-pie2.c: New file.
17431         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
17432         for ET_EXEC.
17433         * elf/rtld.c (map_doit): Load executable as lt_executable.
17434         (dl_main): Likewise.
17436 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
17438         [BZ #16642]
17439         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17440         (__ASSUME_PSELECT): Undefine.
17442 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17444         [BZ #16689]
17445         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
17446         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
17447         static build.
17448         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
17449         selector for static builds.
17451 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17453         [BZ #16695]
17454         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
17455         key in the buffer.
17457 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17459         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
17460         IFUNC selector for static builds.
17462 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
17464         * sysdeps/mips/math_private.h [__mips_hard_float]
17465         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
17466         libc_feresetround_mips_ctx.
17467         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
17468         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
17469         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
17471         [BZ #16677]
17472         * math/s_nextafter.c (__nextafter): Do not return value from
17473         overflowing computation.
17474         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
17475         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
17476         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
17477         Likewise.
17478         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17479         Likewise.
17480         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
17481         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
17483 2014-03-11  Roland McGrath  <roland@hack.frob.com>
17485         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
17486         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
17487         Move sfi_sp use from the load-multiple (that no longer sets sp) to
17488         the new mov targetting sp.
17490 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17492         [BZ #16683]
17493         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
17494         Define it for static builds as well.
17495         (NO_BZERO_IMPL): Likewise.
17497 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17499         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
17500         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
17501         multiarch strspn for PPC64.
17502         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
17503         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
17504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17505         (__libc_ifunc_impl_list): Likewise.
17506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
17507         multiarch optimizations
17508         * string/strspn.c (strspn): Using macro to redefine symbol name.
17510 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17511             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17513         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
17514         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
17515         multiarch strncat for PPC64.
17516         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
17517         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
17518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17519         (__libc_ifunc_impl_list): Likewise.
17520         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
17521         multiarch optimizations
17523 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17525         [BZ #16639]
17526         * nscd/nscd.service: Make service type forking.
17528 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17530         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
17531         sign in non default rounding modes.
17532         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
17534 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
17536         * math/libm-test.inc (ALL_RM_TEST): New macro.
17537         (ceil_test): Use ALL_RM_TEST.
17538         (cimag_test): Likewise.
17539         (conj_test): Likewise.
17540         (copysign_test): Likewise.
17541         (cproj_test): Likewise.
17542         (creal_test): Likewise.
17543         (fabs_test): Likewise.
17544         (floor_test): Likewise.
17545         (fmax_test): Likewise.
17546         (fmin_test): Likewise.
17547         (fmod_test): Likewise.
17548         (fpclassify_test): Likewise.
17549         (frexp_test): Likewise.
17550         (ilogb_test): Likewise.
17551         (isfinite_test): Likewise.
17552         (finite_test): Likewise.
17553         (isgreater_test): Likewise.
17554         (isgreaterequal_test): Likewise.
17555         (isinf_test): Likewise.
17556         (isless_test): Likewise.
17557         (islessequal_test): Likewise.
17558         (islessgreater_test): Likewise.
17559         (isnan_test): Likewise.
17560         (isnormal_test): Likewise.
17561         (issignaling_test): Likewise.
17562         (isunordered_test): Likewise.
17563         (logb_test): Likewise.
17564         (logb_downward_test_data): Remove.
17565         (logb_test_downward): Likewise.
17566         (lround_test): Use ALL_RM_TEST.
17567         (llround_test): Likewise.
17568         (modf_test): Likewise.
17569         (nexttoward_test): Likewise.
17570         (remainder_test): Likewise.
17571         (drem_test): Likewise.
17572         (remainder_tonearest_test_data): Likewise.
17573         (remainder_test_tonearest): Likewise.
17574         (drem_test_tonearest): Likewise.
17575         (remainder_towardzero_test_data): Likewise.
17576         (remainder_test_towardzero): Likewise.
17577         (drem_test_towardzero): Likewise.
17578         (remainder_downward_test_data): Likewise.
17579         (remainder_test_downward): Likewise.
17580         (drem_test_downward): Likewise.
17581         (remainder_upward_test_data): Likewise.
17582         (remainder_test_upward): Likewise.
17583         (drem_test_upward): Likewise.
17584         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
17585         (round_test): Use ALL_RM_TEST.
17586         (signbit_test): Likewise.
17587         (trunc_test): Likewise.
17588         (significand_test): Likewise.
17589         (main): Don't call removed functions.
17591 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
17593         [BZ #16674]
17594         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
17595         || __USE_XOPEN2K8].
17596         (ILL_ILLOPN): Likewise.
17597         (ILL_ILLADR): Likewise.
17598         (ILL_ILLTRP): Likewise.
17599         (ILL_PRVOPC): Likewise.
17600         (ILL_PRVREG): Likewise.
17601         (ILL_COPROC): Likewise.
17602         (ILL_BADSTK): Likewise.
17603         (FPE_INTDIV): Likewise.
17604         (FPE_INTOVF): Likewise.
17605         (FPE_FLTDIV): Likewise.
17606         (FPE_FLTOVF): Likewise.
17607         (FPE_FLTUND): Likewise.
17608         (FPE_FLTRES): Likewise.
17609         (FPE_FLTINV): Likewise.
17610         (FPE_FLTSUB): Likewise.
17611         (SEGV_MAPERR): Likewise.
17612         (SEGV_ACCERR): Likewise.
17613         (BUS_ADRALN): Likewise.
17614         (BUS_ADRERR): Likewise.
17615         (BUS_OBJERR): Likewise.
17616         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17617         (TRAP_TRACE): Likewise.
17618         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17619         __USE_XOPEN2K8].
17620         (CLD_KILLED): Likewise.
17621         (CLD_DUMPED): Likewise.
17622         (CLD_TRAPPED): Likewise.
17623         (CLD_STOPPED): Likewise.
17624         (CLD_CONTINUED): Likewise.
17625         (POLL_IN): Likewise.
17626         (POLL_OUT): Likewise.
17627         (POLL_MSG): Likewise.
17628         (POLL_ERR): Likewise.
17629         (POLL_PRI): Likewise.
17630         (POLL_HUP): Likewise.
17631         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17632         Likewise.
17633         (ILL_ILLOPN): Likewise.
17634         (ILL_ILLADR): Likewise.
17635         (ILL_ILLTRP): Likewise.
17636         (ILL_PRVOPC): Likewise.
17637         (ILL_PRVREG): Likewise.
17638         (ILL_COPROC): Likewise.
17639         (ILL_BADSTK): Likewise.
17640         (FPE_INTDIV): Likewise.
17641         (FPE_INTOVF): Likewise.
17642         (FPE_FLTDIV): Likewise.
17643         (FPE_FLTOVF): Likewise.
17644         (FPE_FLTUND): Likewise.
17645         (FPE_FLTRES): Likewise.
17646         (FPE_FLTINV): Likewise.
17647         (FPE_FLTSUB): Likewise.
17648         (SEGV_MAPERR): Likewise.
17649         (SEGV_ACCERR): Likewise.
17650         (BUS_ADRALN): Likewise.
17651         (BUS_ADRERR): Likewise.
17652         (BUS_OBJERR): Likewise.
17653         (BUS_MCEERR_AR): Likewise.
17654         (BUS_MCEERR_AO): Likewise.
17655         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17656         (TRAP_TRACE): Likewise.
17657         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17658         __USE_XOPEN2K8].
17659         (CLD_KILLED): Likewise.
17660         (CLD_DUMPED): Likewise.
17661         (CLD_TRAPPED): Likewise.
17662         (CLD_STOPPED): Likewise.
17663         (CLD_CONTINUED): Likewise.
17664         (POLL_IN): Likewise.
17665         (POLL_OUT): Likewise.
17666         (POLL_MSG): Likewise.
17667         (POLL_ERR): Likewise.
17668         (POLL_PRI): Likewise.
17669         (POLL_HUP): Likewise.
17670         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17671         (ILL_ILLOPN): Likewise.
17672         (ILL_ILLADR): Likewise.
17673         (ILL_ILLTRP): Likewise.
17674         (ILL_PRVOPC): Likewise.
17675         (ILL_PRVREG): Likewise.
17676         (ILL_COPROC): Likewise.
17677         (ILL_BADSTK): Likewise.
17678         (FPE_INTDIV): Likewise.
17679         (FPE_INTOVF): Likewise.
17680         (FPE_FLTDIV): Likewise.
17681         (FPE_FLTOVF): Likewise.
17682         (FPE_FLTUND): Likewise.
17683         (FPE_FLTRES): Likewise.
17684         (FPE_FLTINV): Likewise.
17685         (FPE_FLTSUB): Likewise.
17686         (SEGV_MAPERR): Likewise.
17687         (SEGV_ACCERR): Likewise.
17688         (BUS_ADRALN): Likewise.
17689         (BUS_ADRERR): Likewise.
17690         (BUS_OBJERR): Likewise.
17691         (BUS_MCEERR_AR): Likewise.
17692         (BUS_MCEERR_AO): Likewise.
17693         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17694         (TRAP_TRACE): Likewise.
17695         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17696         __USE_XOPEN2K8].
17697         (CLD_KILLED): Likewise.
17698         (CLD_DUMPED): Likewise.
17699         (CLD_TRAPPED): Likewise.
17700         (CLD_STOPPED): Likewise.
17701         (CLD_CONTINUED): Likewise.
17702         (POLL_IN): Likewise.
17703         (POLL_OUT): Likewise.
17704         (POLL_MSG): Likewise.
17705         (POLL_ERR): Likewise.
17706         (POLL_PRI): Likewise.
17707         (POLL_HUP): Likewise.
17708         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17709         Likewise.
17710         (ILL_ILLOPN): Likewise.
17711         (ILL_ILLADR): Likewise.
17712         (ILL_ILLTRP): Likewise.
17713         (ILL_PRVOPC): Likewise.
17714         (ILL_PRVREG): Likewise.
17715         (ILL_COPROC): Likewise.
17716         (ILL_BADSTK): Likewise.
17717         (ILL_BADIADDR): Likewise.
17718         (ILL_BREAK): Likewise.
17719         (FPE_INTDIV): Likewise.
17720         (FPE_INTOVF): Likewise.
17721         (FPE_FLTDIV): Likewise.
17722         (FPE_FLTOVF): Likewise.
17723         (FPE_FLTUND): Likewise.
17724         (FPE_FLTRES): Likewise.
17725         (FPE_FLTINV): Likewise.
17726         (FPE_FLTSUB): Likewise.
17727         (FPE_DECOVF): Likewise.
17728         (FPE_DECDIV): Likewise.
17729         (FPE_DECERR): Likewise.
17730         (FPE_INVASC): Likewise.
17731         (FPE_INVDEC): Likewise.
17732         (SEGV_MAPERR): Likewise.
17733         (SEGV_ACCERR): Likewise.
17734         (SEGV_PSTKOVF): Likewise.
17735         (BUS_ADRALN): Likewise.
17736         (BUS_ADRERR): Likewise.
17737         (BUS_OBJERR): Likewise.
17738         (BUS_MCEERR_AR): Likewise.
17739         (BUS_MCEERR_AO): Likewise.
17740         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17741         (TRAP_TRACE): Likewise.
17742         (TRAP_BRANCH): Likewise.
17743         (TRAP_HWBKPT): Likewise.
17744         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17745         __USE_XOPEN2K8].
17746         (CLD_KILLED): Likewise.
17747         (CLD_DUMPED): Likewise.
17748         (CLD_TRAPPED): Likewise.
17749         (CLD_STOPPED): Likewise.
17750         (CLD_CONTINUED): Likewise.
17751         (POLL_IN): Likewise.
17752         (POLL_OUT): Likewise.
17753         (POLL_MSG): Likewise.
17754         (POLL_ERR): Likewise.
17755         (POLL_PRI): Likewise.
17756         (POLL_HUP): Likewise.
17757         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17758         (ILL_ILLOPN): Likewise.
17759         (ILL_ILLADR): Likewise.
17760         (ILL_ILLTRP): Likewise.
17761         (ILL_PRVOPC): Likewise.
17762         (ILL_PRVREG): Likewise.
17763         (ILL_COPROC): Likewise.
17764         (ILL_BADSTK): Likewise.
17765         (FPE_INTDIV): Likewise.
17766         (FPE_INTOVF): Likewise.
17767         (FPE_FLTDIV): Likewise.
17768         (FPE_FLTOVF): Likewise.
17769         (FPE_FLTUND): Likewise.
17770         (FPE_FLTRES): Likewise.
17771         (FPE_FLTINV): Likewise.
17772         (FPE_FLTSUB): Likewise.
17773         (SEGV_MAPERR): Likewise.
17774         (SEGV_ACCERR): Likewise.
17775         (BUS_ADRALN): Likewise.
17776         (BUS_ADRERR): Likewise.
17777         (BUS_OBJERR): Likewise.
17778         (BUS_MCEERR_AR): Likewise.
17779         (BUS_MCEERR_AO): Likewise.
17780         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17781         (TRAP_TRACE): Likewise.
17782         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17783         __USE_XOPEN2K8].
17784         (CLD_KILLED): Likewise.
17785         (CLD_DUMPED): Likewise.
17786         (CLD_TRAPPED): Likewise.
17787         (CLD_STOPPED): Likewise.
17788         (CLD_CONTINUED): Likewise.
17789         (POLL_IN): Likewise.
17790         (POLL_OUT): Likewise.
17791         (POLL_MSG): Likewise.
17792         (POLL_ERR): Likewise.
17793         (POLL_PRI): Likewise.
17794         (POLL_HUP): Likewise.
17795         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17796         (ILL_ILLOPN): Likewise.
17797         (ILL_ILLADR): Likewise.
17798         (ILL_ILLTRP): Likewise.
17799         (ILL_PRVOPC): Likewise.
17800         (ILL_PRVREG): Likewise.
17801         (ILL_COPROC): Likewise.
17802         (ILL_BADSTK): Likewise.
17803         (FPE_INTDIV): Likewise.
17804         (FPE_INTOVF): Likewise.
17805         (FPE_FLTDIV): Likewise.
17806         (FPE_FLTOVF): Likewise.
17807         (FPE_FLTUND): Likewise.
17808         (FPE_FLTRES): Likewise.
17809         (FPE_FLTINV): Likewise.
17810         (FPE_FLTSUB): Likewise.
17811         (SEGV_MAPERR): Likewise.
17812         (SEGV_ACCERR): Likewise.
17813         (BUS_ADRALN): Likewise.
17814         (BUS_ADRERR): Likewise.
17815         (BUS_OBJERR): Likewise.
17816         (BUS_MCEERR_AR): Likewise.
17817         (BUS_MCEERR_AO): Likewise.
17818         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17819         (TRAP_TRACE): Likewise.
17820         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17821         __USE_XOPEN2K8].
17822         (CLD_KILLED): Likewise.
17823         (CLD_DUMPED): Likewise.
17824         (CLD_TRAPPED): Likewise.
17825         (CLD_STOPPED): Likewise.
17826         (CLD_CONTINUED): Likewise.
17827         (POLL_IN): Likewise.
17828         (POLL_OUT): Likewise.
17829         (POLL_MSG): Likewise.
17830         (POLL_ERR): Likewise.
17831         (POLL_PRI): Likewise.
17832         (POLL_HUP): Likewise.
17833         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17834         (ILL_ILLOPN): Likewise.
17835         (ILL_ILLADR): Likewise.
17836         (ILL_ILLTRP): Likewise.
17837         (ILL_PRVOPC): Likewise.
17838         (ILL_PRVREG): Likewise.
17839         (ILL_COPROC): Likewise.
17840         (ILL_BADSTK): Likewise.
17841         (FPE_INTDIV): Likewise.
17842         (FPE_INTOVF): Likewise.
17843         (FPE_FLTDIV): Likewise.
17844         (FPE_FLTOVF): Likewise.
17845         (FPE_FLTUND): Likewise.
17846         (FPE_FLTRES): Likewise.
17847         (FPE_FLTINV): Likewise.
17848         (FPE_FLTSUB): Likewise.
17849         (SEGV_MAPERR): Likewise.
17850         (SEGV_ACCERR): Likewise.
17851         (BUS_ADRALN): Likewise.
17852         (BUS_ADRERR): Likewise.
17853         (BUS_OBJERR): Likewise.
17854         (BUS_MCEERR_AR): Likewise.
17855         (BUS_MCEERR_AO): Likewise.
17856         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17857         (TRAP_TRACE): Likewise.
17858         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17859         __USE_XOPEN2K8].
17860         (CLD_KILLED): Likewise.
17861         (CLD_DUMPED): Likewise.
17862         (CLD_TRAPPED): Likewise.
17863         (CLD_STOPPED): Likewise.
17864         (CLD_CONTINUED): Likewise.
17865         (POLL_IN): Likewise.
17866         (POLL_OUT): Likewise.
17867         (POLL_MSG): Likewise.
17868         (POLL_ERR): Likewise.
17869         (POLL_PRI): Likewise.
17870         (POLL_HUP): Likewise.
17871         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17872         (ILL_ILLOPN): Likewise.
17873         (ILL_ILLADR): Likewise.
17874         (ILL_ILLTRP): Likewise.
17875         (ILL_PRVOPC): Likewise.
17876         (ILL_PRVREG): Likewise.
17877         (ILL_COPROC): Likewise.
17878         (ILL_BADSTK): Likewise.
17879         (ILL_DBLFLT): Likewise.
17880         (ILL_HARDWALL): Likewise.
17881         (FPE_INTDIV): Likewise.
17882         (FPE_INTOVF): Likewise.
17883         (FPE_FLTDIV): Likewise.
17884         (FPE_FLTOVF): Likewise.
17885         (FPE_FLTUND): Likewise.
17886         (FPE_FLTRES): Likewise.
17887         (FPE_FLTINV): Likewise.
17888         (FPE_FLTSUB): Likewise.
17889         (SEGV_MAPERR): Likewise.
17890         (SEGV_ACCERR): Likewise.
17891         (BUS_ADRALN): Likewise.
17892         (BUS_ADRERR): Likewise.
17893         (BUS_OBJERR): Likewise.
17894         (BUS_MCEERR_AR): Likewise.
17895         (BUS_MCEERR_AO): Likewise.
17896         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17897         (TRAP_TRACE): Likewise.
17898         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17899         __USE_XOPEN2K8].
17900         (CLD_KILLED): Likewise.
17901         (CLD_DUMPED): Likewise.
17902         (CLD_TRAPPED): Likewise.
17903         (CLD_STOPPED): Likewise.
17904         (CLD_CONTINUED): Likewise.
17905         (POLL_IN): Likewise.
17906         (POLL_OUT): Likewise.
17907         (POLL_MSG): Likewise.
17908         (POLL_ERR): Likewise.
17909         (POLL_PRI): Likewise.
17910         (POLL_HUP): Likewise.
17911         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17912         (ILL_ILLOPN): Likewise.
17913         (ILL_ILLADR): Likewise.
17914         (ILL_ILLTRP): Likewise.
17915         (ILL_PRVOPC): Likewise.
17916         (ILL_PRVREG): Likewise.
17917         (ILL_COPROC): Likewise.
17918         (ILL_BADSTK): Likewise.
17919         (FPE_INTDIV): Likewise.
17920         (FPE_INTOVF): Likewise.
17921         (FPE_FLTDIV): Likewise.
17922         (FPE_FLTOVF): Likewise.
17923         (FPE_FLTUND): Likewise.
17924         (FPE_FLTRES): Likewise.
17925         (FPE_FLTINV): Likewise.
17926         (FPE_FLTSUB): Likewise.
17927         (SEGV_MAPERR): Likewise.
17928         (SEGV_ACCERR): Likewise.
17929         (BUS_ADRALN): Likewise.
17930         (BUS_ADRERR): Likewise.
17931         (BUS_OBJERR): Likewise.
17932         (BUS_MCEERR_AR): Likewise.
17933         (BUS_MCEERR_AO): Likewise.
17934         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17935         (TRAP_TRACE): Likewise.
17936         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17937         __USE_XOPEN2K8].
17938         (CLD_KILLED): Likewise.
17939         (CLD_DUMPED): Likewise.
17940         (CLD_TRAPPED): Likewise.
17941         (CLD_STOPPED): Likewise.
17942         (CLD_CONTINUED): Likewise.
17943         (POLL_IN): Likewise.
17944         (POLL_OUT): Likewise.
17945         (POLL_MSG): Likewise.
17946         (POLL_ERR): Likewise.
17947         (POLL_PRI): Likewise.
17948         (POLL_HUP): Likewise.
17949         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17950         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17952         [BZ #16670]
17953         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17954         before #include of <time.h>.
17955         [!__USE_XOPEN2K] (__need_timespec): Likewise.
17956         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17957         (test-xfail-UNIX98/sched.h/conform): Likewise.
17959 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17961         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17962         error absence of trapping exception support.
17963         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17965 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
17967         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17968         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17969         * timezone/Makefile (testdata): Move definition above include of
17970         Rules.
17971         (test-zones): New variable.
17972         (tests-special): Add zone files.
17973         (build-testdata): Use $(evaluate-test).
17975         * elf/Makefile (tests-special): Rename tests to end with .out.
17976         ($(objpfx)noload-mem): Likewise.
17977         ($(objpfx)tst-leaks1-mem): Likewise.
17978         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17979         * iconv/Makefile (xtests-special): Change test-iconvconfig to
17980         $(objpfx)test-iconvconfig.out.
17981         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
17982         set -e inside subshell and redirect output to file.
17983         * iconvdata/Makefile (generated): Rename tests to end with .out.
17984         Correct type.
17985         (tests-special): Rename tests to end with .out.
17986         ($(objpfx)mtrace-tst-loading): Likewise.
17987         * intl/Makefile (generated): Likewise.
17988         (tests-special): Likewise.
17989         ($(objpfx)mtrace-tst-gettext): Likewise.
17990         * misc/Makefile (generated): Likewise.
17991         (tests-special): Likewise.
17992         ($(objpfx)tst-error1-mem): Likewise.
17993         * nptl/Makefile (tests-special): Likewise.
17994         ($(objpfx)tst-stack3-mem): Likewise.
17995         (generated): Likewise.
17996         * posix/Makefile (generated): Likewise.
17997         (tests-special): Likewise.
17998         (xtests-special): Likewise.
17999         ($(objpfx)tst-fnmatch-mem): Likewise.
18000         ($(objpfx)bug-regex2-mem): Likewise.
18001         ($(objpfx)bug-regex14-mem): Likewise.
18002         ($(objpfx)bug-regex21-mem): Likewise.
18003         ($(objpfx)bug-regex31-mem): Likewise.
18004         ($(objpfx)tst-vfork3-mem): Likewise.
18005         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18006         ($(objpfx)tst-pcre-mem): Likewise.
18007         ($(objpfx)tst-boost-mem): Likewise.
18008         ($(objpfx)bug-ga2-mem): Likewise.
18009         ($(objpfx)bug-glob2-mem): Likewise.
18010         * resolv/Makefile (generate): Likewise.
18011         (tests-special): Likewise.
18012         (xtests-special): Likewise.
18013         (generated): Likewise.
18014         ($(objpfx)mtrace-tst-leaks): Likewise.
18015         ($(objpfx)mtrace-tst-leaks2): Likewise.
18017         * scripts/merge-test-results.sh: New file.
18018         * Makefile (tests-special-notdir): New variable.
18019         (tests): Run merge-test-results.sh.
18020         (xtests): Likewise.
18021         * Rules (tests-special-notdir): New variable.
18022         (xtests-special-notdir): Likewise.
18023         (tests): Run merge-test-results.sh
18024         (xtests): Likewise.
18026         * Makeconfig (test-xfail-name): New variable.
18027         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18028         compute variable name for expected failures.
18029         * conform/Makefile (conformtest-headers-data): New variable.
18030         (conformtest-standards): Likewise.
18031         (conformtest-headers-ISO): Likewise.
18032         (conformtest-headers-ISO99): Likewise.
18033         (conformtest-headers-ISO11): Likewise.
18034         (conformtest-headers-POSIX): Likewise.
18035         (conformtest-headers-XPG3): Likewise.
18036         (conformtest-headers-XPG4): Likewise.
18037         (conformtest-headers-UNIX98): Likewise.
18038         (conformtest-headers-XOPEN2K): Likewise.
18039         (conformtest-headers-POSIX2008): Likewise.
18040         (conformtest-headers-XOPEN2K8): Likewise.
18041         (conformtest-header-list-base): Likewise.
18042         (conformtest-header-list-tests): Likewise.
18043         (conformtest-header-base): Likewise.
18044         (conformtest-header-tests): Likewise.
18045         (tests-special): Add $(conformtest-header-list-tests).  If
18046         [$(fast-check) && !$(cross-compiling)], add
18047         $(conformtest-header-tests) instead of
18048         $(objpfx)run-conformtest.out.
18049         (generated): Add $(conformtest-header-list-base).  If
18050         [$(fast-check) && !$(cross-compiling)], add
18051         $(conformtest-header-base).  Remove previous setting.
18052         ($(conformtest-header-list-tests)): New target.
18053         (test-xfail-run-conformtest): Remove variable.
18054         ($(objpfx)run-conformtest.out): Remove target.
18055         (test-xfail-ISO11/complex.h/conform): New variable.
18056         (test-xfail-ISO11/stdalign.h/conform): Likewise.
18057         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18058         (test-xfail-XPG3/varargs.h/conform): Likewise.
18059         (test-xfail-XPG4/varargs.h/conform): Likewise.
18060         (test-xfail-UNIX98/varargs.h/conform): Likewise.
18061         (test-xfail-XPG4/ndbm.h/conform): Likewise.
18062         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18063         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18064         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18065         (test-xfail-XPG3/fcntl.h/conform): Likewise.
18066         (test-xfail-XPG3/ftw.h/conform): Likewise.
18067         (test-xfail-XPG3/grp.h/conform): Likewise.
18068         (test-xfail-XPG3/langinfo.h/conform): Likewise.
18069         (test-xfail-XPG3/limits.h/conform): Likewise.
18070         (test-xfail-XPG3/pwd.h/conform): Likewise.
18071         (test-xfail-XPG3/search.h/conform): Likewise.
18072         (test-xfail-XPG3/signal.h/conform): Likewise.
18073         (test-xfail-XPG3/stdio.h/conform): Likewise.
18074         (test-xfail-XPG3/stdlib.h/conform): Likewise.
18075         (test-xfail-XPG3/string.h/conform): Likewise.
18076         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18077         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18078         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18079         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18080         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18081         (test-xfail-XPG3/sys/types.h/conform): Likewise.
18082         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18083         (test-xfail-XPG3/termios.h/conform): Likewise.
18084         (test-xfail-XPG3/time.h/conform): Likewise.
18085         (test-xfail-XPG3/unistd.h/conform): Likewise.
18086         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
18087         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18088         (test-xfail-XPG4/langinfo.h/conform): Likewise.
18089         (test-xfail-XPG4/netdb.h/conform): Likewise.
18090         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
18091         (test-xfail-XPG4/signal.h/conform): Likewise.
18092         (test-xfail-XPG4/stdio.h/conform): Likewise.
18093         (test-xfail-XPG4/stdlib.h/conform): Likewise.
18094         (test-xfail-XPG4/stropts.h/conform): Likewise.
18095         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18096         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18097         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18098         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18099         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18100         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
18101         (test-xfail-XPG4/sys/time.h/conform): Likewise.
18102         (test-xfail-XPG4/sys/types.h/conform): Likewise.
18103         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
18104         (test-xfail-XPG4/termios.h/conform): Likewise.
18105         (test-xfail-XPG4/ucontext.h/conform): Likewise.
18106         (test-xfail-XPG4/unistd.h/conform): Likewise.
18107         (test-xfail-XPG4/utmpx.h/conform): Likewise.
18108         (test-xfail-POSIX/sched.h/conform): Likewise.
18109         (test-xfail-POSIX/signal.h/conform): Likewise.
18110         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18111         (test-xfail-POSIX/tar.h/conform): Likewise.
18112         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
18113         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
18114         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
18115         (test-xfail-UNIX98/netdb.h/conform): Likewise.
18116         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
18117         (test-xfail-UNIX98/sched.h/conform): Likewise.
18118         (test-xfail-UNIX98/signal.h/conform): Likewise.
18119         (test-xfail-UNIX98/stdio.h/conform): Likewise.
18120         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18121         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18122         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18123         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18124         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18125         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18126         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18127         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
18128         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
18129         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
18130         (test-xfail-UNIX98/unistd.h/conform): Likewise.
18131         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
18132         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
18133         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
18134         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
18135         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
18136         (test-xfail-XOPEN2K/math.h/conform): Likewise.
18137         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
18138         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18139         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18140         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
18141         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
18142         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
18143         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
18144         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18145         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18146         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18147         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18148         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18149         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18150         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
18151         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
18152         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18153         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
18154         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18155         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
18156         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18157         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
18158         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
18159         (test-xfail-POSIX2008/signal.h/conform): Likewise.
18160         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18161         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
18162         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
18163         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18164         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18165         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
18166         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18167         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18168         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18169         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
18170         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
18171         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18172         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18173         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18174         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
18175         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18176         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18177         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18178         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18179         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
18180         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
18181         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18182         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
18183         (conformtest-cc-flags): Likewise.
18184         ($(conformtest-header-tests): New target.
18185         * conform/check-header-lists.sh: New file.
18186         * conform/run-conformtest.sh: Remove.
18188         * conform/conformtest.pl: Allow ' and \ in values given for
18189         constants.
18190         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
18191         inclusion.
18192         [POSIX] (sys/types.h): Likewise.
18193         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
18194         inclusion.
18195         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
18196         inclusion.
18197         * conform/data/signal.h-data (SIGIO): Remove expectation.
18198         [XPG3] (SIGBUS): Do not expect.
18199         [POSIX || XPG3] (SIGPOLL): Likewise.
18200         [POSIX || XPG3] (SIGPROF): Likewise.
18201         [POSIX || XPG3] (SIGSYS): Likewise.
18202         [XPG3] (SIGTRAP): Likewise.
18203         [POSIX || XPG3] (SIGURG): Likewise.
18204         [POSIX || XPG3] (SIGVTALRM): Likewise.
18205         [POSIX || XPG3] (SIGXCPU): Likewise.
18206         [POSIX || XPG3] (SIGXFSZ): Likewise.
18207         [POSIX] (SA_SIGINFO): Expect.
18208         [XPG3] (siginfo_t): Do not expect type or contents.
18209         [POSIX] (si_pid): Do not expect element.
18210         [POSIX] (si_uid): Likewise.
18211         [POSIX] (si_addr): Likewise.
18212         [POSIX] (si_status): Likewise.
18213         [POSIX] (si_band): Likewise.
18214         [XPG4] (si_value): Likewise.
18215         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
18216         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
18217         [POSIX || XPG3] (ILL_ILLADR): Likewise.
18218         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
18219         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
18220         [POSIX || XPG3] (ILL_PRVREG): Likewise.
18221         [POSIX || XPG3] (ILL_COPROC): Likewise.
18222         [POSIX || XPG3] (ILL_BADSTK): Likewise.
18223         [POSIX || XPG3] (FPE_INTDIV): Likewise.
18224         [POSIX || XPG3] (FPE_INTOVF): Likewise.
18225         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
18226         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
18227         [POSIX || XPG3] (FPE_FLTUND): Likewise.
18228         [POSIX || XPG3] (FPE_FLTRES): Likewise.
18229         [POSIX || XPG3] (FPE_FLTINV): Likewise.
18230         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
18231         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
18232         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
18233         [POSIX || XPG3] (BUS_ADRALN): Likewise.
18234         [POSIX || XPG3] (BUS_ADRERR): Likewise.
18235         [POSIX || XPG3] (BUS_OBJERR): Likewise.
18236         [POSIX || XPG3] (CLD_EXITED): Likewise.
18237         [POSIX || XPG3] (CLD_KILLED): Likewise.
18238         [POSIX || XPG3] (CLD_DUMPED): Likewise.
18239         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
18240         [POSIX || XPG3] (CLD_STOPPED): Likewise.
18241         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
18242         [POSIX || XPG3] (POLL_IN): Likewise.
18243         [POSIX || XPG3] (POLL_OUT): Likewise.
18244         [POSIX || XPG3] (POLL_MSG): Likewise.
18245         [POSIX || XPG3] (POLL_ERR): Likewise.
18246         [POSIX || XPG3] (POLL_PRI): Likewise.
18247         [POSIX || XPG3] (POLL_HUP): Likewise.
18248         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
18249         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
18250         (SIG*): Do not allow.
18251         [XPG3] (si_*): Likewise.
18252         [XPG3] (SI_*): Likewise.
18253         [XPG3 || XPG4] (sigev_*): Likewise.
18254         [XPG3 || XPG4] (SIGEV_*): Likewise.
18255         [XPG3 || XPG4] (sival_*): Likewise.
18256         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
18257         [POSIX || XPG3] (BUS_*): Likewise.
18258         [POSIX || XPG3] (CLD_*): Likewise.
18259         [POSIX || XPG3] (FPE_*): Likewise.
18260         [POSIX || XPG3] (ILL_*): Likewise.
18261         [POSIX || XPG3] (POLL_*): Likewise.
18262         [POSIX || XPG3] (SEGV_*): Likewise.
18263         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
18264         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
18265         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
18266         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
18267         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
18268         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
18269         Specify type and value.
18270         (TVERSLEN): Likewise.
18271         (REGTYPE): Likewise.
18272         (AREGTYPE): Likewise.
18273         (LNKTYPE): Likewise.
18274         (SYMTYPE): Likewise.
18275         (CHRTYPE): Likewise.
18276         (BLKTYPE): Likewise.
18277         (DIRTYPE): Likewise.
18278         (FIFOTYPE): Likewise.
18279         (CONTTYPE): Likewise.
18280         (TSUID): Likewise.
18281         (TSGID): Likewise.
18282         (TSVTX): Likewise.
18283         (TUREAD): Likewise.
18284         (TUWRITE): Likewise.
18285         (TUEXEC): Likewise.
18286         (TGREAD): Likewise.
18287         (TGWRITE): Likewise.
18288         (TGEXEC): Likewise.
18289         (TOREAD): Likewise.
18290         (TOWRITE): Likewise.
18291         (TOEXEC): Likewise.
18292         [POSIX] (TSVTX): Expect constant.
18294 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
18296         * Makefile (tests): Change dependencies to ....
18297         (tests-special): ... additions to this variable.
18298         (tests): Depend on $(tests-special).
18299         * Makerules (check-abi-list): New variable.
18300         (check-abi): Depend on $(check-abi-list).
18301         [$(subdir) = elf] (tests-special): Add
18302         $(objpfx)check-abi-libc.out.
18303         [$(build-shared) = yes && subdir] (tests-special): Add
18304         $(check-abi-list).
18305         [$(build-shared) = yes && subdir] (tests): Do not depend on
18306         check-abi.
18307         * Rules (tests): Depend on $(tests-special).
18308         (xtests): Depend on $(xtests-special).
18309         * catgets/Makefile (tests): Change dependencies to ....
18310         (tests-special): ... additions to this variable.
18311         * conform/Makefile (tests): Change dependencies to ....
18312         (tests-special): ... additions to this variable.
18313         * elf/Makefile (tests): Change dependencies to ....
18314         (tests-special): ... additions to this variable.
18315         * grp/Makefile (tests): Change dependencies to ....
18316         (tests-special): ... additions to this variable.
18317         * iconv/Makefile (xtests): Change dependencies to ....
18318         (xtests-special): ... additions to this variable.
18319         * iconvdata/Makefile (tests): Change dependencies to ....
18320         (tests-special): ... additions to this variable.
18321         * intl/Makefile (tests): Change dependencies to ....
18322         (tests-special): ... additions to this variable.  Also add
18323         $(objpfx)tst-gettext.out.
18324         * io/Makefile (tests): Change dependencies to ....
18325         (tests-special): ... additions to this variable.
18326         * libio/Makefile (tests): Change dependencies to ....
18327         (tests-special): ... additions to this variable.
18328         * malloc/Makefile (tests): Change dependencies to ....
18329         (tests-special): ... additions to this variable.
18330         * misc/Makefile (tests): Change dependencies to ....
18331         (tests-special): ... additions to this variable.
18332         * nptl/Makefile (tests): Change dependencies to ....
18333         (tests-special): ... additions to this variable.
18334         * nptl_db/Makefile (tests): Change dependencies to ....
18335         (tests-special): ... additions to this variable.
18336         * posix/Makefile (tests): Change dependencies to ....
18337         (tests-special): ... additions to this variable.
18338         (xtests): Change dependencies to ....
18339         (xtests-special): ... additions to this variable.
18340         * resolv/Makefile (tests): Change dependencies to ....
18341         (tests-special): ... additions to this variable.
18342         (xtests): Change dependencies to ....
18343         (xtests-special): ... additions to this variable.
18344         * stdio-common/Makefile (tests): Change dependencies to ....
18345         (tests-special): ... additions to this variable.
18346         (do-tst-unbputc): Remove target.
18347         (do-tst-printf): Likewise.
18348         * stdlib/Makefile (tests): Change dependencies to ....
18349         (tests-special): ... additions to this variable.
18350         * string/Makefile (tests): Change dependencies to ....
18351         (tests-special): ... additions to this variable.
18352         * sysdeps/x86/Makefile (tests): Change dependencies to ....
18353         (tests-special): ... additions to this variable.
18355         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
18356         whole file.
18357         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
18358         whole file.
18359         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
18360         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
18362         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
18363         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
18364         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
18365         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
18366         * conform/data/libgen.h-data [XPG3]: Likewise.
18367         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
18368         * conform/data/ndbm.h-data [XPG3]: Likewise.
18369         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18370         * conform/data/netdb.h-data [XPG3]: Likewise.
18371         * conform/data/netinet/in.h-data [XPG3]: Likewise.
18372         * conform/data/poll.h-data [XPG3]: Likewise.
18373         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
18374         * conform/data/strings.h-data [XPG3]: Likewise.
18375         * conform/data/stropts.h-data [XPG3]: Likewise.
18376         * conform/data/sys/mman.h-data [XPG3]: Likewise.
18377         * conform/data/sys/resource.h-data [XPG3]: Likewise.
18378         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
18379         Likewise.
18380         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
18381         * conform/data/sys/time.h-data [XPG3]: Likewise.
18382         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
18383         * conform/data/sys/uio.h-data [XPG3]: Likewise.
18384         * conform/data/sys/un.h-data [XPG3]: Likewise.
18385         * conform/data/syslog.h-data [XPG3]: Likewise.
18386         * conform/data/ucontext.h-data [XPG3]: Likewise.
18387         * conform/data/utmpx.h-data [XPG3]: Likewise.
18388         * conform/data/varargs.h-data [UNIX98]: Enable file.
18390         * manual/Makefile (INSTALL_INFO): Remove variable setting.
18392         * math/libm-test.inc (struct test_f_f_data): Move expected results
18393         into structure for each rounding mode.
18394         (struct test_ff_f_data): Likewise.
18395         (struct test_ff_f_data_nexttoward): Likewise.
18396         (struct test_fi_f_data): Likewise.
18397         (struct test_fl_f_data): Likewise.
18398         (struct test_if_f_data): Likewise.
18399         (struct test_fff_f_data): Likewise.
18400         (struct test_c_f_data): Likewise.
18401         (struct test_f_f1_data): Likewise.
18402         (struct test_fF_f1_data): Likewise.
18403         (struct test_ffI_f1_data): Likewise.
18404         (struct test_c_c_data): Likewise.
18405         (struct test_cc_c_data): Likewise.
18406         (struct test_f_i_data): Likewise.
18407         (struct test_ff_i_data): Likewise.
18408         (struct test_f_l_data): Likewise.
18409         (struct test_f_L_data): Likewise.
18410         (struct test_fFF_11_data): Likewise.
18411         (RM_): New macro.
18412         (RM_FE_DOWNWARD): Likewise.
18413         (RM_FE_TONEAREST): Likewise.
18414         (RM_FE_TOWARDZERO): Likewise.
18415         (RM_FE_UPWARD): Likewise.
18416         (RUN_TEST_LOOP_f_f): Update references to expected results.
18417         (RUN_TEST_LOOP_2_f): Likewise.
18418         (RUN_TEST_LOOP_fff_f): Likewise.
18419         (RUN_TEST_LOOP_c_f): Likewise.
18420         (RUN_TEST_LOOP_f_f1): Likewise.
18421         (RUN_TEST_LOOP_fF_f1): Likewise.
18422         (RUN_TEST_LOOP_fI_f1): Likewise.
18423         (RUN_TEST_LOOP_ffI_f1): Likewise.
18424         (RUN_TEST_LOOP_c_c): Likewise.
18425         (RUN_TEST_LOOP_cc_c): Likewise.
18426         (RUN_TEST_LOOP_f_i): Likewise.
18427         (RUN_TEST_LOOP_f_i_tg): Likewise.
18428         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18429         (RUN_TEST_LOOP_f_b): Likewise.
18430         (RUN_TEST_LOOP_f_b_tg): Likewise.
18431         (RUN_TEST_LOOP_f_l): Likewise.
18432         (RUN_TEST_LOOP_f_L): Likewise.
18433         (RUN_TEST_LOOP_fFF_11): Likewise.
18434         * math/gen-libm-test.pl (parse_args): Output four copies of
18435         expected results for each test.
18437         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18438         (__ASSUME_UTIMES): Remove.
18439         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18440         (__ASSUME_UTIMES): Likewise.
18442         * math/gen-auto-libm-tests.c: Update comment on output format.
18443         (output_for_one_input_case): Generate before-rounding and
18444         after-rounding information as conditions on output flags not
18445         floating-point format.
18446         * math/auto-libm-test-out: Regenerated.
18447         * math/gen-libm-test.pl (cond_value): New function.
18448         (or_cond_value): Use cond_value.
18449         (generate_testfile): Handle conditional exceptions.
18451 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
18453         * math/libm-test.inc (max_valid_error): New variable.
18454         (init_max_error): Take new argument specifying whether function
18455         results are exactly determined.  Set max_valid_error and bound
18456         other variables for errors based on this argument.
18457         (set_max_error): Do not record results above max_valid_error.
18458         (check_float_internal): Only accept errors of up to 0.5ulps if
18459         also at most max_valid_error.
18460         (START): Take new argument EXACT and pass it to init_max_error.
18461         (acos_test): Update call to START.
18462         (acos_test_tonearest): Likewise.
18463         (acos_test_towardzero): Likewise.
18464         (acos_test_downward): Likewise.
18465         (acos_test_upward): Likewise.
18466         (acosh_test): Likewise.
18467         (asin_test): Likewise.
18468         (asin_test_tonearest): Likewise.
18469         (asin_test_towardzero): Likewise.
18470         (asin_test_downward): Likewise.
18471         (asin_test_upward): Likewise.
18472         (asinh_test): Likewise.
18473         (atan_test): Likewise.
18474         (atanh_test): Likewise.
18475         (atan2_test): Likewise.
18476         (cabs_test): Likewise.
18477         (cacos_test): Likewise.
18478         (cacosh_test): Likewise.
18479         (carg_test): Likewise.
18480         (casin_test): Likewise.
18481         (casinh_test): Likewise.
18482         (catan_test): Likewise.
18483         (catanh_test): Likewise.
18484         (cbrt_test): Likewise.
18485         (ccos_test): Likewise.
18486         (ccosh_test): Likewise.
18487         (ceil_test): Likewise.
18488         (cexp_test): Likewise.
18489         (cimag_test): Likewise.
18490         (clog_test): Likewise.
18491         (clog10_test): Likewise.
18492         (conj_test): Likewise.
18493         (copysign_test): Likewise.
18494         (cos_test): Likewise.
18495         (cos_test_tonearest): Likewise.
18496         (cos_test_towardzero): Likewise.
18497         (cos_test_downward): Likewise.
18498         (cos_test_upward): Likewise.
18499         (cosh_test): Likewise.
18500         (cosh_test_tonearest): Likewise.
18501         (cosh_test_towardzero): Likewise.
18502         (cosh_test_downward): Likewise.
18503         (cosh_test_upward): Likewise.
18504         (cpow_test): Likewise.
18505         (cproj_test): Likewise.
18506         (creal_test): Likewise.
18507         (csin_test): Likewise.
18508         (csinh_test): Likewise.
18509         (csqrt_test): Likewise.
18510         (ctan_test): Likewise.
18511         (ctan_test_tonearest): Likewise.
18512         (ctan_test_towardzero): Likewise.
18513         (ctan_test_downward): Likewise.
18514         (ctan_test_upward): Likewise.
18515         (ctanh_test): Likewise.
18516         (ctanh_test_tonearest): Likewise.
18517         (ctanh_test_towardzero): Likewise.
18518         (ctanh_test_downward): Likewise.
18519         (ctanh_test_upward): Likewise.
18520         (erf_test): Likewise.
18521         (erfc_test): Likewise.
18522         (exp_test): Likewise.
18523         (exp_test_tonearest): Likewise.
18524         (exp_test_towardzero): Likewise.
18525         (exp_test_downward): Likewise.
18526         (exp_test_upward): Likewise.
18527         (exp10_test): Likewise.
18528         (exp10_test_tonearest): Likewise.
18529         (exp10_test_towardzero): Likewise.
18530         (exp10_test_downward): Likewise.
18531         (exp10_test_upward): Likewise.
18532         (pow10_test): Likewise.
18533         (exp2_test): Likewise.
18534         (expm1_test): Likewise.
18535         (expm1_test_tonearest): Likewise.
18536         (expm1_test_towardzero): Likewise.
18537         (expm1_test_downward): Likewise.
18538         (expm1_test_upward): Likewise.
18539         (fabs_test): Likewise.
18540         (fdim_test): Likewise.
18541         (floor_test): Likewise.
18542         (fma_test): Likewise.
18543         (fma_test_towardzero): Likewise.
18544         (fma_test_downward): Likewise.
18545         (fma_test_upward): Likewise.
18546         (fmax_test): Likewise.
18547         (fmin_test): Likewise.
18548         (fmod_test): Likewise.
18549         (fpclassify_test): Likewise.
18550         (frexp_test): Likewise.
18551         (hypot_test): Likewise.
18552         (ilogb_test): Likewise.
18553         (isfinite_test): Likewise.
18554         (finite_test): Likewise.
18555         (isgreater_test): Likewise.
18556         (isgreaterequal_test): Likewise.
18557         (isinf_test): Likewise.
18558         (isless_test): Likewise.
18559         (islessequal_test): Likewise.
18560         (islessgreater_test): Likewise.
18561         (isnan_test): Likewise.
18562         (isnormal_test): Likewise.
18563         (issignaling_test): Likewise.
18564         (isunordered_test): Likewise.
18565         (j0_test): Likewise.
18566         (j1_test): Likewise.
18567         (jn_test): Likewise.
18568         (ldexp_test): Likewise.
18569         (lgamma_test): Likewise.
18570         (gamma_test): Likewise.
18571         (lrint_test): Likewise.
18572         (lrint_test_tonearest): Likewise.
18573         (lrint_test_towardzero): Likewise.
18574         (lrint_test_downward): Likewise.
18575         (lrint_test_upward): Likewise.
18576         (llrint_test): Likewise.
18577         (llrint_test_tonearest): Likewise.
18578         (llrint_test_towardzero): Likewise.
18579         (llrint_test_downward): Likewise.
18580         (llrint_test_upward): Likewise.
18581         (log_test): Likewise.
18582         (log10_test): Likewise.
18583         (log1p_test): Likewise.
18584         (log2_test): Likewise.
18585         (logb_test): Likewise.
18586         (logb_test_downward): Likewise.
18587         (lround_test): Likewise.
18588         (llround_test): Likewise.
18589         (modf_test): Likewise.
18590         (nearbyint_test): Likewise.
18591         (nextafter_test): Likewise.
18592         (nexttoward_test): Likewise.
18593         (pow_test): Likewise.
18594         (pow_test_tonearest): Likewise.
18595         (pow_test_towardzero): Likewise.
18596         (pow_test_downward): Likewise.
18597         (pow_test_upward): Likewise.
18598         (remainder_test): Likewise.
18599         (drem_test): Likewise.
18600         (remainder_test_tonearest): Likewise.
18601         (drem_test_tonearest): Likewise.
18602         (remainder_test_towardzero): Likewise.
18603         (drem_test_towardzero): Likewise.
18604         (remainder_test_downward): Likewise.
18605         (drem_test_downward): Likewise.
18606         (remainder_test_upward): Likewise.
18607         (drem_test_upward): Likewise.
18608         (remquo_test): Likewise.
18609         (rint_test): Likewise.
18610         (rint_test_tonearest): Likewise.
18611         (rint_test_towardzero): Likewise.
18612         (rint_test_downward): Likewise.
18613         (rint_test_upward): Likewise.
18614         (round_test): Likewise.
18615         (scalb_test): Likewise.
18616         (scalbn_test): Likewise.
18617         (scalbln_test): Likewise.
18618         (signbit_test): Likewise.
18619         (sin_test): Likewise.
18620         (sin_test_tonearest): Likewise.
18621         (sin_test_towardzero): Likewise.
18622         (sin_test_downward): Likewise.
18623         (sin_test_upward): Likewise.
18624         (sincos_test): Likewise.
18625         (sinh_test): Likewise.
18626         (sinh_test_tonearest): Likewise.
18627         (sinh_test_towardzero): Likewise.
18628         (sinh_test_downward): Likewise.
18629         (sinh_test_upward): Likewise.
18630         (sqrt_test): Likewise.
18631         (sqrt_test_tonearest): Likewise.
18632         (sqrt_test_towardzero): Likewise.
18633         (sqrt_test_downward): Likewise.
18634         (sqrt_test_upward): Likewise.
18635         (tan_test): Likewise.
18636         (tan_test_tonearest): Likewise.
18637         (tan_test_towardzero): Likewise.
18638         (tan_test_downward): Likewise.
18639         (tan_test_upward): Likewise.
18640         (tanh_test): Likewise.
18641         (tgamma_test): Likewise.
18642         (trunc_test): Likewise.
18643         (y0_test): Likewise.
18644         (y1_test): Likewise.
18645         (yn_test): Likewise.
18646         (significand_test): Likewise.
18648         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18649         individual tests in comment.
18650         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18651         (prev_max_error): New variable.
18652         (prev_real_max_error): Likewise.
18653         (prev_imag_max_error): Likewise.
18654         (compare_ulp_data): Don't refer to test names in comment.
18655         (find_test_ulps): Remove function.
18656         (find_function_ulps): Likewise.
18657         (find_complex_function_ulps): Likewise.
18658         (init_max_error): Take function name as argument.  Look up ulps
18659         for that function.
18660         (print_ulps): Remove function.
18661         (print_max_error): Use prev_max_error instead of calling
18662         find_function_ulps.
18663         (print_complex_max_error): Use prev_real_max_error and
18664         prev_imag_max_error instead of calling find_complex_function_ulps.
18665         (check_float_internal): Take max_ulp parameter instead of calling
18666         find_test_ulps.  Don't call print_ulps.
18667         (check_float): Update call to check_float_internal.
18668         (check_complex): Update calls to check_float_internal.
18669         (START): Pass argument to init_max_error.
18670         * math/gen-libm-test.pl (%results): Don't include "kind"
18671         information.
18672         (parse_ulps): Don't handle ulps of individual tests.
18673         (print_ulps_file): Likewise.
18674         (output_ulps): Likewise.
18675         * math/README.libm-test: Update.
18676         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18677         individual tests.
18678         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18679         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18680         * sysdeps/arm/libm-test-ulps: Likewise.
18681         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18682         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18683         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18684         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18685         * sysdeps/microblaze/libm-test-ulps: Likewise.
18686         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18687         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18688         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18689         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18690         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18691         * sysdeps/sh/libm-test-ulps: Likewise.
18692         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18693         * sysdeps/tile/libm-test-ulps: Likewise.
18694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18696 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
18698         * math/libm-test.inc (print_complex_max_error): Check separately
18699         whether real and imaginary errors are within allowed range and
18700         pass 0 to print_complex_function_ulps instead of value within
18701         allowed range.
18703 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18705         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18706         formatting.
18707         (get_handles_fopen): Likewise.
18708         (do_write_test): Likewise.
18710         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18712         * libio/fileops.c (do_ftell): Use cached offset when
18713         available.
18714         * libio/iofwide.c (do_ftell_wide): Likewise.
18715         * libio/iofdopen.c (_IO_new_fdopen): Don't use
18716         _IO_file_attach.
18717         * libio/wfileops.c (_IO_fwide): Don't cache offset.
18719         [BZ #16532]
18720         * libio/libioP.h (get_file_offset): New function.
18721         * libio/fileops.c (get_file_offset): Likewise.
18722         (do_ftell): Likewise.
18723         (_IO_new_file_seekoff): Split out ftell logic.
18724         * libio/wfileops.c (do_ftell_wide): Likewise.
18725         (_IO_wfile_seekoff): Split out ftell logic.
18726         * libio/tst-ftell-active-handler.c: New test case.
18727         * libio/Makefile (tests): Add it.
18729 2014-03-03  Roland McGrath  <roland@hack.frob.com>
18731         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18732         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18734 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18736         [BZ #16639]
18737         * nscd/connections.c (nscd_init): Call do_exit.
18738         (start_threads): Call do_exit and notify_parent.
18739         (begin_drop_privileges): Call do_exit.
18740         (finish_drop_privileges): Likewise.
18741         * nscd/selinux.c (preserve_capabilities): Likewise.
18742         (install_real_capabilities): Likewise.
18743         (nscd_selinux_enabled): Likewise.
18744         (avc_create_thread): Likewise.
18745         (avc_alloc_lock): Likewise.
18746         (nscd_avc_init): Likewise.
18747         * nscd/nscd.c (parent_fd): New static variable.
18748         (main): Create a pipe between parent and child processes.
18749         Skip closing parent_fd.
18750         (monitor_child): New function.
18751         (do_exit): Likewise.
18752         (notify_parent): Likewise.
18753         * nscd/nscd.h (notify_parent): Likewise.
18754         (do_exit): Likewise.
18756 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
18758         * malloc/malloc.c (__libc_calloc): Revert last change.
18760 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18764 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18766         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18768         implementation.
18769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18770         (__libc_ifunc_impl_list): Likewise.
18771         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18772         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18773         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18774         * string/strrchr.c: Define STRRCHR.
18776 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
18778         * benchtest/bench-strtok.c (simple_strtok): Delete.
18779         (strtok_string): Use as benchmark.
18780         * string/strtok (STRTOK): New macro.
18782 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
18784         * manual/threads.texi: Add header and standard comments to all
18785         functions.
18787         * elf/dl-lookup.c (check_match): New function.
18788         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18789         (do_lookup_x): Remove nested function check_match. Use non-nested
18790         function check_match.
18792 2014-02-28  Roland McGrath  <roland@hack.frob.com>
18794         * csu/Makefile (generated, before-compile): Use += rather than =.
18795         * catgets/Makefile (generated, generated-dirs): Likewise.
18796         * debug/Makefile (generated): Likewise.
18797         * dlfcn/Makefile (generated): Likewise.
18798         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18799         * iconvdata/Makefile (before-compile, generated): Likewise.
18800         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18801         * libio/Makefile (generated): Likewise.
18802         * malloc/Makefile (generated): Likewise.
18803         * manual/Makefile (generated, generated-dirs): Likewise.
18804         * misc/Makefile (generated): Likewise.
18805         * posix/Makefile (generated): Likewise.
18806         * resolv/Makefile (generated): Likewise.
18807         * sunrpc/Makefile (generated, generated-dirs): Likewise.
18808         * timezone/Makefile (generated, generated-dirs): Likewise.
18810         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18812 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18815         power8 implementation.
18816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18817         file: POWER8 llround ifunc implementation.
18818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18819         (__lllround): Add POWER8 implementation.
18820         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18821         POWER8 llround implementation.
18823         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18824         power8 implementation.
18825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18826         file: POWER8 llrint ifunc implementation.
18827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18828         Add POWER8 implementation.
18829         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18830         POWER8 llrint implementation.
18832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18833         power8 implementation.
18834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18835         file: POWER8 finite ifunc implementation.
18836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18837         Add POWER8 implementation.
18838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18839         Likewise.
18840         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18841         POWER8 finite implementation.
18842         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18845         power8 implementation.
18846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18847         file: POWER8 isinf ifunc implementation.
18848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18849         POWER8 implementation.
18850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18851         Likewise.
18852         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18853         isinf implementation.
18854         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18856         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18857         (INIT_ARCH): Add hwcap2 initialization.
18858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18859         power8 implementation.
18860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18861         file: POWER8 isnan ifunc implementation.
18862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18863         POWER8 implementation.
18864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18865         Likewise.
18866         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18867         isnan implementation.
18868         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18870 2014-02-27  Joey Ye  <joey.ye@arm.com>
18872         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18873         (_FP_NANFRAC_Q): Set to zero.
18875 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18877         [BZ #16623]
18878         * math/auto-libm-test-in: New test inputs.
18879         * math/auto-libm-test-out: Regenerate.
18880         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18881         and DA.
18882         (__cos): Likewise.
18883         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18885 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
18887         * scripts/evaluate-test.sh: Take new argument indicating whether
18888         failure is expected.
18889         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18890         indicating whether failure is expected.
18891         * conform/Makefile (test-xfail-run-conformtest): New variable.
18892         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18893         level.
18894         * posix/Makefile (test-xfail-annexc): New variable.
18895         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18897 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
18899         * argp/Makefile: Include Makeconfig immediately after defining
18900         subdir.
18901         * assert/Makefile: Likewise.
18902         * benchtests/Makefile: Likewise.
18903         * catgets/Makefile: Likewise.
18904         * conform/Makefile: Likewise.
18905         * crypt/Makefile: Likewise.
18906         * csu/Makefile: Likewise.
18907         (all): Remove target.
18908         * ctype/Makefile: Include Makeconfig immediately after defining
18909         subdir.
18910         * debug/Makefile: Likewise.
18911         * dirent/Makefile: Likewise.
18912         * dlfcn/Makefile: Likewise.
18913         * gmon/Makefile: Likewise.
18914         * gnulib/Makefile: Likewise.
18915         * grp/Makefile: Likewise.
18916         * gshadow/Makefile: Likewise.
18917         * hesiod/Makefile: Likewise.
18918         * hurd/Makefile: Likewise.
18919         (all): Remove target.
18920         * iconvdata/Makefile: Include Makeconfig immediately after
18921         defining subdir.
18922         * inet/Makefile: Likewise.
18923         * intl/Makefile: Likewise.
18924         * io/Makefile: Likewise.
18925         * libio/Makefile: Likewise.
18926         (all): Remove target.
18927         * locale/Makefile: Include Makeconfig immediately after defining
18928         subdir.
18929         * login/Makefile: Likewise.
18930         * mach/Makefile: Likewise.
18931         (all): Remove target.
18932         * malloc/Makefile: Include Makeconfig immediately after defining
18933         subdir.
18934         (all): Remove target.
18935         * manual/Makefile: Include Makeconfig immediately after defining
18936         subdir.
18937         * math/Makefile: Likewise.
18938         * misc/Makefile: Likewise.
18939         * nis/Makefile: Likewise.
18940         * nss/Makefile: Likewise.
18941         * po/Makefile: Likewise.
18942         (all): Remove target.
18943         * posix/Makefile: Include Makeconfig immediately after defining
18944         subdir.
18945         * pwd/Makefile: Likewise.
18946         * resolv/Makefile: Likewise.
18947         * resource/Makefile: Likewise.
18948         * rt/Makefile: Likewise.
18949         * setjmp/Makefile: Likewise.
18950         * shadow/Makefile: Likewise.
18951         * signal/Makefile: Likewise.
18952         * socket/Makefile: Likewise.
18953         * soft-fp/Makefile: Likewise.
18954         * stdio-common/Makefile: Likewise.
18955         * stdlib/Makefile: Likewise.
18956         * streams/Makefile: Likewise.
18957         * string/Makefile: Likewise.
18958         * sunrpc/Makefile: Likewise.
18959         (all): Remove target.
18960         * sysvipc/Makefile: Include Makeconfig immediately after defining
18961         subdir.
18962         * termios/Makefile: Likewise.
18963         * time/Makefile: Likewise.
18964         * timezone/Makefile: Likewise.
18965         (all): Remove target.
18966         * wcsmbs/Makefile: Include Makeconfig immediately after defining
18967         subdir.
18968         * wctype/Makefile: Likewise.
18970 2014-02-26  Steve Ellcey  <sellcey@mips.com>
18972         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18973         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18974         (libc_feholdexcept_setround_mips): Ditto.
18975         (libc_feholdsetround): New.
18976         (libc_feholdsetroundf): New.
18977         (libc_feholdsetroundl): New.
18978         (libc_feupdateenv_test_mips): New.
18979         (libc_feupdateenv_test): New.
18980         (libc_feupdateenv_testf): New.
18981         (libc_feupdateenv_testl): New.
18982         (libc_feresetround): New.
18983         (libc_feresetroundf): New.
18984         (libc_feresetroundl): New.
18985         (libc_fetestexcept_mips): New.
18986         (libc_fetestexcept): New.
18987         (libc_fetestexceptf): New.
18988         (libc_fetestexceptl): New.
18989         (HAVE_RM_CTX): New.
18990         (libc_feholdexcept_setround_mips_ctx): New.
18991         (libc_feholdexcept_setround_ctx): New.
18992         (libc_feholdexcept_setroundf_ctx): New.
18993         (libc_feholdexcept_setroundl_ctx): New.
18994         (libc_fesetenv_mips_ctx): New.
18995         (libc_fesetenv_ctx): New.
18996         (libc_fesetenv_ctxf): New.
18997         (libc_fesetenv_ctxl): New.
18998         (libc_feupdateenv_mips_ctx): New.
18999         (libc_feupdateenv_ctx): New.
19000         (libc_feupdateenvf_ctx): New.
19001         (libc_feupdateenvl_ctx): New.
19002         (libc_feholdsetround_mips_ctx): New.
19003         (libc_feholdsetround_ctx): New.
19004         (libc_feholdsetroundf_ctx): New.
19005         (libc_feholdsetroundl_ctx): New.
19006         (libc_feresetround_mips_ctx): New.
19007         (libc_feresetround_ctx): New.
19008         (libc_feresetroundf_ctx): New.
19009         (libc_feresetroundl_ctx): New.
19011 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
19013         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19015         * manual/ipc.texi: New file.
19016         * manual/Makefile (chapters): Add ipc.
19017         * manual/job.texi: Add "Inter-Process Communication" to next.
19018         * manual/process.texi: Add "Inter-Process Communication" to prev.
19020 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19024 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
19026         * malloc/malloc.c (__libc_calloc): Simplify implementation.
19028         * manual/arith.texi: Fix spaces after sentences.
19029         * manual/charset.texi: Likewise.
19030         * manual/errno.texi: Likewise.
19031         * manual/install.texi: Likewise.
19032         * manual/llio.texi: Likewise.
19033         * manual/locale.texi: Likewise.
19034         * manual/maint.texi: Likewise.
19035         * manual/math.texi: Likewise.
19036         * manual/memory.texi: Likewise.
19037         * manual/message.texi: Likewise.
19038         * manual/probes.texi: Likewise.
19039         * manual/resource.texi: Likewise.
19040         * manual/signal.texi: Likewise.
19041         * manual/socket.texi: Likewise.
19042         * manual/stdio.texi: Likewise.
19043         * manual/string.texi: Likewise.
19044         * manual/time.texi: Likewise.
19045         * manual/users.texi: Likewise.
19047 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
19049         [BZ #16632]
19050         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19051         _DEFAULT_SOURCE is defined.
19053 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
19054             Carlos O'Donell  <carlos@redhat.com>
19056         [BZ #16613]
19057         * elf/dl-tls.c (_dl_count_modids): New function.
19058         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19059         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19060         audit library and increment generation counter.
19061         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19062         * elf/tst-audit9.c: New file.
19063         * elf/tst-auditmod9a.c: New file.
19064         * elf/tst-auditmod9b.c: New file.
19065         * elf/Makefile: Add rules to build and run tst-audit9.
19067 2014-02-25  Florian Weimer  <fweimer@redhat.com>
19069         [BZ #15347]
19070         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19072 2014-02-25  Will Newton  <will.newton@linaro.org>
19074         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19075         (__longjmp): Restore sp and lr before restoring callee
19076         saved registers.  Add longjmp and longjmp_target
19077         SystemTap probe point.
19078         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19079         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19080         Define to zero to match jmpbuf layout.
19081         * sysdeps/arm/setjmp.S: Include stap-probe.h.
19082         (__sigsetjmp): Save sp and lr before saving callee
19083         saved registers.  Add setjmp SystemTap probe point.
19085 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
19087         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19089 2014-02-24  Andreas Schwab  <schwab@suse.de>
19091         [BZ #15804]
19092         * elf/pldd.c (wait_for_ptrace_stop): New function.
19093         (main): Call it after attaching.
19095 2014-02-22  Roland McGrath  <roland@hack.frob.com>
19097         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
19098         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
19099         Versions files is now verboten.
19100         * hurd/Versions (libc: GLIBC_2.0):
19101         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
19102         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
19103         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
19104         * mach/Versions: Likewise.
19106         * csu/Versions: Remove unused %include.
19107         * resolv/Versions: Likewise.
19109 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
19111         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
19112         ($(objpfx)check-local-headers.out): Likewise.
19113         ($(objpfx)begin-end-check.out): Likewise.
19114         * Makerules (check-abi-%.out): Likewise.
19115         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
19116         ($(objpfx)test2.cat): Likewise.
19117         ($(objpfx)de/libc.cat): Likewise.
19118         ($(objpfx)test-gencat.out): Likewise.
19119         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
19120         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
19121         ($(objpfx)noload-mem): Likewise.
19122         ($(objpfx)tst-pathopt.out): Likewise.
19123         ($(objpfx)tst-rtld-load-self.out): Likewise.
19124         ($(objpfx)tst-array1-cmp.out): Likewise.
19125         ($(objpfx)tst-array1-static-cmp.out): Likewise.
19126         ($(objpfx)tst-array2-cmp.out): Likewise.
19127         ($(objpfx)tst-array3-cmp.out): Likewise.
19128         ($(objpfx)tst-array4-cmp.out): Likewise.
19129         ($(objpfx)tst-array5-cmp.out): Likewise.
19130         ($(objpfx)tst-array5-static-cmp.out): Likewise.
19131         ($(objpfx)check-textrel.out): Likewise.
19132         ($(objpfx)check-execstack.out): Likewise.
19133         ($(objpfx)check-localplt.out): Likewise.
19134         ($(objpfx)order2-cmp.out): Likewise.
19135         ($(objpfx)tst-leaks1-mem): Likewise.
19136         ($(objpfx)tst-leaks1-static-mem): Likewise.
19137         ($(objpfx)tst-initorder-cmp.out): Likewise.
19138         ($(objpfx)tst-initorder2-cmp.out): Likewise.
19139         ($(objpfx)tst-unused-dep.out): Likewise.
19140         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
19141         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
19142         * iconv/Makefile (test-iconvconfig): Likewise.
19143         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
19144         ($(objpfx)iconv-test.out): Likewise.
19145         ($(objpfx)tst-tables.out): Likewise.
19146         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
19147         ($(objpfx)tst-gettext.out): Likewise.
19148         ($(objpfx)tst-translit.out): Likewise.
19149         ($(objpfx)tst-gettext2.out): Likewise.
19150         ($(objpfx)tst-gettext4.out): Likewise.
19151         ($(objpfx)tst-gettext6.out): Likewise.
19152         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
19153         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
19154         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
19155         ($(objpfx)tst-fopenloc-mem.out): Likewise.
19156         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
19157         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
19158         * posix/Makefile ($(objpfx)globtest.out): Likewise.
19159         ($(objpfx)wordexp-tst.out): Likewise.
19160         ($(objpfx)annexc.out): Likewise.
19161         ($(objpfx)tst-fnmatch-mem): Likewise.
19162         ($(objpfx)bug-regex2-mem): Likewise.
19163         ($(objpfx)bug-regex14-mem): Likewise.
19164         ($(objpfx)bug-regex21-mem): Likewise.
19165         ($(objpfx)bug-regex31-mem): Likewise.
19166         ($(objpfx)tst-vfork3-mem): Likewise.
19167         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19168         ($(objpfx)tst-pcre-mem): Likewise.
19169         ($(objpfx)tst-boost-mem): Likewise.
19170         ($(objpfx)tst-getconf.out): Likewise.
19171         ($(objpfx)bug-ga2-mem): Likewise.
19172         ($(objpfx)bug-glob2-mem): Likewise.
19173         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
19174         ($(objpfx)mtrace-tst-leaks2): Likewise.
19175         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
19176         ($(objpfx)tst-printf.out): Likewise.
19177         ($(objpfx)tst-setvbuf1.out): Likewise.
19178         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
19179         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
19180         ($(objpfx)tst-fmtmsg.out): Likewise.
19181         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
19182         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
19184         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
19185         * bits/sigaction.h [__USE_MISC]: Likewise.
19186         * bits/waitstatus.h: Update #endif comments.
19187         * ctype/ctype.h: Likewise.
19188         * dirent/dirent.h: Likewise.
19189         [__USE_MISC]: Remove redundant conditionals.
19190         * grp/grp.h: Update #endif comments.
19191         [__USE_GNU]: Remove redundant conditionals.
19192         [__USE_MISC]: Likewise.
19193         * inet/netinet/in.h [__USE_GNU]: Likewise.
19194         * io/sys/stat.h [__USE_MISC]: Likewise.
19195         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
19196         * libio/bits/stdio.h: Update #endif comments.
19197         [__USE_MISC]: Remove redundant conditionals.
19198         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
19199         * libio/stdio.h: Update #endif comments.
19200         [__USE_MISC]: Remove redundant conditionals.
19201         * math/bits/math-finite.h [__USE_MISC]: Likewise.
19202         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
19203         * math/math.h: Update #else and #endif comments.
19204         [__USE_MISC]: Remove redundant conditionals.
19205         * misc/sys/uio.h: Update #endif comments.
19206         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
19207         * posix/glob.h [__USE_MISC]: Likewise.
19208         * posix/sys/types.h: Update #endif comments.
19209         [__USE_MISC]: Remove redundant conditionals.
19210         * posix/sys/wait.h: Update #endif comments.
19211         [__USE_MISC]: Remove redundant conditionals.
19212         * posix/unistd.h: Update #endif comments.
19213         [__USE_MISC]: Remove redundant conditionals.
19214         * pwd/pwd.h [__USE_GNU]: Likewise.
19215         [__USE_MISC]: Likewise.
19216         * resolv/netdb.h [__USE_GNU]: Likewise.
19217         * signal/signal.h: Update #endif comments.
19218         [__USE_MISC]: Remove redundant conditionals.
19219         * stdlib/stdlib.h: Update #else and #endif comments.
19220         [__USE_MISC]: Remove redundant conditionals.
19221         [__USE_GNU]: Likewise.
19222         * string/bits/string2.h [__USE_MISC]: Likewise.
19223         * string/string.h: Update #endif comments.
19224         [__USE_MISC]: Remove redundant conditionals.
19225         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
19226         Likewise.
19227         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
19228         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
19229         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
19230         Likewise.
19231         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
19232         Likewise.
19233         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
19234         comments.
19235         [__USE_MISC]: Remove redundant conditionals.
19236         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
19237         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
19238         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
19239         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
19240         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
19241         Likewise.
19242         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
19243         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
19244         Likewise.
19245         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
19246         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
19247         Likewise.
19248         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
19249         Likewise.
19250         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
19251         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
19252         Likewise.
19253         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
19254         Likewise.
19255         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
19256         * sysdeps/x86/bits/string.h: Update #endif comments.
19257         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
19258         conditionals.
19259         * time/sys/time.h: Update #endif comments.
19260         * time/time.h: Likewise.
19261         [__USE_MISC]: Remove redundant conditionals.
19263 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
19265         [BZ #16600]
19266         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
19268 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
19270         * Versions.def (librt): Add GLIBC_2.17.
19272 2014-02-21  Adam Conrad  <adconrad@0c3.net>
19274         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
19275         synonym for _SYS_AUXV_H to allow direct inclusion.
19276         * sysdeps/sparc/bits/hwcap.h: Likewise.
19277         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
19278         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
19279         * sysdeps/sparc/sysdep.h: Likewise.
19281 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19283         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
19285 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19287         * benchtests/bench-strrchr.c: Print length instead of position.
19289 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
19291         [BZ #16611]
19292         * sysdeps/unix/sysv/linux/kernel-features.h
19293         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
19294         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
19295         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
19296         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
19297         Likewise.
19298         [__i386__ || __powerpc__ || __sh__ || __sparc__]
19299         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19300         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
19301         (__ASSUME_SENDMMSG): Define instead of using previous
19302         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
19303         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19304         (__ASSUME_SENDMMSG_SYSCALL): Define.
19305         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19306         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
19307         Likewise.
19308         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19309         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19310         Likewise.
19311         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19312         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19313         Likewise.
19314         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
19315         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19316         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19317         [__ASSUME_SENDMMSG]: Change conditionals to
19318         [__ASSUME_SENDMMSG_SOCKETCALL].
19319         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19320         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
19321         Define.
19322         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19323         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
19324         Likewise.
19325         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
19326         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
19327         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
19328         [!__ASSUME_SENDMMSG]: Change conditional to
19329         [!__ASSUME_SENDMMSG_SOCKETCALL].
19330         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19331         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
19332         Define.
19334         [BZ #16610]
19335         * sysdeps/unix/sysv/linux/kernel-features.h
19336         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
19337         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
19338         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
19339         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
19340         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
19341         [__i386__ || __sparc__]
19342         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19343         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
19344         (__ASSUME_RECVMMSG): Define instead of using previous
19345         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
19346         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19347         (__ASSUME_RECVMMSG_SYSCALL): Define.
19348         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19349         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19350         Likewise.
19351         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19352         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19353         Likewise.
19354         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19355         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19356         Likewise.
19357         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
19358         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19359         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19360         [__ASSUME_RECVMMSG]: Change condition to
19361         [__ASSUME_RECVMMSG_SOCKETCALL].
19362         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19363         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19364         Define.
19365         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
19366         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19367         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
19368         Likewise.
19369         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
19370         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
19371         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
19372         [!__ASSUME_RECVMMSG]: Change condition to
19373         [!__ASSUME_RECVMMSG_SOCKETCALL].
19374         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19375         (__ASSUME_RECVMMSG_SYSCALL): Define.
19377         [BZ #16609]
19378         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
19379         __powerpc__ || __s390__ || __sh__ || __sparc__]
19380         (__ASSUME_SOCKETCALL): Define.
19381         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
19382         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
19383         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
19384         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
19385         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
19386         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
19387         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
19388         (__ASSUME_ACCEPT4): Define instead of using previous
19389         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
19390         __powerpc__ || __sparc__ || __s390__)] condition.
19391         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19392         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19393         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
19394         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19395         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19396         [!__ASSUME_ACCEPT4]: Change condition to
19397         [!__ASSUME_ACCEPT4_SOCKETCALL].
19398         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19399         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
19400         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
19401         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19402         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
19403         __ASSUME_ACCEPT4_SYSCALL.
19404         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
19405         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
19406         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
19407         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
19408         __ASSUME_ACCEPT4_SYSCALL.
19409         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
19410         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
19411         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
19412         [__ASSUME_ACCEPT4]: Change condition to
19413         [__ASSUME_ACCEPT4_SOCKETCALL].
19414         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19415         (__ASSUME_SOCKETCALL): Define.
19416         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
19417         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19418         (__ASSUME_SOCKETCALL): Define.
19419         (__ASSUME_ACCEPT4): Remove.
19420         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
19421         Define.
19422         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19423         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
19424         Likewise.
19425         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19426         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
19428         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
19429         macro.
19430         (HWCAP_ARM_LPAE): Likewise.
19431         (HWCAP_ARM_EVTSTRM): Likewise.
19432         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
19433         Add vpfd32, lpae and evtstrm.
19434         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
19435         Increase to 22.
19437 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
19439         * math/auto-libm-test-in: Add tests of clog10.
19440         * math/auto-libm-test-out: Regenerated.
19441         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
19442         * sysdeps/i386/fpu/libm-test-ulps: Update.
19443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19445 2014-02-18  Andreas Schwab  <schwab@suse.de>
19447         [BZ #16574]
19448         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
19449         Store non-zero if the second buffer was newly allocated.
19450         (send_dg): Likewise.
19451         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
19452         to send_vc and send_dg.
19453         (res_nsend): Pass NULL for ansp2_malloced.
19454         * resolv/res_query.c (__libc_res_nquery): Add parameter
19455         answerp2_malloced and pass it down to __libc_res_nsend.
19456         (res_nquery): Pass additional NULL to __libc_res_nquery.
19457         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
19458         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
19459         second answer buffer if answerp2_malloced was set.
19460         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
19461         (__libc_res_nquerydomain): Add parameter
19462         answerp2_malloced and pass it down to __libc_res_nquery.
19463         (res_nquerydomain): Pass additional NULL to
19464         __libc_res_nquerydomain.
19465         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
19466         additional NULL to __libc_res_nsend and __libc_res_nquery.
19467         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
19468         additional NULL to __libc_res_nsearch.
19469         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
19470         parameter of __libc_res_nsearch to check for separately allocated
19471         second buffer.
19472         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
19473         __libc_res_nquery.
19474         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
19475         additional NULL to __libc_res_nquery.
19476         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
19477         __libc_res_nsearch.
19478         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
19479         * include/resolv.h: Update prototypes of __libc_res_nquery,
19480         __libc_res_nsearch, __libc_res_nsend.
19482 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
19484         * math/auto-libm-test-in: Add tests of fma.
19485         * math/auto-libm-test-out: Regenerated.
19486         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
19487         (fma_towardzero_test_data): Likewise.
19488         (fma_downward_test_data): Likewise.
19489         (fma_upward_test_data): Likewise.
19490         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
19491         mpc_mode.
19492         (rounding_modes): Add values for new field.
19493         (func_calc_method): Add value mpfr_fff_f.
19494         (func_calc_desc): Add mpfr_fff_f union field.
19495         (test_function): Add field exact_args.
19496         (FUNC): Add macro argument EXACT_ARGS.
19497         (FUNC_mpfr_f_f): Update call to FUNC.
19498         (FUNC_mpfr_f_f): Likewise.
19499         (FUNC_mpfr_ff_f): Likewise.
19500         (FUNC_mpfr_if_f): Likewise.
19501         (FUNC_mpc_c_f): Likewise.
19502         (FUNC_mpc_c_c): Likewise.
19503         (test_functions): Add fma.  Update calls to FUNC.
19504         (handle_input_arg): Add argument exact_args.
19505         (add_test): Update call to handle_input_arg.
19506         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
19507         (output_for_one_input_case): Update call to calc_generic_results.
19508         Recalculate exact zero results in each rounding mode.
19510         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
19511         non-negative before setting low bit.
19512         * math/auto-libm-test-in: Mark one asin test possibly having
19513         spurious underflow.
19514         * math/auto-libm-test-out: Regenerated.
19515         * sysdeps/i386/fpu/libm-test-ulps: Update.
19516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19518 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
19520         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
19521         * sysdeps/unix/sysv/linux/microblaze: Move directory from
19522         ports/sysdeps/unix/sysv/linux/microblaze.
19523         * README: Add missing listing for microblaze*-*-linux-gnu.
19525 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
19527         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
19528         duplicate code
19530 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
19532         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
19533         * sysdeps/unix/sysv/linux/ia64: Move directory from
19534         ports/sysdeps/unix/sysv/linux/ia64.
19535         * README: Update listing for ia64-*-linux-gnu.
19537 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
19538             Joseph Myers  <joseph@codesourcery.com>
19540         * Makeconfig (test-name): New variable.
19541         (evaluate-test): Likewise.
19542         * Makerules (do-test-clean): Remove .test-result files.
19543         (common-mostlyclean): Likewise.
19544         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
19545         * scripts/evaluate-test.sh: New file.
19547 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
19549         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
19550         separate $(objpfx)tst-fopenloc-cmp.out and
19551         $(objpfx)tst-fopenloc-mem.out targets.
19552         (tests): Update dependencies.
19553         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
19554         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
19555         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
19556         (tst-rxspencer-no-utf8-ARGS): New variable.
19557         (tst-rxspencer-no-utf8-ENV): Likewise.
19558         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
19559         instead of $(objpfx)tst-rxspencer-mem.
19560         ($(objpfx)tst-rxspencer-mem): Change target to
19561         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
19562         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
19563         * posix/tst-rxspencer-no-utf8.c: New file.
19565         * elf/Makefile ($(objpfx)order.out): Remove rule.
19566         [$(run-built-tests) = yes] (tests): Depend on
19567         $(objpfx)order-cmp.out.
19568         ($(objpfx)order-cmp.out): New rule.
19569         [$(run-built-tests) = yes] (tests): Depend on
19570         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
19571         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
19572         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
19573         $(objpfx)tst-array5-static-cmp.out.
19574         ($(objpfx)tst-array1.out): Remove rule.
19575         ($(objpfx)tst-array1-cmp.out): New rule.
19576         ($(objpfx)tst-array1-static.out): Remove rule.
19577         ($(objpfx)tst-array1-static-cmp.out): New rule.
19578         ($(objpfx)tst-array2.out): Remove rule.
19579         ($(objpfx)tst-array2-cmp.out): New rule.
19580         ($(objpfx)tst-array3.out): Remove rule.
19581         ($(objpfx)tst-array3-cmp.out): New rule.
19582         ($(objpfx)tst-array4.out): Remove rule.
19583         ($(objpfx)tst-array4-cmp.out): New rule.
19584         ($(objpfx)tst-array5.out): Remove rule.
19585         ($(objpfx)tst-array5-cmp.out): New rule.
19586         ($(objpfx)tst-array5-static.out): Remove rule.
19587         ($(objpfx)tst-array5-static-cmp.out): New rule.
19588         [$(run-built-tests) = yes] (tests): Depend on
19589         $(objpfx)order2-cmp.out.
19590         ($(objpfx)order2.out): Remove rule.
19591         ($(objpfx)order2-cmp.out): New rule.
19592         ($(objpfx)tst-initorder.out): Remove rule.
19593         [$(run-built-tests) = yes] (tests): Depend on
19594         $(objpfx)tst-initorder-cmp.out.
19595         ($(objpfx)tst-initorder-cmp.out): New rule.
19596         ($(objpfx)tst-initorder2.out): Remove rule.
19597         [$(run-built-tests) = yes] (tests): Depend on
19598         $(objpfx)tst-initorder2-cmp.out.
19599         ($(objpfx)tst-initorder2-cmp.out): New rule.
19600         [$(run-built-tests) = yes] (tests): Depend on
19601         $(objpfx)tst-unused-dep-cmp.out.
19602         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19603         ($(objpfx)tst-unused-dep-cmp.out): New rule.
19604         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19605         on $(objpfx)tst-setvbuf1-cmp.out.
19606         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19607         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19608         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19609         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19610         ($(objpfx)tst-svc.out): Remove rule.
19611         ($(objpfx)tst-svc-cmp.out): New rule.
19613 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
19615         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19616         * ctype/ctype.h [__USE_MISC]: Likewise.
19617         * dirent/dirent.h [__USE_MISC]: Likewise.
19618         * grp/grp.h [__USE_MISC]: Likewise.
19619         * io/fcntl.h [__USE_MISC]: Likewise.
19620         * io/sys/stat.h [__USE_MISC]: Likewise.
19621         * libio/stdio.h [__USE_MISC]: Likewise.
19622         * posix/unistd.h [__USE_MISC]: Likewise.
19623         * pwd/pwd.h [__USE_MISC]: Likewise.
19624         * stdlib.h [__USE_MISC]: Likewise.
19625         * string/bits/string2.h [__USE_MISC]: Likewise.
19626         * string/string.h [__USE_MISC]: Likewise.
19627         * time/time.h [__USE_MISC]: Likewise.
19629 2014-02-13  Andreas Schwab  <schwab@suse.de>
19631         [BZ #16574]
19632         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19633         second answer buffer if it was separately allocated.
19635 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
19637         * sysdeps/mips/math-tests.h: Include <features.h>.
19638         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19639         (ROUNDING_TESTS_long_double): Do not define.
19640         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19641         (EXCEPTION_TESTS_long_double): Likewise.
19642         * sysdeps/mips/mips64/libm-test-ulps: Update.
19644         * include/features.h (__USE_BSD): Remove macro definitions.
19645         (__USE_SVID): Likewise.
19646         (_BSD_SOURCE): Likewise.
19647         (_SVID_SOURCE): Likewise.
19648         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19649         from definition of _DEFAULT_SOURCE.
19650         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19651         [_DEFAULT_SOURCE].
19652         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19653         * bits/mman.h [__USE_BSD]: Likewise.
19654         * bits/termios.h [__USE_BSD]: Likewise.
19655         * bits/waitstatus.h [__USE_BSD]: Likewise.
19656         * ctype/ctype.h [__USE_SVID]: Likewise.
19657         * dirent/dirent.h [__USE_BSD]: Likewise.
19658         * grp/grp.h [__USE_SVID]: Likewise.
19659         [__USE_BSD]: Likewise.
19660         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19661         * io/fcntl.h [__USE_BSD]: Likewise.
19662         * io/ftw.h [__USE_BSD]: Likewise.
19663         * io/sys/stat.h [__USE_BSD]: Likewise.
19664         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19665         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19666         * libio/stdio.h [__USE_SVID]: Likewise.
19667         [__USE_BSD]: Likewise.
19668         * math/math.h [__USE_SVID]: Likewise.
19669         [__USE_BSD]: Likewise.
19670         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19671         * misc/bits/syslog.h [__USE_BSD]: Likewise.
19672         * misc/search.h [__USE_SVID]: Likewise.
19673         * misc/sys/mman.h [__USE_BSD]: Likewise.
19674         * misc/sys/syslog.h [__USE_BSD]: Likewise.
19675         * misc/sys/uio.h [__USE_BSD]: Likewise.
19676         * posix/bits/unistd.h [__USE_BSD]: Likewise.
19677         * posix/glob.h [__USE_BSD]: Likewise.
19678         * posix/regex.h [__USE_BSD]: Likewise.
19679         * posix/sys/types.h [__USE_BSD]: Likewise.
19680         [__USE_SVID]: Likewise.
19681         * posix/sys/utsname.h [__USE_SVID]: Likewise.
19682         * posix/sys/wait.h [__USE_BSD]: Likewise.
19683         [__USE_SVID]: Likewise.
19684         * posix/unistd.h [__USE_BSD]: Likewise.
19685         [__USE_SVID]: Likewise.
19686         * pwd/pwd.h [__USE_SVID]: Likewise.
19687         * resolv/netdb.h [__USE_BSD]: Likewise.
19688         * setjmp/setjmp.h [__USE_BSD]: Likewise.
19689         * signal/signal.h [__USE_BSD]: Likewise.
19690         [__USE_SVID]: Likewise.
19691         * socket/sys/socket.h [__USE_BSD]: Likewise.
19692         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19693         * stdlib/stdlib.h [__USE_BSD]: Likewise.
19694         [__USE_SVID]: Likewise.
19695         * string/bits/string2.h [__USE_BSD]: Likewise.
19696         [__USE_SVID]: Likewise.
19697         * string/bits/string3.h [__USE_BSD]: Likewise.
19698         * string/endian.h [__USE_BSD]: Likewise.
19699         * string/string.h [__USE_SVID]: Likewise.
19700         [__USE_BSD]: Likewise.
19701         * string/strings.h [__USE_BSD]: Likewise.
19702         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19703         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19704         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19705         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19706         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19707         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19708         Likewise.
19709         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19710         Likewise.
19711         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19712         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19713         Likewise.
19714         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19715         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19716         Likewise.
19717         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19718         Likewise.
19719         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19720         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19721         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19722         Likewise.
19723         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19724         Likewise.
19725         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19726         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19727         * termios/termios.h [__USE_BSD]: Likewise.
19728         * time/sys/time.h [__USE_BSD]: Likewise.
19729         * time/time.h [__USE_BSD]: Likewise.
19730         [__USE_SVID]: Likewise.
19732         * Makefile (subdir_targets): Remove subdir_lint.out.
19734         * stdio-common/Makefile (do-tst-unbputc): Remove target.
19735         (do-tst-printf): Likewise.
19736         (tests): Depend directly on $(objpfx)tst-unbputc.out and
19737         $(objpfx)tst-printf.out.
19739         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19741         * Makerules (check-abi-%): Change target to
19742         $(objpfx)check-abi-%.out.
19743         (check-abi target): Update dependencies.
19744         (check-abi-pattern variable): Redirect output of diff to $@.
19745         (check-abi variable): Likewise.
19746         * elf/Makefile (check-abi): Update dependencies.
19748         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19749         unused.
19750         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19751         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19752         subnormal range.
19753         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19754         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19755         value has largest subnormal exponent.
19756         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19757         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19758         * sysdeps/aarch64/soft-fp/sfp-machine.h
19759         (_FP_TININESS_AFTER_ROUNDING): New macro.
19760         * sysdeps/alpha/soft-fp/sfp-machine.h
19761         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19762         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19763         Likewise.
19764         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19765         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19766         * sysdeps/mips/soft-fp/sfp-machine.h
19767         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19768         * sysdeps/powerpc/soft-fp/sfp-machine.h
19769         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19770         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19771         Likewise.
19772         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19773         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19774         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19775         (_FP_TININESS_AFTER_ROUNDING): Likewise.
19776         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19777         Likewise.
19779 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
19781         [BZ #16545]
19782         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19783         model 1.
19785 2014-02-12  Richard Henderson  <rth@redhat.com>
19787         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
19788         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19789         * sysdeps/unix/sysv/linux/alpha: Move directory from
19790         ports/sysdeps/unix/sysv/linux/alpha.
19791         * README: Update listing for alpha-*-linux-gnu.
19793 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
19795         * include/features.h: Update comment documenting feature test
19796         macros.
19797         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
19798         _DEFAULT_SOURCE.
19799         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19800         (_SVID_SOURCE): Likewise.
19801         (_DEFAULT_SOURCE): Update description of default features.
19802         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19803         with _GNU_SOURCE.
19804         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19805         (S_ISVTX): Likewise.
19806         * manual/math.texi (Mathematical Constants): Likewise.
19807         * manual/signal.texi (Interrupted Primitives): Likewise.
19808         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19809         * math/test-matherr.c (_SVID_SOURCE): Do not define.
19810         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19811         Don't refer to _SVID_SOURCE in warning text.
19813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19815         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19816         already defined.
19817         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19818         * sysdeps/mips/dl-lookup.c: Remove.
19819         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19821 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19823         [BZ #16447]
19824         * math/auto-libm-test-in: Add testcase for expl.
19825         * math/auto-libm-test-out: Regenerate.
19826         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19827         calculation of unsafe.
19828         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19830 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19832         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19833         * sysdeps/unix/sysv/linux/aarch64: Move directory from
19834         ports/sysdeps/unix/sysv/linux/aarch64.
19835         * README: Update listing for aarch64*-*-linux-gnu.
19837 2014-02-11  Will Newton  <will.newton@linaro.org>
19839         * manual/probes.texi (Mathematical Function Probes): Use
19840         "triggered" instead of "hit".
19842         * manual/probes.texi (Internal Probes): Add documentation
19843         of setjmp, longjmp and longjmp_target probes.
19845         * include/stap-probe.h: Add comment about probe argument
19846         format.
19848         * malloc/mtrace.c (attribute_hidden): Remove unused macro
19849         definition.  (tr_where, tr_freehook, tr_mallochook,
19850         tr_reallochook, tr_memalignhook): Use ANSI protoype.
19852 2014-02-11  David S. Miller  <davem@davemloft.net>
19854         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19855         processing int_tests.
19857 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
19859         * sysdeps/mips: Move directory from ports/sysdeps/mips.
19860         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19861         * sysdeps/unix/sysv/linux/mips: Move directory from
19862         ports/sysdeps/unix/sysv/linux/mips.
19863         * README: Update listing for mips-*-linux-gnu and
19864         mips64-*-linux-gnu.
19866 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
19868         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19869         * sysdeps/unix/sysv/linux/m68k: Move directory from
19870         ports/sysdeps/unix/sysv/linux/m68k.
19871         * README: Update listing for m68k-*-linux-gnu.
19873 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
19875         * sysdeps/tile: Move directory from ports/sysdeps/tile.
19876         * sysdeps/unix/sysv/linux/generic: Move directory from
19877         ports/sysdeps/unix/sysv/linux/generic.
19878         * sysdeps/unix/sysv/linux/tile: Move directory from
19879         ports/sysdeps/unix/sysv/linux/tile.
19880         * README: Update listing for tile*-*-linux-gnu.
19882 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
19884         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19885         __builtin_expect.
19886         * benchtests/bench-memmem.c (simple_memmem): Likewise.
19887         * catgets/open_catalog.c (__open_catalog): Likewise.
19888         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19889         * debug/confstr_chk.c: Likewise.
19890         * debug/fread_chk.c (__fread_chk): Likewise.
19891         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19892         * debug/getgroups_chk.c: Likewise.
19893         * debug/mbsnrtowcs_chk.c: Likewise.
19894         * debug/mbsrtowcs_chk.c: Likewise.
19895         * debug/mbstowcs_chk.c: Likewise.
19896         * debug/memcpy_chk.c: Likewise.
19897         * debug/memmove_chk.c: Likewise.
19898         * debug/mempcpy_chk.c: Likewise.
19899         * debug/memset_chk.c: Likewise.
19900         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19901         * debug/strcat_chk.c (__strcat_chk): Likewise.
19902         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19903         * debug/strncat_chk.c (__strncat_chk): Likewise.
19904         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19905         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19906         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19907         * debug/wcpncpy_chk.c: Likewise.
19908         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19909         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19910         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19911         * debug/wcsncpy_chk.c: Likewise.
19912         * debug/wcsnrtombs_chk.c: Likewise.
19913         * debug/wcsrtombs_chk.c: Likewise.
19914         * debug/wcstombs_chk.c: Likewise.
19915         * debug/wmemcpy_chk.c: Likewise.
19916         * debug/wmemmove_chk.c: Likewise.
19917         * debug/wmempcpy_chk.c: Likewise.
19918         * debug/wmemset_chk.c: Likewise.
19919         * dirent/scandirat.c (SCANDIRAT): Likewise.
19920         * dlfcn/dladdr1.c (dladdr1): Likewise.
19921         * dlfcn/dladdr.c (dladdr): Likewise.
19922         * dlfcn/dlclose.c (dlclose_doit): Likewise.
19923         * dlfcn/dlerror.c (__dlerror): Likewise.
19924         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19925         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19926         * dlfcn/dlopen.c (dlopen_doit): Likewise.
19927         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19928         * dlfcn/dlsym.c (dlsym_doit): Likewise.
19929         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19930         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19931         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19932         Likewise.
19933         * elf/dl-conflict.c: Likewise.
19934         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19935         * elf/dl-dst.h: Likewise.
19936         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19937         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19938         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19939         * elf/dl-init.c (call_init, _dl_init): Likewise.
19940         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
19941         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19942         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19943         Likewise.
19944         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19945         Likewise.
19946         * elf/dl-minimal.c (__libc_memalign): Likewise.
19947         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19948         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19949         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19950         * elf/dl-sym.c (do_sym): Likewise.
19951         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19952         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
19953         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19954         * elf/dl-writev.h (_dl_writev): Likewise.
19955         * elf/ldconfig.c (search_dir): Likewise.
19956         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19957         (dl_main): Likewise.
19958         * elf/setup-vdso.h (setup_vdso): Likewise.
19959         * grp/compat-initgroups.c (compat_call): Likewise.
19960         * grp/fgetgrent.c (fgetgrent): Likewise.
19961         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19962         * grp/putgrent.c (putgrent): Likewise.
19963         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19964         Likewise.
19965         * hurd/hurdinit.c: Likewise.
19966         * iconvdata/8bit-gap.c (struct): Likewise.
19967         * iconvdata/ansi_x3.110.c : Likewise.
19968         * iconvdata/big5.c : Likewise.
19969         * iconvdata/big5hkscs.c : Likewise.
19970         * iconvdata/cp1255.c: Likewise.
19971         * iconvdata/cp1258.c : Likewise.
19972         * iconvdata/cp932.c : Likewise.
19973         * iconvdata/euc-cn.c: Likewise.
19974         * iconvdata/euc-jisx0213.c : Likewise.
19975         * iconvdata/euc-jp.c: Likewise.
19976         * iconvdata/euc-jp-ms.c : Likewise.
19977         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19978         * iconvdata/gb18030.c : Likewise.
19979         * iconvdata/gbbig5.c (const): Likewise.
19980         * iconvdata/gbgbk.c: Likewise.
19981         * iconvdata/gbk.c : Likewise.
19982         * iconvdata/ibm1364.c : Likewise.
19983         * iconvdata/ibm930.c : Likewise.
19984         * iconvdata/ibm932.c: Likewise.
19985         * iconvdata/ibm933.c : Likewise.
19986         * iconvdata/ibm935.c : Likewise.
19987         * iconvdata/ibm937.c : Likewise.
19988         * iconvdata/ibm939.c : Likewise.
19989         * iconvdata/ibm943.c: Likewise.
19990         * iconvdata/iso_11548-1.c: Likewise.
19991         * iconvdata/iso-2022-cn.c : Likewise.
19992         * iconvdata/iso-2022-cn-ext.c : Likewise.
19993         * iconvdata/iso-2022-jp-3.c: Likewise.
19994         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19995         * iconvdata/iso-2022-kr.c : Likewise.
19996         * iconvdata/iso646.c (gconv_end): Likewise.
19997         * iconvdata/iso_6937-2.c : Likewise.
19998         * iconvdata/iso_6937.c : Likewise.
19999         * iconvdata/iso8859-1.c: Likewise.
20000         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20001         * iconvdata/shift_jisx0213.c : Likewise.
20002         * iconvdata/sjis.c : Likewise.
20003         * iconvdata/t.61.c : Likewise.
20004         * iconvdata/tcvn5712-1.c : Likewise.
20005         * iconvdata/tscii.c: Likewise.
20006         * iconvdata/uhc.c : Likewise.
20007         * iconvdata/unicode.c (gconv_end): Likewise.
20008         * iconvdata/utf-16.c (gconv_end): Likewise.
20009         * iconvdata/utf-32.c (gconv_end): Likewise.
20010         * iconvdata/utf-7.c (base64): Likewise.
20011         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20012         * iconv/gconv_close.c (__gconv_close): Likewise.
20013         * iconv/gconv_open.c (__gconv_open): Likewise.
20014         * iconv/gconv_simple.c (internal_ucs4_loop_single)
20015         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20016         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20017         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20018         (ucs4le_internal_loop_single): Likewise.
20019         * iconv/iconv.c (iconv): Likewise.
20020         * iconv/iconv_close.c: Likewise.
20021         * iconv/loop.c (SINGLE): Likewise.
20022         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20023         * include/atomic.h: Likewise.
20024         * inet/inet6_option.c (option_alloc): Likewise.
20025         * intl/bindtextdom.c (set_binding_values): Likewise.
20026         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20027         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20028         * intl/localealias.c (read_alias_file): Likewise.
20029         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20030         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20031         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
20032         * libio/fmemopen.c (fmemopen): Likewise.
20033         * libio/iofgets.c (_IO_fgets): Likewise.
20034         * libio/iofgets_u.c (fgets_unlocked): Likewise.
20035         * libio/iofgetws.c (fgetws): Likewise.
20036         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20037         * libio/iogetdelim.c (_IO_getdelim): Likewise.
20038         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20039         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
20040         * locale/findlocale.c (_nl_find_locale): Likewise.
20041         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20042         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20043         Likewise.
20044         * locale/setlocale.c (setlocale): Likewise.
20045         * login/programs/pt_chown.c (main): Likewise.
20046         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20047         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
20048         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20049         (mmap, mmap64, mremap, munmap): Likewise.
20050         * math/e_exp2l.c: Likewise.
20051         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20052         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20053         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20054         * math/s_catan.c (__catan): Likewise.
20055         * math/s_catanf.c (__catanf): Likewise.
20056         * math/s_catanh.c (__catanh): Likewise.
20057         * math/s_catanhf.c (__catanhf): Likewise.
20058         * math/s_catanhl.c (__catanhl): Likewise.
20059         * math/s_catanl.c (__catanl): Likewise.
20060         * math/s_ccosh.c (__ccosh): Likewise.
20061         * math/s_ccoshf.c (__ccoshf): Likewise.
20062         * math/s_ccoshl.c (__ccoshl): Likewise.
20063         * math/s_cexp.c (__cexp): Likewise.
20064         * math/s_cexpf.c (__cexpf): Likewise.
20065         * math/s_cexpl.c (__cexpl): Likewise.
20066         * math/s_clog10.c (__clog10): Likewise.
20067         * math/s_clog10f.c (__clog10f): Likewise.
20068         * math/s_clog10l.c (__clog10l): Likewise.
20069         * math/s_clog.c (__clog): Likewise.
20070         * math/s_clogf.c (__clogf): Likewise.
20071         * math/s_clogl.c (__clogl): Likewise.
20072         * math/s_csin.c (__csin): Likewise.
20073         * math/s_csinf.c (__csinf): Likewise.
20074         * math/s_csinh.c (__csinh): Likewise.
20075         * math/s_csinhf.c (__csinhf): Likewise.
20076         * math/s_csinhl.c (__csinhl): Likewise.
20077         * math/s_csinl.c (__csinl): Likewise.
20078         * math/s_csqrt.c (__csqrt): Likewise.
20079         * math/s_csqrtf.c (__csqrtf): Likewise.
20080         * math/s_csqrtl.c (__csqrtl): Likewise.
20081         * math/s_ctan.c (__ctan): Likewise.
20082         * math/s_ctanf.c (__ctanf): Likewise.
20083         * math/s_ctanh.c (__ctanh): Likewise.
20084         * math/s_ctanhf.c (__ctanhf): Likewise.
20085         * math/s_ctanhl.c (__ctanhl): Likewise.
20086         * math/s_ctanl.c (__ctanl): Likewise.
20087         * math/w_pow.c: Likewise.
20088         * math/w_powf.c: Likewise.
20089         * math/w_powl.c: Likewise.
20090         * math/w_scalb.c (sysv_scalb): Likewise.
20091         * math/w_scalbf.c (sysv_scalbf): Likewise.
20092         * math/w_scalbl.c (sysv_scalbl): Likewise.
20093         * misc/error.c (error_tail): Likewise.
20094         * misc/pselect.c (__pselect): Likewise.
20095         * nis/nis_callback.c (__nis_create_callback): Likewise.
20096         * nis/nis_call.c (__nisfind_server): Likewise.
20097         * nis/nis_creategroup.c (nis_creategroup): Likewise.
20098         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
20099         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
20100         * nis/nis_getservlist.c (nis_getservlist): Likewise.
20101         * nis/nis_lookup.c (nis_lookup): Likewise.
20102         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
20103         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
20104         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
20105         * nis/nis_xdr.c (xdr_endpoint): Likewise.
20106         * nis/nss_compat/compat-grp.c (getgrent_next_file)
20107         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
20108         * nis/nss_compat/compat-initgroups.c (add_group)
20109         (internal_getgrent_r): Likewise.
20110         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
20111         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
20112         * nis/nss_compat/compat-spwd.c (getspent_next_file)
20113         (internal_getspnam_r): Likewise.
20114         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
20115         (_nss_nis_getaliasbyname_r): Likewise.
20116         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
20117         (_nss_nis_getntohost_r): Likewise.
20118         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
20119         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
20120         (_nss_nis_getgrgid_r): Likewise.
20121         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
20122         (internal_nis_gethostent_r, internal_gethostbyname2_r)
20123         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
20124         (_nss_nis_gethostbyname4_r): Likewise.
20125         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
20126         (initgroups_netid): Likewise.
20127         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
20128         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
20129         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
20130         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
20131         (_nss_nis_getprotobynumber_r): Likewise.
20132         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
20133         (_nss_nis_getsecretkey): Likewise.
20134         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
20135         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
20136         (_nss_nis_getpwuid_r): Likewise.
20137         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
20138         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
20139         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
20140         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
20141         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
20142         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
20143         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
20144         Likewise.
20145         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
20146         (_nss_nisplus_getntohost_r): Likewise.
20147         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
20148         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
20149         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
20150         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
20151         Likewise.
20152         * nis/nss_nisplus/nisplus-initgroups.c
20153         (_nss_nisplus_initgroups_dyn): Likewise.
20154         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
20155         (_nss_nisplus_getnetbyaddr_r): Likewise.
20156         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
20157         (_nss_nisplus_getprotobynumber_r): Likewise.
20158         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
20159         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
20160         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
20161         Likewise.
20162         * nis/nss_nisplus/nisplus-service.c
20163         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
20164         (_nss_nisplus_getservbyport_r): Likewise.
20165         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
20166         (_nss_nisplus_getspnam_r): Likewise.
20167         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
20168         Likewise.
20169         * nscd/aicache.c (addhstaiX): Likewise.
20170         * nscd/cache.c (cache_search, prune_cache): Likewise.
20171         * nscd/connections.c (register_traced_file, send_ro_fd)
20172         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
20173         (main_loop_epoll): Likewise.
20174         * nscd/grpcache.c (addgrbyX): Likewise.
20175         * nscd/hstcache.c (addhstbyX): Likewise.
20176         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20177         * nscd/mem.c (gc, mempool_alloc): Likewise.
20178         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
20179         (addinnetgrX): Likewise.
20180         * nscd/nscd-client.h (__nscd_acquire_maplock)
20181         (__nscd_drop_map_ref): Likewise.
20182         * nscd/nscd_getai.c (__nscd_getai): Likewise.
20183         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20184         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
20185         Likewise.
20186         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
20187         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
20188         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
20189         (__nscd_get_map_ref): Likewise.
20190         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
20191         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
20192         Likewise.
20193         * nscd/pwdcache.c (addpwbyX): Likewise.
20194         * nscd/selinux.c (preserve_capabilities): Likewise.
20195         * nscd/servicescache.c (addservbyX): Likewise.
20196         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
20197         * posix/fnmatch.c (fnmatch): Likewise.
20198         * posix/getopt.c (_getopt_internal_r): Likewise.
20199         * posix/glob.c (glob, glob_in_dir): Likewise.
20200         * posix/wordexp.c (exec_comm_child): Likewise.
20201         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
20202         (getanswer_r, gaih_getanswer_slice): Likewise.
20203         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
20204         * resolv/res_init.c: Likewise.
20205         * resolv/res_mkquery.c (res_nmkquery): Likewise.
20206         * resolv/res_query.c (__libc_res_nquery): Likewise.
20207         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
20208         Likewise.
20209         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
20210         * stdio-common/perror.c (perror): Likewise.
20211         * stdio-common/printf_fp.c (___printf_fp): Likewise.
20212         * stdio-common/tmpnam.c (tmpnam): Likewise.
20213         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20214         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
20215         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20216         Likewise.
20217         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20218         * stdlib/putenv.c (putenv): Likewise.
20219         * stdlib/setenv.c (__add_to_environ): Likewise.
20220         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20221         * stdlib/strtol_l.c (INTERNAL): Likewise.
20222         * string/memmem.c (memmem): Likewise.
20223         * string/strerror.c (strerror): Likewise.
20224         * string/strnlen.c (__strnlen): Likewise.
20225         * string/test-memmem.c (simple_memmem): Likewise.
20226         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
20227         * sunrpc/pm_getport.c (__get_socket): Likewise.
20228         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
20229         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
20230         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
20231         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
20232         Likewise.
20233         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20234         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20235         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
20236         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
20237         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
20238         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
20239         Likewise.
20240         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
20241         Likewise.
20242         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
20243         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
20244         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20245         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20246         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20247         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
20248         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20249         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
20250         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
20251         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
20252         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20253         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
20254         Likewise.
20255         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
20256         Likewise.
20257         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
20258         Likewise.
20259         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
20260         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20261         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
20262         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
20263         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20264         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
20265         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20266         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
20267         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
20268         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
20269         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
20270         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20271         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20272         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20273         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20274         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20275         Likewise.
20276         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
20277         Likewise.
20278         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
20279         Likewise.
20280         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
20281         Likewise.
20282         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20283         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20284         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
20285         Likewise.
20286         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
20287         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
20288         * sysdeps/posix/opendir.c (__opendirat): Likewise.
20289         * sysdeps/posix/sleep.c: Likewise.
20290         * sysdeps/posix/tempname.c: Likewise.
20291         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
20292         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20293         Likewise.
20294         * sysdeps/powerpc/powerpc32/dl-machine.h
20295         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
20296         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20297         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20298         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
20299         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
20300         Likewise.
20301         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
20302         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
20303         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20304         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
20305         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
20306         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
20307         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
20308         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
20309         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
20310         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
20311         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
20312         (elf_machine_lazy_rel): Likewise.
20313         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20314         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
20315         (elf_machine_lazy_rel): Likewise.
20316         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
20317         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
20318         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
20319         * sysdeps/unix/grantpt.c (grantpt): Likewise.
20320         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
20321         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
20322         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
20323         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
20324         Likewise.
20325         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20326         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20327         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
20328         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
20329         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20330         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20331         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
20332         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
20333         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
20334         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20335         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
20336         Likewise.
20337         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
20338         (__posix_fallocate64_l64): Likewise.
20339         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
20340         (posix_fallocate): Likewise.
20341         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20342         Likewise.
20343         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20344         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
20345         (getifaddrs_internal): Likewise.
20346         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
20347         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
20348         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
20349         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20350         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20351         (__posix_fallocate64_l64): Likewise.
20352         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20353         Likewise.
20354         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
20355         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
20356         (__get_clockfreq): Likewise.
20357         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
20358         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20359         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
20360         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20361         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20362         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
20363         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20364         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
20365         Likewise.
20366         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
20367         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
20368         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20369         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
20370         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
20371         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
20372         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
20373         Likewise.
20374         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20375         (posix_fallocate): Likewise.
20376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20377         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
20378         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
20379         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
20380         (elf_machine_rela, elf_machine_rela_relative)
20381         (elf_machine_lazy_rel): Likewise.
20382         * time/asctime.c (asctime_internal): Likewise.
20383         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
20384         * time/tzset.c (__tzset_parse_tz): Likewise.
20385         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20386         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
20387         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
20388         * wcsmbs/wcsmbsload.h: Likewise.
20390         [BZ #15894]
20391         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
20393         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
20394         (arena_get2): Remove THREAD_STATS conditionals.
20395         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
20396         (__malloc_stats, int): Likewise.
20398 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
20400         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
20401         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
20403         * manual/setjmp.texi: Fix typos/grammar errors.
20405         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
20406         Only return early when n is <= 0.  Delete unused return statement.
20408         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
20409         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
20410         * debug/tst-longjmp_chk3.c: New file.
20412         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
20413         (test_main): Replace code with set_fortify_handler call.
20414         * debug/test-strcpy_chk.c: Likewise.
20415         * debug/tst-chk1.c: Likewise.
20416         * debug/tst-longjmp_chk.c: Likewise.
20417         * test-skeleton.c: Include fcntl.h & paths.h
20418         (set_fortify_handler): Define.
20420         * debug/tst-longjmp_chk.c: Add header comment and include
20421         ../test-skeleton.c.
20422         (do_test): Mark static.
20423         (TEST_FUNCTION): Define.
20425         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
20426         (IP_PMTUDISC_INTERFACE): Likewise.
20427         (IP_MULTICAST_IF): Likewise.
20428         (IP_MULTICAST_TTL): Likewise.
20429         (IP_MULTICAST_LOOP): Likewise.
20430         (IP_ADD_MEMBERSHIP): Likewise.
20431         (IP_DROP_MEMBERSHIP): Likewise.
20432         (IP_UNBLOCK_SOURCE): Likewise.
20433         (IP_BLOCK_SOURCE): Likewise.
20434         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
20435         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
20436         (IP_MSFILTER): Likewise.
20437         (MCAST_JOIN_GROUP): Likewise.
20438         (MCAST_BLOCK_SOURCE): Likewise.
20439         (MCAST_UNBLOCK_SOURCE): Likewise.
20440         (MCAST_LEAVE_GROUP): Likewise.
20441         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20442         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20443         (MCAST_MSFILTER): Likewise.
20444         (IP_MULTICAST_ALL): Likewise.
20445         (IP_UNICAST_IF): Likewise.
20447         * timezone/Makefile: Delete $(have-ksh) check.
20448         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
20449         * timezone/tzselect.ksh: Add +x mode bits.
20451         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
20452         (ANON_INODE_FS_MAGIC): Likewise.
20453         (BDEVFS_MAGIC): Likewise.
20454         (BINFMTFS_MAGIC): Likewise.
20455         (BTRFS_TEST_MAGIC): Likewise.
20456         (CRAMFS_MAGIC_WEND): Likewise.
20457         (DEBUGFS_MAGIC): Likewise.
20458         (ECRYPTFS_SUPER_MAGIC): Likewise.
20459         (EXT3_SUPER_MAGIC): Likewise.
20460         (EXT4_SUPER_MAGIC): Likewise.
20461         (FUTEXFS_SUPER_MAGIC): Likewise.
20462         (HOSTFS_SUPER_MAGIC): Likewise.
20463         (HUGETLBFS_MAGIC): Likewise.
20464         (MINIX3_SUPER_MAGIC): Likewise.
20465         (MTD_INODE_FS_MAGIC): Likewise.
20466         (NILFS_SUPER_MAGIC): Likewise.
20467         (OPENPROM_SUPER_MAGIC): Likewise.
20468         (PIPEFS_MAGIC): Likewise.
20469         (PSTOREFS_MAGIC): Likewise.
20470         (QNX6_SUPER_MAGIC): Likewise.
20471         (RAMFS_MAGIC): Likewise.
20472         (REISERFS_SUPER_MAGIC_STRING): Likewise.
20473         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
20474         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
20475         (SECURITYFS_MAGIC): Likewise.
20476         (SELINUX_MAGIC): Likewise.
20477         (SMACK_MAGIC): Likewise.
20478         (SOCKFS_MAGIC): Likewise.
20479         (SQUASHFS_MAGIC): Likewise.
20480         (STACK_END_MAGIC): Likewise.
20481         (TMPFS_MAGIC): Likewise.
20482         (USBDEVICE_SUPER_MAGIC): Likewise.
20483         (V9FS_MAGIC): Likewise.
20484         (XENFS_SUPER_MAGIC): Likewise.
20485         (CRAMFS_MAGIC): Fix typo in comment.
20486         (EXT2_SUPER_MAGIC): Update comment.
20487         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
20489 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
20491         * sysdeps/arm: Move directory from ports/sysdeps/arm.
20492         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
20493         * sysdeps/unix/sysv/linux/arm: Move directory from
20494         ports/sysdeps/unix/sysv/linux/arm.
20495         * README: Update listing for arm-*-linux-gnueabi.
20497         * README: Remove mention of am33.
20499 2014-02-07  Roland McGrath  <roland@hack.frob.com>
20501         * bits/sigset.h (__sigemptyset): Use a statement expression rather
20502         than the comma operator, to avoid "rhs of comma has no effect"
20503         compiler warnings.
20504         (__sigfillset, __sigandset, __sigorset): Likewise.
20505         * include/signal.h (__sigemptyset): Likewise.
20506         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
20508 2014-02-07  Allan McRae  <allan@archlinux.org>
20510         * version.h (RELEASE): Set to "development".
20511         (VERSION): Set to "2.19.90"
20512         * NEWS: Add 2.20 section.
20514 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
20516         [BZ #16529]
20517         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
20519 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20521         * manual/contrib.texi: Update entry for Carlos O'Donell,
20522         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
20524 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
20526         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
20528         * sysdeps/unix/sysv/linux/kernel-features.h
20529         [__LINUX_KERNEL_VERSION >= 0x020621]
20530         (__ASSUME_PROC_PID_TASK_COMM): Define.
20532 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20534         [BZ #16398]
20535         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
20536         conversion when destination buffer does not have enough space.
20537         * libio/tst-ftell-partial-wide.c: New test case.
20538         * libio/Makefile (tests): Add tst-ftell-partial-wide.
20540         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
20541         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
20542         Leonard and Allan McRae.
20544 2014-02-04  David S. Miller  <davem@davemloft.net>
20546         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
20547         32-bit.
20549 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
20552         New file
20553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20554         New file
20555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20556         New file.
20557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20558         New file.
20559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20560         New file.
20561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20562         New file.
20563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20564         New file.
20565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20566         New file.
20567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20568         New file.
20569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20570         New file.
20571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20572         New file.
20573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20574         New file.
20575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20576         New file.
20578 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20580         * nptl/shlib-versions: Change powerpc*le start to 2.17.
20581         * shlib-versions: Likewise.
20583 2014-02-04  Roland McGrath  <roland@hack.frob.com>
20584             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20586         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
20587         (abilist-pattern): New variable, set to %-le.abilist.
20589         * Makerules (abilist-pattern): New variable.
20590         (vpath): Use $(abilist-pattern) in place of %.abilist.
20591         (check-abi-% pattern rule): Likewise.
20592         (check-abi, update-abi): Likewise.
20594 2014-02-04  Eric Wong  <normalperson@yhbt.net>
20596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20598 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
20600         * manual/startup.texi: Add next, previous, and top entries for
20601         the `Program Arguments' and `Environment Variables' nodes.
20603 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
20605         * manual/macros.texi: Add comments before MTASC-safety macros.
20607         * manual/users.texi: Document MTASC-safety properties.
20609         * manual/threads.texi (pthread_key_create, pthread_key_delete)
20610         (pthread_getspecific, pthread_setspecific): Format with
20611         @deftypefun, and add @safety note.
20612         * manual/signal.texi: Move comments that analyze the above
20613         functions to their home place.
20615 2014-02-03  Allan McRae  <allan@archlinux.org>
20617         * po/sl.po: Update Slovenian translation from translation project.
20619 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
20621         * manual/time.texi (timegm): Add missing blank after @c.
20622         Reported by Joseph Myers <joseph@codesourcery.com>.
20624 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
20626         * manual/check-safety.sh: New.
20627         * manual/Makefile ($(objpfx)stamp-summary): Run it.
20629         * manual/terminal.texi: Document MTASC-safety properties.
20631         * manual/filesys.texi: Document MTASC-safety properties.
20633         * manual/errno.texi: Document MTASC-safety properties.
20635         * manual/intro.texi: Document safety identifiers and
20636         conditionals.
20638         * manual/string.texi (wcstok): Fix prototype.
20639         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20641         * manual/time.texi: Document MTASC-safety properties.
20643         * manual/string.texi: Document MTASC-safety properties.
20645         * manual/threads.texi: Document MTASC-safety properties.
20647         * manual/stdio.texi: Document MTASC-safety properties.
20649         * manual/syslog.texi: Document MTASC-safety properties.
20651         * manual/sysinfo.texi: Document MTASC-safety properties.
20653         * manual/startup.texi: Document MTASC-safety properties.
20655         * manual/socket.texi: Document MTASC-safety properties.
20657         * manual/signal.texi: Document MTASC-safety properties.
20659 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
20661         * manual/setjmp.texi: Document MTASC-safety properties.
20663         * manual/search.texi: Document MTASC-safety properties.
20665         * manual/resource.texi: Document MTASC-safety properties.
20667         * manual/process.texi: Document MTASC-safety properties.
20669         * manual/platform.texi: Document MTASC-safety properties.
20671         * manual/pipe.texi: Document MTASC-safety properties.
20673         * manual/pattern.texi: Document MTASC-safety properties.
20675         * manual/message.texi: Document MTASC-safety properties.
20677         [BZ #12751]
20678         * manual/memory.texi: Document MTASC-safety properties.
20680         * manual/math.texi: Document MTASC-safety properties.
20682         * manual/locale.texi: Document MTASC-safety properties.
20684         * manual/llio.texi: Document MTASC-safety properties.
20686         * manual/libdl.texi: New.
20688         * manual/lang.texi: Document MTASC-safety properties.
20690         * manual/job.texi: Document MTASC-safety properties.
20692         * manual/getopt.texi: Document MTASC-safety properties.
20694         * manual/ctype.texi: Document MTASC-safety properties.
20696 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
20698         [BZ #16046]
20699         * csu/libc-tls.c (static_map): Remove variable.
20700         (__libc_setup_tls): Use main executable's link map for TLS data.
20701         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20702         casing for LM_ID_BASE and GL(dl_nns).
20703         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20704         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
20705         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20706         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20707         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20708         member.
20709         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20710         l_phnum members.
20712 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
20714         * manual/debug.texi: Document MTASC-safety properties.
20716 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
20718         [BZ #16510]
20719         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20720         of __x86_64__ when disabling x87 inline functions.
20722 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
20724         * manual/charset.texi: Document MTASC-safety properties.
20726         * manual/crypt.texi: Document MTASC-safety properties.
20728         * manual/conf.texi: Document MTASC-safety properties.
20730         * manual/arith.texi: Document MTASC-safety properties.
20732         * manual/argp.texi: Document MTASC-safety properties.
20734         * manual/macros.texi: Introduce macros to document multi
20735         thread, asynchronous signal and asynchronous cancellation
20736         safety properties.
20737         * manual/intro.texi: Introduce the properties themselves.
20739 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20741         * sysdeps/sh/sh4/Makefile: New file.
20743 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
20745         * math/gen-libm-test.pl ($srcdir): New variable.
20746         ($auto_input): Use it.
20748 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20750         [BZ #16506]
20751         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20752         access beyond array bounds when parsing netgroups file.
20754         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20755         the old buffer before realloc.
20757 2014-01-27  Allan McRae  <allan@archlinux.org>
20759         * po/fr.po: Update French translation from translation project.
20761 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20763         * sysdeps/sh/libm-test-ulps: Regenerate.
20765 2014-01-24  David S. Miller  <davem@davemloft.net>
20767         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20769 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20771         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20772         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20774 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20776         [BZ #16474]
20777         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20778         string pointers after reallocation.
20780 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20782         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20783         __SH4A__ instead of __SH_FPU_ANY__.
20785 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20787         * sysdeps/sh/fpu_control.h: New file.
20788         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20789         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20790         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20791         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20792         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20793         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20794         * sysdeps/sh/sys/ucontext.h: Remove.
20795         * sysdeps/sh/sys: Remove directory.
20797 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20799         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20800         s390/sys/ucontext.h.
20801         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20802         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20804 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
20806         [BZ #15605]
20807         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20809 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20811         [BZ#16431]
20812         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20813         Adjust the vDSO correctly for internal calls.
20814         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20816 2014-01-20  Allan McRae  <allan@archlinux.org>
20818         * po/ca.po: Update Catalan translation from translation project.
20820 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
20822         * sysdeps/s390/sotruss-lib.c: New file.
20824 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20826         [BZ#16430]
20827         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
20828         (__GI___gettimeofday): Alias for a different internal symbol to avoid
20829         local calls issues by not having a PLT stub required for IFUNC calls.
20830         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20832 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
20834         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20835         * math/test-fpucw-static.c: Likewise.
20837 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20839         [BZ #16453]
20840         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20842 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20844         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20845         implementation for powerpc.
20847 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
20849         [BZ #14782]
20850         * sysdeps/posix/system.c (__libc_system): Do not enable
20851         asynchronous cancellation.
20853 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20855         [BZ #16427]
20856         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20857         handling only for numbers special also in the IEEE case.
20859 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20861         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20863 2014-01-11  Allan McRae  <allan@archlinux.org>
20865         * po/bg.po: Update Bulgarian translation from translation project.
20867         * po/de.po: Update German translation from translation project.
20869 2014-01-10  Roland McGrath  <roland@hack.frob.com>
20871         * sysdeps/generic/gcc-compat.h: New file.
20873 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20875         * benchtests/asin-inputs: Correct slow inputs.
20876         * benchtests/acos-inputs: Likewise.
20878 2014-01-10  Allan McRae  <allan@archlinux.org>
20880         * po:sv.po: Update Swedish translation from translation project.
20882         * po/vi.po: Update Vietnamese translation from translation project.
20884         * po/eo.po: Update Esperanto translation from translation project.
20886         * po/cs.po: Update Czech translation from translation project.
20888         * po/nl.po: Update Dutch translation from translation project.
20890         * po/pl.po: Update Polish translation from translation project.
20892         * po/ru.po: Update Russian translation from translation project.
20894         * po/uk.po: Update Ukrainian translation from translation project.
20896 2014-01-08  Brooks Moses  <bmoses@google.com>
20898         * elf/dl-load.c: Fix comment typo.
20900 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
20902         * po/header.pot: Rename to...
20903         * po/pot.header: ... this.
20904         * po/Makefile: Use pot.header.
20906 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
20907             Maxim Kuvyrkov  <maxim@kugelworks.com>
20909         [BZ #16394]
20910         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20911         SRC and DEST against LEN.
20913 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20915         [BZ #16414]
20916         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20917         implementation.
20918         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20920 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20924 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
20926         [BZ #16408]
20927         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20928         for large positive arguments.
20930 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
20932         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20934         * math/auto-libm-test-in: Mark various tests with
20935         xfail-rounding:ldbl-128ibm.
20936         * math/auto-libm-test-out: Regenerated.
20938         [BZ #16407]
20939         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20940         Increase overflow threshold.
20942 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
20944         [BZ #14286]
20945         * stdio-common/vfprintf.c: Check for integer overflow.
20947 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20949         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20950         the first argument and return value of __tls_get_addr_internal.
20952 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20954         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20955         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20957 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20959         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20960         * sysdeps/s390/rtld-global-offsets.sym: New file.
20961         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20962         GLIBC_2.19 symbol.
20963         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20964         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20965         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20966         ... this.
20967         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20968         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20969         ... this.
20970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20971         Regenerate.
20972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20973         Regenerate.
20974         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20975         halfs of GPRs for high_gprs contexts.
20976         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20977         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
20978         field.
20979         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20980         uc_flags field.
20981         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20982         64 bit versions:
20983         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20984         for high GPRs (uc_high_gprs) and for future extensions
20985         (__reserved).
20986         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20987         for future extensions (__reserved).
20988         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20989         64 bit versions:
20990         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20991         SC_HIGHGPRS offset definition.
20992         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20993         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20995         * Versions.def: Add GLIBC_2.19 for libpthread.
20996         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20997         siglongjmp for libpthread with GLIBC_2.19 symver.
20998         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20999         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21000         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21001         * sysdeps/s390/__longjmp.c: New file.
21002         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21003         * sysdeps/s390/longjmp.c: New file.
21004         * sysdeps/s390/setjmp.S: New file.
21005         * sysdeps/s390/sigjmp.S: New file.
21006         * sysdeps/s390/v1-longjmp.c: New file.
21007         * sysdeps/s390/v1-setjmp.h: New file.
21008         * sysdeps/s390/v1-sigjmp.c: New file.
21009         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21010         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21011         GLIBC_2.19 version.
21012         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21013         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21014         versioned symbols for ____longjmp_chk.
21015         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21016         Likewise.
21017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21018         Regenerate.
21019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21020         Regenerate.
21021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21022         Regenerate.
21023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21024         Regenerate.
21025         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21026         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21027         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21028         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21029         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21030         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21031         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21032         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21033         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21034         * sysdeps/s390/rtld-__longjmp.c: New file.
21035         * sysdeps/s390/rtld-setjmp.S: New file.
21037 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
21039         [BZ #16400]
21040         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21041         Return -__logl (x) for small positive arguments without evaluating
21042         a polynomial.
21044 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
21046         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21047         Rename to ...
21048         (__ptrace_peeksiginfo_args): ... this.
21049         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21050         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21051         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21053 2014-01-06  Allan McRae  <allan@archlinux.org>
21055         * inet/netinet/in.h: Fix typo in comment.
21057 2014-01-05  Andreas Jaeger  <aj@suse.de>
21059         * sysdeps/i386/fpu/libm-test-ulps: Update.
21061 2014-01-05  Allan McRae  <allan@archlinux.org>
21063         * po/libc.pot: Regenerated.
21065         * malloc/memusagestat.c: Fix gettext call formatting.
21067 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
21069         * nscd/nscd.c: Improve usage() output.
21071 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
21073         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21074         * sysdeps/unix/sysv/linux/configure: Regenerated.
21075         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21076         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21078 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
21080         [BZ #16390]
21081         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21082         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21084 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21086         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
21087         extra tokens at end of #undef directive.
21088         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
21089         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
21090         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
21092 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
21094         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21096         * math/auto-libm-test-in: Mark various tests with
21097         xfail-rounding:ldbl-128ibm.
21098         * math/auto-libm-test-out: Regenerated.
21100 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
21102         [BZ #16386]
21103         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
21104         numbers with subnormal high part when calculating exponent.
21106         [BZ #16385]
21107         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
21108         fabs.
21110         [BZ #16384]
21111         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
21112         M_LN2l.
21113         (__ieee754_acoshl): Use __log1pl not __log1p.
21115 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
21117         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
21118         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
21119         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
21120         (grow_heap, heap_trim, _int_new_arena, get_free_list)
21121         (reused_arena, arena_get2): Convert to GNU style.
21122         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
21123         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
21124         (memalign_check, __malloc_set_state): Likewise.
21125         * malloc/mallocbug.c (main): Likewise.
21126         * malloc/malloc.c (__malloc_assert, malloc_init_state)
21127         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
21128         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
21129         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
21130         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
21131         (__posix_memalign, malloc_info): Likewise.
21132         * malloc/malloc.h: Likewise.
21133         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
21134         (mallochook, memalignhook, reallochook, mabort): Likewise.
21135         * malloc/mcheck.h: Likewise.
21136         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
21137         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
21138         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
21139         * malloc/morecore.c (__default_morecore): Likewise.
21140         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
21141         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
21142         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
21143         (print_and_abort): Likewise.
21144         * malloc/obstack.h: Likewise.
21145         * malloc/set-freeres.c (__libc_freeres): Likewise.
21146         * malloc/tst-mallocstate.c (main): Likewise.
21147         * malloc/tst-mtrace.c (main): Likewise.
21148         * malloc/tst-realloc.c (do_test): Likewise.
21150 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21152         [BZ #16366]
21153         * nscd/netgroupcache.c (do_notfound): New function.
21154         (addgetnetgrentX): Use it.
21156         [BZ # 16365]
21157         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
21158         NSS_STATUS_NOTFOUND.
21160 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
21162         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21165 2014-01-01  Allan McRae  <allan@archlinux.org>
21167         * scripts/update-copyrights: Update configure input file suffix.
21169         * NEWS: Update copyright year.
21170         * catgets/gencat.c: Likewise.
21171         * csu/version.c: Likewise.
21172         * debug/catchsegv.sh: Likewise.
21173         * debug/pcprofiledump.c: Likewise.
21174         * debug/xtrace.sh: Likewise.
21175         * elf/ldconfig.c: Likewise.
21176         * elf/ldd.bash.in: Likewise.
21177         * elf/pldd.c: Likewise.
21178         * elf/sotruss.ksh: Likewise.
21179         * elf/sprof.c: Likewise.
21180         * iconv/iconv_prog.c: Likewise.
21181         * iconv/iconvconfig.c: Likewise.
21182         * locale/programs/locale.c: Likewise.
21183         * locale/programs/localedef.c: Likewise.
21184         * login/programs/pt_chown.c: Likewise.
21185         * malloc/memusage.sh: Likewise.
21186         * malloc/memusagestat.c: Likewise.
21187         * malloc/mtrace.pl: Likewise.
21188         * manual/libc.texinfo: Likewise.
21189         * nscd/nscd.c: Likewise.
21190         * nss/getent.c: Likewise.
21191         * nss/makedb.c: Likewise.
21192         * posix/getconf.c: Likewise.
21193         * scripts/test-installation.pl: Likewise.
21195         * All files with FSF copyright notices: Update copyright dates
21196         using scripts/update-copyrights.
21197         * intl/plural.c: Regenerated.
21198         * locale/programs/charmap-kw.h: Likewise.
21199         * locale/programs/locfile-kw.h: Likewise.
21201 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
21203         * sysdeps/unix/sysv/linux/configure: Regenerated.
21204         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
21205         the linux/fanotify.h header.
21206         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
21207         HAVE_LINUX_FANOTIFY_H is defined.
21209 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21211         * benchtests/cos-inputs: New inputs.
21212         * benchtests/sin-inputs: Likewise.
21214         * benchtests/atan-inputs: New inputs. Fix name of multiple
21215         precision fallback inputs.
21217         * benchtests/atanh-inputs: New inputs.
21218         * benchtests/tanh-inputs: Likewise.
21220         * benchtests/acosh-inputs: New inputs.
21221         * benchtests/asinh-inputs: Likewise.
21223         * benchtests/cosh-inputs: New inputs.
21224         * benchtests/sinh-inputs: Likewise.
21226         * benchtests/acos-inputs: Add more inputs.
21227         * benchtests/asin-inputs: Likewise.
21229 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
21231         [BZ #16375]
21232         * manual/arith.texi: Fix spelling.
21233         * manual/charset.texi: Likewise.
21234         * manual/errno.texi: Likewise.
21235         * manual/filesys.texi: Likewise.
21236         * manual/lang.texi: Likewise.
21237         * manual/llio.texi: Likewise.
21238         * manual/locale.texi: Likewise.
21239         * manual/message.texi: Likewise.
21240         * manual/resource.texi: Likewise.
21241         * manual/search.texi: Likewise.
21242         * manual/setjmp.texi: Likewise.
21243         * manual/stdio.texi: Likewise.
21244         * manual/string.texi: Likewise.
21245         * manual/sysinfo.texi: Likewise.
21246         * manual/time.texi: Likewise.
21248 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
21250         * po/sl.po: New file.
21252 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
21254         * .gitignore: Add core/.gdbinit/.gdb_history.
21256 2013-12-27  Allan McRae  <allan@archlinux.org>
21258         [BZ #16369]
21259         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
21260         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
21262 2013-12-24  Brooks Moses  <bmoses@google.com>
21264         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
21265         all compilers that claim C++98 compliance, not just GCC.
21266         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21267         Likewise.
21269 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21271         * NEWS: Restore accidentally deleted bug-fix entries.
21273 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
21274             Ondřej Bílka  <neleai@seznam.cz>
21276         [BZ #15073]
21277         * malloc/malloc.c (_int_free): Perform sanity check only if we
21278         have_lock.
21280 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
21282         [BZ #12986]
21283         * manual/stdio.texi (String Input Conversions): Clarify that character
21284         classes are not supported.
21286 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21290 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
21292         [BZ #16337]
21293         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21294         Calculate results for small negative arguments directly rather
21295         than using reflection formula with special underflow handling.
21297         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
21298         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
21299         sysdeps/unix/bsd/bsd4.4/syscalls.list.
21300         (fchflags): Likewise.
21301         (revoke): Likewise.
21302         (setlogin): Likewise.
21303         (sigaltstack): Likewise.
21304         (wait4): Likewise.
21305         (sigblock): Remove.
21306         (sigsetmask): Likewise.
21307         (wait3): Likewise.
21308         (waitpid): Likewise.
21309         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
21310         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
21311         file.
21312         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
21313         * sysdeps/unix/bsd/Makefile: ... here.
21314         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
21315         * sysdeps/unix/bsd/Versions: ... here.
21316         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
21317         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
21318         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
21319         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
21320         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
21321         * sysdeps/unix/bsd/sigblock.c: ... here.
21322         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
21323         * sysdeps/unix/bsd/sigsetmask.c: ... here.
21324         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
21325         * sysdeps/unix/bsd/sigvec.c: ... here.
21326         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
21327         * sysdeps/unix/bsd/tcdrain.c: ... here.
21328         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
21329         * sysdeps/unix/bsd/tcgetattr.c: ... here.
21330         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
21331         * sysdeps/unix/bsd/tcsetattr.c: ... here.
21332         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
21333         * sysdeps/unix/bsd/wait.c: ... here.
21334         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
21335         * sysdeps/unix/bsd/wait3.c: ... here.
21336         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
21337         * sysdeps/unix/bsd/waitpid.c: ... here.
21339 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
21341         [BZ #16356]
21342         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
21343         round-to-nearest for [!USE_AS_EXPM1L].
21344         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
21345         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
21346         more tests of exp and exp10.  Expect some exp10 tests to miss
21347         exceptions or fail in directed rounding modes.
21348         * math/auto-libm-test-out: Regenerated.
21349         * math/libm-test.inc (exp10_tonearest_test_data): New array.
21350         (exp10_test_tonearest): New function.
21351         (exp10_towardzero_test_data): New array.
21352         (exp10_test_towardzero): New function.
21353         (exp10_downward_test_data): New array.
21354         (exp10_test_downward): New function.
21355         (exp10_upward_test_data): New array.
21356         (exp10_test_upward): New function.
21357         (main): Call the new functions.
21358         * sysdeps/i386/fpu/libm-test-ulps: Update.
21359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21361 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
21363         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21364         asinh, atan, atan2, atanh, cbrt, cos and cosh.
21365         * math/auto-libm-test-out: Regenerated.
21366         * math/libm-test.inc (acosh_test_data): Add more tests.
21367         (atanh_test_data): Likewise.
21368         (ceil_test_data): Likewise.
21369         (copysign_test_data): Likewise.
21370         * sysdeps/i386/fpu/libm-test-ulps: Update.
21371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21373         * timezone/checktab.awk: Update from tzcode 2013i.
21374         * timezone/private.h: Likewise.
21375         * timezone/scheck.c: Likewise.
21376         * timezone/tzfile.h: Likewise.
21377         * timezone/tzselect.ksh: Likewise.
21378         * timezone/zdump.c: Likewise.
21379         * timezone/zic.c: Likewise.
21381         * math/auto-libm-test-in: Add tests of cpow.
21382         * math/auto-libm-test-out: Regenerated.
21383         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
21384         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21385         mpc_cc_c.
21386         (func_calc_desc): Add mpc_cc_c union field.
21387         (test_functions): Add cpow.
21388         (special_fill_2pi): New function.
21389         (special_real_inputs): Add 2pi.
21390         (calc_generic_results): Handle mpc_cc_c.
21391         * sysdeps/i386/fpu/libm-test-ulps: Update.
21392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21394         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
21395         csqrt, ctan and ctanh.
21396         * math/auto-libm-test-out: Regenerated.
21397         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21398         (TEST_COND_x86): Likewise.
21399         (ccos_test_data): Use AUTO_TESTS_c_c.
21400         (ccosh_test_data): Likewise.
21401         (cexp_test_data): Likewise.
21402         (clog_test_data): Likewise.
21403         (csqrt_test_data): Likewise.
21404         (ctan_test_data): Likewise.
21405         (ctan_tonearest_test_data): Likewise.
21406         (ctan_towardzero_test_data): Likewise.
21407         (ctan_downward_test_data): Likewise.
21408         (ctan_upward_test_data): Likewise.
21409         (ctanh_test_data): Likewise.
21410         (ctanh_tonearest_test_data): Likewise.
21411         (ctanh_towardzero_test_data): Likewise.
21412         (ctanh_downward_test_data): Likewise.
21413         (ctanh_upward_test_data): Likewise.
21414         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21415         mpc_c_c.
21416         (func_calc_desc): Add mpc_c_c union field.
21417         (FUNC_mpc_c_c): New macro.
21418         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
21419         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
21420         ctanh.
21421         (special_fill_min_subnorm_p120): New function.
21422         (special_real_inputs): Add min_subnorm_p120.
21423         (calc_generic_results): Handle mpc_c_c.
21424         * sysdeps/i386/fpu/libm-test-ulps: Update.
21425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21427 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21429         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
21430         (do_sin_slow): New functions.
21431         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
21432         (cslow2, csloww1, csloww2): Use the new functions.
21434         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
21435         Use M to change sign of result instead of X.  Assume X is
21436         positive.
21437         (csloww1): Likewise.
21438         (__sin): Adjust.
21439         (__cos): Adjust.
21441         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
21442         arguments A and DA.
21443         (__sin): Adjust.
21444         (__cos): Likewise.
21446         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
21447         (__cos): Likewise.
21448         (sloww1): Don't adjust sign of DX.
21449         (csloww1): Likewise.
21450         (sloww2): Use X directly and don't adjust sign of DX.
21451         (csloww2): Likewise.
21453 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21455         * math/auto-libm-test-in: Add tests of cabs and carg.
21456         * math/auto-libm-test-out: Regenerated.
21457         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
21458         (carg_test_data): Likewise.
21459         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21460         mpc_c_f.
21461         (func_calc_desc): Add mpc_c_f union field.
21462         (test_functions): Add cabs and carg.
21463         (calc_generic_results): Handle mpc_c_f.
21465         * sysdeps/powerpc/powerpc32/libgcc-compat.S
21466         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
21467         as a macro and a compat symbol.
21468         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
21469         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
21470         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
21471         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
21472         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
21473         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
21474         not use .hidden.
21475         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
21476         Likewise.
21477         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
21478         Likewise.
21479         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
21480         Likewise.
21481         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
21482         Likewise.
21483         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
21484         Likewise.
21485         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
21486         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
21487         from GLIBC_2.3.2.
21489 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21493 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21495         * manual/texinfo.tex: Update to version 2013-11-26.10 with
21496         trailing whitespace removed.
21497         * scripts/config.guess: Update to version 2013-11-29.
21498         * scripts/config.sub: Update to version 2013-10-01.
21500         * math/auto-libm-test-in: Add tests of sincos.
21501         * math/auto-libm-test-out: Regenerated.
21502         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
21503         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21504         mpfr_f_11.
21505         (func_calc_desc): Add mpfr_f_11 union field.
21506         (test_functions): Add sincos.
21507         (calc_generic_results): Handle mpfr_f_11.
21508         * sysdeps/i386/fpu/libm-test-ulps: Update.
21509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21511 2013-12-19  Andreas Schwab  <schwab@suse.de>
21513         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
21514         CALL_MCOUNT.
21515         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21516         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
21517         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
21519 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
21521         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
21522         * sysdeps/i386/fpu/libm-test-ulps: Update.
21523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21525         [BZ #16293]
21526         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
21527         round-to-nearest mode when using frndint.
21528         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
21529         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21530         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21531         Likewise.
21532         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
21533         sinh test to fail.
21534         * math/auto-libm-test-out: Regenerated.
21535         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
21536         (TEST_COND_x86): Likewise.
21537         (expm1_tonearest_test_data): New array.
21538         (expm1_test_tonearest): New function.
21539         (expm1_towardzero_test_data): New array.
21540         (expm1_test_towardzero): New function.
21541         (expm1_downward_test_data): New array.
21542         (expm1_test_downward): New function.
21543         (expm1_upward_test_data): New array.
21544         (expm1_test_upward): New function.
21545         (main): Run the new test functions.
21546         * sysdeps/i386/fpu/libm-test-ulps: Update.
21547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21549         * include/features.h: Update comment documenting feature test
21550         macros.  Mention _DEFAULT_SOURCE in comment.
21551         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
21552         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
21553         _BSD_SOURCE and _SVID_SOURCE.
21554         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
21555         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
21556         !_SVID_SOURCE]: Likewise.
21557         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21558         (__USE_POSIX_IMPLICITLY): Define.
21559         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21560         (_POSIX_SOURCE): Undefine and redefine.
21561         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21562         (_POSIX_C_SOURCE): Likewise.
21563         * manual/creature.texi (_DEFAULT_SOURCE): Document.
21564         (Feature Test Macros): Update documentation of default features.
21566 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21568         * benchtests/Makefile: Add bench-strtok.
21569         * benchtests/bench-strtok.c: New file: strtok benchtest.
21571 2013-12-19  Allan McRae  <allan@archlinux.org>
21573         * manual/install.texi: Suppress menu for plain text output.
21574         * INSTALL: Regenerated.
21576 2013-12-18  Brooks Moses  <bmoses@google.com>
21578         [BZ #15846]
21579         * misc/getauxval.c: Include errno.h.
21580         (__getauxval): Set errno to ENOENT if the requested type is not
21581         found.
21582         * misc/sys/auxv.h (getauxval): Document that it may set errno;
21583         don't declare with __attribute_const__.
21584         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
21585         * manual/startup.texi: Document that getauxval sets errno.
21587 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
21589         * math/auto-libm-test-in: Add tests of jn and yn.
21590         * math/auto-libm-test-out: Regenerated.
21591         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
21592         (yn_test_data): Likewise.
21593         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21594         mpfr_if_f.
21595         (func_calc_desc): Add mpfr_if_f union field.
21596         (FUNC_mpfr_if_f): New macro.
21597         (test_functions): Add jn and yn.
21598         (calc_generic_results): Assert type of second input for
21599         mpfr_ff_f.  Handle mpfr_if_f.
21600         (output_for_one_input_case): Disable all checking for arguments
21601         fitting floating-point types in case of an integer argument.
21602         * sysdeps/i386/fpu/libm-test-ulps: Update.
21603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21606         Don't expect fegetround reference in libm.so.
21608 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21610         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21611         $(config-cflags-nofma).
21613 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
21615         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21616         * math/auto-libm-test-out: Regenerated.
21618         [BZ #16338]
21619         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21620         to determine exponent and adjust argument to have exponent of -1.
21621         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21622         log2.
21623         * math/auto-libm-test-out: Regenerated.
21624         * sysdeps/i386/fpu/libm-test-ulps: Update.
21625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21627 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
21629         * manual/probes.texi: Remove cases when per-thread arenas are
21630         disabled.
21632 2013-12-18  Andreas Schwab  <schwab@suse.de>
21634         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21635         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21636         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21637         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21638         * sysdeps/i386/i686/multiarch/Makefile: Update.
21639         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21641 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21643         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21644         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21646 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
21648         [BZ #15968]
21649         Support TZ transition times < 00:00:00.
21650         This is needed for version-3 tz-format files; it supports time
21651         stamps past 2037 for America/Godthab (the only entry in the tz
21652         database for which this change is relevant).
21653         * manual/time.texi (TZ Variable): Document transition times
21654         from -167:59:59 through -00:00:01.
21655         * time/tzset.c (tz_rule): Time of day is now signed.
21656         (__tzset_parse_tz): Parse negative time of day.
21658         Document TZ transition times >= 25:00:00.
21659         * manual/time.texi (TZ Variable): Document transition times from
21660         25:00:00 through 167:59:59.  These are already supported, and this
21661         support will help with version-3 tz-format files.
21663         * manual/time.texi (TZ Variable): Modernize North America example
21664         to reflect current (i.e., 2007-and-later) daylight saving rules.
21666         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21668 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21670         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21671         * sysdeps/unix/bsd/bits/stat.h: Likewise.
21672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21673         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21674         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21675         * sysdeps/unix/bsd/bsdstat.h: Likewise.
21676         * sysdeps/unix/bsd/clock.c: Likewise.
21677         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21678         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21679         * sysdeps/unix/bsd/init-posix.c: Likewise.
21680         * sysdeps/unix/bsd/poll.c: Likewise.
21681         * sysdeps/unix/bsd/ptsname.c: Likewise.
21682         * sysdeps/unix/bsd/seekdir.c: Likewise.
21683         * sysdeps/unix/bsd/setegid.c: Likewise.
21684         * sysdeps/unix/bsd/seteuid.c: Likewise.
21685         * sysdeps/unix/bsd/setgid.c: Likewise.
21686         * sysdeps/unix/bsd/setrgid.c: Likewise.
21687         * sysdeps/unix/bsd/setruid.c: Likewise.
21688         * sysdeps/unix/bsd/setsid.c: Likewise.
21689         * sysdeps/unix/bsd/setuid.c: Likewise.
21690         * sysdeps/unix/bsd/sigaction.c: Likewise.
21691         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21692         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21693         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21694         * sysdeps/unix/bsd/telldir.c: Likewise.
21695         * sysdeps/unix/bsd/times.c: Likewise.
21696         * sysdeps/unix/bsd/usleep.c: Likewise.
21698         * misc/Makefile (install-lib): Remove libbsd-compat.a.
21699         ($(objpfx)libbsd-compat.a): Remove rule.
21701         * include/features.h (__FAVOR_BSD): Do not define.
21702         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21703         features conflicting with POSIX.
21704         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21705         (_BSD_SOURCE): Remove description of not being a subset of other
21706         feature test macros.
21707         * manual/job.texi (getpgrp): Do not document BSD version.
21708         (getpgid): Do not document by reference to BSD getpgrp.
21709         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21710         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21711         * signal/signal.h [__FAVOR_BSD]: Likewise.
21712         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21713         instead of making contents conditional on [__FAVOR_BSD].
21714         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21716 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21720 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
21722         [BZ #16314]
21723         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21724         values below 2**-450, not 2**-500.
21725         * math/auto-libm-test-in: Don't allow spurious underflow from
21726         hypot.
21727         * math/auto-libm-test-out: Regenerated.
21729         [BZ #16316]
21730         [BZ #16330]
21731         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21732         values of ha and hb and sort them after adjusting subnormal
21733         arguments.
21734         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21735         Likewise.
21736         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21737         values of ea and eb and sort them after adjusting subnormal
21738         arguments.
21739         * math/auto-libm-test-in: Do not expect some hypot tests of
21740         subnormals to fail.  Add more hypot tests.
21741         * math/auto-libm-test-out: Regenerated.
21743 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21745         [BZ #13304]
21746         * sysdeps/sh/s_fma.c: New file.
21747         * sysdeps/sh/s_fmaf.c: New file.
21748         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
21749         version.
21750         * sysdeps/sh/Implies: Add sh/soft-fp.
21752 2013-12-16  Roland McGrath  <roland@hack.frob.com>
21754         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
21755         level of indirection to members `objname', `errstring', `malloced'.
21756         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21757         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
21758         it as the __longjmp argument (just pass 1 instead).
21759         (_dl_catch_error): Initialize C with argument pointers and address of
21760         volatile local ERRCODE rather than copying values out of C at return.
21762 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
21764         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21765         * math/auto-libm-test-out: Regenerated.
21766         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21767         (hypot_test_data): Likewise.
21768         (pow_test_data): Likewise.
21769         (pow_tonearest_test_data): Likewise.
21770         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21771         mpfr_ff_f.
21772         (func_calc_desc): Add mpfr_ff_f union field.
21773         (FUNC_mpfr_ff_f): New macro.
21774         (test_functions): Add atan2, hypot and pow.
21775         (special_fill_min): New function.
21776         (special_fill_minus_min): Likewise.
21777         (special_fill_min_subnorm): Likewise.
21778         (special_fill_minus_min_subnorm): Likewise.
21779         (special_real_inputs): Add min, -min, min_subnorm and
21780         -min_subnorm.
21781         (calc_generic_results): Handle mpfr_ff_f.
21782         * sysdeps/i386/fpu/libm-test-ulps: Update.
21783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21785 2013-12-16  Will Newton  <will.newton@linaro.org>
21787         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21788         (Aligned Memory Blocks): Add documentation for aligned_alloc
21789         and suggest it as an alternative to posix_memalign.
21790         (Hooks for Malloc): Document __memalign_hook is also called
21791         for aligned_alloc.  (Summary of Malloc): Add summary for
21792         aligned alloc.  Document __memalign_hook is also called
21793         for aligned_alloc.
21795 2013-12-16  Will Newton  <will.newton@linaro.org>
21797         * manual/memory.texi (Malloc Examples): Clarify default
21798         alignment documentation.  Suggest posix_memalign rather
21799         than memalign or valloc.
21800         (Aligned Memory Blocks): Remove suggestion to use memalign
21801         or valloc.  Remove obsolete comment about BSD.
21802         Document memalign errno values and mark the function obsolete.
21803         Document posix_memalign returned error codes.  Mark valloc
21804         as obsolete.  (Hooks for Malloc): __memalign_hook is also
21805         called for posix_memalign and valloc.
21806         (Summary of Malloc): Add posix_memalign to function summary.
21807         __memalign_hook is also called for posix_memalign and valloc.
21809 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21811         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21812         TAYLOR_SIN.
21813         (__sin): Adjust.
21814         (__cos): Likewise.
21815         (sloww): Use mynumber union.  Expand ternary operator into
21816         if-else statements.
21817         (cslow): use mynumber union.
21819 2013-12-16  Allan McRae  <allan@archlinux.org>
21821         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21822         * configure: Regenerated.
21824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21826         [BZ #14120]
21827         * configure.ac: Added --enable-maintainer-mode. Check for
21828         autoconf when enabled.
21829         * configure: Regenerated.
21831         * nscd/nscd.service: New file.
21832         * nscd/nscd.tmpfiles: New file.
21834 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
21836         [BZ #12100]
21837         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21838         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21839         * sysdeps/x86_64/multiarch/strstr.c: ... here.
21840         (strstr): Add __strstr_sse2_unaligned ifunc.
21841         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21842         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21843         (strcasestr): Remove __strcasestr_sse42 ifunc.
21844         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21846         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21848 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21850         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21851         * sysdeps/sh/bits/fenv.h: ... here.
21852         * sysdeps/sh/sh4/fpu/bits: Remove directory.
21854 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21856         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21859         hypotf multiarch implementations.
21860         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21861         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21862         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21863         multiarch hypot for PPC64.
21864         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21865         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21866         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21867         multiarch hypotf for PPC64.
21869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21870         modff multiarch implementations.
21871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21874         multiarch modf for PPC64.
21875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21878         multiarch modff for PPC64.
21880         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21881         and logl multiarch implementations.
21882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21885         multiarch logb for PPC64.
21886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21889         multiarch logb for PPC64.
21890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21893         multiarch logb for PPC64.
21895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21896         isinff multiarch implementation.
21897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21898         file.
21899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21901         multiarch isinf for PPC64.
21902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21903         file.
21904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21905         multiarch isinff for PPC64.
21907         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21908         finitef multiarch implementation.
21909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21910         file.
21911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21913         multiarch finite for PPC64.
21914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21915         file.
21916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21917         multiarch finitef for PPC64.
21919         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21920         lrint multiarch implementation.
21921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21922         file.
21923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21925         multiarch llrint for PPC64.
21926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21927         multiarch lrint for PPC64.
21929         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21930         copysignf multiarch implementation.
21931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21932         file.
21933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21934         file.
21935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21936         multiarch copysign for PPC64.
21937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21938         multiarch copysignf for PPC64.
21940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21941         multiarch implementation.
21942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21943         file.
21944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21945         file.
21946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21947         file.
21948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21949         file.
21950         multiarch llround for PPC64.
21951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21952         multiarch trunc for PPC64.
21953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21954         multiarch truncf for PPC64.
21956         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21957         multiarch implementation.
21958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21959         file.
21960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21961         file.
21962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21963         file.
21964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21965         file.
21966         multiarch llround for PPC64.
21967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21968         multiarch round for PPC64.
21969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21970         multiarch roundf for PPC64.
21972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21973         multiarch implementation.
21974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21975         file.
21976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21977         file.
21978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21979         file.
21980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21981         file.
21982         multiarch llround for PPC64.
21983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21984         multiarch floor for PPC64.
21985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21986         multiarch floorf for PPC64.
21988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21989         multiarch implementation.
21990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21991         file.
21992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21993         file.
21994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21995         file.
21996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21997         file.
21998         multiarch llround for PPC64.
21999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22000         multiarch ceil for PPC64.
22001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22002         multiarch ceilf for PPC64.
22004         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22005         multiarch implementation.
22006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22007         file.
22008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22009         file.
22010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22011         file.
22012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22013         multiarch llround for PPC64.
22014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22015         multiarch lround for PPC64.
22017         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22018         multiarch implementation.
22019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22022         file.
22023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22026         multiarch isnan for PPC64.
22027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22028         multiarch isnanf for PPC64.
22030         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22031         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22032         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22033         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22034         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22037         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22038         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22039         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22040         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22043         multiarch implementations.
22044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22045         (__libc_ifunc_impl_list): Likewise.
22046         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22047         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22048         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22049         multiarch stpcpy for PPC64.
22051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22052         multiarch implementations.
22053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22054         (__libc_ifunc_impl_list): Likewise.
22055         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22056         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22057         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22058         multiarch strcpy for PPC64.
22060         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22061         redefine function name.
22062         (_wordcopy_fwd_dest_aligned): Likewise.
22063         (_wordcopy_bwd_aligned): Likewise.
22064         (_wordcopy_bwd_dest_aligned): Likewise.
22065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22066         multiarch implementations.
22067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22068         (__libc_ifunc_impl_list): Likewise.
22069         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22070         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22071         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22072         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22073         multiarch wcscpy for PPC64.
22075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22076         multiarch implementations.
22077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22078         (__libc_ifunc_impl_list): Likewise.
22079         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22080         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22081         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22082         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22083         multiarch wcscpy for PPC64.
22085         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
22086         multiarch implementations.
22087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22088         (__libc_ifunc_impl_list): Likewise.
22089         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
22090         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
22091         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
22092         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
22093         multiarch wcsrchr for PPC64.
22095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
22096         multiarch implementations.
22097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22098         (__libc_ifunc_impl_list): Likewise.
22099         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
22100         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
22101         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
22102         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
22103         multiarch wcschr for PPC64.
22105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
22106         multiarch implementations.
22107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22108         (__libc_ifunc_impl_list): Likewise.
22109         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
22110         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
22111         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
22112         multiarch strchrnul for PPC64.
22114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
22115         implementations.
22116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22117         (__libc_ifunc_impl_list): Likewise.
22118         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
22119         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
22120         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
22121         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
22122         strchr for PPC64.
22124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
22125         implementations.
22126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22127         (__libc_ifunc_impl_list): Likewise.
22128         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
22129         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
22130         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
22131         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
22132         strncmp for PPC64.
22134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
22135         multiarch implementations.
22136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22137         (__libc_ifunc_impl_list): Likewise.
22138         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
22139         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
22140         strncasecmp for PPC64.
22141         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
22142         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
22143         multiarch strncasecmp_l for PPC64.
22145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
22146         multiarch implementations.
22147         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22148         (__libc_ifunc_impl_list): Likewise.
22149         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
22150         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
22151         multiarch strcasecmp for PPC64.
22152         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
22153         file.
22154         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
22155         multiarch strcasecmp_l for PPC64.
22157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
22158         implementations.
22159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22160         (__libc_ifunc_impl_list): Likewise.
22161         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
22162         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
22163         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
22164         strnlen for PPC64.
22166         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
22167         implementations.
22168         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22169         (__libc_ifunc_impl_list): Likewise.
22170         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
22171         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
22172         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
22173         strlen for PPC64.
22175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
22176         implementations.
22177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22178         (__libc_ifunc_impl_list): Likewise.
22179         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
22180         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
22181         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
22182         rawmemrchr for PPC64.
22184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
22185         implementation.
22186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22187         (__libc_ifunc_impl_list): Likewise.
22188         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
22189         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
22190         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
22191         memrchr for PPC64.
22193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
22194         implementation.
22195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22196         (__libc_ifunc_impl_list): Likewise.
22197         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
22198         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
22199         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
22200         memchr for PPC64.
22202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
22203         implementation.
22204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22205         (__libc_ifunc_impl_list): Likewise.
22206         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
22207         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
22208         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
22209         mempcpy for PPC64.
22211         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
22212         avoid cretion of __bzero symbol.
22213         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
22214         Likewise.
22215         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
22216         Likewise.
22217         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
22218         Likewise.
22219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
22220         multiarch implementations.
22221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22222         (__libc_ifunc_impl_list): Likewise.
22223         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
22224         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
22225         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
22226         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
22227         bzero for PPC32.
22228         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
22229         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22230         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
22231         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
22232         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
22233         memset for PPC64.
22234         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
22236         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
22237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
22238         implementations.
22239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22240         (__libc_ifunc_impl_list): Likewise.
22241         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
22242         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
22243         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
22244         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
22245         memcmp for PPC64.
22247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
22248         multiarch for POWER/PPC64.
22249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22250         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
22251         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
22252         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
22253         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
22254         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
22255         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
22256         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
22257         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
22258         memcpy for PPC64.
22260         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
22261         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
22262         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
22263         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
22264         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
22265         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
22266         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
22267         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
22268         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
22269         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
22270         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
22271         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
22272         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
22273         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
22274         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
22275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
22276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
22277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
22278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
22280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
22281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
22283 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22285         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
22287 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22289         * benchtests/Makefile (bench): Add exp2 and log2.
22290         (LDLIBS-bench-exp2): Add -lm.
22291         (LDLIBS-bench-log2): Likewise.
22292         * benchtests/exp2-inputs: New inputs file.
22293         * benchtests/log2-inputs: New inputs file.
22294         * benchtests/log-inputs: Add new inputs.
22295         * benchtests/tan-inputs: Likewise.
22297 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22299         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
22300         definition...
22301         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
22302         (csloww2): ... from here.
22304         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
22305         instead of structures.
22306         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
22307         (POLYNOMIAL): Likewise.
22308         (TAYLOR_SLOW): Likewise.
22309         (__sin): Likewise.
22310         (__cos): Likewise.
22311         (slow1): Likewise.
22312         (slow2): Likewise.
22313         (sloww): Likewise.
22314         (sloww1); Likewise.
22315         (sloww2): Likewise.
22316         (bsloww1): Likewise.
22317         (bsloww2): Likewise.
22318         (cslow2): Likewise.
22319         (csloww): Likewise.
22320         (csloww1): Likewise.
22321         (csloww2): Likewise.
22323 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
22325         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
22326         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
22327         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
22328         * malloc/hooks.c (realloc_check): Likewise.
22330         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
22331         * malloc/arena.c: Remove PER_THREAD conditional.
22332         [!PER_THREAD]: Remove code.
22333         (ptmalloc_unlock_all2): Likewise.
22334         (ptmalloc_init): Likewise.
22335         (_int_new_arena): Likewise.
22336         (arena_get2): Likewise.
22337         * malloc/hooks.c (__malloc_get_state): Likewise.
22338         (__malloc_set_state): Likewise.
22339         * malloc/malloc.c: Likewise.
22340         (struct malloc_state): Likewise.
22341         (struct malloc_par): Likewise.
22342         (__libc_realloc): Likewise.
22343         (__libc_mallopt): Likewise.
22345 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22347         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
22349 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
22351         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
22352         macro to a function.  Check for zero perturb_byte.
22353         (_int_malloc, _int_free): Remove zero perturb_byte checks.
22355         * malloc/malloc.c: (force_reg): Remove.
22356         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
22357         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
22358         force_reg by atomic_forced_read.
22359         * malloc/arena.c (ptmalloc_init): Likewise.
22360         * malloc/hooks.c (top_check): Likewise.
22362 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22366 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
22368         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22370 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
22372         * math/auto-libm-test-in: Add tests of lgamma.
22373         * math/auto-libm-test-out: Regenerated.
22374         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
22375         (M_LOG_2_SQRT_PIl): Likewise.
22376         (lgamma_test_data): Use AUTO_TESTS_f_f1.
22377         * math/gen-auto-libm-tests.c (func_calc_method): Add value
22378         mpfr_f_f1.
22379         (func_calc_desc): Add mpfr_f_f1 union field.
22380         (ARGS1): New macro.
22381         (ARGS2): Likewise.
22382         (ARGS3): Likewise.
22383         (ARGS4): Likewise.
22384         (RET1): Likewise.
22385         (RET2): Likewise.
22386         (CALC): Likewise.
22387         (FUNC): Likewise.
22388         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
22389         (test_functions): Add lgamma.
22390         (calc_generic_results): Handle mpfr_f_f1.
22391         * sysdeps/i386/fpu/libm-test-ulps: Update.
22392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22394 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22396         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
22397         __mpn_add_n for PowerPC64/POWER7.
22398         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
22399         __mpn_sub_n for PowerPC64/POWER7.
22401         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
22402         __mpn_addmul_1 for PowerPC64.
22403         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
22404         __mpn_submul_1 for PowerPC64.
22405         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
22406         for PowerPC64.
22407         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
22408         for PowerPC64.
22410 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
22412         [BZ #15089]
22413         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
22415 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22417         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
22419         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
22420         add multiarch folders.
22421         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
22422         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
22423         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
22424         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
22425         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
22426         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
22427         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
22428         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
22429         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
22430         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
22431         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
22432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
22433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
22434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
22435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
22436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
22437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
22439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22440         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
22441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
22442         New file.
22443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
22444         New file.
22445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
22446         multiarch __ieee754_hypot for PowerPC32.
22447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
22448         New file.
22449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
22450         New file.
22451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
22452         multiarch __ieee754_hypotf for PowerPC32.
22454         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
22455         long_double_symbol only if __logbl is defined.
22456         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
22457         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
22458         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
22459         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
22460         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
22461         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
22462         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
22463         path for implementation.
22464         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
22465         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
22466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
22467         logb, and logbl multiarch implementations for PowerPC32.
22468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
22469         file.
22470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
22471         file.
22472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
22473         multiarch logb for PowerPC32.
22474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
22475         file.
22476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
22477         file.
22478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
22479         multiarch logbf for PowerPC32.
22480         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
22481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
22482         file.
22483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
22484         multiarch logbl implementation for PowerPC32.
22486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
22487         and modff multiarch implementations.
22488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
22489         New file.
22490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
22491         New file.
22492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
22493         multiarch modf for PowerPC32.
22494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
22495         New file.
22496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
22497         New file.
22498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
22499         multiarch modff for PowerPC32.
22501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
22502         and lrintf multiarch implementations.
22503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
22504         New file.
22505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
22506         New file.
22507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
22508         multiarch lrint for PowerPC32.
22509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
22510         file: multiarch lrintf for PowerPC32.
22512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
22513         and lroundf multiarch implementations.
22514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
22515         New file.
22516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
22517         New file.
22518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
22519         New file.
22520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
22521         multiarch lround for PowerPC32.
22522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
22523         file: multiarch lroundf for PowerPC32.
22525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
22526         copysign and copysignf multiarch implementations.
22527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
22528         New file.
22529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
22530         New file.
22531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
22532         file: multiarch copysign for PowerPC32.
22533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
22534         file: multiarch copysignf for PowerPC32.
22536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
22537         and truncf multiarch implementations.
22538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
22539         New file.
22540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
22541         file.
22542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
22543         multiarch trunc for PowerPC32.
22544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
22545         New file.
22546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
22547         New file.
22548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
22549         multiarch truncf for PowerPC32.
22551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
22552         and roundf multiarch implementations.
22553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
22554         New file.
22555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
22556         file.
22557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
22558         multiarch round for PowerPC32.
22559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
22560         New file.
22561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
22562         New file.
22563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
22564         multiarch roundf for PowerPC32.
22566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
22567         and floorf multiarch implementations.
22568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
22569         New file.
22570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
22571         file.
22572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
22573         multiarch floor for PowerPC32.
22574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
22575         New file.
22576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
22577         New file.
22578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
22579         multiarch floorf for PowerPC32.
22581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
22582         and ceilf multiarch implementations.
22583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
22584         New file.
22585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
22586         file.
22587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
22588         multiarch ceil for PowerPC32.
22589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
22590         New file.
22591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
22592         file.
22593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
22594         multiarch ceilf for PowerPC32.
22596         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22597         is defined.
22598         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22599         FINITEF is defined.
22600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22601         and finitef multiarch implementations.
22602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22603         New file.
22604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22605         file.
22606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22607         multiarch finite for PowerPC32.
22608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22609         New file.
22610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22611         file: multiarch finitef for PowerPC32.
22613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22614         and isinff multiarch implementations.
22615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22616         file.
22617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22618         file.
22619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22620         multiarch isinf for PowerPC32.
22621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22622         New file.
22623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22624         multiarch isinff for PowerPC32.
22626         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22627         alias when __isnan is defined.
22628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22629         and isnanf multiarch implementations.
22630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22631         file.
22632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22633         file.
22634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22635         file.
22636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22637         file.
22638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22639         multiarch isnan for PowerPC32.
22640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22641         New file.
22642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22643         New file.
22644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22645         multiarch isnanf for PowerPC32.
22647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22648         and sqrtf multiarch implementations.
22649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22650         file.
22651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22652         file.
22653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22654         multiarch sqrt for PowerPC32.
22655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22656         file.
22657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22658         file.
22659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22660         multiarch sqrtf for PowerPC32.
22662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22663         and llroundf multiarch implementations.
22664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22665         New file.
22666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22667         New file.
22668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22669         New file.
22670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22671         file: multiarch llround for PowerPC32.
22672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22673         file: multiarch llroundf for PowerPC32.
22675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22676         multiarch PowerPC32 fpu implementations.
22677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22678         New file.
22679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22680         New file.
22681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22682         multiarch llrint for PowerPC32.
22683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22684         New file.
22685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22686         New file.
22687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22688         file.
22690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22692         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22693         file.
22694         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22695         file.
22696         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22697         file.
22698         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22699         multiarch wordcopy for PPC32.
22700         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22701         wordcopy objects.
22702         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22703         (__libc_ifunc_impl_list): Likewise.
22704         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22705         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22706         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22707         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22708         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22709         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22711         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22712         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22713         file.
22714         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22715         file.
22716         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22717         file.
22718         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22719         multiarch wcscpy for PPC32.
22720         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22721         multiarch objects.
22722         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22723         (__libc_ifunc_impl_list): Likewise.
22724         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22725         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22726         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22727         sysdeps/powerpc/power6/wcscpy.c.
22729         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22730         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22731         file.
22732         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22733         file.
22734         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22735         file.
22736         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22737         multiarch wcsrchr for PPC32.
22738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22739         multiarch objects.
22740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22741         (__libc_ifunc_impl_list): Likewise.
22742         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22743         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22744         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22745         sysdeps/powerpc/power6/wcsrchr.c.
22747         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22748         file.
22749         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22750         file.
22751         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22752         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22753         multiarch wcschr for PPc32.
22754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22755         multiarch objects.
22756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22757         (__libc_ifunc_impl_list): Likewise.
22758         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22759         * sysdeps/powerpc/power6/wcschr.c: ... to here.
22760         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22761         sysdeps/powerpc/power6/wcschr.c.
22763         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22764         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22765         file.
22766         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22767         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22768         file: multiarch strchr for PPC32.
22769         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22770         multiarch objects.
22771         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22772         (__libc_ifunc_impl_list): Likewise.
22774         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22775         name.
22776         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22777         file.
22778         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22779         file.
22780         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22781         multiarch strchrnul for PPC32.
22782         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22783         multiarch objects.
22784         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22785         (__libc_ifunc_impl_list): Likewise.
22787         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22788         file.
22789         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22790         multiarch strncasecmp for PPC32.
22791         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22792         file.
22793         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22794         multiarch strncasecmp_l for PPC32.
22795         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22796         strncasecmp multiarch objects.
22797         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22798         (__libc_ifunc_impl_list): Likewise.
22800         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22801         file.
22802         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22803         multiarch strncasecmp for PPC32.
22804         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22805         New file.
22806         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22807         multiarch strcasecmp_l for PPC32.
22808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22809         multiarch objects.
22810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22811         (__libc_ifunc_impl_list): Likewise.
22813         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22814         file.
22815         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22816         file.
22817         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22818         multiarch strncmp for PPC32.
22819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22820         multiarch objects.
22821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22822         (__libc_ifunc_impl_list): Likewise.
22824         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22825         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22826         file.
22827         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22828         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22830         multiarch objects.
22831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22832         (__libc_ifunc_impl_list): Likewise.
22834         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22835         file.
22836         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22837         file.
22838         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22840         multiarch objects.
22841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22842         (__libc_ifunc_impl_list): Likewise.
22844         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22845         file.
22846         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22847         file.
22848         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22849         multiarch rawmemchr for PPC32.
22850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22851         multiarch objects.
22852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22853         (__libc_ifunc_impl_list): Likewise.
22855         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22856         file.
22857         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22858         file.
22859         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22860         file: memrchr multiarch for PPC32.
22861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22862         multiarch objects.
22863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22864         (__libc_ifunc_impl_list): Likewise.
22866         * string/memchr.c (__memchr): Using macro to redefine symbol name.
22867         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22868         file.
22869         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22870         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22871         multiarch memchr for PPC32.
22872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22873         multiarch objects.
22874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22875         (__libc_ifunc_impl_list): Likewise.
22877         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22878         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22879         file.
22880         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22881         file.
22882         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22883         file: multiarch mempcpy for PPC32.
22884         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22885         multiarch objects.
22886         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22887         (__libc_ifunc_impl_list): Likewise.
22889         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22890         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22891         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22892         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22893         multiarch bzero for PPC32.
22894         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22895         file.
22896         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22897         file.
22898         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22899         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22900         file: multiarch memset for PPC32.
22901         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22902         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22903         memset multiarch objects.
22904         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22905         (__libc_ifunc_impl_list): Likewise.
22907         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22908         file.
22909         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22910         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22911         memcmp for PPC32.
22912         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22913         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22914         multiarch objects.
22915         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22916         (__libc_ifunc_impl_list): Likewise.
22918         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22919         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22920         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22921         file.
22922         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22923         file.
22924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22925         file.
22926         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22927         multiarch memcpy for PPC32.
22928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22929         multiarch objects.
22930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22931         (__libc_ifunc_impl_list): Likewise.
22933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22934         support multiarch for POWER/PPC32.
22935         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22936         Likewise.
22937         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22939         Implies file to make multiarch folder appers before the fpu and
22940         default folder for power4 configuration.
22942 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22944         * scripts/bench.pl: Append volatile keyword to type.
22946 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22948         * sysdeps/sh/sotruss-lib.c: New file.
22949         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22951 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22955 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
22957         [BZ #6810]
22958         * math/w_tgamma.c: Include <errno.h>.
22959         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
22960         * math/w_tgammaf.c: Include <errno.h>.
22961         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
22962         * math/w_tgammal.c: Include <errno.h>.
22963         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
22964         * math/auto-libm-test-in: Do not allow missing errno on tgamma
22965         underflow.  Add more tgamma tests.
22966         * math/auto-libm-test-out: Regenerated.
22967         * sysdeps/i386/fpu/libm-test-ulps: Update.
22968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22970         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22971         sin, sinh, tan, tanh, tgamma, y0 and y1.
22972         * math/auto-libm-test-out: Regenerated.
22973         * math/libm-test.inc (TEST_COND_x86_64): New macro.
22974         (TEST_COND_x86): Likewise.
22975         (M_E2l): Remove macro.
22976         (M_E3l): Likewise.
22977         (M_2_SQRT_PIl): Likewise.
22978         (M_SQRT_PIl): Likewise.
22979         (M_1_DIV_El): Likewise.
22980         (log_test_data): Use AUTO_TESTS_f_f.
22981         (log10_test_data): Likewise.
22982         (log1p_test_data): Likewise.
22983         (log2_test_data): Likewise.
22984         (sin_test_data): Likewise.
22985         (sin_tonearest_test_data): Likewise.
22986         (sin_towardzero_test_data): Likewise.
22987         (sin_downward_test_data): Likewise.
22988         (sin_upward_test_data): Likewise.
22989         (sinh_test_data): Likewise.
22990         (sinh_tonearest_test_data): Likewise.
22991         (sinh_towardzero_test_data): Likewise.
22992         (sinh_downward_test_data): Likewise.
22993         (sinh_upward_test_data): Likewise.
22994         (tan_test_data): Likewise.
22995         (tan_tonearest_test_data): Likewise.
22996         (tan_towardzero_test_data): Likewise.
22997         (tan_downward_test_data): Likewise.
22998         (tan_upward_test_data): Likewise.
22999         (tanh_test_data): Likewise.
23000         (tgamma_test_data): Likewise.
23001         (y0_test_data): Likewise.
23002         (y1_test_data): Likewise.
23003         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23004         (special_real_inputs): Add pi/4.
23005         * sysdeps/i386/fpu/libm-test-ulps: Update.
23006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23008 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23010         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23011         "longjmp_target" static probes.
23012         (__longjmp): Rename to __longjmp_symbol.
23013         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23014         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23015         on which longjmp to generate.
23016         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23017         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23018         probe.
23019         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23020         (__sigjmp_save): Rename to __sigjmp_save_symbol.
23021         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23022         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23023         and __sigjmp_save_symbol based on which sigsetjmp to generated.
23024         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23026         __longjmp_symbol based on which __longjmp to generate.
23027         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23028         probe.
23029         (setjmp): Rename to setjmp_symbol.
23030         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23031         (_setjmp): Rename to _setjmp_symbol.
23032         (__sigsetjmp): Rename to __sigsetjmp_symbol.
23033         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23034         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23035         which setjmp to generate.
23036         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23037         "longjmp_target" static probes.
23039 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23041         * benchtests/README: Add note about output arguments.
23042         * benchtests/bench-sincos.c: Remove file.
23043         * benchtests/sincos-inputs: New file.
23044         * scripts/bench.pl: Identify output arguments and define
23045         static variables for them.
23047         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23049         [BZ #15941]
23050         * Makefile (INSTALL): Add install-plain.texi as the primary
23051         dependency.
23052         * manual/install-plain.texi: New file.
23053         * manual/install.texi: Include node directive only for
23054         non-plaintext output.
23056 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
23058         * stdlib/longlong.h: Update from GCC.
23060         [BZ #6807]
23061         [BZ #15901]
23062         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23063         * math/w_j0f.c (y0f): Likewise.
23064         * math/w_j0l.c (__y0l): Likewise.
23065         * math/w_j1.c (y1): Likewise.
23066         * math/w_j1f.c (y1f): Likewise.
23067         * math/w_j1l.c (__y1l): Likewise
23068         * math/w_jn.c (yn): Likewise.
23069         * math/w_jnf.c (ynf): Likewise.
23070         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23071         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
23072         value for Bessel function domain errors outside _SVID_ mode.
23073         Adjust sign of return value for yn (negative integer, 0).
23074         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23075         by zero in return for negative x and set sign appropriately for
23076         negative n.
23077         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23078         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23079         * math/libm-test.inc (y0_test_data): Add more tests and adjust
23080         expectations in error cases.
23081         (y1_test_data): Likewise.
23082         (yn_test_data): Likewise.
23083         * sysdeps/i386/fpu/libm-test-ulps: Update.
23084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23086 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23088         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
23089         "64" to "64-v1".  Add "64-v2".
23090         (abi-64-options): Rename to ...
23091         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
23092         (abi-64-condition): Rename to ...
23093         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
23094         (abi-64-ld-soname): Rename to ...
23095         (abi-64-v1-ld-soname): ... this.
23096         (abi-64-v2-options): Define.
23097         (abi-64-v2-condition): Likewise.
23098         (abi-64-v2-ld-soname): Likewise.
23099         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
23100         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
23101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
23102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
23103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
23105 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23106             Alan Modra  <amodra@gmail.com>
23108         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
23109         New versions for use with the ELFv2 ABI.
23110         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
23111         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
23112         declaration.
23113         (struct La_ppc64v2_retval): Likewise.
23114         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
23115         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
23116         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
23117         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
23118         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
23119         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23120         Do not save or restore CR.
23121         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
23122         (_dl_profile_resolve): Do no save or restore CR.  Support extended
23123         return values for ELFv2 ABI.  Fix location of FPR return registers.
23124         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
23125         updated values for _CALL_ELF == 2.
23126         (La_regs, La_retval, int_retval): Likewise.
23128 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23130         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
23131         (FRAME_MIN_SIZE_PARM): Likewise.
23132         (FRAME_BACKCHAIN): Likewise.
23133         (FRAME_CR_SAVE): Likewise.
23134         (FRAME_LR_SAVE): Likewise.
23135         (FRAME_TOC_SAVE): Likewise.
23136         (FRAME_PARM_SAVE): Likewise.
23137         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
23138         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
23139         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23140         (call_mcount_parm_offset): New macro.
23141         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
23142         (PROF): Use symbolic stack frame offsets.
23143         (TAIL_CALL_SYSCALL_ERROR): Likewise.
23144         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
23145         Redefine in terms of FRAME_MIN_SIZE.
23146         (_dl_runtime_resolve): Use symbolic stack frame offsets.
23147         (_dl_profile_resolve): Likewise.  Update comment.
23148         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
23149         symbols stack frame offsets.
23150         (__sigsetjmp): Likewise.
23151         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
23152         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
23153         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
23154         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
23156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
23157         (FRAME_BACKCHAIN): Remove.
23158         (FRAME_CR_SAVE): Likewise.
23159         (FRAME_LR_SAVE): Likewise.
23160         (FRAME_COMPILER_DW): Likewise.
23161         (FRAME_LINKER_DW): Likewise.
23162         (FRAME_TOC_SAVE): Likewise.
23163         (FRAME_PARM_SAVE): Likewise.
23164         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
23165         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
23166         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
23167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
23168         (CHECK_SP): Use symbolic stack frame offsets.
23169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
23170         zone" instead of caller's parameter save area for temp storage.
23171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23172         Likewise.  Also, use symbolic stack frame offsets.
23173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
23174         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
23175         our own stack frame instead of the caller's.
23176         (__socket): Use symbolic stack frame offsets.
23178 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23179             Alan Modra  <amodra@gmail.com>
23181         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
23182         Define.
23183         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
23184         (PPC64_LOCAL_ENTRY_OFFSET): Define.
23185         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
23186         New function.
23187         (elf_machine_fixup_plt): Call it.
23188         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
23189         reloc arguments.
23190         (elf_machine_rela): Update call to elf_machine_plt_conflict.
23191         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23192         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
23193         r2 before calling target.
23195 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23196             Alan Modra  <amodra@gmail.com>
23198         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
23199         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
23200         versions of macros to support ELFv2 ABI.
23201         (LOCALENTRY): New macro.
23202         (ENTRY, EALIGN): Use it.
23203         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
23204         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
23205         fall through into ENTRY entry point.
23206         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
23207         Only define if _CALL_ELF != 2.
23209         (elf_machine_matches_host): Verify ABI version matches.
23210         (RTLD_START): Use LOCALENTRY.
23211         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
23212         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
23213         (PLT_ENTRY_WORDS): New macro.
23214         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
23215         (elf_machine_runtime_setup): Support ELFv2 ABI.
23216         (elf_machine_fixup_plt): Likewise.
23217         (elf_machine_plt_conflict): Likewise.
23218         (resolve_ifunc): Likewise.
23219         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23220         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23221         Likewise.
23222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
23223         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
23224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23225         (makecontext): Support ELFv2 ABI.
23226         * elf/elf.h (EF_PPC64_ABI): Define.
23228 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23230         * sysdeps/powerpc/powerpc64/sysdep.h
23231         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
23232         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
23233         (ENTRY) [ASSEMBLER]: ... but instead here ...
23234         (EALIGN) [ASSEMBLER]: ... and here.
23235         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
23236         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
23237         (ENTRY_2) [!ASSEMBLER]: Use it.
23238         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
23239         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
23240         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
23241         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
23242         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
23243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
23244         Use PPC64_LOAD_FUNCPTR.
23246         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
23248 2013-12-04  Alan Modra  <amodra@gmail.com>
23250         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
23251         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
23252         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
23253         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
23255         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
23256         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
23257         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
23258         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
23259         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
23260         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
23262 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
23264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23265         (__makecontext): Fix incorrect CFI when backtracing out of
23266         context created via makecontext.
23267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
23268         (__setcontext): Fix incorrect CFI during switch to new context.
23269         (__novec_setcontext): Likewise.
23271 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23273         [BZ #4772]
23274         * time/strptime_l.c (__strptime_internal): Allow modifiers
23275         in strptime.
23276         * time/tst-strptime.c (day_tests): Add testcase.
23278 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23280         * scripts/bench.pl: Skip over blank lines.
23282 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
23284         [BZ #926]
23285         * manual/time.texi (Calendar Time): Clarify what timezone functions
23286         use.
23288 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23292 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
23294         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
23295         implementation.
23296         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
23297         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
23298         * debug/memset_chk.c (__memset_chk): Likewise.
23299         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
23300         * debug/strncpy_chk.c: Likewise.
23302 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23304         [BZ #15268]
23305         [BZ #15425]
23306         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
23307         (__ieee754_exp): For possibly underflowing results, check size of
23308         result and force underflow exception if required.
23309         * math/auto-libm-test-in: Add more tests of exp.
23310         * math/auto-libm-test-out: Regenerated.
23311         * sysdeps/i386/fpu/libm-test-ulps: Update.
23312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23314         [BZ #16283]
23315         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
23316         * math/w_exp2f.c (__exp2f): Likewise.
23317         * math/w_exp2l.c (__exp2l): Likewise.
23318         * math/auto-libm-test-in: Do not allow missing errno on exp2
23319         underflow.
23320         * math/auto-libm-test-out: Regenerated.
23322 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
23324         [BZ #16274]
23325         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
23326         handle filename validation.
23327         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
23328         (do_open): Delete.
23330 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
23332         [BZ #6786]
23333         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
23334         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
23335         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
23336         <float.h>.
23337         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
23338         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
23339         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23340         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
23341         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23342         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
23343         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
23344         * math/auto-libm-test-in: Don't allow missing errno from erfc.
23345         Add more erfc tests.
23346         * math/auto-libm-test-out: Regenerated.
23347         * sysdeps/i386/fpu/libm-test-ulps: Update.
23348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23350         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
23351         exp2, expm1, j0 and j1.
23352         * math/auto-libm-test-out: Regenerated.
23353         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
23354         (erfc_test_data): Likewise.
23355         (exp_test_data): Likewise.
23356         (exp_tonearest_test_data): Likewise.
23357         (exp_towardzero_test_data): Likewise.
23358         (exp_downward_test_data): Likewise.
23359         (exp_upward_test_data): Likewise.
23360         (exp10_test_data): Likewise.
23361         (exp2_test_data): Likewise.
23362         (expm1_test_data): Likewise.
23363         (j0_test_data): Likewise.
23364         (j1_test_data): Likewise.
23365         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
23366         (input_flag_type): Add flag_xfail_rounding.
23367         (input_flags): Add xfail-rounding.
23368         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
23369         (output_for_one_input_case): Handle flag_xfail_rounding.
23370         * sysdeps/i386/fpu/libm-test-ulps: Update.
23371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23373 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
23375         [BZ #16289]
23376         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
23377         division by 0.
23379 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23381         [BZ #16195]
23382         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
23383         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
23384         (STAP_PROBE0): New macro.
23385         (STAP_PROBE1): Likewise.
23386         (STAP_PROBE2): Likewise.
23387         (STAP_PROBE3): Likewise.
23388         (STAP_PROBE4): Likewise.
23390 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
23392         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
23394 2013-12-02  Steve Ellcey  <sellcey@mips.com>
23396         * benchtests/Makefile (bench): Add sqrt.
23397         (LDLIBS-bench-sqrt): New.
23398         * benchtests/sqrt-input: New.
23400 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
23402         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
23403         (GAIH_EAI): Likewise.
23404         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
23405         (gaih_inet): Likewise.
23406         (getaddrinfo): Don't use GAIH_EAI.
23408         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
23409         (struct gaih): Remove definition.
23411 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23413         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
23414         Use HERRNOP directly.
23416 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23420 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
23422         * math/gen-auto-libm-tests.c (test_functions): Add more
23423         single-argument functions.
23424         (special_fill_pi_2): New function.
23425         (special_fill_minus_pi_2): Likewise.
23426         (special_fill_pi_6): Likewise.
23427         (special_fill_minus_pi_6): Likewise.
23428         (special_fill_pi_3): Likewise.
23429         (special_fill_2pi_3): Likewise.
23430         (special_fill_e): Likewise.
23431         (special_fill_1_e): Likewise.
23432         (special_fill_e_minus_1): Likewise.
23433         (special_real_inputs): Add more special inputs.
23434         (output_for_one_input_case): Do not require ERANGE on underflow to
23435         zero if round-to-nearest result does not underflow to zero, unless
23436         exact results required.
23437         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
23438         atan, atanh, cbrt, cos and cosh.
23439         * math/auto-libm-test-out: Regenerated.
23440         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
23441         (acos_tonearest_test_data): Likewise.
23442         (acos_towardzero_test_data): Likewise.
23443         (acos_downward_test_data): Likewise.
23444         (acos_upward_test_data): Likewise.
23445         (acosh_test_data): Likewise.
23446         (asin_test_data): Likewise.
23447         (asin_tonearest_test_data): Likewise.
23448         (asin_towardzero_test_data): Likewise.
23449         (asin_upward_test_data): Likewise.
23450         (asinh_test_data): Likewise.
23451         (atan_test_data): Likewise.
23452         (atanh_test_data): Likewise.
23453         (cbrt_test_data): Likewise.
23454         (cos_test_data): Likewise.
23455         (cos_tonearest_test_data): Likewise.
23456         (cos_towardzero_test_data): Likewise.
23457         (cos_downward_test_data): Likewise.
23458         (cos_upward_test_data): Likewise.
23459         (cosh_test_data): Likewise.
23460         (cosh_tonearest_test_data): Likewise.
23461         (cosh_towardzero_test_data): Likewise.
23462         (cosh_downward_test_data): Likewise.
23463         (cosh_upward_test_data): Likewise.
23464         * sysdeps/i386/fpu/libm-test-ulps: Update.
23465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23467 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
23469         [BZ #6787]
23470         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
23471         * math/w_exp10f.c (__exp10f): Likewise.
23472         * math/w_exp10l.c (__exp10l): Likewise.
23473         * math/libm-test.inc (exp10_test_data): Add more tests and expect
23474         errno settings in existing tests.
23476         [BZ #14032]
23477         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
23478         precision control set to double precision.
23479         * sysdeps/i386/fpu/w_sqrt.c: New file.
23480         * math/auto-libm-test-in: Add more tests.
23481         * math/auto-libm-test-out: Update.
23483         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
23484         (sqrt_test_tonearest): New function.
23485         (sqrt_towardzero_test_data): New variable.
23486         (sqrt_test_towardzero): New function.
23487         (sqrt_downward_test_data): New variable.
23488         (sqrt_test_downward): New function.
23489         (sqrt_upward_test_data): New variable.
23490         (sqrt_test_upward): New function.
23491         (main): Call the new functions.
23493         * math/gen-auto-libm-tests.c: New file.
23494         * math/auto-libm-test-in: Likewise.
23495         * math/auto-libm-test-out: New generated file.
23496         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
23497         variables.
23498         (%beautify): Add generated representations of zero.
23499         (top level): Set $auto_input and call parse_auto_input.
23500         (beautify): Remove trailing "f" from hex float constants.
23501         (parse_args): Handle XFAIL_TEST.
23502         (convert_condition): New function.
23503         (or_value): Likewise.
23504         (or_cond_value): Likewise.
23505         (generate_testfile): Handle AUTO_TESTS_* lines.
23506         (parse_auto_input): New function.
23507         * math/libm-test.inc (XFAIL_TEST): New macro.
23508         (ERRNO_UNCHANGED): Update value.
23509         (ERRNO_EDOM): Likewise.
23510         (ERRNO_ERANGE): Likewise.
23511         (IGNORE_RESULT): Likewise.
23512         (TEST_COND_flt_32): New macro.
23513         (TEST_COND_dbl_64): Likewise.
23514         (TEST_COND_ldbl_96_intel): Likewise.
23515         (TEST_COND_ldbl_96_m68k): Likewise.
23516         (TEST_COND_ldbl_128): Likewise.
23517         (TEST_COND_ldbl_128ibm): Likewise.
23518         (TEST_COND_long32): Likewise.
23519         (TEST_COND_long64): Likewise.
23520         (TEST_COND_before_rounding): Likewise.
23521         (TEST_COND_after_rounding): Likewise.
23522         (enable_test): Handle XFAIL_TEST flag.
23523         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
23524         with finite results.
23525         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
23526         auto-libm-test-out.
23528 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23529             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23531         [BZ #16214]
23532         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
23533         __tls_get_addr_internal instead of __tls_get_offset in order to
23534         avoid GOT pointer dependency.  Make rtld export
23535         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
23536         __tls_get_addr since we are a __tls_get_offset platform.
23537         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
23538         GOT pointer being set up before.
23539         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
23541 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
23543         * manual/math.texi (Errors in Math Functions): Document accuracy
23544         goals.
23546         [BZ #15004]
23547         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
23548         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
23549         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23550         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23551         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23552         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23553         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23554         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23555         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23556         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23557         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23558         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23559         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23560         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23561         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23562         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23564         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
23565         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
23566         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
23567         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
23568         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
23569         Likewise.
23570         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
23571         Likewise.
23572         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
23573         Likewise.
23574         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
23575         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
23576         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
23577         atomic-feupdateenv and flt-rounds.
23578         * sysdeps/powerpc/nofpu/Versions (libc): Add
23579         __atomic_feholdexcept, __atomic_feclearexcept,
23580         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
23581         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
23582         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
23583         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
23584         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
23585         here.
23586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23587         Update.
23589         * manual/arith.texi (FP Exceptions): Document that exceptions may
23590         not be raised when matherr is used.
23591         (Math Error Reporting): Document overflow in directed rounding
23592         modes.  Document that errno may not be set when finite values are
23593         returned on overflow.  Document intent to set errno on underflow
23594         only for underflow to zero.
23596         [BZ #16271]
23597         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23598         round-to-nearest then adjust result for other rounding modes.
23599         * include/fenv.h (fegetround): Use libm_hidden_proto.
23600         * math/fegetround.c (fegetround): Use libm_hidden_def.
23601         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23602         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23603         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23604         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23605         Likewise.
23606         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23607         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23608         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23609         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23611 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23613         [BZ #16077]
23614         * nss/Versions (libnss_files): Add
23615         _nss_files_gethostbyname3_r.
23616         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23617         New function.
23618         (HOST_DB_LOOKUP): Remove macro.
23619         (_nss_files_gethostbyname_r): Implement function without the
23620         HOST_DB_LOOKUP macro.
23621         (_nss_files_gethostbyname2_r): Likewise.
23623 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
23625         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23627 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
23629         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23630         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23631         warning.
23633 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23635         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23636         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23637         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23638         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23639         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23640         __fe_nomask_env_priv and attribute_hidden.
23641         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23642         (libc_feupdateenv_test_ppc): Likewise.
23643         (libc_feresetround_ppc): Likewise.
23644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23645         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23646         compat_symbol macro.
23647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23648         (__fe_nomask_env): Likewise.
23649         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23651 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23653         * string/Makefile: Remove ifunc tests.
23654         * string/test-string.h: Define TEST_IFUNC.
23655         * string/test-bcopy-ifunc.c: Remove.
23656         * string/test-bzero-ifunc.c: Likewise.
23657         * string/test-memccpy-ifunc.c: Likewise.
23658         * string/test-memchr-ifunc.c: Likewise.
23659         * string/test-memcmp-ifunc.c: Likewise.
23660         * string/test-memcpy-ifunc.c: Likewise.
23661         * string/test-memmem-ifunc.c: Likewise.
23662         * string/test-memmove-ifunc.c: Likewise.
23663         * string/test-mempcpy-ifunc.c: Likewise.
23664         * string/test-memrchr-ifunc.c: Likewise.
23665         * string/test-memset-ifunc.c: Likewise.
23666         * string/test-rawmemchr-ifunc.c: Likewise.
23667         * string/test-stpcpy-ifunc.c: Likewise.
23668         * string/test-stpncpy-ifunc.c: Likewise.
23669         * string/test-strcasecmp-ifunc.c: Likewise.
23670         * string/test-strcasestr-ifunc.c: Likewise.
23671         * string/test-strcat-ifunc.c: Likewise.
23672         * string/test-strchr-ifunc.c: Likewise.
23673         * string/test-strchrnul-ifunc.c: Likewise.
23674         * string/test-strcmp-ifunc.c: Likewise.
23675         * string/test-strcpy-ifunc.c: Likewise.
23676         * string/test-strcspn-ifunc.c: Likewise.
23677         * string/test-strlen-ifunc.c: Likewise.
23678         * string/test-strncasecmp-ifunc.c: Likewise.
23679         * string/test-strncat-ifunc.c: Likewise.
23680         * string/test-strncmp-ifunc.c: Likewise.
23681         * string/test-strncpy-ifunc.c: Likewise.
23682         * string/test-strnlen-ifunc.c: Likewise.
23683         * string/test-strpbrk-ifunc.c: Likewise.
23684         * string/test-strrchr-ifunc.c: Likewise.
23685         * string/test-strspn-ifunc.c: Likewise.
23686         * string/test-strstr-ifunc.c: Likewise.
23688 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23690         * benchtests/Makefile: Remove ifunc tests.
23691         * benchtests/bench-string.h: Define TEST_IFUNC.
23692         * benchtests/bench-bcopy-ifunc.c: Remove.
23693         * benchtests/bench-bzero-ifunc.c: Likewise.
23694         * benchtests/bench-memccpy-ifunc.c: Likewise.
23695         * benchtests/bench-memchr-ifunc.c: Likewise.
23696         * benchtests/bench-memcmp-ifunc.c: Likewise.
23697         * benchtests/bench-memcpy-ifunc.c: Likewise.
23698         * benchtests/bench-memmem-ifunc.c: Likewise.
23699         * benchtests/bench-memmove-ifunc.c: Likewise.
23700         * benchtests/bench-mempcpy-ifunc.c: Likewise.
23701         * benchtests/bench-memrchr-ifunc.c: Likewise.
23702         * benchtests/bench-memset-ifunc.c: Likewise.
23703         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23704         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23705         * benchtests/bench-stpcpy-ifunc.c: Likewise.
23706         * benchtests/bench-stpncpy-ifunc.c: Likewise.
23707         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23708         * benchtests/bench-strcasestr-ifunc.c: Likewise.
23709         * benchtests/bench-strcat-ifunc.c: Likewise.
23710         * benchtests/bench-strchr-ifunc.c: Likewise.
23711         * benchtests/bench-strchrnul-ifunc.c: Likewise.
23712         * benchtests/bench-strcmp-ifunc.c: Likewise.
23713         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23714         * benchtests/bench-strcpy-ifunc.c: Likewise.
23715         * benchtests/bench-strcspn-ifunc.c: Likewise.
23716         * benchtests/bench-strlen-ifunc.c: Likewise.
23717         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23718         * benchtests/bench-strncat-ifunc.c: Likewise.
23719         * benchtests/bench-strncmp-ifunc.c: Likewise.
23720         * benchtests/bench-strncpy-ifunc.c: Likewise.
23721         * benchtests/bench-strnlen-ifunc.c: Likewise.
23722         * benchtests/bench-strpbrk-ifunc.c: Likewise.
23723         * benchtests/bench-strrchr-ifunc.c: Likewise.
23724         * benchtests/bench-strsep-ifunc.c: Likewise.
23725         * benchtests/bench-strspn-ifunc.c: Likewise.
23726         * benchtests/bench-strstr-ifunc.c: Likewise.
23728 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23730         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23732 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
23734         * resolv/netdb.h: Use __glibc_reserved instead __unused.
23735         * rt/aio.h: Likewise.
23736         * sysdeps/gnu/bits/utmp.h: Likewise.
23737         * sysdeps/gnu/bits/utmpx.h: Likewise.
23738         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23739         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23740         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23741         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23742         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23743         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23744         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23745         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23746         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23747         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23748         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23749         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23750         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23752         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23753         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23754         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23755         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23756         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23757         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23758         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23759         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23760         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23761         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23762         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23763         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23764         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23765         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23766         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23767         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23768         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23769         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23770         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23771         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23772         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23773         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23774         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23775         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23776         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23777         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23778         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23779         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23781 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
23783         [BZ #16245]
23784         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23785         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23787 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
23789         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23790         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23791         Likewise.
23793 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23795         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23796         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23797         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23798         (__fesetround): Remove define.
23799         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23800         rounding and exceptions handling.
23801         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23802         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23803         (__fe_nomask_env): Likewise.
23804         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23805         __fegetround instead of fegetround.
23806         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23807         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23809 2013-11-21  Roland McGrath  <roland@hack.frob.com>
23811         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23812         it's there.
23814         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23816 2013-11-21  Meador Inge  <meadori@codesourcery.com>
23818         [BZ #11157]
23819         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23820         (encrypt_r): Likewise.
23821         * malloc/obstack.h (obstack_free): Likewise.
23822         * posix/unistd.h (encrypt): Likewise.
23824 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
23826         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23827         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23828         DL_CALL_DT_FINI() that call the functions directly.
23829         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23830         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23831         * elf/dl-fini.c: Likewise.
23833 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
23835         * malloc/hooks.c (memalign_check): Add alignment rounding.
23836         * malloc/malloc.c (_mid_memalign): New function.
23837         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23838         Implement by calling _mid_memalign.
23839         * manual/probes.texi (Memory Allocation Probes): Remove
23840         memory_valloc_retry and memory_pvalloc_retry.
23842 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23844         * locale/programs/locarchive.c (open_archive): Add const
23845         qualifier to ARCHIVEFNAME and copy default fname to
23846         DEFAULT_FNAME.
23848         [BZ #15601]
23849         * libio/tst-widetext.input: Rename Oriya to Odia.
23850         * locale/iso-639.def: Likewise.
23852         * manual/probes.texi (Mathematical Function Probes): Add
23853         documentation for sin, cos, asin and acos probes.
23854         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23855         (__sin32): Add slowasin probe.
23856         (__cos32): Add slowacos probe.
23857         (__mpsin): Add slowsin probe.
23858         (__mpcos): Add slowcos probe.
23860 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
23862         [BZ #15483]
23863         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23864         thread-local __sim_exceptions_thread and global
23865         __sim_exceptions_global.
23866         (__sim_disabled_exceptions): Change to thread-local
23867         __sim_disabled_exceptions_thread and global
23868         __sim_disabled_exceptions_global.
23869         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23870         and global __sim_round_mode_global.
23871         (__simulate_exceptions): Use thread-local floating-point state and
23872         set global state from it as needed.
23873         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23874         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23875         __sim_round_mode_thread.
23876         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23877         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23878         and global __sim_exceptions_global.
23879         (__sim_disabled_exceptions): Change to thread-local
23880         __sim_disabled_exceptions_thread and global
23881         __sim_disabled_exceptions_global.
23882         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23883         and global __sim_round_mode_global.
23884         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23885         (SIM_SET_GLOBAL): Likewise.
23886         * sysdeps/powerpc/soft-fp/sfp-machine.h
23887         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23888         __sim_round_mode_thread.
23889         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23890         __sim_disabled_exceptions_thread.
23891         (__sim_exceptions): Change to __sim_exceptions_thread.
23892         (__sim_disabled_exceptions): Change to
23893         __sim_disabled_exceptions_thread.
23894         (__sim_round_mode): Change to __sim_round_mode_thread.
23895         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23896         thread-local floating-point state and set global state from it as
23897         needed.
23898         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23899         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23900         (__sim_disabled_exceptions): Remove extern declaration.
23901         (feenableexcept): Use thread-local floating-point state and set
23902         global state from it as needed.
23903         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23904         extern declaration.
23905         (__sim_disabled_exceptions): Likewise.
23906         (__sim_round_mode): Likewise.
23907         (__fegetenv): Use thread-local floating-point state.
23908         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23909         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23910         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23911         floating-point state and set global state from it as needed.
23912         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23913         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23914         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23915         Likewise.
23916         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23917         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23918         Likewise.
23919         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23920         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23921         Use __sim_round_mode_thread.
23922         * math/test-fenv-tls.c: New file.
23923         * math/Makefile (tests): Add test-fenv-tls.
23924         ($(objpfx)test-fenv-tls): Depend on
23925         $(common-objpfx)nptl/libpthread.so.
23927 2013-11-19  Andreas Schwab  <schwab@suse.de>
23929         * locale/programs/locale.c (show_info): Decode wordarray elements.
23930         * locale/categories.def (LC_MONETARY): Add element for
23931         _NL_MONETARY_CRNCYSTR.
23932         * locale/C-monetary.c (conversion_rate): New variable.
23933         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23934         element.
23936 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
23938         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23939         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23941 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
23943         * elf/Makefile (tst-auxv): New test.
23944         * elf/tst-auxv.c: New
23945         * elf/rtld.c (dl_main): Adjust AT_EXECFN
23947 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
23949         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23950         (hidden_proto): Caller changed.
23951         (hidden_tls_proto): New macro.
23952         (libc_hidden_tls_proto): Likewise.
23953         (rtld_hidden_tls_proto): Likewise.
23954         (libm_hidden_tls_proto): Likewise.
23955         (libresolv_hidden_tls_proto): Likewise.
23956         (librt_hidden_tls_proto): Likewise.
23957         (libdl_hidden_tls_proto): Likewise.
23958         (libnss_files_hidden_tls_proto): Likewise.
23959         (libnsl_hidden_tls_proto): Likewise.
23960         (libnss_nisplus_hidden_tls_proto): Likewise.
23961         (libutil_hidden_tls_proto): Likewise.
23963 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
23965         [BZ #10253]
23966         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23967         (decompose_rpath): Defer expansion to fillin_rpath.
23968         (_dl_init_paths): Pass linkmap to fillin_rpath.
23970 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23972         * benchtests/Makefile: Add strsep.
23973         * benchtests/bench-strsep.c: New file: strsep benchtest.
23974         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23976 2013-11-18  Andreas Schwab  <schwab@suse.de>
23978         * locale/programs/locale.c (show_info) [case byte]: Check for
23979         '\377' instead of '\177'.
23980         * locale/C-monetary.c (not_available): Always use "\377".
23981         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23982         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
23983         detect unavailable sign_posn locale elements.
23984         * locale/localeconv.c (__localeconv): For grouping and
23985         mon_grouping handle "\177" and "\377" like no grouping.
23986         (INT_ELEM): New macro.  Use it to set all numeric members.
23987         * locale/programs/ld-monetary.c (monetary_read)
23988         <tok_mon_grouping>: Normalize single -1 to the empty string.
23989         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23990         Likewise.
23992 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23994         [BZ #16055]
23995         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23996         when we match (nil).
23997         * stdio-common/tst-sscanf.c (struct test): Add testcase.
23999 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
24001         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24002         (NO_TEST_INLINE): Update value.
24003         (ERRNO_UNCHANGED): Likewise.
24004         (ERRNO_EDOM): Likewise.
24005         (ERRNO_ERANGE): Likewise.
24006         (IGNORE_RESULT): Likewise.
24007         (check_float_internal): Check signs of NaN results if
24008         TEST_NAN_SIGN used.
24009         (check_complex): Pass TEST_NAN_SIGN flag through to second
24010         check_float_internal call.
24011         (copysign_test_data): Add tests with quiet NaNs as second
24012         argument.  Use TEST_NAN_SIGN.
24013         (fabs_test_data): Add test of negative quiet NaN argument.  Use
24014         TEST_NAN_SIGN.
24015         (signbit_test_data): Add tests of quiet NaN argument.
24016         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24018         * math/gen-libm-test.pl (show_exceptions): Take extra argument
24019         $ignore_result.
24020         (parse_args): Handle function results specified as IGNORE.
24021         * math/libm-test.inc (IGNORE_RESULT): New macro.
24022         (check_float_internal): Do not check numerical result if flag
24023         IGNORE_RESULT set.
24024         (check_complex): Pass through IGNORE_RESULT to second
24025         check_float_internal call.
24026         (check_int): Do not check numerical result if flag IGNORE_RESULT
24027         set.
24028         (check_long): Likewise.
24029         (check_bool): Likewise.
24030         (check_longlong): Likewise.
24031         (lrint_test_data): Add tests of infinite and NaN arguments.
24032         (lrint_tonearest_test_data): Likewise.
24033         (lrint_towardzero_test_data): Likewise.
24034         (lrint_downward_test_data): Likewise.
24035         (lrint_upward_test_data): Likewise.
24036         (llrint_test_data): Likewise.
24037         (llrint_tonearest_test_data): Likewise.
24038         (llrint_towardzero_test_data): Likewise.
24039         (llrint_downward_test_data): Likewise.
24040         (llrint_upward_test_data): Likewise.
24041         (lround_test_data): Likewise.
24042         (llround_test_data): Likewise.
24044         * math/libm-test.inc (NO_TEST_INLINE): New macro.
24045         (ERRNO_UNCHANGED): Update value.
24046         (ERRNO_EDOM): Likewise.
24047         (ERRNO_ERANGE): Likewise.
24048         (NO_TEST_INLINE_FLOAT): New macro.
24049         (NO_TEST_INLINE_DOUBLE): Likewise.
24050         (enable_test): New function.
24051         (RUN_TEST_f_f): Check enable_test before running test.
24052         (RUN_TEST_2_f): Likewise.
24053         (RUN_TEST_fff_f): Likewise.
24054         (RUN_TEST_c_f): Likewise.
24055         (RUN_TEST_f_f1): Likewise.
24056         (RUN_TEST_fF_f1): Likewise.
24057         (RUN_TEST_fI_f1): Likewise.
24058         (RUN_TEST_ffI_f1): Likewise.
24059         (RUN_TEST_c_c): Likewise.
24060         (RUN_TEST_cc_c): Likewise.
24061         (RUN_TEST_f_i): Likewise.
24062         (RUN_TEST_f_i_tg): Likewise.
24063         (RUN_TEST_ff_i_tg): Likewise.
24064         (RUN_TEST_f_b): Likewise.
24065         (RUN_TEST_f_b_tg): Likewise.
24066         (RUN_TEST_f_l): Likewise.
24067         (RUN_TEST_f_L): Likewise.
24068         (RUN_TEST_fFF_11): Likewise.
24069         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24070         conditionals.
24071         (cosh_test_data): Likewise.
24072         (exp_test_data): Likewise.
24073         (expm1_test_data): Likewise.
24074         (hypot_test_data): Likewise.
24075         (pow_test_data): Likewise.
24076         (sinh_test_data): Likewise.
24077         (tanh_test_data): Likewise.
24078         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24079         flags argument.
24081         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24082         tests with quiet NaN input and output.
24083         (acosh_test_data): Likewise.
24084         (asin_test_data): Likewise.
24085         (asinh_test_data): Likewise.
24086         (atan_test_data): Likewise.
24087         (atanh_test_data): Likewise.
24088         (atan2_test_data): Likewise.
24089         (cbrt_test_data): Likewise.
24090         (cos_test_data): Likewise.
24091         (cosh_test_data): Likewise.
24092         (erf_test_data): Likewise.
24093         (erfc_test_data): Likewise.
24094         (exp_test_data): Likewise.
24095         (exp10_test_data): Likewise.
24096         (exp2_test_data): Likewise.
24097         (expm1_test_data): Likewise.
24098         (hypot_test_data): Likewise.
24099         (j0_test_data): Likewise.
24100         (j1_test_data): Likewise.
24101         (jn_test_data): Likewise.
24102         (lgamma_test_data): Likewise.
24103         (log_test_data): Likewise.
24104         (log10_test_data): Likewise.
24105         (log1p_test_data): Likewise.
24106         (log2_test_data): Likewise.
24107         (pow_test_data): Likewise.
24108         (scalb_test_data): Likewise.
24109         (sin_test_data): Likewise.
24110         (sincos_test_data): Likewise.
24111         (sinh_test_data): Likewise.
24112         (tan_test_data): Likewise.
24113         (tanh_test_data): Likewise.
24114         (tgamma_test_data): Likewise.
24115         (y0_test_data): Likewise.
24116         (y1_test_data): Likewise.
24117         (yn_test_data): Likewise.
24119         [BZ #16167]
24120         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
24121         argument being NaN and avoid computations with second argument in
24122         that case.
24123         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24124         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24125         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24127 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
24129         * locale/iso-639.def: Add Chitwani Tharu (the).
24131 2013-11-14  Andreas Schwab  <schwab@suse.de>
24133         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
24134         word instead of empty string.
24136 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24139         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24141         (__fe_nomask_env): Likewise.
24143 2013-11-13  Steve Ellcey  <sellcey@mips.com>
24145         * benchtests/bench-timing.h: Include time.h.
24147 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
24149         [BZ #15997]
24150         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
24151         to 3.4.0 for x32.
24152         * sysdeps/unix/sysv/linux/configure: Regenerated.
24154 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
24156         [BZ #16151]
24157         * stdlib/strtod_l.c (round_and_return): Do not consider
24158         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24159         exponent one less than half the least subnormal exponent.
24160         * stdlib/test-strtod-round-data: Add more tests.
24161         * stdlib/tst-strtod-round.c (tests): Regenerated.
24163 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24165         [BZ #14143]
24166         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
24167         (__fe_mask_env): Likewise.
24168         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
24169         libm_hidden_proto and add function prototype.
24170         (__fe_mask_env): Add function prototype.
24171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24172         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
24173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24174         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
24175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24176         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
24178 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24180         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
24181         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
24183 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24185         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
24186         of htab_find_slot().
24188 2013-11-11  David S. Miller  <davem@davemloft.net>
24190         [BZ #16150]
24191         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
24192         symbol in the non-vis3 case in static builds.
24193         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
24194         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
24195         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
24196         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
24198 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
24200         [BZ #387]
24201         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
24202         it is empty.
24204 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24206         * benchtests/Makefile: Add bench-strtod.
24207         * benchtests/bench-strtod.c: New file: strtod benchtest
24209 2013-11-11  Andreas Schwab  <schwab@suse.de>
24211         [BZ #16153]
24212         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
24213         terminating NUL in key length.
24215 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24217         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24218         Add artificial ODP entry for vDSO symbol for PPC64.
24219         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
24220         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24222 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
24224         [BZ #15374]
24225         * nss/getent.c (services_keys): Recognize services starting with digit.
24227 2013-11-06  David S. Miller  <davem@davemloft.net>
24229         [BZ #15985]
24230         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
24231         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
24233 2013-11-06  Will Newton  <will.newton@linaro.org>
24235         * manual/memory.texi (Malloc Examples): Remove register
24236         keyword from examples.
24238 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
24240         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
24242 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
24244         [BZ #6981]
24245         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
24246         depending on [__GCC_IEC_559 > 0].
24247         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
24248         depending on [__GCC_IEC_559_COMPLEX > 0].
24250 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
24252         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
24253         to iso-639.def.
24255 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
24257         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
24259 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
24261         [BZ #16112]
24262         * malloc/malloc (malloc_info): Do not handle first bin as
24263         special case.
24265 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
24267         * locale/iso-639.def: Add Central Nahuatl (nhn).
24269 2013-11-01  Bruno Haible  <bruno@clisp.org>
24271         [BZ #7003]
24272         * manual/math.texi (BSD Random): Specify range upper bound as
24273         in POSIX.
24275 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
24277         * locale/iso-639.def: Add Meadow Mari (mhr).
24279 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
24281         [BZ #14752], [BZ #15763]
24282         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
24283         Validate name.
24284         * rt/tst_shm.c: Add test for escaping directory.
24286 2013-10-31  Andreas Schwab  <schwab@suse.de>
24288         [BZ #15917]
24289         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
24290         followed by 'x' as part of digit sequence.
24291         * stdio-common/tst-sscanf.c (double_tests2): New tests.
24293 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
24295         [BZ #16037]
24296         * configure.ac: allow GNU Make 4.0 and greater.
24297         * configure: Regenerated.
24299 2013-10-30  Will Newton  <will.newton@linaro.org>
24301         [BZ #16038]
24302         * malloc/hooks.c (memalign_check): Limit alignment to the
24303         maximum representable power of two.
24304         * malloc/malloc.c (__libc_memalign): Likewise.
24305         * malloc/tst-memalign.c (do_test): Add test for very
24306         large alignment values.
24307         * malloc/tst-posix_memalign.c (do_test): Likewise.
24309 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24311         [BZ #11087]
24312         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
24313         (munmap_chunk): Likewise.
24314         (mremap_chunk): Likewise.
24316 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
24318         [BZ #15799]
24319         * stdlib/div.c (div): Remove obsolete code.
24320         * stdlib/ldiv.c (ldiv): Likewise.
24321         * stdlib/lldiv.c (lldiv): Likewise.
24323 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24325         [BZ #16071]
24326         * nss/nss_files/files-XXX.c (get_contents_ret): New
24327         enumerator.
24328         (get_contents): New function.
24329         (internal_getent): Use it.  Expand size of LINEBUFLEN.
24331 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
24333         * configure.in: Moved to ...
24334         * configure.ac: ... here. Change reference to configure.in
24335         to configure.ac.
24336         * sysdeps/arm/preconfigure.ac: ... here.
24337         configure.in to configure.ac.
24338         * sysdeps/gnu/configure.in: Moved to ...
24339         * sysdeps/gnu/configure.ac: ... here.
24340         * sysdeps/i386/configure.in: Moved to ...
24341         * sysdeps/i386/configure.ac: ... here.
24342         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
24343         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
24344         * sysdeps/mach/configure.in: Moved to ...
24345         * sysdeps/mach/configure.ac: ... here.
24346         * sysdeps/mach/hurd/configure.in: Moved to ...
24347         * sysdeps/mach/hurd/configure.ac: ... here.
24348         * sysdeps/powerpc/configure.in: Moved to ...
24349         * sysdeps/powerpc/configure.ac: ... here.
24350         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
24351         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
24352         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
24353         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
24354         * sysdeps/s390/s390-32/configure.in: Moved to ...
24355         * sysdeps/s390/s390-32/configure.ac: ... here.
24356         * sysdeps/s390/s390-64/configure.in: Moved to ...
24357         * sysdeps/s390/s390-64/configure.ac: ... here.
24358         * sysdeps/sh/configure.in: Moved to ...
24359         * sysdeps/sh/configure.ac: ... here.
24360         * sysdeps/sparc/configure.in: Moved to ...
24361         * sysdeps/sparc/configure.ac: ... here.
24362         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
24363         * sysdeps/unix/sysv/linux/configure.ac: ... here.
24364         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
24365         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
24366         * sysdeps/x86_64/configure.in: Moved to ...
24367         * sysdeps/x86_64/configure.ac: ... here.
24368         * sysdeps/x86_64/preconfigure.in: Moved to ...
24369         * sysdeps/x86_64/preconfigure.ac: ... here.
24370         * aclocal.m4: Change reference to configure.in to configure.ac.
24371         * config.h.in: Likewise.
24372         * manual/install.texi: Likewise.
24373         * manual/maint.texi: Likewise.
24374         * Makefile: Likewise.
24375         * malloc/Makefile: Likewise.
24376         * nscd/Makefile: Likewise.
24377         * Makeconfig: Change reference to configure.in and
24378         preconfigure.in to configure.ac and preconfigure.ac
24379         respectively.
24380         * INSTALL: Regenerated.
24381         * configure: Likewise.
24382         * sysdeps/gnu/configure: Likewise.
24383         * sysdeps/i386/configure: Likewise.
24384         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
24385         * sysdeps/mach/configure: Likewise.
24386         * sysdeps/mach/hurd/configure: Likewise.
24387         * sysdeps/powerpc/configure: Likewise.
24388         * sysdeps/powerpc/powerpc32/configure: Likewise.
24389         * sysdeps/powerpc/powerpc64/configure: Likewise.
24390         * sysdeps/s390/s390-32/configure: Likewise.
24391         * sysdeps/s390/s390-64/configure: Likewise.
24392         * sysdeps/sh/configure: Likewise.
24393         * sysdeps/sparc/configure: Likewise.
24394         * sysdeps/unix/sysv/linux/configure: Likewise.
24395         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
24396         * sysdeps/x86_64/configure: Likewise.
24397         * sysdeps/x86_64/preconfigure: Likewise.
24399 2013-10-29  Andreas Schwab  <schwab@suse.de>
24401         * stdio-common/Makefile (tst-swscanf-ENV): Define.
24403 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24405         * benchtests/pow-inputs: Add new inputs.
24407         * benchtests/exp-inputs: Add new inputs.
24409         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
24410         conditional check for return value.
24411         (__cos32): Likewise.
24413 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24415         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
24416         to provide a boost for large inputs with word alignment.
24417         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
24418         implementation based on optimized PPC64 strcpy.
24419         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
24420         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
24421         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
24422         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
24424 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24426         [BZ #2801]
24427         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
24429 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24431         [BZ #14876]
24432         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
24433         * time/tst-strptime.c (day_tests): Add testcase.
24435 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
24437         [BZ #14029]
24438         * manual/pattern.texi: Acknowledge that fnmatch can fail.
24440 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
24442         [BZ #16074]
24443         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
24444         MAP_FAILED on error.
24446 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24448         [BZ #16072]
24449         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
24450         heap for large requests.
24452 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
24454         [BZ #9954]
24455         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
24456         result if the result has no associated interface.
24457         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
24458         interface for all 127.X.Y.Z addresses.
24460 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
24462         * locale/iso-639.def: Add Ligurian (lij)
24464 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
24466         [BZ #15825]
24467         * sunrpc/rpc_main.c: Document rpcgen -5.
24469 2013-10-19  Michael Stahl  <mstahl@redhat.com>
24471         * elf/rtld.c (do_preload): Print the reason why preloading failed.
24473 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24475         [BZ #10278]
24476         * posix/glob.c: Match only directories when trailing slash is present.
24477         * posix/tst-gnuglob.c (my_opendir): Do not open files.
24478         (main): Add testcase.
24480 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
24482         [BZ #15670]
24483         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
24485 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
24487         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
24488         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
24489         AUTH_DES and cindex for FIPS 140-2.
24490         (DES Encryption): Add cindex FIPS 46-3.
24492         * locale/locarchive.h (struct locarhandle): Add fname.
24493         * locale/programs/localedef.c (main): Pass ARGV[remaining]
24494         if an optional argument was specified to --list-archive,
24495         otherwise NULL.
24496         * locale/programs/locarchive.c (show_archive_content): Take new
24497         argument fname and pass it via ah.fname to open_archive.
24498         * locale/programs/localedef.h: Update decl.
24499         (open_archive): If AH->fname is non-null, open that file
24500         rather than the default file name, and don't ignore ENOENT.
24501         (create_archive): Set AH.fname to NULL.
24502         (delete_locales_from_archive): Likewise.
24503         (add_locales_to_archive): Likewise.
24504         * locale/programs/locfile.c (write_all_categories): Likewise.
24506 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
24507             Aldy Hernandez  <aldyh@redhat.com>
24509         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
24510         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
24511         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
24512         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
24513         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
24514         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
24515         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
24516         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
24517         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
24518         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
24519         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
24520         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
24521         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
24522         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
24523         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
24524         Likewise.
24525         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
24526         Likewise.
24527         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
24528         Likewise.
24529         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
24530         Likewise.
24531         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
24532         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
24533         Likewise.
24534         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
24535         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
24536         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
24537         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
24538         Likewise.
24539         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
24540         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
24541         * sysdeps/powerpc/preconfigure: Likewise.
24542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
24543         Likewise.
24544         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
24545         Replace contents of file by #include of <fenv_libc.h>.
24546         * sysdeps/powerpc/soft-fp/sfp-machine.h
24547         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
24548         and <sys/prctl.h>.
24549         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
24550         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
24551         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
24552         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
24553         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
24554         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
24555         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
24556         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
24557         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
24558         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
24559         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
24560         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
24561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24562         Allow copysignl PLT reference to be missing.
24564 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
24565             Joseph Myers  <joseph@codesourcery.com
24567         [BZ #15948]
24568         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
24569         single character.
24570         (add_to_tablewc): Assert sequence of wide characters is nonempty.
24572 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24574         * elf/tst-tls-dlinfo.c: Don't include tls.h.
24575         * elf/tst-tls1.c: Likewise.
24576         * elf/tst-tls10.h: Likewise.
24577         * elf/tst-tls14.c: Likewise.
24578         * elf/tst-tls2.c: Likewise.
24579         * elf/tst-tls3.c: Likewise.
24580         * elf/tst-tls4.c: Likewise.
24581         * elf/tst-tls5.c: Likewise.
24582         * elf/tst-tls6.c: Likewise.
24583         * elf/tst-tls7.c: Likewise.
24584         * elf/tst-tls8.c: Likewise.
24585         * elf/tst-tls9.c: Likewise.
24586         * elf/tst-tlsmod1.c: Likewise.
24587         * elf/tst-tlsmod13.c: Likewise.
24588         * elf/tst-tlsmod13a.c: Likewise.
24589         * elf/tst-tlsmod14a.c: Likewise.
24590         * elf/tst-tlsmod16a.c: Likewise.
24591         * elf/tst-tlsmod16b.c: Likewise.
24592         * elf/tst-tlsmod2.c: Likewise.
24593         * elf/tst-tlsmod3.c: Likewise.
24594         * elf/tst-tlsmod4.c: Likewise.
24595         * elf/tst-tlsmod5.c: Likewise.
24596         * elf/tst-tlsmod6.c: Likewise.
24598 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
24600         [BZ #12486]
24601         * malloc/malloc.c: remove checks for statistics.
24603 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
24605         [BZ #15277]
24606         * inet/inet_net.c (inet_network): Detect additional invalid strings.
24607         * inet/tst-network.c: Add testcase.
24609 2013-10-17  Andreas Schwab  <schwab@suse.de>
24611         [BZ #15218]
24612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24613         to determine canonical name.
24615 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
24617         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24618         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24619         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24620         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24621         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24622         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24623         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24624         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24625         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24626         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24627         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24628         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24629         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24630         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24631         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24632         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24633         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24634         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24635         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24636         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24637         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24638         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24639         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24640         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24641         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24642         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24643         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24644         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24645         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24646         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24647         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24648         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24649         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24650         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24651         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24652         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24653         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24654         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24655         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24656         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24657         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24658         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24659         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24660         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24661         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24662         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24663         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24664         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24665         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24666         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24667         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24668         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24669         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24670         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24671         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24672         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24673         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24674         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24676 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
24678         [BZ #16041]
24679         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24680         make result into a quiet NaN.
24682 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
24684         * soft-fp/adddf3.c: Fix horizontal whitespace.
24685         * soft-fp/addsf3.c: Likewise.
24686         * soft-fp/addtf3.c: Likewise.
24687         * soft-fp/divdf3.c: Likewise.
24688         * soft-fp/divsf3.c: Likewise.
24689         * soft-fp/divtf3.c: Likewise.
24690         * soft-fp/double.h: Likewise.
24691         * soft-fp/eqdf2.c: Likewise.
24692         * soft-fp/eqsf2.c: Likewise.
24693         * soft-fp/eqtf2.c: Likewise.
24694         * soft-fp/extenddftf2.c: Likewise.
24695         * soft-fp/extended.h: Likewise.
24696         * soft-fp/extendsfdf2.c: Likewise.
24697         * soft-fp/extendsftf2.c: Likewise.
24698         * soft-fp/extendxftf2.c: Likewise.
24699         * soft-fp/fixdfdi.c: Likewise.
24700         * soft-fp/fixdfsi.c: Likewise.
24701         * soft-fp/fixdfti.c: Likewise.
24702         * soft-fp/fixsfdi.c: Likewise.
24703         * soft-fp/fixsfsi.c: Likewise.
24704         * soft-fp/fixsfti.c: Likewise.
24705         * soft-fp/fixtfdi.c: Likewise.
24706         * soft-fp/fixtfsi.c: Likewise.
24707         * soft-fp/fixtfti.c: Likewise.
24708         * soft-fp/fixunsdfdi.c: Likewise.
24709         * soft-fp/fixunsdfsi.c: Likewise.
24710         * soft-fp/fixunsdfti.c: Likewise.
24711         * soft-fp/fixunssfdi.c: Likewise.
24712         * soft-fp/fixunssfsi.c: Likewise.
24713         * soft-fp/fixunssfti.c: Likewise.
24714         * soft-fp/fixunstfdi.c: Likewise.
24715         * soft-fp/fixunstfsi.c: Likewise.
24716         * soft-fp/fixunstfti.c: Likewise.
24717         * soft-fp/floatdidf.c: Likewise.
24718         * soft-fp/floatdisf.c: Likewise.
24719         * soft-fp/floatditf.c: Likewise.
24720         * soft-fp/floatsidf.c: Likewise.
24721         * soft-fp/floatsisf.c: Likewise.
24722         * soft-fp/floatsitf.c: Likewise.
24723         * soft-fp/floattidf.c: Likewise.
24724         * soft-fp/floattisf.c: Likewise.
24725         * soft-fp/floattitf.c: Likewise.
24726         * soft-fp/floatundidf.c: Likewise.
24727         * soft-fp/floatundisf.c: Likewise.
24728         * soft-fp/floatunditf.c: Likewise.
24729         * soft-fp/floatunsidf.c: Likewise.
24730         * soft-fp/floatunsisf.c: Likewise.
24731         * soft-fp/floatunsitf.c: Likewise.
24732         * soft-fp/floatuntidf.c: Likewise.
24733         * soft-fp/floatuntisf.c: Likewise.
24734         * soft-fp/floatuntitf.c: Likewise.
24735         * soft-fp/fmadf4.c: Likewise.
24736         * soft-fp/fmasf4.c: Likewise.
24737         * soft-fp/fmatf4.c: Likewise.
24738         * soft-fp/gedf2.c: Likewise.
24739         * soft-fp/gesf2.c: Likewise.
24740         * soft-fp/getf2.c: Likewise.
24741         * soft-fp/ledf2.c: Likewise.
24742         * soft-fp/lesf2.c: Likewise.
24743         * soft-fp/letf2.c: Likewise.
24744         * soft-fp/muldf3.c: Likewise.
24745         * soft-fp/mulsf3.c: Likewise.
24746         * soft-fp/multf3.c: Likewise.
24747         * soft-fp/negdf2.c: Likewise.
24748         * soft-fp/negsf2.c: Likewise.
24749         * soft-fp/negtf2.c: Likewise.
24750         * soft-fp/op-1.h: Likewise.
24751         * soft-fp/op-2.h: Likewise.
24752         * soft-fp/op-4.h: Likewise.
24753         * soft-fp/op-8.h: Likewise.
24754         * soft-fp/op-common.h: Likewise.
24755         * soft-fp/quad.h: Likewise.
24756         * soft-fp/single.h: Likewise.
24757         * soft-fp/soft-fp.h: Likewise.
24758         * soft-fp/sqrtdf2.c: Likewise.
24759         * soft-fp/sqrtsf2.c: Likewise.
24760         * soft-fp/sqrttf2.c: Likewise.
24761         * soft-fp/subdf3.c: Likewise.
24762         * soft-fp/subsf3.c: Likewise.
24763         * soft-fp/subtf3.c: Likewise.
24764         * soft-fp/truncdfsf2.c: Likewise.
24765         * soft-fp/trunctfdf2.c: Likewise.
24766         * soft-fp/trunctfsf2.c: Likewise.
24767         * soft-fp/trunctfxf2.c: Likewise.
24768         * soft-fp/unorddf2.c: Likewise.
24769         * soft-fp/unordsf2.c: Likewise.
24770         * soft-fp/unordtf2.c: Likewise.
24772 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
24774         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24775         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24777 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
24779         * elf/dl-libc.c: Clear initfini list after freeing.
24781 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
24783         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24784         * soft-fp/addsf3.c: Likewise.
24785         * soft-fp/addtf3.c: Likewise.
24786         * soft-fp/divdf3.c: Likewise.
24787         * soft-fp/divsf3.c: Likewise.
24788         * soft-fp/divtf3.c: Likewise.
24789         * soft-fp/double.h: Likewise.
24790         * soft-fp/eqdf2.c: Likewise.
24791         * soft-fp/eqsf2.c: Likewise.
24792         * soft-fp/eqtf2.c: Likewise.
24793         * soft-fp/extenddftf2.c: Likewise.
24794         * soft-fp/extended.h: Likewise.
24795         * soft-fp/extendsfdf2.c: Likewise.
24796         * soft-fp/extendsftf2.c: Likewise.
24797         * soft-fp/extendxftf2.c: Likewise.
24798         * soft-fp/fixdfdi.c: Likewise.
24799         * soft-fp/fixdfsi.c: Likewise.
24800         * soft-fp/fixdfti.c: Likewise.
24801         * soft-fp/fixsfdi.c: Likewise.
24802         * soft-fp/fixsfsi.c: Likewise.
24803         * soft-fp/fixsfti.c: Likewise.
24804         * soft-fp/fixtfdi.c: Likewise.
24805         * soft-fp/fixtfsi.c: Likewise.
24806         * soft-fp/fixtfti.c: Likewise.
24807         * soft-fp/fixunsdfdi.c: Likewise.
24808         * soft-fp/fixunsdfsi.c: Likewise.
24809         * soft-fp/fixunsdfti.c: Likewise.
24810         * soft-fp/fixunssfdi.c: Likewise.
24811         * soft-fp/fixunssfsi.c: Likewise.
24812         * soft-fp/fixunssfti.c: Likewise.
24813         * soft-fp/fixunstfdi.c: Likewise.
24814         * soft-fp/fixunstfsi.c: Likewise.
24815         * soft-fp/fixunstfti.c: Likewise.
24816         * soft-fp/floatdidf.c: Likewise.
24817         * soft-fp/floatdisf.c: Likewise.
24818         * soft-fp/floatditf.c: Likewise.
24819         * soft-fp/floatsidf.c: Likewise.
24820         * soft-fp/floatsisf.c: Likewise.
24821         * soft-fp/floatsitf.c: Likewise.
24822         * soft-fp/floattidf.c: Likewise.
24823         * soft-fp/floattisf.c: Likewise.
24824         * soft-fp/floattitf.c: Likewise.
24825         * soft-fp/floatundidf.c: Likewise.
24826         * soft-fp/floatundisf.c: Likewise.
24827         * soft-fp/floatunsidf.c: Likewise.
24828         * soft-fp/floatunsisf.c: Likewise.
24829         * soft-fp/floatuntidf.c: Likewise.
24830         * soft-fp/floatuntisf.c: Likewise.
24831         * soft-fp/floatuntitf.c: Likewise.
24832         * soft-fp/fmadf4.c: Likewise.
24833         * soft-fp/fmasf4.c: Likewise.
24834         * soft-fp/fmatf4.c: Likewise.
24835         * soft-fp/gedf2.c: Likewise.
24836         * soft-fp/gesf2.c: Likewise.
24837         * soft-fp/getf2.c: Likewise.
24838         * soft-fp/ledf2.c: Likewise.
24839         * soft-fp/lesf2.c: Likewise.
24840         * soft-fp/letf2.c: Likewise.
24841         * soft-fp/muldf3.c: Likewise.
24842         * soft-fp/mulsf3.c: Likewise.
24843         * soft-fp/multf3.c: Likewise.
24844         * soft-fp/negdf2.c: Likewise.
24845         * soft-fp/negsf2.c: Likewise.
24846         * soft-fp/negtf2.c: Likewise.
24847         * soft-fp/op-1.h: Likewise.
24848         * soft-fp/op-2.h: Likewise.
24849         * soft-fp/op-4.h: Likewise.
24850         * soft-fp/op-8.h: Likewise.
24851         * soft-fp/op-common.h: Likewise.
24852         * soft-fp/quad.h: Likewise.
24853         * soft-fp/single.h: Likewise.
24854         * soft-fp/soft-fp.h: Likewise.
24855         * soft-fp/sqrtdf2.c: Likewise.
24856         * soft-fp/sqrtsf2.c: Likewise.
24857         * soft-fp/sqrttf2.c: Likewise.
24858         * soft-fp/subdf3.c: Likewise.
24859         * soft-fp/subsf3.c: Likewise.
24860         * soft-fp/subtf3.c: Likewise.
24861         * soft-fp/truncdfsf2.c: Likewise.
24862         * soft-fp/trunctfdf2.c: Likewise.
24863         * soft-fp/trunctfsf2.c: Likewise.
24864         * soft-fp/trunctfxf2.c: Likewise.
24865         * soft-fp/unorddf2.c: Likewise.
24866         * soft-fp/unordsf2.c: Likewise.
24867         * soft-fp/unordtf2.c: Likewise.
24869 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
24871         [BZ #15672]
24872         * misc/error.c (error_tail): Fix possible buffer overflow.
24874 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
24876         [BZ #13028]
24877         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24878         address.
24880 2013-10-14  P. J. McDermott  <pj@pehjota.net>
24882         [BZ #832]
24883         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
24884         testing pipefail option.
24886 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24888         * soft-fp/double.h: Indent preprocessor directives inside #if.
24889         * soft-fp/extended.h: Likewise.
24890         * soft-fp/op-2.h: Likewise.
24891         * soft-fp/op-4.h: Likewise.
24892         * soft-fp/op-common.h: Likewise.
24893         * soft-fp/quad.h: Likewise.
24894         * soft-fp/single.h: Likewise.
24895         * soft-fp/soft-fp.h: Likewise.
24897 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
24899         * iconv/iconv_prog.c: Fix typos.
24900         * stdio-common/psiginfo-data.h: Likewise.
24902 2013-10-12   Reuben Thomas <rrt@sc3d.org>
24904         [BZ #15764]
24905         * locale/setlocale.c: Fix typo.
24907 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
24909         [BZ #16036]
24910         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24911         signaling NaN arguments.
24912         * soft-fp/unordsf2.c (__unordsf2): Likewise.
24913         * soft-fp/unordtf2.c (__unordtf2): Likewise.
24915         [BZ #14910]
24916         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24917         unordered operands.
24918         * soft-fp/gesf2.c (__gesf2): Likewise.
24919         * soft-fp/getf2.c (__getf2): Likewise.
24920         * soft-fp/ledf2.c (__ledf2): Likewise.
24921         * soft-fp/lesf2.c (__lesf2): Likewise.
24922         * soft-fp/letf2.c (__letf2): Likewise.
24924         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24925         * soft-fp/eqsf2.c (__eqsf2): Likewise.
24926         * soft-fp/eqtf2.c (__eqtf2): Likewise.
24927         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24928         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24929         * soft-fp/fixdfti.c (__fixdfti): Likewise.
24930         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24931         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24932         * soft-fp/fixsfti.c (__fixsfti): Likewise.
24933         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24934         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24935         * soft-fp/fixtfti.c (__fixtfti): Likewise.
24936         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24937         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24938         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24939         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24940         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24941         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24942         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24943         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24944         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24945         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24946         * soft-fp/floatdisf.c (__floatdisf): Likewise.
24947         * soft-fp/floatsisf.c (__floatsisf): Likewise.
24948         * soft-fp/floattidf.c (__floattidf): Likewise.
24949         * soft-fp/floattisf.c (__floattisf): Likewise.
24950         * soft-fp/floattitf.c (__floattitf): Likewise.
24951         * soft-fp/floatundidf.c (__floatundidf): Likewise.
24952         * soft-fp/floatundisf.c (__floatundisf): Likewise.
24953         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24954         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24955         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24956         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24957         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24958         * soft-fp/gesf2.c (__gesf2): Likewise.
24959         * soft-fp/getf2.c (__getf2): Likewise.
24960         * soft-fp/ledf2.c (__ledf2): Likewise.
24961         * soft-fp/lesf2.c (__lesf2): Likewise.
24962         * soft-fp/letf2.c (__letf2): Likewise.
24964         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24965         Undefine and redefine.
24966         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24967         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24968         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24969         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24970         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24971         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24972         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24973         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24974         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24975         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24976         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24977         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24978         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24979         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24980         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24982         [BZ #16032]
24983         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24984         without decrementing exponent if mantissa >= that for the
24985         denominator, not >.
24986         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24987         denominator, not >.  Decrement exponent in < case instead of
24988         incrementing in >= case.
24989         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24990         without decrementing exponent if mantissa >= that for the
24991         denominator, not >.
24993         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24994         computing saturated result for unsigned overflow.
24996 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24997             Jeff Law  <law@redhat.com>
24999         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25000         (atan2Mp): Add systemtap probe marker.
25001         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25002         (__ieee754_log): Add systemtap probe marker.
25003         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25004         (atanMp): Add systemtap probe marker.
25005         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25006         (tanMp): Add systemtap probe marker.
25007         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25008         (__slowexp): Add systemtap probe marker.
25009         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25010         (__slowpow): Add systemtap probe marker.
25011         * manual/probes.texi: Document probes.
25013 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
25015         [BZ #15362]
25016         * libio/fileops.c (_IO_new_file_write): Return count of bytes
25017         written.
25018         (_IO_new_file_xsputn): Don't return EOF if nothing has been
25019         written.
25020         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25021         written to buffer but not flushed.
25022         * libio/iofwrite_u.c:  Likewise.
25023         * libio/iopadn.c:  Return bytes returned even if EOF was
25024         encountered.
25025         * libio/iowpadn.c:  Likewise.
25026         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25027         if _IO_padn does not write the whole buffer.
25028         [!COMPILE_WPRINTF] (PAD): Likewise.
25030 2013-10-10  David S. Miller  <davem@davemloft.net>
25032         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25033         directory block.
25035 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
25037         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
25038         instead of FSF address.
25039         * soft-fp/fixdfti.c: Likewise.
25040         * soft-fp/fixsfti.c: Likewise.
25041         * soft-fp/fixtfti.c: Likewise.
25042         * soft-fp/fixunsdfti.c: Likewise.
25043         * soft-fp/fixunssfti.c: Likewise.
25044         * soft-fp/fixunstfti.c: Likewise.
25045         * soft-fp/floattidf.c: Likewise.
25046         * soft-fp/floattisf.c: Likewise.
25047         * soft-fp/floattitf.c: Likewise.
25048         * soft-fp/floatuntidf.c: Likewise.
25049         * soft-fp/floatuntisf.c: Likewise.
25050         * soft-fp/floatuntitf.c: Likewise.
25051         * soft-fp/trunctfxf2.c: Likewise.
25053         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
25054         * soft-fp/fixdfti.c: Likewise.
25055         * soft-fp/fixsfti.c: Likewise.
25056         * soft-fp/fixtfti.c: Likewise.
25057         * soft-fp/fixunsdfti.c: Likewise.
25058         * soft-fp/fixunssfti.c: Likewise.
25059         * soft-fp/fixunstfti.c: Likewise.
25060         * soft-fp/floattidf.c: Likewise.
25061         * soft-fp/floattisf.c: Likewise.
25062         * soft-fp/floattitf.c: Likewise.
25063         * soft-fp/floatuntidf.c: Likewise.
25064         * soft-fp/floatuntisf.c: Likewise.
25065         * soft-fp/floatuntitf.c: Likewise.
25066         * soft-fp/trunctfxf2.c: Likewise.
25068 2013-10-10  David S. Miller  <davem@davemloft.net>
25070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25072 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
25074         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25075         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25076         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25077         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25078         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25079         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25080         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25082         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25083         for NaNs before doing comparisons on argument.
25084         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25085         Likewise.
25087 2013-10-10  Will Newton  <will.newton@linaro.org>
25089         * malloc/hooks.c (memalign_check): Ensure the value of bytes
25090         passed to _int_memalign does not overflow.
25092 2013-10-10  Torvald Riegel  <triegel@redhat.com>
25094         * scripts/bench.pl: Add include-sources directive.
25095         * benchtests/README: Update documentation.
25097 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
25099         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
25100         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
25101         instead of FP_INIT_ROUNDMODE.
25102         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
25103         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
25105         [BZ #16034]
25106         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
25107         copy class of input value.
25108         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
25109         not handle exceptions.
25110         * soft-fp/negsf2.c (__negsf2): Likewise.
25111         * soft-fp/negtf2.c (__negtf2): Likewise.
25112         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
25114 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
25116         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
25117         semicolon.  From Linux kernel.
25119 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
25121         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
25123 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
25125         [BZ #156]
25126         * manual/socket.texi: Added statement about buffer
25127         for gethostbyname2_r.
25129 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
25131         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
25132         Use .p2align directive instead, throughout.
25133         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25134         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25135         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
25136         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25137         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25138         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
25139         * sysdeps/x86_64/strchr.S: Likewise.
25140         * sysdeps/x86_64/strrchr.S: Likewise.
25142 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
25144         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
25146         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
25148         * sysdeps/generic/math_private.h (__mpsin1): Remove
25149         declaration.
25150         (__mpcos1): Likewise.
25151         (__mpsin): New argument __range_reduce.
25152         (__mpcos): Likewise.
25153         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25154         (slow): Use __mpsin and __mpcos.
25155         (slow1): Likewise.
25156         (slow2): Likewise.
25157         (sloww): Likewise.
25158         (sloww1): Likewise.
25159         (sloww2): Likewise.
25160         (bsloww): Likewise.
25161         (bsloww1): Likewise.
25162         (bsloww2): Likewise.
25163         (cslow2): Likewise.
25164         (csloww): Likewise.
25165         (csloww1): Likewise.
25166         (csloww2): Likewise.
25167         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
25168         range_reduce.  Merge in __mpsin1.
25169         (__mpcos): Likewise.
25170         (__mpsin1): Remove.
25171         (__mpcos1): Likewise.
25173 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
25175         * locale/loadlocale.c (_nl_intern_locale_data): Use
25176         LOCFILE_ALIGNED_P.
25177         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
25178         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
25179         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
25180         obstack data is appropriately aligned.
25181         (obstack_int32_grow_fast): Likewise.
25182         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
25183         * locale/programs/locfile.c (add_locale_uint32): Likewise.
25184         (add_locale_uint32_array): Likewise.
25186 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25188         * benchtests/Makefile: Remove ARGLIST and RET variables.
25189         ($(objpfx)bench-%.c): Pass only function name to the script.
25190         * benchtests/README: Update documentation.
25191         * benchtests/acos-inputs: Add new directives.
25192         * benchtests/acosh-inputs: Likewise.
25193         * benchtests/asin-inputs: Likewise.
25194         * benchtests/asinh-inputs: Likewise.
25195         * benchtests/atan-inputs: Likewise.
25196         * benchtests/atanh-inputs: Likewise.
25197         * benchtests/cos-inputs: Likewise.
25198         * benchtests/cosh-inputs: Likewise.
25199         * benchtests/exp-inputs: Likewise.
25200         * benchtests/log-inputs: Likewise.
25201         * benchtests/pow-inputs: Likewise.
25202         * benchtests/rint-inputs: Likewise.
25203         * benchtests/sin-inputs: Likewise.
25204         * benchtests/sinh-inputs: Likewise.
25205         * benchtests/tan-inputs: Likewise.
25206         * benchtests/tanh-inputs: Likewise.
25207         * scripts/bench.pl: Add support for new directives.
25209 2013-10-07  Alan Modra  <amodra@gmail.com>
25211         * README: Fix careless merge.
25213 2013-10-05  Alan Modra  <amodra@gmail.com>
25215         * NEWS: Mention powerpc64le support and bugs fixed.
25216         * README: Both big-endian and little-endian powerpc64 supported.
25218 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25220         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
25221         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
25222         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
25223         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
25225 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
25227         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
25228         match prototype.
25230 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
25232         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
25233         Move -mhard-float appending from
25234         ports/sysdeps/powerpc/powerpc32/Makefile.
25235         [$(with-fp) = yes] (ASFLAGS): Likewise.
25236         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
25237         * sysdeps/powerpc/nofpu: Move directory from
25238         ports/sysdeps/powerpc/nofpu.
25239         * sysdeps/powerpc/soft-fp: Move directory from
25240         ports/sysdeps/powerpc/soft-fp.
25241         * sysdeps/powerpc/powerpc32/405: Move directory from
25242         ports/sysdeps/powerpc/powerpc32/405.
25243         * sysdeps/powerpc/powerpc32/440: Move directory from
25244         ports/sysdeps/powerpc/powerpc32/440.
25245         * sysdeps/powerpc/powerpc32/464: Move directory from
25246         ports/sysdeps/powerpc/powerpc32/464.
25247         * sysdeps/powerpc/powerpc32/476: Move directory from
25248         ports/sysdeps/powerpc/powerpc32/476.
25249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
25250         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
25251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
25252         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
25253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
25254         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
25255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
25256         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
25257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
25258         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
25259         * README: Update for powerpc-*-linux-gnu software floating point
25260         support in libc.
25262         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
25263         case to powerpc/powerpc32*.
25264         * sysdeps/unix/sysv/linux/configure: Regenerated.
25266         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
25267         (_FPU_MASK_OM): Define as 0x04.
25268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
25269         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
25270         0x00c10080.
25271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
25272         0x0000003c.
25273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
25275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
25276         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25277         getcontext_e500.
25278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
25279         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
25280         setcontext_e500.
25281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
25282         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
25283         and setcontext_e500.
25285 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
25287         * locale/iso-3166.def: Update iso-1366.def and related occurrences
25289 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25291         * manual/threads.texi (Default Thread Attributes): Fix typo.
25293 2013-10-04  Will Newton  <will.newton@linaro.org>
25295         * malloc/Makefile: Add tst-memalign.
25296         * malloc/tst-memalign.c: New file.
25298         * malloc/tst-posix_memalign.c: Add comments.
25299         (do_test): Add comments and call free on all potentially
25300         allocated pointers. Add space after cast.
25302         * malloc/tst-pvalloc.c: Add comments.
25303         (do_test): Add comments and call free on all potentially
25304         allocated pointers. Remove duplicate check for NULL pointer.
25305         Add space after cast.
25307         * malloc/tst-valloc.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 2013-10-04  Alan Modra  <amodra@gmail.com>
25314         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25315         Use stdint types in rather than __attribute__((mode())).
25316         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25318 2013-10-04  Alan Modra  <amodra@gmail.com>
25320         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25321         Correct handling of unaligned relocs for little-endian.
25322         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25324 2013-10-04  Alan Modra  <amodra@gmail.com>
25326         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
25327         * configure: Regenerate.
25328         * nptl/shlib-versions: Powerpc*le starts at 2.18.
25329         * shlib-versions: Likewise.
25331 2013-10-04  Alan Modra  <amodra@gmail.com>
25333         * string/tester.c (test_memrchr): Increment reported test cycle.
25335 2013-10-04  Alan Modra  <amodra@gmail.com>
25337         * string/test-memcpy.c (do_one_test): When reporting errors, print
25338         string address and don't overrun end of string.
25340 2013-10-04  Alan Modra  <amodra@gmail.com>
25342         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
25343         insrdi.  Make better use of reg selection to speed exit slightly.
25344         Schedule entry path a little better.  Remove useless "are we done"
25345         checks on entry to main loop.  Handle wrapping around zero address.
25346         Correct main loop count.  Handle single left-over word from main
25347         loop inline rather than by using loop_small.  Remove extra word
25348         case in loop_small caused by wrong loop count.  Add little-endian
25349         support.
25350         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25351         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
25352         cache hint.
25353         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
25354         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
25355         support.  Avoid rlwimi.
25356         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
25358 2013-10-04  Alan Modra  <amodra@gmail.com>
25360         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
25361         insrdi.  Formatting.
25362         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
25363         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25364         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25365         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25366         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25367         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
25369 2013-10-04  Alan Modra  <amodra@gmail.com>
25371         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
25372         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25373         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
25374         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
25375         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
25376         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25377         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25378         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25379         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
25380         use of regs.  Use power7 mtocrf.  Tidy function tails.
25382 2013-10-04  Alan Modra  <amodra@gmail.com>
25384         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
25385         Formatting.  Consistently use rXXX register defines or rN defines.
25386         Use early exit labels that avoid restoring unused non-volatile regs.
25387         Make cr field use more consistent with rWORDn compares.  Rename
25388         regs used as shift registers for unaligned loop, using rN defines
25389         for short lifetime/multiple use regs.
25390         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25391         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
25392         addi 1,1,64 to pop stack frame.  Simplify return value code.
25393         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25395 2013-10-04  Alan Modra  <amodra@gmail.com>
25397         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
25398         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
25399         rather than rlwimi.
25400         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
25401         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
25402         little-endian support.  Correct typos.
25403         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
25404         rather than rlwimi.
25405         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
25406         in loop and entry code to keep "and." results.
25407         (strchr): Add little-endian support.  Comment.  Move cntlzd
25408         earlier in tail.
25409         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
25411 2013-10-04  Alan Modra  <amodra@gmail.com>
25413         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
25414         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
25415         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25416         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
25418 2013-10-04  Alan Modra  <amodra@gmail.com>
25420         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
25421         (rTMP): Define as r11.
25422         (strcmp): Add little-endian support.  Optimise tail.
25423         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
25424         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25425         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
25426         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25427         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25428         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25429         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25431 2013-10-04  Alan Modra  <amodra@gmail.com>
25433         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
25434         little-endian support.  Remove unnecessary "are we done" tests.
25435         Handle "s" wrapping around zero and extremely large "size".
25436         Correct main loop count.  Handle single left-over word from main
25437         loop inline rather than by using small_loop.  Correct comments.
25438         Delete "zero" tail, use "end_max" instead.
25439         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
25441 2013-10-04  Alan Modra  <amodra@gmail.com>
25443         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
25444         support.  Don't branch over align.
25445         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
25446         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
25447         support.  Rearrange tmp reg use to suit.  Comment.
25448         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
25450 2013-10-04  Alan Modra  <amodra@gmail.com>
25452         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
25454 2013-10-04  Alan Modra  <amodra@gmail.com>
25456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
25457         conditional form of branch and link when obtaining pc.
25458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25460 2013-10-04  Alan Modra  <amodra@gmail.com>
25462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
25463         HIWORD/LOWORD.
25464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
25465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
25467 2013-10-04  Alan Modra  <amodra@gmail.com>
25469         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
25470         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
25471         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25472         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
25473         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25474         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25475         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
25476         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25477         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25478         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
25480 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25481             Alistair Popple <alistair@ozlabs.au.ibm.com>
25482             Alan Modra <amodra@gmail.com>
25484         [BZ #15723]
25485         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
25486         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
25487         _dl_hwcap access for little-endian.
25488         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
25489         destroy vmx regs when saving unaligned.
25490         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25491         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
25492         destroy vmx regs when saving unaligned.
25494 2013-10-04  Alan Modra  <amodra@gmail.com>
25496         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
25497         Don't use a union to pack hi/low value.
25499 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25501         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
25502         for little-endian.
25503         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25504         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
25505         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25506         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25507         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25509 2013-10-04  Alan Modra  <amodra@gmail.com>
25511         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
25512         constants to usual value for .cst8 section, and remove redundant
25513         high address load.
25514         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
25515         constant for 0x1p52.  Load little-endian words of double from
25516         correct stack offsets.
25518 2013-10-04  Alan Modra  <amodra@gmail.com>
25520         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
25521         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
25522         words of double from correct stack offsets.
25523         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25524         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
25525         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25526         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25527         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25528         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25529         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25530         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25531         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25532         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25533         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25534         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25535         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25536         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25537         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25538         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
25539         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25541 2013-10-04  Alan Modra  <amodra@gmail.com>
25543         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
25544         64-bit int/double union.
25545         (_FPU_SETCW): Likewise.
25546         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
25547         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
25549 2013-10-04  Alan Modra  <amodra@gmail.com>
25551         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
25552         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
25554 2013-10-04  Alan Modra  <amodra@gmail.com>
25556         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
25557         use vector int constants.
25558         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
25560 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25562         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
25563         array with long long.
25564         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
25565         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
25566         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
25567         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
25568         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
25569         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
25570         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
25571         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
25572         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25573         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
25574         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
25575         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
25576         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
25578 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
25580         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
25581         (__signbit): Likewise.  Correct for little-endian.
25582         (__signbitl): Call __signbit.
25583         (lrint): Correct for little-endian.
25584         (lrintf): Call lrint.
25586 2013-10-04  Alan Modra  <amodra@gmail.com>
25588         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
25589         union 32-bit int array member with 64-bit int array.
25590         (t515, tm256): Double rather than long double.
25591         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
25593 2013-10-04  Alan Modra  <amodra@gmail.com>
25595         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
25596         Delete.
25597         (IEEE854_LONG_DOUBLE_BIAS): Delete.
25598         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25599         version of math_ldbl.h.
25601 2013-10-04  Alan Modra  <amodra@gmail.com>
25603         [BZ #15734], [BZ #15735]
25604         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25605         all uses of ieee875 long double macros and unions.  Simplify test
25606         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
25607         ldbl_extract_mantissa value for ix,iy exponents.  Properly
25608         normalize after ldbl_extract_mantissa, and don't add hidden bit
25609         already handled.  Don't treat low word of ieee854 mantissa like
25610         low word of IBM long double and mask off bit when testing for
25611         zero.
25612         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25613         all uses of ieee875 long double macros and unions.  Simplify tests
25614         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
25615         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
25616         two1022, instead use their values.  Recognise that tests for large
25617         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
25618         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25619         Rewrite all uses of ieee875 long double macros and unions.  Simplify
25620         test for 0.0L and nan.  Correct negation.
25621         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25622         ieee875 long double macros and unions.  Correct output for large
25623         magnitude x.  Correct absolute value calculation.
25624         (__erfcl): Likewise.
25625         * math/libm-test.inc: Add tests for errors discovered in IBM long
25626         double versions of fmodl, remainderl, erfl and erfcl.
25628 2013-10-04  Alan Modra  <amodra@gmail.com>
25630         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25631         all uses of ieee854 long double macros and unions.  Simplify tests
25632         for long doubles that are fully specified by the high double.
25633         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25634         Likewise.
25635         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25636         Remove dead code too.
25637         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25638         (__ieee754_ynl): Likewise.
25639         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25640         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25641         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25642         Remove dead code too.
25643         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25644         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25645         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25646         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25647         Simplify.
25648         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25649         Simplify.
25650         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25651         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25652         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25653         Comment on variable precision.
25654         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25655         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25656         Likewise.
25657         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25658         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25659         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25660         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25661         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25663 2013-10-04  Alan Modra  <amodra@gmail.com>
25665         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25666         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25667         all uses of ieee854 long double macros and unions.
25668         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25669         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25670         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25671         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25672         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25673         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25674         Likewise.
25675         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25676         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25677         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25678         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25679         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25680         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25681         Simplify sign and nan test too.
25682         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25683         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25684         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25685         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25686         Likewise.
25687         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25688         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25689         Likewise.
25690         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25691         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25692         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25693         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25694         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25695         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25697 2013-10-04  Alan Modra  <amodra@gmail.com>
25699         * stdio-common/printf_size.c (__printf_size): Don't use
25700         union ieee854_long_double in fpnum union.
25701         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
25702         signbit macro to retrieve sign from long double.
25703         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25704         retrieve sign from long double.
25705         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25706         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25707         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25708         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25709         * math/test-misc.c (main): Don't use union ieee854_long_double.
25711 2013-10-04  Alan Modra  <amodra@gmail.com>
25713         [BZ #15680]
25714         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25715         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25716         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25717         calculation.  Remove unnecessary test for denormal exponent.
25718         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25719         Correct handling of denormals.  Avoid undefined shift behaviour.
25720         Correct normalisation of low mantissa when low double is denormal.
25721         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25722         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
25723         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25724         Correct normalisation of low mantissa.  Test for overflow of high
25725         mantissa and normalise.
25726         (ldbl_nearbyint): Use more readable constant for two52.
25727         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25728         (__mpn_construct_long_double): Fix test for overflow of high
25729         mantissa and correct normalisation.  Avoid undefined shift.
25731 2013-10-04  Alan Modra  <amodra@gmail.com>
25733         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25734         (union ibm_extended_long_double): Define as an array of ieee754_double.
25735         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25736         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25737         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25738         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25739         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25740         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25741         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25742         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25743         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25744         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25745         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25747 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
25749         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25750         page size instead of calling getpagesize.
25752         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25753         (LOCFILE_ALIGN_MASK): Likewise.
25754         (LOCFILE_ALIGN_UP): Likewise.
25755         (LOCFILE_ALIGNED_P): Likewise.
25756         * locale/programs/ld-collate.c (collate_output): Use the new
25757         macros instead of __alignof__ (int32_t).
25758         * locale/weight.h (findidx): Likewise.
25760 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
25762         [BZ #431]
25763         * manual/string.texi: Fix strncat and wcsncat.
25765 2013-10-03  Brooks Moses  <bmoses@google.com>
25767         [BZ #15915]
25768         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25769         * Makerules: ...here, and adjust associated comments.
25771 2013-10-02  Will Newton  <will.newton@linaro.org>
25773         * malloc/Makefile: Add tst-pvalloc.
25774         * malloc/tst-pvalloc.c: New file.
25776 2013-10-02  Will Newton  <will.newton@linaro.org>
25778         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25779         improve test coverage.
25781 2013-10-02  Will Newton  <will.newton@linaro.org>
25783         * malloc/Makefile: Add tst-posix_memalign.
25784         * malloc/tst-posix_memalign.c: New file.
25786 2013-10-01  Eric Blake  <eblake@redhat.com>
25788         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25789         Use __THROWNL rather than __THROW on static functions.
25791 2013-09-30  Petr Machata  <pmachata@redhat.com>
25793         * elf/elf.h (R_AARCH64_ABS16): New macro.
25794         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25795         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25796         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25797         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25798         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25799         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25800         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25801         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25802         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25803         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25804         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25805         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25806         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25807         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25808         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25809         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25810         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25811         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25812         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25813         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25814         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25815         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25816         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25817         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25818         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25819         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25820         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25821         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25822         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25823         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25824         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25825         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25826         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25827         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25828         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25829         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25830         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25831         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25832         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25833         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25834         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25835         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25836         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25837         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25838         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25839         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25840         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25841         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25842         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25843         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25844         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25845         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25846         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25847         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25848         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25849         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25850         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25851         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25852         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25853         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25854         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25855         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25856         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25857         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25858         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25859         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25860         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25861         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25862         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25863         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25864         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25865         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25866         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25867         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25868         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25869         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25870         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25871         (R_AARCH64_TLSDESC_LDR): Likewise.
25872         (R_AARCH64_TLSDESC_ADD): Likewise.
25873         (R_AARCH64_TLSDESC_CALL): Likewise.
25875 2013-09-30  Andreas Schwab  <schwab@suse.de>
25877         [BZ #15048]
25878         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25879         the nss database lookup.
25880         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25883 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
25885         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25887 2013-09-28  P. J. McDermott  <pj@pehjota.net>
25889         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25890         ${Bash-specific parameter/pattern/string} parameter expansion.
25891         * sysdeps/unix/make-syscalls.sh: Likewise.
25893 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25895         * sysdeps/sh/stackguard-macros.h: New file.
25897 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
25899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25901         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25902         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25903         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25904         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25906 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25908         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25909         Fix thread ID register.
25911 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
25913         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25914         [POSIX || UNIX98]: Require rather than permitting all symbols from
25915         <time.h>.
25916         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25917         element of struct sched_param.
25918         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25919         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25920         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25921         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25922         constant.
25924 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
25926         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25927         argument calculation.
25929 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25931         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25932         Expect macro.
25933         [POSIX] (pthread_attr_t): Do not require type.
25934         [POSIX] (pthread_cond_t): Likewise.
25935         [POSIX] (pthread_condattr_t): Likewise.
25936         [POSIX] (pthread_key_t): Likewise.
25937         [POSIX] (pthread_mutex_t): Likewise.
25938         [POSIX] (pthread_mutexattr_t): Likewise.
25939         [POSIX] (pthread_once_t): Likewise.
25940         [POSIX] (pthread_t): Likewise.
25941         [POSIX-based standards] (pthread_atfork): Expect function.
25943 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
25944             Richard Sandiford  <richard@codesourcery.com>
25946         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25947         (swap_endianness_p): New extern variable.
25948         (set_big_endian): New inline function.
25949         (maybe_swap_uint32): Likewise.
25950         (maybe_swap_uint32_array): Likewise.
25951         (maybe_swap_uint32_obstack): Likewise.
25952         * locale/programs/locfile.c: Include <stdbool.h>.
25953         (swap_endianness_p): New variable.
25954         (add_locale_uint32): Call maybe_swap_uint32.
25955         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25956         (write_locale_data): Call maybe_swap_uint32_array.
25957         * locale/programs/ld-collate.c (obstack_int32_grow): Call
25958         maybe_swap_uint32.
25959         (obstack_int32_grow_fast): Likewise.
25960         (output_weightwc): Call maybe_swap_uint32_obstack.
25961         (collate_output): Likewise.
25962         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25963         (OPT_LITTLE_ENDIAN): Likewise.
25964         (options): Add --little-endian and --big-endian options.
25965         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25966         * locale/programs/locarchive.c: Include "locfile.h".
25967         (GET): New macro.
25968         (SET): Likewise.
25969         (INC): Likewise.
25970         (create_archive): Use the new macros to access fields of
25971         structures directly mapped from or written to locale archives.
25972         (oldlocrecentcmp): Likewise.
25973         (enlarge_archive): Likewise.
25974         (insert_name): Likewise.
25975         (add_alias): Likewise.
25976         (add_locale): Likewise.
25977         (delete_locales_from_archive): Likewise.
25978         (show_archive_content): Likewise.
25979         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
25980         locale data.
25982 2013-09-24  Roland McGrath  <roland@hack.frob.com>
25984         * manual/freemanuals.texi: Updated from (newly) canonical copy at
25985         http://www.gnu.org/doc/freemanuals.texi.
25986         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25988 2013-09-24  Will Newton  <will.newton@linaro.org>
25990         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25991         macro.
25993 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
25995         * locale/hashval.h (compute_hashval): Interpret bytes of key as
25996         unsigned char.
25998 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
26000         * manual/threads.texi (POSIX Threads): Fix a typo.
26002 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26004         [BZ #14547]
26005         * string/tst-strcoll-overflow.c: New test case.
26006         * string/Makefile (xtests): Add tst-strcoll-overflow.
26007         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26008         cache if string sizes may cause integer overflow.
26010         [BZ #14547]
26011         * string/strcoll_l.c (coll_seq): New members rule, idx,
26012         save_idx and back_us.
26013         (get_next_seq_nocache): New function.
26014         (do_compare_nocache): New function.
26015         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26016         when malloc fails.
26018 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
26020         [BZ #15754]
26021         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26022         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26023         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26025         [BZ #15754]
26026         * elf/Makefile (tests): Add tst-ptrguard1.
26027         (tests-static): Add tst-ptrguard1-static.
26028         (tst-ptrguard1-ARGS): Define.
26029         (tst-ptrguard1-static-ARGS): Define.
26030         * elf/tst-ptrguard1.c: New file.
26031         * elf/tst-ptrguard1-static.c: New file.
26032         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26033         * sysdeps/i386/stackguard-macros.h: Likewise.
26034         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26035         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26036         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26037         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26038         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26039         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26041 2013-09-23  Hector Marco  <hecmargi@upv.es>
26042             Ismael Ripoll  <iripoll@disca.upv.es>
26043             Carlos O'Donell  <carlos@redhat.com>
26045         [BZ #15754]
26046         * sysdeps/generic/stackguard-macros.h: Define
26047         __pointer_chk_guard_local and POINTER_CHK_GUARD.
26048         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26049         Define __pointer_chk_guard_local.
26050         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26051         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26053 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
26055         [BZ #15859]
26056         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26058 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
26060         * include/string.h (__ffs): Declare as hidden.
26061         * string/ffs.c (__ffs): Define as hidden.
26062         * sysdeps/i386/ffs.c (__ffs): Likewise.
26063         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26064         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26065         * sysdeps/s390/ffs.c (__ffs): Likewise.
26066         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26068 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
26070         * NEWS: Mention malloc probes.
26072         * malloc/arena.c (new_heap): New memory_heap_new probe.
26073         (grow_heap): New memory_heap_more probe.
26074         (shrink_heap): New memory_heap_less probe.
26075         (heap_trim): New memory_heap_free probe.
26076         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26077         (systrim): New memory_sbrk_less probe.
26078         * manual/probes.texi: Document them.
26080         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26081         * manual/probes.texi: Document it.
26083         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
26084         (__libc_realloc): Add memory_realloc_retry probe.
26085         (__libc_memalign): Add memory_memalign_retry probe.
26086         (__libc_valloc): Add memory_valloc_retry probe.
26087         (__libc_pvalloc): Add memory_pvalloc_retry probe.
26088         (__libc_calloc): Add memory_calloc_retry probe.
26089         * manual/probes.texi: Document them.
26091         * malloc/arena.c (get_free_list): Add probe
26092         memory_arena_reuse_free_list.
26093         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
26094         and memory_arena_reuse.
26095         (arena_get2) [!PER_THREAD]: Likewise.
26096         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
26097         memory_arena_reuse_realloc.
26098         * manual/probes.texi: Document them.
26100         * malloc/malloc.c (__libc_free): Add
26101         memory_mallopt_free_dyn_thresholds probe.
26102         (__libc_mallopt): Add multiple memory_mallopt probes.
26103         * manual/probes.texi: Document them.
26105         * malloc/malloc.c: Include stap-probe.h.
26106         (__libc_mallopt): Add memory_mallopt probe.
26107         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
26108         * manual/probes.texi: New.
26109         * manual/Makefile (chapters): Add probes.
26110         * manual/threads.texi: Set next node.
26112 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
26114         [BZ #15963, #13985]
26115         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
26116         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
26117         Add `Chinese' to `nan' entry name.
26119 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26121         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
26122         (POLYNOMIAL): Likewise.
26123         (TAYLOR_SINCOS): Likewise.
26124         (TAYLOR_SLOW): Likewise.
26125         (__sin): Use TAYLOR_SINCOS.
26126         (__cos): Likewise.
26127         (slow): Use TAYLOR_SLOW.
26128         (sloww): Likewise.
26129         (bsloww): Likewise.
26130         (csloww): Likewise.
26132 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26134         * stdlib/strtod_l.c: Fix buffer overrun.
26136 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26138         * benchtests/Makefile (bench): Add sincos.
26139         * benchtests/bench-sincos.c: New file.
26141         * math/libm-test.inc (cos_test_data): New test inputs.
26142         (sin_test_data): Likewise.
26144         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
26145         macro.
26146         (__sin): Use it.
26147         (__cos): Likewise.
26148         (slow1): Likewise.
26149         (slow2): Likewise.
26150         (sloww1): Likewise.
26151         (sloww2): Likewise.
26152         (bsloww1): Likewise.
26153         (bsloww2): Likewise.
26154         (cslow2): Likewise.
26155         (csloww1): Likewise.
26156         (csloww2): Likewise.
26158         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
26159         function.
26160         (__sin): Use it.
26161         (__cos): Likewise.
26163         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
26164         gotos.
26165         (__cos): Likewise.
26167 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
26169         * config.h.in (HAVE_MIPS_NAN2008): New macro.
26170         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
26171         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
26172         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
26173         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
26174         * elf/cache.c (print_entry): Handle the new cache flags.
26176 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26177             Aldy Hernandez  <aldyh@redhat.com>
26179         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
26180         Change condition to [_SOFT_FLOAT].
26181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
26182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
26183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
26184         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
26185         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
26186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
26187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
26188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
26189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
26190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
26191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
26192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
26193         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
26194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
26195         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
26196         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
26197         declaration.
26199 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
26201         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
26202         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26203         (__longjmp): Use LOAD_GP to load saved GPRs.
26204         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
26205         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
26206         (__sigsetjmp): Use SAVE_GP to save GPRs.
26208         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
26209         Do not append -msoft-float.
26210         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
26212 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26214         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
26216 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
26218         [BZ #15966]
26219         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
26220         (_FPU_GETCW): Use initial "__" on variable and field names but not
26221         on macro parameter name.
26222         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
26223         parentheses around reference to macro parameter.
26225 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
26227         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
26228         prototype.
26229         (ctype_startup): Use uint32_t in cast and sizeof for
26230         ctype->charnames.
26232 2013-09-11  Jia Liu  <proljc@gmail.com>
26234         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
26235         __daddr_t_defined.
26236         [__FreeBSD__]: Likewise.
26238 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
26240         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26241         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
26242         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
26243         (strchr): Remove __strchr_sse42 ifunc selection.
26244         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
26245         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
26247 2013-09-11  Will Newton  <will.newton@linaro.org>
26249         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
26250         parameter to RES. Remove hardcoded 1000 value.
26251         * benchtests/bench-skeleton.c (main): Pass RES parameter
26252         to TIMING_INIT and multiply result by 1000.
26254 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26258 2013-09-11  Andreas Schwab  <schwab@suse.de>
26260         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26261         if not defined.
26262         (O_TMPFILE) [__USE_GNU]: Define.
26263         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
26264         Define.
26266 2013-09-11  Will Newton  <will.newton@linaro.org>
26268         [BZ #15857]
26269         * malloc/malloc.c (__libc_memalign): Check the value of bytes
26270         does not overflow.
26272 2013-09-11  Will Newton  <will.newton@linaro.org>
26274         [BZ #15856]
26275         * malloc/malloc.c (__libc_valloc): Check the value of bytes
26276         does not overflow.
26278 2013-09-11  Will Newton  <will.newton@linaro.org>
26280         [BZ #15855]
26281         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
26282         does not overflow.
26284 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
26286         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
26287         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26288         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26289         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26290         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26292 2013-09-10  Allan McRae  <allan@archlinux.org>
26294         [BZ #15748]
26295         * manual/arith.texi (Parsing of Floats): Clarify
26296         cross-reference.
26298         [BZ #15849]
26299         * manual/install.texi (Running make install): Mention
26300         --enable-pt-chown.
26301         * INSTALL: Regenerated.
26303 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
26305         * csu/init-first.c (_init): Remove the !SHARED condition around
26306         FPU control word initialization.
26307         * elf/dl-support.c (_dl_fpu_control): New variable.
26308         (_dl_aux_init) <AT_FPUCW>: Initialize it.
26309         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
26310         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
26311         * math/test-fpucw-static.c: New file.
26312         * math/test-fpucw-ieee.c: New file.
26313         * math/test-fpucw-ieee-static.c: New file.
26314         * math/Makefile (tests): Add `test-fpucw-ieee' and
26315         `$(tests-static)'.
26316         (tests-static): New variable.
26317         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
26318         dependency to...
26319         [($(build-shared),yes)]
26320         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26321         ... this.
26322         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
26323         New dependency.
26325 2013-09-09  Allan McRae  <allan@archlinux.org>
26327         [BZ #15939]
26328         * manual/string.texi (Collation Functions): Fix typo in
26329         strcoll example.
26330         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
26332         [BZ #15893]
26333         * stdlib/isomac.c (get_null_defines): Fix memory leak.
26335         [BZ #15892]
26336         * libio/memstream.c (open_memstream): Fix memory leak.
26337         * libio/wmemstream.c (open_wmemstream): Likewise.
26339         [BZ #15895]
26340         * nscd/netgroupcache.c: Fix nesting of ifdefs.
26342 2013-09-09  Will Newton  <will.newton@linaro.org>
26344         * malloc/Makefile: Add tst-realloc to tests.
26345         * malloc/tst-realloc.c: New file.
26347 2013-09-09  Allan McRae  <allan@archlinux.org>
26349         [BZ #15844]
26350         * COPYING: Update from GNU website to fix FSF address.
26351         * COPYING.LIB: Likewise.
26353 2013-09-06  David S. Miller  <davem@davemloft.net>
26355         * po/zh_TW.po: Update Chinese (traditional) translation from
26356         translation project.
26358 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
26359             Joseph Myers  <joseph@codesourcery.com>
26361         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
26362         "localeinfo.h".
26363         (obstack_chunk_alloc): New macro.
26364         (obstack_chunk_free): Likewise.
26365         (record_offset): New function.
26366         (init_locale_data): Likewise.
26367         (align_locale_data): Likewise.
26368         (add_locale_empty): Likewise.
26369         (add_locale_raw_data): Likewise.
26370         (add_locale_raw_obstack): Likewise.
26371         (add_locale_string): Likewise.
26372         (add_locale_wstring): Likewise.
26373         (add_locale_uint32): Likewise.
26374         (add_locale_uint32_array): Likewise.
26375         (add_locale_char): Likewise.
26376         (start_locale_structure): Likewise.
26377         (end_locale_structure): Likewise.
26378         (start_locale_prelude): Likewise.
26379         (end_locale_prelude): Likewise.
26380         (write_locale_data): Take locale_file structure rather than an
26381         iovec.
26382         * locale/programs/locfile.h: Include "obstack.h".
26383         (struct locale_file): Change to store locale file contents instead
26384         of header.
26385         (init_locale_data): New prototype.
26386         (align_locale_data): Likewise.
26387         (add_locale_empty): Likewise.
26388         (add_locale_raw_data): Likewise.
26389         (add_locale_raw_obstack): Likewise.
26390         (add_locale_string): Likewise.
26391         (add_locale_wstring): Likewise.
26392         (add_locale_uint32): Likewise.
26393         (add_locale_uint32_array): Likewise.
26394         (add_locale_char): Likewise.
26395         (start_locale_structure): Likewise.
26396         (end_locale_structure): Likewise.
26397         (start_locale_prelude): Likewise.
26398         (end_locale_prelude): Likewise.
26399         (write_locale_data): Update prototype.
26400         * locale/programs/3level.h (struct TABLE): Remove result field.
26401         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
26402         Use new locale_file interface.
26403         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
26404         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
26405         * locale/programs/ld-address.c (address_output): Use new
26406         locale_file interface.
26407         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
26408         NO_ADD_LOCALE.
26409         (collate_finish): Don't call collseq_table_finalize.
26410         (collate_output): Use new locale_file interface.
26411         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
26412         in file.
26413         (NO_FINALIZE): Change to NO_ADD_LOCALE.
26414         (TABLE): Move defines earlier in file.
26415         (ELEMENT): Likewise.
26416         (DEFAULT): Likewise.
26417         (wctrans_table_add): Move macro and inline function earlier in
26418         file.
26419         (struct wctype_table): Move type earlier in file.
26420         (add_locale_wctype_table): New static prototype.
26421         (struct locale_ctype_t): Use logical types instead of struct iovec
26422         pointers for members.
26423         (ctype_output): Use new locale_file interface.
26424         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
26425         new locale_file interface.
26426         (allocate_arrays): Update for use of new locale_file interface.
26427         * locale/programs/ld-identification.c (identification_output): Use
26428         new locale_file interface.
26429         * locale/programs/ld-measurement.c (measurement_output): Likewise.
26430         * locale/programs/ld-messages.c (messages_output): Likewise.
26431         * locale/programs/ld-monetary.c (monetary_output): Likewise.
26432         * locale/programs/ld-name.c (name_output): Likewise.
26433         * locale/programs/ld-numeric.c (numeric_output): Likewise.
26434         * locale/programs/ld-paper.c (paper_output): Likewise.
26435         * locale/programs/ld-telephone.c (telephone_output): Likewise.
26436         * locale/programs/ld-time.c (time_output): Likewise.
26438 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26440         * benchtests/Makefile: Add memrchr benchmark.
26441         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
26442         benchmark as memrchr.
26443         * benchtests/bench-memrchr-ifunc.c: New file.
26444         * benchtests/bench-memrchr.c: New file.
26446 2013-09-06   Will Newton  <will.newton@linaro.org>
26448         * benchtests/Makefile (string-bench): Add memcpy.
26450 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
26451             Cong Wang  <amwang@redhat.com>
26453         [BZ #15850]
26454         * sysdeps/unix/sysv/linux/bits/in.h
26455         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
26456         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
26457         before __USE_KERNEL_IPV6_DEFS uses.
26458         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
26459         IPPROTO_BEETPH.
26460         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
26461         sockaddr_in6, or ipv6_mreq.
26463 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26465         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
26466         memory access for final bytes in some large inputs.
26467         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
26469 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26471         * string/test-memrchr.c: New file.
26472         * string/test-memrchr-ifunc.c: New file.
26473         * string/Makefile: Add new memrchr testcase.
26475 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
26477         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
26478         fanotify_init returns EPERM.
26480 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
26482         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
26483         errors.
26484         (top level): Treat second token from macro or constant entries for
26485         allowed headers as allowed.
26486         * include/complex.h: Condition internal declarations on
26487         [!_ISOMAC].
26488         * include/fenv.h: Condition include of <stdbool.h> and internal
26489         declarations on [!_ISOMAC].
26491 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
26493         [BZ #15923]
26494         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
26496 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
26498         * configure.in (--enable-versioning): Remove configure option.
26499         (libc_cv_asm_symver_directive): Remove configure test.
26500         (libc_cv_ld_version_script_option): Likewise.
26501         (VERSIONING): Remove variable and AC_SUBST.
26502         (DO_VERSIONING): Remove AC_DEFINE.
26503         * configure: Regenerated.
26504         * config.h.in (DO_VERSIONING): Remove macro.
26505         * Makerules [$(versioning) = yes]: Change conditionals to
26506         [$(build-shared) = yes].
26507         * config.make.in (versioning): Remove variable.
26508         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
26509         [$(build-shared) = yes].
26510         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
26511         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
26512         * elf/Makefile [$(versioning) = yes]: Change conditionals to
26513         [$(build-shared) = yes].
26514         * extra-lib.mk [$(versioning) = yes]: Likewise.
26515         * hurd/Makefile [$(versioning) = yes]: Likewise.
26516         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
26517         [SHARED].
26518         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
26519         [SHARED].
26520         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26521         [SHARED && !NO_HIDDEN].
26522         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
26523         [SHARED].
26524         [SHARED && DO_VERSIONING]: Likewise..
26525         * libio/Makefile [$(versioning) = yes]: Change conditionals to
26526         [$(build-shared) = yes].
26527         * manual/install.texi (--disable-versioning): Remove
26528         documentation.
26529         * INSTALL: Regenerated.
26530         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
26531         to [SHARED].
26532         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
26533         [$(build-shared) = yes].
26534         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
26535         * sysdeps/i386/i686/multiarch/strstr-c.c
26536         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
26537         [SHARED && !NO_HIDDEN].
26538         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
26539         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
26540         * sysdeps/powerpc/powerpc32/dl-machine.c
26541         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
26542         * sysdeps/powerpc/powerpc32/sysdep.h
26543         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
26544         to [SHARED && PIC && !NO_HIDDEN].
26545         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
26546         conditional to [SHARED].
26548 2013-09-04   Will Newton  <will.newton@linaro.org>
26550         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
26551         * benchtests/bench-string.h: Include bench-timing.h instead
26552         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
26553         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
26554         call to HP_TIMING_DIFF_INIT.
26555         * benchtests/bench-memccpy.c: Use bench-timing.h macros
26556         instead of hp-timing.h macros.
26557         * benchtests/bench-memchr.c: Likewise.
26558         * benchtests/bench-memcmp.c: Likewise.
26559         * benchtests/bench-memcpy.c: Likewise.
26560         * benchtests/bench-memmem.c: Likewise.
26561         * benchtests/bench-memmove.c: Likewise.
26562         * benchtests/bench-memset.c: Likewise.
26563         * benchtests/bench-rawmemchr.c: Likewise.
26564         * benchtests/bench-strcasecmp.c: Likewise.
26565         * benchtests/bench-strcasestr.c: Likewise.
26566         * benchtests/bench-strcat.c: Likewise.
26567         * benchtests/bench-strchr.c: Likewise.
26568         * benchtests/bench-strcmp.c: Likewise.
26569         * benchtests/bench-strcpy.c: Likewise.
26570         * benchtests/bench-strcpy_chk.c: Likewise.
26571         * benchtests/bench-strlen.c: Likewise.
26572         * benchtests/bench-strncasecmp.c: Likewise.
26573         * benchtests/bench-strncat.c: Likewise.
26574         * benchtests/bench-strncmp.c: Likewise.
26575         * benchtests/bench-strncpy.c: Likewise.
26576         * benchtests/bench-strnlen.c: Likewise.
26577         * benchtests/bench-strpbrk.c: Likewise.
26578         * benchtests/bench-strrchr.c: Likewise.
26579         * benchtests/bench-strspn.c: Likewise.
26580         * benchtests/bench-strstr.c: Likewise.
26582 2013-09-04  Will Newton  <will.newton@linaro.org>
26584         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
26586 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
26588         [BZ #15427]
26589         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26590         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
26591         * math/libm-test.inc (lgamma_test_data): Add more tests.
26592         * sysdeps/i386/fpu/libm-test-ulps: Update.
26593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26595 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
26597         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26598         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26599         Add ifunc.
26600         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26601         Add strcmp-sse2-unaligned
26602         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26604 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
26606         * Versions.def (libc): Add GLIBC_2.19.
26608 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
26610         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26611         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26613 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
26615         [BZ #14155]
26616         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26617         intermediate calculations in recurrence.
26618         (__ieee754_ynf): Likewise.
26619         * math/libm-test.inc (jn_test_data): Do not allow spurious
26620         underflow exception.  Add more tests.
26621         (yn_test_data): Add more tests.
26622         * sysdeps/i386/fpu/libm-test-ulps: Update.
26623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26625 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
26627         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26629 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
26631         * csu/init-first.c: Fix then/than typos.
26632         * locale/programs/ld-collate.c: Likewise.
26633         * locale/programs/linereader.h: Likewise.
26634         * manual/charset.texi: Likewise.
26635         * manual/filesys.texi: Likewise.
26636         * manual/stdio.texi: Likewise.
26637         * manual/string.texi: Likewise.
26638         * stdlib/fmtmsg.c: Likewise.
26639         * sysdeps/i386/stpncpy.S: Likewise.
26640         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26641         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26642         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26643         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26645 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
26647         * elf/dl-open.c: Fix typos.
26648         * iconvdata/gbbig5.c: Likewise.
26649         * iconvdata/iso-2022-jp.c: Likewise.
26650         * iconv/gconv_int.h: Likewise.
26651         * iconv/loop.c: Likewise.
26652         * nis/rpcsvc/nis.h: Likewise.
26653         * resolv/ns_name.c: Likewise.
26654         * stdio-common/vfscanf.c: Likewise.
26655         * streams/stropts.h: Likewise.
26656         * sunrpc/rpc_thread.c: Likewise.
26657         * sysdeps/i386/strpbrk.S: Likewise.
26658         * sysdeps/ieee754/k_standard.c: Likewise.
26659         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26660         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26661         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26662         * sysdeps/mach/hurd/profil.c: Likewise.
26663         * sysdeps/s390/dl-procinfo.h: Likewise.
26664         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26665         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26666         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26667         * sysdeps/x86_64/dl-trampoline.S: Likewise.
26668         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26670 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
26672         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26675 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
26677         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26678         aix specific files.
26679         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26680         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26681         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26682         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26683         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26684         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26685         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26686         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26688 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
26689             Roland McGrath  <roland@hack.frob.com>
26691         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26692         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26694 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26696         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26697         __executable_start symbol instead of _start.
26699 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
26701         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26702         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26703         Move macros to...
26704         * sysdeps/gnu/ldsodefs.h: ... this new file.
26706         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26707         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26708         instead of ELFOSABI_LINUX.
26710         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
26711         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26712         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26713         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26714         Likewise.
26715         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26716         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26717         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26718         Likewise.
26719         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26720         (ibm_extended_long_double): Add ieee_nan member.
26721         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26722         (do_test): New function.
26724         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26725         TEST_TRUNC.
26726         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26727         functions, renamed from truncdfsf_test, trunctfsf_test,
26728         trunctfdf_test.
26729         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26730         functions.
26731         (do_test): Run all these.
26733 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
26735         * argp/argp-help.c: Fix typos.
26736         * argp/argp-parse.c: Likewise.
26737         * debug/backtracesyms.c: Likewise.
26738         * elf/elf.h: Likewise.
26739         * malloc/malloc.c: Likewise.
26740         * nis/nis_print.c: Likewise.
26741         * resolv/res_comp.c: Likewise.
26742         * stdlib/stdlib.h: Likewise.
26743         * sunrpc/clnt_tcp.c: Likewise.
26744         * sunrpc/clnt_udp.c: Likewise.
26745         * sunrpc/clnt_unix.c: Likewise.
26746         * sysdeps/unix/bsd/ptsname.c: Likewise.
26747         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26748         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
26749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26750         Likewise.
26751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26752         Likewise.
26753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26754         Likewise.
26755         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26757 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26759         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26762 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
26764         [BZ #15897]
26765         * dlfcn/Makefile (tests): Add bug-dl-leaf.
26766         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26767         ($(objpfx)bug-dl-leaf): New rule.
26768         ($(objpfx)bug-dl-leaf.so): Likewise.
26769         ($(objpfx)bug-dl-leaf.out): Likewise.
26770         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26771         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26772         * dlfcn/bug-dl-leaf.c: New test.
26773         * dlfcn/bug-dl-leaf-lib.c: Likewise.
26774         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26775         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26776         (dlclose): Likewise.
26777         (dlmopen): Likewise.
26779 2013-08-27  Roland McGrath  <roland@hack.frob.com>
26781         * include/netdb.h [!_ISOMAC]:
26782         Don't include <tls.h>.
26783         (h_errno, __libc_h_errno): Move declaration and macros out of
26784         [_LIBC_REENTRANT].
26786         * include/resolv.h [_RESOLV_H_]:
26787         Don't include <tls.h>.
26788         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26789         * resolv/res_libc.c: Don't include <tls.h>.
26790         (_res): Use __attribute__ ((nocommon)) in place of
26791         __attribute__ ((section (".bss"))).
26793         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26794         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26796         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26798         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26799         only under [SIOCGIFCONF && SIOCGIFNETMASK].
26801         * resolv/res_mkquery.c: Include <sys/time.h>.
26803         * inet/ifreq.c: Moved to ...
26804         * sysdeps/unix/ifreq.c: ... here.
26805         * inet/ifreq.c: New file, true stub version.
26807         * socket/sa_len.c: New file.
26808         * socket/Makefile (aux): Add it.
26809         * sysdeps/unix/sysv/linux/Makefile
26810         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26811         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26812         and #include <socket/sa_len.c>.
26813         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26814         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26816         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26817         * bits/socket.h: ... here.
26819         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26820         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26821         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26823 2013-08-27  Andreas Schwab  <schwab@suse.de>
26825         [BZ #15736]
26826         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26827         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26828         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26829         * string/test-strcasecmp.c (test_main): Run tests in several
26830         locales.
26831         * string/test-strncasecmp.c (test_main): Likewise.
26833         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26834         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26835         to __strcasecmp_nonascii and __strncasecmp_nonascii.
26836         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26837         (__strncasecmp_ssse3) [PIC]: Likewise.
26839 2013-08-26  Roland McGrath  <roland@hack.frob.com>
26841         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26843         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26844         instead of explicitly declaring xdecrypt.
26845         * nis/nss_nis/nis-publickey.c: Likewise.
26847 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26849         [BZ #15890]
26850         * nscd/aicache.c: Include res_hconf.h.
26851         (addhstaiX): Initialize res_hconf.
26853 2013-08-26  Andreas Schwab  <schwab@suse.de>
26855         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26856         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26858 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26860         * nscd/aicache.c (addhstaiX): Fix indentation.
26862 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
26864         * configure.ac: Quote $build_pt_chown test.
26865         * configure: Regenerated.
26867 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
26869         [BZ #15532]
26870         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26871         * math/s_cexpf.c (__cexpf): Likewise.
26872         * math/s_cexpl.c (__cexpl): Likewise.
26873         * math/libm-test.inc (cexp_test_data): Correct expected return
26874         value for NaN + i0.  Add another test.
26876 2013-08-22  David S. Miller  <davem@davemloft.net>
26878         * po/ca.po: Update Catalan translation from translation project.
26879         * po/uk.po: Add Ukrainian translations from translation project.
26881 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
26883         [BZ #15797]
26884         * math/s_fdim.c (__fdim): Check for infinite arguments if result
26885         is infinite, not alongside NaN test.
26886         * math/s_fdimf.c (__fdimf): Likewise.
26887         * math/s_fdiml.c (__fdiml): Likewise.
26888         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
26889         errno is unchanged.
26891 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
26893         * argp/argp-help.c: Fix typos.
26894         * crypt/speeds.c: Likewise.
26895         * csu/check_fds.c: Likewise.
26896         * elf/dl-load.c: Likewise.
26897         * elf/dl-open.c: Likewise.
26898         * elf/reldep3.c: Likewise.
26899         * elf/reldep.c: Likewise.
26900         * elf/sprof.c: Likewise.
26901         * iconv/iconv_charmap.c: Likewise.
26902         * iconv/skeleton.c: Likewise.
26903         * iconv/strtab.c: Likewise.
26904         * io/lockf64.c: Likewise.
26905         * libio/libioP.h: Likewise.
26906         * resolv/gai_notify.c: Likewise.
26907         * resolv/ns_name.c: Likewise.
26908         * resolv/ns_samedomain.c: Likewise.
26909         * resolv/res_send.c: Likewise.
26910         * stdlib/random.c: Likewise.
26911         * sunrpc/rpc/xdr.h: Likewise.
26912         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26913         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26914         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26915         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26916         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26917         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26918         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26919         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26920         * sysdeps/mach/hurd/check_fds.c: Likewise.
26921         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26922         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26923         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26924         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26925         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26926         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26927         * sysdeps/pthread/aio_notify.c: Likewise.
26928         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26929         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26930         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26931         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26932         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26934 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26936         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26937         version if bit_Slow_SSE4_2 is set.
26938         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26939         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26941 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26943         [BZ #15867]
26944         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26945         trampoline stack frame information.
26946         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26947         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26948         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26949         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26950         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26951         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26952         (_libc_vdso_platform_setup): Initialize the signal trampolines.
26953         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26954         sa_flags value.
26955         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26956         interrupting a syscall and set with option SA_SIGINFO.
26958 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26960         [BZ #15531]
26961         * math/s_cproj.c (__cproj): Only return an infinity if one part of
26962         argument is infinite.
26963         * math/s_cprojf.c (__cprojf): Likewise.
26964         * math/s_cprojl.c (__cprojl): Likewise.
26965         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26966         * math/libm-test.inc (cproj_test_data): Add more tests.
26968         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26970         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26971         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26972         size.  Use __ffs to determine corresponding shift.
26974 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
26975             Roland McGrath  <roland@hack.frob.com>
26977         * Makefile (INSTALL): Remove trailing blank lines from output of
26978         makeinfo.
26980 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26982         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26983         Align 32 bit compat elf_greg to 8 bytes.
26985 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
26987         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26989 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26991         * string/strcoll_l.c (coll_seq): New structure.
26992         (get_next_seq_cached): New function.
26993         (get_next_seq): New function.
26994         (do_compare): New function.
26995         (STRCOLL): Use GNU style definition.  Simplify implementation
26996         by using get_next_seq, get_next_seq_cached and do_compare.
26998 2013-08-16  Florian Weimer  <fweimer@redhat.com>
27000         [BZ #14699]
27001         CVE-2013-4237
27002         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27003         member.
27004         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27005         member.
27006         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27007         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27008         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
27009         conditional.
27010         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27011         GETDENTS_64BIT_ALIGNED.
27012         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27013         * manual/filesys.texi (Reading/Closing Directory): Document
27014         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
27015         strongly.
27016         * manual/conf.texi (Limits for Files): Add portability note to
27017         NAME_MAX, PATH_MAX.
27018         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27020 2013-08-13  Andreas Schwab  <schwab@suse.de>
27022         [BZ #15749]
27023         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27024         of fabs.
27025         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27026         LDBL_MAX_EXP >= 16384]: Add tests for it.
27028 2013-08-12  David S. Miller  <davem@davemloft.net>
27030         * version.h (RELEASE): Set to "development".
27031         (VERSION): Set to "2.18.90".
27032         * NEWS: Add 2.19 section.
27034 2013-08-03  David S. Miller  <davem@davemloft.net>
27036         * po/ko.po: Update Korean translation from translation project.
27038 2013-08-01  David S. Miller  <davem@davemloft.net>
27040         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
27041         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27042         Bilka.
27044 2013-07-30  David S. Miller  <davem@davemloft.net>
27046         * po/fr.po: Update French translation from translation project.
27048 2013-07-28  David S. Miller  <davem@davemloft.net>
27050         * po/cs.po: Update Czech translation from translation project.
27052         * po/sv.po: Update Swedish translation from translation project.
27054 2013-07-27  David S. Miller  <davem@davemloft.net>
27056         * po/eo.po: Update Esperanto translation from translation project.
27058         * po/vi.po: Update Vietnamese translation from translation project.
27060         * po/de.po: Update German translation from translation project.
27062 2013-07-26  David S. Miller  <davem@davemloft.net>
27064         * po/bg.po: Update Bulgarian translation from translation project.
27066         * po/nl.po: Update Dutch translation from translation project.
27067         * po/pl.po: Update Polish translation from translation project.
27068         * po/ru.po: Update Russian translation from translation project.
27070 2013-07-24  David S. Miller  <davem@davemloft.net>
27072         * po/libc.pot: Update.
27074 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27076         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27077         variable page size.
27078         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27079         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27080         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27082 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27084         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
27086 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27087             Andreas Schwab  <schwab@suse.de>
27088             Roland McGrath  <roland@hack.frob.com>
27089             Joseph Myers  <joseph@codesourcery.com>
27090             Carlos O'Donell  <carlos@redhat.com>
27092         [BZ #15755]
27093         * config.h.in: Define HAVE_PT_CHOWN.
27094         * config.make.in (build-pt-chown): New variable.
27095         * configure.in (--enable-pt_chown): New configure option.
27096         * configure: Regenerate.
27097         * login/Makefile: Include Makeconfig.  Build pt_chown only if
27098         build-pt-chown is enabled.
27099         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
27100         pt_chown to fix pty ownership.
27101         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
27102         CLOSE_ALL_FDS.
27103         * manual/install.texi (Configuring and compiling): Mention
27104         --enable-pt_chown. Add @findex for grantpt.
27105         * INSTALL: Regenerate.
27107 2013-07-20  David S. Miller  <davem@davemloft.net>
27109         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
27110         difference between 32-bit and 64-bit.
27112 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
27114         [BZ #15711]
27115         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
27116         Avoid system header dependency with -ffreestanding.
27117         ($(objpfx)bits/syscall%d): Likewise.
27119 2013-07-13  David S. Miller  <davem@davemloft.net>
27121         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
27122         underflows from atanl/atan2l due to bug 15319.
27123         (casinh_test_data): Likewise.
27125 2013-07-07  David S. Miller  <davem@davemloft.net>
27127         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27129 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
27131         * sysdeps/i386/fpu/libm-test-ulps: Update.
27132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27134 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27136         * configure.in (--enable-lock-elision): Fix message text.
27137         * INSTALL: Regenerate.
27138         * configure: Regenerate.
27140 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27144 2013-07-03  Andreas Jaeger  <aj@suse.de>
27146         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
27147         define.
27148         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
27149         (ptrace_peeksiginfo_args): Add.
27150         (__ptrace_peeksiginfo_flags): Add.
27151         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27152         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27153         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27155 2013-07-03  Allan McRae  <allan@archlinux.org>
27157         * sysdeps/i386/fpu/libm-test-ulps: Update.
27159 2013-07-02  David S. Miller  <davem@davemloft.net>
27161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27163 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
27165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27167 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27169         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27172 2013-07-02  Andi Kleen <ak@linux.intel.com>
27174         * config.h.in (ENABLE_LOCK_ELISION): Add.
27175         * configure.in (--enable-lock-elision): Add option.
27176         * manual/install.texi: Document --enable lock elision.
27177         * configure: Regenerate
27178         * INSTALL: Regenerate.
27180 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
27182         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
27183         SSE4.2 strcasecmp for libc.a.
27184         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27186 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
27188         [BZ #13304]
27189         * soft-fp/op-common.h (_FP_FMA): New macro.
27190         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
27191         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
27192         (_FP_MUL_MEAT_1_imm): ... here.
27193         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
27194         (_FP_MUL_MEAT_1_wide): ... here.
27195         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
27196         (_FP_MUL_MEAT_1_hard): ... here.
27197         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
27198         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
27199         (_FP_MUL_MEAT_2_wide): ... here.
27200         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
27201         (_FP_MUL_MEAT_2_wide_3mul): ... here.
27202         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
27203         (_FP_MUL_MEAT_2_gmp): ... here.
27204         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
27205         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
27206         (_FP_MUL_MEAT_4_wide): ... here.
27207         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
27208         (_FP_MUL_MEAT_4_gmp): ... here.
27209         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
27210         (_FP_WFRACBITS_DW_S): Likewise.
27211         (_FP_WFRACXBITS_DW_S): Likewise.
27212         (_FP_HIGHBIT_DW_S): Likewise.
27213         (FP_FMA_S): Likewise.
27214         (_FP_FRAC_HIGH_DW_S): Likewise.
27215         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
27216         (_FP_WFRACBITS_DW_D): Likewise.
27217         (_FP_WFRACXBITS_DW_D): Likewise.
27218         (_FP_HIGHBIT_DW_D): Likewise.
27219         (FP_FMA_D): Likewise.
27220         (_FP_FRAC_HIGH_DW_D): Likewise.
27221         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
27222         (_FP_WFRACBITS_DW_E): Likewise.
27223         (_FP_WFRACXBITS_DW_E): Likewise.
27224         (_FP_HIGHBIT_DW_E): Likewise.
27225         (FP_FMA_E): Likewise.
27226         (_FP_FRAC_HIGH_DW_E): Likewise.
27227         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
27228         (_FP_WFRACBITS_DW_Q): Likewise.
27229         (_FP_WFRACXBITS_DW_Q): Likewise.
27230         (_FP_HIGHBIT_DW_Q): Likewise.
27231         (FP_FMA_Q): Likewise.
27232         (_FP_FRAC_HIGH_DW_Q): Likewise.
27233         * soft-fp/fmasf4.c: New file.
27234         * soft-fp/fmadf4.c: Likewise.
27235         * soft-fp/fmatf4.c: Likewise.
27237 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27239         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27240         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
27241         Silvermont.
27242         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
27243         macro.
27244         (index_Slow_SSE4_2): Likewise.
27245         (index_Prefer_PMINUB_for_stringop): Likewise.
27246         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
27247         bit_Slow_SSE4_2 is set.
27248         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27249         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27251 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27253         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
27254         rtld_global._dl_hwcap2.
27255         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
27256         POWER8.
27257         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
27258         POWER8 feature descriptions defined in _dl_hwcap2.
27259         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
27260         string handling for POWER8 feature bits.
27261         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
27262         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
27263         _dl_powerpc_cap_flags.
27264         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
27265         * sysdeps/powerpc/rtld-global-offsets.sym
27266         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
27267         _dl_hwcap2 in the rtld_global_ro structure.
27269 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27271         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
27272         hardware capabilities in support of AT_HWCAP2.
27273         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
27274         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
27275         GLRO(dl_hwcap2).
27276         (_dl_show_auxv): Add support for calling _dl_procinfo to display
27277         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
27278         explicitly the unknown a_type display mechanism is used.
27279         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
27280         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
27281         struct member.
27282         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
27283         to macro prototype for AT_HWCAP2 support.
27284         * sysdeps/i386/dl-procinfo.h: Likewise.
27285         * sysdeps/s390/dl-procinfo.h: Likewise.
27286         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
27287         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
27288         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
27289         return -1 for unknown a_type display fallback.
27290         * sysdeps/sparc/dl-procinfo.h: Likewise.
27291         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
27292         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
27294 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
27296         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
27297         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
27299 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
27301         [BZ #12492]
27302         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
27303         mprotect making __stack_prot writable.
27305 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
27306             Joseph Myers  <joseph@codesourcery.com>
27308         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
27309         as being properly aligned.
27311 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
27313         * dlfcn/modstatic5.c: New file.
27314         * dlfcn/tststatic5.c: New file.
27315         * dlfcn/Makefile (tests): Add tststatic5.
27316         (tests-static): Likewise.
27317         (modules-names): Add modstatic5.
27318         (tststatic5-ENV): New variable.
27319         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
27321         [BZ #15022]
27322         * elf/dl-support.c (_dl_main_map): New variable.
27323         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
27324         (_dl_nns, _dl_load_adds): Set to 1.
27325         (_dl_initial_searchlist): Refer to _dl_main_map.
27326         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
27327         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
27328         call to _dl_get_origin.
27329         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
27330         around call_map.
27331         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
27332         * dlfcn/modstatic3.c: New file.
27333         * dlfcn/tststatic3.c: New file.
27334         * dlfcn/tststatic4.c: New file.
27335         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
27336         (tests-static): Likewise.
27337         (modules-names): Add modstatic3.
27338         (tststatic3-ENV, tststatic4-ENV): New variables.
27339         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
27340         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
27342 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
27344         * configure.in (CC): Require GCC version 4.4 or later.
27345         * configure: Regenerated.
27346         * manual/install.texi (Tools for Compilation): Update GCC version
27347         requirement.
27348         * INSTALL: Regenerated.
27350 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27352         [BZ #15674]
27353         * string/test-memcmp.c (check2): New.
27354         (main): Call check2.
27356         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
27358 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
27360         [BZ #15022]
27361         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
27362         over to...
27363         (dl_open_worker) [!SHARED]: ... here.
27365 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27367         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
27369 2013-06-25  Richard Henderson  <rth@redhat.com>
27371         * locale/programs/locarchive.c: Include <libc-internal.h>
27373 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
27375         * manual/texinfo.tex: Update to version 2013-06-21.17, with
27376         trailing whitespace removed.
27378 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27380         [BZ #10283]
27381         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
27382         * locale/programs/locarchive.c: Include libc-mmap.h.
27383         (prepare_address_space): Take two new outputs (the mmap base and len).
27384         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
27385         values.
27386         (create_archive): Declare new mmap base and len values for
27387         prepare_address_space, and store the result in ah.
27388         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
27389         (enlarge_archive): If ah->mmap_base is not NULL, use that and
27390         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27391         Declare new mmap base and len values for
27392         prepare_address_space, and store the result in new_ah.
27393         (open_archive): Declare new mmap base and len values for
27394         prepare_address_space, and store the result in ah.
27395         (close_archive): If ah->mmap_base is not NULL, use that and
27396         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
27397         * sysdeps/generic/libc-mmap.h: New file.
27399 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
27401         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
27402         (ALIGN_UP): Likewise.
27403         (PTR_ALIGN_DOWN): Likewise.
27404         (PTR_ALIGN_UP): Likewise.
27406 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27408         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
27409         entry mapped to PPC_PLATFORM_POWER8.
27410         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
27411         POWER8.
27412         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
27413         (_dl_string_platform): Add case for exporting platform position for
27414         POWER8.
27415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
27416         search path to sysdeps/powerpc/powerpc32/power8 directory.
27417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
27418         search path to sysdeps/powerpc/powerpc64/power8 directory.
27419         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
27420         power7 directories.
27421         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
27422         power7 directories.
27424 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27426         * INSTALL: Regenerate.
27428         * nscd/connections.c (nscd_init): Fix comment.
27430 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
27432         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
27434         [BZ #15667]
27435         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
27436         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
27438 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27440         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
27441         DL_DST_REQ_STATIC.
27442         (DL_DST_REQ_STATIC): Remove macro.
27444 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
27446         [BZ #7006]
27447         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
27448         with a shift of 0 bits.
27450 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
27452         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
27453         $(tststatic-ENV).
27455 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27457         [BZ #15655]
27458         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
27460 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27462         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
27463         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
27464         accepts -fno-tree-loop-distribute-patterns.
27465         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
27466         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
27467         recursive call.
27468         * string/memset.c (memset): Likewise.
27469         * string/test-memmove.c (simple_memmove): Disable loop transformation
27470         to library calls.
27471         * string/test-memset.c (simple_memset): Likewise.
27472         * benchtests/bench-memmove.c (simple_memmove): Likewise.
27473         * benchtests/bench-memset.c (simple_memset): Likewise.
27474         * configure: Regenerated.
27476 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
27478         * math/test-misc.c (main): Ignore fesetround failure when failures
27479         of subsequent rounding tests would be ignored.
27481         [BZ #15654]
27482         * math/fedisblxcpt.c (fedisableexcept): Return 0.
27483         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
27484         * math/fegetenv.c (__fegetenv): Return 0.
27485         * math/fegetexcept.c (fegetexcept): Return 0.
27486         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
27487         FE_TONEAREST.
27488         * math/feholdexcpt.c (feholdexcept): Return 0.
27489         * math/fesetenv.c (__fesetenv): Return 0.
27490         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
27491         argument FE_TONEAREST.
27492         * math/feupdateenv.c (__feupdateenv): Return 0.
27493         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
27495 2013-06-18  Roland McGrath  <roland@hack.frob.com>
27497         * elf/rtld-Rules (rtld-compile-command.S): New variable.
27498         (rtld-compile-command.s, rtld-compile-command.c): New variables.
27499         ($(objpfx)rtld-%.os rules): Use them.
27501 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27503         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
27504         fields.
27506 2013-06-17  Roland McGrath  <roland@hack.frob.com>
27508         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
27509         length of target pattern, then descending length of dependency pattern.
27510         * configure.in (AWK): Require gawk 3.1.2 or newer.
27511         * manual/install.texi (Tools for Compilation): Say that we do.
27512         * configure: Regenerated.
27514         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
27515         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
27516         * scripts/sysd-rules.awk: ... this new script.
27517         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
27518         than a glob-style pattern.
27520 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
27522         * math/test-misc.c (main): Do not treat incorrectly rounded
27523         conversions as failure unless ROUNDING_TESTS passes.
27525 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
27527         [BZ #15631]
27528         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
27529         restore exception state around main square root computation, then
27530         check for inexactness explicitly.
27532         * math/libm-test.inc (fma_test_data): Add another test.
27534 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27536         * manual/threads.texi (Non-POSIX Extensions): New document
27537         node.  Document pthread_getattr_default_np and
27538         pthread_setattr_default_np.
27540         * Versions.def (libpthread): Add GLIBC_2.18.
27541         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
27542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
27543         Likewise.
27544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27545         Likewise.
27546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27547         Likewise.
27548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27549         Likewise.
27550         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
27551         Likewise.
27552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27553         Likewise.
27554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27555         Likewise.
27556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27557         Likewise.
27558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27559         Likewise.
27561 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27563         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27564         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
27566 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27567             H.J. Lu  <hjl.tools@gmail.com>
27569         [BZ #15627]
27570         * sysdeps/x86_64/rtld-memset.c: Remove file.
27571         * sysdeps/x86_64/rtld-memset.S: New file.
27573 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
27575         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
27576         (test_in_one_mode): Take arguments for whether the rounding mode
27577         is supported for each floating-point type.
27578         (do_test): Pass new arguments to test_in_one_mode using
27579         ROUNDING_TESTS.
27581 2013-06-13  Roland McGrath  <roland@hack.frob.com>
27583         * posix/tst-waitid.c (do_test): Distinguish different instances of
27584         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
27585         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
27586         before entering the kernel for waitpid.
27588 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27590         * NEWS: Fix note on clock function precision.  Text by Roland
27591         McGrath.
27593 2013-06-13  Roland McGrath  <roland@hack.frob.com>
27595         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
27596         it into place only when and if the sanity check passes.
27598 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
27600         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27601         output for whether conversion result is exact.  Take argument
27602         indicating whether type is IBM long double.
27603         (round_for_all): Change need_exact field to ibm_ld.
27604         * stdlib/tst-strtod-round.c (struct exactness): New type.
27605         (struct test): Change bool ld_ok field to struct exactness exact.
27606         (TEST): Update all definitions for change to field.
27607         (tests): Regenerate array contents.
27608         (test_in_one_mode): Take pointer to new field instead of old ld_ok
27609         field value.  Check for IBM long double here.
27610         (do_test): Update calls to test_in_one_mode.
27612 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27614         [BZ #12515]
27615         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27616         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27618 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27620         [BZ #15605]
27621         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27622         generated by the compiler on loop optimizations.
27623         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27624         general definitions.
27626 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
27628         * math/bug-nextafter.c: Include <math-tests.h>.
27629         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27630         the relevant type.
27631         * math/bug-nexttoward.c: Include <math-tests.h>.
27632         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27633         the relevant type.
27634         * math/test-misc.c: Include <math-tests.h>.
27635         (main): Only test for exceptions if EXCEPTION_TESTS is true for
27636         the relevant type.
27638 2013-06-12  Andreas Jaeger  <aj@suse.de>
27640         * po/ia.po: Update Interlingua translation from translation
27641         project.
27643 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27645         * include/fenv.h: Include stdbool.h.
27646         (struct rm_ctx): New structure.
27647         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27648         Define macro.
27649         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27650         (SET_RESTORE_ROUNDF): Likewise.
27651         (SET_RESTORE_ROUNDL): Likewise.
27652         (SET_RESTORE_ROUND_NOEX): Likewise.
27653         (SET_RESTORE_ROUND_NOEXF): Likewise.
27654         (SET_RESTORE_ROUND_NOEXL): Likewise.
27655         (SET_RESTORE_ROUND_53BIT): Likewise.
27656         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27657         (libc_feresetround_noexf_ctx): Likewise.
27658         (libc_feresetround_noexl_ctx): Likewise.
27659         (libc_feholdsetround_53bit_ctx): Likewise.
27660         (libc_feresetround_53bit_ctx): Likewise.
27661         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27662         (libc_feholdexcept_setround_sse_ctx): New function.
27663         (libc_fesetenv_sse_ctx): Likewise.
27664         (libc_feupdateenv_sse_ctx): Likewise.
27665         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27666         (libc_feholdexcept_setround_387_ctx): Likewise.
27667         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27668         (libc_feholdsetround_387_prec_ctx): Likewise.
27669         (libc_feholdsetround_387_ctx): Likewise.
27670         (libc_feholdsetround_387_53bit_ctx): Likewise.
27671         (libc_feholdsetround_sse_ctx): Likewise.
27672         (libc_feresetround_sse_ctx): Likewise.
27673         (libc_feresetround_387_ctx): Likewise.
27674         (libc_feupdateenv_387_ctx): Likewise.
27675         (libc_feholdexcept_setroundf_ctx): Define macro.
27676         (libc_fesetenvf_ctx): Likewise.
27677         (libc_feupdateenvf_ctx): Likewise.
27678         (libc_feholdsetroundf_ctx): Likewise.
27679         (libc_feresetroundf_ctx): Likewise.
27680         (libc_feholdexcept_setround_ctx): Likewise.
27681         (libc_fesetenv_ctx): Likewise.
27682         (libc_feupdateenv_ctx): Likewise.
27683         (libc_feholdsetround_ctx): Likewise.
27684         (libc_feresetround_ctx): Likewise.
27685         (libc_feholdexcept_setroundl_ctx): Likewise.
27686         (libc_feupdateenvl_ctx): Likewise.
27687         (libc_feholdsetroundl_ctx): Likewise.
27688         (libc_feresetroundl_ctx): Likewise.
27689         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27690         (libc_feresetround_53bit_ctx): Likewise.
27692 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27694         * locale/iso-639.def: Convert to UTF-8.
27696 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
27698         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27699         (EXCEPTION_TESTS_double): Likewise.
27700         (EXCEPTION_TESTS_long_double): Likewise.
27701         (EXCEPTION_TESTS): Likewise.
27702         * math/libm-test.inc (test_exceptions): Only test exceptions if
27703         EXCEPTION_TESTS (FLOAT).
27705 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27707         * benchtests/Makefile (string-bench): Add strcpy_chk and
27708         stpcpy_chk.
27709         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27710         * benchtests/bench-stpcpy_chk.c: New file.
27711         * benchtests/bench-strcpy_chk-ifunc.c: New file.
27712         * benchtests/bench-strcpy_chk.c: New file.
27713         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27714         code.
27715         (do_test): Likewise.
27717 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27719         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27720         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27721         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27722         with tabs where appropriate.
27723         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27724         dl-procinfo.h.
27725         [PPC_PLATFORM_PPC440]: Likewise.
27726         [PPC_PLATFORM_PPC464]: Likewise.
27727         [PPC_PLATFORM_PPC476]: Likewise.
27728         (_dl_string_platform): Add support for detecting ppc405, ppc440,
27729         ppc464, and ppc476 platform strings merging from ports/
27730         dl-procinfo.h.
27732 2013-06-11  Andreas Schwab  <schwab@suse.de>
27734         [BZ #14991]
27735         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27736         (from_ucs4_idx): Regenerate.
27737         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27738         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27739         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27740         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27741         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27742         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27743         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27744         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27745         from FROM_LOOP and TO_LOOP specific macros.
27746         (BODY): Handle combining characters.
27747         * iconvdata/BIG5HKSCS.irreversible: Update.
27748         * iconvdata/BIG5HKSCS.precomposed: New file.
27749         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27750         characters.
27751         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27753 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27755         * include/sys/time.h: Fix indentation and add copyright header.
27757         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27758         (do_test): Likewise.
27759         * string/test-memchr.c (do_one_test): Likewise.
27760         (do_test): Likewise.
27761         * string/test-memcmp.c (do_one_test): Likewise.
27762         (do_test): Likewise.
27763         * string/test-memcpy.c (do_one_test): Likewise.
27764         (do_test): Likewise.
27765         * string/test-memmem.c (do_one_test): Likewise.
27766         (do_test): Likewise.
27767         (do_random_tests): Likewise.
27768         * string/test-memmove.c (do_one_test): Likewise.
27769         (do_test): Likewise.
27770         * string/test-memset.c (do_one_test): Likewise.
27771         (do_test): Likewise.
27772         * string/test-rawmemchr.c (do_one_test): Likewise.
27773         (do_test): Likewise.
27774         * string/test-strcasecmp.c (do_one_test): Likewise.
27775         (do_test): Likewise.
27776         * string/test-strcasestr.c (do_one_test): Likewise.
27777         (do_test): Likewise.
27778         * string/test-strcat.c (do_one_test): Likewise.
27779         (do_test): Likewise.
27780         * string/test-strchr.c (do_one_test): Likewise.
27781         (do_test): Likewise.
27782         * string/test-strcmp.c (do_one_test): Likewise.
27783         (do_test): Likewise.
27784         * string/test-strcpy.c (do_one_test): Likewise.
27785         (do_test): Likewise.
27786         * string/test-string.h: Likewise.
27787         (test_init): Likewise.
27788         * string/test-strlen.c (do_one_test): Likewise.
27789         (do_test): Likewise.
27790         * string/test-strncasecmp.c (do_one_test): Likewise.
27791         (do_test): Likewise.
27792         * string/test-strncat.c (do_one_test): Likewise.
27793         (do_test): Likewise.
27794         * string/test-strncmp.c (do_one_test): Likewise.
27795         (do_test_limit): Likewise.
27796         (do_test): Likewise.
27797         * string/test-strncpy.c (do_one_test): Likewise.
27798         (do_test): Likewise.
27799         * string/test-strnlen.c (do_one_test): Likewise.
27800         (do_test): Likewise.
27801         * string/test-strpbrk.c (do_one_test): Likewise.
27802         (do_test): Likewise.
27803         * string/test-strrchr.c (do_one_test): Likewise.
27804         (do_test): Likewise.
27805         * string/test-strspn.c (do_one_test): Likewise.
27806         (do_test): Likewise.
27807         * string/test-strstr.c (do_one_test): Likewise.
27808         (do_test): Likewise.
27810         * benchtests/Makefile (string-bench): Add string benchmarks.
27811         * benchtests/bench-bcopy-ifunc.c: New file.
27812         * benchtests/bench-bcopy.c: New file.
27813         * benchtests/bench-bzero-ifunc.c: New file.
27814         * benchtests/bench-bzero.c: New file.
27815         * benchtests/bench-memccpy-ifunc.c: New file.
27816         * benchtests/bench-memccpy.c: New file.
27817         * benchtests/bench-memchr-ifunc.c: New file.
27818         * benchtests/bench-memchr.c: New file.
27819         * benchtests/bench-memcmp-ifunc.c: New file.
27820         * benchtests/bench-memcmp.c: New file.
27821         * benchtests/bench-memmem-ifunc.c: New file.
27822         * benchtests/bench-memmem.c: New file.
27823         * benchtests/bench-memmove-ifunc.c: New file.
27824         * benchtests/bench-memmove.c: New file.
27825         * benchtests/bench-mempcpy-ifunc.c: New file.
27826         * benchtests/bench-mempcpy.c: New file.
27827         * benchtests/bench-memset-ifunc.c: New file.
27828         * benchtests/bench-memset.c: New file.
27829         * benchtests/bench-rawmemchr-ifunc.c: New file.
27830         * benchtests/bench-rawmemchr.c: New file.
27831         * benchtests/bench-stpcpy-ifunc.c: New file.
27832         * benchtests/bench-stpcpy.c: New file.
27833         * benchtests/bench-stpncpy-ifunc.c: New file.
27834         * benchtests/bench-stpncpy.c: New file.
27835         * benchtests/bench-strcasecmp-ifunc.c: New file.
27836         * benchtests/bench-strcasecmp.c: New file.
27837         * benchtests/bench-strcasestr-ifunc.c: New file.
27838         * benchtests/bench-strcasestr.c: New file.
27839         * benchtests/bench-strcat-ifunc.c: New file.
27840         * benchtests/bench-strcat.c: New file.
27841         * benchtests/bench-strchr-ifunc.c: New file.
27842         * benchtests/bench-strchr.c: New file.
27843         * benchtests/bench-strchrnul-ifunc.c: New file.
27844         * benchtests/bench-strchrnul.c: New file.
27845         * benchtests/bench-strcmp-ifunc.c: New file.
27846         * benchtests/bench-strcmp.c: New file.
27847         * benchtests/bench-strcpy-ifunc.c: New file.
27848         * benchtests/bench-strcpy.c: New file.
27849         * benchtests/bench-strcspn-ifunc.c: New file.
27850         * benchtests/bench-strcspn.c: New file.
27851         * benchtests/bench-strlen-ifunc.c: New file.
27852         * benchtests/bench-strlen.c: New file.
27853         * benchtests/bench-strncasecmp-ifunc.c: New file.
27854         * benchtests/bench-strncasecmp.c: New file.
27855         * benchtests/bench-strncat-ifunc.c: New file.
27856         * benchtests/bench-strncat.c: New file.
27857         * benchtests/bench-strncmp-ifunc.c: New file.
27858         * benchtests/bench-strncmp.c: New file.
27859         * benchtests/bench-strncpy-ifunc.c: New file.
27860         * benchtests/bench-strncpy.c: New file.
27861         * benchtests/bench-strnlen-ifunc.c: New file.
27862         * benchtests/bench-strnlen.c: New file.
27863         * benchtests/bench-strpbrk-ifunc.c: New file.
27864         * benchtests/bench-strpbrk.c: New file.
27865         * benchtests/bench-strrchr-ifunc.c: New file.
27866         * benchtests/bench-strrchr.c: New file.
27867         * benchtests/bench-strspn-ifunc.c: New file.
27868         * benchtests/bench-strspn.c: New file.
27869         * benchtests/bench-strstr-ifunc.c: New file.
27870         * benchtests/bench-strstr.c: New file.
27872         * benchtests/Makefile: Disable parallel execution of targets.
27873         (string-bench): Add memcpy.
27874         (benchset): New variable to store a list of benchmark sets.
27875         (bench-func): Renamed from bench.
27876         (bench-set): New target.
27877         (bench): Depend on bench-func and bench-set.
27878         * benchtests/README: Add section on benchmark sets.
27879         * benchtests/bench-memcpy-ifunc.c: New file.
27880         * benchtests/bench-memcpy.c: New file.
27881         * benchtests/bench-string.h: New file.
27883 2013-06-11  Andreas Schwab  <schwab@suse.de>
27885         [BZ #15577]
27886         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27887         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27888         values in the triple.
27889         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27890         terminator in the group key.
27892 2013-06-11  Andreas Jaeger  <aj@suse.de>
27894         * po/zh_TW.po: Update Chinese (traditional) translation from
27895         translation project.
27897 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27899         * include/time.h (__clock_gettime): Add libc_hidden_proto.
27900         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27901         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
27902         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27903         (clock_getcpuclockid): Likewise.
27904         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27905         Add weak_alias and libc_hidden_def.
27906         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27907         * rt/clock_gettime.c (clock_gettime): Rename to
27908         __clock_gettime.  Add weak_alias and libc_hidden_def.
27909         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27910         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27911         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
27912         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27913         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27914         Likewise.
27915         * rt/clock_settime.c (clock_settime): Rename to
27916         __clock_settime.  Add weak_alias and libc_hidden_def.
27917         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27919 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
27921         * mach/err_boot.sub: Remove trailing whitespace.
27922         * mach/err_ipc.sub: Likewise.
27923         * mach/err_mach.sub: Likewise.
27925         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27926         (ROUNDING_TESTS_double): Likewise.
27927         (ROUNDING_TESTS_long_double): Likewise.
27928         (ROUNDING_TESTS): Likewise.
27929         * math/libm-test.inc: Include <math-tests.h>.
27930         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27931         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27932         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27933         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27935 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27937         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27938         of assigning.
27940 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
27942         * sysdeps/gnu/errlist.awk: Do not generate space at end of
27943         otherwise empty TRANS lines.
27944         * sysdeps/gnu/errlist.c: Regenerated.
27946         * catgets/gencat.c (error_print): Use (void) in function
27947         definition.
27948         * crypt/crypt_util.c (__init_des): Likewise.
27949         * crypt/speeds.c (Stop): Likewise.
27950         (main): Likewise.
27951         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27952         * inet/ruserpass.c (token): Likewise.
27953         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27954         * intl/localealias.c (extend_alias_table): Likewise.
27955         * intl/plural-exp.c (init_germanic_plural): Likewise.
27956         * libio/fcloseall.c (__fcloseall): Likewise.
27957         * libio/genops.c (_IO_flush_all): Likewise.
27958         (_IO_flush_all_linebuffered): Likewise.
27959         (_IO_cleanup): Likewise.
27960         (_IO_iter_begin): Likewise.
27961         (_IO_iter_end): Likewise.
27962         (_IO_list_lock): Likewise.
27963         (_IO_list_unlock): Likewise.
27964         (_IO_list_resetlock): Likewise.
27965         * libio/getchar.c (getchar): Likewise.
27966         * libio/getchar_u.c (getchar_unlocked): Likewise.
27967         * libio/getwchar.c (getwchar): Likewise.
27968         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27969         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27970         * login/getpt.c (__getpt): Likewise.
27971         * login/tst-utmp.c (main): Likewise.
27972         * malloc/hooks.c (__malloc_check_init): Likewise.
27973         * malloc/malloc.c (__malloc_stats): Likewise.
27974         * malloc/mtrace.c (tr_break): Likewise.
27975         (mtrace): Likewise.
27976         (muntrace): Likewise.
27977         * misc/fstab.c (endfsent): Likewise.
27978         * misc/getclktck.c (__getclktck): Likewise.
27979         * misc/getdtsz.c (__getdtablesize): Likewise.
27980         * misc/gethostid.c (gethostid): Likewise.
27981         * misc/getpagesize.c (__getpagesize): Likewise.
27982         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27983         (__get_nprocs): Likewise.
27984         (__get_phys_pages): Likewise.
27985         (__get_avphys_pages): Likewise.
27986         * misc/getttyent.c (getttyent): Likewise.
27987         (setttyent): Likewise.
27988         (endttyent): Likewise.
27989         * misc/getusershell.c (getusershell): Likewise.
27990         (endusershell): Likewise.
27991         (setusershell): Likewise.
27992         (initshells): Likewise.
27993         * misc/hsearch.c (__hdestroy): Likewise.
27994         * misc/sync.c (sync): Likewise.
27995         * misc/syslog.c (closelog_internal): Likewise.
27996         (closelog): Likewise.
27997         * misc/ttyslot.c (ttyslot): Likewise.
27998         * misc/vhangup.c (vhangup): Likewise.
27999         * posix/fork.c (__fork): Likewise.
28000         * posix/getegid.c (__getegid): Likewise.
28001         * posix/geteuid.c (__geteuid): Likewise.
28002         * posix/getgid.c (__getgid): Likewise.
28003         * posix/getpid.c (__getpid): Likewise.
28004         * posix/getppid.c (__getppid): Likewise.
28005         * posix/getuid.c (__getuid): Likewise.
28006         * posix/pause.c (pause): Likewise.
28007         * posix/setpgrp.c (setpgrp): Likewise.
28008         * posix/setsid.c (__setsid): Likewise.
28009         * posix/test-vfork.c (noop): Likewise.
28010         * resolv/gethnamaddr.c (_endhtent): Likewise.
28011         (_gethtent): Likewise.
28012         (ht_endhostent): Likewise.
28013         (gethostent): Likewise.
28014         (dns_service): Likewise.
28015         * stdlib/drand48.c (drand48): Likewise.
28016         * stdlib/lrand48.c (lrand48): Likewise.
28017         * stdlib/mrand48.c (mrand48): Likewise.
28018         * stdlib/rand.c (rand): Likewise.
28019         * stdlib/random.c (__random): Likewise.
28020         * stdlib/setenv.c (clearenv): Likewise.
28021         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28022         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28023         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28024         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28025         (__get_nprocs): Likewise.
28026         (__get_phys_pages): Likewise.
28027         (__get_avphys_pages): Likewise.
28028         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28029         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28030         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28031         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28032         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28033         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28034         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28035         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28036         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28037         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28038         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28039         * sysdeps/mach/hurd/sync.c (sync): Likewise.
28040         * sysdeps/posix/clock.c (clock): Likewise.
28041         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28042         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28043         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28044         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28045         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28046         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28047         (__get_nprocs_conf): Likewise.
28048         (__get_phys_pages): Likewise.
28049         (__get_avphys_pages): Likewise.
28050         * time/clock.c (clock): Likewise.
28051         * time/tzset.c (__tzname_max): Likewise.
28053 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
28055         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28056         (__bswap_32): Do not use "register".
28057         * crypt/crypt.c (_ufc_doit_r): Likewise.
28058         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28059         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28060         * gmon/gmon.c (__monstartup): Likewise.
28061         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28062         * hurd/hurdmalloc.c (more_memory): Likewise.
28063         (malloc): Likewise.
28064         (free): Likewise.
28065         (realloc): Likewise.
28066         (malloc_fork_prepare): Likewise.
28067         (malloc_fork_parent): Likewise.
28068         (malloc_fork_child): Likewise.
28069         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28070         (_svcauth_des): Likewise.
28071         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28072         * inet/inet_net.c (inet_network): Likewise.
28073         * inet/inet_netof.c (inet_netof): Likewise.
28074         * inet/rcmd.c (__validuser2_sa): Likewise.
28075         * io/fts.c (fts_open): Likewise.
28076         (fts_load): Likewise.
28077         (fts_close): Likewise.
28078         (fts_read): Likewise.
28079         (fts_children): Likewise.
28080         (fts_build): Likewise.
28081         (fts_stat): Likewise.
28082         (fts_sort): Likewise.
28083         (fts_alloc): Likewise.
28084         (fts_lfree): Likewise.
28085         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
28086         (_IO_file_xsgetn): Likewise.
28087         (_IO_file_xsgetn_mmap): Likewise.
28088         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28089         (_IO_cookie_write): Likewise.
28090         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
28091         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
28092         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
28093         * malloc/obstack.c (_obstack_begin): Likewise.
28094         (_obstack_begin_1): Likewise.
28095         (_obstack_newchunk): Likewise.
28096         (_obstack_allocated_p): Likewise.
28097         (obstack_free): Likewise.
28098         (_obstack_memory_used): Likewise.
28099         * misc/getttyent.c (getttynam): Likewise.
28100         (getttyent): Likewise.
28101         (skip): Likewise.
28102         (value): Likewise.
28103         * misc/getusershell.c (initshells): Likewise.
28104         * misc/syslog.c (__vsyslog_chk): Likewise.
28105         * misc/ttyslot.c (ttyslot): Likewise.
28106         * nis/nis_hash.c (__nis_hash): Likewise.
28107         * posix/fnmatch_loop.c (FCT): Likewise.
28108         * posix/getconf.c (print_all): Likewise.
28109         (main): Likewise.
28110         * posix/getopt.c (exchange): Likewise.
28111         * posix/glob.c (globfree): Likewise.
28112         (prefix_array): Likewise.
28113         (__glob_pattern_type): Likewise.
28114         * resolv/arpa/nameser.h (NS_GET16): Likewise.
28115         (NS_GET32): Likewise.
28116         (NS_PUT16): Likewise.
28117         (NS_PUT32): Likewise.
28118         * resolv/gethnamaddr.c (getanswer): Likewise.
28119         (gethostbyname2): Likewise.
28120         (gethostbyaddr): Likewise.
28121         (_gethtent): Likewise.
28122         (_gethtbyname2): Likewise.
28123         (_gethtbyaddr): Likewise.
28124         * resolv/ns_print.c (dst_s_get_int16): Likewise.
28125         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28126         * resolv/res_init.c (__res_vinit): Likewise.
28127         (net_mask): Likewise.
28128         * resolv/res_mkquery.c (outchar): Likewise.
28129         (PRINT): Likewise.
28130         * stdio-common/printf_fp.c (outchar): Likewise.
28131         (PRINT): Likewise.
28132         * stdio-common/printf_fphex.c (outchar): Likewise.
28133         (PRINT): Likewise.
28134         * stdio-common/printf_size.c (outchar): Likewise.
28135         (PRINT): Likewise.
28136         * stdio-common/test_rdwr.c (main): Likewise.
28137         * stdio-common/tfformat.c (matches): Likewise.
28138         * stdio-common/vfprintf.c (outchar): Likewise.
28139         (printf_unknown): Likewise.
28140         (buffered_vfprintf): Likewise.
28141         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28142         * stdio-common/xbug.c (AppendToBuffer): Likewise.
28143         (ReadFile): Likewise.
28144         * stdlib/qsort.c (SWAP): Likewise.
28145         (_quicksort): Likewise.
28146         * stdlib/setenv.c (__add_to_environ): Likewise.
28147         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28148         * stdlib/strtol_l.c (__strtol_l): Likewise.
28149         * stdlib/tst-strtod.c (main): Likewise.
28150         * stdlib/tst-strtol.c (main): Likewise.
28151         * stdlib/tst-strtoll.c (main): Likewise.
28152         * string/bits/string2.h (__strcmp_cc): Likewise.
28153         (__strcmp_cg): Likewise.
28154         (__strcspn_c1): Likewise.
28155         (__strcspn_c2): Likewise.
28156         (__strcspn_c3): Likewise.
28157         (__strspn_c1): Likewise.
28158         (__strspn_c2): Likewise.
28159         (__strspn_c3): Likewise.
28160         (__strsep_1c): Likewise.
28161         (__strsep_2c): Likewise.
28162         (__strsep_3c): Likewise.
28163         * string/memccpy.c (__memccpy): Likewise.
28164         * string/stpcpy.c (__stpcpy): Likewise.
28165         * string/strcmp.c (strcmp): Likewise.
28166         * string/strrchr.c (strrchr): Likewise.
28167         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
28168         Likewise.
28169         * sysdeps/mach/hurd/getcwd.c
28170         (_hurd_canonicalize_directory_name_internal): Likewise.
28171         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
28172         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
28173         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
28174         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
28175         Likewise, in both definitions.
28176         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
28177         definitions.
28178         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
28179         64] (__bswap_64): Likewise.
28180         * time/test_time.c (main): Likewise.
28181         * time/tzfile.c (__tzfile_read): Likewise.
28182         (__tzfile_compute): Likewise.
28183         * time/tzset.c (__tzset_parse_tz): Likewise.
28184         (tzset_internal): Likewise.
28185         (compute_change): Likewise.
28186         * wcsmbs/wcscat.c (__wcscat): Likewise.
28187         * wcsmbs/wcschr.c (wcschr): Likewise.
28188         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28189         * wcsmbs/wcscspn.c (wcscspn): Likewise.
28190         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28191         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
28192         * wcsmbs/wcsspn.c (wcsspn): Likewise.
28193         * wcsmbs/wcsstr.c (wcsstr): Likewise.
28194         * wcsmbs/wmemchr.c (wmemchr): Likewise.
28195         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28196         * wcsmbs/wmemset.c (wmemset): Likewise.
28198 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
28200         * scripts/config.guess: Update to version 2013-05-16.
28201         * scripts/config.sub: Update to version 2013-04-24.
28202         * scripts/install-sh: Update to version 2011-11-20.07.
28203         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
28204         * scripts/move-if-change: Update to version 2012-01-06 07:23.
28206 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
28208         * debug/fgetws_u_chk.c: Fix leading whitespaces.
28209         * elf/sln.c: Likewise.
28210         * hurd/hurd/ioctl.h: Likewise.
28211         * hurd/hurdmalloc.c: Likewise.
28212         * hurd/xattr.c: Likewise.
28213         * include/shlib-compat.h: Likewise.
28214         * inet/ruserpass.c: Likewise.
28215         * libio/iofgets_u.c: Likewise.
28216         * libio/iofgetws_u.c: Likewise.
28217         * locale/programs/ld-identification.c: Likewise.
28218         * locale/programs/ld-time.c: Likewise.
28219         * mach/msg-destroy.c: Likewise.
28220         * nss/nss_files/files-netgrp.c: Likewise.
28221         * resolv/res_data.c: Likewise.
28222         * soft-fp/op-1.h: Likewise.
28223         * soft-fp/op-2.h: Likewise.
28224         * soft-fp/op-4.h: Likewise.
28225         * soft-fp/op-common.h: Likewise.
28226         * stdio-common/printf_fphex.c: Likewise.
28227         * stdlib/strtod_l.c: Likewise.
28228         * sunrpc/rpc/clnt.h: Likewise.
28229         * sysdeps/generic/framestate.c: Likewise.
28230         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28231         * sysdeps/i386/bsd-setjmp.S: Likewise.
28232         * sysdeps/i386/__longjmp.S: Likewise.
28233         * sysdeps/i386/setjmp.S: Likewise.
28234         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28235         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28236         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28237         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28238         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28239         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28240         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28241         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28242         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28243         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28244         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28245         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28246         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28247         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28248         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28249         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28250         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28251         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
28252         * sysdeps/ieee754/support.c: Likewise.
28253         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28254         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
28255         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
28256         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
28257         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
28258         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
28259         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
28260         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
28261         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
28262         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
28263         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
28264         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
28265         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
28266         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
28267         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
28268         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
28269         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28272 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
28274         * posix/transbug.c: Remove executable mode.
28276 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
28278         * crypt/speeds.c: Remove trailing whitespace.
28279         * dlfcn/default.c: Likewise.
28280         * elf/ifuncdep2.c: Likewise.
28281         * elf/ifuncmain1.c: Likewise.
28282         * elf/ifuncmain1vis.c: Likewise.
28283         * elf/testobj.h: Likewise.
28284         * elf/tst-stackguard1.c: Likewise.
28285         * gmon/sys/gmon.h: Likewise.
28286         * hurd/hurdmsg.c: Likewise.
28287         * hurd/new-fd.c: Likewise.
28288         * hurd/ports-get.c: Likewise.
28289         * iconvdata/ibm1008_420.c: Likewise.
28290         * inet/tst-getni1.c: Likewise.
28291         * inet/tst-getni2.c: Likewise.
28292         * libio/ioungetc.c: Likewise.
28293         * libio/wfiledoalloc.c: Likewise.
28294         * manual/libm-err-tab.pl: Likewise.
28295         * math/w_dremf.c: Likewise.
28296         * misc/ftruncate.c: Likewise.
28297         * posix/bug-glob2.c: Likewise.
28298         * posix/tst-pcre.c: Likewise.
28299         * posix/wait4.c: Likewise.
28300         * resolv/README: Likewise.
28301         * resolv/res_debug.h: Likewise.
28302         * resolv/tst-inet_ntop.c: Likewise.
28303         * setjmp/bug269-setjmp.c: Likewise.
28304         * soft-fp/extended.h: Likewise.
28305         * soft-fp/op-1.h: Likewise.
28306         * soft-fp/op-2.h: Likewise.
28307         * soft-fp/op-4.h: Likewise.
28308         * soft-fp/op-8.h: Likewise.
28309         * soft-fp/testit.c: Likewise.
28310         * stdio-common/bug16.c: Likewise.
28311         * stdlib/random.c: Likewise.
28312         * sunrpc/rpcsvc/rquota.x: Likewise.
28313         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
28314         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28315         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28316         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28317         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28318         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28319         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28320         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28321         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28322         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28323         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28324         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28325         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28326         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28327         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28328         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28329         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28330         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28331         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28332         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28333         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28334         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28335         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
28336         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28337         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28338         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28339         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28340         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28341         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28342         * sysdeps/ieee754/s_lib_version.c: Likewise.
28343         * sysdeps/mach/hurd/check_fds.c: Likewise.
28344         * sysdeps/mach/hurd/getsockname.c: Likewise.
28345         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
28346         * sysdeps/mach/hurd/recvfrom.c: Likewise.
28347         * sysdeps/powerpc/bits/link.h: Likewise.
28348         * sysdeps/powerpc/dl-procinfo.c: Likewise.
28349         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
28350         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
28351         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
28352         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28353         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28354         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
28355         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28356         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
28357         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28358         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28359         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28360         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
28361         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28362         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28363         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28364         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28365         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28366         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28367         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28368         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28369         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
28370         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28371         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28372         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
28373         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28374         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28375         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28376         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28377         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28378         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28379         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28380         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28381         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28382         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
28383         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28384         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
28385         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28386         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28387         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
28388         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
28389         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
28390         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
28391         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
28392         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28393         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
28394         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
28395         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28396         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
28397         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
28398         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28399         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28400         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28401         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28402         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
28403         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28404         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28405         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28406         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
28407         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28408         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
28409         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
28410         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
28411         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28412         * sysdeps/powerpc/sysdep.h: Likewise.
28413         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28414         * sysdeps/s390/s390-64/sub_n.S: Likewise.
28415         * sysdeps/sh/dl-trampoline.S: Likewise.
28416         * sysdeps/sh/memset.S: Likewise.
28417         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
28418         * sysdeps/sh/strlen.S: Likewise.
28419         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
28420         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
28421         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
28422         * sysdeps/sparc/sparc32/rem.S: Likewise.
28423         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
28424         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
28425         * sysdeps/sparc/sparc32/strchr.S: Likewise.
28426         * sysdeps/sparc/sparc32/udiv.S: Likewise.
28427         * sysdeps/sparc/sparc32/urem.S: Likewise.
28428         * sysdeps/sparc/sparc64/add_n.S: Likewise.
28429         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28430         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
28431         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
28432         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
28433         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
28434         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28435         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
28436         * sysdeps/unix/bsd/times.c: Likewise.
28437         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
28438         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
28439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28442         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
28443         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28444         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
28445         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
28446         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
28447         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
28448         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28449         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
28450         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28451         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28452         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
28453         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28454         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
28455         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
28456         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
28457         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
28458         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
28459         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28460         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
28461         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
28462         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28463         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
28464         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28465         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
28466         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
28467         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
28468         * sysdeps/x86_64/strcspn.S: Likewise.
28470 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28472         * locale/C-translit.h: Revert #include <stdint.h> because this is a
28473         generated file.  Regenerate properly from gen-translit.pl.
28474         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
28475         locale/C-translit.h.
28477 2013-06-05  Andreas Schwab  <schwab@suse.de>
28479         [BZ #15100]
28480         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
28481         week as 6 instead of -1.
28482         * time/tst-strptime.c (day_tests): Add test case.
28484 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28486         * sysdeps/generic/math_private.h
28487         (libc_feholdexcept_setround_53bit): Replace with
28488         libc_feholdsetround_53bit.
28489         (libc_feupdateenv_53bit): Replace with
28490         libc_feresetround_53bit.
28491         (SET_RESTORE_ROUND_53BIT): Adjust.
28493 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28495         * string/test-strchrnul.c: Add copyright header.
28497         * posix/tst-getaddrinfo4.c: Increase test timeout.
28499 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
28501         [BZ #15536]
28502         * math/libm-test.inc (MAX_EXP): Remove
28503         (MIN_EXP): Define.
28504         (ulp): Use MIN_EXP - MANT_DIG.
28505         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
28507 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
28509         * po/be.po: Revert last change.
28510         * po/zh_CN.po: Likewise.
28511         * po/header.pot: Likewise.
28513 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
28515         * Makefile ($(common-objpfx)linkobj/libc.so): Define
28516         link-libc-deps to empty as target-specific variable.
28517         * Makerules (link-libc-args): New variable.
28518         (libc-for-link): Likewise.
28519         (link-libc-deps): Likewise.
28520         (lib%.so): Depend on $(link-libc-deps).  Link with
28521         $(link-libc-args).
28522         (build-module): Link with $(link-libc-args).
28523         (build-module-asneeded): Likewise.
28524         (build-module-helper-objlist): Filter out $(link-libc-deps) from
28525         list of objects.
28526         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
28527         target-specific variable.
28528         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
28529         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
28530         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
28531         libc.
28532         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
28533         libc and ld.so.
28534         ($(objpfx)libpcprofile.so): Likewise.
28535         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
28536         libc_nonshared.a.
28537         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
28538         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
28539         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
28540         $(link-libc-deps).
28541         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
28542         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
28543         * login/Makefile ($(objpfx)libutil.so): Likewise.
28544         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
28545         * math/Makefile ($(objpfx)libm.so): Likewise.
28546         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
28547         $(objpfx)libnsl.so): Define libc-for-link as target-specific
28548         variable instead of depending directly on libc.
28549         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
28550         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
28551         $(link-libc-deps).
28552         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
28553         libc.
28554         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
28555         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
28556         ($(objpfx)libanl.so): Likewise.
28557         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
28558         ld.so.
28559         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
28560         $(link-libc-deps).
28561         * sysdeps/i386/fpu/Makefile: Remove file.
28562         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
28563         ($(objpfx)libm.so): Remove dependency on ld.so.
28565 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
28567         [BZ # 15553]
28568         * nis/yp_xdr.c (XDRMAXNAME): Define.
28569         (XDRMAXRECORD): Define.
28570         (xdr_domainname): Use XDRMAXNAME.
28571         (xdr_mapname): Likewise.
28572         (xdr_peername): Likewise.
28573         (xdr_keydat): Use XDRMAXRECORD.
28574         (xdr_valdat): Likewise.
28576 2013-05-30  Jeff Law  <law@redhat.com>
28578         [BZ #14256]
28579         * manual/errno.texi (ESTALE): Update to account for more than
28580         just NFS file systems.
28581         * sysdeps/gnu/errlist.c: Regenerated.
28583 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28585         [BZ #15465]
28586         * elf/Makefile (tests): Add tst-null-argv.
28587         (modules-names):  Add tst-null-argv-lib.
28588         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
28589         (tst-null-argv-ENV): Set environment for tst-null-argv.
28590         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
28591         (RTLD_PROGNAME): New macro.
28592         * elf/tst-null-argv.c: New test case.
28593         * elf/tst-null-argv-lib.c: Library for test case.
28594         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
28595         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
28596         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
28597         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28598         * elf/dl-init.c (call_init): Likewise.
28599         (_dl_init): Likewise.
28600         * elf/dl-load.c (print_search_path): Likewise.
28601         (_dl_map_object): Likewise.
28602         * elf/dl-lookup.c (do_lookup_x): Likewise.
28603         (add_dependency): Likewise.
28604         (_dl_lookup_symbol_x): Likewise.
28605         (_dl_debug_bindings): Likewise.
28606         * elf/dl-open.c (_dl_show_scope): Likewise.
28607         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28608         * elf/dl-version.c (match_symbol): Likewise.
28609         (_dl_check_map_versions): Likewise.
28610         * elf/rtld.c (dl_main): Likewise.
28611         (print_unresolved): Use RTLD_PROGNAME.
28612         (print_missing_version): Likewise.
28613         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28614         (elf_machine_rela): Likewise.
28615         * sysdeps/powerpc/powerpc32/dl-machine.c
28616         (__process_machine_rela): Likewise.
28617         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28618         Likewise.
28619         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28620         Likewise.
28621         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28622         Likewise.
28623         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28624         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28625         Likewise.
28626         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28627         Likewise.
28628         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28630 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
28632         * po/be.po: Add descriptive title.
28633         * po/zh_CN.po: Likewise.
28634         * po/header.pot: Likewise.
28636 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
28638         * locale/programs/locarchive.c (create_archive): Inlucde fname in
28639         error message.
28640         (enlarge_archive): Likewise.
28642 2013-05-28  Ben North  <ben@redfrontdoor.org>
28644         * manual/arith.texi (frexp): It is the magnitude of the return
28645         value which lies in [0.5, 1), not the return value itself.
28647 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28651 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
28653         * stdio-common/bug26.c (main): Correct fscanf template.
28655         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28656         declare _dl_skip_args.
28658         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28659         Don't declare.
28661         * manual/platform.texi: Add missing @end deftypefun.
28663 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
28665         [BZ #15529]
28666         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28667         bit of mantissa of 2^16382.
28668         * math/libm-test.inc (hypot_test_data): Add more tests.
28670         * math/libm-test.inc: Add drem and pow10 to list of tested
28671         functions.
28672         (pow10_test): New function.
28673         (drem_test): Likewise.
28674         (drem_test_tonearest): Likewise.
28675         (drem_test_towardzero): Likewise.
28676         (drem_test_downward): Likewise.
28677         (drem_test_upward): Likewise.
28678         (main): Call the new functions.
28680         * math/libm-test.inc (finite_test_data): Remove.
28681         (finite_test): Run tests from isfinite_test_data.
28682         (gamma_test_data): Remove.
28683         (gamma_test): Run tests from lgamma_test_data.
28684         * sysdeps/i386/fpu/libm-test-ulps: Update.
28685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28687 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28689         * manual/platform.texi: Add PowerPC PPR function set documentation.
28690         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28691         implementation.
28693 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
28695         * math/libm-test.inc (MAX_EXP): Define.
28696         (ULPDIFF): Define.
28697         (ulp): New function.
28698         (check_float_internal): Use ULPDIFF.
28699         (cpow_test): Disable failing test.
28700         (check_ulp): Test ulp() implemetnation.
28701         (main): Call check_ulp before starting tests.
28703 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
28705         * math/gen-libm-test.pl (generate_testfile): Do not handle
28706         START_DATA and END_DATA.
28707         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28708         END_DATA.
28709         (acos_tonearest_test_data): Likewise.
28710         (acos_towardzero_test_data): Likewise.
28711         (acos_downward_test_data): Likewise.
28712         (acos_upward_test_data): Likewise.
28713         (acosh_test_data): Likewise.
28714         (asin_test_data): Likewise.
28715         (asin_tonearest_test_data): Likewise.
28716         (asin_towardzero_test_data): Likewise.
28717         (asin_downward_test_data): Likewise.
28718         (asin_upward_test_data): Likewise.
28719         (asinh_test_data): Likewise.
28720         (atan_test_data): Likewise.
28721         (atanh_test_data): Likewise.
28722         (atan2_test_data): Likewise.
28723         (cabs_test_data): Likewise.
28724         (cacos_test_data): Likewise.
28725         (cacosh_test_data): Likewise.
28726         (carg_test_data): Likewise.
28727         (casin_test_data): Likewise.
28728         (casinh_test_data): Likewise.
28729         (catan_test_data): Likewise.
28730         (catanh_test_data): Likewise.
28731         (cbrt_test_data): Likewise.
28732         (ccos_test_data): Likewise.
28733         (ccosh_test_data): Likewise.
28734         (ceil_test_data): Likewise.
28735         (cexp_test_data): Likewise.
28736         (cimag_test_data): Likewise.
28737         (clog_test_data): Likewise.
28738         (clog10_test_data): Likewise.
28739         (conj_test_data): Likewise.
28740         (copysign_test_data): Likewise.
28741         (cos_test_data): Likewise.
28742         (cos_tonearest_test_data): Likewise.
28743         (cos_towardzero_test_data): Likewise.
28744         (cos_downward_test_data): Likewise.
28745         (cos_upward_test_data): Likewise.
28746         (cosh_test_data): Likewise.
28747         (cosh_tonearest_test_data): Likewise.
28748         (cosh_towardzero_test_data): Likewise.
28749         (cosh_downward_test_data): Likewise.
28750         (cosh_upward_test_data): Likewise.
28751         (cpow_test_data): Likewise.
28752         (cproj_test_data): Likewise.
28753         (creal_test_data): Likewise.
28754         (csin_test_data): Likewise.
28755         (csinh_test_data): Likewise.
28756         (csqrt_test_data): Likewise.
28757         (ctan_test_data): Likewise.
28758         (ctan_tonearest_test_data): Likewise.
28759         (ctan_towardzero_test_data): Likewise.
28760         (ctan_downward_test_data): Likewise.
28761         (ctan_upward_test_data): Likewise.
28762         (ctanh_test_data): Likewise.
28763         (ctanh_tonearest_test_data): Likewise.
28764         (ctanh_towardzero_test_data): Likewise.
28765         (ctanh_downward_test_data): Likewise.
28766         (ctanh_upward_test_data): Likewise.
28767         (erf_test_data): Likewise.
28768         (erfc_test_data): Likewise.
28769         (exp_test_data): Likewise.
28770         (exp_tonearest_test_data): Likewise.
28771         (exp_towardzero_test_data): Likewise.
28772         (exp_downward_test_data): Likewise.
28773         (exp_upward_test_data): Likewise.
28774         (exp10_test_data): Likewise.
28775         (exp2_test_data): Likewise.
28776         (expm1_test_data): Likewise.
28777         (fabs_test_data): Likewise.
28778         (fdim_test_data): Likewise.
28779         (finite_test_data): Likewise.
28780         (floor_test_data): Likewise.
28781         (fma_test_data): Likewise.
28782         (fma_towardzero_test_data): Likewise.
28783         (fma_downward_test_data): Likewise.
28784         (fma_upward_test_data): Likewise.
28785         (fmax_test_data): Likewise.
28786         (fmin_test_data): Likewise.
28787         (fmod_test_data): Likewise.
28788         (fpclassify_test_data): Likewise.
28789         (frexp_test_data): Likewise.
28790         (gamma_test_data): Likewise.
28791         (hypot_test_data): Likewise.
28792         (ilogb_test_data): Likewise.
28793         (isfinite_test_data): Likewise.
28794         (isgreater_test_data): Likewise.
28795         (isgreaterequal_test_data): Likewise.
28796         (isinf_test_data): Likewise.
28797         (isless_test_data): Likewise.
28798         (islessequal_test_data): Likewise.
28799         (islessgreater_test_data): Likewise.
28800         (isnan_test_data): Likewise.
28801         (isnormal_test_data): Likewise.
28802         (issignaling_test_data): Likewise.
28803         (isunordered_test_data): Likewise.
28804         (j0_test_data): Likewise.
28805         (j1_test_data): Likewise.
28806         (jn_test_data): Likewise.
28807         (ldexp_test_data): Likewise.
28808         (lgamma_test_data): Likewise.
28809         (lrint_test_data): Likewise.
28810         (lrint_tonearest_test_data): Likewise.
28811         (lrint_towardzero_test_data): Likewise.
28812         (lrint_downward_test_data): Likewise.
28813         (lrint_upward_test_data): Likewise.
28814         (llrint_test_data): Likewise.
28815         (llrint_tonearest_test_data): Likewise.
28816         (llrint_towardzero_test_data): Likewise.
28817         (llrint_downward_test_data): Likewise.
28818         (llrint_upward_test_data): Likewise.
28819         (log_test_data): Likewise.
28820         (log10_test_data): Likewise.
28821         (log1p_test_data): Likewise.
28822         (log2_test_data): Likewise.
28823         (logb_test_data): Likewise.
28824         (logb_downward_test_data): Likewise.
28825         (lround_test_data): Likewise.
28826         (llround_test_data): Likewise.
28827         (modf_test_data): Likewise.
28828         (nearbyint_test_data): Likewise.
28829         (nextafter_test_data): Likewise.
28830         (nexttoward_test_data): Likewise.
28831         (pow_test_data): Likewise.
28832         (pow_tonearest_test_data): Likewise.
28833         (pow_towardzero_test_data): Likewise.
28834         (pow_downward_test_data): Likewise.
28835         (pow_upward_test_data): Likewise.
28836         (remainder_test_data): Likewise.
28837         (remainder_tonearest_test_data): Likewise.
28838         (remainder_towardzero_test_data): Likewise.
28839         (remainder_downward_test_data): Likewise.
28840         (remainder_upward_test_data): Likewise.
28841         (remquo_test_data): Likewise.
28842         (rint_test_data): Likewise.
28843         (rint_tonearest_test_data): Likewise.
28844         (rint_towardzero_test_data): Likewise.
28845         (rint_downward_test_data): Likewise.
28846         (rint_upward_test_data): Likewise.
28847         (round_test_data): Likewise.
28848         (scalb_test_data): Likewise.
28849         (scalbn_test_data): Likewise.
28850         (scalbln_test_data): Likewise.
28851         (signbit_test_data): Likewise.
28852         (sin_test_data): Likewise.
28853         (sin_tonearest_test_data): Likewise.
28854         (sin_towardzero_test_data): Likewise.
28855         (sin_downward_test_data): Likewise.
28856         (sin_upward_test_data): Likewise.
28857         (sincos_test_data): Likewise.
28858         (sinh_test_data): Likewise.
28859         (sinh_tonearest_test_data): Likewise.
28860         (sinh_towardzero_test_data): Likewise.
28861         (sinh_downward_test_data): Likewise.
28862         (sinh_upward_test_data): Likewise.
28863         (sqrt_test_data): Likewise.
28864         (tan_test_data): Likewise.
28865         (tan_tonearest_test_data): Likewise.
28866         (tan_towardzero_test_data): Likewise.
28867         (tan_downward_test_data): Likewise.
28868         (tan_upward_test_data): Likewise.
28869         (tanh_test_data): Likewise.
28870         (tgamma_test_data): Likewise.
28871         (trunc_test_data): Likewise.
28872         (y0_test_data): Likewise.
28873         (y1_test_data): Likewise.
28874         (yn_test_data): Likewise.
28875         (significand_test_data): Likewise.
28877         * math/gen-libm-test.pl (@functions): Remove variable.
28878         (generate_testfile): Don't handle START and END lines.
28879         * math/libm-test.inc (START): New macro.
28880         (END): Likewise.
28881         (END_COMPLEX): Likewise.
28882         (acos_test): Use END macro without arguments.
28883         (acos_test_tonearest): Likewise.
28884         (acos_test_towardzero): Likewise.
28885         (acos_test_downward): Likewise.
28886         (acos_test_upward): Likewise.
28887         (acosh_test): Likewise.
28888         (asin_test): Likewise.
28889         (asin_test_tonearest): Likewise.
28890         (asin_test_towardzero): Likewise.
28891         (asin_test_downward): Likewise.
28892         (asin_test_upward): Likewise.
28893         (asinh_test): Likewise.
28894         (atan_test): Likewise.
28895         (atanh_test): Likewise.
28896         (atan2_test): Likewise.
28897         (cabs_test): Likewise.
28898         (cacos_test): Use END_COMPLEX macro without arguments.
28899         (cacosh_test): Likewise.
28900         (carg_test): Use END macro without arguments.
28901         (casin_test): Use END_COMPLEX macro without arguments.
28902         (casinh_test): Likewise.
28903         (catan_test): Likewise.
28904         (catanh_test): Likewise.
28905         (cbrt_test): Use END macro without arguments.
28906         (ccos_test): Use END_COMPLEX macro without arguments.
28907         (ccosh_test): Likewise.
28908         (ceil_test): Use END macro without arguments.
28909         (cexp_test): Use END_COMPLEX macro without arguments.
28910         (cimag_test): Use END macro without arguments.
28911         (clog_test): Use END_COMPLEX macro without arguments.
28912         (clog10_test): Likewise.
28913         (conj_test): Likewise.
28914         (copysign_test): Use END macro without arguments.
28915         (cos_test): Likewise.
28916         (cos_test_tonearest): Likewise.
28917         (cos_test_towardzero): Likewise.
28918         (cos_test_downward): Likewise.
28919         (cos_test_upward): Likewise.
28920         (cosh_test): Likewise.
28921         (cosh_test_tonearest): Likewise.
28922         (cosh_test_towardzero): Likewise.
28923         (cosh_test_downward): Likewise.
28924         (cosh_test_upward): Likewise.
28925         (cpow_test): Use END_COMPLEX macro without arguments.
28926         (cproj_test): Likewise.
28927         (creal_test): Use END macro without arguments.
28928         (csin_test): Use END_COMPLEX macro without arguments.
28929         (csinh_test): Likewise.
28930         (csqrt_test): Likewise.
28931         (ctan_test): Likewise.
28932         (ctan_test_tonearest): Likewise.
28933         (ctan_test_towardzero): Likewise.
28934         (ctan_test_downward): Likewise.
28935         (ctan_test_upward): Likewise.
28936         (ctanh_test): Likewise.
28937         (ctanh_test_tonearest): Likewise.
28938         (ctanh_test_towardzero): Likewise.
28939         (ctanh_test_downward): Likewise.
28940         (ctanh_test_upward): Likewise.
28941         (erf_test): Use END macro without arguments.
28942         (erfc_test): Likewise.
28943         (exp_test): Likewise.
28944         (exp_test_tonearest): Likewise.
28945         (exp_test_towardzero): Likewise.
28946         (exp_test_downward): Likewise.
28947         (exp_test_upward): Likewise.
28948         (exp10_test): Likewise.
28949         (exp2_test): Likewise.
28950         (expm1_test): Likewise.
28951         (fabs_test): Likewise.
28952         (fdim_test): Likewise.
28953         (finite_test): Likewise.
28954         (floor_test): Likewise.
28955         (fma_test): Likewise.
28956         (fma_test_towardzero): Likewise.
28957         (fma_test_downward): Likewise.
28958         (fma_test_upward): Likewise.
28959         (fmax_test): Likewise.
28960         (fmin_test): Likewise.
28961         (fmod_test): Likewise.
28962         (fpclassify_test): Likewise.
28963         (frexp_test): Likewise.
28964         (gamma_test): Likewise.
28965         (hypot_test): Likewise.
28966         (ilogb_test): Likewise.
28967         (isfinite_test): Likewise.
28968         (isgreater_test): Likewise.
28969         (isgreaterequal_test): Likewise.
28970         (isinf_test): Likewise.
28971         (isless_test): Likewise.
28972         (islessequal_test): Likewise.
28973         (islessgreater_test): Likewise.
28974         (isnan_test): Likewise.
28975         (isnormal_test): Likewise.
28976         (issignaling_test): Likewise.
28977         (isunordered_test): Likewise.
28978         (j0_test): Likewise.
28979         (j1_test): Likewise.
28980         (jn_test): Likewise.
28981         (ldexp_test): Likewise.
28982         (lgamma_test): Likewise.
28983         (lrint_test): Likewise.
28984         (lrint_test_tonearest): Likewise.
28985         (lrint_test_towardzero): Likewise.
28986         (lrint_test_downward): Likewise.
28987         (lrint_test_upward): Likewise.
28988         (llrint_test): Likewise.
28989         (llrint_test_tonearest): Likewise.
28990         (llrint_test_towardzero): Likewise.
28991         (llrint_test_downward): Likewise.
28992         (llrint_test_upward): Likewise.
28993         (log_test): Likewise.
28994         (log10_test): Likewise.
28995         (log1p_test): Likewise.
28996         (log2_test): Likewise.
28997         (logb_test): Likewise.
28998         (logb_test_downward): Likewise.
28999         (lround_test): Likewise.
29000         (llround_test): Likewise.
29001         (modf_test): Likewise.
29002         (nearbyint_test): Likewise.
29003         (nextafter_test): Likewise.
29004         (nexttoward_test): Likewise.
29005         (pow_test): Likewise.
29006         (pow_test_tonearest): Likewise.
29007         (pow_test_towardzero): Likewise.
29008         (pow_test_downward): Likewise.
29009         (pow_test_upward): Likewise.
29010         (remainder_test): Likewise.
29011         (remainder_test_tonearest): Likewise.
29012         (remainder_test_towardzero): Likewise.
29013         (remainder_test_downward): Likewise.
29014         (remainder_test_upward): Likewise.
29015         (remquo_test): Likewise.
29016         (rint_test): Likewise.
29017         (rint_test_tonearest): Likewise.
29018         (rint_test_towardzero): Likewise.
29019         (rint_test_downward): Likewise.
29020         (rint_test_upward): Likewise.
29021         (round_test): Likewise.
29022         (scalb_test): Likewise.
29023         (scalbn_test): Likewise.
29024         (scalbln_test): Likewise.
29025         (signbit_test): Likewise.
29026         (sin_test): Likewise.
29027         (sin_test_tonearest): Likewise.
29028         (sin_test_towardzero): Likewise.
29029         (sin_test_downward): Likewise.
29030         (sin_test_upward): Likewise.
29031         (sincos_test): Likewise.
29032         (sinh_test): Likewise.
29033         (sinh_test_tonearest): Likewise.
29034         (sinh_test_towardzero): Likewise.
29035         (sinh_test_downward): Likewise.
29036         (sinh_test_upward): Likewise.
29037         (sqrt_test): Likewise.
29038         (tan_test): Likewise.
29039         (tan_test_tonearest): Likewise.
29040         (tan_test_towardzero): Likewise.
29041         (tan_test_downward): Likewise.
29042         (tan_test_upward): Likewise.
29043         (tanh_test): Likewise.
29044         (tgamma_test): Likewise.
29045         (trunc_test): Likewise.
29046         (y0_test): Likewise.
29047         (y1_test): Likewise.
29048         (yn_test): Likewise.
29049         (significand_test): Likewise.
29051 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
29053         [BZ #15381]
29054         * libio/genops.c (_IO_no_init): Initialize wide struct info.
29056 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29058         [BZ #14894]
29059         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29060         __ppc_mdoio and __ppc_mdoom.
29061         * manual/platform.texi: Document new functions __ppc_yield,
29062         __ppc_mdoio and __ppc_mdoom.
29064 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
29066         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29067         (main): Mention "tls" pseudo-hwcap is legacy.
29068         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29070 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
29072         * math/gen-libm-test.pl (parse_args): Output only string of
29073         arguments as text for test name, not full call or descriptions of
29074         tests for extra outputs.
29075         (generate_testfile): Do not pass function name to parse_args.
29076         Generate this_func variable from START.
29077         * math/libm-test.inc (struct test_f_f_data): Rename test_name
29078         field to arg_str.
29079         (struct test_ff_f_data): Likewise.
29080         (test_ff_f_data_nexttoward): Likewise.
29081         (struct test_fi_f_data): Likewise.
29082         (struct test_fl_f_data): Likewise.
29083         (struct test_if_f_data): Likewise.
29084         (struct test_fff_f_data): Likewise.
29085         (struct test_c_f_data): Likewise.
29086         (struct test_f_f1_data): Likewise.  Remove field extra_name.
29087         (struct test_fF_f1_data): Likewise.
29088         (struct test_ffI_f1_data): Likewise.
29089         (struct test_c_c_data): Rename test_name field to arg_str.
29090         (struct test_cc_c_data): Likewise.
29091         (struct test_f_i_data): Likewise.
29092         (struct test_ff_i_data): Likewise.
29093         (struct test_f_l_data): Likewise.
29094         (struct test_f_L_data): Likewise.
29095         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
29096         and extra2_name.
29097         (COMMON_TEST_SETUP): New macro.
29098         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
29099         (COMMON_TEST_CLEANUP): Likewise.
29100         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
29101         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
29102         macros.
29103         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
29104         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
29105         macros.
29106         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
29107         (RUN_TEST_fff_f): Take argument string.  Call new setup and
29108         cleanup macros.
29109         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
29110         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
29111         macros.
29112         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
29113         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
29114         macros.
29115         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29116         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
29117         cleanup macros.
29118         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29119         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
29120         cleanup macros.
29121         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29122         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
29123         cleanup macros.
29124         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29125         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
29126         macros.
29127         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
29128         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
29129         macros.
29130         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
29131         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
29132         macros.
29133         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
29134         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
29135         cleanup macros.
29136         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
29137         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
29138         cleanup macros.
29139         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
29140         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
29141         macros.
29142         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
29143         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
29144         cleanup macros.
29145         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
29146         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
29147         macros.
29148         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
29149         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
29150         macros.
29151         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
29152         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
29153         cleanup macros.
29154         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
29156 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
29158         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
29159         to _sifields.sigfault.
29160         (si_addr_lsb): Define new macro.
29161         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29162         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29163         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
29165 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
29167         [BZ #15441]
29168         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
29169         returns -1.
29170         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
29171         null return -1.
29172         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
29173         loading the domain.
29175 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
29177         * math/gen-libm-test.pl (parse_args): Do not include expected
29178         result in test name.
29179         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
29180         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29181         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29182         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29183         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29186 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29188         * benchtests/Makefile: Sort function entries.
29190         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
29191         tanh, asinh, acosh, atanh.
29192         * benchtests/acos-inputs: New file.
29193         * benchtests/acosh-inputs: New file.
29194         * benchtests/asin-inputs: New file.
29195         * benchtests/asinh-inputs: New file.
29196         * benchtests/atanh-inputs: New file.
29197         * benchtests/cosh-inputs: New file.
29198         * benchtests/log-inputs: New file.
29199         * benchtests/sinh-inputs: New file.
29200         * benchtests/tanh-inputs: New file.
29202 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
29204         [BZ #15339]
29205         * posix/tst-getaddrinfo4.c: New test.
29206         * posix/Makefile (tests): Add it.
29208 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29210         [BZ #15339]
29211         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
29212         when no services were used.
29213         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
29214         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
29216 2013-05-21  Andreas Schwab  <schwab@suse.de>
29218         [BZ #15014]
29219         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
29220         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
29221         successful.
29222         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
29223         redundant variable declarations and reallocation of buffer when
29224         parsing as IPv6 address.  Always set NSS status when called from
29225         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
29226         buffer too small.  Correct computation of needed size.
29227         * nss/Makefile (tests): Add test-digits-dots.
29228         * nss/test-digits-dots.c: New test.
29230 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29232         * benchtests/Makefile: Remove instructions for adding
29233         benchmark tests.
29234         * benchtests/README: New file to explain how to execute and
29235         enhance the benchmark tests.
29237 2013-05-21  Andreas Schwab  <schwab@suse.de>
29239         [BZ #15493]
29240         * setjmp/Makefile (tests): Add tst-sigsetjmp.
29241         * setjmp/tst-sigsetjmp.c: New test.
29243 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29245         * sysdeps/x86_64/memset.S (memset): New implementation.
29246         (__bzero): Likewise.
29247         (__memset_tail): New function.
29249 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
29251         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
29252         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
29253         __memcpy_sse2_unaligned ifunc selection.
29254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29255         Add memcpy-sse2-unaligned.S.
29256         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29257         Add: __memcpy_sse2_unaligned.
29259 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
29261         [BZ #15490]
29262         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29263         math_force_eval before restoring floating-point envrionment.
29264         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
29265         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29266         Likewise.
29267         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
29268         <math_private.h>.
29269         (__nearbyintl): Use math_force_eval before restoring
29270         floating-point environment.
29271         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
29273         * math/gen-libm-test.pl (special_functions): Remove.
29274         (parse_args): Don't handle TEST_extra.  Handle functions with no
29275         return value.
29276         * math/libm-test.inc (struct test_sincos_data): Replace with
29277         struct test_fFF_11_data.
29278         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
29279         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
29280         (sincos_test_data): Change element type to struct
29281         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
29282         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
29283         RUN_TEST_LOOP_sincos.
29284         * math/README.libm-test: Don't mention special handling of
29285         individual functions.
29286         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
29287         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29288         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29289         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29290         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29293         * math/gen-libm-test.pl (get_variable): Remove function.
29294         (parse_args): Don't show pointer parameters to call in test
29295         names.  Use "extra output N" in test names for extra outputs
29296         rather than naming variables.
29298 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
29300         [BZ #15488]
29301         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
29302         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
29303         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
29304         double tests.
29305         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
29306         disable.
29307         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
29308         check_long_double.
29310         * math/gen-libm-test.pl (@tests): Remove variable.
29311         ($count): Likewise.
29312         (new_test): Remove function.
29313         (show_exceptions): New function.
29314         (special_functions): Use show_exceptions instead of new_test.
29315         (parse_args): Likewise.
29316         (generate_testfile): Pass only function name in generated call to
29317         print_max_error or print_complex_max_error.
29318         (get_ulps): Do not handle complex tests specially.
29319         (output_test): Rename to ...
29320         (get_all_ulps_for_test): ... this.  Return a string rather than
29321         printing to a file.  Require ulps to be present.
29322         (output_ulps): Generate arrays rather than #defines.
29323         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
29324         (struct ulp_data): New type.
29325         (BUILD_COMPLEX_ULP): Remove macro.
29326         (compare_ulp_data): New function.
29327         (find_ulps): Likewise.
29328         (find_test_ulps): Likewise.
29329         (find_function_ulps): Likewise.
29330         (find_complex_function_ulps): Likewise.
29331         (print_max_error): Determine allowed ulps using
29332         find_function_ulps.
29333         (print_complex_max_error): Determine allowed ulps using
29334         find_complex_function_ulps.
29335         (check_float_internal): Determine max ulps using find_test_ulps.
29336         (check_float): Do not take max_ulp parameter.  Update call to
29337         check_float_internal.
29338         (check_complex): Likewise.
29339         (check_int): Do not take max_ulp parameter.
29340         (check_long): Likewise.
29341         (check_bool): Likewise.
29342         (check_longlong): Likewise.
29343         (struct test_f_f_data): Remove max_ulp field.
29344         (struct test_ff_f_data): Likewise.
29345         (struct test_ff_f_data_nexttoward): Likewise.
29346         (struct test_fi_f_data): Likewise.
29347         (struct test_fl_f_data): Likewise.
29348         (struct test_if_f_data): Likewise.
29349         (struct test_fff_f_data): Likewise.
29350         (struct test_c_f_data): Likewise.
29351         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
29352         (struct test_fF_f1_data): Likewise.
29353         (struct test_ffI_f1_data): Likewise.
29354         (struct test_c_c_data): Remove max_ulp field.
29355         (struct test_cc_c_data): Likewise.
29356         (struct test_f_i_data): Likewise.
29357         (struct test_ff_i_data): Likewise.
29358         (struct test_f_l_data): Likewise.
29359         (struct test_f_L_data): Likewise.
29360         (struct test_sincos_data): Likewise.
29361         (RUN_TEST_f_f): Do not handle ulps.
29362         (RUN_TEST_LOOP_f_f): Likewise.
29363         (RUN_TEST_2_f): Likewise.
29364         (RUN_TEST_LOOP_2_f): Likewise.
29365         (RUN_TEST_fff_f): Likewise.
29366         (RUN_TEST_LOOP_fff_f): Likewise.
29367         (RUN_TEST_c_f): Likewise.
29368         (RUN_TEST_LOOP_c_f): Likewise.
29369         (RUN_TEST_f_f1): Likewise.
29370         (RUN_TEST_LOOP_f_f1): Likewise.
29371         (RUN_TEST_fF_f1): Likewise.
29372         (RUN_TEST_LOOP_fF_f1): Likewise.
29373         (RUN_TEST_fI_f1): Likewise.
29374         (RUN_TEST_LOOP_fI_f1): Likewise.
29375         (RUN_TEST_ffI_f1): Likewise.
29376         (RUN_TEST_LOOP_ffI_f1): Likewise.
29377         (RUN_TEST_c_c): Likewise.
29378         (RUN_TEST_LOOP_c_c): Likewise.
29379         (RUN_TEST_cc_c): Likewise.
29380         (RUN_TEST_LOOP_cc_c): Likewise.
29381         (RUN_TEST_f_i): Likewise.
29382         (RUN_TEST_LOOP_f_i): Likewise.
29383         (RUN_TEST_f_i_tg): Likewise.
29384         (RUN_TEST_LOOP_f_i_tg): Likewise.
29385         (RUN_TEST_ff_i_tg): Likewise.
29386         (RUN_TEST_LOOP_ff_i_tg): Likewise.
29387         (RUN_TEST_f_b): Likewise.
29388         (RUN_TEST_LOOP_f_b): Likewise.
29389         (RUN_TEST_f_b_tg): Likewise.
29390         (RUN_TEST_LOOP_f_b_tg): Likewise.
29391         (RUN_TEST_f_l): Likewise.
29392         (RUN_TEST_LOOP_f_l): Likewise.
29393         (RUN_TEST_f_L): Likewise.
29394         (RUN_TEST_LOOP_f_L): Likewise.
29395         (RUN_TEST_sincos): Likewise.
29396         (RUN_TEST_LOOP_sincos): Likewise.
29398 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
29400         [BZ #15480]
29401         [BZ #15485]
29402         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
29403         main case of finite arguments, set rounding mode to FE_TONEAREST
29404         and discard exceptions.
29405         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
29406         exceptions.
29407         (remainder_tonearest_test_data): New variable.
29408         (remainder_test_tonearest): New function.
29409         (remainder_towardzero_test_data): New variable.
29410         (remainder_test_towardzero): New function.
29411         (remainder_downward_test_data): New variable.
29412         (remainder_test_downward): New function.
29413         (remainder_upward_test_data): New variable.
29414         (remainder_test_upward): New function.
29415         (main): Call the new test functions.
29417         * math/libm-test.inc (struct test_f_f1_data): Remove field
29418         extra_init.
29419         (struct test_fF_f1_data): Likewise.
29420         (struct test_ffI_f1_data): Likewise.
29421         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
29422         based on value of EXTRA_EXPECTED.
29423         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
29424         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
29425         EXTRA_VAR based on value of EXTRA_EXPECTED.
29426         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
29427         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
29428         EXTRA_VAR based on value of EXTRA_EXPECTED.
29429         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
29430         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
29431         EXTRA_VAR based on value of EXTRA_EXPECTED.
29432         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
29433         * math/gen-libm-test.pl (parse_args): Don't output initializers
29434         for extra output values.
29436         * math/libm-test.inc (check_int): Expect result to be exactly
29437         equal to expected value and do not handle ulps.
29438         (check_long): Likewise.
29439         (check_longlong): Likewise.
29441         * math/libm-test.inc (ceil_test_data): Test for "inexact"
29442         exceptions.
29443         (cimag_test_data): Likewise.
29444         (conj_test_data): Likewise.
29445         (copysign_test_data): Likewise.
29446         (cproj_test_data): Likewise.
29447         (creal_test_data): Likewise.
29448         (fabs_test_data): Likewise.
29449         (fdim_test_data): Likewise.
29450         (finite_test_data): Likewise.
29451         (floor_test_data): Likewise.
29452         (fmax_test_data): Likewise.
29453         (fmin_test_data): Likewise.
29454         (fmod_test_data): Likewise.
29455         (fpclassify_test_data): Likewise.
29456         (frexp_test_data): Likewise.
29457         (ilogb_test_data): Likewise.
29458         (isfinite_test_data): Likewise.
29459         (isgreater_test_data): Likewise.
29460         (isgreaterequal_test_data): Likewise.
29461         (isinf_test_data): Likewise.
29462         (isless_test_data): Likewise.
29463         (islessequal_test_data): Likewise.
29464         (islessgreater_test_data): Likewise.
29465         (isnan_test_data): Likewise.
29466         (isnormal_test_data): Likewise.
29467         (issignaling_test_data): Likewise.
29468         (isunordered_test_data): Likewise.
29469         (ldexp_test_data): Likewise.
29470         (lrint_test_data): Likewise.
29471         (lrint_test_data) [TEST_FLOAT]: Disable one test.
29472         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
29473         (lrint_tonearest_test_data): Test for "inexact" exceptions.
29474         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29475         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
29476         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29477         test input.
29478         (lrint_towardzero_test_data): Test for "inexact" exceptions.
29479         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29480         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
29481         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
29482         that test input.
29483         (lrint_downward_test_data): Test for "inexact" exceptions.
29484         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29485         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
29486         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
29487         test input.
29488         (lrint_upward_test_data): Test for "inexact" exceptions.
29489         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
29490         test input.
29491         (llrint_test_data): Test for "inexact" exceptions.
29492         (llrint_test_data) [TEST_FLOAT]: Disable one test.
29493         (llrint_tonearest_test_data): Test for "inexact" exceptions.
29494         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
29495         (llrint_towardzero_test_data): Test for "inexact" exceptions.
29496         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
29497         (llrint_downward_test_data): Test for "inexact" exceptions.
29498         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
29499         (llrint_upward_test_data): Test for "inexact" exceptions.
29500         (logb_test_data): Likewise.
29501         (logb_downward_test_data): Likewise.
29502         (nextafter_test_data): Likewise.
29503         (nexttoward_test_data): Likewise.
29504         (remainder_test_data): Likewise.
29505         (remquo_test_data): Likewise.
29506         (scalbn_test_data): Likewise.
29507         (scalbln_test_data): Likewise.
29508         (signbit_test_data): Likewise.
29509         (sqrt_test_data): Likewise.
29510         (significand_test_data): Likewise.
29512 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29514         [BZ #15424]
29515         * benchtests/bench-modf.c (struct args): Mark arg0 as
29516         volatile.
29517         * scripts/bench.pl: Mark members of struct args as volatile.
29519 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29521         [BZ # 15497]
29522         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
29523         negative infinity on POWER6 or lower.
29524         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
29526 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
29528         [BZ #15442]
29529         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
29530         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
29531         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
29532         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
29533         (_FP_SETQNAN): New macro.
29534         (_FP_SETQNAN_SEMIRAW): Likewise.
29535         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
29536         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
29537         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
29538         (FP_EXTEND): Use _FP_FRAC_SNANP.
29539         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
29540         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
29541         into account.
29542         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29543         New macro.
29544         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
29545         Likewise.
29547 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29549         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
29550         with DIVIDE_BY_ZERO_EXCEPTION.
29551         (gamma_test_data): Likewise.
29552         (lgamma_test_data): Likewise.
29553         (log_test_data): Likewise.
29554         (log10_test_data): Likewise.
29555         (log2_test_data): Likewise.
29556         (tgamma_test_data): Likewise.
29558         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
29559         (acos_test_tonearest): Likewise.
29560         (acos_test_towardzero): Likewise.
29561         (acos_test_downward): Likewise.
29562         (acos_test_upward): Likewise.
29563         (acosh_test): Likewise.
29564         (asin_test): Likewise.
29565         (asin_test_tonearest): Likewise.
29566         (asin_test_towardzero): Likewise.
29567         (asin_test_downward): Likewise.
29568         (asin_test_upward): Likewise.
29569         (asinh_test): Likewise.
29570         (atan_test): Likewise.
29571         (atanh_test): Likewise.
29572         (atan2_test): Likewise.
29573         (cabs_test): Likewise.
29574         (cacos_test): Likewise.
29575         (cacosh_test): Likewise.
29576         (casin_test): Likewise.
29577         (casinh_test): Likewise.
29578         (catan_test): Likewise.
29579         (catanh_test): Likewise.
29580         (cbrt_test): Likewise.
29581         (ccos_test): Likewise.
29582         (ccosh_test): Likewise.
29583         (cexp_test): Likewise.
29584         (clog_test): Likewise.
29585         (clog10_test): Likewise.
29586         (cos_test): Likewise.
29587         (cos_test_tonearest): Likewise.
29588         (cos_test_towardzero): Likewise.
29589         (cos_test_downward): Likewise.
29590         (cos_test_upward): Likewise.
29591         (cosh_test): Likewise.
29592         (cosh_test_tonearest): Likewise.
29593         (cosh_test_towardzero): Likewise.
29594         (cosh_test_downward): Likewise.
29595         (cosh_test_upward): Likewise.
29596         (cpow_test): Likewise.
29597         (csin_test): Likewise.
29598         (csinh_test): Likewise.
29599         (csqrt_test): Likewise.
29600         (ctan_test): Likewise.
29601         (ctan_test_tonearest): Likewise.
29602         (ctan_test_towardzero): Likewise.
29603         (ctan_test_downward): Likewise.
29604         (ctan_test_upward): Likewise.
29605         (ctanh_test): Likewise.
29606         (ctanh_test_tonearest): Likewise.
29607         (ctanh_test_towardzero): Likewise.
29608         (ctanh_test_downward): Likewise.
29609         (ctanh_test_upward): Likewise.
29610         (erf_test): Likewise.
29611         (erfc_test): Likewise.
29612         (exp_test): Likewise.
29613         (exp_test_tonearest): Likewise.
29614         (exp_test_towardzero): Likewise.
29615         (exp_test_downward): Likewise.
29616         (exp_test_upward): Likewise.
29617         (exp10_test): Likewise.
29618         (exp2_test): Likewise.
29619         (expm1_test): Likewise.
29620         (fmod_test): Likewise.
29621         (gamma_test): Likewise.
29622         (hypot_test): Likewise.
29623         (j0_test): Likewise.
29624         (j1_test): Likewise.
29625         (jn_test): Likewise.
29626         (lgamma_test): Likewise.
29627         (log_test): Likewise.
29628         (log10_test): Likewise.
29629         (log1p_test): Likewise.
29630         (log2_test): Likewise.
29631         (logb_test_downward): Likewise.
29632         (pow_test): Likewise.
29633         (pow_test_tonearest): Likewise.
29634         (pow_test_towardzero): Likewise.
29635         (pow_test_downward): Likewise.
29636         (pow_test_upward): Likewise.
29637         (remainder_test): Likewise.
29638         (remquo_test): Likewise.
29639         (sin_test): Likewise.
29640         (sin_test_tonearest): Likewise.
29641         (sin_test_towardzero): Likewise.
29642         (sin_test_downward): Likewise.
29643         (sin_test_upward): Likewise.
29644         (sincos_test): Likewise.
29645         (sinh_test): Likewise.
29646         (sinh_test_tonearest): Likewise.
29647         (sinh_test_towardzero): Likewise.
29648         (sinh_test_downward): Likewise.
29649         (sinh_test_upward): Likewise.
29650         (sqrt_test): Likewise.
29651         (tan_test): Likewise.
29652         (tan_test_tonearest): Likewise.
29653         (tan_test_towardzero): Likewise.
29654         (tan_test_downward): Likewise.
29655         (tan_test_upward): Likewise.
29656         (tanh_test): Likewise.
29657         (tgamma_test): Likewise.
29658         (y0_test): Likewise.
29659         (y1_test): Likewise.
29660         (yn_test): Likewise.
29662         * math/gen-libm-test.pl (adjust_arg): Remove function.
29663         (special_function): Remove argument $in_func.  Only handle
29664         generating output for tables of tests, not inside functions.
29665         (parse_args): Likewise.
29666         (generate_testfile): Remove variable $in_func.  Update call to
29667         parse_args.
29668         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29669         (MINUS_ZERO_INIT): Rename macro to minus_zero.
29670         (PLUS_INFTY_INIT): Rename macro to plus_infty.
29671         (MINUS_INFTY_INIT): Rename macro to minus_infty.
29672         (QNAN_VALUE_INIT): Rename macro to qnan_value.
29673         (MAX_VALUE_INIT): Rename macro to max_value.
29674         (MIN_VALUE_INIT): Rename macro to min_value.
29675         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29676         (plus_zero): Remove variable.
29677         (minus_zero): Likewise.
29678         (plus_infty): Likewise.
29679         (minus_infty): Likewise.
29680         (qnan_value): Likewise.
29681         (max_value): Likewise.
29682         (min_value): Likewise.
29683         (min_subnorm_value): Likewise.
29685 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29687         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29688         uint64_t or uint32_t usage.
29689         * crypt/sha256-block.c: Likewise.
29690         * crypt/sha256-crypt.c: Likewise.
29691         * crypt/sha256.c: Likewise.
29692         * crypt/sha512-block.c: Likewise.
29693         * crypt/sha512-crypt.c: Likewise.
29694         * crypt/sha512.c: Likewise.
29695         * debug/backtrace-tst.c: Likewise.
29696         * debug/pcprofiledump.c: Likewise.
29697         * elf/cache.c: Likewise.
29698         * elf/dl-cache.c: Likewise.
29699         * elf/dl-misc.c: Likewise.
29700         * elf/dl-profile.c: Likewise.
29701         * elf/dl-support.c: Likewise.
29702         * elf/ldconfig.c: Likewise.
29703         * elf/sprof.c: Likewise.
29704         * iconv/dummy-repertoire.c: Likewise.
29705         * iconv/iconv_charmap.c: Likewise.
29706         * iconv/skeleton.c: Likewise.
29707         * iconvdata/8bit-generic.c: Likewise.
29708         * iconvdata/cp737.h: Likewise.
29709         * iconvdata/cp775.h: Likewise.
29710         * iconvdata/ibm1008.h: Likewise.
29711         * iconvdata/ibm1025.h: Likewise.
29712         * iconvdata/ibm1046.h: Likewise.
29713         * iconvdata/ibm1097.h: Likewise.
29714         * iconvdata/ibm1112.h: Likewise.
29715         * iconvdata/ibm1122.h: Likewise.
29716         * iconvdata/ibm1123.h: Likewise.
29717         * iconvdata/ibm1124.h: Likewise.
29718         * iconvdata/ibm1129.h: Likewise.
29719         * iconvdata/ibm1130.h: Likewise.
29720         * iconvdata/ibm1132.h: Likewise.
29721         * iconvdata/ibm1133.h: Likewise.
29722         * iconvdata/ibm1137.h: Likewise.
29723         * iconvdata/ibm1140.h: Likewise.
29724         * iconvdata/ibm1141.h: Likewise.
29725         * iconvdata/ibm1142.h: Likewise.
29726         * iconvdata/ibm1143.h: Likewise.
29727         * iconvdata/ibm1144.h: Likewise.
29728         * iconvdata/ibm1145.h: Likewise.
29729         * iconvdata/ibm1146.h: Likewise.
29730         * iconvdata/ibm1147.h: Likewise.
29731         * iconvdata/ibm1148.h: Likewise.
29732         * iconvdata/ibm1149.h: Likewise.
29733         * iconvdata/ibm1153.h: Likewise.
29734         * iconvdata/ibm1154.h: Likewise.
29735         * iconvdata/ibm1155.h: Likewise.
29736         * iconvdata/ibm1156.h: Likewise.
29737         * iconvdata/ibm1157.h: Likewise.
29738         * iconvdata/ibm1158.h: Likewise.
29739         * iconvdata/ibm1160.h: Likewise.
29740         * iconvdata/ibm1161.h: Likewise.
29741         * iconvdata/ibm1162.h: Likewise.
29742         * iconvdata/ibm1163.h: Likewise.
29743         * iconvdata/ibm1164.h: Likewise.
29744         * iconvdata/ibm1166.h: Likewise.
29745         * iconvdata/ibm1167.h: Likewise.
29746         * iconvdata/ibm12712.h: Likewise.
29747         * iconvdata/ibm1390.h: Likewise.
29748         * iconvdata/ibm1399.h: Likewise.
29749         * iconvdata/ibm16804.h: Likewise.
29750         * iconvdata/ibm4517.h: Likewise.
29751         * iconvdata/ibm4899.h: Likewise.
29752         * iconvdata/ibm4909.h: Likewise.
29753         * iconvdata/ibm4971.h: Likewise.
29754         * iconvdata/ibm5347.h: Likewise.
29755         * iconvdata/ibm803.h: Likewise.
29756         * iconvdata/ibm856.h: Likewise.
29757         * iconvdata/ibm901.h: Likewise.
29758         * iconvdata/ibm902.h: Likewise.
29759         * iconvdata/ibm9030.h: Likewise.
29760         * iconvdata/ibm9066.h: Likewise.
29761         * iconvdata/ibm921.h: Likewise.
29762         * iconvdata/ibm922.h: Likewise.
29763         * iconvdata/ibm9448.h: Likewise.
29764         * iconvdata/isiri-3342.h: Likewise.
29765         * iconvdata/jis0201.h: Likewise.
29766         * include/link.h: Likewise.
29767         * include/netdb.h: Likewise.
29768         * inet/check_native.c: Likewise.
29769         * inet/check_pf.c: Likewise.
29770         * inet/getipv4sourcefilter.c: Likewise.
29771         * inet/getnameinfo.c: Likewise.
29772         * inet/getsourcefilter.c: Likewise.
29773         * inet/htonl.c: Likewise.
29774         * inet/setipv4sourcefilter.c: Likewise.
29775         * inet/setsourcefilter.c: Likewise.
29776         * inet/test-inet6_opt.c: Likewise.
29777         * inet/tst-network.c: Likewise.
29778         * locale/C-collate.c: Likewise.
29779         * locale/C-ctype.c: Likewise.
29780         * locale/C-time.c: Likewise.
29781         * locale/C-translit.h: Likewise.
29782         * locale/loadarchive.c: Likewise.
29783         * locale/programs/3level.h: Likewise.
29784         * locale/programs/charmap.c: Likewise.
29785         * locale/programs/charmap.h: Likewise.
29786         * locale/programs/ld-address.c: Likewise.
29787         * locale/programs/ld-collate.c: Likewise.
29788         * locale/programs/ld-ctype.c: Likewise.
29789         * locale/programs/ld-identification.c: Likewise.
29790         * locale/programs/ld-measurement.c: Likewise.
29791         * locale/programs/ld-messages.c: Likewise.
29792         * locale/programs/ld-monetary.c: Likewise.
29793         * locale/programs/ld-name.c: Likewise.
29794         * locale/programs/ld-numeric.c: Likewise.
29795         * locale/programs/ld-paper.c: Likewise.
29796         * locale/programs/ld-telephone.c: Likewise.
29797         * locale/programs/ld-time.c: Likewise.
29798         * locale/programs/linereader.c: Likewise.
29799         * locale/programs/locale.c: Likewise.
29800         * locale/programs/locarchive.c: Likewise.
29801         * locale/programs/locfile.h: Likewise.
29802         * locale/programs/repertoire.c: Likewise.
29803         * locale/programs/simple-hash.c: Likewise.
29804         * locale/programs/simple-hash.h: Likewise.
29805         * malloc/memusage.c: Likewise.
29806         * malloc/memusagestat.c: Likewise.
29807         * nis/nis_defaults.c: Likewise.
29808         * nis/nis_hash.c: Likewise.
29809         * nis/nis_print.c: Likewise.
29810         * nis/nis_xdr.c: Likewise.
29811         * nscd/connections.c: Likewise.
29812         * nscd/hstcache.c: Likewise.
29813         * nscd/nscd_gethst_r.c: Likewise.
29814         * nscd/nscd_getserv_r.c: Likewise.
29815         * nscd/nscd_helper.c: Likewise.
29816         * nscd/servicescache.c: Likewise.
29817         * nss/makedb.c: Likewise.
29818         * nss/nss_db/db-XXX.c: Likewise.
29819         * nss/nss_db/db-initgroups.c: Likewise.
29820         * nss/nss_db/db-netgrp.c: Likewise.
29821         * nss/nss_files/files-network.c: Likewise.
29822         * nss/nss_files/files-parse.c: Likewise.
29823         * posix/bug-regex5.c: Likewise.
29824         * posix/fnmatch_loop.c: Likewise.
29825         * posix/regcomp.c: Likewise.
29826         * posix/regexec.c: Likewise.
29827         * posix/tst-rfc3484-2.c: Likewise.
29828         * posix/tst-rfc3484-3.c: Likewise.
29829         * posix/tst-rfc3484.c: Likewise.
29830         * resolv/nss_dns/dns-canon.c: Likewise.
29831         * resolv/nss_dns/dns-network.c: Likewise.
29832         * resolv/res_init.c: Likewise.
29833         * resolv/res_mkquery.c: Likewise.
29834         * resolv/tst-aton.c: Likewise.
29835         * stdlib/cxa_atexit.c: Likewise.
29836         * stdlib/cxa_finalize.c: Likewise.
29837         * stdlib/gen-fpioconst.c: Likewise.
29838         * stdlib/strtol_l.c: Likewise.
29839         * string/tst-endian.c: Likewise.
29840         * sunrpc/auth_des.c: Likewise.
29841         * sunrpc/clnt_udp.c: Likewise.
29842         * sunrpc/rtime.c: Likewise.
29843         * sunrpc/svcauth_des.c: Likewise.
29844         * sunrpc/xdr.c: Likewise.
29845         * sunrpc/xdr_intXX_t.c: Likewise.
29846         * sunrpc/xdr_rec.c: Likewise.
29847         * sysdeps/generic/ldconfig.h: Likewise.
29848         * sysdeps/generic/ldsodefs.h: Likewise.
29849         * sysdeps/generic/memusage.h: Likewise.
29850         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29851         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29852         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29853         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29854         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29855         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29856         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29857         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29858         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29859         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29860         * sysdeps/posix/getaddrinfo.c: Likewise.
29861         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29862         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29863         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29864         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29865         * sysdeps/powerpc/test-gettimebase.c: Likewise.
29866         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29867         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29868         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29869         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29870         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29871         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29872         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29873         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29874         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29875         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29876         * sysdeps/x86_64/dl-tls.h: Likewise.
29877         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29878         * time/alt_digit.c: Likewise.
29879         * time/era.c: Likewise.
29880         * wcsmbs/tst-c16c32-1.c: Likewise.
29882 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29884         * math/libm-test.inc (struct test_sincos_data): New type.
29885         (RUN_TEST_LOOP_sincos): New macro.
29886         (sincos_test_data): New variable.
29887         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29889 2013-05-16  Richard Henderson  <rth@redhat.com>
29891         * math/atest-exp2.c (LIMB64): New macro.
29892         (CONSTSZ): New macro.
29893         (mp_exp1, mp_exp_m1, mp_log2): New variables.
29894         (hexdig): Move ...
29895         (print_mpn_fp): ... to function scope.
29896         (read_mpn_hex): Remove.
29897         (get_log2): Remove.
29898         (exp2_mpn): Use mp_log2.
29899         (main): Use mp_exp1.
29901 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
29903         * math/libm-test.inc: Remove comment about not testing "inexact"
29904         exceptions.
29905         (INEXACT_EXCEPTION): New macro.
29906         (NO_INEXACT_EXCEPTION): Likewise.
29907         (INVALID_EXCEPTION_OK): Update value.
29908         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29909         (OVERFLOW_EXCEPTION_OK): Likewise.
29910         (UNDERFLOW_EXCEPTION_OK): Likewise.
29911         (IGNORE_ZERO_INF_SIGN): Likewise.
29912         (ERRNO_UNCHANGED): Likewise.
29913         (ERRNO_EDOM): Likewise.
29914         (ERRNO_ERANGE): Likewise.
29915         (test_exceptions): Handle testing "inexact" exceptions.
29916         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29917         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29918         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29919         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29920         INEXACT_EXCEPTION.
29921         (rint_towardzero_test_data): Likewise.
29922         (rint_downward_test_data): Likewise.
29923         (rint_upward_test_data): Likewise.
29925         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29926         with OVERFLOW_EXCEPTION.
29927         (exp10_test_data): Likewise.
29928         (exp2_test_data): Likewise.
29929         (expm1_test_data): Likewise.
29930         (lgamma_test_data): Likewise.
29931         (pow_test_data): Likewise.
29932         (tgamma_test_data): Likewise.
29933         (yn_test_data): Remove duplicate test of overflow.
29935         * math/libm-test.inc (struct test_cc_c_data): New type.
29936         (RUN_TEST_LOOP_cc_c): New macro.
29937         (cpow_test_data): New variable.
29938         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29940         * math/libm-test.inc (struct test_f_L_data): New type.
29941         (RUN_TEST_LOOP_f_L): New macro.
29942         (llrint_test_data): New variable.
29943         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29944         (llrint_tonearest_test_data): New variable.
29945         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29946         (llrint_towardzero_test_data): New variable.
29947         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29948         (llrint_downward_test_data): New variable.
29949         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29950         (llrint_upward_test_data): New variable.
29951         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29952         (llround_test_data): New variable.
29953         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29955 2013-05-13  Peter Collingbourne  <pcc@google.com>
29957         * math/atest-exp2.c (get_log2): Remove const attribute.
29959 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
29961         * math/libm-test.inc (struct test_f_l_data): New type.
29962         (RUN_TEST_LOOP_f_l): New macro.
29963         (lrint_test_data): New variable.
29964         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29965         (lrint_tonearest_test_data): New variable.
29966         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29967         (lrint_towardzero_test_data): New variable.
29968         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29969         (lrint_downward_test_data): New variable.
29970         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29971         (lrint_upward_test_data): New variable.
29972         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29973         (lround_test_data): New variable.
29974         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29976 2013-05-15  Peter Collingbourne  <pcc@google.com>
29978         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29979         (EXTRACT_WORDS64) Use where appropriate.
29980         (INSERT_WORDS64) Likewise.
29982         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29983         constraints with x constraints.
29984         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29986         * malloc/obstack.c (_obstack_compat): Add initializer.
29988 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
29990         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29991         si_trapno and add si_addr_lsb to _sifields.sigfault.
29992         (si_trapno): Remove macro.
29993         (si_addr_lsb): Define new macro.
29994         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29996 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
29998         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29999         instead of TEST_f_l.
30000         (llrint_test_tonearest): Likewise.
30001         (llrint_test_towardzero): Likewise.
30002         (llrint_test_downward): Likewise.
30003         (llrint_test_upward): Likewise.
30004         (llround_test): Likewise.
30006         * math/libm-test.inc (struct test_f_i_data): Add comment.
30007         (RUN_TEST_LOOP_f_b): New macro.
30008         (RUN_TEST_LOOP_f_b_tg): Likewise.
30009         (finite_test_data): New variable.
30010         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30011         (isfinite_test_data): New variable.
30012         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30013         (isinf_test_data): New variable.
30014         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30015         (isnan_test_data): New variable.
30016         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30017         (isnormal_test_data): New variable.
30018         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30019         (issignaling_test_data): New variable.
30020         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30021         (signbit_test_data): New variable.
30022         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30024         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30025         with INVALID_EXCEPTION.
30026         (acosh_test_data): Likewise.
30027         (asin_test_data): Likewise.
30028         (atanh_test_data): Likewise.
30029         (fmod_test_data): Likewise.
30030         (log_test_data): Likewise.
30031         (log10_test_data): Likewise.
30032         (log2_test_data): Likewise.
30033         (pow_test_data): Likewise.
30034         (sqrt_test_data): Likewise.
30035         (y0_test_data): Likewise.
30036         (y1_test_data): Likewise.
30037         (yn_test_data): Likewise.
30039         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30040         function contents.
30042         * math/libm-test.inc (struct test_ff_i_data): New type.
30043         (RUN_TEST_LOOP_ff_i_tg): New macro.
30044         (isgreater_test_data): New variable.
30045         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30046         (isgreaterequal_test_data): New variable.
30047         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30048         (isless_test_data): New variable.
30049         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30050         (islessequal_test_data): New variable.
30051         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30052         (islessgreater_test_data): New variable.
30053         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30054         (isunordered_test_data): New variable.
30055         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30057 2013-05-14  David S. Miller  <davem@davemloft.net>
30059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30061 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
30063         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30065         * math/libm-test.inc (struct test_fF_f1_data): Change type of
30066         extra_test to int.
30067         (struct test_f_i_data): Change type of max_ulp to int.
30069         * math/libm-test.inc (test_ffI_f1_data): New type.
30070         (RUN_TEST_LOOP_ffI_f1): New macro.
30071         (remquo_test_data): New variable.
30072         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30074         * setjmp/tst-setjmp-fp.c: New file.
30075         * setjmp/Makefile (tests): Add tst-setjmp-fp.
30076         (link-libm): New variable.
30077         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30079         * math/libm-test.inc (struct test_f_i_data): New type.
30080         (RUN_TEST_LOOP_f_i): New macro.
30081         (RUN_TEST_LOOP_f_i_tg): Likewise.
30082         (fpclassify_test_data): New variable.
30083         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
30084         (ilogb_test_data): New variable.
30085         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
30087         * math/libm-test.inc (scalbln_test): Correct function name in END
30088         call.
30090         * math/libm-test.inc (struct test_f_f1_data): Add comment.
30091         (RUN_TEST_LOOP_fI_f1): New macro.
30092         (frexp_test_data): New variable.
30093         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
30095         * math/libm-test.inc (struct test_fF_f1_data): New type.
30096         (RUN_TEST_LOOP_fF_f1): New macro.
30097         (modf_test_data): New variable.
30098         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
30100         * math/libm-test.inc (struct test_f_f1_data): New type.
30101         (RUN_TEST_LOOP_f_f1): New macro.
30102         (gamma_test_data): New variable.
30103         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30104         (lgamma_test_data): New variable.
30105         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
30107 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
30109         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
30110         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
30111         (main): Comment "tls" pseudo-hwcap.
30113 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
30115         * math/libm-test.inc (struct test_fl_f_data): New type.
30116         (RUN_TEST_LOOP_fl_f): New variable.
30117         (scalbln_test_data): New variable.
30118         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
30120         * math/libm-test.inc (struct test_fi_f_data): New type.
30121         (RUN_TEST_LOOP_fi_f): New macro.
30122         (ldexp_test_data): New variable.
30123         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
30124         (scalbn_test_data): New variable.
30125         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30127         * math/libm-test.inc (struct test_c_f_data): New type.
30128         (RUN_TEST_LOOP_c_f): New macro.
30129         (cabs_test_data): New variable.
30130         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
30131         (carg_test_data): New variable.
30132         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
30133         (cimag_test_data): New variable.
30134         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
30135         (creal_test_data): New variable.
30136         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
30138         * math/libm-test.inc (struct test_if_f_data): New type.
30139         (RUN_TEST_LOOP_if_f): New macro.
30140         (jn_test_data): New variable.
30141         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
30142         (yn_test_data): New variable.
30143         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
30145         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30147 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30149         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
30150         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
30152 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30154         * benchtests/Makefile (CPPFLAGS-nonlib): Add
30155         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
30156         (bench-deps): Add bench-timing.h.
30157         * benchtests-bench-skeleton.c: Include bench-timing.h.
30158         (main): Use TIMING_* macros instead of clock_gettime.
30159         * benchtests/bench-timing.h: New file.
30161         [BZ #14582]
30162         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
30163         Renamed from _LIB_VERSION.
30164         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
30166 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
30168         * math/libm-test.inc (struct test_fff_f_data): New type.
30169         (RUN_TEST_LOOP_fff_f): New macro.
30170         (fma_test_data): New variable.
30171         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
30172         (fma_towardzero_test_data): New variable.
30173         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
30174         (fma_downward_test_data): New variable.
30175         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
30176         (fma_upward_test_data): New variable.
30177         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
30179         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
30180         (struct test_c_c_data): New type.
30181         (RUN_TEST_LOOP_c_c): New macro.
30182         (cacos_test_data): New variable.
30183         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
30184         (cacosh_test_data): New variable.
30185         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
30186         (casin_test_data): New variable.
30187         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30188         (casinh_test_data): New variable.
30189         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
30190         (catan_test_data): New variable.
30191         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
30192         (catanh_test_data): New variable.
30193         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
30194         (ccos_test_data): New variable.
30195         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
30196         (ccosh_test_data): New variable.
30197         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
30198         (cexp_test_data): New variable.
30199         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
30200         (clog_test_data): New variable.
30201         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
30202         (clog10_test_data): New variable.
30203         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
30204         (conj_test_data): New variable.
30205         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
30206         (cproj_test_data): New variable.
30207         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
30208         (csin_test_data): New variable.
30209         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
30210         (csinh_test_data): New variable.
30211         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
30212         (csqrt_test_data): New variable.
30213         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
30214         (ctan_test_data): New variable.
30215         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
30216         (ctan_tonearest_test_data): New variable.
30217         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30218         (ctan_towardzero_test_data): New variable.
30219         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30220         (ctan_downward_test_data): New variable.
30221         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30222         (ctan_upward_test_data): New variable.
30223         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30224         (ctanh_test_data): New variable.
30225         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
30226         (ctanh_tonearest_test_data): New variable.
30227         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
30228         (ctanh_towardzero_test_data): New variable.
30229         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
30230         (ctanh_downward_test_data): New variable.
30231         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
30232         (ctanh_upward_test_data): New variable.
30233         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
30234         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
30235         of BUILD_COMPLEX.
30237         * math/libm-test.inc (struct test_ff_f_data): New type.
30238         (struct test_ff_f_data_nexttoward): Likewise.
30239         (RUN_TEST_LOOP_2_f): New macro.
30240         (RUN_TEST_LOOP_ff_f): Likewise.
30241         (atan2_test_data): New variable.
30242         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
30243         (copysign_test_data): New variable.
30244         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
30245         (fdim_test_data): New variable.
30246         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
30247         (fmax_test_data): New variable.
30248         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
30249         (fmin_test_data): New variable.
30250         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
30251         (fmod_test_data): New variable.
30252         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
30253         (hypot_test_data): New variable.
30254         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
30255         (nextafter_test_data): New variable.
30256         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
30257         (nexttoward_test_data): New variable.
30258         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
30259         (pow_test_data): New variable.
30260         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
30261         (pow_tonearest_test_data): New variable.
30262         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
30263         (pow_towardzero_test_data): New variable.
30264         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
30265         (pow_downward_test_data): New variable.
30266         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
30267         (pow_upward_test_data): New variable.
30268         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
30269         (remainder_test_data): New variable.
30270         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
30271         (scalb_test_data): New variable.
30272         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
30273         * sysdeps/i386/fpu/libm-test-ulps: Update.
30275 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
30277         * math/libm-test.inc (fma_test): Use max_value instead of local
30278         variable fltmax.
30279         (nextafter_test): Likewise.
30281         * math/libm-test.inc (acos_towardzero_test_data): New variable.
30282         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30283         (acos_downward_test_data): New variable.
30284         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30285         (acos_upward_test_data): New variable.
30286         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30287         (acosh_test_data): New variable.
30288         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
30289         (asin_test_data): New variable.
30290         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
30291         (asin_tonearest_test_data): New variable.
30292         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30293         (asin_towardzero_test_data): New variable.
30294         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30295         (asin_downward_test_data): New variable.
30296         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30297         (asin_upward_test_data): New variable.
30298         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30299         (asinh_test_data): New variable.
30300         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
30301         (atan_test_data): New variable.
30302         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
30303         (atanh_test_data): New variable.
30304         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
30305         (cbrt_test_data): New variable.
30306         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
30307         (ceil_test_data): New variable.
30308         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
30309         (cos_test_data): New variable.
30310         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
30311         (cos_tonearest_test_data): New variable.
30312         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30313         (cos_towardzero_test_data): New variable.
30314         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30315         (cos_downward_test_data): New variable.
30316         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30317         (cos_upward_test_data): New variable.
30318         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30319         (cosh_test_data): New variable.
30320         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
30321         (cosh_tonearest_test_data): New variable.
30322         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30323         (cosh_towardzero_test_data): New variable.
30324         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30325         (cosh_downward_test_data): New variable.
30326         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30327         (cosh_upward_test_data): New variable.
30328         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30329         (erf_test_data): New variable.
30330         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
30331         (erfc_test_data): New variable.
30332         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
30333         (exp_test_data): New variable.
30334         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
30335         (exp_tonearest_test_data): New variable.
30336         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30337         (exp_towardzero_test_data): New variable.
30338         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30339         (exp_downward_test_data): New variable.
30340         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30341         (exp_upward_test_data): New variable.
30342         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30343         (exp10_test_data): New variable.
30344         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
30345         (exp2_test_data): New variable.
30346         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
30347         (expm1_test_data): New variable.
30348         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
30349         (fabs_test_data): New variable.
30350         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
30351         (floor_test_data): New variable.
30352         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
30353         (j0_test_data): New variable.
30354         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
30355         (j1_test_data): New variable.
30356         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
30357         (log_test_data): New variable.
30358         (log_test): Run tests with RUN_TEST_LOOP_f_f.
30359         (log10_test_data): New variable.
30360         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
30361         (log1p_test_data): New variable.
30362         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
30363         (log2_test_data): New variable.
30364         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
30365         (logb_test_data): New variable.
30366         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
30367         (logb_downward_test_data): New variable.
30368         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30369         (nearbyint_test_data): New variable.
30370         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
30371         (rint_test_data): New variable.
30372         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
30373         (rint_tonearest_test_data): New variable.
30374         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30375         (rint_towardzero_test_data): New variable.
30376         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30377         (rint_downward_test_data): New variable.
30378         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30379         (rint_upward_test_data): New variable.
30380         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30381         (round_test_data): New variable.
30382         (round_test): Run tests with RUN_TEST_LOOP_f_f.
30383         (sin_test_data): New variable.
30384         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
30385         (sin_tonearest_test_data): New variable.
30386         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30387         (sin_towardzero_test_data): New variable.
30388         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30389         (sin_downward_test_data): New variable.
30390         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30391         (sin_upward_test_data): New variable.
30392         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30393         (sinh_test_data): New variable.
30394         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
30395         (sinh_tonearest_test_data): New variable.
30396         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30397         (sinh_towardzero_test_data): New variable.
30398         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30399         (sinh_downward_test_data): New variable.
30400         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30401         (sinh_upward_test_data): New variable.
30402         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30403         (sqrt_test_data): New variable.
30404         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
30405         (tan_test_data): New variable.
30406         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
30407         (tan_tonearest_test_data): New variable.
30408         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30409         (tan_towardzero_test_data): New variable.
30410         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
30411         (tan_downward_test_data): New variable.
30412         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
30413         (tan_upward_test_data): New variable.
30414         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
30415         (tanh_test_data): New variable.
30416         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
30417         (tgamma_test_data): New variable.
30418         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
30419         (trunc_test_data): New variable.
30420         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
30421         (y0_test_data): New variable.
30422         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
30423         (y1_test_data): New variable.
30424         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
30425         (significand_test_data): New variable.
30426         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
30428 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
30430         [BZ #12387]
30431         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
30433 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30435         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
30437 2013-05-10  Andreas Jaeger  <aj@suse.de>
30439         [BZ #15448]
30440         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
30441         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
30443 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30445         * math/gen-libm-test.pl (adjust_arg): New function.
30446         (special_functions): Handle generating output in both functions
30447         and arrays.
30448         (parse_args): Likewise.
30449         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
30450         $in_func argument to parse_args.
30451         * math/libm-test.inc (struct test_f_f_data): New type.
30452         (IF_ROUND_INIT_): New macro.
30453         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
30454         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30455         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30456         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30457         (ROUND_RESTORE_): Likewise.
30458         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
30459         (ROUND_RESTORE_FE_TONEAREST): Likewise.
30460         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
30461         (ROUND_RESTORE_FE_UPWARD): Likewise.
30462         (RUN_TEST_LOOP_f_f): New macro.
30463         (acos_test_data): New variable.
30464         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
30465         (acos_tonearest_test_data): New variable.
30466         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
30468 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30470         * benchtests/bench-skeleton.c (startup): Fix coding style.
30472 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
30474         [BZ #6809]
30475         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
30476         negative infinity argument.
30477         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
30478         negative infinity argument.
30479         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
30480         negative infinity argument.
30481         * math/libm-test.inc (tgamma_test): Expect errno to be set for
30482         domain errors.
30484 2013-05-10  Florian Weimer  <fweimer@redhat.com>
30486         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
30487         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
30488         * iconv/iconv_prog.c (main): Likewise.
30489         * locale/programs/charmap-dir.c (charmap_readdir)
30490         (fopen_uncompressed): Likewise.
30491         * locale/programs/locfile.c (siblings_uncached)
30492         (write_locale_data): Use lstat64 instead of lstat.
30493         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
30494         stat.
30496 2013-05-10  Andreas Jaeger  <aj@suse.de>
30498         [BZ #15395]
30499         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
30500         localization.
30501         Include <locale.h>.
30503 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
30505         * elf/dl-close.c (_dl_close_worker): Add comments.
30507 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
30509         [BZ #15359]
30510         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
30511         high part of pi/2.
30512         (__ieee754_rem_pio2l): Update comments.
30514         [BZ #15429]
30515         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
30516         high part of pi/2.
30517         (__ieee754_rem_pio2l): Update comments.
30519         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
30520         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
30522         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
30523         M_PI_4l.
30525         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
30526         (M_PI_34_LOG10El): Likewise.
30527         (M_PI2_LOG10El): Likewise.
30528         (M_PI4_LOG10El): Likewise.
30529         (M_PI_LOG10El): Likewise.
30531 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30535 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
30537         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
30538         (MINUS_ZERO_INIT): Likewise.
30539         (PLUS_INFTY_INIT): Likewise.
30540         (MINUS_INFTY_INIT): Likewise.
30541         (QNAN_VALUE_INIT): Likewise.
30542         (MAX_VALUE_INIT): Likewise.
30543         (MIN_VALUE_INIT): Likewise.
30544         (MIN_SUBNORM_VALUE_INIT): Likewise.
30545         (plus_zero): Initialize with PLUS_ZERO_INIT.
30546         (minus_zero): Initialize with MINUS_ZERO_INIT.
30547         (plus_infty): Initialize with PLUS_INFTY_INIT.
30548         (minus_infty): Initialize with MINUS_INFTY_INIT.
30549         (qnan_value): Initialize with QNAN_VALUE_INIT.
30550         (max_value): Initialize with MAX_VALUE_INIT.
30551         (min_value): Initialize with MIN_VALUE_INIT.
30552         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
30554         * math/libm-test.inc (RUN_TEST_if_f): New macro.
30555         (jn_test): Use TEST_if_f instead of TEST_ff_f.
30556         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
30557         (yn_test): Use TEST_if_f instead of TEST_ff_f.
30559         * math/libm-test.inc (RUN_TEST_f_f): New macro.
30560         (RUN_TEST_2_f): Likewise.
30561         (RUN_TEST_ff_f): Likewise.
30562         (RUN_TEST_fi_f): Likewise.
30563         (RUN_TEST_fl_f): Likewise.
30564         (RUN_TEST_fff_f): Likewise.
30565         (RUN_TEST_c_f): Likewise.
30566         (RUN_TEST_f_f1): Likewise.
30567         (RUN_TEST_fF_f1): Likewise.
30568         (RUN_TEST_fI_f1): Likewise.
30569         (RUN_TEST_ffI_f1): Likewise.
30570         (RUN_TEST_c_c): Likewise.
30571         (RUN_TEST_cc_c): Likewise.
30572         (RUN_TEST_f_i): Likewise.
30573         (RUN_TEST_f_i_tg): Likewise.
30574         (RUN_TEST_ff_i_tg): Likewise.
30575         (RUN_TEST_f_b): Likewise.
30576         (RUN_TEST_f_b_tg): Likewise.
30577         (RUN_TEST_f_l): Likewise.
30578         (RUN_TEST_f_L): Likewise.
30579         (RUN_TEST_sincos): Likewise.
30580         * math/gen-libm-test.pl (new_test): Take new argument to indicate
30581         whether to show exceptions.  Do not include ");\n" in return
30582         value.
30583         (special_functions): Output call to RUN_TEST_sincos instead of
30584         check_float calls.  Update calls to new_test.
30585         (parse_args): Output call to single RUN_TEST_* macro instead of
30586         check_* calls and other assignments.  Update calls to new_test.
30588         [BZ #2546]
30589         [BZ #2560]
30590         [BZ #5159]
30591         [BZ #15426]
30592         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
30593         input to result for tgamma overflow.
30594         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
30595         (gamma_coeff): New variable.
30596         (NCOEFF): New macro.
30597         (gamma_positive): New function.
30598         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30599         underflow here.  Use gamma_positive instead of exp (lgamma) for
30600         other arguments.
30601         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30602         (gamma_coeff): New variable.
30603         (NCOEFF): New macro.
30604         (gammaf_positive): New function.
30605         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30606         underflow here.  Use gamma_positive instead of exp (lgamma) for
30607         other arguments.
30608         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30609         (gamma_coeff): New variable.
30610         (NCOEFF): New macro.
30611         (gammal_positive): New function.
30612         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30613         underflow here.  Use gamma_positive instead of exp (lgamma) for
30614         other arguments.
30615         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30616         (gamma_coeff): New variable.
30617         (NCOEFF): New macro.
30618         (gammal_positive): New function.
30619         (__ieee754_gammal_r): Handle positive infinity, overflow and
30620         underflow here.  Handle NaN the same as positive infinity.  Remove
30621         check x < 0xffffffff for negative integers.  Use gamma_positive
30622         instead of exp (lgamma) for other arguments.
30623         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30624         (gamma_coeff): New variable.
30625         (NCOEFF): New macro.
30626         (gammal_positive): New function.
30627         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30628         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30629         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30630         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30631         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30632         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30633         * sysdeps/generic/math_private.h (__gamma_productf): New
30634         prototype.
30635         (__gamma_product): Likewise.
30636         (__gamma_productl): Likewise.
30637         * math/Makefile (libm-calls): Add gamma_product.
30638         * math/libm-test.inc (tgamma_test): Add more tests.
30639         * sysdeps/i386/fpu/libm-test-ulps: Update.
30640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30642 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
30644         * benchtests/bench-skeleton.c (main): Preheat CPU.
30646 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
30648         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30650 2013-05-07  Roland McGrath  <roland@hack.frob.com>
30652         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30653         and _dl_skip_args_internal.
30655 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
30657         * manual/message.texi (Message Translation): Talk about users.
30658         Message to key mapping impacts design.
30660 2013-05-06  Roland McGrath  <roland@hack.frob.com>
30662         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30664         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30666         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30667         * sysdeps/wordsize-64/glob64.c: ... here.
30669         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30670         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30671         New macros.
30673         * debug/getlogin_r_chk.c: Moved to ...
30674         * login/getlogin_r_chk.c: ... here.
30675         * debug/Makefile (routines): Move getlogin_r_chk to ...
30676         * login/Makefile (routines): ... here.
30677         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30678         * login/Versions (libc: GLIBC_2.4): ... here.
30680         * io/poll.c (__poll): Renamed from poll.
30681         Add libc_hidden_def.
30682         (poll): Define as weak alias.
30684         * debug/ptsname_r_chk.c: Moved to ...
30685         * login/ptsname_r_chk.c: ... here.
30686         * debug/Makefile (routines): Move ptsname_r_chk to ...
30687         * login/Makefile (routines): ... here.
30688         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30689         * login/Versions (libc: GLIBC_2.4): ... here.
30691         * posix/getlogin.c: Moved to ...
30692         * login/getlogin.c: ... here.
30693         * posix/getlogin_r.c: Moved to ...
30694         * login/getlogin_r.c: ... here.
30695         * posix/getlogin_r.c: Moved to ...
30696         * login/getlogin_r.c: ... here.
30697         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30698         * login/Makefile (routines): ... here.
30699         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30700         * login/Versions (libc: GLIBC_2.0): ... here.
30702         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30703         (setrlimit): Define as weak alias.
30705         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30706         Call __ names for open, ftruncate, and close.
30707         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30708         (truncate): Define as weak alias.
30710 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
30712         * math/gen-libm-test.pl (parse_args): Initialize x before each
30713         test of frexp, modf and remquo.
30715         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30716         test signgam value.
30718 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30720         [BZ #15418]
30721         [BZ #15419]
30722         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30723         internal tests.
30724         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30726 2013-05-06  Roland McGrath  <roland@hack.frob.com>
30728         * elf/dl-writev.h: New file.
30729         * elf/dl-misc.c: Include it.
30730         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30731         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30733 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
30735         * math/libm-test.inc (noXFails): Remove variable.
30736         (noXPasses): Likewise.
30737         (BUILD_COMPLEX_INT): Remove macro.
30738         (print_screen): Remove xfail argument.
30739         (print_screen_max_error): Likewise.
30740         (update_stats): Likewise.
30741         (print_max_error): Likewise.  Update calls to other affected
30742         functions.
30743         (print_complex_max_error): Likewise.
30744         (test_single_exception): Update calls to print_screen.
30745         (test_single_errno): Likewise.
30746         (check_float_internal): Remove xfail argument.  Update calls to
30747         other affected functions.
30748         (check_float): Likewise.
30749         (check_complex): Likewise.
30750         (check_int): Likewise.
30751         (check_long): Likewise.
30752         (check_bool): Likewise.
30753         (check_longlong): Likewise.
30754         (main): Don't print noXFails and noXPasses.
30755         * math/gen-libm-test.pl (top level): Don't mention expected
30756         failure handling in comment.
30757         (new_test): Don't handle expected failures.
30758         (parse_args): Don't mention expected failure handling in comment.
30759         (generate_testfile): Don't handle expected failures.
30760         (parse_ulps): Likewise.
30761         (print_ulps_file): Likewise.
30762         (get_failure): Remove function.
30763         (output_test): Don't handle expected failures.
30764         * make/README.libm-test: Don't mention expected failure handling.
30766         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
30767         (minus_zero): Likewise.
30768         (plus_infty): Likewise.
30769         (minus_infty): Likewise.
30770         (qnan_value): Likewise.
30771         (max_value): Likewise.
30772         (min_value): Likewise.
30773         (min_subnorm_value): Likewise.
30774         (initialize): Do not initialize those variables dynamically.
30776 2013-05-03  Roland McGrath  <roland@hack.frob.com>
30778         * io/open.c (__open_2): Moved to ...
30779         * io/open_2.c: ... this new file.
30780         * io/open64.c (__open64_2): Moved to ...
30781         * io/open64_2.c: ... this new file.
30782         * io/openat.c (__openat_2): Moved to ...
30783         * io/openat_2.c: ... this new file.
30784         * io/openat64.c (__openat64_2): Moved to ...
30785         * io/openat64_2.c: ... this new file.
30786         * io/Makefile (routines): Add them.
30787         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30788         * sysdeps/unix/sysv/linux/open_2.c: File removed.
30789         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30790         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30791         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30792         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30793         (__openat64): Add hidden_ver.
30794         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30795         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30797         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30798         Separately conditionalize setting of GLRO(dl_sysinfo) so
30799         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30800         as well, but the actual setting is only under [NEED_DL_SYSINFO].
30802 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30804         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30805         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30806         definition.
30807         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30808         * sysdeps/unix/sysv/linux/powerpc/init-first.c
30809         (_libc_vdso_platform_setup): Add __vdso_time initialization.
30810         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30811         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30813 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
30815         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30816         test signgam value.
30818         * math/libm-test.inc (hypot_test): Do not use
30819         IGNORE_ZERO_INF_SIGN.
30821 2013-05-03  Andreas Jaeger  <aj@suse.de>
30823         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30824         Linux 3.9.
30825         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30826         (PF_MAX): Adjust for VSOCK change.
30828 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30832 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
30834         [BZ #15264]
30835         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30836         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30837         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30839 2013-05-02  David S. Miller  <davem@davemloft.net>
30841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30843 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
30845         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30847 2013-05-01  Roland McGrath  <roland@hack.frob.com>
30849         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30851 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
30853         [BZ #14952]
30854         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30855         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30856         Use __attribute__ ((__gnu_inline__)).
30857         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30858         Don't use __attribute__ ((__gnu_inline__)).
30860 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
30862         [BZ #15423]
30863         * math/s_catan.c (__catan): Handle small real or imaginary part of
30864         input specially to avoid spurious underflow.
30865         * math/s_catanf.c (__catanf): Likewise.
30866         * math/s_catanh.c (__catanh): Likewise.
30867         * math/s_catanhf.c (__catanhf): Likewise.
30868         * math/s_catanhl.c (__catanhl): Likewise.
30869         * math/s_catanl.c (__catanl): Likewise.
30870         * math/libm-test.inc (catan_test): Add more tests.
30871         (catanh_test): Likewise.
30872         * sysdeps/i386/fpu/libm-test-ulps: Update.
30873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30875 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30879 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
30881         [BZ #15416]
30882         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30883         accurately for denominator in atan2.
30884         * math/s_catanf.c (__catanf): Likewise.
30885         * math/s_catanh.c (__catanh): Likewise.
30886         * math/s_catanhf.c (__catanhf): Likewise.
30887         * math/s_catanhl.c (__catanhl): Likewise.
30888         * math/s_catanl.c (__catanl): Likewise.
30889         * math/libm-test.inc (catan_test): Add more tests.
30890         (catanh_test): Likewise.
30891         * sysdeps/i386/fpu/libm-test-ulps: Update.
30892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30894 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30896         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30898         * benchtests/Makefile (bench): Remove slow benchmarks.
30899         * benchtests/atan-inputs: Add slow benchmark inputs.
30900         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30901         (BENCH_FUNC): Accept variant offset.
30902         (VARIANT): Define.
30903         * benchtests/bench-skeleton.c (main): Run benchmark for each
30904         variant.
30905         * benchtests/cos-inputs: Add slow benchmark inputs.
30906         * benchtests/exp-inputs: Likewise.
30907         * benchtests/pow-inputs: Likewise.
30908         * benchtests/sin-inputs: Likewise.
30909         * benchtests/slowatan-inputs: Remove.
30910         * benchtests/slowatan.c: Remove.
30911         * benchtests/slowcos-inputs: Remove.
30912         * benchtests/slowcos.c: Remove.
30913         * benchtests/slowexp-inputs: Remove.
30914         * benchtests/slowexp.c: Remove.
30915         * benchtests/slowpow-inputs: Remove.
30916         * benchtests/slowpow.c: Remove.
30917         * benchtests/slowsin-inputs: Remove.
30918         * benchtests/slowsin.c: Remove.
30919         * benchtests/slowtan-inputs: Remove.
30920         * benchtests/slowtan.c: Remove.
30921         * benchtests/tan-inputs: Add slow benchmark inputs.
30922         * scripts/bench.pl: Parse comments and directives.
30924         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
30925         in CPPFLAGS.
30926         ($(objpfx)bench-%.c): Remove *-ITER.
30927         * benchtests/bench-modf.c: Remove definition of ITER.
30928         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30929         (main): Loop for DURATION seconds instead of fixed number of
30930         iterations.
30931         * scripts/bench.pl: Don't expect iterations in parameters.
30933 2013-04-29  Roland McGrath  <roland@hack.frob.com>
30935         * io/fchdir.c (__fchdir): Renamed from fchdir.
30936         (fchdir): Define as weak alias.
30938 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30940         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30941         (ERRNO_EDOM): Likewise.
30942         (ERRNO_ERANGE): Likewise.
30943         (noErrnoTests): New variable.
30944         (init_max_error): Set errno to 0.
30945         (test_single_errno): New function.
30946         (test_errno): Likewise.
30947         (check_float_internal): Call test_errno.  Set errno to 0.
30948         (check_complex): Refer to errno tests in comment.
30949         (check_int): Call test_errno.  Set errno to 0.
30950         (check_long): Likewise.
30951         (check_bool): Likewise.
30952         (check_longlong): Likewise.
30953         (cos_test): Use ERRNO_* flags for errno tests instead of
30954         check_int.
30955         (expm1_test): Likewise.
30956         (fmod_test): Likewise.
30957         (ilogb_test): Likewise.
30958         (lgamma_test): Likewise.
30959         (pow_test): Likewise.
30960         (remainder_test): Likewise.
30961         (sin_test): Likewise.
30962         (tan_test): Likewise.
30963         (yn_test): Likewise.
30964         (initialize): Set errno to 0.
30965         (main): Print number of errno tests.
30966         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30968 2013-04-29  Andreas Jaeger  <aj@suse.de>
30970         [BZ #15084]
30971         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30972         and RES_USEVC.
30974         [BZ #15085]
30975         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30976         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30977         unimplemented.
30979         [BZ #15380]
30980         * stdlib/random.c (__initstate): Return NULL if
30981         __initstate fails.
30983         [BZ #15086]
30984         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30985         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30986         RES_SNGLKUPREOP.
30988 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30992 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
30994         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30995         of individual tests.
30996         (casin_test): Likewise.
30997         (casinh_test): Likewise.
30999 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
31001         [BZ #15409]
31002         * math/s_catan.c (__catan): Handle arguments with large real or
31003         imaginary part separately without squaring.
31004         * math/s_catanf.c (__catanf): Likewise.
31005         * math/s_catanh.c (__catanh): Likewise.
31006         * math/s_catanhf.c (__catanhf): Likewise.
31007         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31008         and redefine.
31009         (__catanhl): Handle arguments with large real or imaginary part
31010         separately without squaring.
31011         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31012         and redefine.
31013         (__catanl): Handle arguments with large real or imaginary part
31014         separately without squaring.
31015         * math/libm-test.inc (catan_test): Add more tests.
31016         (catanh_test): Likewise.
31017         * sysdeps/i386/fpu/libm-test-ulps: Update.
31018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31020 2013-04-27  Andreas Jaeger  <aj@suse.de>
31022         [BZ #15007]
31023         * stdlib/stdlib.h: Update guards for qecvt.
31024         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31025         <stdlib.h>.
31027 2013-04-27  Allan McRae  <allan@archlinux.org>
31029         * sysdeps/i386/fpu/libm-test-ulps: Update.
31031 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
31033         [BZ #15406]
31034         * math/s_catan.c: Include <float.h>.
31035         (__catan): Ensure underflow exception occurs for underflowed
31036         result.
31037         * math/s_catanf.c: Include <float.h>.
31038         (__catanf): Ensure underflow exception occurs for underflowed
31039         result.
31040         * math/s_catanh.c: Include <float.h>.
31041         (__catanh): Ensure underflow exception occurs for underflowed
31042         result.
31043         * math/s_catanhf.c: Include <float.h>.
31044         (__catanhf): Ensure underflow exception occurs for underflowed
31045         result.
31046         * math/s_catanhl.c: Include <float.h>.
31047         (__catanhl): Ensure underflow exception occurs for underflowed
31048         result.
31049         * math/s_catanl.c: Include <float.h>.
31050         (__catanl): Ensure underflow exception occurs for underflowed
31051         result.
31052         * math/libm-test.inc (catan_test): Add more tests.
31053         (catanh_test): Likewise.
31055         [BZ #15405]
31056         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31057         underflowed result.
31058         * math/s_ccoshf.c (__ccoshf): Likewise.
31059         * math/s_ccoshl.c (__ccoshl): Likewise.
31060         * math/s_csin.c (__csin): Likewise.
31061         * math/s_csinf.c (__csinf): Likewise.
31062         * math/s_csinh.c (__csinh): Likewise.
31063         * math/s_csinhf.c (__csinhf): Likewise.
31064         * math/s_csinhl.c (__csinhl): Likewise.
31065         * math/s_csinl.c (__csinl): Likewise.
31066         * math/libm-test.inc (ccos_test): Add more tests.
31067         (ccosh_test): Likewise.
31068         (csin_test): Likewise.
31069         (csinh_test): Likewise.
31071 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31073         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31074         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31075         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31076         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31077         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31078         powerpc/power5+/fpu folders.
31079         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31082 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
31084         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31086 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
31088         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
31089         additions to variable.
31090         [$(config-machine) = x86_64] (modules-names): Likewise.
31091         ($(objpfx)tst-audit3): Remove dependency.
31092         ($(objpfx)tst-audit3.out): Likewise.
31093         ($(objpfx)tst-audit4): Likewise.
31094         ($(objpfx)tst-audit4.out): Likewise.
31095         ($(objpfx)tst-audit5): Likewise.
31096         ($(objpfx)tst-audit5.out): Likewise.
31097         ($(objpfx)tst-audit6): Likewise.
31098         ($(objpfx)tst-audit6.out): Likewise.
31099         ($(objpfx)tst-audit7): Likewise.
31100         ($(objpfx)tst-audit7.out): Likewise.
31101         (tst-audit3-ENV): Remove variable.
31102         (tst-audit4-ENV): Likewise.
31103         (tst-audit5-ENV): Likewise.
31104         (tst-audit6-ENV): Likewise.
31105         (tst-audit7-ENV): Likewise.
31106         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
31107         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
31108         addition to variable.
31109         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
31110         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
31111         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
31112         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
31113         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
31114         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
31115         tst-audit3, tst-audit4 and tst-audit5.
31116         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
31117         tst-audit6 and tst-audit7.
31118         [$(subdir) = elf] (modules-names): Add audit modules for those
31119         tests.
31120         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
31121         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
31122         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
31123         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
31124         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
31125         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
31126         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
31127         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
31128         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
31129         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
31130         [$(subdir) = elf] (tst-audit3-ENV): New variable.
31131         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
31132         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
31133         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
31134         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
31135         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
31136         Likewise.
31137         [$(subdir) = elf && $(config-cflags-avx) = yes]
31138         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
31139         [$(subdir) = elf && $(config-cflags-avx) = yes]
31140         (CFLAGS-tst-auditmod4a.c): Likewise.
31141         [$(subdir) = elf && $(config-cflags-avx) = yes]
31142         (CFLAGS-tst-auditmod4b.c): Likewise.
31143         [$(subdir) = elf && $(config-cflags-avx) = yes]
31144         (CFLAGS-tst-auditmod6b.c): Likewise.
31145         [$(subdir) = elf && $(config-cflags-avx) = yes]
31146         (CFLAGS-tst-auditmod6c.c): Likewise.
31147         [$(subdir) = elf && $(config-cflags-avx) = yes]
31148         (CFLAGS-tst-auditmod7b.c): Likewise.
31149         * elf/tst-audit3.c: Move to ...
31150         * sysdeps/x86_64/tst-audit3.c: ... here.
31151         * elf/tst-audit4.c: Move to ...
31152         * sysdeps/x86_64/tst-audit4.c: ... here.
31153         * elf/tst-audit5.c: Move to ...
31154         * sysdeps/x86_64/tst-audit5.c: ... here.
31155         * elf/tst-audit6.c: Move to ...
31156         * sysdeps/x86_64/tst-audit6.c: ... here.
31157         * elf/tst-audit7.c: Move to ...
31158         * sysdeps/x86_64/tst-audit7.c: ... here.
31159         * elf/tst-auditmod3a.c: Move to ...
31160         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
31161         * elf/tst-auditmod3b.c: Move to ...
31162         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
31163         * elf/tst-auditmod4a.c: Move to ...
31164         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
31165         * elf/tst-auditmod4b.c: Move to ...
31166         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
31167         * elf/tst-auditmod5a.c: Move to ...
31168         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
31169         * elf/tst-auditmod5b.c: Move to ...
31170         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
31171         * elf/tst-auditmod6a.c: Move to ...
31172         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
31173         * elf/tst-auditmod6b.c: Move to ...
31174         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
31175         * elf/tst-auditmod6c.c: Move to ...
31176         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
31177         * elf/tst-auditmod7a.c: Move to ...
31178         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
31179         * elf/tst-auditmod7b.c: Move to ...
31180         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
31182 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
31184         [BZ #15366]
31185         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
31186         define unconditionally.
31187         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
31188         define unconditionally.
31189         (INT8_C, INT16_C, etc.): Likewise.
31191 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
31193         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
31194         __ehdr_start with hidden visibility.
31196         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
31198 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
31200         * math/libm-test.inc (cos_test): Use accurate hex constants.
31201         (sincost_test): Likewise.
31203 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
31205         * math/libm-test.inc (catan_test): Add more tests.
31206         (catanh_test): Likewise.
31208         * math/s_catanf.c (__catanf): Use suffixed floating-point
31209         constants.
31210         * math/s_catanhf.c (__catanhf): Likewise.
31211         * math/s_catanhl.c (__catanhl): Likewise.
31212         * math/s_catanl.c (__catanl): Likewise.
31214         [BZ #15394]
31215         * math/s_catan.c (__catan): Calculate imaginary part of result
31216         with log1p not log unless computing log of number close to 0.
31217         * math/s_catanf.c (__catanf): Likewise.
31218         * math/s_catanl.c (__catanl): Likewise.
31219         * math/s_catanh.c (__catanh): Calculate real part of result with
31220         log1p not log unless computing log of number close to 0.
31221         * math/s_catanhf.c (__catanhf): Likewise.
31222         * math/s_catanhl.c (__catanhl): Likewise.
31223         * math/libm-test.inc (catan_test): Add more tests.
31224         (catanh_test): Likewise.
31225         * sysdeps/i386/fpu/libm-test-ulps: Update.
31226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31228 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31230         * benchtests/Makefile: Mention files in which fast and slow
31231         paths of math functions are implemented.
31233 2013-04-23  Roland McGrath  <roland@hack.frob.com>
31235         * sysdeps/posix/timespec_get.c: New file.
31237 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31239         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
31240         POWER.
31241         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
31242         for POWER.
31243         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
31244         powerpc/power5/fpu folders.
31245         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
31246         * benchtests/Makefile: Add modf testcase.
31247         * benchtests/bench-modf.c: New file: Benchmark test for mo
31249 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31251         [BZ #14888]
31252         * time/Makefile (tests): Add tst-strptime-whitespace.
31253         * time/strptime_l.c (get_number): Use ISSPACE.
31254         (__strptime_internal): Likewise.
31255         * time/tst-strptime-whitespace.c: New test case.
31257 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
31259         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
31260         member.
31261         (_nss_files_init): Set it here.
31263 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
31265         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
31266         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
31267         unsigned.
31269 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
31271         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
31273 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31275         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
31276         size just once.
31278 2013-04-21  David S. Miller  <davem@davemloft.net>
31280         * po/ru.po: Update Russion translation from translation project.
31282 2013-04-17  Adam Conrad  <adconrad@0c3.net>
31284         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
31285         and setfsgid.
31287 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
31289         * configure.in: Remove i386 configure warning. Remove i386 case.
31290         * configure: Regenerate.
31291         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
31292         Add example to error message.
31293         * sysdeps/i386/configure: Regenerate.
31295 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31297         * benchtests/Makefile (bench): Add cos, tan, slowcos and
31298         slowtan.
31299         * benchtests/cos-inputs: New file.
31300         * benchtests/slowcos-inputs: New file.
31301         * benchtests/slowcos.c: New file.
31302         * benchtests/slowtan-inputs: New file.
31303         * benchtests/slowtan.c: New file.
31304         * benchtests/tan-inputs: New file.
31306 2013-04-16  Roland McGrath  <roland@hack.frob.com>
31308         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
31309         considered kosher.
31311 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31313         * benchtests/Makefile: Include cppflags-iterator.mk to add
31314         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
31316         * Makefile.in (bench-clean): New target.
31317         * benchtests/Makefile (bench-clean): Likewise.
31319 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
31321         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
31323 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
31325         * stdio-common/tstdiomisc.c: Fix coding-style violation.
31327 2013-04-15  Andreas Schwab  <schwab@suse.de>
31329         * nscd/grpcache.c (cache_addgr): Properly check for short write.
31330         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31331         * nscd/pwdcache.c (cache_addpw): Likewise.
31332         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
31333         more than recsize.
31335 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31337         * benchtests/Makefile (bench): Write all output to
31338         bench-out.tmp together.
31340 2013-04-15  Andreas Schwab  <schwab@suse.de>
31342         * nscd/nscd.c (main): Don't fork again after closing files.
31344 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31346         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
31348         * benchtests/Rules (bench-deps): Collect dependencies into a
31349         single variable.  Add Makefile to dependencies.
31350         ($(objpfx)bench-%.c): Depend on bench-deps.
31352 2013-04-12  Roland McGrath  <roland@hack.frob.com>
31353             Xavier Roche  <roche+kml2@exalead.com>
31355         [BZ #15361]
31356         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
31357         just that it's a file descriptor.
31358         * manual/llio.texi (Synchronizing AIO Operations): Update description
31359         for EBADF error from aio_fsync.
31361 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31363         * Rules (bench): Move target definition...
31364         * benchtests/Makefile: ... here.
31366 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
31368         * math/libm-test.inc (cos_test): Fix PI/2 test.
31369         (sincos_test): Likewise.
31370         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31371         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
31373 2013-04-11  Andreas Schwab  <schwab@suse.de>
31375         [BZ #13988]
31376         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
31377         accept exponent character only when digits were seen.
31378         * stdio-common/Makefile (tests): Add bug26.
31379         * stdio-common/bug26.c: New file.
31381         [BZ #14293]
31382         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
31383         non-freeable.
31385 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31387         * Makeconfig (rtld-prefix): Define built linker prefix.
31388         * Rules (run-bench): Use it.
31389         * math/Makefile (run-regen-ulps): Likewise.
31391         * Rules (bench): Remove eval.
31393 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31394             Roland McGrath  <roland@hack.frob.com>
31395             Ondrej Bilka  <neleai@seznam.cz>
31397         [BZ #15346]
31398         * time/getdate.c: Include ctype.h and alloca.h.
31399         (__getdate_r): Trim leading and trailing spaces of input.
31400         * time/tst-getdate.c (tests): Add tests with leading and
31401         trailing spaces.
31403 2013-04-08  Roland McGrath  <roland@hack.frob.com>
31405         [BZ #14280]
31406         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
31407         when computing value.
31409 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31411         * math/README.libm-test (How can I generate "libm-test-ulps"?):
31412         Use testrun.sh to run libm tests.
31414         [BZ #15309]
31415         * elf/dl-open.c (dl_open_worker): memset all of seen array.
31417 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
31419         [BZ #15264]
31420         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
31422 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31424         * Makefile.in (regen-ulps): New target.
31425         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
31426         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
31427         [ifneq (no,$(PERL)] (regen-ulps): New target.
31428         [ifeq (no,$(PERL)] (regen-ulps): New target.
31429         * math/libm-test.inc (ulps_file_name): Define.
31430         (output_dir): New variable.
31431         (options): Add "output-dir" option.
31432         (parse_opt): Handle 'o' case.
31433         (main): If output_dir is non-NULL use it as a prefix
31434         otherwise use "".
31435         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
31437 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31439         [BZ #10060, #10062]
31440         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
31441         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
31442         fail configure if __sync_val_compare_and_swap is not inlined.
31443         * sysdeps/i386/configure: Regenerate.
31444         * configure.in: Build for i686 when configured for i386.
31445         * configure: Regenerate.
31446         * README: Remove i386 reference.
31448 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
31450         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
31451         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31453 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
31455         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
31456         (lmsnanval): New variables.
31457         (F): Add conversion tests.
31458         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
31459         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
31461         * stdio-common/tstdiomisc.c (F): Properly collect individual
31462         tests' results.
31464         [BZ #14686, #15336]
31465         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
31466         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
31467         Instead, use input NaN values or generate a qNaN by arithmetic
31468         operation.  Also fix bugs to comply with the standard.
31469         * math/libm-test.inc (remainder_test): Add more tests.
31471         [BZ #15335, #15342]
31472         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
31473         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
31474         input NaN values or generate a qNaN by arithmetic operation.
31476         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
31477         unreachable code.
31479         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
31480         definitions.
31482 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
31484         [BZ #14478]
31485         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
31486         underflowed result.
31487         * math/s_cexpf.c (__cexpf): Likewise.
31488         * math/s_cexpl.c (__cexpl): Likewise.
31489         * math/libm-test.inc (cexp_test): Add more tests.
31491 2013-04-03  Andreas Schwab  <schwab@suse.de>
31493         [BZ #15330]
31494         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
31495         order arrays from heap if bigger than alloca cutoff.
31497 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
31499         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
31500         (SNAN_TESTS_double): Refer to GCC PR56831.
31501         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
31502         GCC PR56828.
31504 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31506         * Rules (bench): Move bench.out after the run is complete.
31508         * Rules (bench): Echo currently running benchmark.
31510         * benchtests/Makefile (bench): Add atan and slowatan.
31511         * benchtests/atan-inputs: New file.
31512         * benchtests/slowatan-inputs: New file.
31513         * benchtests/slowatan.c: New file.
31515         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
31516         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
31517         its value.
31519         [BZ #15305]
31520         * sysdeps/unix/sysv/linux/kernel-features.h
31521         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
31522         __ASSUME_XFS_RESTRICTED_CHOWN.
31523         * sysdeps/unix/sysv/linux/pathconf.c
31524         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31525         Save and restore errno.
31527 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
31529         [BZ #15327]
31530         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
31531         arguments using __kernel_casinh.
31532         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
31533         arguments using __kernel_casinhf.
31534         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
31535         arguments using __kernel_casinhl.
31536         * math/libm-test.inc (cacosh_test): Add more tests.
31537         * sysdeps/i386/fpu/libm-test-ulps: Update.
31538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31540 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31542         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
31543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
31545         * bench/Makefile (bench): Add sin and slowsin.
31546         * benchtests/sin-inputs: New file.
31547         * benchtests/slowsin-inputs: New file.
31548         * benchtests/slowsin.c: New file.
31550         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
31551         (bench): Add slowexp and slowpow.
31552         (exp-ITER): Increase iterations.
31553         (pow-ITER): Likewise.
31554         * benchtests/exp-inputs: Change input.
31555         * benchtests/pow-inputs: Likewise.
31556         * benchtests/slowexp-inputs: New file.
31557         * benchtests/slowexp.c: New file.
31558         * benchtests/slowpow-inputs: New file.
31559         * benchtests/slowpow.c: New file.
31561 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31563         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
31564         instructions.
31565         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31566         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
31567         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31568         * benchtests/Makefile: Add rint benchtest.
31569         * benchtests/rint-inputs: Input for rint benchtest.
31571 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31573         * Versions.def (libm): Add GLIBC_2.18.
31574         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
31575         hidden libm prototypes.
31576         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
31577         * math/Makefile (libm-calls): Add s_issignaling.
31578         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
31579         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
31580         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
31581         declaration.
31582         * math/math.h [__USE_GNU] (issignaling): New macro.
31583         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
31584         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
31585         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
31586         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
31587         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
31588         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
31589         * manual/arith.texi (issignaling): New section.
31590         * manual/libm-err-tab.pl (@all_functions): Update comment.
31591         * math/gen-libm-test.pl (parse_args): Apply special handling for
31592         issignaling.
31593         * math/libm-test.inc (print_float, issignaling_test): New
31594         functions.
31595         (check_float_internal): Add issignaling checks.
31596         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
31597         default definition.
31598         * sysdeps/powerpc/math-tests.h: New file.
31599         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31600         tests.
31601         * math/test-snan.c (TEST_FUNC): Likewise.
31603 2013-03-30  David S. Miller  <davem@davemloft.net>
31605         * po/de.po: Update from translation team.
31607 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
31609         [BZ #10357]
31610         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31611         imaginary part less than 1.0 and real part less than 0.5
31612         specially.
31613         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31614         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31615         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31616         (cacos_test): Add more tests.
31617         (casin_test): Likewise.
31618         (casinh_test): Likewise.
31619         * sysdeps/i386/fpu/libm-test-ulps: Update.
31620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31622 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31624         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31625         ONE with its value.
31627         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31628         (__pow_mp): Replace ONE and MONE with their values.
31629         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31630         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31631         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31632         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31633         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31634         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31636         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31638         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31639         (__pow_mp): Replace ZERO and MZERO with their values.
31640         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31641         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31642         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31643         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31644         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31645         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31646         (__sqr): Likewise.
31648         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31650         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31652 2013-03-28  Roland McGrath  <roland@hack.frob.com>
31654         * include/stdlib.h [!SHARED] (__call_tls_dtors):
31655         Declare with __attribute__ ((weak)).
31656         * stdlib/exit.c (__libc_atexit) [!SHARED]:
31657         Call __call_tls_dtors only if it's not NULL.
31659 2013-03-28  Roland McGrath  <roland@hack.frob.com>
31661         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31662         didn't do it already, then set _dl_phdr and _dl_phnum based on the
31663         magic __ehdr_start linker symbol if it's defined.
31664         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31665         them up here if it was already done.
31667         * elf/dl-support.c (_dl_phdr): Make pointer to const.
31668         (_dl_aux_init): Use const in cast when setting it.
31669         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31670         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31671         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31673         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31674         Declare them here.
31675         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31676         * csu/libc-tls.c: Nor here.
31677         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31679         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31680         (__libc_message): Never call vsyslog.
31682 2013-03-28  Alan Modra  <amodra@gmail.com>
31684         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31685         Define as empty.
31686         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31687         Likewise.
31689 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31691         [BZ #15214]
31692         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31693         underflow.
31694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31696 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31698         [BZ #15304]
31699         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31700         Don't add gid passed as argument.
31702         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31704 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
31706         [BZ #15307]
31707         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31708         imaginary part between 1.0 and 1.5 and real part less than 0.5
31709         specially.
31710         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31711         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31712         * math/libm-test.inc (cacos_test): Add more tests.
31713         (casin_test): Likewise.
31714         (casinh_test): Likewise.
31715         * sysdeps/i386/fpu/libm-test-ulps: Update.
31716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31718 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31720         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31721         constants.
31722         (norm): Likewise.
31723         (denorm): Likewise.
31724         (__dbl_mp): Likewise.
31725         (add_magnitudes): Likewise.
31726         (sub_magnitudes): Likewise.
31727         (__add): Likewise.
31728         (__sub): Likewise.
31729         (__mul): Likewise.
31730         (__sqr): Likewise.
31731         (__inv): Likewise.
31732         (__dvd): Likewise.
31734         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31735         commented code.
31736         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31737         (__dubcos): Likewise.
31738         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31739         (__ieee754_acos): Likewise.
31740         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31741         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31742         (__exp1): Likewise.
31743         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31744         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31745         (log1): Likewise.
31746         (my_log2): Likewise.
31747         (checkint): Likewise.
31748         * sysdeps/ieee754/dbl-64/e_remainder.c
31749         (__ieee754_remainder): Likewise.
31750         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31751         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31752         (bsloww): Likewise.
31753         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31755         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31756         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31757         MANTISSA_STORE_T to store computations on mantissa.  Use
31758         macros for rounding and division.
31759         (denorm): Likewise.
31760         (__dbl_mp): Likewise.
31761         (add_magnitudes): Likewise.
31762         (sub_magnitudes): Likewise.
31763         (__mul): Likewise.
31764         (__sqr): Likewise.
31765         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31766         powers of two in terms of TWOPOW macro.
31767         (mp_no): Make type of mantissa as MANTISSA_T.
31768         [!RADIXI]: Define RADIXI.
31769         [!TWO52]: Define TWO52.
31770         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31772 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31774         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31775         llroundl symbol when building for PPC32.
31777 2013-03-24  Mark H Weaver  <mhw@netris.org>
31779         * manual/arith.texi (Normalization Functions): Fix prototypes for
31780         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31782 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31784         [BZ #13889]
31785         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31786         high value to check if expl overflow.
31787         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31788         to check for underflow and overflow.
31789         * math/libm-test.inc: Add exp test.
31791 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
31793         [BZ #11120]
31794         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31795         with NOT_IN_libc.
31797 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31799         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31800         symbol.
31802 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31804         * math/gen-libm-test.pl (parse_args, special_functions): Properly
31805         wrap blocks consisting of several statements.
31807         * sysdeps/generic/math-tests.h: New file.
31808         * sysdeps/i386/fpu/math-tests.h: Likewise.
31809         * math/test-snan.c: Include it.
31810         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31812 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
31814         [BZ #15285]
31815         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31816         (__ieee754_j0l): Do not improve calculations using cos of twice
31817         input for inputs above LDBL_MAX / 2.0L.
31818         (__ieee754_y0l): Likewise.
31819         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31820         (__ieee754_j1l): Do not improve calculations using cos of twice
31821         input for inputs above LDBL_MAX / 2.0L.
31822         (__ieee754_y1l): Likewise.
31823         * math/libm-test.inc (j0_test): Add another test.
31824         (j1_test): Likewise.
31825         (y0_test): Likewise.
31826         (y1_test): Likewise.
31827         * sysdeps/i386/fpu/libm-test-ulps: Update.
31829 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31831         * Rules ($(objpfx)bench-%.c): Include code from a C source
31832         file.
31834 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
31836         [BZ #15287]
31837         * math/k_casinh.c (__kernel_casinh): Handle arguments with
31838         imaginary part 1.0 and real part less than 0.5 specially.
31839         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31840         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31841         * math/libm-test.inc (cacos_test): Add more tests.
31842         (casin_test): Likewise.
31843         (casinh_test): Likewise.
31844         * sysdeps/i386/fpu/libm-test-ulps: Update.
31845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31847 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31849         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31850         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31852 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
31854         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31855         * config.make.in (config-cflags-sse4): Remove variable.
31856         (config-cflags-avx): Likewise.
31857         (config-cflags-sse2avx): Likewise.
31858         (config-cflags-novzeroupper): Likewise.
31859         (config-asflags-i686): Likewise.
31860         (have-mfma4): Likewise.
31861         (have-as-vis3): Likewise.
31862         (MIG): Likewise.
31863         * configure.in (MIG): Do not AC_SUBST.
31864         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31865         (libc_cv_cc_sse4): Do not AC_SUBST.
31866         (libc_cv_cc_avx): Likewise.
31867         (libc_cv_cc_sse2avx): Likewise.
31868         (libc_cv_cc_novzeroupper): Likewise.
31869         (libc_cv_cc_fma4): Likewise.
31870         (libc_cv_as_i686): Likewise.
31871         (libc_cv_sparc_as_vis3): Likewise.
31872         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31873         LIBC_CONFIG_VAR.
31874         (config-asflags-i686): Likewise.
31875         (config-cflags-avx): Likewise.
31876         (config-cflags-sse2avx): Likewise.
31877         (have-mfma4): Likewise.
31878         (config-cflags-novzeroupper): Likewise.
31879         * sysdeps/mach/configure.in (MIG): Likewise.
31880         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31881         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31882         LIBC_CONFIG_VAR.
31883         (config-cflags-avx): Likewise.
31884         (config-cflags-sse2avx): Likewise.
31885         (have-mfma4): Likewise.
31886         (config-cflags-novzeroupper): Likewise.
31887         * configure: Regenerated.
31888         * sysdeps/i386/configure: Likewise.
31889         * sysdeps/mach/configure: Likewise.
31890         * sysdeps/sparc/configure: Likewise.
31891         * sysdeps/x86_64/configure: Likewise.
31893 2013-03-20  Roland McGrath  <roland@hack.frob.com>
31895         [BZ #14812]
31896         * locale/programs/localedef.c (options): Put N_ translation marker
31897         on argument names, not just descriptions.
31899 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31901         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31903 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
31905         [BZ #14176]
31906         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31908 2013-03-19  Roland McGrath  <roland@hack.frob.com>
31910         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31911         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31912         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31913         [!BEFORE_ABORT] (before_abort): New function.
31914         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31915         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31916         (writev_for_fatal): New function.
31917         (WRITEV_FOR_FATAL): New macro; call that.
31918         (backtrace_and_maps): New function.
31919         (BEFORE_ABORT): New macro; call that.
31920         (struct str_list): Type removed.
31921         (__libc_message, __libc_fatal): Functions removed.
31922         Include <sysdeps/posix/libc_fatal.c> instead.
31924 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
31926         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31927         constants.
31928         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31929         double constants.
31931 2013-03-19  Andreas Schwab  <schwab@suse.de>
31933         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31934         * sysdeps/gnu/configure: Regenerate.
31936         * configure.in: Substitute libc_cv_rtlddir.
31937         * configure: Regenerate.
31938         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31939         * Makeconfig (rtlddir, inst_rtlddir): New variables.
31940         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31941         * elf/Makefile (install-others, CFLAGS-interp.c)
31942         (ldso_install, common-ldd-rewrite): Likewise.
31943         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31944         $(inst_slibdir)/$(rtld-installed-name).
31945         * scripts/rellns-sh: Add -p option.
31946         * Makerules (make-shlib-link): Use rellns-sh to get relative name
31947         for source.
31949 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31951         * manual/nptl.texi: Renamed to ...
31952         * manual/threads.texi: ... this.
31953         * manual/Makefile (chapters): Update.
31955 2013-03-18  Roland McGrath  <roland@hack.frob.com>
31957         [BZ #14812]
31958         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31959         on argument names, not just descriptions.
31960         * malloc/memusagestat.c (options): Likewise.
31961         * nss/getent.c (options): Likewise.
31963 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
31965         [BZ #14812]
31966         * iconv/iconv_prog.c (options): Put N_ translation marker
31967         on argument names, not just descriptions.
31968         * iconv/iconvconfig.c (options): Likewise.
31970 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
31972         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31973         implementation which is faster on all x86_64 architectures.
31974         Tested on AMD, Intel Nehalem, SNB, IVB.
31975         * sysdeps/x86_64/strnlen.S: Likewise.
31977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31978         Remove all multiarch strlen and strnlen versions.
31979         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31980         Remove strlen and strnlen related parts.
31982         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31983         Inline strlen part.
31984         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31986         * sysdeps/x86_64/multiarch/strlen.S: Remove.
31987         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31988         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31989         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31990         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31991         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31993 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
31995         * manual/memory.texi (Malloc Tunable Parameters):
31996         Sort parameters alphabetically. Add comments for missing entries.
31998 2013-03-17  David S. Miller  <davem@davemloft.net>
32000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32002 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
32004         [BZ #15283]
32005         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32006         for arguments at most half maximum finite value.
32007         * math/libm-test.inc (j0_test): Add more tests.
32008         (j1_test): Likewise.
32009         (y0_test): Likewise.
32010         (y1_test): Likewise.
32011         * sysdeps/i386/fpu/libm-test-ulps: Update.
32012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32014         [BZ #14155]
32015         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32016         1 / x and functions P and Q for arguments above 0x1p256L.
32017         (__ieee754_y0l): Likewise.
32018         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32019         (__ieee754_y1l): Likewise.
32020         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32021         (j1_test): Likewise.
32022         (y0_test): Likewise.
32023         (y1_test): Likewise.
32025 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
32027         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32028         variable.
32030 2013-03-15  Roland McGrath  <roland@hack.frob.com>
32032         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32033         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32034         zero since it's initialized to EXEC_PAGESIZE.
32036         * sysdeps/unix/sysv/linux/ldsodefs.h
32037         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32038         * sysdeps/generic/ldsodefs.h: ... here.
32040 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
32042         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32044         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32045         math/test-snan.c.
32046         * math/test-snan.c: Renamed from
32047         sysdeps/powerpc/fpu/test-powerpc-snan.c.
32048         * math/Makefile (tests): Add test-snan.
32049         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32050         test-powerpc-snan.
32052         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32053         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
32054         functions.
32055         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
32056         __builtin_nan family of functions.
32057         * math/libm-test.inc (initialize): Initialize qnan_value with
32058         __builtin_nan family of functions.
32059         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32060         Remove variables.
32061         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32062         Remove functions.
32063         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
32064         storage class.  Initialize qNaN_var and sNaN_var with
32065         __builtin_nan and __builtin_nans families of functions,
32066         respectively.
32068         * math/libm-test.inc (acosh_test): Also test with qNaN input.
32069         (sqrt_test): Remove duplicate test with qNaN input.
32070         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32071         (round_test, signbit_test, significand_test): Note missing +/-Inf
32072         as well as qNaN tests.
32074         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32075         qNaN_var.  Fix a few strings, too.
32076         * math/libm-test.inc (nan_value): Rename to qnan_value.
32077         * math/gen-libm-test.pl (%beautify): Adjust to that.
32078         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32079         * math/test-misc.c (main): Likewise.
32080         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32081         to __qnan_bytes, and __qnan_union, respectively.
32082         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32083         Likewise.
32084         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
32085         and lqnanval, respectively.
32086         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
32087         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
32088         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
32089         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
32091         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
32092         * math/test-misc.c (main) [__x86_64__]: Enable test for long
32093         doubles.
32095         * math/test-misc.c (main): Fix copy'n'pastos.
32096         * misc/tst-efgcvt.c (special): Likewise.
32098         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
32099         Remove declarations.
32101 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32103         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
32104         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
32105         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
32106         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
32108 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32110         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
32111         macro to return vdso values correctly in IFUNC implementations.
32112         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
32113         Optimization by using IFUNC.
32115 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32116             Richard Henderson  <rth@redhat.com>
32117             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32119         * Makefile.in (bench): New target.
32120         * NEWS: Mention the benchmark framework.
32121         * Rules (bench): Likewise.
32122         (binaries-bench): Generate binaries for functions to
32123         benchmark.
32124         * benchtests/Makefile: New makefile for benchmark tests.
32125         * benchtests/bench-skeleton.c: New skeleton file for benchmark
32126         programs.
32127         * benchtests/exp-inputs: New input file for EXP function.
32128         * benchtests/pow-inputs: New input file for POW function.
32129         * scripts/bench.pl: New script to generate source files for
32130         benchmark programs.
32132 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32134         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32135         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
32136         computations on mantissa.  Use macros for rounding and
32137         division.
32138         (denorm): Likewise.
32139         (__dbl_mp): Likewise.
32140         (add_magnitudes): Likewise.
32141         (sub_magnitudes): Likewise.
32142         (__mul): Likewise.
32143         (__sqr): Likewise.
32144         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
32145         powers of two in terms of TWOPOW macro.
32146         (mp_no): Make type of mantissa as MANTISSA_T.
32147         [!RADIXI]: Define RADIXI.
32148         [!TWO52]: Define TWO52.
32149         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32151         * manual/nptl.texi (cindex): Modify threads to pthreads.
32153 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
32155         * sysdeps/x86_64/preconfigure: Regenerated.
32157 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
32159         [BZ #14155]
32160         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
32161         0x1p28 and above.
32162         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
32163         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
32164         0x1p28 and above.
32165         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
32166         * math/libm-test.inc (j0_test): Do not allow one spurious
32167         underflow exception.
32168         (y1_test): Likewise.
32170 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32172         * manual/Makefile (chapters): Add nptl.
32173         * manual/debug.texi (Debugging Support): Add link to Threads
32174         chapter.
32175         * manual/nptl.texi: New file.
32177         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
32179 2013-03-14  Petr Baudis  <pasky@ucw.cz>
32181         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
32182         for non-NULL pointer before the memory validity test. Pointed
32183         out by Holger Brunck <holger.brunck@keymile.com>.
32185 2013-03-13  Andreas Schwab  <schwab@suse.de>
32187         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
32188         instead of .os.
32190 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
32192         * timezone/zic.c: Update from tzcode 2013b.
32194 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
32196         * manual/install.texi (Configuring and compiling):
32197         Mention i686 and i586.
32198         * INSTALL: Regenerate.
32200 2013-03-12  Roland McGrath  <roland@hack.frob.com>
32202         * sysdeps/init_array/elf-init.c: New file.
32203         * csu/elf-init.c
32204         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
32205         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
32207         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
32208         __gmon_start__ as global, but as static with a .preinit_array pointer.
32209         * sysdeps/init_array/gmon-start.c: New file.  Use that.
32210         * sysdeps/init_array/crti.S: New file, empty except for comments.
32211         * sysdeps/init_array/crtn.S: Likewise.
32213 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
32215         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
32216         definining bcopy.
32217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32218         Remove Prefer_SSE_for_memop.
32219         * sysdeps/x86_64/multiarch/init-arch.h: Remove
32220         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
32221         HAS_PREFER_SSE_FOR_MEMOP.
32222         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
32223         memset-x86-64.
32224         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32225         Remove bzero, memset ifunc support.
32226         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
32227         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
32228         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32229         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32231 2013-03-11  Andreas Schwab  <schwab@suse.de>
32233         [BZ #15234]
32234         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
32235         by SHLIB_COMPAT.
32236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
32237         (GLIBC_2.16): Remove pthread_atfork.
32239 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32241         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
32242         (ptestcases.h): Likewise.
32244 2013-03-08  Roland McGrath  <roland@hack.frob.com>
32246         * Makeconfig ($(common-objpfx)config.status): Depend on
32247         sysdeps/*/preconfigure{,.in} too.
32249 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
32251         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
32252         (__free_hook): Use void * instead of __malloc_ptr_t.
32253         (__malloc_hook): Likewise.
32254         (__realloc_hook): Likewise.
32255         (__memalign_hook): Likewise.
32256         (__after_morecore_hook): Likewise.
32257         * malloc/arena.c (save_malloc_hook): Likewise.
32258         (save_free_hook): Likewise.
32259         * malloc/hooks.c (malloc_hook_ini): Likewise.
32260         (realloc_hook_ini): Likewise.
32261         (memalign_hook_ini): Likewise.
32262         * malloc/malloc.c (malloc_hook_ini): Likewise.
32263         (realloc_hook_ini): Likewise.
32264         (memalign_hook_ini): Likewise.
32265         (__free_hook): Likewise.
32266         (__malloc_hook): Likewise.
32267         (__realloc_hook): Likewise.
32268         (__memalign_hook): Likewise.
32269         (__libc_malloc): Likewise.
32270         (__libc_free): Likewise.
32271         (__libc_realloc): Likewise.
32272         (__libc_memalign): Likewise.
32273         (__libc_valloc): Likewise.
32274         (__libc_pvalloc): Likewise.
32275         (__libc_calloc): Likewise.
32276         (__posix_memalign): Likewise.
32277         * malloc/morecore.c (__sbrk): Likewise.
32278         (__default_morecore): Likewise.
32280         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
32282         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
32283         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
32284         __malloc_ptrdiff_t.
32286         * malloc/malloc.h (__malloc_size_t): Remove macro.
32287         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
32288         __malloc_size_t.
32289         (old_memalign_hook): Likewise.
32290         (old_realloc_hook): Likewise.
32291         (struct hdr): Likewise.
32292         (flood): Likewise.
32293         (mallochook): Likewise.
32294         (memalignhook): Likewise.
32295         (reallochook): Likewise.
32296         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
32297         (tr_old_realloc_hook): Likewise.
32298         (tr_old_memalign_hook): Likewise.
32299         (tr_mallochook): Likewise.
32300         (tr_reallochook): Likewise.
32301         (tr_memalignhook): Likewise.
32303 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32305         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
32306         default_ldbl_pack and using as default implementation.
32307         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
32308         implementation.
32309         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
32310         redundant definition.
32311         (ldbl_insert_mantissa): Likewise.
32312         (ldbl_canonicalize): Likewise.
32313         (ldbl_nearbyint): Likewise.
32314         (ldbl_pack): Rename to ldbl_pack_ppc.
32315         (ldbl_unpack): Rename to ldbl_unpack_ppc.
32316         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
32317         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
32319 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
32322         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
32323         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
32324         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
32325         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
32326         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
32327         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
32328         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
32330 2013-03-07  Andreas Jaeger  <aj@suse.de>
32332         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32333         bits/mman-linux.h.
32335 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
32337         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
32338         Include mpa.h and declare __MPEXP.
32339         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
32340         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32341         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32342         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
32343         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32344         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
32345         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
32347         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
32348         (__slowpow): Use long double EXPL and LOGL functions to
32349         compute POW.
32350         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
32351         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32352         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
32353         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
32354         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
32355         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
32357         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
32358         intermediate variable to calculate exponent.
32359         (__sqr): Likewise.
32360         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32361         Likewise.
32362         (__sqr): Likewise.
32364         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
32365         [!NO__SQR]: Define __sqr.
32366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
32367         and NO__SQR.  Remove all code except __mul and __sqr.  Include
32368         sysdeps/ieee754/dbl-64/mpa.c.
32369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32371         [BZ #12723]
32372         * posix/Makefile (tests): Add tst-pathconf.
32373         * posix/tst-pathconf.c: New test case.
32374         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
32375         _PC_PIPE_BUF.
32376         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
32378 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
32380         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
32382 2013-03-06  Andreas Jaeger  <aj@suse.de>
32384         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
32385         definition via __MAP_ANONYMOUS.
32387         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
32388         it's not part of Linux headers.
32390         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
32391         (MAP_HUGE_MASK): Define.
32393         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32394         Define.
32395         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32396         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32397         Define.
32398         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32399         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
32400         Define.
32401         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32402         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
32403         Define.
32404         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
32406         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
32407         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
32408         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
32409         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
32410         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
32411         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
32413         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32414         Handle f2fs.
32416         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32417         Handle f2fs and efivarfs.
32419         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
32420         f2fs.
32422         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
32423         (EFIVARFS_MAGIC): Add.
32424         (F2FS_LINK_MAX): Add.
32426 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32428         * stdio-common/vfprintf.c: Replace __builtin_expect with
32429         __glibc_unlikely.
32431 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
32433         [BZ #13550]
32434         * sysdeps/generic/bp-sym.h: Remove file.
32435         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
32436         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
32437         <bp-sym.h> and <bp-asm.h>.
32438         (__longjmp): Don't use BP_SYM.
32439         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
32440         and <bp-asm.h>.
32441         (memcpy): Don't use BP_SYM.
32442         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
32443         <bp-sym.h> and <bp-asm.h>.
32444         (memcpy): Don't use BP_SYM.
32445         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
32446         <bp-asm.h>.
32447         (memcpy): Don't use BP_SYM.
32448         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
32449         <bp-asm.h>.
32450         (memset): Don't use BP_SYM.
32451         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32452         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32453         (__bzero): Don't use BP_SYM.
32454         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32455         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32456         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
32457         <bp-sym.h> and <bp-asm.h>.
32458         (memcmp): Don't use BP_SYM.  Remove comment about bounded
32459         pointers.
32460         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
32461         <bp-sym.h> and <bp-asm.h>.
32462         (memcpy): Don't use BP_SYM.
32463         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
32464         <bp-sym.h> and <bp-asm.h>.
32465         (memset): Don't use BP_SYM.
32466         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32467         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32468         (__bzero): Don't use BP_SYM.
32469         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32470         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32471         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
32472         <bp-sym.h> and <bp-asm.h>.
32473         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32474         pointers.
32475         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
32476         <bp-sym.h> and <bp-asm.h>.
32477         (memcpy): Don't use BP_SYM.
32478         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
32479         <bp-sym.h> and <bp-asm.h>.
32480         (memset): Don't use BP_SYM.
32481         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32482         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32483         (__bzero): Don't use BP_SYM.
32484         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32485         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32486         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
32487         <bp-sym.h> and <bp-asm.h>.
32488         (__memchr): Don't use BP_SYM.
32489         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
32490         <bp-sym.h> and <bp-asm.h>.
32491         (memcmp): Don't use BP_SYM.  Remove comment about bounded
32492         pointers.
32493         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
32494         <bp-sym.h> and <bp-asm.h>.
32495         (memcpy): Don't use BP_SYM.
32496         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
32497         <bp-sym.h> and <bp-asm.h>.
32498         (__mempcpy): Don't use BP_SYM.
32499         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
32500         <bp-sym.h> and <bp-asm.h>.
32501         (__memrchr): Don't use BP_SYM.
32502         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
32503         <bp-sym.h> and <bp-asm.h>.
32504         (memset): Don't use BP_SYM.
32505         (__bzero): Likewise.
32506         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
32507         <bp-sym.h> and <bp-asm.h>.
32508         (__rawmemchr): Don't use BP_SYM.
32509         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
32510         <bp-sym.h> and <bp-asm.h>.
32511         (__STRCMP): Don't use BP_SYM.
32512         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
32513         <bp-sym.h> and <bp-asm.h>.
32514         (strchr): Don't use BP_SYM.
32515         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
32516         <bp-sym.h> and <bp-asm.h>.
32517         (__strchrnul): Don't use BP_SYM.
32518         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
32519         <bp-sym.h> and <bp-asm.h>.
32520         (strlen): Don't use BP_SYM.
32521         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
32522         <bp-sym.h> and <bp-asm.h>.
32523         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32524         pointers.
32525         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
32526         <bp-sym.h> and <bp-asm.h>.
32527         (__strnlen): Don't use BP_SYM.
32528         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
32529         <bp-sym.h> and <bp-asm.h>.
32530         (__GI__setjmp): Don't use BP_SYM.
32531         (_setjmp): Likewise.
32532         (__sigsetjmp): Likewise.
32533         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
32534         (L(start_addresses)): Don't use BP_SYM.
32535         (_start): Likewise.
32536         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
32537         <bp-asm.h>.
32538         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
32539         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
32540         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32541         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32542         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
32543         <bp-asm.h>.
32544         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
32545         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
32546         about bounded pointers.
32547         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32548         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32549         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
32550         <bp-asm.h>.
32551         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
32552         about bounded pointers.  Remove GKM FIXME comments.
32553         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32554         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
32555         <bp-asm.h>.
32556         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
32557         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
32558         Remove GKM FIXME comments.
32559         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32560         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32561         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
32562         <bp-asm.h>.
32563         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
32564         about bounded pointers.  Remove GKM FIXME comment.
32565         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
32566         and <bp-asm.h>.
32567         (strncmp): Don't use BP_SYM.  Remove comment about bounded
32568         pointers.
32569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
32570         <bp-sym.h> and <bp-asm.h>.
32571         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
32573         <bp-sym.h> and <bp-asm.h>.
32574         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
32575         comment.
32577 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32579         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
32580         call free(NULL).
32582 2013-03-05  David S. Miller  <davem@davemloft.net>
32584         * po/es.po: Update from translation team.
32586 2013-03-05  Andreas Jaeger  <aj@suse.de>
32588         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
32589         <bits/mman-linux.h>.
32590         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32591         is fine.
32592         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
32593         <bits/mman-linux.h> to end of file.
32594         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32595         is fine.
32596         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
32597         <bits/mman-linux.h> to end of file.
32598         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32599         is fine.
32600         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32601         <bits/mman-linux.h> to end of file.
32603         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32604         (MCL_CURRENT, MCL_FUTURE): Define here.
32606 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32608         [BZ #15232]
32609         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32610         attribute_hidden.
32611         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32613 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32615         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32616         fourth parameter needed for rt_sigprocmask syscall.
32617         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32618         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32619         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32620         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32621         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32622         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32624 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
32626         [BZ #13550]
32627         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32628         comment about bounded pointers.
32629         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32630         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32632 2013-03-04  Andreas Jaeger  <aj@suse.de>
32634         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32635         common definitions.
32637         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32638         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32639         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32640         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32641         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32642         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32644 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32646         [BZ #15055]
32647         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32648         __ieee754_sqrl instead of __sqrl.
32650 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
32652         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32653         * sysdeps/powerpc/fpu_control.h: ... here.
32654         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32655         * sysdeps/powerpc/bits/fenvinline.h: ... here.
32656         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32657         * sysdeps/powerpc/bits/mathinline.h: ... here.
32659 2013-03-01  Roland McGrath  <roland@hack.frob.com>
32661         * elf/dl-hwcaps.c (_dl_important_hwcaps):
32662         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32663         to just [NEED_DL_SYSINFO_DSO].
32664         * elf/dl-support.c: Likewise.
32665         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32666         * elf/rtld.c (dl_main): Likewise.
32667         * elf/setup-vdso.h (setup_vdso): Likewise.
32668         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32669         * sysdeps/unix/sysv/linux/dl-sysdep.c
32670         (_dl_discover_osversion): Likewise.
32672 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
32674         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32675         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32677 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32679         * NEWS: Mention libm performance improvements and non-x86 PI
32680         futex support.
32682         * csu/libc-start.c (__pthread_initialize_minimal): Change
32683         function arguments.
32684         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32686 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
32688         [BZ #13550]
32689         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32690         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32691         <bp-sym.h> and <bp-asm.h>.
32692         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32693         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32694         and <bp-asm.h>.
32695         (memcpy): Don't use BP_SYM.
32696         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32697         <bp-asm.h>.
32698         (__mpn_add_n): Don't use BP_SYM.
32699         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32700         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32701         and <bp-asm.h>.
32702         (__mpn_addmul_1): Don't use BP_SYM.
32703         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32704         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32705         <bp-sym.h>.
32706         (_setjmp): Don't use BP_SYM.
32707         (__novmx_setjmp): Likewise.
32708         (__GI__setjmp): Likewise.
32709         (__vmx_setjmp): Likewise.
32710         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32711         <bp-sym.h>.
32712         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32713         (__bzero): Don't use BP_SYM.
32714         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32715         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32716         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32717         <bp-sym.h> and <bp-asm.h>.
32718         (memcpy): Don't use BP_SYM.
32719         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32720         <bp-sym.h> and <bp-asm.h>.
32721         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32722         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32723         <bp-sym.h> and <bp-asm.h>.
32724         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32725         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32726         <bp-asm.h>.
32727         (__mpn_lshift): Don't use BP_SYM.
32728         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32729         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32730         <bp-asm.h>.
32731         (memset): Don't use BP_SYM.
32732         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32733         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32734         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32735         <bp-asm.h>.
32736         (__mpn_mul_1): Don't use BP_SYM.
32737         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32738         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32739         <bp-sym.h> and <bp-asm.h>.
32740         (memcmp): Don't use BP_SYM.
32741         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32742         <bp-sym.h> and <bp-asm.h>.
32743         (memcpy): Don't use BP_SYM.
32744         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32745         <bp-sym.h> and <bp-asm.h>.
32746         (memset): Don't use BP_SYM.
32747         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32748         <bp-sym.h> and <bp-asm.h>.
32749         (strncmp): Don't use BP_SYM.
32750         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32751         <bp-sym.h> and <bp-asm.h>.
32752         (memcpy): Don't use BP_SYM.
32753         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32754         <bp-sym.h> and <bp-asm.h>.
32755         (memset): Don't use BP_SYM.
32756         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32757         <bp-sym.h> and <bp-asm.h>.
32758         (__memchr): Don't use BP_SYM.
32759         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32760         <bp-sym.h> and <bp-asm.h>.
32761         (memcmp): Don't use BP_SYM.
32762         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32763         <bp-sym.h> and <bp-asm.h>.
32764         (memcpy): Don't use BP_SYM.
32765         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32766         <bp-sym.h> and <bp-asm.h>.
32767         (__mempcpy): Don't use BP_SYM.
32768         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32769         <bp-sym.h> and <bp-asm.h>.
32770         (__memrchr): Don't use BP_SYM.
32771         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32772         <bp-sym.h> and <bp-asm.h>.
32773         (memset): Don't use BP_SYM.
32774         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32775         <bp-sym.h> and <bp-asm.h>.
32776         (__rawmemchr): Don't use BP_SYM.
32777         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32778         <bp-sym.h> and <bp-asm.h>.
32779         (__STRCMP): Don't use BP_SYM.
32780         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32781         <bp-sym.h> and <bp-asm.h>.
32782         (strchr): Don't use BP_SYM.
32783         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32784         <bp-sym.h> and <bp-asm.h>.
32785         (__strchrnul): Don't use BP_SYM.
32786         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32787         <bp-sym.h> and <bp-asm.h>.
32788         (strlen): Don't use BP_SYM.
32789         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32790         <bp-sym.h> and <bp-asm.h>.
32791         (strncmp): Don't use BP_SYM.
32792         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32793         <bp-sym.h> and <bp-asm.h>.
32794         (__strnlen): Don't use BP_SYM.
32795         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32796         <bp-asm.h>.
32797         (__mpn_rshift): Don't use BP_SYM.
32798         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32799         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32800         <bp-sym.h> and <bp-asm.h>.
32801         (__sigsetjmp): Don't use BP_SYM.
32802         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32803         (L(start_addresses)): Don't use BP_SYM.
32804         (_start): Likewise.
32805         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32806         <bp-asm.h>.
32807         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32808         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32809         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32810         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32811         <bp-asm.h>.
32812         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32813         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32814         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32815         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32816         <bp-asm.h>.
32817         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
32818         comments.
32819         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32820         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32821         <bp-asm.h>.
32822         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
32823         FIXME comments.
32824         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32825         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32826         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32827         <bp-asm.h>.
32828         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
32829         comment.
32830         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32831         and <bp-asm.h>.
32832         (strncmp): Don't use BP_SYM,
32833         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32834         <bp-asm.h>.
32835         (__mpn_sub_n): Don't use BP_SYM.
32836         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32837         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32838         and <bp-asm.h>.
32839         (__mpn_submul_1): Don't use BP_SYM.
32840         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32842         <bp-sym.h> and <bp-asm.h>.
32843         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32845         <bp-sym.h> and <bp-asm.h>.
32846         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
32847         comment.
32849 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32851         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32852         Use ZK to minimize writes to Z.
32853         (sub_magnitudes): Simplify code a bit.
32854         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32855         Use ZK to minimize writes to Z.
32856         (sub_magnitudes): Simplify code a bit.
32858 2013-02-27  Roland McGrath  <roland@hack.frob.com>
32860         * csu/gmon-start.c: Add special exception to license text.
32862 2013-02-27  Richard Henderson  <rth@redhat.com>
32864         * scripts/config.guess: Update from config.git.
32865         * scripts/config.sub: Likewise.
32867 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32869         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32871         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32873         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32875         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32877         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32879 2013-02-26  Roland McGrath  <roland@hack.frob.com>
32881         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32882         [$(build-shared = yes].
32884 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32886         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32887         (__mul): Reduce iterations for calculating mantissa.
32889         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32890         MPTWO.
32891         (__mpranred): Likewise.
32893         [BZ #15160]
32894         * malloc/memusagestat.c (main): Draw graphs for heap and stack
32895         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32897 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
32899         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32900         Define __attribute__.
32902 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32904         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32905         unused.
32906         * posix/regex_internal.h (__attribute): Remove.
32907         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32908         (re_string_context_at): Likewise.
32909         (bitset_not): Use __attribute__ and mark function as possibly
32910         unused.
32911         (bitset_merge): Likewise.
32912         (bitset_mask): Likewise.
32913         (re_string_char_size_at): Likewise.
32914         (re_string_wchar_at): Likewise.
32915         (re_string_elem_size_at): Likewise.
32917 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32919         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32920         code.
32921         (cc32): Likewise.
32923         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32924         (__acr): Likewise.
32925         (__cpy): Likewise.
32926         (norm): Likewise.
32927         (denorm): Likewise.
32928         (__dbl_mp): Likewise.
32929         (add_magnitudes): Likewise.
32930         (sub_magnitudes): Likewise.
32931         (__mul): Likewise.
32932         (__inv): Likewise.
32934         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32935         style.
32937         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32938         style.
32940         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32941         code.
32943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32944         up changes with default code.
32945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32946         Likewise.
32948 2013-02-24  Allan McRae  <allan@archlinux.org>
32950         * manual/socket.texi (The Internet Namespace): Order menu items
32951         to match that in the file.
32953         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32954         node listing of the info page menu.
32956 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
32958         [BZ #13550]
32959         * sysdeps/i386/bp-asm.h: Remove file.
32960         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32961         (PARMS): Do not use macros from bp-asm.h.
32962         (S1): Likewise.
32963         (S2): Likewise.
32964         (SIZE): Likewise.
32965         (__mpn_add_n): Do not use BP_SYM
32966         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32967         "bp-asm.h".
32968         (PARMS): Do not use macros from bp-asm.h.
32969         (S1): Likewise.
32970         (SIZE): Likewise.
32971         (__mpn_addmul_1): Do not use BP_SYM
32972         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32973         "bp-asm.h".
32974         (PARMS): Do not use macros from bp-asm.h.
32975         (SIGMSK): Likewise.
32976         (_setjmp): Likewise.  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/fpu/s_frexp.S: Do not include "bp-sym.h" and
32983         "bp-asm.h".
32984         (PARMS): Do not use macros from bp-asm.h.
32985         (__frexp): Do not use BP_SYM.
32986         (frexp): Likewise.
32987         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32988         "bp-asm.h".
32989         (PARMS): Do not use macros from bp-asm.h.
32990         (__frexpf): Do not use BP_SYM.
32991         (frexpf): Likewise.
32992         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32993         "bp-asm.h".
32994         (PARMS): Do not use macros from bp-asm.h.
32995         (__frexpl): Do not use BP_SYM.
32996         (frexpl): Likewise.
32997         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32998         "bp-asm.h".
32999         (PARMS): Do not use macros from bp-asm.h.
33000         (__remquo): Do not use BP_SYM.
33001         (remquo): Likewise.
33002         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33003         "bp-asm.h".
33004         (PARMS): Do not use macros from bp-asm.h.
33005         (__remquof): Do not use BP_SYM.
33006         (remquof): Likewise.
33007         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33008         "bp-asm.h".
33009         (PARMS): Do not use macros from bp-asm.h.
33010         (__remquol): Do not use BP_SYM.
33011         (remquol): Likewise.
33012         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33013         "bp-asm.h".
33014         (PARMS): Do not use macros from bp-asm.h.
33015         (DEST): Likewise.
33016         (SRC): Likewise.
33017         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
33018         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33019         "bp-asm.h".
33020         (PARMS): Do not use macros from bp-asm.h.
33021         (strlen): Do not use BP_SYM.
33022         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33023         "bp-asm.h".
33024         (PARMS): Do not use macros from bp-asm.h.
33025         (S1): Likewise.
33026         (S2): Likewise.
33027         (SIZE): Likewise.
33028         (__mpn_add_n): Do not use BP_SYM.
33029         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33030         "bp-asm.h".
33031         (PARMS): Do not use macros from bp-asm.h.
33032         (S1): Likewise.
33033         (SIZE): Likewise.
33034         (__mpn_addmul_1): Do not use BP_SYM.
33035         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33036         weak_alias.
33037         (bzero): Likewise.
33038         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33039         "bp-asm.h".
33040         (PARMS): Do not use macros from bp-asm.h.
33041         (S): Likewise.
33042         (SIZE): Likewise.
33043         (__mpn_lshift): Do not use BP_SYM.
33044         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33045         "bp-asm.h".
33046         (PARMS): Do not use macros from bp-asm.h.
33047         (DEST): Likewise.
33048         (SRC): Likewise.
33049         (LEN): Likewise.
33050         (memcpy): Likewise.  Do not use BP_SYM.
33051         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33052         libc_hidden_def and weak_alias.
33053         (mempcpy): Do not use BP_SYM in weak_alias.
33054         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33055         "bp-asm.h".
33056         (PARMS): Do not use macros from bp-asm.h.
33057         (DEST): Likewise.
33058         (LEN): Likewise.
33059         [!BZERO_P] (CHR): Likewise.
33060         (memset): Likewise.  Do not use BP_SYM.
33061         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33062         "bp-asm.h".
33063         (PARMS): Do not use macros from bp-asm.h.
33064         (S1): Likewise.
33065         (SIZE): Likewise.
33066         (__mpn_mul_1): Do not use BP_SYM.
33067         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33068         "bp-asm.h".
33069         (PARMS): Do not use macros from bp-asm.h.
33070         (S): Likewise.
33071         (SIZE): Likewise.
33072         (__mpn_rshift): Do not use BP_SYM.
33073         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33074         "bp-asm.h".
33075         (PARMS): Do not use macros from bp-asm.h.
33076         (STR): Likewise.
33077         (CHR): Likewise.
33078         (strchr): Likewise.  Do not use BP_SYM.
33079         (index): Do not use BP_SYM in weak_alias.
33080         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33081         "bp-asm.h".
33082         (PARMS): Do not use macros from bp-asm.h.
33083         (DEST): Likewise.
33084         (SRC): Likewise.
33085         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
33086         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
33087         "bp-asm.h".
33088         (PARMS): Do not use macros from bp-asm.h.
33089         (strlen): Do not use BP_SYM.
33090         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
33091         "bp-asm.h".
33092         (PARMS): Do not use macros from bp-asm.h.
33093         (S1): Likewise.
33094         (S2): Likewise.
33095         (SIZE): Likewise.
33096         (__mpn_sub_n): Do not use BP_SYM.
33097         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
33098         "bp-asm.h".
33099         (PARMS): Do not use macros from bp-asm.h.
33100         (S1): Likewise.
33101         (SIZE): Likewise.
33102         (__mpn_submul_1): Do not use BP_SYM.
33103         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
33104         "bp-asm.h".
33105         (PARMS): Do not use macros from bp-asm.h.
33106         (S1): Likewise.
33107         (S2): Likewise.
33108         (SIZE): Likewise.
33109         (__mpn_add_n): Do not use BP_SYM.
33110         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
33111         weak_alias.
33112         (bzero): Likewise.
33113         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
33114         "bp-asm.h".
33115         (PARMS): Do not use macros from bp-asm.h.
33116         (BLK2): Likewise.
33117         (LEN): Likewise.
33118         (memcmp): Do not use BP_SYM.
33119         (bcmp): Do not use BP_SYM in weak_alias.
33120         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
33121         "bp-asm.h".
33122         (PARMS): Do not use macros from bp-asm.h.
33123         (DEST): Likewise.
33124         (SRC): Likewise.
33125         (LEN): Likewise.
33126         (memcpy): Likewise.  Do not use BP_SYM.
33127         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
33128         "bp-asm.h".
33129         (PARMS): Do not use macros from bp-asm.h.
33130         (DEST): Likewise.
33131         (SRC): Likewise.
33132         (LEN): Likewise.
33133         (memmove): Likewise.  Do not use BP_SYM.
33134         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
33135         "bp-asm.h".
33136         (PARMS): Do not use macros from bp-asm.h.
33137         (DEST): Likewise.
33138         (SRC): Likewise.
33139         (LEN): Likewise.
33140         (__mempcpy): Likewise.  Do not use BP_SYM.
33141         (mempcpy): Do not use BP_SYM in weak_alias.
33142         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
33143         "bp-asm.h".
33144         (PARMS): Do not use macros from bp-asm.h.
33145         (DEST): Likewise.
33146         (LEN): Likewise.
33147         [!BZERO_P] (CHR): Likewise.
33148         (memset): Likewise.  Do not use BP_SYM.
33149         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
33150         "bp-asm.h".
33151         (PARMS): Do not use macros from bp-asm.h.
33152         (STR2): Likewise.
33153         (strcmp): Do not use BP_SYM.
33154         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
33155         "bp-asm.h".
33156         (PARMS): Do not use macros from bp-asm.h.
33157         (STR): Likewise.
33158         (DELIM): Likewise.
33159         [USE_AS_STRTOK_R] (SAVE): Likewise.
33160         (FUNCTION): Likewise.  Do not use BP_SYM.
33161         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
33162         aliases.
33163         (strtok_r): Likewise.
33164         (__GI___strtok_r): Likewise.
33165         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33166         (PARMS): Do not use macros from bp-asm.h.
33167         (S): Likewise.
33168         (SIZE): Likewise.
33169         (__mpn_lshift): Do not use BP_SYM.
33170         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33171         (PARMS): Do not use macros from bp-asm.h.
33172         (STR): Likewise.
33173         (CHR): Likewise.
33174         (__memchr): Do not use BP_SYM.
33175         (memchr): Do not use BP_SYM in weak_alias.
33176         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33177         (PARMS): Do not use macros from bp-asm.h.
33178         (BLK2): Likewise.
33179         (LEN): Likewise.
33180         (memcmp): Do not use BP_SYM.
33181         (bcmp): Do not use BP_SYM in weak_alias.
33182         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
33183         (PARMS): Do not use macros from bp-asm.h.
33184         (S1): Likewise.
33185         (SIZE): Likewise.
33186         (__mpn_mul_1): Do not use BP_SYM.
33187         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
33188         "bp-asm.h".
33189         (PARMS): Do not use macros from bp-asm.h.
33190         (STR): Likewise.
33191         (CHR): Likewise.
33192         (__rawmemchr): Do not use BP_SYM.
33193         (rawmemchr): Do not use BP_SYM in weak_alias.
33194         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
33195         (PARMS): Do not use macros from bp-asm.h.
33196         (S): Likewise.
33197         (SIZE): Likewise.
33198         (__mpn_rshift): Do not use BP_SYM.
33199         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
33200         (PARMS): Do not use macros from bp-asm.h.
33201         (SIGMSK): Likewise.
33202         (__sigsetjmp): Likewise.  Do not use BP_SYM.
33203         * sysdeps/i386/start.S: Do not include "bp-sym.h".
33204         (_start): Do not use BP_SYM.
33205         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
33206         (PARMS): Do not use macros from bp-asm.h.
33207         (DEST): Likewise.
33208         (SRC): Likewise.
33209         (__stpcpy): Likewise.  Do not use BP_SYM.
33210         (stpcpy): Do not use BP_SYM in weak_alias.
33211         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
33212         "bp-asm.h".
33213         (PARMS): Do not use macros from bp-asm.h.
33214         (DEST): Likewise.
33215         (SRC): Likewise.
33216         (LEN): Likewise.
33217         (__stpncpy): Likewise.  Do not use BP_SYM.
33218         (stpncpy): Do not use BP_SYM in weak_alias.
33219         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
33220         (PARMS): Do not use macros from bp-asm.h.
33221         (STR): Likewise.
33222         (CHR): Likewise.
33223         (strchr): Likewise.  Do not use BP_SYM.
33224         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
33225         "bp-asm.h".
33226         (PARMS): Do not use macros from bp-asm.h.
33227         (STR): Likewise.
33228         (CHR): Likewise.
33229         (__strchrnul): Likewise.  Do not use BP_SYM.
33230         (strchrnul): Do not use BP_SYM in weak_alias.
33231         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
33232         "bp-asm.h".
33233         (PARMS): Do not use macros from bp-asm.h.
33234         (STOP): Likewise.
33235         (strcspn): Do not use BP_SYM.
33236         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
33237         "bp-asm.h".
33238         (PARMS): Do not use macros from bp-asm.h.
33239         (STR): Likewise.
33240         (STOP): Likewise.
33241         (strpbrk): Likewise.  Do not use BP_SYM.
33242         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
33243         "bp-asm.h".
33244         (PARMS): Do not use macros from bp-asm.h.
33245         (STR): Likewise.
33246         (CHR): Likewise.
33247         (strrchr): Likewise.  Do not use BP_SYM.
33248         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
33249         (PARMS): Do not use macros from bp-asm.h.
33250         (SKIP): Likewise.
33251         (strspn): Do not use BP_SYM.
33252         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
33253         (PARMS): Do not use macros from bp-asm.h.
33254         (STR): Likewise.
33255         (DELIM): Likewise.
33256         (SAVE): Likewise.
33257         (FUNCTION): Likewise.  Do not use BP_SYM.
33258         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
33259         aliases.
33260         (strtok_r): Likewise.
33261         (__GI___strtok_r): Likewise.
33262         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33263         (PARMS): Do not use macros from bp-asm.h.
33264         (S1): Likewise.
33265         (S2): Likewise.
33266         (SIZE): Likewise.
33267         (__mpn_sub_n): Do not use BP_SYM.
33268         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
33269         "bp-asm.h".
33270         (PARMS): Do not use macros from bp-asm.h.
33271         (S1): Likewise.
33272         (SIZE): Likewise.
33273         (__mpn_submul_1): Do not use BP_SYM.
33274         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
33275         <bp-sym.h>.
33276         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
33277         and <bp-asm.h>.
33278         (PARMS): Do not use macros from bp-asm.h.
33279         (FLAGS): Likewise.
33280         (PTID): Likewise.
33281         (TLS): Likewise.
33282         (CTID): Likewise.
33283         (__clone): Do not use BP_SYM.
33284         (clone): Do not use BP_SYM in weak_alias.
33285         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
33286         and <bp-asm.h>.
33287         (PARMS): Do not use macros from bp-asm.h.
33288         (LEN): Likewise.
33289         (__mmap64): Do not use BP_SYM.
33290         (mmap64): Do not use BP_SYM in weak_alias.
33291         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33292         <bp-sym.h> and <bp-asm.h>.
33293         (PARMS): Do not use macros from bp-asm.h.
33294         (__posix_fadvise64_l64): Do not use BP_SYM.
33295         * sysdeps/unix/sysv/linux/i386/semtimedop.S
33296         (PARMS): Do not use macros from bp-asm.h.
33297         (NSOPS): Likewise.
33298         (semtimedop): Do not use BP_SYM.
33299         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
33300         and <bp-asm.h>.
33302 2013-02-21  Allan McRae  <allan@archlinux.org>
33304         * manual/message.texi (Charset conversion in gettext):
33305         Move @end statement to beginning of line.
33307 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
33310         static.
33311         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33312         Likewise.
33314         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
33315         (denorm): Likewise.
33316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
33317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
33319 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33321         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
33322         tail-call to the resolved function if pltexit isn't needed.
33324 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33326         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
33327         or Y being zero as being unlikely.
33328         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33329         Likewise.
33331 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
33333         * manual/nss.texi (System Databases and Name Service Switch):
33334         Remove frobnicate @pxref.
33336 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33338         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33339         __attribute__ ((unused)) to __attribute__ ((__unused__)).
33341 2013-02-20  Petr Machata  <pmachata@redhat.com>
33343         * elf/elf.h (R_ARM_TARGET1): New macro.
33344         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
33345         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
33346         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
33347         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
33348         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
33349         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
33350         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
33351         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
33352         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
33353         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
33354         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
33355         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
33356         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
33357         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
33358         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
33359         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
33360         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
33361         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
33362         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
33363         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
33364         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
33365         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
33366         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
33367         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
33368         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
33369         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
33370         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
33371         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
33372         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
33373         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
33374         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
33375         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
33376         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
33377         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
33378         (R_ARM_THM_GOT_BREL12): Likewise.
33379         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
33380         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
33381         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
33382         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
33383         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
33384         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
33385         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
33386         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
33387         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
33389 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
33391         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
33392         __attribute_used__ to __attribute__ ((unused)).
33394 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33396         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
33397         powerpc mpa.c.
33398         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
33399         comment formatting.
33400         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
33402 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
33404         [BZ #13550]
33405         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
33406         Remove macro.
33407         (ENTER): Remove both macro definitions.
33408         (LEAVE): Likewise.
33409         (CHECK_BOUNDS_LOW): Likewise.
33410         (CHECK_BOUNDS_HIGH): Likewise.
33411         (CHECK_BOUNDS_BOTH): Likewise.
33412         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
33413         (RETURN_BOUNDED_POINTER): Likewise.
33414         (RETURN_NULL_BOUNDED_POINTER): Likewise.
33415         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
33416         (POP_ERRNO_LOCATION_RETURN): Likewise.
33417         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
33418         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33419         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
33420         macros.
33421         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33422         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
33423         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
33424         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
33425         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
33426         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
33427         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
33428         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
33429         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
33430         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
33431         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
33432         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
33433         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33434         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
33435         removed macros.
33436         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33437         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
33438         macros.
33439         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33440         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
33441         * sysdeps/i386/i586/memset.S (memset): Likewise.
33442         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
33443         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33444         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
33445         macros.
33446         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33447         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
33448         Change uses of L(2) to L(out).
33449         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
33450         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
33451         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
33452         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33453         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
33454         removed macros.
33455         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33456         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
33457         macros.
33458         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33459         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
33460         (RETURN): Do not use macro LEAVE.
33461         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
33462         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
33463         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
33464         * sysdeps/i386/i686/memset.S (memset): Likewise.
33465         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
33466         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
33467         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33468         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
33469         Likewise.
33470         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33471         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
33472         L(1_2) and L(1_3) into L(1).
33473         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33474         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
33475         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33476         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
33477         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33478         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
33479         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
33480         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33481         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
33482         macros.
33483         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
33484         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33485         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
33486         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
33487         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
33488         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33489         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
33490         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
33491         * sysdeps/i386/strcspn.S (strcspn): Likewise.
33492         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
33493         * sysdeps/i386/strrchr.S (strrchr): Likewise.
33494         * sysdeps/i386/strspn.S (strspn): Likewise.
33495         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
33496         conditional code.
33497         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33498         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
33499         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
33500         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
33501         L(1_3) into L(1_1).
33502         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
33503         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33504         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
33505         macros.
33506         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33508 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
33510         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
33511         macro.
33513 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33515         * math/atest-exp.c (exp_mpn): Remove ROUND.
33516         * math/atest-exp2.c (exp_mpn): Likewise.
33517         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
33519         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
33520         * stdlib/tst-tls-atexit-lib.c: Likewise.
33521         * stdlib/tst-tls-atexit.c: Likewise.
33523 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33525         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
33526         and __attribute_alloc_size__.
33528 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33530         * include/programs/xmalloc.h: Change __attribute_alloc_size to
33531         __attribute_alloc_size__.
33532         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
33533         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
33535 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
33537         * include/programs/xmalloc.h: New file.
33538         * catgets/gencat.c: Include it.
33539         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
33540         * elf/pldd.c: Likewise.
33541         * iconv/iconv_charmap.c: Likewise.
33542         * iconv/iconvconfig.c: Likewise.
33543         * iconv/strtab.c: Likewise.
33544         * locale/programs/locale.c: Likewise.
33545         * locale/programs/localedef.h: Likewise.
33546         * locale/programs/simple-hash.c: Likewise.
33547         * nscd/nscd.h: Likewise.
33548         * nss/makedb.c: Likewise.
33549         * sysdeps/generic/ldconfig.h: Likewise.
33551 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33553         * Versions.def: Add GLIBC_2.18.
33554         * include/link.h (struct link_map): New member l_tls_dtor_count.
33555         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
33556         (__call_tls_dtors): Likewise.
33557         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
33558         __cxa_thread_atexit_impl.
33559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33560         Likewise.
33561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33562         Likewise.
33563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33564         Likewise.
33565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33566         Likewise.
33567         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
33569         Likewise.
33570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
33571         Likewise.
33572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33574         Likewise.
33575         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
33576         (tests): Add test case tst-tls-atexit.
33577         (modules-names): Add shared library for tst-tls-atexit.
33578         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
33579         (GLIBC_PRIVATE): Add __call_tls_dtors.
33580         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
33581         for libstdc++.
33582         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33583         * stdlib/tst-tls-atexit.c: New test case.
33584         * stdlib/tst-tls-atexit-lib.c: New test case.
33586         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
33588         * elf/Versions (ld): Add _dl_find_dso_for_object.
33589         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
33590         * elf/dl-open.c (_dl_find_dso_for_object): New function.
33591         (dl_open_worker): Use _dl_find_dso_for_object.
33592         * elf/dl-sym.c (do_sym): Likewise.
33593         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
33595 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33597         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33598         Syntactic changes only.
33599         (_dl_runtime_profile): Do a tail-call to the resolved function.
33601 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
33603         [BZ #13550]
33604         * sysdeps/x86_64/bp-asm.h: Remove file.
33605         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33606         <bp-sym.h> and <bp-asm.h>.
33607         (__clone): Do not use BP_SYM.
33608         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33609         <bp-sym.h> and <bp-asm.h>.
33610         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33611         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33612         "bp-asm.h".
33613         (_setjmp): Do not use BP_SYM.
33614         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33615         "bp-asm.h".
33616         (setjmp): Do not use BP_SYM.
33617         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33618         libc_hidden_def.
33619         (mempcpy): Do not use BP_SYM in weak_alias.
33620         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33621         "bp-asm.h".
33622         (strchr): Do not use BP_SYM.
33623         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33624         "bp-asm.h".
33625         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33626         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33627         (_start): Do not use BP_SYM.
33628         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33629         "bp-asm.h".
33630         (strcat): Do not use BP_SYM.
33631         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33632         "bp-asm.h".
33633         (STRCMP): Do not use BP_SYM.
33634         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33635         "bp-asm.h".
33636         (STRCPY): Do not use BP_SYM.
33637         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33638         "bp-asm.h".
33639         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33640         "bp-asm.h".
33641         (FUNCTION): Do not use BP_SYM.
33642         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33643         weak_alias.
33644         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33646 2013-02-17  Andreas Jaeger  <aj@suse.de>
33648         * time/Versions: Sort entries.
33649         * string/Versions: Likewise.
33650         * resolv/Versions: Likewise.
33651         * posix/Versions: Likewise.
33652         * iconv/Versions: Likewise.
33653         * elf/Versions: Likewise.
33654         * wcsmbs/Versions: Likewise.
33656 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33658         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33659         loop termination condition.
33661         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33662         variable to calculate EZ.
33663         (__sqr): Likewise.
33665         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33666         the lower precision input.
33668 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
33670         [BZ #13550]
33671         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33672         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33673         (run-via-rtld-prefix): Do not handle %-bp tests.
33674         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33675         (all-object-suffixes): Remove .ob.
33676         (bppfx): Remove variable.
33677         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33678         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33679         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33680         [$(build-bounded) = yes] (libtype.ob): Likewise.
33681         * Makerules (elide-routines.ob): Remove variable.
33682         (do-tests-clean): Do not handle *-bp.out.
33683         (common-mostlyclean): Do not handle *-bp and *-bp.out.
33684         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33685         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33686         (tests): Do not include $(tests-bp.out).
33687         (xtests): Do not include $(xtests-bp.out).
33688         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33689         [$(build-bounded) = yes] ($(addprefix
33690         $(objpfx),$(binaries-bounded))): Remove rule.
33691         ($(objpfx)%-bp.out): Remove rule.
33692         * config.make.in (build-bounded): Remove variable.
33693         * crypt/Makefile [$(build-bounded) = yes]
33694         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33695         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33696         append to variable.
33697         [$(build-bounded) = yes] (install-lib): Likewise.
33698         [$(build-bounded) = yes] (generated): Likewise.
33699         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33700         Remove rule.
33701         * intl/Makefile [$(build-bounded) = yes]
33702         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33703         * math/Makefile [$(build-bounded) = yes]
33704         ($(tests:%=$(objpfx)%-bp): Likewise.
33705         * misc/Makefile [$(build-bounded) = yes]
33706         ($(objpfx)tst-tsearch-bp): Likewise.
33707         * nptl/Makeconfig (bounded-thread-library): Remove variable.
33708         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33709         Remove dependency.
33710         * string/Makefile (o-objects.ob): Remove variable.
33711         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33712         (CFLAGS-.ob): Remove variable.
33713         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33714         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33715         both definitions of variable.
33716         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33717         (ASFLAGS-.ob): Remove variable.
33719 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
33721         [BZ #13550]
33722         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33723         Remove __BOUNDED_POINTERS__ from condition.
33724         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33725         * string/bits/string2.h [!__NO_STRING_INLINES &&
33726         !__BOUNDED_POINTERS__]: Likewise.
33727         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33728         Likewise.
33729         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33730         Remove conditional code.
33731         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33732         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33733         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33734         condition.
33736         [BZ #13550]
33737         * csu/libc-start.c: Do not include <bp-sym.h>.
33738         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33739         * elf/dl-open.c: Do not include <bp-sym.h>.
33740         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33741         * math/fegetenv.c: Do not include <bp-sym.h>.
33742         (fegetenv): Do not use BP_SYM in versioned symbols.
33743         * nptl/sysdeps/pthread/bits/libc-lockP.h
33744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33745         <bp-sym.h>.
33746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33747         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33749         (__pthread_mutex_destroy): Likewise.
33750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33751         (__pthread_mutex_lock): Likewise.
33752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33753         (__pthread_mutex_trylock): Likewise.
33754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33755         (__pthread_mutex_unlock): Likewise.
33756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33757         (__pthread_mutexattr_init): Likewise.
33758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33759         (__pthread_mutexattr_destroy): Likewise.
33760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33761         (__pthread_mutexattr_settype): Likewise.
33762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33763         (__pthread_rwlock_init): Likewise.
33764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33765         (__pthread_rwlock_destroy): Likewise.
33766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33767         (__pthread_rwlock_rdlock): Likewise.
33768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33769         (__pthread_rwlock_tryrdlock): Likewise.
33770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33771         (__pthread_rwlock_wrlock): Likewise.
33772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33773         (__pthread_rwlock_trywrlock): Likewise.
33774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33775         (__pthread_rwlock_unlock): Likewise.
33776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33777         (__pthread_key_create): Likewise.
33778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33779         (__pthread_setspecific): Likewise.
33780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33781         (__pthread_getspecific): Likewise.
33782         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33783         Likewise.
33784         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33785         (_pthread_cleanup_push_defer): Likewise.
33786         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33787         (_pthread_cleanup_pop_restore): Likewise.
33788         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33789         (pthread_setcancelstate): Likewise.
33790         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33791         <bp-sym.h>.
33792         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33793         (memchr): Do not use BP_SYM in weak_alias.
33794         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33795         (fegetenv): Do not use BP_SYM in versioned symbols.
33796         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33797         (fesetenv): Do not use BP_SYM in versioned symbols.
33798         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33799         (feupdateenv): Do not use BP_SYM in versioned symbols.
33800         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33801         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33802         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33803         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33804         (open64): Do not use BP_SYM in weak_alias.
33805         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33806         (fegetenv): Do not use BP_SYM in versioned symbols.
33807         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33808         (fesetenv): Do not use BP_SYM in versioned symbols.
33809         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33810         (feupdateenv): Do not use BP_SYM in versioned symbols.
33811         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33812         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33813         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33814         (feraiseexcept): Do not use BP_SYM in versioned symbols.
33815         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33816         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33817         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33818         <bp-sym.h>.
33819         (__libc_start_main): Do not use BP_SYM.
33821 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33824         redundant return line.
33825         (norm): Likewise.
33826         (denorm): Likewise.
33827         (dbl_mp): Likewise.
33828         (sub_magnitudes): Likewise.
33829         (__add): Likewise.
33830         (__sub): Likewise.
33831         (__mul): Likewise.
33832         (__inv): Likewise.
33833         (__dvd): Likewise.
33834         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33835         (norm): Likewise.
33836         (denorm): Likewise.
33837         (dbl_mp): Likewise.
33838         (sub_magnitudes): Likewise.
33839         (__add): Likewise.
33840         (__sub): Likewise.
33841         (__mul): Likewise.
33842         (__inv): Likewise.
33843         (__dvd): Likewise.
33845         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33846         instead of __mul.
33847         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33848         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33849         (cc32): Likewise.
33851         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33852         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33853         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33854         of __mul for squares.
33855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33856         function
33857         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33858         Likewise.
33859         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33860         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33862 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
33864         [BZ #13550]
33865         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33866         code.
33867         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33868         prototype or function definition.  Rename ubp_* variables and
33869         parameters.  Remove argv definitions conditional on
33870         [__BOUNDED_POINTERS__].
33871         * debug/backtrace.c (__backtrace): Do not use __unbounded.
33872         * elf/dl-runtime.c (_dl_fixup): Likewise.
33873         * include/set-hooks.h (RUN_HOOK): Likewise.
33874         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33875         definition.
33876         * string/strcpy.c (strcpy): Do not use __unbounded.
33877         * sysdeps/generic/frame.h (struct layout): Likewise.
33878         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33879         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33880         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33881         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33882         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33883         (__backtrace): Likewise.
33884         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33885         use __ptrvalue.
33886         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33887         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33888         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33889         Likewise.
33890         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33891         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33892         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33893         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33894         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33895         Do not use __unbounded.
33896         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33897         Rename __unboundedrlimits parameter to rlimits in prototype.
33898         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33899         Do not use __unbounded.
33900         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33901         not use __ptrvalue.
33902         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33903         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33904         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33905         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33906         __ptrvalue or __unbounded.
33907         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33908         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33909         use __unbounded.
33910         (__new_msgctl): Do not use __ptrvalue.
33911         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33912         __unbounded.
33913         (__libc_msgrcv): Do not use __ptrvalue.
33914         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33915         startup_info): Do not use __unbounded.
33916         (__libc_start_main): Likewise.  Rename ubp_* variables and
33917         parameters.  Remove argv definitions conditional on
33918         [__BOUNDED_POINTERS__].
33919         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33920         __ptrvalue.
33921         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33922         use __unbounded.
33923         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33924         or __ptrvalue.
33925         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33926         use __unbounded.
33927         (__new_shmctl): Do not use __ptrvalue.
33928         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33929         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33930         Likewise.
33931         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33932         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33933         (__libc_sigaction): Likewise.
33934         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33935         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33936         Likewise.
33937         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33939 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
33941         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
33943         * string/mempcpy.c: Implement by calling memcpy.
33945 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33947         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33949         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33950         evaluation.
33952         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33953         values in the mantissa.
33955         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33956         minimize writes to Z.
33957         (sub_magnitudes): Simplify code a bit.
33959 2013-02-12  Roland McGrath  <roland@hack.frob.com>
33961         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33962         from the message.  The linker prefixes all warnings with that already.
33964 2013-02-12  Andreas Schwab  <schwab@suse.de>
33966         [BZ #15078]
33967         * posix/regexec.c (extend_buffers): Add parameter min_len.
33968         (check_matching): Pass minimum needed length.
33969         (clean_state_log_if_needed): Likewise.
33970         (get_subexp): Likewise.
33971         * posix/Makefile (tests): Add bug-regex34.
33972         (bug-regex34-ENV): Define.
33973         * posix/bug-regex34.c: New file.
33975         [BZ #11561]
33976         * posix/regcomp.c (parse_bracket_exp): When looking up collating
33977         elements compare against the byte sequence of it, not its name.
33978         * posix/Makefile (tests): Add bug-regex35.
33979         (bug-regex35-ENV): Define.
33980         * posix/bug-regex35.c: New file.
33982 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33984         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
33985         comment.
33986         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33987         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33988         (CHECK_EOL): Add undef.
33990 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
33992         * bits/stdlib-bsearch.h: New file.
33993         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
33994         * stdlib/stdlib.h: Likewise.
33996 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33998         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33999         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34000         declaration.
34001         * manual/search.texi (Array Search Function): Add missing const in
34002         lfind prototype.
34003         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34004         declaration to use rlim_t.
34005         (Basic Scheduling Functions): Remove erroneous const from
34006         sched_getparam prototype.  Remove erroneous * from
34007         sched_get_priority_max and sched_get_priority_min prototypes.
34008         (Resource Usage): Fix summary @comment on vtimes to refer to
34009         sys/vtimes.h rather than vtimes.h.
34010         Add missing *s in vtimes prototype.
34011         (Limits on Resources): Fix ulimit prototype to return long int.
34012         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34013         prototypes to use long int rather than double.
34014         (BSD Random): Fix initstate and setstate to use char *, not void *.
34015         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34016         prototype to make second argument 'struct aiocb64 *const[]'.
34017         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34018         (Status of AIO Operations): Remove erroneous const in aio_return and
34019         aio_return64 prototypes.
34020         (Synchronizing I/O): Fix sync prototype to return void.
34021         * manual/startup.texi (Suboptions): Remove an erroneous const in
34022         getsubopt prototype.
34023         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34024         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34025         use size_t rather than int.
34026         (Scanning All Users): Likewise for getpwent_r.
34027         (Setting Groups): Add missing const to setgroups prototype.
34028         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34029         * manual/socket.texi (Host Names): Fix gethostbyaddr and
34030         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34031         'const void *' rather than 'const char *'.
34032         (Host Address Functions): Likewise for inet_ntop.
34033         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34034         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34035         ssize_t for return value.
34036         (Sending Data): Likewise for send, sendto, sendmsg.
34037         (Socket Option Functions): Add a missing const in setsockopt prototype.
34038         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34039         use wchar_t for the argument.
34040         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34041         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34042         take no arguments.
34043         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34044         double/float/long double for second argument.
34045         Fix return types of significand, significandf, significandl.
34046         * manual/filesys.texi (Setting Permissions): Use mode_t for second
34047         argument in fchmod prototype.
34048         (File Owner): Use uid_t and gid_t in fchown prototype.
34049         (File Times): Add const to utimes, futimes, and lutimes prototypes.
34050         (Making Special Files): Use mode_t and dev_t in mknod prototype.
34051         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34052         use 'const struct dirent **' as argument types to CMP function pointer
34053         argument.
34054         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34055         (File Times): Fix summary magic @comment for struct utimbuf and utime
34056         to refer to utime.h, not time.h.
34057         * manual/string.texi (Argz Functions): Add missing const in
34058         argz_extract and argz_next prototypes.
34059         (Finding Tokens in a String): Likewise for basename.
34060         (String/Array Comparison): Fix typo in wcscasecmp prototype.
34061         (Copying and Concatenation): Fix typo in wmemmove prototype.
34062         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34063         (Signal Stack): Remove erroneous const in sigstack prototype.
34064         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34065         prototype.
34066         (Simple Calendar Time): Likewise for stime.
34067         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34068         prototype.
34069         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34070         say sys/sysctl.h instead.
34071         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34072         and vsyslog prototypes.
34074 2013-02-11  Tom de Vries  <tom@codesourcery.com>
34076         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34077         Remove.
34079 2013-02-11  Roland McGrath  <roland@hack.frob.com>
34081         * misc/sys/mman.h: Fix typo in mremap comment.
34083 2013-02-08  Roland McGrath  <roland@hack.frob.com>
34085         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
34086         the '\0' terminator.
34088 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
34090         [BZ #13550]
34091         * debug/segfault.c: Don't include <bp-checks.h>.
34092         * sysdeps/generic/bp-checks.h: Remove file.
34093         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
34094         (__GETDENTS): Don't use CHECK_N.
34095         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
34096         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34097         (__getgroups): Don't use CHECK_N.
34098         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
34099         (setgroups): Don't use CHECK_N.
34100         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
34101         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
34102         (__libc_msgrcv): Don't use CHECK_N.
34103         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
34104         (__libc_msgsnd): Don't use CHECK_N.
34105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
34106         <bp-checks.h>.
34107         (__libc_pread): Don't use CHECK_N.
34108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
34109         include <bp-checks.h>.
34110         (__libc_pread64): Don't use CHECK_N.
34111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
34112         include <bp-checks.h>.
34113         (__libc_pwrite): Don't use CHECK_N.
34114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
34115         include <bp-checks.h>.
34116         (__libc_pwrite64): Don't use CHECK_N.
34117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
34118         <bp-checks.h>.
34119         (__libc_pread): Don't use CHECK_N.
34120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
34121         include <bp-checks.h>.
34122         (__libc_pread64): Don't use CHECK_N.
34123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
34124         include <bp-checks.h>.
34125         (__libc_pwrite): Don't use CHECK_N.
34126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
34127         include <bp-checks.h>.
34128         (__libc_pwrite64): Don't use CHECK_N.
34129         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
34130         (do_pread): Don't use CHECK_N.
34131         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
34132         (do_pread64): Don't use CHECK_N.
34133         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
34134         (do_pwrite): Don't use CHECK_N.
34135         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
34136         (do_pwrite64): Don't use CHECK_N.
34137         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
34138         (__libc_readv): Don't use CHECK_N.
34139         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
34140         (semop): Don't use CHECK_N.
34141         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
34142         <bp-checks.h>.
34143         (semtimedop): Don't use CHECK_N.
34144         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
34145         (__libc_pread): Don't use CHECK_N.
34146         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
34147         <bp-checks.h>.
34148         (__libc_pread64): Don't use CHECK_N.
34149         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
34150         <bp-checks.h>.
34151         (__libc_pwrite): Don't use CHECK_N.
34152         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
34153         <bp-checks.h>.
34154         (__libc_pwrite64): Don't use CHECK_N.
34155         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
34156         <bp-checks.h>.
34157         (__libc_msgrcv): Don't use CHECK_N.
34158         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
34159         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
34160         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
34161         (__libc_writev): Don't use CHECK_N.
34163 2013-02-08  Roland McGrath  <roland@hack.frob.com>
34165         * string/strcpy.c: Removed unused variable.
34167         * Makeconfig (+sysdep-includes): Define with := rather than =.
34168         Use an existing include/ subdir of each sysdeps dir before it.
34170 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34172         * nscd/connection.c (register_traced_file): Comment function.
34173         [HAVE_INOTIFY] (union __inev): Define.
34174         [HAVE_INOTIFY] (inotify_check_files): New function.
34175         [HAVE_INOTIFY] (clear_db_cache): Likewise.
34176         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
34177         clear_db_cache.
34178         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
34180 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34182         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
34183         loaded if not already and that a failure is permanent.
34185 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
34187         [BZ #15006]
34188         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
34189         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
34191 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
34193         [BZ #13550]
34194         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
34195         (CHECK_1_NULL_OK): Likewise.
34196         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
34197         (__fxstat): Do not use CHECK_1.
34198         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
34199         <bp-checks.h>.
34200         (___fxstat64): Do not use CHECK_1.
34201         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34202         <bp-checks.h>.
34203         (__fxstatat): Do not use CHECK_1.
34204         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34205         <bp-checks.h>.
34206         (__fxstatat64): Do not use CHECK_1.
34207         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
34208         <bp-checks.h>.
34209         (__fxstat): Do not use CHECK_1.
34210         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34211         <bp-checks.h>.
34212         (__fxstatat): Do not use CHECK_1.
34213         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34214         <bp-checks.h>.
34215         (__getresgid): Do not use CHECK_1.
34216         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34217         <bp-checks.h>.
34218         (__getresuid): Do not use CHECK_1.
34219         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
34220         <bp-checks.h>.
34221         (__lxstat): Do not use CHECK_1.
34222         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34223         <bp-checks.h>.
34224         (__old_msgctl): Do not use CHECK_1.
34225         (__new_msgctl): Likewise.
34226         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
34227         <bp-checks.h>.
34228         (__new_setrlimit): Do not use CHECK_1.
34229         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34230         <bp-checks.h>.
34231         (__old_shmctl): Do not use CHECK_1.
34232         (__new_shmctl): Likewise.
34233         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
34234         <bp-checks.h>.
34235         (__xstat): Do not use CHECK_1.
34236         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
34237         (__lxstat): Do not use CHECK_1.
34238         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
34239         <bp-checks.h>.
34240         (___lxstat64): Do not use CHECK_1.
34241         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
34242         (__old_msgctl): Do not use CHECK_1.
34243         (__new_msgctl): Likewise.
34244         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
34245         <bp-checks.h>.
34246         (__gettimeofday): Do not use CHECK_1.
34247         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
34248         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
34249         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
34250         <bp-checks.h>.
34251         (__gettimeofday): Do not use CHECK_1.
34252         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
34253         (__old_shmctl): Do not use CHECK_1_NULL_OK.
34254         (__new_shmctl): Do not use CHECK_1.
34255         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
34256         <bp-checks.h>.
34257         (do_sigtimedwait): Do not use CHECK_1.
34258         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
34259         <bp-checks.h>.
34260         (do_sigwaitinfo): Do not use CHECK_1.
34261         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
34262         <bp-checks.h>.
34263         (msgctl): Do not use CHECK_1.
34264         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
34265         <bp-checks.h>.
34266         (shmctl): Do not use CHECK_1.
34267         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
34268         (ustat): Do not use CHECK_1.
34269         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
34270         <bp-checks.h>.
34271         (__fxstat): Do not use CHECK_1.
34272         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34273         <bp-checks.h>.
34274         (__fxstatat): Do not use CHECK_1.
34275         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
34276         <bp-checks.h>.
34277         (__lxstat): Do not use CHECK_1.
34278         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
34279         <bp-checks.h>.
34280         (__xstat): Do not use CHECK_1.
34281         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
34282         (__xstat): Do not use CHECK_1.
34283         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
34284         (___xstat64): Do not use CHECK_1.
34286         [BZ #13550]
34287         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
34288         definitions.
34289         (CHECK_BOUNDS_HIGH): Likewise.
34290         * string/strcpy.c: Do not include <bp-checks.h>.
34291         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
34293 2013-02-07  Roland McGrath  <roland@hack.frob.com>
34295         * nscd/nscd-client.h (__nscd_drop_map_ref):
34296         Add __attribute__ ((unused)).
34297         * nis/nss-nisplus.h (niserr2nss): Likewise.
34299         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
34300         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
34302         * csu/libc-tls.c (init_static_tls, init_slotinfo):
34303         Remove inline keyword.
34304         * include/rounding-mode.h (round_away): Likewise.
34305         * libio/wfileops.c (adjust_wide_data): Likewise.
34306         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
34307         (__m128i_strloadu_tolower): Likewise.
34308         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
34309         (__m128i_strloadu_tolower): Likewise.
34310         * time/mktime.c (ydhms_diff): Likewise.
34311         * locale/elem-hash.h (elem_hash): Likewise.
34312         * locale/setlocale.c (setdata): Likewise.
34313         * posix/regex_internal.h (re_string_char_size_at): Likewise.
34314         (re_string_wchar_at): Likewise.
34315         (bitset_not, bitset_merge, bitset_mask): Likewise.
34316         [!(__GNUC__ > 3)] (inline): Remove macro.
34317         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
34318         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
34319         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
34320         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
34321         * string/memcmp.c (memcmp_bytes): Likewise.
34322         * locale/programs/locarchive.c (compute_hashval): Likewise.
34323         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
34324         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
34325         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
34326         * nss/getent.c (print_rpc, print_protocols): Likewise.
34327         (print_passwd, print_group, print_aliases): Likewise.
34328         * nis/nss-nisplus.h (niserr2nss): Likewise.
34329         * nscd/connections.c (restart_p): Likewise.
34330         Change return type to bool.
34332 2013-02-05  Roland McGrath  <roland@hack.frob.com>
34334         * Makeconfig (all-Depend-files): Add existing
34335         $(sorted-subdirs:=/Depend) files.
34336         (all-subdirs): Remove nss.
34337         * sysdeps/unix/inet/Subdirs: Add it here instead.
34338         * hesiod/Depend: New file.
34340         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
34341         instead of calling alloca.
34343         * io/lseek.c (__lseek): Rename to __libc_lseek.
34344         Define __lseek as an alias.
34346         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
34348 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
34350         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
34351         else clause and remove check for non-standard endianness.
34353 2013-02-04  David S. Miller  <davem@davemloft.net>
34355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34357 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
34359         [BZ #13550]
34360         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
34361         (__ubp_memchr): Remove prototype.
34362         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
34363         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34364         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
34365         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
34366         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
34367         Remove alias.
34368         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
34369         (__ubp_memchr): Likewise.
34370         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
34371         (__ubp_memchr): Likewise.
34372         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
34373         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
34374         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
34375         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
34376         CHECK_STRING.
34377         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34378         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
34379         (__getcwd): Do not use CHECK_STRING.
34380         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34381         <bp-checks.h>.
34382         (__real_chown): Do not use CHECK_STRING.
34383         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
34384         <bp-checks.h>.
34385         (fchownat): Do not use CHECK_STRING.
34386         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
34387         CHECK_STRING.
34388         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34389         <bp-checks.h>.
34390         (__lchown): Do not use CHECK_STRING.
34391         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34392         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34393         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34394         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
34395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34396         include <bp-checks.h>.
34397         (truncate64): Do not use CHECK_STRING.
34398         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34399         <bp-checks.h>.
34400         (__real_chown): Do not use CHECK_STRING.
34401         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34402         <bp-checks.h>.
34403         (__lchown): Do not use CHECK_STRING.
34404         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34405         <bp-checks.h>.
34406         (__chown): Do not use CHECK_STRING.
34407         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
34408         <bp-checks.h>.
34409         (truncate64): Do not use CHECK_STRING.
34410         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
34411         Likewise.
34412         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
34413         (__xmknod): Do not use CHECK_STRING.
34414         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34415         <bp-checks.h>.
34416         (__xmknodat): Do not use CHECK_STRING.
34417         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34418         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
34420 2013-02-04  Andreas Schwab  <schwab@suse.de>
34422         [BZ #14142]
34423         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
34424         * include/netdb.h: Likewise for h_errno.
34425         * elf/tst-stackguard1.c: Include <tls.h>.
34427 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
34429         * elf/link.h (struct link_map): Extend the l_addr comment.
34430         * include/link.h (struct link_map): Likewise.
34432 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
34434         [BZ #13550]
34435         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
34436         (BOUNDED_1): Remove macro.
34437         * debug/backtrace.c: Don't include <bp-checks.h>.
34438         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
34439         (__backtrace): Likewise.
34440         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
34441         <bp-checks.h>.
34442         (__backtrace): Don't use BOUNDED_1.
34443         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
34444         <bp-checks.h>.
34445         (__backtrace): Don't use BOUNDED_1.
34446         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
34447         (__backtrace): Don't use BOUNDED_1.
34448         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
34449         (shmat): Don't use BOUNDED_N.
34451 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
34453         [BZ #13550]
34454         * sysdeps/generic/bp-start.h: Remove file.
34455         * csu/libc-start.c: Don't include <bp-start.h>.
34456         (LIBC_START_MAIN): Set up __environ directly instead of using
34457         INIT_ARGV_and_ENVIRON.
34458         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
34459         <bp-start.h>.
34461         [BZ #13550]
34462         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
34463         definitions.
34464         (CHECK_FCNTL): Likewise.
34465         (CHECK_N_PAGES): Likewise.
34467         [BZ #13550]
34468         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
34469         definitions.
34470         (CHECK_SIGSET_NULL_OK): Likewise.
34471         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
34472         <bp-checks.h>.
34473         (sigpending): Don't use CHECK_SIGSET.
34474         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
34475         <bp-checks.h>.
34476         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34477         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
34478         <bp-checks.h>.
34479         (do_sigsuspend): Don't use CHECK_SIGSET.
34480         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
34481         use CHECK_SIGSET.
34482         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
34483         (do_sigwait): Don't use CHECK_SIGSET.
34484         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
34485         use CHECK_SIGSET.
34486         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
34487         include <bp-checks.h>.
34488         (sigpending): Don't use CHECK_SIGSET.
34489         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
34490         include <bp-checks.h>.
34491         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34492         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
34493         <bp-checks.h>.
34494         (sigpending): Don't use CHECK_SIGSET.
34495         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
34496         <bp-checks.h>.
34497         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
34499         [BZ #13550]
34500         * sysdeps/generic/bp-semctl.h: Remove file.
34501         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
34502         <bp-checks.h> and <bp-semctl.h>.
34503         (__old_semctl): Don't use CHECK_SEMCTL.
34504         (__new_semctl): Likewise.
34505         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
34506         and <bp-semctl.h>.
34507         (__old_semctl): Don't use CHECK_SEMCTL.
34508         (__new_semctl): Likewise.
34509         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
34510         <bp-checks.h> and <bp-semctl.h>.
34511         (__old_semctl): Don't use CHECK_SEMCTL.
34512         (__new_semctl): Likewise.
34513         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
34514         <bp-checks.h> and <bp-semctl.h>.
34515         (semctl): Don't use CHECK_SEMCTL.
34517         [BZ #13550]
34518         * Makerules (elide-bp-thunks): Remove variable.
34519         (elide-routines.oS): Don't use $(elide-bp-thunks).
34520         (elide-routines.os): Likewise.
34521         (elide-routines.o): Likewise.
34522         (elide-routines.op): Likewise.
34523         (elide-routines.og): Likewise.
34524         (objects): Don't use $(bp-thunks).
34525         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
34526         include.
34527         (common-generated): Do not add s-proto-bp.d.
34528         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
34529         (int): Likewise.
34530         (typ): Likewise.
34531         Do not generate makefile rules for bounded-pointer thunks.
34532         * sysdeps/generic/bp-thunks.h: Remove file.
34533         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
34534         * sysdeps/unix/s-proto-bp.S: Likewise.
34536         [BZ #15062]
34537         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
34538         parts of result separately when argument is not close to line from
34539         -i to i and one part of argument is small.
34540         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34541         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34542         * math/libm-test.inc (cacos_test): Add more tests.
34543         (casin_test): Likewise.
34544         (casinh_test): Likewise.
34545         * sysdeps/i386/fpu/libm-test-ulps: Update.
34546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34548 2013-01-31  David S. Miller  <davem@davemloft.net>
34550         * po/de.po: Update from translation team.
34552 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
34554         * time/tzfile.c: Include stdint.h for SIZE_MAX.
34556 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
34558         * configure.in (_AC_PROG_CC_C89): New definition.
34559         * configure: Regenerate.
34561         * configure.in (AC_PROG_CPP): New definition.
34562         * configure: Regenerate.
34564 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
34566         * debug/tst-backtrace.h: New file.
34567         * debug/tst-backtrace2.c: Include tst-backtrace.h.
34568         (ret): Remove variable.
34569         (x): Likewise.
34570         (FAIL): Remove macro.
34571         (NO_INLINE): Likewise.
34572         (fn1): Use match function instead of strstr.
34573         * debug/tst-backtrace3.c: Include tst-backtrace.h.
34574         (ret): Remove variable.
34575         (x): Likewise.
34576         (FAIL): Remove macro.
34577         (NO_INLINE): Likewise.
34578         (fn): Use match function instead of strstr.
34579         * debug/tst-backtrace4.c: Include tst-backtrace.h.
34580         (ret): Remove variable.
34581         (x): Likewise.
34582         (FAIL): Remove macro.
34583         (NO_INLINE): Likewise.
34584         (handle_signal): Use match function instead of strstr.
34585         * debug/tst-backtrace5.c: Include tst-backtrace.h.
34586         (ret): Remove variable.
34587         (x): Likewise.
34588         (FAIL): Remove macro.
34589         (NO_INLINE): Likewise.
34590         (handle_signal): Use match function instead of strstr.
34592 2013-01-23  Roland McGrath  <roland@hack.frob.com>
34594         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
34596 2013-01-23  David S. Miller  <davem@davemloft.net>
34598         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34599         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34600         argument of CAS if possible.
34601         * sysdeps/sparc/sparc64/bits/atomic.h
34602         (__arch_compare_and_exchange_val_32_acq): Likewise.
34603         (__arch_compare_and_exchange_val_64_acq): Likewise.
34605 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
34607         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34608         * sysdeps/posix/ulimit.c: ... this.
34609         Include <limits.h>.
34610         * sysdeps/unix/bsd/ulimit.c: Remove file.
34612 2013-01-23  Adam Conrad  <adconrad@0c3.net>
34614         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34615         (LDFLAGS-tst-array5): Likewise.
34617 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
34619         [BZ #15036]
34620         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34621         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34622         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34623         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34625 2013-01-21  David S. Miller  <davem@davemloft.net>
34627         * sysdeps/sparc/backtrace.c: New file.
34628         * sysdeps/sparc/sparc32/backtrace.h: New file.
34629         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34630         * sysdeps/sparc/sparc64/backtrace.h: New file.
34631         * sysdeps/sparc/sparc64/backtrace.c: Delete.
34632         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34633         -funwind-tables.
34635 2013-01-21  Andreas Schwab  <schwab@suse.de>
34637         [BZ #15020]
34638         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34639         closed its stdout.
34641 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
34643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34644         "mpa2.h".
34645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34647 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
34648             Mark Mitchell  <mark@codesourcery.com>
34649             Tom de Vries  <tom@codesourcery.com>
34650             Paul Pluzhnikov  <ppluzhnikov@google.com>
34652         * debug/tst-backtrace2.c: New file.
34653         * debug/tst-backtrace3.c: Likewise.
34654         * debug/tst-backtrace4.c: Likewise.
34655         * debug/tst-backtrace5.c: Likewise.
34656         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34657         (CFLAGS-tst-backtrace3.c): Likewise.
34658         (CFLAGS-tst-backtrace4.c): Likewise.
34659         (CFLAGS-tst-backtrace5.c): Likewise.
34660         (LDFLAGS-tst-backtrace2): Likewise.
34661         (LDFLAGS-tst-backtrace3): Likewise.
34662         (LDFLAGS-tst-backtrace4): Likewise.
34663         (LDFLAGS-tst-backtrace5): Likewise.
34664         (tests): Add new tests tst-backtrace2, tst-backtrace3,
34665         tst-backtrace4 and tst-backtrace5.
34667 2013-01-18  Anton Blanchard  <anton@samba.org>
34668             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34670         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34671         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34672         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34673         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34675         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34676         "+r" and remove output regs list as redundant.  Add explicit inline
34677         asm to specify register of return val to work around compiler codegen
34678         bug.  Remove (int) cast on return value.  Add return type parameter to
34679         use in macro so that this macro does not truncate return value for
34680         64-bit values.
34681         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34682         pass to INTERNAL_VSYSCALL_NCS.
34683         (INLINE_VSYSCALL): Add 'long int' as return type to
34684         INTERNAL_VSYSCALL_NCS macro invocation.
34685         (INTERNAL_VSYSCALL): Add 'long int' as return type to
34686         INTERNAL_VSYSCALL_NCS macro invocation.
34687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34689 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34691         [BZ #14496]
34692         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34693         Fix application of SIMD FP exception mask.
34695         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34696         mp_no from a power of two.
34697         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34698         __mpexp_twomm1.  Use __pow_mp.
34700         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34701         multiplication.
34703 2013-01-17  David S. Miller  <davem@davemloft.net>
34705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34707 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
34709         [BZ #15023]
34710         * include/complex.h: Condition contents on [!_COMPLEX_H].
34711         (__kernel_casinhf): New prototype.
34712         (__kernel_casinh): Likewise.
34713         (__kernel_casinhl): Likewise.
34714         * math/Makefile (libm_calls): Add k_casinh.
34715         * math/k_casinh.c: New file.
34716         * math/k_casinhf.c: Likewise.
34717         * math/k_casinhl.c: Likewise.
34718         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34719         finite nonzero arguments.
34720         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34721         finite nonzero arguments.
34722         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34723         finite nonzero arguments.
34724         * math/s_casinh.c: Do not include <float.h>.
34725         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34726         * math/s_casinhf.c: Do not include <float.h>.
34727         (__casinhf): Move code for finite nonzero arguments to
34728         k_casinhf.c.
34729         * math/s_casinhl.c: Do not include <float.h>.
34730         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34731         redefine.
34732         (__casinhl): Move code for finite nonzero arguments to
34733         k_casinhl.c.
34734         * math/libm-test.inc (cacos_test): Add more tests.
34735         * sysdeps/i386/fpu/libm-test-ulps: Update.
34736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34738 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
34740         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34741         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34742         [!HAVE_MREMAP]: Remove [defined linux] case.
34743         * malloc/arena.c: Do not include <malloc-sysdep.h>.
34745 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34747         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34749 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
34751         * elf/elf.h (R_386_SIZE32): New relocation.
34752         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34753         R_386_SIZE32.
34754         (elf_machine_rela): Likewise.
34755         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34756         R_X86_64_SIZE64 and R_X86_64_SIZE32.
34758 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
34760         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34761         (FP_FAST_FMA): Do not define.
34762         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34763         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34764         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34765         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34766         !_SOFT_FLOAT]: Likewise.
34767         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34768         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34769         value.
34770         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34771         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34772         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34773         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34774         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34775         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34776         file.
34778 2013-01-16  Andreas Schwab  <schwab@suse.de>
34780         [BZ #14327]
34781         * include/stdlib.h (__mktemp): Add declaration.
34782         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34783         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34785 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34787         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34788         definitions.
34789         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34790         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34791         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34792         definitions here.
34793         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34794         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34795         definitions.
34796         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34797         and ONE.
34798         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34799         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34800         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34801         definitions.
34802         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34803         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34804         definitions.
34805         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34807         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34809 2013-01-15  David S. Miller  <davem@davemloft.net>
34811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34812         trunc{,f} to libm-sysdep_routes.
34813         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34815         file.
34816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34818         file.
34819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34820         file.
34821         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34823         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34824         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34825         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34826         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34827         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34828         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34831         nearbyint{,f} to libm-sysdep_routes.
34832         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34834         New file.
34835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34836         file.
34837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34838         New file.
34839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34840         file.
34841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34843         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34844         file.
34845         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34846         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34847         file.
34848         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34849         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34850         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34852         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34853         libc_feholdexcept and libc_fesetenv.
34855 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
34857         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34859 2013-01-14  David S. Miller  <davem@davemloft.net>
34861         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34862         (SPARC_ASM_VIS2_IFUNC): Likewise.
34863         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34865         use of 'siam' instruction.
34866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34867         Likewise.
34868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34869         Likewise.
34870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34871         Likewise.
34872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34873         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34874         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34875         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34877         file.
34878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34879         file.
34880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34881         file.
34882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34883         file.
34884         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34885         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34886         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34887         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34889         new VIS2 routines.
34890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34893         Likewise.
34894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34896         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34897         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34899         routines to libm-sysdep_routines.
34900         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34903         fdim/fdimf to libm-sysdep_routines.
34904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34905         file.
34906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34908         file.
34909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34912         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34913         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34914         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34915         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34917 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34919         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34920         to optimize copies.
34922         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34926         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34927         local variable MPTWO.
34928         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34929         Likewise.
34931 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34933         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34934         GLOB_NOESCAPE.
34936 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34938         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34940 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
34942         * manual/pattern.texi (glob_t): Document gl_flags.
34943         (glob64_t): Likewise.
34945 2013-01-11  David S. Miller  <davem@davemloft.net>
34947         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34948         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34949         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
34950         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34951         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34952         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34953         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34954         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34955         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34956         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34957         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34958         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34959         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34961         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34962         sparc V9 rather than using V8 code.
34963         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34964         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34966         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34967         Move to...
34968         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34969         Here.
34971 2013-01-11  Roland McGrath  <roland@hack.frob.com>
34973         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34974         not in the main loop.
34975         * configure: Regenerated.
34977 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
34979         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34980         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34981         to just #else.
34982         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
34983         [!__GLIBC_HAVE_LONG_LONG] case.
34984         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34985         condition to just #else.
34986         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34987         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34988         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34989         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34990         unconditional.
34991         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34992         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34993         #elif condition to just #else.
34994         * sysdeps/unix/sysv/linux/sys/sysmacros.h
34995         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34996         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34997         #elif condition to just #else.
34999 2013-01-11  Steve Ellcey  <sellcey@mips.com>
35001         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35002         (EF_MIPS_ARCH_64): Fix value.
35003         (EF_MIPS_ARCH_32R2): New.
35004         (EF_MIPS_ARCH_64R2): New.
35006 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
35008         * Makeconfig (+link-pie-before-libc): New.
35009         (+link-pie-after-libc): Likewise.
35010         (+link-pie-tests): Likewise.
35011         (+link-pie): Rewritten.
35012         (link-before-libc): Remove $(config-LDFLAGS).
35013         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35014         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35015         (config-LDFLAGS): Renamed to ...
35016         (rtld-LDFLAGS): This.
35017         (rtld-tests-LDFLAGS): New macro.
35018         (link-libc-rpath-link): Likewise.
35019         (link-libc-tests-rpath-link): Likewise.
35020         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35021         (link-libc): Prepand $(link-libc-rpath-link).
35022         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35023         (test-program-prefix): New macro.
35024         (test-via-rtld-prefix): Likewise.
35025         (test-program-cmd): Likewise.
35026         (host-test-program-cmd): Likewise.
35027         * Makefile ($(common-objpfx)testrun.sh): Replace
35028         $(run-program-prefix) with $(test-program-prefix).
35029         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35030         $(rtld-LDFLAGS).
35031         ($(common-objpfx)shlib.lds): Likewise.
35032         (build-module-helper): Likewise.
35033         ($(common-objpfx)format.lds): Likewise.
35034         * Rules (binaries-pie-tests): New.
35035         (binaries-pie-notests): Likewise.
35036         (binaries-pie): Rewritten.
35037         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35038         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35039         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35040         (make-test-out): Replace $(host-built-program-cmd) with
35041         $(host-test-program-cmd).
35042         * config.make.in (build-hardcoded-path-in-tests): New variable.
35043         * configure.in (--enable-hardcoded-path-in-tests): New configure
35044         option.
35045         (hardcoded_path_in_tests): New AC_SUBST.
35046         * configure: Regenerated.
35047         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35048         $(built-program-cmd) with $(test-program-cmd).
35049         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35050         (test_program_cmd): This.
35051         * elf/Makefile ($(objpfx)order.out): Run test with
35052         $(test-program-prefix).
35053         ($(objpfx)order2.out): Likewise.
35054         ($(objpfx)tst-initorder.out): Likewise.
35055         ($(objpfx)tst-initorder2.out): Likewise.
35056         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35057         $(test-program-cmd).
35058         ($(objpfx)tst-array1-static.out): Likewise.
35059         ($(objpfx)tst-array2.out): Likewise.
35060         ($(objpfx)tst-array3.out): Likewise.
35061         ($(objpfx)tst-array4.out): Likewise.
35062         ($(objpfx)tst-array5.out): Likewise.
35063         ($(objpfx)tst-array5-static.out): Likewise.
35064         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35065         $(test-program-cmd).
35066         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35067         $(run-program-prefix) with $(test-program-prefix).
35068         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35069         (test_program_prefix): This.
35070         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35071         $(run-program-prefix) with $(test-program-prefix).
35072         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35073         (test_program_prefix): This.
35074         * iconvdata/tst-tables.sh: Likewise.
35075         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35076         $(run-program-prefix) with $(test-program-prefix).
35077         ($(objpfx)tst-translit.out): Likewise.
35078         ($(objpfx)tst-gettext2.out): Likewise.
35079         ($(objpfx)tst-gettext4.out): Likewise.
35080         ($(objpfx)tst-gettext6.out): Likewise.
35081         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35082         (test_program_prefix): This.
35083         * intl/tst-gettext2.sh: Likewise.
35084         * intl/tst-gettext4.sh  Likewise.
35085         * intl/tst-gettext6.sh: Likewise.
35086         * intl/tst-translit.sh: Likewise.
35087         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
35088         with $(test-program-cmd).
35089         * libio/Makefile ($(objpfx)test-freopen.out): Replace
35090         $(run-program-prefix) with $(test-program-prefix).
35091         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
35092         (test_program_prefix): This.
35093         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
35094         $(run-program-prefix) with $(test-program-prefix).
35095         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
35096         (test_program_prefix): This.
35097         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
35098         * posix/Makefile ($(objpfx)globtest.out): Replace
35099         $(run-via-rtld-prefix) and $(test-wrapper) with
35100         $(test-program-prefix) and $(test-via-rtld-prefix).
35101         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
35102         $(test-program-prefix).
35103         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
35104         $(host-test-program-cmd).
35105         (tst-spawn-ARGS): Likewise.
35106         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
35107         $(test-program-prefix).
35108         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
35109         (test_via_rtld_prefix): This.
35110         (test_wrapper): Renamed to ...
35111         (test_program_prefix): This.
35112         (run_program_prefix): Replaced by test_program_prefix.
35113         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
35114         (test_program_prefix): This.
35115         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
35116         with $(host-test-program-cmd).
35117         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
35118         $(run-program-prefix) with $(test-program-prefix).
35119         ($(objpfx)tst-printf.out): Likewise.
35120         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
35121         $(test-program-cmd).
35122         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
35123         (test_program_prefix): This.
35124         * stdio-common/tst-unbputc.sh: Likewise.
35125         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
35126         $(run-program-prefix) with $(test-program-prefix).
35127         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
35128         (test_program_prefix): This.
35129         * string/Makefile ($(objpfx)tst-svc.out):  Replace
35130         $(built-program-cmd) with $(test-program-cmd).
35132 2013-01-11  Andreas Jaeger  <aj@suse.de>
35134         [BZ #15003]
35135         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
35136         value. Sync with Linux 3.7.
35138 2013-01-10  David S. Miller  <davem@davemloft.net>
35140         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
35141         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35142         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35144 2013-01-10  Roland McGrath  <roland@hack.frob.com>
35146         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
35147         never set.
35148         * configure: Regenerated.
35150 2013-01-10  David S. Miller  <davem@davemloft.net>
35152         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35153         sparc V9 rather than using V8 code.
35154         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35155         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35157 2013-01-10  Roland McGrath  <roland@hack.frob.com>
35159         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
35160         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
35161         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
35162         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
35163         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
35164         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
35165         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
35166         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
35167         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
35168         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
35169         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
35170         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
35171         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
35172         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
35173         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
35174         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
35175         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
35176         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
35177         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
35178         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
35179         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
35180         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
35181         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
35182         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
35183         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
35184         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
35185         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
35187 2013-01-10  David S. Miller  <davem@davemloft.net>
35189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35191 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35193         * posix/Makefile (tests-static): New variable.
35194         (tests): Add $(tests-static).
35195         (tst-exec-static-ARGS): New variable.
35196         (tst-spawn-static-ARGS): Likewise.
35197         * posix/tst-exec-static.c: New file.
35198         * posix/tst-spawn-static.c: Likewise.
35199         * posix/tst-exec.c: Support run directly.
35200         * posix/tst-spawn.c: Likewise.
35202 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
35204         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
35205         long.
35206         * math/bits/mathcalls.h (llrint): Likewise.
35207         (llround): Likewise.
35208         * stdlib/stdlib.h (struct drand48_data): Likewise.
35209         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
35210         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
35211         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
35212         Likewise.
35213         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
35214         Likewise.
35215         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
35216         (elf_greg_t): Likewise.
35217         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
35218         (__jmp_buf): Likewise.
35219         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
35220         definitions.
35221         (llrint): Likewise, for all definitions.
35222         (llrintl): Likewise.
35224         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
35225         Remove [__GNUC__] condition.
35226         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
35227         condition to just [__USE_ISOC99].
35228         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
35230 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
35232         [BZ #14200]
35233         * sysdeps/unix/sysv/linux/x86/bits/environments.h
35234         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
35235         defined.
35236         (_POSIX_V6_ILP32_OFF32): Likewise.
35237         (_XBS5_ILP32_OFF32): Likewise.
35238         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
35239         (__ILP32_OFFBIG_LDFLAGS): Likewise.
35241 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35243         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
35245         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
35246         doubles __mpexp_twomm1.  Adjust usage.
35247         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
35248         Remove.
35250 2013-01-10  Andreas Schwab  <schwab@suse.de>
35252         [BZ #14964]
35253         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
35254         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
35256 2013-01-09  David S. Miller  <davem@davemloft.net>
35258         [BZ #15003]
35259         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
35260         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
35261         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
35262         (TCP_FASTOPEN): Define.
35263         (tcp_repair_opt): New structure.
35264         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
35265         enum values.
35266         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
35267         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
35268         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
35269         (tcp_cookie_transactions): New structure.
35271 2013-01-09  Anton Blanchard  <anton@samba.org>
35273         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
35274         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
35275         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
35276         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35278 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
35280         * include/features.h (__USE_ANSI): Remove.
35282 2013-01-09  Roland McGrath  <roland@hack.frob.com>
35284         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
35286         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
35288 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
35290         * sysdeps/s390/fpu/libm-test-ulps: Update.
35292         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35294         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
35295         (__acr): Likewise.
35296         (__cpy): Likewise.
35297         (norm): Likewise.
35298         (denorm): Likewise.
35299         (__mp_dbl): Likewise.
35300         (__dbl_mp): Likewise.
35301         (add_magnitudes): Likewise.
35302         (sub_magnitudes): Likewise.
35303         (__add): Likewise.
35304         (__sub): Likewise.
35305         (__mul): Likewise.
35306         (__inv): Likewise.
35307         (__dvd): Likewise.
35308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
35309         (__acr): Likewise.
35310         (__cpy): Likewise.
35311         (norm): Likewise.
35312         (denorm): Likewise.
35313         (__mp_dbl): Likewise.
35314         (__dbl_mp): Likewise.
35315         (add_magnitudes): Likewise.
35316         (sub_magnitudes): Likewise.
35317         (__add): Likewise.
35318         (__sub): Likewise.
35319         (__mul): Likewise.
35320         (__inv): Likewise.
35321         (__dvd): Likewise.
35322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
35323         (__acr): Likewise.
35324         (__cpy): Likewise.
35325         (norm): Likewise.
35326         (denorm): Likewise.
35327         (__mp_dbl): Likewise.
35328         (__dbl_mp): Likewise.
35329         (add_magnitudes): Likewise.
35330         (sub_magnitudes): Likewise.
35331         (__add): Likewise.
35332         (__sub): Likewise.
35333         (__mul): Likewise.
35334         (__inv): Likewise.
35335         (__dvd): Likewise.
35337 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
35339         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
35340         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
35341         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
35342         2 && __USE_EXTERN_INLINES]: Likewise.
35344 2013-01-08  Andreas Jaeger  <aj@suse.de>
35346         [BZ# 14985]
35347         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
35348         Remove.
35349         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35350         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
35352 2013-01-07  Anton Blanchard  <anton@samba.org>
35354         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
35355         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
35356         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
35357         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
35358         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
35359         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35360         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
35361         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35362         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35363         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35364         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35365         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35366         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35367         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
35368         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
35369         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35370         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35371         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
35372         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
35373         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
35374         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
35375         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
35376         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35377         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
35378         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
35379         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
35380         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35381         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
35382         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
35383         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35384         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
35385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35386         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35387         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
35388         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
35389         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35390         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
35391         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35392         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
35393         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35394         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
35395         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35396         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
35398 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
35400         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
35401         (__MALLOC_PMT): Likewise.
35402         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
35403         [__GNUC__], only on [_LIBC].
35404         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35405         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
35406         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
35407         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
35408         forward declaration.
35409         (realloc_hook_ini): Likewise.
35410         (memalign_hook_ini): Likewise.
35411         (__libc_memalign): Do not use __MALLOC_PMT in variable
35412         declaration.
35413         (__libc_valloc): Likewise.
35414         (__libc_pvalloc): Likewise.
35415         (__libc_calloc): Likewise.
35416         (__posix_memalign): Likewise.
35418         [BZ #14996]
35419         * math/s_casinh.c: Include <float.h>.
35420         (__casinh): Do not do computation with squaring and square root
35421         for large arguments.
35422         * math/s_casinhf.c: Include <float.h>.
35423         (__casinhf): Do not do computation with squaring and square root
35424         for large arguments.
35425         * math/s_casinhl.c: Include <float.h>.
35426         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
35427         (__casinhl): Do not do computation with squaring and square root
35428         for large arguments.
35429         * math/libm-test.inc (casin_test): Add more tests.
35430         (casinh_test): Likewise.
35431         * sysdeps/i386/fpu/libm-test-ulps: Update.
35432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35434 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
35436         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
35437         (__x86_64_raw_data_cache_size): Likewise.
35438         (__x86_64_data_cache_size_half): Likewise.
35439         (__x86_64_raw_data_cache_size_half): Likewise.
35440         (__x86_64_shared_cache_size): Likewise.
35441         (__x86_64_raw_shared_cache_size): Likewise.
35442         (__x86_64_shared_cache_size_half): Likewise.
35443         (__x86_64_raw_shared_cache_size_half): Likewise.
35444         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
35445         to ...
35446         (__x86_data_cache_size): This.
35447         (__x86_64_raw_data_cache_size): Renamed to ...
35448         (__x86_raw_data_cache_size): This.
35449         (__x86_64_data_cache_size_half): Renamed to ...
35450         (__x86_data_cache_size_half): This.
35451         (__x86_64_raw_data_cache_size_half): Renamed to ...
35452         (__x86_raw_data_cache_size_half): This.
35453         (__x86_64_shared_cache_size): Renamed to ...
35454         (__x86_shared_cache_size): This.
35455         (__x86_64_raw_shared_cache_size): Renamed to ...
35456         (__x86_raw_shared_cache_size): This.
35457         (__x86_64_shared_cache_size_half): Renamed to ...
35458         (__x86_shared_cache_size_half): This.
35459         (__x86_64_raw_shared_cache_size_half): Renamed to ...
35460         (__x86_raw_shared_cache_size_half): This.
35461         * sysdeps/x86_64/memcpy.S: Updated.
35462         * sysdeps/x86_64/memset.S: Likewise.
35463         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
35464         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35465         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35467 2013-01-04  David S. Miller  <davem@davemloft.net>
35469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35471 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
35473         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
35474         1 to avoid redefinition warning.
35475         (__USE_GNU): Don't define.
35476         (init_signaling_nan): Protoize.
35478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35480 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35482         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
35483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
35484         (__cpymn): Likewise.
35485         (norm): Remove commented code.
35486         (denorm): Likewise.
35487         (__mp_dbl): Likewise.
35488         (__inv): Likewise.
35489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
35490         (__cpymn): Likewise.
35491         (norm): Remove commented code.
35492         (denorm): Likewise.
35493         (__mp_dbl): Likewise.
35494         (__inv): Likewise.
35496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
35497         mp_no value for 1.0 and 2.0.
35498         (norm): Use RADIXI instead of radixi.d.
35499         (denorm): Likewise.
35500         (__mul): Use 0.0 instead of zero.d.
35501         * sysdeps/powerpc/powerpc64/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.
35507 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
35509         [BZ #14994]
35510         * math/s_casinh.c (__casinh): Reduce finite argument to first
35511         quadrant then set signs of results at the end.
35512         * math/s_casinhf.c (__casinhf): Likewise.
35513         * math/s_casinhl.c (__casinhl): Likewise.
35514         * math/libm-test.inc (casin_test): Add more tests.
35515         (casinh_test): Likewise.
35516         * sysdeps/i386/fpu/libm-test-ulps: Update.
35517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35519 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35521         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
35523         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
35525         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
35526         declarations.
35527         (denorm): Likewise.
35528         (__mp_dbl): Likewise.
35529         (__inv): Likewise.
35531         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
35532         and adjust the header comment.
35534         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
35535         variable name from declaration.
35537 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
35539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35540         Initialize COMMON_CPUID_INDEX_7 element.
35541         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
35542         (CPUID_RTM): Likewise.
35543         (HAS_RTM): Likewise.
35544         (COMMON_CPUID_INDEX_7): New enum.
35546 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
35548         [BZ #14981]
35549         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
35550         size is zero, record memory as freed.
35552 2013-01-03  Andreas Jaeger  <aj@suse.de>
35554         * po/ia.po: Add new Interlingua translation.
35556 2012-01-03  Allan McRae  <allan@archlinux.org>
35558         * locale/programs/localedef.c: Fix description of '--posix' flag.
35560 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
35562         * NEWS: Update dates in second copyright notice.
35563         * README: Update copyright dates in example.
35564         * manual/libc.texinfo: Update copyright dates.
35565         * scripts/test-installation.pl: Update copyright date in --version
35566         output.
35568         * hurd/ctty-input.c: Fix copyright notice formatting.
35569         * hurd/ctty-output.c: Likewise.
35570         * hurd/dtable.c: Likewise.
35571         * hurd/hurd-raise.c: Likewise.
35572         * hurd/hurdprio.c: Likewise.
35573         * hurd/msgportdemux.c: Likewise.
35574         * misc/sys/file.h: Likewise.
35575         * misc/sys/ioctl.h: Likewise.
35576         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35577         * sysdeps/mach/hurd/chdir.c: Likewise.
35578         * sysdeps/mach/hurd/fchdir.c: Likewise.
35579         * sysdeps/mach/hurd/rename.c: Likewise.
35580         * sysdeps/mach/hurd/rmdir.c: Likewise.
35581         * sysdeps/mach/hurd/seekdir.c: Likewise.
35582         * sysdeps/mach/hurd/setsid.c: Likewise.
35583         * sysdeps/posix/wait3.c: Likewise.
35585         * All files with FSF copyright notices: Update copyright dates
35586         using scripts/update-copyrights.
35587         * intl/plural.c: Regenerated.
35588         * locale/programs/charmap-kw.h: Likewise.
35589         * locale/programs/locfile-kw.h: Likewise.
35591 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35593         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35594         four values.
35596         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
35597         calculation loop and add branch prediction.
35599         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35600         check access beyond bounds of m1np.
35602         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35603         MPTWO.
35604         (__inv): Remove local variable MPTWO to use the global
35605         constant.
35606         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35607         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35608         variable MPTWO.
35609         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35610         MP3HALFS static const.
35612 2013-01-01  David S. Miller  <davem@davemloft.net>
35614         * po/ca.po: Update from translation team.
35616 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
35618         * scripts/update-copyrights: New file.
35619         * Makeconfig: Reformat copyright notice.
35620         * ctype/ctype.h: Likewise.
35621         * debug/swprintf_chk.c: Likewise.
35622         * elf/dl-cache.c: Likewise.
35623         * elf/dl-debug.c: Likewise.
35624         * elf/dl-object.c: Likewise.
35625         * grp/initgroups.c: Likewise.
35626         * hurd/Makefile: Likewise.
35627         * hurd/hurd/signal.h: Likewise.
35628         * hurd/hurdfault.c: Likewise.
35629         * hurd/hurdioctl.c: Likewise.
35630         * hurd/hurdlookup.c: Likewise.
35631         * hurd/intr-msg.c: Likewise.
35632         * iconv/gconv_open.c: Likewise.
35633         * libio/swprintf.c: Likewise.
35634         * locale/lc-ctype.c: Likewise.
35635         * locale/nl_langinfo.c: Likewise.
35636         * mach/Machrules: Likewise.
35637         * mach/Makefile: Likewise.
35638         * malloc/obstack.h: Likewise.
35639         * manual/Makefile: Likewise.
35640         * manual/tsort.awk: Likewise.
35641         * misc/bits/stab.def: Likewise.
35642         * nis/nis_print_group_entry.c: Likewise.
35643         * nis/nis_table.c: Likewise.
35644         * nis/nss_compat/compat-pwd.c: Likewise.
35645         * nis/nss_compat/compat-spwd.c: Likewise.
35646         * po/Makefile: Likewise.
35647         * posix/fnmatch.c: Likewise.
35648         * posix/regex.h: Likewise.
35649         * resolv/Makefile: Likewise.
35650         * resolv/nss_dns/dns-network.c: Likewise.
35651         * resolv/res_hconf.c: Likewise.
35652         * scripts/gen-sorted.awk: Likewise.
35653         * soft-fp/soft-fp.h: Likewise.
35654         * stdio-common/printf.h: Likewise.
35655         * stdlib/monetary.h: Likewise.
35656         * stdlib/random.c: Likewise.
35657         * stdlib/random_r.c: Likewise.
35658         * sysdeps/generic/Makefile: Likewise.
35659         * sysdeps/gnu/Makefile: Likewise.
35660         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35661         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35662         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35663         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35664         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35665         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35666         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35667         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35668         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35669         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35670         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35671         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35672         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35673         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35674         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35675         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35676         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35677         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35678         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35679         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35680         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35681         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35682         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35683         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35684         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35685         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35686         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35687         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35688         * sysdeps/mach/hurd/errnos.awk: Likewise.
35689         * sysdeps/mach/hurd/fork.c: Likewise.
35690         * sysdeps/mach/hurd/getcwd.c: Likewise.
35691         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35692         * sysdeps/mach/hurd/mmap.c: Likewise.
35693         * sysdeps/mach/hurd/utimes.c: Likewise.
35694         * sysdeps/mach/hurd/xmknod.c: Likewise.
35695         * sysdeps/posix/profil.c: Likewise.
35696         * sysdeps/posix/readdir_r.c: Likewise.
35697         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35698         * sysdeps/powerpc/bits/setjmp.h: Likewise.
35699         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35700         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35702         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35703         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35704         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35705         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35706         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35707         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35708         * sysdeps/pthread/lio_listio.c: Likewise.
35709         * sysdeps/sparc/dl-procinfo.h: Likewise.
35710         * sysdeps/unix/i386/sysdep.S: Likewise.
35711         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35712         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35713         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35714         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35716         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35717         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35718         * sysdeps/unix/sysv/linux/speed.c: Likewise.
35719         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35720         * sysdeps/wordsize-32/divdi3.c: Likewise.
35721         * time/sys/time.h: Likewise.
35722         * wcsmbs/Makefile: Likewise.
35724 2013-01-01  David S. Miller  <davem@davemloft.net>
35726         * po/fr.po: Update from translation team.
35728         * catgets/gencat.c: Update copyright year.
35729         * csu/version.c: Likewise.
35730         * debug/catchsegv.sh: Likewise.
35731         * debug/pcprofiledump.c: Likewise.
35732         * debug/xtrace.sh: Likewise.
35733         * elf/ldconfig.c: Likewise.
35734         * elf/ldd.bash.in: Likewise.
35735         * elf/pldd.c: Likewise.
35736         * elf/sotruss.ksh: Likewise.
35737         * elf/sprof.c: Likewise.
35738         * iconv/iconv_prog.c: Likewise.
35739         * iconv/iconvconfig.c: Likewise.
35740         * locale/programs/locale.c: Likewise.
35741         * locale/programs/localedef.c: Likewise.
35742         * login/programs/pt_chown.c: Likewise.
35743         * malloc/memusage.sh: Likewise.
35744         * malloc/memusagestat.c: Likewise.
35745         * malloc/mtrace.pl: Likewise.
35746         * nscd/nscd.c: Likewise.
35747         * nss/getent.c: Likewise.
35748         * nss/makedb.c: Likewise.
35749         * posix/getconf.c: Likewise.
35751 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35753         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35754         numbers.
35756 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
35758         * math/bits/mathcalls.h (modf): Use __nonnull.
35760 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35762         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35763         (split): Use macro CN instead of the bare value.
35764         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35765         could be used.
35766         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35767         instead of the bare value.
35768         (power1): Likewise.
35770 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35772         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35773         __ATAN_TWOM.
35774         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35776         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35777         their values.
35778         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35779         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35780         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35781         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35783 2012-12-28  Andreas Jaeger  <aj@suse.de>
35785         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
35786         values are from Linux 3.7.
35788         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35789         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
35791 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35793         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
35794         TRUE case.
35796         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35797         (norm): Likewise.
35798         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35799         variables with preprocessor constants.
35800         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35801         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35802         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35804 2012-12-27  Bruno Haible  <bruno@clisp.org>
35806         [BZ #14317]
35807         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35808         only if needed.
35810 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35812         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35813         and use variable directly.
35814         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35816         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35817         MPONE.
35818         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35819         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35820         variable MPONE.
35821         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35822         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35823         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35824         include directive.  Remove local variable MPONE.
35825         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35826         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35827         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35829 2012-12-25  David S. Miller  <davem@davemloft.net>
35831         * version.h (RELEASE): Set to "development".
35832         (VERSION): Set to "2.17.90".
35833         * NEWS: Add 2.18 section.
35835 2012-12-21  David S. Miller  <davem@davemloft.net>
35837         * po/hr.po: Update from translation team.
35839 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35841         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35843 2012-12-19  Steve Ellcey  <sellcey@mips.com>
35845         * NEWS:  Mention new memcpy for MIPS.
35847 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35849         * manual/contrib.texi (Contributors): Spelling correction.
35851 2012-12-15  David S. Miller  <davem@davemloft.net>
35853         * po/ru.po: Update from translation team.
35855 2012-12-13  David S. Miller  <davem@davemloft.net>
35857         * NEWS: Mention IFUNC testsuite enhancements.
35859         * po/pl.po: Update from translation team.
35860         * po/bg.po: Likewise.
35862         * manual/contrib.texi (Contributors): Update entries for Hongjiu
35863         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
35865 2012-12-11  David S. Miller  <davem@davemloft.net>
35867         * po/sv.po: Update from translation team.
35869         * po/vi.po: Update from translation team.
35871         * po/cs.po: Update from translation team.
35873         * po/de.po: Update from translation team.
35874         * po/eo.po: Likewise.
35875         * po/nl.po: Likewise.
35877 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35879         [BZ #14246]
35880         * manual/argp.texi (Argp Helper Functions): Move node to follow
35881         Argp Parsing State.
35883         [BZ #14872]
35884         * manual/conf.texi (Limits on File System Capacity): Mention if
35885         terminating null is included in the max size.
35887 2012-12-10  Andreas Jaeger  <aj@suse.de>
35889         * po/cs.po: Update from translation team.
35891 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35893         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35894         void pointer and cast to uintptr_t.
35895         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35896         path.
35897         * sysdeps/s390/s390-64/memcpy.S: Likewise.
35898         * sysdeps/s390/s390-64/memset.S: Likewise.
35900 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
35902         [BZ #14833]
35903         * menual/message.texi (Message Translation): Fix typos.
35904         (Helper programs for gettext): Likewise.
35906 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
35908         [BZ #14898]
35909         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35910         Change to -1.
35912 2012-12-07  David S. Miller  <davem@davemloft.net>
35914         * po/libc.pot: Update.
35916 2012-12-07  Richard Henderson  <rth@redhat.com>
35918         [BZ #10114]
35919         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35920         normal/normal case to before the switch.
35921         (_FP_DIV): Likewise.
35923 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
35924             Mike Frysinger  <vapier@gentoo.org>
35926         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35927         check for __NR_fadvise64_64.
35929 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
35931         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35932         0, not just to plain "0" as a statement.
35933         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35934         with cw.
35936 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
35938         * NEWS: Use sourceware.org in Bugzilla URL.
35940 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35943         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35945         * stdio-common/tst-put-error.c (do_test): Add newline to the
35946         padded test to ensure flush.
35948 2012-12-05  Jeff Law  <law@redhat.com>
35950         * sunrpc/etc.rpc (fedfs_admin): Add entry.
35952 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
35954         * README: Don't refer to ports add-on as distributed separately.
35955         Mention AArch64 in list of systems supported in the ports add-on.
35957         * LICENSES: Add more non-FSF copyright and license notices.
35959         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35960         ((unused)).
35962         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35964         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35965         10000 as width of padded output.
35967 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35969         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35971         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35972         variable LX with __attribute__ ((unused)).
35973         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35974         Likewise.
35975         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35976         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35977         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35978         with __attribute__ ((unused)).
35980 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
35982         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35984 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
35986         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35987         (CFLAGS-nldbl-acos.c): New variable.
35988         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35989         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35990         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35991         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35992         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35993         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35994         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35995         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35996         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35997         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35998         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35999         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36000         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36001         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36002         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36003         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36004         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36005         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36006         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36007         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36008         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36009         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36010         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36011         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36012         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36013         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36014         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36015         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36016         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36017         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36018         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36019         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36020         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36021         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36022         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36023         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36024         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36025         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36026         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36027         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36028         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36029         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36030         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36031         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36032         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36033         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36034         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36035         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36036         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36037         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36038         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36039         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36040         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36041         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36042         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36043         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36044         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36045         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36046         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36047         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36048         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36049         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36050         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36051         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36052         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36053         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36054         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36055         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36056         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36057         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36058         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36059         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36060         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36061         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36062         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36063         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36064         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36065         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36066         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36067         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36068         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36069         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36070         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36071         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36072         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36073         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36074         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36075         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36076         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36077         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36078         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36079         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36080         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36081         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36082         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36083         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
36084         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
36086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36087         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36089         [BZ #14914]
36090         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
36091         whole low double instead of just low 47 bits when splitting values
36092         into two parts.
36094 2012-12-03  Allan McRae  <allan@archlinux.org>
36096         * manual/stdio.texi (Predefined Printf Handlers): Remove
36097         @hsep and @vsep usage.
36099 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
36101         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
36102         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
36104 2012-12-03  Jeff Law  <law@redhat.com>
36106         * time/sys/time.h (settimeofday): Do not mark TV argument
36107         as __nonnull.
36109 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
36111         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
36112         when currently writing and seek to current position when not.
36113         * libio/Makefile (tests): Remove bug-fclose1.
36114         * libio/bug-fclose1.c: Delete.
36116 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
36118         * manual/arith.texi (feenableexcept): Fix typo.
36119         (fedisableexcept): Likewise.
36121 2012-11-30  Roland McGrath  <roland@hack.frob.com>
36123         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
36124         second, differently-typed declaration, rather than a cast.
36126 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36128         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
36129         * include/rpc/svc.h: ... here.
36131 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
36133         [BZ #13013]
36134         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
36135         depending n and resplen2 to catch cases where answer
36136         equals answerp2.
36138 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
36140         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
36141         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
36143 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
36145         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
36147 2012-11-29  Roland McGrath  <roland@hack.frob.com>
36149         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
36151 2012-11-28  Jeff Law  <law@redhat.com>
36153         [BZ #13761]
36154         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
36155         dataset_temporary.  Track alloca usage into alloca_used.
36156         If dataset is large allocate and release it via malloc/free.
36158 2012-06-04  Florian Weimer  <fweimer@redhat.com>
36160         [BZ #14197]
36161         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
36163 2012-11-28  David S. Miller  <davem@davemloft.net>
36165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36167 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36169         [BZ #14803]
36170         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
36171         of pi/2 rounded to nearest to 64 bits.
36172         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
36173         nearest to 64 bits.
36174         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
36175         bits.
36177 2012-11-28  Jeff Law <law@redhat.com>
36178             Martin Osvald <mosvald@redhat.com>
36180         [BZ #14889]
36181         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
36182         * sunrpc/svc.c: Include time.h.
36183         (__svc_accept_failed): New function.
36184         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
36185         any reason other than EINTR, call __svc_accept_failed.
36186         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
36187         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
36189 2012-11-28  Andreas Schwab  <schwab@suse.de>
36191         * scripts/abilist.awk: Also handle indirect functions in .opd
36192         section.
36194 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
36196         [BZ #13881]
36197         * sysdeps/x86/fpu/powl_helper.c: New file.
36198         * sysdeps/x86/fpu/Makefile: Likewise.
36199         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
36200         (p3): New object.
36201         (__ieee754_powl): Use __powl_helper for finite arguments except
36202         integer exponents below 8.
36203         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
36204         (p3): New object.
36205         (__ieee754_powl): Use __powl_helper for finite arguments except
36206         integer exponents below 8.
36207         * math/libm-test.inc (pow_test): Add more tests and enable some
36208         previously disabled tests.
36209         * sysdeps/i386/fpu/libm-test-ulps: Update.
36210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36212 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36213             Carlos O'Donell  <carlos_odonell@mentor.com>
36215         * nss/makedb.c (is_prime): Assert that input is odd and greater
36216         than 4.  Note that fact in a comment too.
36217         (next_prime): Add 4 to input.
36219 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36221         [BZ #11741]
36222         * libio/Makefile (tests): Add test case tst-fwrite-error.
36223         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
36224         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
36225         * libio/tst-fwrite-error.c: New test case.
36227 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
36229         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
36230         before casting to void *.
36231         * include/libc-internal.h (__pointer_type): New macro.
36232         (__integer_if_pointer_type_sub): Likewise.
36233         (__integer_if_pointer_type): Likewise.
36234         (cast_to_integer): Likewise.
36235         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
36236         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
36237         before casting to atomic64_t.
36238         (atomic_exchange_acq): Likewise.
36239         (__arch_exchange_and_add_body): Likewise.
36240         (__arch_add_body): Likewise.
36241         (atomic_add_negative): Likewise.
36242         (atomic_add_zero): Likewise.
36244 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
36246         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
36247         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
36248         (add_fdes): Likewise.
36249         (linear_search_fdes): Likewise.
36250         (binary_search_unencoded_fdes): Likewise.
36252 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
36254         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
36256 2012-11-24  Adam Conrad  <adconrad@0c3.net>
36258         * configure.in: Autodetect C++ header directories.
36259         * configure: Regenerated.
36261 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
36263         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
36265 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
36267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36269 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
36271         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
36272         LDBL_MANT_DIG == 106]: Disable some tests.
36273         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36274         Likewise.
36275         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
36276         Likewise.
36278         [BZ #14871]
36279         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
36280         input for small inputs.  Return +/- pi/2 for large inputs.
36281         * math/libm-test.inc (atan_test): Add more tests.
36283         * sysdeps/generic/unwind-dw2-fde-glibc.c
36284         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
36285         __attribute__ ((unused)).
36287         [BZ #14645]
36288         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
36289         x * y if x and y are nonzero and z is zero.
36291         [BZ #14811]
36292         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
36293         nonzero exponents with absolute value below 0x1p-117 to +/-
36294         0x1p-117.
36296         [BZ #14869]
36297         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
36298         up arguments below 2**-450, not just those below 2**-500.
36299         * math/libm-test.inc (hypot_test): Add another test.
36301         [BZ #14868]
36302         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
36303         Return a+b for ratio over 2**120, not 2**60.
36304         * math/libm-test.inc (hypot_test): Add another test.
36306         * math/libm-test.inc (clog_test): Use
36307         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
36308         (clog10_test): Likewise.
36310         [BZ #6778]
36311         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
36313 2012-11-22  Andreas Schwab  <schwab@suse.de>
36315         * sysdeps/i386/fpu/libm-test-ulps: Update.
36317 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
36319         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
36320         printf output with newline.
36322 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
36324         [BZ #14865]
36325         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
36326         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
36327         -z nodlopen, -z initfirst and -z execstack support.
36328         * configure: Regenerated.
36330         * elf/elf.h (DF_1_NODIRECT): New macro.
36331         (DF_1_IGNMULDEF): Likewise.
36332         (DF_1_NOKSYMS): Likewise.
36333         (DF_1_NOHDR): Likewise.
36334         (DF_1_EDITED): Likewise.
36335         (DF_1_NORELOC): Likewise.
36336         (DF_1_SYMINTPOSE): Likewise.
36337         (DF_1_GLOBAUDIT): Likewise.
36338         (DF_1_SINGLETON): Likewise.
36339         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
36340         DT_1_SUPPORTED_MASK bits.
36341         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
36343 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
36345         * sysdeps/unix/make-syscalls.sh: Document prefixes.
36347 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
36349         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
36350         macro.
36352         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
36353         (sendmmsg): Move declarations...
36354         * socket/sys/socket.h: ... here.
36355         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
36356         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
36357         include it from...
36358         * socket/recvmmsg.c: ... this new file.
36359         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
36360         (sendmmsg): Rename to __sendmmsg, create weak alias and make
36361         definition of __sendmmsg hidden.
36362         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36363         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
36364         Move ENOSYS stub into and include it from...
36365         * socket/sendmmsg.c: ... this new file.
36366         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
36367         (sysdep_routines): Move recvmmsg and sendmmsg...
36368         * socket/Makefile (routines): ... here.
36369         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
36370         (GLIBC_PRIVATE): Add __sendmmsg.
36371         * include/sys/socket.h (__sendmmsg): Add declarations.
36372         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
36373         sendmmsg.
36375 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
36377         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
36378         variable I1 with __attribute__ ((unused)).
36379         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36381 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36383         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
36384         DUMMY variables with __attribute__ ((unused)).
36386         * bits/byteswap.h: Include <bits/types.h>.
36387         (__bswap_64): Use __uint64_t instead of unsigned long long int.
36389 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
36391         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
36392         string_t.  Do not manually set errno.
36393         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
36394         length with __strnlen.  Make sure to both set errno and return it on
36395         failure.
36397 2012-11-19  David S. Miller  <davem@davemloft.net>
36399         With help from Joseph Myers.
36400         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
36401         very large arguments properly.
36402         * math/libm-test.inc (atan_test): New tests.
36403         (atan2_test): New tests.
36404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36407 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
36409         [BZ #14856]
36410         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
36411         Define to 3.
36413         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
36414         [POSIX] (EADDRNOTAVAIL): Likewise.
36415         [POSIX] (EAFNOSUPPORT): Likewise.
36416         [POSIX] (EALREADY): Likewise.
36417         [POSIX] (ECONNABORTED): Likewise.
36418         [POSIX] (ECONNREFUSED): Likewise.
36419         [POSIX] (ECONNRESET): Likewise.
36420         [POSIX] (EDESTADDRREQ): Likewise.
36421         [POSIX] (EDQUOT): Likewise.
36422         [POSIX] (EHOSTUNREACH): Likewise.
36423         [POSIX] (EIDRM): Likewise.
36424         [POSIX] (EISCONN): Likewise.
36425         [POSIX] (ELOOP): Likewise.
36426         [POSIX] (EMULTIHOP): Likewise.
36427         [POSIX] (ENETDOWN): Likewise.
36428         [POSIX] (ENETUNREACH): Likewise.
36429         [POSIX] (ENOBUFS): Likewise.
36430         [POSIX] (ENODATA): Likewise.
36431         [POSIX] (ENOLINK): Likewise.
36432         [POSIX] (ENOMSG): Likewise.
36433         [POSIX] (ENOPROTOOPT): Likewise.
36434         [POSIX] (ENOSR): Likewise.
36435         [POSIX] (ENOSTR): Likewise.
36436         [POSIX] (ENOTCONN): Likewise.
36437         [POSIX] (ENOTSOCK): Likewise.
36438         [POSIX] (EOPNOTSUPP): Likewise.
36439         [POSIX] (EOVERFLOW): Likewise.
36440         [POSIX] (EPROTO): Likewise.
36441         [POSIX] (EPROTONOSUPPORT): Likewise.
36442         [POSIX] (EPROTOTYPE): Likewise.
36443         [POSIX] (ESTALE): Likewise.
36444         [POSIX] (ETIME): Likewise.
36445         [POSIX] (ETXTBSY): Likewise.
36446         [POSIX] (EWOULDBLOCK): Likewise.
36447         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
36448         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
36449         [POSIX] (SEEK_CUR): Likewise.
36450         [POSIX] (SEEK_END): Likewise.
36451         [POSIX || UNIX98] (mode_t): Do not require.
36452         [POSIX] (off_t): Likewise.
36453         [POSIX] (pid_t): Likewise.
36454         [POSIX] (sys/stat.h): Do not allow header.
36455         [POSIX] (unistd.h): Likewise.
36456         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
36457         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
36458         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
36459         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
36460         require.
36461         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
36462         sigevent): Specify elements.
36463         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
36464         entry.
36465         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
36466         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
36468         * conform/data/cpio.h-data [POSIX]: Disable whole file.
36469         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
36470         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
36471         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
36472         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
36473         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
36474         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
36475         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
36476         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
36477         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
36478         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
36479         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
36480         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
36481         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
36482         Likewise.
36483         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
36484         Likewise.
36485         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
36486         Likewise.
36487         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
36488         Likewise.
36489         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
36490         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
36491         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
36492         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
36493         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
36494         Specify lower bound on value.
36495         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
36496         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
36497         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
36498         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
36499         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
36500         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
36501         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
36502         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
36503         value.
36504         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
36505         as optional.
36506         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
36507         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
36508         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
36509         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
36510         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
36511         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
36512         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
36513         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
36514         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
36515         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
36516         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
36517         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
36518         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
36519         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
36520         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
36521         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
36522         entry.
36523         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
36524         optional.
36525         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
36526         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
36527         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
36528         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
36529         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
36530         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
36531         Likewise.
36532         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
36533         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
36534         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
36535         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
36536         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
36537         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
36538         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
36539         as optional.
36540         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
36541         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
36542         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
36543         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
36544         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
36545         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
36546         specify as optional.
36547         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
36548         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
36549         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
36550         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
36551         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
36552         [XPG3] (NL_LANGMAX): Likewise.
36553         [POSIX || XPG3] (NL_MSGMAX): Likewise.
36554         [POSIX || XPG3] (NL_NMAX): Likewise.
36555         [POSIX || XPG3] (NL_SETMAX): Likewise.
36556         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
36557         [XPG3] (NZERO): Likewise.
36558         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
36559         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
36560         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
36561         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
36562         (REG_ERANGE): Expect.
36563         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
36564         optional-constant.
36565         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
36566         Use (void) in prototype.
36567         [POSIX] (*_t): Allow.
36568         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
36569         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
36570         (WRDE_BADVAL): Expect.
36572         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
36573         expect.
36574         [XPG3 || XPG4] (O_RSYNC): Likewise.
36575         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
36576         Likewise.
36577         [XPG3 || XPG4] (pthread_sigmask): Likewise.
36578         [XPG3 || XPG4] (sigqueue): Likewise.
36579         [XPG3 || XPG4] (sigtimedwait): Likewise.
36580         [XPG3 || XPG4] (sigwaitinfo): Likewise.
36581         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
36582         [XPG3 || XPG4] (vsnprintf): Likewise.
36583         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
36584         Likewise.
36585         [XPG3 || XPG4] (blksize_t): Likewise.
36586         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
36587         Likewise.
36588         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
36589         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36590         [XPG3 || XPG4] (struct itimerspec): Likewise.
36591         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
36592         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
36593         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
36594         [XPG3 || XPG4] (clockid_t): Likewise.
36595         [XPG3 || XPG4] (timer_t): Likewise.
36596         [XPG3 || XPG4] (clock_getres): Likewise.
36597         [XPG3 || XPG4] (clock_gettime): Likewise.
36598         [XPG3 || XPG4] (clock_settime): Likewise.
36599         [XPG3 || XPG4] (nanosleep): Likewise.
36600         [XPG3 || XPG4] (timer_create): Likewise.
36601         [XPG3 || XPG4] (timer_delete): Likewise.
36602         [XPG3 || XPG4] (timer_gettime): Likewise.
36603         [XPG3 || XPG4] (timer_getoverrun): Likewise.
36604         [XPG3 || XPG4] (timer_settime): Likewise.
36605         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36606         [XPG3 || XPG4] (getlogin_r): Likewise.
36607         [XPG3 || XPG4] (pread): Likewise.
36608         [XPG3 || XPG4] (pthread_atfork): Likewise.
36609         [XPG3 || XPG4] (pwrite): Likewise.
36611         [BZ #14835]
36612         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36613         <bits/siginfo.h>.
36615 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
36617         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36618         finalizing MALLSTREAM.
36620         * sysdeps/mach/hurd/syncfs.c: New file.
36622 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36624         [BZ #14719]
36625         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36626         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36627         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36628         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36629         (_nss_dns_gethostbyname4_r): Likewise.
36630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36631         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36633 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
36635         [BZ #13763]
36636         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36638 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
36640         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36641         * elf/cache.c (print_entry): Print ",AArch64" for
36642         FLAG_AARCH64_LIB64
36644         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36645         * elf/cache.c (print_entry): Print ",hard-float" for
36646         FLAG_ARM_LIBHF.
36648 2012-11-18  David S. Miller  <davem@davemloft.net>
36650         With help from Joseph Myers.
36651         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36652         cutoff to 2**-13.
36653         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36654         cutoff to 2**-25.
36655         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36656         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36657         small.
36658         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36659         * math/libm-test.inc (y0_test): New tests.
36660         (y1_test): New tests.
36661         * sysdeps/i386/fpu/libm-test-ulps: Update.
36662         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36665 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
36667         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36668         64-bit targets.
36669         * configure: Regenerated.
36671 2012-11-17  David S. Miller  <davem@davemloft.net>
36673         [BZ #14811]
36674         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36675         nonzero exponents with absolute value below 0x1p-128 to +/-
36676         0x1p-128.
36678 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
36680         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36682         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36684         * posix/getconf-speclist.c: New file.
36685         * posix/posix-envs.def: Likewise.
36686         * posix/confstr.c (START_ENV_GROUP): New macro.
36687         (END_ENV_GROUP): Likewise.
36688         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36689         (KNOWN_PRESENT_ENV_STRING): Likewise.
36690         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36691         (UNKNOWN_ENVIRONMENT): Likewise.
36692         (confstr): Include posix-envs.def instead of handling
36693         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36694         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36695         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36696         (END_ENV_GROUP): Likewise.
36697         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36698         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36699         (UNKNOWN_ENVIRONMENT): Likewise.
36700         (__sysconf): Include posix-envs.def instead of handling associated
36701         cases directly here.
36702         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36703         preprocessing getconf-speclist.c rather than running getconf or
36704         generating empty file.
36706 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
36708         * scripts/check-local-headers.sh: Ignore 'mach' headers.
36710 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
36712         [BZ #14672]
36713         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36715 2012-11-16  David S. Miller  <davem@davemloft.net>
36717         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36718         smaller than LDBL_EPSILON/2.0L, just return xm1.
36720 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
36722         * elf/tst-array1.c (init): Set constructor priority to 1000.
36723         (fini): Set destructor priority to 1000.
36724         * elf/tst-array2dep.c: Likewise.
36726 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36728         [BZ #11741]
36729         * libio/fileops.c (_IO_new_file_write): Correctly return error.
36730         (_IO_new_file_xsputn): Also return EOF if none of the input
36731         data was written when overflow failed.
36732         * libio/iopadn.c (_IO_padn): Likewise.
36733         * libio/iowpadn.c (_IO_wpadn): Likewise.
36734         * stdio-common/tst-put-error.c: Add copyright notice.
36735         (do_test): Add case for printing padded string.
36736         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36737         _IO_padn returned error.
36738         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36739         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36740         return EOF.
36742 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36744         * libio/libioP.h: Add comment note that the references to C++
36745         bits are now obsolete.
36747 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36749         * math/libm-test.inc (check_complex): Use asprintf.
36751 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
36753         * debug/pcprofiledump.c (print_version): Update copyright year.
36754         * malloc/memusagestat.c (print_version): Likewise.
36756 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
36758         [BZ #14831]
36759         * elf/Makefile (tests): Add tst-audit8.
36760         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36761         ($(objpfx)tst-audit8.out): New target.
36762         (tst-audit8-ENV): New variable.
36763         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36764         audit if l_reloc_result is NULL.
36765         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36766         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36767         * elf/tst-audit8.c: New file.
36769 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36771         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36772         * misc/Makefile (CFLAGS-select.c): Define.
36773         * posix/Makefile (CFLAGS-pause.c): Define.
36775 2012-11-13  David S. Miller  <davem@davemloft.net>
36777         * crypt/Makefile: Move test targets after toplevel Rules
36778         inclusion.  Grab any necessary sysdep routines when linking.
36779         * crypt/md5.c (md5_process_block): Remove define, we will always
36780         name it __md5_process_block.
36781         (md5_finish_ctx): Update md5_process_block call.
36782         (md5_stream): Likewise.
36783         (md5_process_bytes): Likewise.
36784         (md5_process_block): Rename to __md5_process_block and move to ...
36785         * crypt/md5-block.c: ... here.
36786         * crypt/sha256.c (sha256_process_block): Move to ...
36787         * crypt/sha256-block.c: ... here.
36788         * crypt/sha512.c (sha512_process_block): Move to ...
36789         * crypt/sha512-block.c: ... here.
36790         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36791         path.
36792         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36793         * sysdeps/sparc/sparc64/multiarch/Makefile
36794         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36795         crypt subdir.
36796         (localedef-aux): Add md5 crypto assembler when in locale subdir.
36797         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36798         multiarch changes.
36799         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36800         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36801         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36802         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36803         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36804         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36805         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36806         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36807         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36808         file.
36809         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36810         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36811         file.
36812         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36814 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
36816         * timezone/tzselect.ksh: Update from tzcode git revision
36817         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36818         * timezone/zdump.c: Likewise.
36819         * timezone/zic.c: Likewise.
36820         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36821         in TZVERSION setting, not $(PKGVERSION).
36822         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
36823         REPORT_BUGS_TO settings.
36825         [BZ #14838]
36826         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36827         macro.
36829 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36831         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36832         detection to immediately after _FP_ROUND().
36833         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36834         bits are 0.
36836 2012-11-11  David S. Miller  <davem@davemloft.net>
36838         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36839         inttypes.h
36840         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36841         __close rather than their public counterparts.
36843 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
36845         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36846         file.
36847         [UNIX98] (sem_timedwait): Do not expect.
36848         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36849         [XPG4 || UNIX98] (sockatmark): Do not expect.
36850         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36851         (clock_getcpuclockid): Do not expect.
36852         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36853         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36854         Do not expect.
36855         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36856         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36857         [UNIX98] (vwscanf): Likewise.
36858         [UNIX98] (vswscanf): Likewise.
36860 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
36862         * timezone/version.h: Remove file.
36863         * timezone/README: Do not refer to version.h.
36864         * timezone/Makefile ($(objpfx)zic.o): New dependency on
36865         $(objpfx)version.h.
36866         ($(objpfx)zdump.o): Likewise.
36867         ($(objpfx)version.h): New target.
36869         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36870         2012i.
36871         * timezone/README: Don't mention modification to tzselect.ksh.
36872         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36873         work on unmodified tzselect.ksh.  Substitute version numbers in
36874         tzselect.ksh.
36876         * Makefile (format-me): Remove.
36877         (INSTALL): Adjust indentation.  Use commands directly instead of
36878         using $(format-me).
36880         * aclocal.m4 (ACX_PKGVERSION): New macro.
36881         (ACX_BUGURL): Likewise.
36882         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36883         (PKGVERSION): New AC_DEFINE_UNQUOTED.
36884         (REPORT_BUGS_TO): Likewise.
36885         * configure: Regenerated.
36886         * config.h.in (PKGVERSION): New macro.
36887         (REPORT_BUGS_TO): Likewise.
36888         * config.make.in (PKGVERSION): New variable.
36889         (PKGVERSION_TEXI): Likewise.
36890         (REPORT_BUGS_TO): Likewise.
36891         (REPORT_BUGS_TEXI): Likewise.
36892         * Makefile (format-me): Use -I$(common-objpfx)manual.
36893         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36894         ($(common-objpfx)manual/%): New target.
36895         (manual/%): Remove target.
36896         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36897         (print_version): Use PKGVERSION.
36898         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36899         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36900         and REPORT_BUGS_TO.
36901         ($(objpfx)xtrace): Likewise.
36902         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36903         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36904         (print_version): Use PKGVERSION.
36905         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36906         (do_version): Use PKGVERSION.
36907         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36908         REPORT_BUGS_TO.
36909         (common-ldd-rewrite): Likewise.
36910         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36911         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36912         (print_version): Use PKGVERSION.
36913         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36914         * elf/pldd.c (argp_program_bug_address): Remove variable.
36915         (more_help): New function.
36916         (argp): Use more_help.
36917         (print_version): Use PKGVERSION.
36918         * elf/sln.c (main): Use PKGVERSION.
36919         (usage): Use REPORT_BUGS_TO.
36920         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36921         (top level): Use PKGVERSION.
36922         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36923         (print_version): Use PKGVERSION.
36924         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36925         (print_version): Use PKGVERSION.
36926         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36927         (print_version): Use PKGVERSION.
36928         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36929         (print_version): Use PKGVERSION.
36930         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36931         (print_version): Use PKGVERSION.
36932         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36933         (print_version): Use PKGVERSION.
36934         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36935         and BUGURL.
36936         ($(objpfx)memusage): Likewise.
36937         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36938         (do_version): Use PKGVERSION.
36939         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36940         (print_version): Use PKGVERSION.
36941         * malloc/mtrace.pl ($PACKAGE): Remove variable.
36942         ($PKGVERSION): New variable.
36943         ($REPORT_BUGS_TO): Likewise.
36944         (usage): Use $REPORT_BUGS_TO.
36945         (top level): Use $PKGVERSION.
36946         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36947         ($(objpfx)pkgvers.texi): New rule.
36948         ($(objpfx)stamp-pkgvers): Likewise.
36949         * manual/install.texi: Include pkgvers.texi.
36950         (--with-pkgversion): Document new configure option.
36951         (--with-bugurl): Likewise.
36952         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36953         than necessarily for this particular distribution.  Use
36954         REPORT_BUGS_TO for where to report bugs.
36955         * INSTALL: Regenerated.
36956         * manual/libc.texinfo: Include pkgvers.texi.
36957         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36958         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36959         (print_version): Use PKGVERSION.
36960         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36961         (print_version): Use PKGVERSION.
36962         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36963         (print_version): Use PKGVERSION.
36964         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36965         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36966         macro.
36967         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36968         (print_version): Use PKGVERSION.
36969         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36970         (print_version): Use PKGVERSION.
36971         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36972         and PKGVERSION.
36974         * timezone/checktab.awk: Update from tzcode 2012i.
36975         * timezone/ialloc.c: Likewise.
36976         * timezone/private.h: Likewise.
36977         * timezone/scheck.c: Likewise.
36978         * timezone/tzfile.h: Likewise.
36979         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36980         (TZVERSION): Hardcode tzcode version number.
36981         * timezone/zdump.c: Update from tzcode 2012i.
36982         * timezone/zic.c: Likewise.
36983         * timezone/version.h: New file.
36984         * timezone/README: Describe version.h.  Update upstream location.
36986         [BZ #14824]
36987         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36988         (mktemp): Enable declaration.
36989         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36990         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36991         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36992         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36993         Likewise.
36994         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36995         Likewise.
36996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36997         Likewise.
36998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36999         Likewise.
37000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37001         Likewise.
37002         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37003         Likewise.
37005         [BZ #14821]
37006         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37007         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
37008         for copies of such integer values.
37009         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37010         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37012 2012-11-09  Andreas Jaeger  <aj@suse.de>
37014         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37015         definitions and declarations that are provided by
37016         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37018 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37020         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
37021         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37022         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37023         definition.
37025 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37027         * elf/elf.h: Update comment before AArch64 relocations.
37029 2012-11-07  David S. Miller  <davem@davemloft.net>
37031         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37032         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37033         (__start_context): Declare.
37034         (__makecontext_ret): Delete.
37035         (__makecontext): Hook up __start_context instead of
37036         __makecontext_ret.
37037         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37038         (sysdep_routines): Add __start_context when in stdlib.
37040 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37042         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37043         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37044         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
37045         hardcoded "nm".
37046         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
37047         (READELF): New variable.  Use it instead of hardcoded "readelf".
37049 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37051         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37052         * sysdeps/x86/Makefile: Here.
37053         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37054         * sysdeps/x86/tst-xmmymm.sh: This.
37056 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37058         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37059         expectations.
37060         [UNIX98] (pthread_barrier_t): Do not expect.
37061         [UNIX98] (pthread_barrierattr_t): Likewise.
37062         [UNIX98] (pthread_spinlock_t): Likewise.
37063         [UNIX98] (pthread_barrier_destroy): Likewise.
37064         [UNIX98] (pthread_barrier_init): Likewise.
37065         [UNIX98] (pthread_barrier_wait): Likewise.
37066         [UNIX98] (pthread_barrierattr_destroy): Likewise.
37067         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37068         [UNIX98] (pthread_barrierattr_init): Likewise.
37069         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37070         [UNIX98] (pthread_getcpuclockid): Likewise.
37071         [UNIX98] (pthread_mutex_timedlock): Likewise.
37072         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37073         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37074         [UNIX98] (pthread_sigmask): Likewise.
37075         [UNIX98] (pthread_spin_destroy): Likewise.
37076         [UNIX98] (pthread_spin_init): Likewise.
37077         [UNIX98] (pthread_spin_lock): Likewise.
37078         [UNIX98] (pthread_spin_trylock): Likewise.
37079         [UNIX98] (pthread_spin_unlock): Likewise.
37080         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37081         Do not expect.
37082         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37083         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
37084         [XPG3 || XPG4] (pthread_cond_t): Likewise.
37085         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
37086         [XPG3 || XPG4] (pthread_key_t): Likewise.
37087         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
37088         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
37089         [XPG3 || XPG4] (pthread_once_t): Likewise.
37090         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
37091         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
37092         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
37093         [XPG3 || XPG4] (pthread_t): Likewise.
37095         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
37096         not expect.
37097         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
37099         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
37100         Change function return type to int.
37102         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
37103         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
37104         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
37105         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
37106         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
37107         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
37108         [!POSIX] (posix_madvise): Likewise.
37109         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
37110         && !UNIX98].
37111         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
37112         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
37113         (mode_t): Likewise.
37114         (posix_mem_offset): Likewise.
37115         (posix_typed_mem_get_info): Likewise.
37116         (posix_typed_mem_open): Likewise.
37118         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
37119         Change condition to [XOPEN2K8].
37121         * conform/conformtest.pl: Preprocess allow-header data with -x c
37122         instead of from stdin.
37123         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
37124         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
37125         [C99-based standards] (cerfc): Likewise.
37126         [C99-based standards] (cexp2): Likewise.
37127         [C99-based standards] (cexpm1): Likewise.
37128         [C99-based standards] (clog10): Likewise.
37129         [C99-based standards] (clog1p): Likewise.
37130         [C99-based standards] (clog2): Likewise.
37131         [C99-based standards] (clgamma): Likewise.
37132         [C99-based standards] (ctgamma): Likewise.
37133         [C99-based standards] (cerff): Likewise.
37134         [C99-based standards] (cerfcf): Likewise.
37135         [C99-based standards] (cexp2f): Likewise.
37136         [C99-based standards] (cexpm1f): Likewise.
37137         [C99-based standards] (clog10f): Likewise.
37138         [C99-based standards] (clog1pf): Likewise.
37139         [C99-based standards] (clog2f): Likewise.
37140         [C99-based standards] (clgammaf): Likewise.
37141         [C99-based standards] (ctgammaf): Likewise.
37142         [C99-based standards] (cerfl): Likewise.
37143         [C99-based standards] (cerfcl): Likewise.
37144         [C99-based standards] (cexp2l): Likewise.
37145         [C99-based standards] (cexpm1l): Likewise.
37146         [C99-based standards] (clog10l): Likewise.
37147         [C99-based standards] (clog1pl): Likewise.
37148         [C99-based standards] (clog2l): Likewise.
37149         [C99-based standards] (clgammal): Likewise.
37150         [C99-based standards] (ctgammal): Likewise.
37151         * conform/data/inttypes.h-data [C99-based standards]: Include
37152         stdint.h-data.  Remove all expectations for stdint.h contents.
37153         [C99-based standards] (PRI*): Do not allow.
37154         [C99-based standards] (SCN*): Likewise.
37155         [C99-based standards] (*_t): Likewise.
37156         [C99-based-standards] (PRId8): Expect macro.
37157         [C99-based-standards] (PRIi8): Likewise.
37158         [C99-based-standards] (PRIo8): Likewise.
37159         [C99-based-standards] (PRIu8): Likewise.
37160         [C99-based-standards] (PRIx8): Likewise.
37161         [C99-based-standards] (PRIX8): Likewise.
37162         [C99-based-standards] (SCNd8): Likewise.
37163         [C99-based-standards] (SCNi8): Likewise.
37164         [C99-based-standards] (SCNo8): Likewise.
37165         [C99-based-standards] (SCNu8): Likewise.
37166         [C99-based-standards] (SCNx8): Likewise.
37167         [C99-based-standards] (PRIdLEAST8): Likewise.
37168         [C99-based-standards] (PRIiLEAST8): Likewise.
37169         [C99-based-standards] (PRIoLEAST8): Likewise.
37170         [C99-based-standards] (PRIuLEAST8): Likewise.
37171         [C99-based-standards] (PRIxLEAST8): Likewise.
37172         [C99-based-standards] (PRIXLEAST8): Likewise.
37173         [C99-based-standards] (SCNdLEAST8): Likewise.
37174         [C99-based-standards] (SCNiLEAST8): Likewise.
37175         [C99-based-standards] (SCNoLEAST8): Likewise.
37176         [C99-based-standards] (SCNuLEAST8): Likewise.
37177         [C99-based-standards] (SCNxLEAST8): Likewise.
37178         [C99-based-standards] (PRIdFAST8): Likewise.
37179         [C99-based-standards] (PRIiFAST8): Likewise.
37180         [C99-based-standards] (PRIoFAST8): Likewise.
37181         [C99-based-standards] (PRIuFAST8): Likewise.
37182         [C99-based-standards] (PRIxFAST8): Likewise.
37183         [C99-based-standards] (PRIXFAST8): Likewise.
37184         [C99-based-standards] (SCNdFAST8): Likewise.
37185         [C99-based-standards] (SCNiFAST8): Likewise.
37186         [C99-based-standards] (SCNoFAST8): Likewise.
37187         [C99-based-standards] (SCNuFAST8): Likewise.
37188         [C99-based-standards] (SCNxFAST8): Likewise.
37189         [C99-based-standards] (PRId16): Likewise.
37190         [C99-based-standards] (PRIi16): Likewise.
37191         [C99-based-standards] (PRIo16): Likewise.
37192         [C99-based-standards] (PRIu16): Likewise.
37193         [C99-based-standards] (PRIx16): Likewise.
37194         [C99-based-standards] (PRIX16): Likewise.
37195         [C99-based-standards] (SCNd16): Likewise.
37196         [C99-based-standards] (SCNi16): Likewise.
37197         [C99-based-standards] (SCNo16): Likewise.
37198         [C99-based-standards] (SCNu16): Likewise.
37199         [C99-based-standards] (SCNx16): Likewise.
37200         [C99-based-standards] (PRIdLEAST16): Likewise.
37201         [C99-based-standards] (PRIiLEAST16): Likewise.
37202         [C99-based-standards] (PRIoLEAST16): Likewise.
37203         [C99-based-standards] (PRIuLEAST16): Likewise.
37204         [C99-based-standards] (PRIxLEAST16): Likewise.
37205         [C99-based-standards] (PRIXLEAST16): Likewise.
37206         [C99-based-standards] (SCNdLEAST16): Likewise.
37207         [C99-based-standards] (SCNiLEAST16): Likewise.
37208         [C99-based-standards] (SCNoLEAST16): Likewise.
37209         [C99-based-standards] (SCNuLEAST16): Likewise.
37210         [C99-based-standards] (SCNxLEAST16): Likewise.
37211         [C99-based-standards] (PRIdFAST16): Likewise.
37212         [C99-based-standards] (PRIiFAST16): Likewise.
37213         [C99-based-standards] (PRIoFAST16): Likewise.
37214         [C99-based-standards] (PRIuFAST16): Likewise.
37215         [C99-based-standards] (PRIxFAST16): Likewise.
37216         [C99-based-standards] (PRIXFAST16): Likewise.
37217         [C99-based-standards] (SCNdFAST16): Likewise.
37218         [C99-based-standards] (SCNiFAST16): Likewise.
37219         [C99-based-standards] (SCNoFAST16): Likewise.
37220         [C99-based-standards] (SCNuFAST16): Likewise.
37221         [C99-based-standards] (SCNxFAST16): Likewise.
37222         [C99-based-standards] (PRId32): Likewise.
37223         [C99-based-standards] (PRIi32): Likewise.
37224         [C99-based-standards] (PRIo32): Likewise.
37225         [C99-based-standards] (PRIu32): Likewise.
37226         [C99-based-standards] (PRIx32): Likewise.
37227         [C99-based-standards] (PRIX32): Likewise.
37228         [C99-based-standards] (SCNd32): Likewise.
37229         [C99-based-standards] (SCNi32): Likewise.
37230         [C99-based-standards] (SCNo32): Likewise.
37231         [C99-based-standards] (SCNu32): Likewise.
37232         [C99-based-standards] (SCNx32): Likewise.
37233         [C99-based-standards] (PRIdLEAST32): Likewise.
37234         [C99-based-standards] (PRIiLEAST32): Likewise.
37235         [C99-based-standards] (PRIoLEAST32): Likewise.
37236         [C99-based-standards] (PRIuLEAST32): Likewise.
37237         [C99-based-standards] (PRIxLEAST32): Likewise.
37238         [C99-based-standards] (PRIXLEAST32): Likewise.
37239         [C99-based-standards] (SCNdLEAST32): Likewise.
37240         [C99-based-standards] (SCNiLEAST32): Likewise.
37241         [C99-based-standards] (SCNoLEAST32): Likewise.
37242         [C99-based-standards] (SCNuLEAST32): Likewise.
37243         [C99-based-standards] (SCNxLEAST32): Likewise.
37244         [C99-based-standards] (PRIdFAST32): Likewise.
37245         [C99-based-standards] (PRIiFAST32): Likewise.
37246         [C99-based-standards] (PRIoFAST32): Likewise.
37247         [C99-based-standards] (PRIuFAST32): Likewise.
37248         [C99-based-standards] (PRIxFAST32): Likewise.
37249         [C99-based-standards] (PRIXFAST32): Likewise.
37250         [C99-based-standards] (SCNdFAST32): Likewise.
37251         [C99-based-standards] (SCNiFAST32): Likewise.
37252         [C99-based-standards] (SCNoFAST32): Likewise.
37253         [C99-based-standards] (SCNuFAST32): Likewise.
37254         [C99-based-standards] (SCNxFAST32): Likewise.
37255         [C99-based-standards] (PRId64): Likewise.
37256         [C99-based-standards] (PRIi64): Likewise.
37257         [C99-based-standards] (PRIo64): Likewise.
37258         [C99-based-standards] (PRIu64): Likewise.
37259         [C99-based-standards] (PRIx64): Likewise.
37260         [C99-based-standards] (PRIX64): Likewise.
37261         [C99-based-standards] (SCNd64): Likewise.
37262         [C99-based-standards] (SCNi64): Likewise.
37263         [C99-based-standards] (SCNo64): Likewise.
37264         [C99-based-standards] (SCNu64): Likewise.
37265         [C99-based-standards] (SCNx64): Likewise.
37266         [C99-based-standards] (PRIdLEAST64): Likewise.
37267         [C99-based-standards] (PRIiLEAST64): Likewise.
37268         [C99-based-standards] (PRIoLEAST64): Likewise.
37269         [C99-based-standards] (PRIuLEAST64): Likewise.
37270         [C99-based-standards] (PRIxLEAST64): Likewise.
37271         [C99-based-standards] (PRIXLEAST64): Likewise.
37272         [C99-based-standards] (SCNdLEAST64): Likewise.
37273         [C99-based-standards] (SCNiLEAST64): Likewise.
37274         [C99-based-standards] (SCNoLEAST64): Likewise.
37275         [C99-based-standards] (SCNuLEAST64): Likewise.
37276         [C99-based-standards] (SCNxLEAST64): Likewise.
37277         [C99-based-standards] (PRIdFAST64): Likewise.
37278         [C99-based-standards] (PRIiFAST64): Likewise.
37279         [C99-based-standards] (PRIoFAST64): Likewise.
37280         [C99-based-standards] (PRIuFAST64): Likewise.
37281         [C99-based-standards] (PRIxFAST64): Likewise.
37282         [C99-based-standards] (PRIXFAST64): Likewise.
37283         [C99-based-standards] (SCNdFAST64): Likewise.
37284         [C99-based-standards] (SCNiFAST64): Likewise.
37285         [C99-based-standards] (SCNoFAST64): Likewise.
37286         [C99-based-standards] (SCNuFAST64): Likewise.
37287         [C99-based-standards] (SCNxFAST64): Likewise.
37288         [C99-based-standards] (PRIdMAX): Likewise.
37289         [C99-based-standards] (PRIiMAX): Likewise.
37290         [C99-based-standards] (PRIoMAX): Likewise.
37291         [C99-based-standards] (PRIuMAX): Likewise.
37292         [C99-based-standards] (PRIxMAX): Likewise.
37293         [C99-based-standards] (PRIXMAX): Likewise.
37294         [C99-based-standards] (SCNdMAX): Likewise.
37295         [C99-based-standards] (SCNiMAX): Likewise.
37296         [C99-based-standards] (SCNoMAX): Likewise.
37297         [C99-based-standards] (SCNuMAX): Likewise.
37298         [C99-based-standards] (SCNxMAX): Likewise.
37299         [C99-based-standards] (PRIdPTR): Likewise.
37300         [C99-based-standards] (PRIiPTR): Likewise.
37301         [C99-based-standards] (PRIoPTR): Likewise.
37302         [C99-based-standards] (PRIuPTR): Likewise.
37303         [C99-based-standards] (PRIxPTR): Likewise.
37304         [C99-based-standards] (PRIXPTR): Likewise.
37305         [C99-based-standards] (SCNdPTR): Likewise.
37306         [C99-based-standards] (SCNiPTR): Likewise.
37307         [C99-based-standards] (SCNoPTR): Likewise.
37308         [C99-based-standards] (SCNuPTR): Likewise.
37309         [C99-based-standards] (SCNxPTR): Likewise.
37310         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
37311         allow.
37312         * conform/data/stdint.h-data: Update comments to clarify
37313         requirements.
37314         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
37315         type.
37316         [C99-based standards] (INT8_MAX): Likewise.
37317         [C99-based standards] (INT16_MIN): Likewise.
37318         [C99-based standards] (INT16_MAX): Likewise.
37319         [C99-based standards] (INT32_MIN): Likewise.
37320         [C99-based standards] (INT32_MAX): Likewise.
37321         [C99-based standards] (INT64_MIN): Likewise.
37322         [C99-based standards] (INT64_MAX): Likewise.
37323         [C99-based standards] (UINT8_MAX): Likewise.
37324         [C99-based standards] (UINT16_MAX): Likewise.
37325         [C99-based standards] (UINT32_MAX): Likewise.
37326         [C99-based standards] (UINT64_MAX): Likewise.
37327         [C99-based standards] (INT_LEAST8_MIN): Likewise.
37328         [C99-based standards] (INT_LEAST8_MAX): Likewise.
37329         [C99-based standards] (INT_LEAST16_MIN): Likewise.
37330         [C99-based standards] (INT_LEAST16_MAX): Likewise.
37331         [C99-based standards] (INT_LEAST32_MIN): Likewise.
37332         [C99-based standards] (INT_LEAST32_MAX): Likewise.
37333         [C99-based standards] (INT_LEAST64_MIN): Likewise.
37334         [C99-based standards] (INT_LEAST64_MAX): Likewise.
37335         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
37336         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
37337         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
37338         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
37339         [C99-based standards] (INT_FAST8_MIN): Likewise.
37340         [C99-based standards] (INT_FAST8_MAX): Likewise.
37341         [C99-based standards] (INT_FAST16_MIN): Likewise.
37342         [C99-based standards] (INT_FAST16_MAX): Likewise.
37343         [C99-based standards] (INT_FAST32_MIN): Likewise.
37344         [C99-based standards] (INT_FAST32_MAX): Likewise.
37345         [C99-based standards] (INT_FAST64_MIN): Likewise.
37346         [C99-based standards] (INT_FAST64_MAX): Likewise.
37347         [C99-based standards] (UINT_FAST8_MAX): Likewise.
37348         [C99-based standards] (UINT_FAST16_MAX): Likewise.
37349         [C99-based standards] (UINT_FAST32_MAX): Likewise.
37350         [C99-based standards] (UINT_FAST64_MAX): Likewise.
37351         [C99-based standards] (INTPTR_MIN): Likewise.
37352         [C99-based standards] (INTPTR_MAX): Likewise.
37353         [C99-based standards] (UINTPTR_MAX): Likewise.
37354         [C99-based standards] (INTMAX_MIN): Likewise.
37355         [C99-based standards] (INTMAX_MAX): Likewise.
37356         [C99-based standards] (UINTMAX_MAX): Likewise.
37357         [C99-based standards] (PTRDIFF_MIN): Likewise.
37358         [C99-based standards] (PTRDIFF_MAX): Likewise.
37359         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
37360         [C99-based standards] (SIZE_MAX): Likewise.
37361         [C99-based standards] (WCHAR_MAX): Likewise.
37362         [C99-based standards] (WINT_MAX): Likewise.
37363         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
37364         constraint on value.
37365         [C99-based standards] (WCHAR_MIN): Likewise.
37366         [C99-based standards] (WINT_MIN): Likewise.
37367         [C99-based standards] (*_t): Allow.
37368         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
37369         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
37370         Include math.h-data and complex.h-data.  Remove all expectations
37371         of math.h and complex.h contents.
37372         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
37373         at end of line.
37374         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
37375         (struct tm): Expect tag.
37376         [C99-based-standards] (wcstof): Expect function.
37377         [C99-based-standards] (wcstold): Likewise.
37378         [C99-based-standards] (wcstoll): Likewise.
37379         [C99-based-standards] (wcstoull): Likewise.
37380         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
37381         macro-int-constant.  Specify type.
37382         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
37383         constraint on value.
37384         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37385         Specify type.
37386         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
37387         Specify value.
37388         [ISO C standards]: Do not allow headers.
37389         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
37390         wcs[abcdefghijklmnopqrstuvwxyz]*.
37391         [ISO C standards] (*_t): Do not allow.
37392         * conform/data/wctype.h-data [C99-based standards] (iswblank):
37393         Expect function.
37394         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
37395         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
37396         Specify type.
37397         [ISO C standards]: Do not allow headers.
37398         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
37399         is[abcdefghijklmnopqrstuvwxyz]*.
37400         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
37401         to[abcdefghijklmnopqrstuvwxyz]*.
37402         [ISO C standards] (*_t): Do not allow.
37403         * conform/data/stdalign.h-data: New file.
37404         * conform/data/stdbool.h-data: Likewise.
37405         * conform/data/stdnoreturn.h-data: Likewise.
37407 2012-11-07  Roland McGrath  <roland@hack.frob.com>
37409         [BZ #14815]
37410         * manual/filesys.texi (Directory Entries): Typo fix.
37411         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
37413 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37415         * elf/elf.h (EM_AARCH64): New macro.
37416         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
37417         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
37418         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
37419         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
37420         (R_AARCH64_TLSDESC): Likewise.
37421         (NT_ARM_TLS): Likewise.
37422         (NT_ARM_HW_BREAK): Likewise.
37423         (NT_ARM_HW_WATCH): Likewise.
37425 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37427         [BZ #14811]
37428         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
37429         (__ieee754_powl): Saturate nonzero exponents with absolute value
37430         below 0x1p-79 to +/- 0x1p-79.
37431         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
37432         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
37433         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
37434         nonzero exponents with absolute value below 0x1p-32 to +/-
37435         0x1p-32.
37436         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
37437         (__ieee754_powl): Saturate nonzero exponents with absolute value
37438         below 0x1p-79 to +/- 0x1p-79.
37439         * math/libm-test.inc (pow_test): Add more tests.
37441 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37443         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
37444         _dl_s390_cap_flags with kernel. Increase string length.
37445         (_dl_s390_platforms): Add z196 and zEC12.
37447 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
37449         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
37450         Change XOPEN21K to XOPEN2K.
37452 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
37454         * string/memmove.c: Use memcpy when possible.
37456 2012-11-06  Andreas Jaeger  <aj@suse.de>
37458         * po/eo.po: Update from translation team.
37460 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
37462         [BZ #14793]
37463         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
37464         exponent and small x and y exponents, scale x or y up.  Increase
37465         by 2 the exponent used in scaling up.
37466         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37467         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37468         * math/libm-test.inc (fma_test): Add more tests.
37469         (fma_test_towardzero): Likewise.
37470         (fma_test_downward): Likewise.
37471         (fma_test_upward): Likewise.
37473 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
37475         [BZ #14805]
37476         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
37477         fenv_t *.
37479         [BZ #14801]
37480         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
37481         namespace for names of struct fields.
37482         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
37483         fenv_t fields.
37484         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
37485         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
37487 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37489         [BZ #3665]
37490         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
37492 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
37494         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
37495         PTR_DEMANGLE.
37497         [BZ #5246]
37498         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
37499         PTR_DEMANGLE.
37501 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
37503         [BZ #14797]
37504         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
37505         definitely overflow as x * y not x * y + z.
37506         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37507         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37508         * math/libm-test.inc (fma_test): Add more tests.
37509         (fma_test_towardzero): Likewise.
37510         (fma_test_downward): Likewise.
37511         (fma_test_upward): Likewise.
37513 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
37515         [BZ #157]
37517         * include/stub-tag.h: Remove file.
37518         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
37519         '#include' of it.
37520         * manual/maint.texi (Porting): Don't reference it.
37521         * Makerules ($(objpfx)stubs): Likewise.
37522         * dirent/closedir.c: Don't include <stub-tag.h>.
37523         * dirent/dirfd.c: Likewise.
37524         * dirent/fdopendir.c: Likewise.
37525         * dirent/getdents.c: Likewise.
37526         * dirent/getdents64.c: Likewise.
37527         * dirent/opendir.c: Likewise.
37528         * dirent/readdir.c: Likewise.
37529         * dirent/readdir64.c: Likewise.
37530         * dirent/readdir64_r.c: Likewise.
37531         * dirent/readdir_r.c: Likewise.
37532         * dirent/rewinddir.c: Likewise.
37533         * dirent/seekdir.c: Likewise.
37534         * dirent/telldir.c: Likewise.
37535         * gmon/profil.c: Likewise.
37536         * grp/setgroups.c: Likewise.
37537         * inet/if_index.c: Likewise.
37538         * io/access.c: Likewise.
37539         * io/chdir.c: Likewise.
37540         * io/chmod.c: Likewise.
37541         * io/chown.c: Likewise.
37542         * io/close.c: Likewise.
37543         * io/dup.c: Likewise.
37544         * io/dup2.c: Likewise.
37545         * io/dup3.c: Likewise.
37546         * io/euidaccess.c: Likewise.
37547         * io/faccessat.c: Likewise.
37548         * io/fchdir.c: Likewise.
37549         * io/fchmod.c: Likewise.
37550         * io/fchmodat.c: Likewise.
37551         * io/fchown.c: Likewise.
37552         * io/fchownat.c: Likewise.
37553         * io/fcntl.c: Likewise.
37554         * io/flock.c: Likewise.
37555         * io/fstatfs.c: Likewise.
37556         * io/fstatfs64.c: Likewise.
37557         * io/fstatvfs.c: Likewise.
37558         * io/fstatvfs64.c: Likewise.
37559         * io/futimens.c: Likewise.
37560         * io/fxstat.c: Likewise.
37561         * io/fxstat64.c: Likewise.
37562         * io/fxstatat.c: Likewise.
37563         * io/fxstatat64.c: Likewise.
37564         * io/getcwd.c: Likewise.
37565         * io/isatty.c: Likewise.
37566         * io/lchmod.c: Likewise.
37567         * io/lchown.c: Likewise.
37568         * io/link.c: Likewise.
37569         * io/linkat.c: Likewise.
37570         * io/lseek.c: Likewise.
37571         * io/lseek64.c: Likewise.
37572         * io/lxstat64.c: Likewise.
37573         * io/mkdir.c: Likewise.
37574         * io/mkdirat.c: Likewise.
37575         * io/mkfifo.c: Likewise.
37576         * io/mkfifoat.c: Likewise.
37577         * io/open.c: Likewise.
37578         * io/open64.c: Likewise.
37579         * io/openat.c: Likewise.
37580         * io/openat64.c: Likewise.
37581         * io/pipe.c: Likewise.
37582         * io/pipe2.c: Likewise.
37583         * io/poll.c: Likewise.
37584         * io/posix_fadvise.c: Likewise.
37585         * io/posix_fadvise64.c: Likewise.
37586         * io/posix_fallocate.c: Likewise.
37587         * io/posix_fallocate64.c: Likewise.
37588         * io/read.c: Likewise.
37589         * io/readlink.c: Likewise.
37590         * io/readlinkat.c: Likewise.
37591         * io/rmdir.c: Likewise.
37592         * io/sendfile.c: Likewise.
37593         * io/sendfile64.c: Likewise.
37594         * io/statfs.c: Likewise.
37595         * io/statfs64.c: Likewise.
37596         * io/statvfs.c: Likewise.
37597         * io/statvfs64.c: Likewise.
37598         * io/symlink.c: Likewise.
37599         * io/symlinkat.c: Likewise.
37600         * io/ttyname.c: Likewise.
37601         * io/ttyname_r.c: Likewise.
37602         * io/umask.c: Likewise.
37603         * io/unlink.c: Likewise.
37604         * io/unlinkat.c: Likewise.
37605         * io/utime.c: Likewise.
37606         * io/utimensat.c: Likewise.
37607         * io/write.c: Likewise.
37608         * io/xmknod.c: Likewise.
37609         * io/xmknodat.c: Likewise.
37610         * io/xstat.c: Likewise.
37611         * io/xstat64.c: Likewise.
37612         * login/getpt.c: Likewise.
37613         * login/grantpt.c: Likewise.
37614         * login/unlockpt.c: Likewise.
37615         * math/e_acoshl.c: Likewise.
37616         * math/e_acosl.c: Likewise.
37617         * math/e_asinl.c: Likewise.
37618         * math/e_atan2l.c: Likewise.
37619         * math/e_atanhl.c: Likewise.
37620         * math/e_coshl.c: Likewise.
37621         * math/e_expl.c: Likewise.
37622         * math/e_fmodl.c: Likewise.
37623         * math/e_gammal_r.c: Likewise.
37624         * math/e_hypotl.c: Likewise.
37625         * math/e_j0l.c: Likewise.
37626         * math/e_j1l.c: Likewise.
37627         * math/e_jnl.c: Likewise.
37628         * math/e_lgammal_r.c: Likewise.
37629         * math/e_log10l.c: Likewise.
37630         * math/e_log2l.c: Likewise.
37631         * math/e_logl.c: Likewise.
37632         * math/e_powl.c: Likewise.
37633         * math/e_rem_pio2l.c: Likewise.
37634         * math/e_sinhl.c: Likewise.
37635         * math/e_sqrtl.c: Likewise.
37636         * math/fclrexcpt.c: Likewise.
37637         * math/fedisblxcpt.c: Likewise.
37638         * math/feenablxcpt.c: Likewise.
37639         * math/fegetenv.c: Likewise.
37640         * math/fegetexcept.c: Likewise.
37641         * math/fegetround.c: Likewise.
37642         * math/feholdexcpt.c: Likewise.
37643         * math/fesetenv.c: Likewise.
37644         * math/fesetround.c: Likewise.
37645         * math/feupdateenv.c: Likewise.
37646         * math/fgetexcptflg.c: Likewise.
37647         * math/fraiseexcpt.c: Likewise.
37648         * math/fsetexcptflg.c: Likewise.
37649         * math/ftestexcept.c: Likewise.
37650         * math/k_cosl.c: Likewise.
37651         * math/k_rem_pio2l.c: Likewise.
37652         * math/k_sinl.c: Likewise.
37653         * math/k_tanl.c: Likewise.
37654         * math/s_asinhl.c: Likewise.
37655         * math/s_atanl.c: Likewise.
37656         * math/s_cbrtl.c: Likewise.
37657         * math/s_erfl.c: Likewise.
37658         * math/s_expm1l.c: Likewise.
37659         * math/s_log1pl.c: Likewise.
37660         * math/s_tanhl.c: Likewise.
37661         * misc/acct.c: Likewise.
37662         * misc/brk.c: Likewise.
37663         * misc/chflags.c: Likewise.
37664         * misc/chroot.c: Likewise.
37665         * misc/fchflags.c: Likewise.
37666         * misc/fgetxattr.c: Likewise.
37667         * misc/flistxattr.c: Likewise.
37668         * misc/fremovexattr.c: Likewise.
37669         * misc/fsetxattr.c: Likewise.
37670         * misc/fsync.c: Likewise.
37671         * misc/ftruncate.c: Likewise.
37672         * misc/futimes.c: Likewise.
37673         * misc/futimesat.c: Likewise.
37674         * misc/getdomain.c: Likewise.
37675         * misc/getdtsz.c: Likewise.
37676         * misc/gethostid.c: Likewise.
37677         * misc/gethostname.c: Likewise.
37678         * misc/getloadavg.c: Likewise.
37679         * misc/getpagesize.c: Likewise.
37680         * misc/getsysstats.c: Likewise.
37681         * misc/getxattr.c: Likewise.
37682         * misc/gtty.c: Likewise.
37683         * misc/ioctl.c: Likewise.
37684         * misc/lgetxattr.c: Likewise.
37685         * misc/listxattr.c: Likewise.
37686         * misc/llistxattr.c: Likewise.
37687         * misc/lremovexattr.c: Likewise.
37688         * misc/lsetxattr.c: Likewise.
37689         * misc/lutimes.c: Likewise.
37690         * misc/madvise.c: Likewise.
37691         * misc/mincore.c: Likewise.
37692         * misc/mlock.c: Likewise.
37693         * misc/mlockall.c: Likewise.
37694         * misc/mmap.c: Likewise.
37695         * misc/mprotect.c: Likewise.
37696         * misc/msync.c: Likewise.
37697         * misc/munlock.c: Likewise.
37698         * misc/munlockall.c: Likewise.
37699         * misc/munmap.c: Likewise.
37700         * misc/preadv.c: Likewise.
37701         * misc/preadv64.c: Likewise.
37702         * misc/ptrace.c: Likewise.
37703         * misc/pwritev.c: Likewise.
37704         * misc/pwritev64.c: Likewise.
37705         * misc/readv.c: Likewise.
37706         * misc/reboot.c: Likewise.
37707         * misc/remap_file_pages.c: Likewise.
37708         * misc/removexattr.c: Likewise.
37709         * misc/revoke.c: Likewise.
37710         * misc/select.c: Likewise.
37711         * misc/setdomain.c: Likewise.
37712         * misc/setegid.c: Likewise.
37713         * misc/seteuid.c: Likewise.
37714         * misc/sethostid.c: Likewise.
37715         * misc/sethostname.c: Likewise.
37716         * misc/setregid.c: Likewise.
37717         * misc/setreuid.c: Likewise.
37718         * misc/setxattr.c: Likewise.
37719         * misc/sstk.c: Likewise.
37720         * misc/stty.c: Likewise.
37721         * misc/swapoff.c: Likewise.
37722         * misc/swapon.c: Likewise.
37723         * misc/sync.c: Likewise.
37724         * misc/syncfs.c: Likewise.
37725         * misc/syscall.c: Likewise.
37726         * misc/truncate.c: Likewise.
37727         * misc/ualarm.c: Likewise.
37728         * misc/usleep.c: Likewise.
37729         * misc/ustat.c: Likewise.
37730         * misc/utimes.c: Likewise.
37731         * misc/vhangup.c: Likewise.
37732         * misc/writev.c: Likewise.
37733         * posix/_exit.c: Likewise.
37734         * posix/alarm.c: Likewise.
37735         * posix/execve.c: Likewise.
37736         * posix/fexecve.c: Likewise.
37737         * posix/fork.c: Likewise.
37738         * posix/fpathconf.c: Likewise.
37739         * posix/getaddrinfo.c: Likewise.
37740         * posix/getegid.c: Likewise.
37741         * posix/geteuid.c: Likewise.
37742         * posix/getgid.c: Likewise.
37743         * posix/getgroups.c: Likewise.
37744         * posix/getlogin.c: Likewise.
37745         * posix/getlogin_r.c: Likewise.
37746         * posix/getpgid.c: Likewise.
37747         * posix/getpid.c: Likewise.
37748         * posix/getppid.c: Likewise.
37749         * posix/getresgid.c: Likewise.
37750         * posix/getresuid.c: Likewise.
37751         * posix/getsid.c: Likewise.
37752         * posix/getuid.c: Likewise.
37753         * posix/glob64.c: Likewise.
37754         * posix/nanosleep.c: Likewise.
37755         * posix/pathconf.c: Likewise.
37756         * posix/pause.c: Likewise.
37757         * posix/posix_madvise.c: Likewise.
37758         * posix/pread.c: Likewise.
37759         * posix/pread64.c: Likewise.
37760         * posix/pwrite.c: Likewise.
37761         * posix/pwrite64.c: Likewise.
37762         * posix/sched_getaffinity.c: Likewise.
37763         * posix/sched_getp.c: Likewise.
37764         * posix/sched_gets.c: Likewise.
37765         * posix/sched_primax.c: Likewise.
37766         * posix/sched_primin.c: Likewise.
37767         * posix/sched_rr_gi.c: Likewise.
37768         * posix/sched_setaffinity.c: Likewise.
37769         * posix/sched_setp.c: Likewise.
37770         * posix/sched_sets.c: Likewise.
37771         * posix/sched_yield.c: Likewise.
37772         * posix/setgid.c: Likewise.
37773         * posix/setlogin.c: Likewise.
37774         * posix/setpgid.c: Likewise.
37775         * posix/setresgid.c: Likewise.
37776         * posix/setresuid.c: Likewise.
37777         * posix/setsid.c: Likewise.
37778         * posix/setuid.c: Likewise.
37779         * posix/sleep.c: Likewise.
37780         * posix/spawni.c: Likewise.
37781         * posix/sysconf.c: Likewise.
37782         * posix/times.c: Likewise.
37783         * posix/wait.c: Likewise.
37784         * posix/wait3.c: Likewise.
37785         * posix/wait4.c: Likewise.
37786         * posix/waitpid.c: Likewise.
37787         * resolv/gai_sigqueue.c: Likewise.
37788         * resource/getpriority.c: Likewise.
37789         * resource/getrlimit.c: Likewise.
37790         * resource/getrusage.c: Likewise.
37791         * resource/nice.c: Likewise.
37792         * resource/setpriority.c: Likewise.
37793         * resource/setrlimit.c: Likewise.
37794         * resource/ulimit.c: Likewise.
37795         * rt/aio_cancel.c: Likewise.
37796         * rt/aio_fsync.c: Likewise.
37797         * rt/aio_read.c: Likewise.
37798         * rt/aio_sigqueue.c: Likewise.
37799         * rt/aio_suspend.c: Likewise.
37800         * rt/aio_write.c: Likewise.
37801         * rt/clock_getres.c: Likewise.
37802         * rt/clock_gettime.c: Likewise.
37803         * rt/clock_nanosleep.c: Likewise.
37804         * rt/clock_settime.c: Likewise.
37805         * rt/lio_listio.c: Likewise.
37806         * rt/mq_close.c: Likewise.
37807         * rt/mq_getattr.c: Likewise.
37808         * rt/mq_notify.c: Likewise.
37809         * rt/mq_open.c: Likewise.
37810         * rt/mq_receive.c: Likewise.
37811         * rt/mq_send.c: Likewise.
37812         * rt/mq_setattr.c: Likewise.
37813         * rt/mq_timedreceive.c: Likewise.
37814         * rt/mq_timedsend.c: Likewise.
37815         * rt/mq_unlink.c: Likewise.
37816         * rt/shm_open.c: Likewise.
37817         * rt/shm_unlink.c: Likewise.
37818         * rt/timer_create.c: Likewise.
37819         * rt/timer_delete.c: Likewise.
37820         * rt/timer_getoverr.c: Likewise.
37821         * rt/timer_gettime.c: Likewise.
37822         * rt/timer_settime.c: Likewise.
37823         * setjmp/__longjmp.c: Likewise.
37824         * setjmp/setjmp.c: Likewise.
37825         * signal/kill.c: Likewise.
37826         * signal/killpg.c: Likewise.
37827         * signal/raise.c: Likewise.
37828         * signal/sigaction.c: Likewise.
37829         * signal/sigaltstack.c: Likewise.
37830         * signal/sigblock.c: Likewise.
37831         * signal/sigignore.c: Likewise.
37832         * signal/sigintr.c: Likewise.
37833         * signal/signal.c: Likewise.
37834         * signal/sigpause.c: Likewise.
37835         * signal/sigpending.c: Likewise.
37836         * signal/sigqueue.c: Likewise.
37837         * signal/sigreturn.c: Likewise.
37838         * signal/sigset.c: Likewise.
37839         * signal/sigsetmask.c: Likewise.
37840         * signal/sigstack.c: Likewise.
37841         * signal/sigsuspend.c: Likewise.
37842         * signal/sigtimedwait.c: Likewise.
37843         * signal/sigvec.c: Likewise.
37844         * signal/sigwait.c: Likewise.
37845         * signal/sigwaitinfo.c: Likewise.
37846         * signal/sysv_signal.c: Likewise.
37847         * socket/accept.c: Likewise.
37848         * socket/accept4.c: Likewise.
37849         * socket/bind.c: Likewise.
37850         * socket/connect.c: Likewise.
37851         * socket/getpeername.c: Likewise.
37852         * socket/getsockname.c: Likewise.
37853         * socket/getsockopt.c: Likewise.
37854         * socket/isfdtype.c: Likewise.
37855         * socket/listen.c: Likewise.
37856         * socket/recv.c: Likewise.
37857         * socket/recvfrom.c: Likewise.
37858         * socket/recvmsg.c: Likewise.
37859         * socket/send.c: Likewise.
37860         * socket/sendmsg.c: Likewise.
37861         * socket/sendto.c: Likewise.
37862         * socket/setsockopt.c: Likewise.
37863         * socket/shutdown.c: Likewise.
37864         * socket/sockatmark.c: Likewise.
37865         * socket/socket.c: Likewise.
37866         * socket/socketpair.c: Likewise.
37867         * stdio-common/ctermid.c: Likewise.
37868         * stdio-common/cuserid.c: Likewise.
37869         * stdio-common/remove.c: Likewise.
37870         * stdio-common/rename.c: Likewise.
37871         * stdio-common/renameat.c: Likewise.
37872         * stdio-common/tempname.c: Likewise.
37873         * stdlib/getcontext.c: Likewise.
37874         * stdlib/makecontext.c: Likewise.
37875         * stdlib/setcontext.c: Likewise.
37876         * stdlib/swapcontext.c: Likewise.
37877         * stdlib/system.c: Likewise.
37878         * streams/fattach.c: Likewise.
37879         * streams/fdetach.c: Likewise.
37880         * streams/getmsg.c: Likewise.
37881         * streams/getpmsg.c: Likewise.
37882         * streams/putmsg.c: Likewise.
37883         * streams/putpmsg.c: Likewise.
37884         * sysdeps/unix/bsd/getpt.c: Likewise.
37885         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37886         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37887         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37889         Likewise.
37890         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37891         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37892         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37893         * sysvipc/msgctl.c: Likewise.
37894         * sysvipc/msgget.c: Likewise.
37895         * sysvipc/msgrcv.c: Likewise.
37896         * sysvipc/msgsnd.c: Likewise.
37897         * sysvipc/semctl.c: Likewise.
37898         * sysvipc/semget.c: Likewise.
37899         * sysvipc/semop.c: Likewise.
37900         * sysvipc/semtimedop.c: Likewise.
37901         * sysvipc/shmat.c: Likewise.
37902         * sysvipc/shmctl.c: Likewise.
37903         * sysvipc/shmdt.c: Likewise.
37904         * sysvipc/shmget.c: Likewise.
37905         * termios/tcdrain.c: Likewise.
37906         * termios/tcflow.c: Likewise.
37907         * termios/tcflush.c: Likewise.
37908         * termios/tcgetattr.c: Likewise.
37909         * termios/tcgetpgrp.c: Likewise.
37910         * termios/tcsendbrk.c: Likewise.
37911         * termios/tcsetattr.c: Likewise.
37912         * termios/tcsetpgrp.c: Likewise.
37913         * time/adjtime.c: Likewise.
37914         * time/clock.c: Likewise.
37915         * time/getitimer.c: Likewise.
37916         * time/gettimeofday.c: Likewise.
37917         * time/setitimer.c: Likewise.
37918         * time/settimeofday.c: Likewise.
37919         * time/stime.c: Likewise.
37920         * time/time.c: Likewise.
37922 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
37924         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37925         /usr/old/bin.
37927         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37928         instead of spaces.
37929         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37931 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
37933         [BZ #14796]
37934         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37935         FE_TONEAREST before applying Dekker multiplication and Knuth
37936         addition.  Clear inexact exceptions and check for exact zero
37937         results afterwards.
37938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37939         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37940         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37941         * math/libm-test.inc (fma_test): Add more tests.
37942         (fma_test_towardzero): Likewise.
37943         (fma_test_downward): Likewise.
37944         (fma_test_upward): Likewise.
37945         * sysdeps/generic/math_private.h (default_libc_fesetround): New
37946         function.
37947         (libc_fesetround): New macro.
37948         (libc_fesetroundf): Likewise.
37949         (libc_fesetroundl): Likewise.
37950         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37951         function.
37952         (libc_fesetround_387): Likewise.
37953         (libc_fesetroundf): New macro.
37954         (libc_fesetround): Likewise.
37955         (libc_fesetroundl): Likewise.
37956         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37957         function.
37958         (libc_fesetroundf): New macro.
37959         (libc_fesetround): Likewise.
37960         (libc_fesetroundl): Likewise.
37961         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37962         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37963         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37964         libm_hidden_ver.
37965         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37966         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37967         libm_hidden_def.
37968         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37969         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37970         libm_hidden_ver.
37971         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37972         libm_hidden_def.
37974         [BZ #3439]
37975         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37976         integer constant usable in #if and use that to give value to enum
37977         constant.
37978         (FE_DIVBYZERO): Likewise.
37979         (FE_UNDERFLOW): Likewise.
37980         (FE_OVERFLOW): Likewise.
37981         (FE_INVALID): Likewise.
37982         (FE_INVALID_SNAN): Likewise.
37983         (FE_INVALID_ISI): Likewise.
37984         (FE_INVALID_IDI): Likewise.
37985         (FE_INVALID_ZDZ): Likewise.
37986         (FE_INVALID_IMZ): Likewise.
37987         (FE_INVALID_COMPARE): Likewise.
37988         (FE_INVALID_SOFTWARE): Likewise.
37989         (FE_INVALID_SQRT): Likewise.
37990         (FE_INVALID_INTEGER_CONVERSION): Likewise.
37991         (FE_TONEAREST): Likewise.
37992         (FE_TOWARDZERO): Likewise.
37993         (FE_UPWARD): Likewise.
37994         (FE_DOWNWARD): Likewise.
37995         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37996         (FE_DIVBYZERO): Likewise.
37997         (FE_OVERFLOW): Likewise.
37998         (FE_UNDERFLOW): Likewise.
37999         (FE_INEXACT): Likewise.
38000         (FE_TONEAREST): Likewise.
38001         (FE_DOWNWARD): Likewise.
38002         (FE_UPWARD): Likewise.
38003         (FE_TOWARDZERO): Likewise.
38004         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38005         (FE_UNDERFLOW): Likewise.
38006         (FE_OVERFLOW): Likewise.
38007         (FE_DIVBYZERO): Likewise.
38008         (FE_INVALID): Likewise.
38009         (FE_TONEAREST): Likewise.
38010         (FE_TOWARDZERO): Likewise.
38011         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38012         (FE_OVERFLOW): Likewise.
38013         (FE_UNDERFLOW): Likewise.
38014         (FE_DIVBYZERO): Likewise.
38015         (FE_INEXACT): Likewise.
38016         (FE_TONEAREST): Likewise.
38017         (FE_TOWARDZERO): Likewise.
38018         (FE_UPWARD): Likewise.
38019         (FE_DOWNWARD): Likewise.
38020         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38021         (FE_DIVBYZERO): Likewise.
38022         (FE_OVERFLOW): Likewise.
38023         (FE_UNDERFLOW): Likewise.
38024         (FE_INEXACT): Likewise.
38025         (FE_TONEAREST): Likewise.
38026         (FE_DOWNWARD): Likewise.
38027         (FE_UPWARD): Likewise.
38028         (FE_TOWARDZERO): Likewise.
38030 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
38032         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38034 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
38036         * scripts/cross-test-ssh.sh (command): Use newlines to separate
38037         commands.  Quote $PWD.
38038         (blacklist_exports): Don't use remove_newlines.  Replace "declare
38039         -x" by "export".
38040         (remove_newlines): Remove.
38042 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
38044         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38045         * stdlib/stdlib.h (atof): Moved to ...
38046         * include/bits/stdlib-float.h: Here.  New file.
38047         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38048         * stdlib/bits/stdlib-float.h: New file.
38049         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38050         -mno-sse -mno-mmx.
38051         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38052         <xmmintrin.h>.
38054 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
38056         * conform/conformtest.pl (@headers): Add fenv.h.
38057         * conform/data/fenv.h-data: New file.
38058         * include/fenv.h [_ISOMAC]: Disable all contents of file except
38059         include of <math/fenv.h>.
38061         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38062         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38063         && !UNIX98].  Enables tests for XOPEN2K8.
38064         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38065         POSIX2008]: Likewise.
38067         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38068         (struct rusage): Do not expect type or its members.
38070         [BZ #3439]
38071         * math/math.h (FP_NAN): Define macro to integer constant usable in
38072         #if and use that to give value to enum constant.
38073         (FP_INFINITE): Likewise.
38074         (FP_ZERO): Likewise.
38075         (FP_SUBNORMAL): Likewise.
38076         (FP_NORMAL): Likewise.
38078 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
38080         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38081         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38082         arguments.
38084 2012-11-02  Roland McGrath  <roland@hack.frob.com>
38086         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
38087         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
38088         autoconf-time if not.
38089         * configure.in: Remove AC_PREREQ.
38091 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38093         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
38094         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
38095         of the internal implementation.
38097 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
38099         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
38100         except include of <misc/sys/syslog.h>.
38102 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
38105         function returns with a NULL context exit with zero.
38107 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38109         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
38111 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
38113         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
38114         (run_program_cmd): This.
38115         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
38116         (tst_langinfo): New variable.  Use it.
38118 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
38120         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
38121         floating point opcodes.
38123 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38125         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
38126         variable.
38128         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
38130         * sysdeps/mach/hurd/powerpc: Remove directory.
38131         * sysdeps/mach/powerpc: Likewise.
38133 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38135         * scripts/check-local-headers.sh: Ignore c++ headers.
38137 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38139         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
38140         __libc_cleanup_region_start argument.
38142 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
38144         [BZ #14784]
38145         [BZ #14785]
38146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
38147         x * y using scaling, not as x * y + z.
38148         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38149         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38150         * math/libm-test.inc (fma_test): Add more tests.
38151         (fma_test_towardzero): Likewise.
38152         (fma_test_downward): Likewise.
38153         (fma_test_upward): Likewise.
38155 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
38157         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
38159 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38161         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
38162         New variable.
38164 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
38166         * rt/tst-shm.c (worker): Correct checking for mmap failure.
38168 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38171         Fix sort order.
38172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38173         Likewise.
38175 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38178         Fix the order of the list for glibc 2.17.
38179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38180         Likewise.
38182 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
38184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38186 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
38188         [BZ #14610]
38189         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
38190         for low part of x being zero before using __atanl (y).
38191         * math/libm-test.inc (atan2_test): Add another test.
38193         * manual/install.texi (Configuring and compiling): Document
38194         general use of test-wrapper and test-wrapper-env.
38195         * INSTALL: Regenerated.
38197         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
38198         (__fma): Do not extract and scale down low bits on after-rounding
38199         systems when result rounded to normal precision would have normal
38200         exponent.
38201         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
38202         (__fmal): Do not extract and scale down low bits on after-rounding
38203         systems when result rounded to normal precision would have normal
38204         exponent.
38205         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
38206         (__fmal): Do not extract and scale down low bits on after-rounding
38207         systems when result rounded to normal precision would have normal
38208         exponent.
38209         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
38210         macro.
38211         (fma_test): Add more tests.
38212         (fma_test_towardzero): Likewise.
38213         (fma_test_downward): Likewise.
38214         (fma_test_upward): Likewise.
38216 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
38218         * sysdeps/i386/tininess.h: Renamed to ...
38219         * sysdeps/x86/tininess.h: This.
38220         * sysdeps/x86_64/tininess.h: Removed.
38222 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38224         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
38225         input.  Use $(build-program-cmd).
38226         ($(objpfx)tst-array1-static.out): Likewise.
38227         ($(objpfx)tst-array2.out): Likewise.
38228         ($(objpfx)tst-array3.out): Likewise.
38229         ($(objpfx)tst-array4.out): Likewise.
38230         ($(objpfx)tst-array5.out): Likewise.
38231         ($(objpfx)tst-array5-static.out): Likewise.
38233 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
38235         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
38236         if defined.
38238         * nss/nsswitch.h (nss_interface_function): Provide new
38239         macro for use with NSS functions.
38240         * grp/initgroups.c: Use new macro.
38241         * nss/getXXbyYY.c: Likewise.
38242         * nss/getXXbyYY_r.c: Likewise.
38243         * nss/getXXent.c: Likewise.
38244         * nss/getXXent_r.c: Likewise.
38245         * sysdeps/posix/getaddrinfo.c: Likewise.
38247 2012-10-30  Andreas Jaeger  <aj@suse.de>
38249         * po/ru.po: Update Russion translation from translation project.
38251 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
38253         [BZ #14152]
38254         [BZ #14783]
38255         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
38256         result and shift together with sticky bit instead of replicating
38257         round-to-nearest rounding.
38258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38259         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38260         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
38261         missing underflow exceptions.
38262         (fma_test_towardzero): Add more tests.
38263         (fma_test_downward): Likewise.
38264         (fma_test_upward): Likewise.
38266         [BZ #14047]
38267         * sysdeps/generic/tininess.h: New file.
38268         * sysdeps/i386/tininess.h: Likewise.
38269         * sysdeps/sh/tininess.h: Likewise.
38270         * sysdeps/x86_64/tininess.h: Likewise.
38271         * stdlib/tst-strtod-underflow.c: Likewise.
38272         * stdlib/tst-tininess.c: Likewise.
38273         * stdlib/strtod_l.c: Include <tininess.h>.
38274         (round_and_return): Do not set errno for exact underflow cases.
38275         Force an underflow exception when setting errno for underflow.
38276         Determine underflow based on rounding to normal precision if
38277         TININESS_AFTER_ROUNDING.
38278         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
38279         ERANGE for exact underflow cases.
38280         * stdlib/Makefile (tests): Add tst-tininess and
38281         tst-strtod-underflow.
38282         ($(objpfx)tst-tininess): Use $(link-libm).
38283         ($(objpfx)tst-strtod-underflow): Likewise.
38285 2012-10-30  Andreas Jaeger  <aj@suse.de>
38287         [BZ#14767]
38288         * elf/Makefile (tests): Remove conditional for have-initfini-array
38289         since this is now always required and the variable does not exist
38290         anymore.
38291         (tests-static): Likewise.
38292         (modules-names): Likewise.
38294         * po/eo.po: Add Esperanto translation from translation project.
38296         * elf/tst-array1.c (fini_array): Make writeable so that it can be
38297         merged with constructor/destructor.
38298         (init_array): Likewise.
38299         * elf/tst-array2dep.c (fini_array): Likewise.
38300         (init_array): Likewise.
38302 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
38304         * manual/message.texi: Delete @cartouche tags.
38306 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
38308         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
38309         EOPNOTSUPP.
38310         * sysdeps/mach/hurd/fsync.c: Likewise.
38312         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
38313         [_POSIX_REALTIME_SIGNALS]: Change condition to
38314         [_POSIX_REALTIME_SIGNALS > 0].
38316 2012-10-27  Andreas Jaeger  <aj@suse.de>
38318         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
38319         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
38320         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
38321         [__WORDSIZE != 64]: Likewise.
38323 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
38325         *  iconvdata/tst-table.sh: Remove ${SHELL}.
38326         *  iconvdata/tst-tables.sh: Likewise.
38328 2012-10-25  David S. Miller  <davem@davemloft.net>
38330         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38331         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
38332         of strtoull.
38334         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
38335         ifunc-impl-list.c
38336         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38337         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
38338         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
38339         file.
38341 2012-10-25  Roland McGrath  <roland@hack.frob.com>
38343         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38344         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
38345         __getdirentries.
38347 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38348             Jim Blandy  <jimb@codesourcery.com>
38350         * scripts/cross-test-ssh.sh: New file.
38351         * manual/install.texi (Configuring and compiling): Document use of
38352         cross-test-ssh.sh.
38353         * INSTALL: Regenerated.
38355 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
38357         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
38358         EOPNOTSUPP.
38360 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
38362         * Makeconfig (run-program-prefix): Fix comment.
38364 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38365             Jim Blandy  <jimb@codesourcery.com>
38367         * Makeconfig (test-wrapper): New variable,
38368         (test-wrapper-env): Likewise.
38369         [$(cross-compiling) = yes && $(test-wrapper) != ""]
38370         (run-built-tests): Define to yes.
38371         (run-program-prefix): Use $(test-wrapper).
38372         (built-program-cmd): Likewise.
38373         * Rules (make-test-out): Use $(test-wrapper-env) and
38374         $(host-built-program-cmd).
38375         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
38376         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
38377         tst-pathopt.sh.
38378         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
38379         $(test-wrapper-env) to tst-rtld-load-self.sh.
38380         ($(objpfx)order2.out): Use $(test-wrapper).
38381         ($(objpfx)tst-initorder.out): Likewise.
38382         ($(objpfx)tst-initorder2.out): Likewise.
38383         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
38384         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
38385         (test_wrapper_env): New variable.  Use it to run ld.so.
38386         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
38387         Use it to run ld.so.
38388         (test_wrapper_env): Likewise.
38389         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
38390         $(test-wrapper) to run-iconv-test.sh.
38391         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
38392         (ICONV): Use $test_wrapper.
38393         * posix/Makefile ($(objpfx)globtest.out): Pass
38394         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
38395         globtest.sh, not $(run-program-prefix).
38396         * posix/globtest.sh (run_via_rtld_prefix): New variable.
38397         (test_wrapper): Likewise.
38398         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
38399         set together with run_via_rtld_prefix.
38400         (run_program_prefix): Define in terms of test_wrapper and
38401         run_via_rtld_prefix.
38403 2012-10-24  Roland McGrath  <roland@hack.frob.com>
38405         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
38406         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
38407         Targets removed.
38409         [BZ #14743]
38410         * include/time.h: Remove librt_hidden_proto (clock_gettime).
38411         Declare __clock_getres, __clock_gettime, __clock_settime,
38412         __clock_nanosleep, and __clock_getcpuclockid.
38413         * rt/clock_gettime.c: Define __clock_gettime as an alias.
38414         Remove librt_hidden_def (clock_gettime).
38415         * sysdeps/unix/clock_gettime.c: Likewise.
38416         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
38417         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38418         * rt/clock_getres.c: Define __clock_getres as an alias.
38419         * sysdeps/posix/clock_getres.c: Likewise.
38420         * rt/clock_settime.c: Define __clock_settime as an alias.
38421         * sysdeps/unix/clock_settime.c: Likewise.
38422         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
38423         * sysdeps/unix/clock_nanosleep.c: Likewise.
38424         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38425         * rt/clock-compat.c: New file.
38426         * rt/Makefile (librt-routines): Add clock-compat and move
38427         $(clock-routines) to ...
38428         (routines): ... here, new variable.
38429         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
38430         Don't add get_clockfreq here.
38431         * rt/Versions (libc: GLIBC_2.17): New version set.
38432         Add clock_* symbols here.
38433         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
38434         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
38435         (GLIBC_2.17): Add clock_* symbols.
38436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38437         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38438         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38440         Likewise.
38441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38442         Likewise.
38443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38447         * NEWS: Mention the move.
38449         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
38450         Use __open, __read, __close rather than their public counterparts.
38451         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38452         (__get_clockfreq_via_cpuinfo): Likewise.
38453         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
38454         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
38456         * config.h.in (HAVE_IFUNC): New #undef.
38457         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
38458         was successful.
38459         * configure: Regenerated.
38461 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38463         * configure.in: Move READELF check to start of file.
38464         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
38465         libc_cv_asm_gnu_indirect_function in the process.
38466         * configure: Regenerated.
38468 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
38470         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
38471         send the output to /dev/null.
38472         (libc_cv_cc_with_libunwind): Likewise.
38473         (libc_cv_as_noexecstack): Likewise.
38474         * configure: Regenerate.
38476 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
38478         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
38480         * posix/globtest.sh (TMPDIR): Do not set.
38481         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
38482         (testout): Likewise.
38484 2012-10-24  Andreas Jaeger  <aj@suse.de>
38486         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
38487         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
38488         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
38489         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
38490         posix_fadvise64, posix_fallocate64.
38492         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
38493         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
38494         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
38495         Likewise.
38496         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
38497         Likewise.
38498         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
38500         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
38501         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
38502         <bits/fcntl-linux.h>.
38503         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
38505         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
38506         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
38507         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
38508         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
38509         [__WORDSIZE != 64]: Likewise.
38511 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
38513         * Makeconfig (run-built-tests): New variable.
38514         * Rules [$(cross-compiling) = yes]: Change condition to
38515         [$(run-built-tests) = no].
38516         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
38517         to [$(run-built-tests) = yes].
38518         * elf/Makefile [$(cross-compiling) = no]: Likewise
38519         * grp/Makefile [$(cross-compiling) = no]: Likewise.
38520         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
38521         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
38522         * intl/Makefile [$(cross-compiling) = no]: Likewise.
38523         * io/Makefile [$(cross-compiling) = no]: Likewise.
38524         * libio/Makefile [$(cross-compiling) = no]: Likewise.
38525         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
38526         * misc/Makefile [$(cross-compiling) = no]: Likewise.
38527         * posix/Makefile [$(cross-compiling) = no]: Likewise.
38528         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
38529         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
38530         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
38531         * string/Makefile [$(cross-compiling) = no]: Likewise.
38533         * posix/Makefile ($(objpfx)globtest.out): Pass
38534         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
38535         $(rtld-installed-name).
38536         * posix/globtest.sh (elf_objpfx): Remove variable.
38537         (rtld_installed_name): Likewise.
38538         (library_path): Likewise.
38539         (run_program_prefix): New variable.  Use for running globtest
38540         binary.
38542 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
38543             Joseph Myers  <joseph@codesourcery.com>
38545         * Makeconfig (host-built-program-cmd): New variable.
38546         * elf/Makefile (tst-stackguard1-ARGS): Use
38547         $(host-built-program-cmd).
38548         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
38549         (tst-spawn-ARGS): Likewise.
38550         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
38552 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
38553             Jim Blandy  <jimb@codesourcery.com>
38555         * Makeconfig (run-via-rtld-prefix): New variable.
38556         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
38557         (built-program-cmd): Likewise.
38559 2012-10-22  Andreas Jaeger  <aj@suse.de>
38561         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
38562         __O_RSYNC if it exists, otherwise to O_SYNC.
38564 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
38565             Joseph Myers  <joseph@codesourcery.com>
38567         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38568         /dev/null.
38569         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
38570         from /dev/null
38571         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
38572         /dev/null.
38574 2012-10-22  Andreas Jaeger  <aj@suse.de>
38576         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
38577         Define always.
38578         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38581         bits/fcntl-linux.h.
38583         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
38584         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
38586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
38587         to __O_LARGEFILE.
38588         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38589         to __O_LARGEFILE.
38591 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
38592             Joseph Myers  <joseph@codesourcery.com>
38594         * config.make.in (NM): New variable.
38596 2012-10-21  Andreas Jaeger  <aj@suse.de>
38598         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38599         definitions and declarations that are provided by
38600         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38602 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
38604         [BZ #14683]
38605         * elf/Makefile (tests-static): Add tst-leaks1-static.
38606         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38607         ($(objpfx)tst-leaks1-static): New rule.
38608         ($(objpfx)tst-leaks1-static-mem): Likewise.
38609         (tst-leaks1-static-ENV): New macro.
38610         * elf/dl-open.c (dl_open_worker): Check the main application
38611         only if SHARED is defined.
38612         * elf/tst-leaks1-static.c: New file.
38614 2012-10-20  Andreas Jaeger  <aj@suse.de>
38616         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38617         generic values for Linux.
38618         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38619         and declarations that are provided by <bits/fcntl-linux.h> and
38620         include <bits/fcntl-linux.h>.
38621         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38622         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38624 2012-10-20  Roland McGrath  <roland@hack.frob.com>
38626         * io/fcntl.h: Move include of <bits/types.h> to the top and
38627         include it unconditionally.
38629 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
38631         * wcsmbs/Makefile (tests-ifunc): New variable.
38632         (tests): Add $(tests-ifunc).
38633         * wcsmbs/test-wcschr-ifunc.c: New file.
38634         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38635         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38636         * wcsmbs/test-wcslen-ifunc.c: Likewise.
38637         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38638         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38640         * string/Makefile (tests-ifunc): New variable.
38641         (tests): Add $(tests-ifunc).
38642         * string/test-memccpy.c (TEST_NAME): New macro.
38643         * string/test-memchr.c (TEST_NAME): Likewise.
38644         * string/test-memcmp.c (TEST_NAME): Likewise.
38645         * string/test-memcpy.c (TEST_NAME): Likewise.
38646         * string/test-memmem.c (TEST_NAME): Likewise.
38647         * string/test-memmove.c (TEST_NAME): Likewise.
38648         * string/test-memset.c (TEST_NAME): Likewise.
38649         * string/test-rawmemchr.c (TEST_NAME): Likewise.
38650         * string/test-stpcpy.c (TEST_NAME): Likewise.
38651         * string/test-stpncpy.c (TEST_NAME): Likewise.
38652         * string/test-strcasecmp.c (TEST_NAME): Likewise.
38653         * string/test-strcasestr.c (TEST_NAME): Likewise.
38654         * string/test-strcat.c (TEST_NAME): Likewise.
38655         * string/test-strchr.c (TEST_NAME): Likewise.
38656         * string/test-strcmp.c(TEST_NAME): Likewise.
38657         * string/test-strcpy.c (TEST_NAME): Likewise.
38658         * string/test-strcspn.c (TEST_NAME): Likewise.
38659         * string/test-strlen.c (TEST_NAME): Likewise.
38660         * string/test-strncasecmp.c (TEST_NAME): Likewise.
38661         * string/test-strncmp.c (TEST_NAME): Likewise.
38662         * string/test-strncpy.c (TEST_NAME): Likewise.
38663         * string/test-strnlen.c (TEST_NAME): Likewise.
38664         * string/test-strpbrk.c (TEST_NAME): Likewise.
38665         * string/test-strrchr.c (TEST_NAME): Likewise.
38666         * string/test-strspn.c (TEST_NAME): Likewise.
38667         * string/test-strstr.c (TEST_NAME): Likewise.
38668         * string/test-bcopy-ifunc.c: New file.
38669         * string/test-bzero-ifunc.c: Likewise.
38670         * string/test-memccpy-ifunc.c: Likewise.
38671         * string/test-memchr-ifunc.c: Likewise.
38672         * string/test-memcmp-ifunc.c: Likewise.
38673         * string/test-memcpy-ifunc.c: Likewise.
38674         * string/test-memmem-ifunc.c: Likewise.
38675         * string/test-memmove-ifunc.c: Likewise.
38676         * string/test-mempcpy-ifunc.c: Likewise.
38677         * string/test-memset-ifunc.c: Likewise.
38678         * string/test-rawmemchr-ifunc.c: Likewise.
38679         * string/test-stpcpy-ifunc.c: Likewise.
38680         * string/test-stpncpy-ifunc.c: Likewise.
38681         * string/test-strcasecmp-ifunc.c: Likewise.
38682         * string/test-strcasestr-ifunc.c: Likewise.
38683         * string/test-strcat-ifunc.c: Likewise.
38684         * string/test-strchr-ifunc.c: Likewise.
38685         * string/test-strchrnul-ifunc.c: Likewise.
38686         * string/test-strcmp-ifunc.c: Likewise.
38687         * string/test-strcpy-ifunc.c: Likewise.
38688         * string/test-strcspn-ifunc.c: Likewise.
38689         * string/test-strlen-ifunc.c: Likewise.
38690         * string/test-strncasecmp-ifunc.c: Likewise.
38691         * string/test-strncat-ifunc.c: Likewise.
38692         * string/test-strncmp-ifunc.c: Likewise.
38693         * string/test-strncpy-ifunc.c: Likewise.
38694         * string/test-strnlen-ifunc.c: Likewise.
38695         * string/test-strpbrk-ifunc.c: Likewise.
38696         * string/test-strrchr-ifunc.c: Likewise.
38697         * string/test-strspn-ifunc.c: Likewise.
38698         * string/test-strstr-ifunc.c: Likewise.
38700         * debug/Makefile (tests-ifunc): New variable.
38701         (tests): Add $(tests-ifunc).
38702         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38703         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38704         * debug/test-stpcpy_chk-ifunc.c: New file.
38705         * debug/test-strcpy_chk-ifunc.c: Likewise.
38707 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38709         [BZ #13601]
38710         * elf/dl-load.c (open_verify): Retry read if the entire ELF
38711         header is not read in.
38713 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
38715         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
38716         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
38717         directly.  Pass built executable to script as
38718         $(built-program-cmd).
38719         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
38720         $testprogram without using LD_LIBRARY_PATH and $ldso.
38722         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38723         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38724         $(rtld-installed-name).
38725         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38726         (rtld_installed_name): Likewise.
38727         (library_path): Likewise.
38728         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
38729         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38730         $(run-program-prefix) to tst-tables.sh.
38731         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
38732         it to run tst-table-from and tst-table-to.
38733         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38734         Pass it to tst-table.sh.
38735         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38736         $(run-program-prefix) to tst-gettext.sh.
38737         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38738         tst-translit.sh.
38739         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38740         tst-gettext2.sh.
38741         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
38742         to run tst-gettext.
38743         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
38744         to run tst-gettext2.
38745         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
38746         to run tst-translit.
38747         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38748         $(run-program-prefix) to tst-mtrace.sh.
38749         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
38750         to run tst-mtrace.
38751         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38752         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38753         $(rtld-installed-name).
38754         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38755         (rtld_installed_name): Likewise.
38756         (run_program_prefix): New variable.  Use it to run wordexp-test.
38758         * Makeconfig (ARCH): Remove all definitions.
38759         (machine): Likewise.
38760         [ARCH]: Remove conditional code.
38761         [!objdir]: Give error.
38762         [!objdir] (objpfx): Remove.
38763         [!objdir] (common-objpfx): Likewise.
38764         [!objdir] (common-objdir): Likewise.
38765         * configure.in (config_makefile): Remove.  Hardcode Makefile in
38766         AC_CONFIG_FILES call.
38767         * configure: Regenerated.
38769         [BZ #13888]
38770         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38771         or TMPDIR.
38772         (testout): Likewise.
38774         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38775         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38776         $(rtld-installed-name).
38777         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38778         (rtld_installed_name): Likwise.
38779         (runit): Remove function.
38780         (run_getconf): New variable,  Use it for running getconf binary.
38782 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
38784         [BZ #14716]
38785         * string/test-memmem.c (check_result): New function.
38786         (do_one_test): Use it.
38787         (check1): New function.
38788         (test_main): Use it.
38790 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
38792         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38794 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
38796         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38797         (_G_LSEEK64): Likewise.
38798         (_G_MMAP64): Likewise.
38799         (_G_FSTAT64): Likewise.
38800         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38801         (_G_LSEEK64): Likewise.
38802         (_G_MMAP64): Likewise.
38803         (_G_FSTAT64): Likewise.
38804         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38805         unconditional.  Call __mmap64 directly.
38806         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38807         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
38808         __lseek64 directly.
38809         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38810         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
38811         __mmap64 directly.
38812         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38813         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
38814         __lseek64 directly.
38815         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38816         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
38817         __lseek64 directly.
38818         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38819         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
38820         __lseek64 directly.
38821         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38822         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
38823         __fxstat64 directly.
38824         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38825         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38826         unconditional.
38827         (freopen64) [!_G_OPEN64]: Remove conditional code.
38828         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38829         unconditional.
38830         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38831         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38832         unconditional.
38833         (ftello64) [!_G_LSEEK64]: Remove conditional code.
38834         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38835         unconditional.
38836         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38837         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38838         unconditional.
38839         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38840         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38841         unconditional.
38842         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38843         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38844         unconditional.
38845         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38846         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38847         unconditional.
38848         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38850 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38852         [BZ #12140]
38853         * manual/memory.texi (Malloc Tunable Parameters): Add note
38854         about free list pointers overwriting some perturb bytes.
38855         Wording suggested by Roland McGrath.
38857 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
38859         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38860         (lgamma_test): Likewise.
38861         (tgamma_test): Likewise.
38863 2012-10-16  Florian Weimer  <fweimer@redhat.com>
38865         [BZ #14700]
38866         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38867         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38869 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
38871         * NEWS: Mention BZ #14716.
38872         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38873         when removing AVAILABLE1_USES_J macro.
38875 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
38877         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38878         (__bswap_64): __uint64_t for unsigned 64-bit int.
38880 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
38882         * include/string.h (memmem): Declare libc hidden alias.
38883         * string/memmem.c (memmem): Define libc hidden alias.
38884         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38885         __read, __close instead of open, read, close.
38887 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
38889         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38890         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38891         global and hidden.
38892         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38893         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38894         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38895         Likewise.
38896         (__rawmemchr_sse2): Likewise.
38897         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38898         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38899         (__strchr_sse2): Likewise.
38900         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38901         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38902         (__strcasecmp_sse2): Likewise.
38903         (__strncasecmp_sse2): Likewise.
38904         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38905         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38906         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38907         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38908         (__strrchr_sse2): Likewise.
38909         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38910         ifunc-impl-list.c.
38911         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38912         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38913         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38914         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38915         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38916         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38917         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38918         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38919         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38920         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38921         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38922         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38923         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38924         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38925         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38926         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38927         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38928         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38929         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38930         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38931         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38932         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38933         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38934         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38935         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38936         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38937         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38938         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38939         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38940         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38942         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38943         global and hidden.
38944         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38945         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38946         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38947         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38948         Likewise.
38949         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38950         Likewise.
38951         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38952         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38953         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38954         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38955         ifunc-impl-list.c.
38956         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38957         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38958         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38959         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38960         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38961         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38962         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38963         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38964         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38965         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38966         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38967         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38968         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38969         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38970         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38971         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38972         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38973         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38974         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38975         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38976         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38977         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38978         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38979         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38980         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38981         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38982         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38983         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38984         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38985         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38986         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38987         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38988         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38989         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38990         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38991         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38992         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38993         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38994         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38995         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38996         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38998         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38999         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39000         * include/ifunc-impl-list.h: New file.
39001         * misc/ifunc-impl-list.c: Likewise.
39002         * misc/Makefile (routines): Add ifunc-impl-list.
39003         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39004         * string/test-string.h: Include <ifunc-impl-list.h>.
39005         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39006         TEST_NAME]: New variables.
39007         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39008         are defined.
39009         (test_init): Call __libc_ifunc_impl_list to initialize
39010         func_list if TEST_IFUNC and TEST_NAME are defined.
39012         * string/Makefile (strop-tests): Add bcopy and bzero.
39013         * string/test-bcopy.c: New file.
39014         * string/test-bzero.c: Likewise.
39015         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39016         defined.
39017         * string/test-memset.c: Support bzero test if TEST_BZERO is
39018         defined.
39019         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39020         __libc_memmove.
39021         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39022         __libc_memset.
39023         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39024         of memset.
39026 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
39028         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39029         * configure: Regenerated.
39031         * Makeconfig (+link-static-before-libc): Don't include
39032         $(link-static-libc).
39034         * libio/libio.h (_IO_pos_t): Remove.
39036 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39038         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
39039         McGrath.
39041 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39043         * crypt/crypt-entry.c: Include fips-private.h.
39044         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39045         * crypt/md5c-test.c (main): Tolerate disabled MD5.
39046         * sysdeps/unix/sysv/linux/fips-private.h: New file.
39047         * sysdeps/generic/fips-private.h: New file, dummy fallback.
39049 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
39051         * crypt/crypt-private.h: Include stdbool.h.
39052         (_ufc_setup_salt_r): Return bool.
39053         * crypt/crypt-entry.c: Include errno.h.
39054         (__crypt_r): Return NULL with EINVAL for bad salt.
39055         * crypt/crypt_util.c (bad_for_salt): New.
39056         (_ufc_setup_salt_r): Check that salt is long enough and within
39057         the specified alphabet.
39058         * crypt/badsalttest.c: New file.
39059         * crypt/Makefile (tests): Add it.
39060         ($(objpfx)badsalttest): New.
39062 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
39064         * NEWS: Add entry for BZ #14602.
39066 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
39068         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39069         type-generic.
39070         * math/libm-test.inc: Update comment listing what functions and
39071         macros are tested.
39072         (isgreater_test): New function.
39073         (isgreaterequal_test): Likewise.
39074         (isless_test): Likewise.
39075         (islessequal_test): Likewise.
39076         (islessgreater_test): Likewise.
39077         (isunordered_test): Likewise.
39078         (main): Call the new functions.
39080 2012-10-09  Roland McGrath  <roland@hack.frob.com>
39082         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39083         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
39084         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
39085         * sysdeps/i386/configure: Regenerated.
39086         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
39087         * sysdeps/mach/configure: Regenerated.
39088         * sysdeps/mach/hurd/configure: Regenerated.
39089         * sysdeps/powerpc/configure: Regenerated.
39090         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39091         * sysdeps/powerpc/powerpc64/configure: Regenerated.
39092         * sysdeps/s390/s390-32/configure: Regenerated.
39093         * sysdeps/s390/s390-64/configure: Regenerated.
39094         * sysdeps/sh/configure: Regenerated.
39095         * sysdeps/sparc/configure: Regenerated.
39096         * sysdeps/unix/sysv/linux/configure: Regenerated.
39097         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39098         * sysdeps/x86_64/configure: Regenerated.
39100         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
39101         defined.  Don't check if MAP is NULL.
39103 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
39105         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
39106         (_G_stat64): Likewise.
39107         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
39108         (_G_stat64): Likewise.
39109         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
39110         instead of struct _G_stat64.
39111         * libio/fileops.c (mmap_remap_check): Likewise.
39112         (decide_maybe_mmap): Likewise.
39113         (_IO_new_file_seekoff): Likewise.
39114         (_IO_file_stat): Likewise.
39115         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
39116         _G_off64_t.
39117         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
39118         instead of struct _G_stat64.
39119         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39121 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
39123         [BZ #14602]
39124         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39125         Replace with ...
39126         (CHECK_EOL): New macro.
39127         (two_way_short_needle): Check beginning of haystack for EOL.  Use
39128         CHECK_EOL.
39129         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39130         Replace with CHECK_EOL.
39131         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
39132         Replace with CHECK_EOL.
39134 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
39136         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
39137         type-generic.
39138         * math/libm-test.inc: Update comment listing what functions and
39139         macros are tested.
39140         (finite_test): New function.
39141         (isinf_test): Likewise.
39142         (isnan_test): Likewise.
39143         (fpclassify_test): Test subnormal input.
39144         (isfinite_test): Likewise.
39145         (isnormal_test): Likewise.
39146         (main): Call the new functions.
39148 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
39150         [BZ #14660]
39151         * Makerules (%.dynsym): Force C locale when running
39152         $(OBJDUMP) --dynamic-syms.
39154 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
39156         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
39157         <stdint.h>.
39159 2012-10-06  David S. Miller  <davem@davemloft.net>
39161         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
39162         upper 32-bits of the length value in %o2 since we use branch-on-register
39163         tests which consider the entire 64-bit register.
39165 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
39167         * string/test-strstr.c (check2): Add a test for page boundary.
39169 2012-10-05  David S. Miller  <davem@davemloft.net>
39171         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
39172         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
39173         file.
39174         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39175         sysdep_routines.
39176         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39177         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
39178         and bzero when HWCAP_SPARC_CRYPTO is present.
39180 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
39182         [BZ #14602]
39183         * string/test-strstr.c (check2): New function.
39184         (test_main): Call check2.
39186         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
39187         and bug-strchr1.
39188         * string/bug-strcasestr1.c (do_test): Moved to ...
39189         * string/test-strcasestr.c (check1): Here.  New function.
39190         (do_one_test): Break out result checking code into ...
39191         (check_result): This.  New function.
39192         (do_one_test): Call check_result.
39193         (test_main): Call check1.
39194         * string/bug-strchr1.c (do_test): Moved to ...
39195         * string/test-strchr.c (check1): Here.  New function.
39196         (do_one_test): Break out result checking code into ...
39197         (check_result): This.  New function.
39198         (do_one_test): Call check_result.
39199         (test_main): Call check1.
39200         * string/bug-strstr1.c (main): Moved to ...
39201         * string/test-strstr.c (check1): Here.  New function.
39202         (do_one_test): Break out result checking code into ...
39203         (check_result): This.  New function.
39204         (do_one_test): Call check_result.
39205         (test_main): Call check1.
39206         * string/bug-strcasestr1.c: Removed.
39207         * string/bug-strchr1.c: Likewise.
39208         * string/bug-strstr1.c: Likewise.
39210         * elf/Makefile (dl-routines): Add hwcaps.
39211         * elf/dl-support.c (_dl_important_hwcaps): Removed.
39212         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
39213         (_dl_important_hwcaps): Moved to ...
39214         * elf/dl-hwcaps.c: Here.  New file.
39215         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
39217         [BZ #14557]
39218         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
39219         if IS_IN_rtld isn't defined.
39221         * elf/dl-support.c (_dl_sysinfo_map): New.
39222         Include "get-dynamic-info.h" and "setup-vdso.h".
39223         (_dl_non_dynamic_init): Call setup_vdso.
39224         * elf/dynamic-link.h: Don't include <assert.h>.
39225         (elf_get_dynamic_info): Moved to ...
39226         * elf/get-dynamic-info.h: Here.  New file.
39227         * elf/dynamic-link.h: Include "get-dynamic-info.h".
39228         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
39229         * elf/setup-vdso.h: Here.  New file.
39230         * elf/rtld.c: Include "setup-vdso.h".
39231         (dl_main): Call setup_vdso.
39233 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
39235         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
39236         creal in comment listing functions tested.  List finite, isinf,
39237         isnan, isless, islessequal, isgreater, isgreaterequal,
39238         islessgreater, isunordered, lgamma_r and pow10 as functions and
39239         macros not tested.  Mention which functions not tested are aliases
39240         for other functions.  Fix typo.  Note that signs of NaNs are not
39241         tested.
39243         * scripts/config.guess: Update from config.git.
39244         * scripts/config.sub: Likewise.
39246 2012-10-04  Roland McGrath  <roland@hack.frob.com>
39248         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
39249         * misc/madvise.c (madvise): Renamed to __madvise.
39250         Make madvise a weak alias.
39251         * include/sys/mman.h: Declare __madvise.
39252         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
39253         * sysdeps/unix/syscalls.list
39254         (madvise): Make __madvise the strong name, and madvise a weak alias.
39255         * sysdeps/unix/sysv/linux/syscalls.list
39256         (madvise, mmap): Remove redundant entries.
39257         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
39258         * malloc/malloc.c (mtrim): Likewise.
39259         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
39261 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39263         * sysdeps/mach/hurd/dl-cache.c: File removed.
39264         * config.h.in (USE_LDCONFIG): New #undef.
39265         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
39266         * configure: Regenerated.
39267         * elf/Makefile (dl-routines): Add dl-cache only under
39268         [$(use-ldconfig) = yes].
39269         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
39270         cache on [USE_LDCONFIG].
39271         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
39272         [USE_LDCONFIG].
39273         * elf/rtld.c (dl_main): Likewise.
39275 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
39277         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
39278         _SC_LEVEL4_CACHE_LINESIZE.
39280 2012-10-03  Roland McGrath  <roland@hack.frob.com>
39282         * sysdeps/unix/bsd/confstr.h: File removed.
39284 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
39286         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
39287         sys/sdt-config.h.
39289 2012-10-02  Roland McGrath  <roland@hack.frob.com>
39291         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
39292         Make 'mapoff' field ElfW(Off) rather than off_t.
39294 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
39296         * nscd/Makefile: Remove nscd-cflags and all its users.
39297         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
39298         (CFLAGS-nonlib): Add compiler flags for nscd modules.
39300         [BZ #10631]
39301         * malloc.c (malloc_printerr): Clarify error message.
39303 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
39305         [BZ #14648]
39306         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39307         Set bit_FMA_Usable if FMA is supported.
39308         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
39309         macro.
39310         (bit_FMA4_Usable): Updated.
39311         (index_FMA_Usable): New macro.
39312         (CPUID_FMA): Likewise
39313         (HAS_FMA): Defined with bit_FMA_Usable.
39315 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39317         * bits/types.h (__swblk_t): Type removed.
39318         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
39319         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
39320         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39321         (__SWBLK_T_TYPE): Likewise.
39322         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39323         (__SWBLK_T_TYPE): Likewise.
39324         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39325         (__SWBLK_T_TYPE): Likewise.
39326         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39327         (__SWBLK_T_TYPE): Likewise.
39329 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
39330             Honza Horak <hhorak@redhat.com>
39332         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
39333         (xdr_mapname): Use YPMAXMAP as maxsize.
39334         (xdr_peername): Use YPMAXPEER as maxsize.
39335         (xdr_keydat): Use YPAXRECORD as maxsize.
39336         (xdr_valdat): Use YPMAXRECORD as maxsize.
39338 2012-10-01  Roland McGrath  <roland@hack.frob.com>
39340         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
39342         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
39343         * csu/init-first.c: ... here.
39344         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
39345         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
39346         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39347         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39348         * sysdeps/i386/init-first.c: File removed.
39349         * sysdeps/sh/init-first.c: File removed.
39351 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
39353         [BZ #14645]
39354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
39355         if x * y might underflow to zero and z is zero.
39356         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39357         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39358         * math/libm-test.inc (min_subnorm_value): New variable.
39359         (fma_test): Add more tests.
39360         (fma_test_towardzero): Likewise.
39361         (fma_test_downward): Likewise
39362         (fma_test_upward): Likewise.
39363         (initialize): Set min_subnorm_value.
39365 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
39367         [BZ #14638]
39368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
39369         0 + 0.
39370         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
39371         mode for addition resulting in exact zero.
39372         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
39373         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
39374         exact 0 + 0.
39375         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39376         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39377         * math/libm-test.inc (fma_test): Add more tests.
39378         (fma_test_towardzero): New function.
39379         (fma_test_downward): Likewise.
39380         (fma_test_upward): Likewise.
39381         (main): Call the new functions.
39383 2012-09-28  David S. Miller  <davem@davemloft.net>
39385         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
39387 2012-09-28  Roland McGrath  <roland@hack.frob.com>
39389         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
39390         instead of SIGALRM.
39392         * sysdeps/gnu/_G_config.h: Moved to ...
39393         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
39394         * sysdeps/mach/hurd/_G_config.h: Moved to ...
39395         * sysdeps/generic/_G_config.h: ... here.
39397         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
39399         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
39401         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
39402         Conditionalize target on [libnss_test1.so-version].
39404         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
39406         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
39407         (elfobjdir): Move out of conditionals.
39409         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
39410         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
39411         (__nss_lookup_function): Conditionalize label remove_from_tree on
39412         [!DO_STATIC_NSS || SHARED], matching its only use.
39414 2012-09-28  David S. Miller  <davem@davemloft.net>
39416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
39417         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
39418         file.
39419         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
39420         sysdep_routines.
39421         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
39422         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
39423         when HWCAP_SPARC_CRYPTO is present.
39425 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39427         * io/tst-mknodat.c: Create a FIFO instead of a socket.
39429 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
39431         [BZ #6530]
39432         * stdio-common/vfprintf.c (process_string_arg): Revert
39433         2000-07-22 change.
39435 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
39437         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
39438         for testcase.
39439         * stdio-common/tst-sprintf.c: Include <locale.h>
39440         (main): Test sprintf's handling of incomplete multibyte
39441         characters.
39443 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
39445         * elf/dl-runtime.c (VERSYMIDX): Removed.
39446         * elf/dl-version.c (VERSYMIDX): Likewise.
39447         * elf/do-rel.h (VERSYMIDX): Likewise.
39448         (VALIDX): Likewise.
39449         * elf/dynamic-link.h (VERSYMIDX): Likewise.
39450         * elf/rtld.c (VALIDX): Likewise.
39451         (ADDRIDX): Likewise.
39452         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
39453         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
39454         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
39455         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
39456         (VALIDX): Likewise.
39457         (ADDRIDX): Likewise.
39459 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39461         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
39463 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
39465         [BZ #11438]
39466         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
39467         to global scope.
39468         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
39469         addresses are in the same scope as 192.0.2/24.
39470         * posix/gai.conf: Document new scope table defaults.
39472 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39474         [BZ #5298]
39475         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
39476         for ftell.  Compute offsets from write pointers instead.
39477         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
39479 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39481         [BZ #14543]
39482         * libio/Makefile (tests): New test case tst-fseek.
39483         * libio/tst-fseek.c: New test case to verify that fseek/ftell
39484         combination works in wide mode.
39485         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
39486         state when the external buffer state changes.
39488 2012-09-27  David S. Miller  <davem@davemloft.net>
39490         [BZ #14376]
39491         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
39492         pass reloc->r_addend in as the 'high' argument to
39493         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
39495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39497 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
39499         * rt/tst-aio2.c: Include <pthread.h>.
39500         * rt/tst-aio3.c: Likewise.
39502 2012-09-27  Steve Ellcey  <sellcey@mips.com>
39504         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
39506 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
39508         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
39509         contents on [SHARED].
39511 2012-09-26  Marek Polacek  <polacek@redhat.com>
39513         [BZ #14530]
39514         [BZ #13741]
39515         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
39516         for C++ and GCC <4.3 as well as for non GCC compilers.
39518 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
39520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39522 2012-09-25  Roland McGrath  <roland@hack.frob.com>
39524         * Makefile.in (all, install): Declare with .PHONY.
39525         Reported by Michael Hope <michael.hope@linaro.org>.
39527 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39529         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
39530         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
39531         system header.
39532         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
39533         Likewise.
39534         (sydep_routines): Add the new and the internal functions.
39535         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
39536         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
39537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
39538         (GLIBC_2.17): Add the new function.
39539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39540         (GLIBC_2.17): Likewise.
39541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
39542         (GLIBC_2.17): Likewise.
39543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
39544         (GLIBC_2.17): Likewise.
39545         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
39547 2012-09-25  Alan Modra  <amodra@gmail.com>
39549         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
39550         Add release barrier before setting once_control to say
39551         initialisation is done.  Add hints on lwarx.  Use macro in
39552         place of isync.
39553         (clear_once_control): Add release barrier.
39555 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
39557         [BZ #13629]
39558         * math/s_clog.c (__clog): Handle more values close to |z| = 1
39559         specially.
39560         * math/s_clog10.c (__clog10): Likewise.
39561         * math/s_clog10f.c (__clog10f): Likewise.
39562         * math/s_clog10l.c (__clog10l): Likewise.
39563         * math/s_clogf.c (__clogf): Likewise.
39564         * math/s_clogl.c (__clogl): Likewise.
39565         * math/Makefile (libm-calls): Add x2y2m1.
39566         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
39567         (__x2y2m1): Likewise.
39568         (__x2y2m1l): Likewise.
39569         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
39570         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
39571         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
39572         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39573         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
39574         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
39575         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
39576         * sysdeps/i386/fpu/libm-test-ulps: Update.
39577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39579         [BZ #14621]
39580         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
39581         int as type of variable DEPTH.
39582         (glob): Use size_t instead of int as type of variables NEWCOUNT
39583         and OLD_PATHC.
39585 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39587         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39588         Add s_sincosf-sse2.
39589         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
39590         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
39591         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
39592         macros for using routine as __sincosf_ia32.
39593         Use macro for function declaration and weak_alias.
39594         * sysdeps/i386/fpu/libm-test-ulps: Update.
39596         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
39597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39599         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
39600         subnormal argument.
39601         * math/s_cexpf.c (__cexpf): Likewise.
39602         * math/s_csinf.c (__csinf): Likewise.
39603         * math/s_csinhf.c (__csinhf): Likewise.
39604         * math/s_ctanf.c (__ctanf): Likewise.
39605         * math/s_ctanhf.c (__ctanhf): Likewise.
39606         * math/s_ccosh.c (__ccoshf): Likewise.
39607         * math/s_cexp.c (__cexpl): Likewise.
39608         * math/s_csin.c (__csin): Likewise.
39609         * math/s_csinh.c (__csinh): Likewise.
39610         * math/s_ctan.c (__ctan): Likewise.
39611         * math/s_ctanh.c (ctanh): Likewise.
39612         * math/s_ccoshl.c (__ccoshl): Likewise.
39613         * math/s_cexpl.c (__cexpl): Likewise.
39614         * math/s_csinl.c (__csinl): Likewise.
39615         * math/s_csinhl.c (__csinhl): Likewise.
39616         * math/s_ctanl.c (__ctanl): Likewise.
39617         * math/s_ctanhl.c (__ctanhl): Likewise.
39619 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
39621         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39622         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39623         (_IO_off_t): Define to __off_t, not _G_off_t.
39624         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39625         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39626         (_IO_wint_t): Define to wint_t, not _G_wint_t.
39627         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39628         type of __dummy and __dummy2 fields.
39629         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39630         (_G_ssize_t): Likewise.
39631         (_G_off_t): Likewise.
39632         (_G_pid_t): Likewise.
39633         (_G_uid_t): Likewise.
39634         (_G_wchar_t): Likewise.
39635         (_G_wint_t): Likewise.
39636         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39637         (_G_ssize_t): Likewise.
39638         (_G_off_t): Likewise.
39639         (_G_pid_t): Likewise.
39640         (_G_uid_t): Likewise.
39641         (_G_wchar_t): Likewise.
39642         (_G_wint_t): Likewise.
39643         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39644         (_G_ssize_t): Likewise.
39645         (_G_off_t): Likewise.
39646         (_G_pid_t): Likewise.
39647         (_G_uid_t): Likewise.
39648         (_G_wchar_t): Likewise.
39649         (_G_wint_t): Likewise.
39651 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39653         * malloc/arena.c: Include malloc-sysdep.h.
39654         (shrink_heap): Use check_may_shrink_heap to decide if madvise
39655         is sufficient to shrink the heap or an unmap is needed.
39656         * sysdeps/generic/malloc-sysdep.h: New file.  Define
39657         new function check_may_shrink_heap.
39658         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
39659         new function check_may_shrink_heap.
39661 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39663         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39664         comments.
39666 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
39668         * catgets/test-gencat.sh: Add "set -e".
39669         * elf/tst-pathopt.sh: Likewise.
39670         * grp/tst_fgetgrent.sh: Likewise.
39671         * iconvdata/run-iconv-test.sh: Likewise.
39672         * intl/tst-gettext.sh: Likewise.
39673         * intl/tst-gettext2.sh: Likewise.
39674         * intl/tst-gettext4.sh: Likewise.
39675         * intl/tst-gettext6.sh: Likewise.
39676         * intl/tst-translit.sh: Likewise.
39677         * io/ftwtest-sh: Likewise.
39678         * libio/test-freopen.sh: Likewise.
39679         * malloc/tst-mtrace.sh: Likewise.
39680         * posix/globtest.sh: Likewise.
39681         * posix/tst-getconf.sh: Likewise.
39682         * posix/wordexp-tst.sh: Likewise.
39683         * stdio-common/tst-printf.sh: Likewise.
39684         * stdio-common/tst-unbputc.sh: Likewise.
39685         * stdlib/tst-fmtmsg.sh: Likewise.
39686         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39687         * catgets/Makefile: Do not specify -e option when running
39688         testsuite shell scripts.
39689         * elf/Makefile: Likewise.
39690         * grp/Makefile: Likewise.
39691         * iconvdata/Makefile: Likewise.
39692         * intl/Makefile: Likewise.
39693         * io/Makefile: Likewise.
39694         * libio/Makefile: Likewise.
39695         * malloc/Makefile: Likewise.
39696         * posix/Makefile: Likewise.
39697         * stdio-common/Makefile: Likewise.
39698         * stdlib/Makefile: Likewise.
39699         * sysdeps/x86_64/Makefile: Likewise.
39701         * io/ftwtest-sh: Add copyright header.
39702         * posix/globtest.sh: Likewise.
39703         * posix/tst-getconf.sh: Likewise.
39704         * posix/wordexp-tst.sh: Likewise.
39705         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39707 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
39709         [BZ #13679]
39710         * Makeconfig (+link): Defined as $(+link-static) if
39711         $(build-shared) isn't yes.
39712         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39713         isn't yes.
39714         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39716         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39718         [BZ #14562]
39719         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39720         new chunk size with MALLOC_ALIGN_MASK.
39722 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
39724         [BZ #5044]
39725         * stdio-common/printf_fphex.c: Include <stdbool.h> and
39726         <rounding-mode.h>.
39727         (__printf_fphex): Determine rounding using get_rounding_mode and
39728         round_away.
39729         * stdio-common/tst-printf-round.c (struct hex_test): New
39730         structure.
39731         (hex_tests): New variable.
39732         (test_hex_in_one_mode): New function.
39733         (do_test): Also run tests for hex float output.
39735 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
39737         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39738         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39739         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39740         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39741         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39742         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39743         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39744         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39746 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
39748         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39749         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39750         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39751         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39753 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
39755         [BZ #14579]
39756         * elf/rtld.c (dl_main): Limit the check for self loading to normal
39757         mode only.
39758         * elf/tst-rtld-load-self.sh: New test.
39759         * elf/Makefile: Run it.
39761 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
39763         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39764         (tst-writev-ENV): Remove.
39765         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39767 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
39769         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39771 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
39773         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39774         unconditional.
39775         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39776         Likewise.
39777         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39778         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39779         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39780         Likewise.
39782 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
39784         [BZ #14587]
39785         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39786         * config.make.in (have-cpp-asm-debuginfo): Removed.
39787         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39788         * configure: Regenerated.
39790 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
39792         [BZ #5044]
39793         * stdio-common/printf_fp.c: Include <stdbool.h> and
39794         <rounding-mode.h>.
39795         (___printf_fp): Determine rounding using get_rounding_mode and
39796         round_away.
39797         * stdio-common/tst-printf-round.c: New file.
39798         * stdio-common/Makefile (tests): Add tst-printf-round.
39799         (link-libm): New variable.
39800         ($(objpfx)tst-printf-round): Depend in $(link-libm).
39802 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
39804         [BZ #14576]
39805         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39806         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39807         Likewise.
39808         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39809         Likewise.
39811 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
39813         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39814         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39815         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39816         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39818 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
39820         [BZ #14518]
39821         * include/rounding-mode.h: New file.
39822         * sysdeps/generic/get-rounding-mode.h: Likewise.
39823         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39824         * stdlib/strtod_l.c: Include <rounding-mode.h>.
39825         (MAX_VALUE): New macro.
39826         (MIN_VALUE): Likewise.
39827         (overflow_value): New function.
39828         (underflow_value): Likewise.
39829         (round_and_return): Use overflow_value and underflow_value to
39830         determine return values in overflow and underflow cases.  Use
39831         round_away to determine rounding depending on rounding mode.
39832         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39833         determine return values in overflow and underflow cases.
39834         * stdlib/tst-strtod-round.c: Include <fenv.h>.
39835         (struct test_results): New structure.
39836         (struct test): Use struct test_results to store expected results
39837         for all rounding modes.
39838         (TEST): Include expected results for all rounding modes.
39839         (test_in_one_mode): New function.
39840         (do_test): Use test_in_one_mode to compute and check results.
39841         Check results for all rounding modes.
39842         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39843         $(link-libm).
39845 2012-12-09  Allan McRae  <allan@archlinux.org>
39847         * sysdeps/i386/fpu/libm-test-ulps: Update
39849 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
39851         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39852         (_G_int32_t): Likewise.
39853         (_G_uint16_t): Likewise.
39854         (_G_uint32_t): Likewise.
39855         (_G_HAVE_BOOL): Likewise.
39856         (_G_HAVE_ATEXIT): Likewise.
39857         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39858         (_G_HAVE_IO_FILE_OPEN): Likewise.
39859         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39860         (_G_int32_t): Likewise.
39861         (_G_uint16_t): Likewise.
39862         (_G_uint32_t): Likewise.
39863         (_G_HAVE_BOOL): Likewise.
39864         (_G_HAVE_ATEXIT): Likewise.
39865         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39866         (_G_HAVE_IO_FILE_OPEN): Likewise.
39867         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39868         (_G_int32_t): Likewise.
39869         (_G_uint16_t): Likewise.
39870         (_G_uint32_t): Likewise.
39871         (_G_HAVE_BOOL): Likewise.
39872         (_G_HAVE_ATEXIT): Likewise.
39873         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39874         (_G_HAVE_IO_FILE_OPEN): Likewise.
39876 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
39878         * csu/libc-tls.c: Update copyright years.
39880 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
39882         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39883         [!_G_USING_THUNKS]: Remove conditional code.
39884         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39885         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39887         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39888         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39889         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39890         (_G_VTABLE_LABEL_PREFIX): Likewise.
39891         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39892         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39893         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39894         (_G_VTABLE_LABEL_PREFIX): Likewise.
39895         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39896         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39897         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39898         (_G_VTABLE_LABEL_PREFIX): Likewise.
39899         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39901 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
39903         * libio/Makefile: Include ../Makeconfig before tests.
39904         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39905         only if $(build-shared) is yes.
39907         * iconv/gconv_db.c: Update copyright years.
39909 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39911         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39912         unwind info if defined PIC. Fix special cases description.
39913         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39915         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39916         DP_HI_MASK entry.
39917         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39919 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
39921         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39923         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39924         is NULL.
39926         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39927         (LDLIBS-tst-chk4): This.
39928         (LDFLAGS-tst-chk5): Renamed to ...
39929         (LDLIBS-tst-chk5): This.
39930         (LDFLAGS-tst-chk6): Renamed to ...
39931         (LDLIBS-tst-chk6): This.
39932         (LDFLAGS-tst-lfschk4): Renamed to ...
39933         (LDLIBS-tst-lfschk4): This.
39934         (LDFLAGS-tst-lfschk5): Renamed to ...
39935         (LDLIBS-tst-lfschk5): This.
39936         (LDFLAGS-tst-lfschk6): Renamed to ...
39937         (LDLIBS-tst-lfschk6): This.
39939         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39940         on $(common-objpfx)soversions.mk.
39942 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
39944         [BZ #10014]
39945         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39946         example host name.
39948 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39950         * malloc/arena.c (arena_get_retry): New function that gets
39951         another arena for the caller to try its request on.
39952         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39953         current arena cannot fulfill the request.
39954         (__libc_memalign): Likewise.
39955         (__libc_memalign): Likewise.
39956         (__libc_pvalloc): Likewise.
39957         (__libc_calloc): Likewise.
39959 2012-09-05  John Tobey  <john.tobey@gmail.com>
39961         [BZ #13542]
39962         * manual/arith.texi (Operations on Complex): Fix description
39963         of carg branch cut.
39965 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
39967         [BZ #10014]
39968         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39969         host name.
39971         [BZ #10038]
39972         * manual/memory.texi (Memory): Make order of menu items match
39973         order of sections.
39975 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39977         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39978         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
39979         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39981 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
39983         * csu/libc-tls.c (static_dtv): Renamed to ...
39984         (_dl_static_dtv): This.  Make it global.
39985         (_dl_initial_dtv): Removed.
39986         (__libc_setup_tls): Updated.
39987         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39988         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39989         DL_INITIAL_DTV.
39991 2012-09-06  Petr Machata  <pmachata@redhat.com>
39993         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39994         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39995         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39996         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39998 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40000         [BZ #14545]
40001         * csu/libc-tls.c (_dl_initial_dtv): New variable.
40002         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40003         freeing dtv[-1].
40005 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
40007         [BZ #14544]
40008         * Makeconfig (link-static-before-libc): Replace $(+prector)
40009         with $(+prectorT).
40010         (link-static-after-libc): Replace $(+postctor) with
40011         $(+postctorT).
40012         (link-bounded): Replace $(+prector)/$(+postctor) with
40013         $(+prectorT)/$(+postctorT).
40014         (+prectorT): New macro.
40015         (+postctorT): Likewise.
40017 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
40019         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40020         (round_str): Handle values above the maximum for IBM long double
40021         as inexact.
40022         * stdlib/tst-strtod-round.c (tests): Regenerated.
40024 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40026         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40027         assembler flag.
40028         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40029         zarch_nohighgprs around the zarch optimized routines.
40030         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40031         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40032         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40033         for zarch.
40035 2012-09-05  David S. Miller  <davem@davemloft.net>
40037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40039         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40040         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
40041         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40042         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40043         entries.
40045 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40047         * malloc/arena.c: Fold copyright years.
40048         * malloc/mcheck.c, malloc/memusage.c: Likewise.
40050 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40052         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40054 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40056         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
40058 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40060         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40061         change internal state upon failure.
40063 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
40065         * malloc/mcheck.c (mcheck_check_all): Fix typo.
40066         * malloc/memusage.c (mmap): Likewise.
40067         (mmap64, mremap): Likewise.  Adjust name in comment.
40069 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40071         * libio/fileops.c: Fix typos in comments.
40072         * libio/oldfileops.c: Likewise.
40073         * libio/wfileops.c: Likewise.
40075 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40077         [BZ #1349]
40078         * malloc/Makefile (tests): Add tst-malloc-usable test case.
40079         (tst-malloc-usable-ENV): Set environment for test case.
40080         * malloc/hooks.c (malloc_check_get_size): New function to get
40081         requested size.
40082         * malloc/malloc.c (musable): Use malloc_check_get_size.
40083         * malloc/tst-malloc-usable.c: New test case.
40085 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40087         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
40089 2012-09-05  Allan McRae  <allan@archlinux.org>
40091         [BZ #13966]
40092         * configure.in (CXX_SYSINCLUDES): Use compiler output to
40093         determine header location.
40094         * configure: Regenerated.
40096 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
40098         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
40099         float format.
40100         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
40101         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
40102         format.
40103         (test): Regenerate.
40105 2012-09-04  David S. Miller  <davem@davemloft.net>
40107         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
40108         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
40109         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
40111 2012-09-04  Florian Weimer  <fweimer@redhat.com>
40113         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
40114         failures.
40116         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
40118 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
40120         [BZ #9914]
40121         * libio/iogetdelim.c: Include <limits.h>.
40122         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
40123         + len + 1 would overflow.
40125 2012-09-03  Andreas Jaeger  <aj@suse.de>
40127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40128         * sysdeps/i386/fpu/libm-test-ulps: Update.
40130 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40132         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40133         Add s_sinf-sse2, s_conf-sse2.
40135         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
40136         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
40137         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
40138         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
40140         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
40141         for using routine as __sinf_ia32.
40142         Use macro for function declaration and weak_alias.
40143         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
40144         for using routine as __cosf_ia32.
40145         Use macro for function declaration and weak_alias.
40147         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
40148         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
40150         * sysdeps/x86_64/fpu/s_sinf.S: New file.
40151         * sysdeps/x86_64/fpu/s_cosf.S: New file.
40152         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40154         * math/libm-test.inc (cos_test): Add more test cases.
40155         (sin_test): Likewise.
40156         (sincos_test): Likewise.
40158 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40160         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40161         (IFUNC_RESOLVE): Make pointers to the specialized implementations
40162         hidden.
40163         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40165 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
40167         [BZ #14538]
40168         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
40169         first element of the GOT.
40170         (elf_machine_load_address): Return the difference between
40171         the runtime address of _DYNAMIC and elf_machine_dynamic ().
40173 2012-09-01  Allan McRae  <allan@archlinux.org>
40175         [BZ #13412]
40176         * configure.in (AWK): Require gawk version 3.0 or later.
40177         * configure: Regenerated.
40179 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
40181         * sysdeps/unix/sysv/linux/kernel-features.h
40182         (__ASSUME_POSIX_CPU_TIMERS): Remove.
40183         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40184         [__NR_clock_getres]: Make code unconditional.
40185         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
40186         (clock_getcpuclockid): Remove code left unreachable by removal of
40187         conditionals.
40188         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
40189         code unconditional.
40190         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40191         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40192         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
40193         Make code unconditional.
40194         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
40195         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40196         * sysdeps/unix/sysv/linux/clock_settime.c
40197         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
40198         conditional code.
40199         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
40200         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
40202 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
40204         [BZ #14476]
40205         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
40206         scripts/test-installation.pl.
40208         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
40209         and $ld_so_version if it is set.
40211 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40213         [BZ #14516]
40214         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
40215         failure if reading from procfs failed.
40216         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
40218 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40220         * sysdeps/unix/sysv/linux/kernel-features.h
40221         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
40222         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40223         Remove conditional code.
40224         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40225         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
40226         Remove conditional code.
40227         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40228         * sysdeps/unix/sysv/linux/i386/fxstat.c
40229         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40230         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40231         * sysdeps/unix/sysv/linux/i386/fxstatat.c
40232         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40233         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40234         * sysdeps/unix/sysv/linux/i386/lxstat.c
40235         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
40236         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40237         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
40238         Remove conditional code.
40239         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40240         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
40241         Remove conditional code.
40242         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40243         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
40244         <kernel-features.h>.
40245         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
40246         Remove.
40247         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
40248         Remove conditional code.
40249         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
40250         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
40251         Remove conditional.
40253 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
40255         [BZ #5400]
40256         * NEWS: Add fixed bug number.
40258 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
40260         [BZ #14519]
40261         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
40262         underflowing exponent in case of negative sign.
40263         * stdlib/tst-strtod-round-data: Add more tests.
40264         * stdlib/tst-strtod-round.c (tests): Regenerated.
40266         [BZ #3479]
40267         * stdlib/strtod_l.c (NDIG): Remove.
40268         (HEXNDIG): Likewise.
40269         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
40270         smallest representable value.
40271         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
40272         lie within an exact representation of 1/2 ulp of the result.
40273         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
40274         unconditionally.
40275         (TENS_P9_IDX): Define unconditionally.
40276         (TENS_P9_SIZE): Likewise.
40277         (TENS_P10_IDX): Likewise.
40278         (TENS_P10_SIZE): Likewise.
40279         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
40280         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
40281         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
40282         entries for 10^2^13 and 10^2^14.
40283         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
40284         (TENS_P13_IDX): Define.
40285         (TENS_P13_SIZE): Likewise.
40286         (TENS_P14_IDX): Likewise.
40287         (TENS_P14_SIZE): Likewise.
40288         (_fpioconst_pow10): Change array size to
40289         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
40290         unconditional.
40291         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
40292         1024]: Add entries for 10^2^13 and 10^2^14.
40293         [LAST_POW10 > _LAST_POW10]: Remove #error.
40294         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
40295         (_fpioconst_pow10): Change array size to
40296         FPIOCONST_POW10_ARRAY_SIZE.
40297         * stdlib/gen-fpioconst.c: New file.
40298         * stdlib/gen-tst-strtod-round.c: Likewise.
40299         * stdlib/tst-strtod-round-data: Likewise.
40300         * stdlib/tst-strtod-round.c: Likewise.
40301         * stdlib/Makefile (tests): Add tst-strtod-round.
40303         [BZ #14459]
40304         * stdlib/strtod_l.c: Include <stdint.h>.
40305         (NDEBUG): Do not define.
40306         (round_and_return): Change EXPONENT parameter to type intmax_t.
40307         Rearrange calculations to avoid internal overflow possibilities.
40308         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
40309         Rearrange calculations to avoid internal overflow possibilities.
40310         Assert that number fits inside MPNSIZE limbs.
40311         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
40312         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
40313         calculations and add assertions to avoid internal overflow
40314         possibilities.  Add casts to avoid signed/unsigned operations.
40315         * stdlib/tst-strtod-overflow.c: New file.
40316         * stdlib/Makefile (tests): Add tst-strtod-overflow.
40318 2012-08-25  Marek Polacek  <polacek@redhat.com>
40320         * time/time.h: Fix some typos in comments.
40322 2012-08-23  Roland McGrath  <roland@hack.frob.com>
40324         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
40325         * posix/tst-rfc3484-2.c: Likewise.
40326         * posix/tst-rfc3484-3.c: Likewise.
40328 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
40330         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
40331         (EF_ARM_ABI_FLOAT_HARD): Likewise.
40333 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
40335         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
40336         #include of fxstatat64.c.
40338 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40340         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
40341         * shadow/getspent_r.c: Likewise.
40342         * shadow/getspnam.c: Likewise.
40343         * shadow/getspnam_r.c: Likewise.
40344         * gshadow/getsgent.c: Likewise.
40345         * gshadow/getsgent_r.c: Likewise.
40346         * gshadow/getsgnam.c: Likewise.
40347         * gshadow/getsgnam_r.c: Likewise.
40348         * inet/getnetbyad.c: Likewise.
40349         * inet/getnetbyad_r.c: Likewise.
40350         * inet/getnetbynm.c: Likewise.
40351         * inet/getnetbynm_r.c: Likewise.
40352         * inet/getnetent.c: Likewise.
40353         * inet/getnetent_r.c: Likewise.
40354         * inet/getproto.c: Likewise.
40355         * inet/getproto_r.c: Likewise.
40356         * inet/getprtent.c: Likewise.
40357         * inet/getprtent_r.c: Likewise.
40358         * inet/getprtname.c: Likewise.
40359         * inet/getprtname_r.c: Likewise.
40360         * inet/getrpcbyname.c: Likewise.
40361         * inet/getrpcbyname_r.c: Likewise.
40362         * inet/getrpcbynumber.c: Likewise.
40363         * inet/getrpcbynumber_r.c: Likewise.
40364         * inet/getrpcent.c: Likewise.
40365         * inet/getrpcent_r.c: Likewise.
40366         * inet/getaliasent.c: Likewise.
40367         * inet/getaliasent_r.c: Likewise.
40368         * inet/getaliasname.c: Likewise.
40369         * inet/getaliasname_r.c: Likewise.
40370         * nscd/getgrgid_r.c: Likewise.
40371         * nscd/getgrnam_r.c: Likewise.
40372         * nscd/gethstbyad_r.c: Likewise.
40373         * nscd/gethstbynm3_r.c: Likewise.
40374         * nscd/getpwnam_r.c: Likewise.
40375         * nscd/getpwuid_r.c: Likewise.
40376         * nscd/getsrvbynm_r.c: Likewise.
40377         * nscd/getsrvbypt_r.c: Likewise.
40378         * nscd/gai.c: Likewise.
40380         * configure.in (build_nscd): New substituted variable, set
40381         by --disable-build-nscd and defaults to $use_nscd.
40382         * configure: Regenerated.
40383         * config.make.in (build-nscd): New substituted variable.
40384         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
40385         Change conditional to require [$(build-nscd) = yes] as well.
40386         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
40388         [BZ# 13696]
40389         * configure.in (use_nscd): New substituted variable, set by
40390         --disable-nscd.  If enabled, define USE_NSCD.
40391         * configure: Regenerated.
40392         * config.h.in: Add USE_NSCD.
40393         * config.make.in (use-nscd): New substituted variable.
40394         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
40395         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
40396         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
40397         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
40398         (CFLAGS-getgrnam_r.c): Likewise.
40399         (CFLAGS-initgroups.c): Likewise.
40400         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
40401         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
40402         Variables removed.
40403         * inet/getnetgrent_r.c
40404         (nscd_setnetgrent): New function, broken out of ...
40405         (setnetgrent): ... here.  Call it.
40406         (innetgr): Conditionalize nscd bits on [USE_NSCD].
40407         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
40408         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
40409         * nscd/Makefile (routines, aux): Move definitions after include of
40410         Makeconfig.  Conditionalize on [$(use-nscd) != no].
40411         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
40412         Conditionalize on [USE_NSCD].
40413         (is_nscd, nscd_init_cb): Likewise.
40414         (nss_load_library): Conditionalize init callback on [USE_NSCD].
40415         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
40416         * nss/nss_db/db-init.c: Likewise.
40417         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
40418         [USE_NSCD].
40419         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
40420         (make_request): Use it.
40421         (cache_valid_p): New function.
40422         (__check_pf): Use it.
40423         * NEWS: Add item for --disable-nscd.
40425 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
40427         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
40428         to support sed >= 4.2.1-20-ga9bf076.
40429         * configure: Regenerated.
40431 2012-08-22  Roland McGrath  <roland@hack.frob.com>
40433         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
40434         Conditionalize whole body on [IREL].
40436 2012-08-22  Jeff Law <law@redhat.com>
40438         [BZ #14505]
40439         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
40440         if the family is PF_UNSPEC.
40442 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
40444         * Makerules (lib-version): Rename from V.
40445         (install-lib-nosubdir): Change V to lib-version.
40447 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
40449         [BZ #14252]
40450         * powerpc32/power6/wcschr.c: New file.
40451         * powerpc32/power6/wcscpy.c: New file.
40452         * powerpc32/power6/wcsrchr.c: New file.
40453         * powerpc64/power6/wcschr.c: New file.
40454         * powerpc64/power6/wcscpy.c: New file.
40455         * powerpc64/power6/wcsrchr.c: New file.
40457 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40459         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
40460         (two_way_short_needle): Use it.
40461         * string/strstr.c (AVAILABLE1_USES_J): Define.
40462         * string/strcasestr.c: Likewise.
40464         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
40465         array references.
40466         * string/strcasestr.c (TOLOWER): Make side-effect safe.
40468         [BZ #11607]
40469         * NEWS: Add an entry.
40470         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
40471         define their defaults.
40472         (two_way_short_needle): Detect end-of-string on-the-fly.
40473         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
40474         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
40475         * string/bug-strcasestr1.c: New test.
40476         * string/Makefile: Run it.
40478 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
40480         [BZ #11607]
40481         * string/str-two-way.h (two_way_short_needle): Optimize matching of
40482         the first character.
40484 2012-08-21  Roland McGrath  <roland@hack.frob.com>
40486         * csu/elf-init.c (__libc_csu_irel): Function removed.
40487         * csu/libc-start.c (apply_irel): New function.
40488         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
40490 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
40492         * sysdeps/unix/sysv/linux/kernel-features.h
40493         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
40494         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
40495         <kernel-features.h>.
40496         [__NR_fadvise64_64]: Make code unconditional.
40497         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
40498         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40499         !__NR_fadvise64_64)]: Likewise.
40500         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
40501         !__NR_fadvise64_64))]: Likewise.
40502         [__NR_fadvise64]: Make code unconditional.
40503         [!__NR_fadvise64]: Remove conditional code.
40504         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
40505         <kernel-features.h>.
40506         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40507         unconditional.
40508         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40509         conditional code.
40510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
40511         not include <kernel-features.h>.
40512         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40513         unconditional.
40514         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40515         conditional code.
40516         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
40517         include <kernel-features.h>.
40518         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
40519         unconditional.
40520         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
40521         conditional code.
40523 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40525         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
40526         slight instruction rearrangements per scrollpipe analysis.
40527         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40529 2012-08-20  Roland McGrath  <roland@hack.frob.com>
40531         * manual/syslog.texi (syslog; vsyslog, closelog):
40532         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
40533         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
40535         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
40536         DSOCAPS to match condition on defining it.
40538 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
40540         * sysdeps/unix/sysv/linux/kernel-features.h
40541         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
40542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
40543         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40544         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
40546         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40547         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
40549         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
40550         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
40552         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
40553         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
40555         * sysdeps/unix/sysv/linux/kernel-features.h
40556         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
40557         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
40558         unconditional.
40559         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40560         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
40561         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40562         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40563         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
40564         Make code unconditional.
40565         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40566         (__mmap64) [!__NR_mmap2]: Likewise.
40567         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40568         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40569         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40570         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
40571         [__NR_mmap2]: Make code unconditional.
40572         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40573         (__mmap64) [!__NR_mmap2]: Likewise.
40575 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40577         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
40579 2012-08-18  Andreas Jaeger  <aj@suse.de>
40581         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
40583 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
40585         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
40586         * include/unistd.h (__have_sock_cloexec): Likewise.
40587         (__have_pipe2): Likewise.
40588         (__have_dup3): Likewise.
40590 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
40592         [BZ #9685]
40593         * include/unistd.h (__have_pipe2): Change define into an extern int.
40594         (__have_dup3): Likewise.
40595         * socket/have_sock_cloexec.c: Include fcntl.h.
40596         (__have_pipe2): New variable.
40597         (__have_dup3): Likewise.
40599 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
40601         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40603 2012-08-17  Marek Polacek  <polacek@redhat.com>
40605         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40606         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40608 2012-08-17  Roland McGrath  <roland@hack.frob.com>
40610         * configure.in: Add AC_SUBST for sysheaders.
40611         * configure: Regenerated.
40612         * config.make.in (sysheaders): New substituted variable.
40614         * sysdeps/unix/mkfifo.c: Moved ...
40615         * sysdeps/posix/mkfifo.c: ... here.
40616         * sysdeps/unix/mkfifoat.c: Moved ...
40617         * sysdeps/posix/mkfifoat.c: ... here.
40619         * sysdeps/unix/utime.c: Moved ...
40620         * sysdeps/posix/utime.c: ... here.
40622         * sysdeps/unix/time.c: Moved ...
40623         * sysdeps/posix/time.c: ... here.
40624         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40625         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
40627         * sysdeps/unix/nice.c: Moved ...
40628         * sysdeps/posix/nice.c: ... here.
40630         * sysdeps/unix/alarm.c: Moved ...
40631         * sysdeps/posix/alarm.c: ... here.
40633         * intl/Makefile ($(codeset_mo)): Depend on the input file.
40635 2012-08-17  Jeff Law <law@redhat.com>
40637         * intl/Makefile (codeset_mo): New variable.
40638         ($(codeset_mo)): New target.
40639         (tst-codeset.out): Depend on that.  Remove explicit rule.
40640         (tst-gettext3.out, tst-gettext5.out): Likewise.
40641         (LOCPATH-ENV, tst-codeset-ENV): New variables.
40642         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40643         * intl/tst-codeset.sh: Remove.
40644         * intl/tst-gettext3.sh: Likewise.
40645         * intl/tst-gettext5.sh: Likewise.
40647 2012-08-17  Roland McGrath  <roland@hack.frob.com>
40649         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
40650         * sysdeps/unix/syscalls.list: ... here.
40652         * sysdeps/posix/getaddrinfo.c
40653         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40654         (gaiconf_init, gaiconf_reload): Use them.
40655         [!_STATBUF_ST_NSEC]
40656         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40657         Define using time_t rather than struct timespec.
40659         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40660         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40661         Macros removed.
40662         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40663         [!NO_THREADS].
40664         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40665         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40666         Likewise.
40668         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40669         __libc_cleanup_push argument.
40671         * bits/param.h: New file.
40672         * misc/sys/param.h: New file.
40673         * include/sys/param.h: New file.
40674         * misc/Makefile (headers): Add bits/param.h.
40675         * sysdeps/generic/sys/param.h: File removed.
40676         * sysdeps/unix/sysv/linux/bits/param.h: New file.
40677         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40678         * sysdeps/mach/hurd/bits/param.h: New file.
40679         * sysdeps/mach/hurd/sys/param.h: File removed.
40681         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40682         last change.
40684         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40685         [_IO_MTSAFE_IO].
40686         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40687         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40688         New macros.
40690         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40691         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40692         rather than -D_IO_MTSAFE_IO conditionally.
40693         * stdio-common/Makefile (CPPFLAGS): Likewise.
40694         * wcsmbs/Makefile (CPPFLAGS): Likewise.
40695         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40696         Use $(libio-mtsafe).
40697         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40698         of -D_IO_MTSAFE_IO.
40699         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40700         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40701         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40702         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40703         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40704         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40705         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40706         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40707         (CFLAGS-fread_u_chk.c): Likewise.
40708         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40709         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40710         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40711         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40712         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40713         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40714         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40715         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40716         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40718         * libio/Makefile: Test [$(libc-reentrant) = yes]
40719         instead of [$(filter %REENTRANT, $(defines)) nonempty].
40721         * Makeconfig
40722         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40723         * sysdeps/pthread/configure: File removed.
40724         * sysdeps/pthread/Makeconfig: New file.
40725         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40726         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40728 2012-08-16  Gary Benson  <gbenson@redhat.com>
40730         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40731         unmapping the first object in a namespace.
40733 2012-08-16  Roland McGrath  <roland@hack.frob.com>
40735         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40736         (__internal_setnetgrent): ... this.  Add internal_function to
40737         definition.  Add libc_hidden_def.
40738         (setnetgrent): Update caller.
40739         (internal_endnetgrent): Renamed to ...
40740         (__internal_endnetgrent): ... this.  Add internal_function to
40741         definition.  Add libc_hidden_def.
40742         (endnetgrent): Update caller.
40743         (internal_getnetgrent_r): Renamed to ...
40744         (__internal_getnetgrent_r): ... this.  Add internal_function to
40745         definition.  Add libc_hidden_def.
40746         (__getnetgrent_r): Update caller.
40747         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
40749 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
40751         * stdlib/longlong.h: Update from GCC.
40753 2012-08-16  Roland McGrath  <roland@hack.frob.com>
40755         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40756         on _QL, which is set by umul_ppmm but never used.
40757         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40758         variables, which are set by GMP macros but never used.
40759         * stdio-common/_itowa.c (_itowa): Likewise.
40760         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40761         * stdlib/mod_1.c (mpn_mod_1): Likewise.
40763 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
40765         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40766         struct La_sh_regs is not constant.
40767         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40768         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40769         and struct La_sparc64_regs are not constant.
40771 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
40773         * sysdeps/unix/sysv/linux/kernel-features.h
40774         (__ASSUME_POSIX_TIMERS): Remove.
40775         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40776         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40777         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40778         Make code unconditional.
40779         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40780         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40781         Make code unconditional.
40782         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40783         * sysdeps/unix/sysv/linux/clock_nanosleep.c
40784         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40785         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40786         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40787         Make code unconditional.
40788         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40789         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40790         (__libc_missing_posix_timers): Remove.
40792 2012-08-15  Roland McGrath  <roland@hack.frob.com>
40794         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40795         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40797         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40799         * elf/dl-sym.c: Include <stdlib.h>.
40801         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40802         constants, which avoids warnings in 32-bit builds.
40804         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40805         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40807         * misc/lseek.c: File moved to ...
40808         * io/lseek.c: ... here.
40810         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40812         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40813         shifting LEN more than 31 bits at once.
40815 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40817         [BZ #14195]
40818         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40819         segmentation fault for a case of two empty input strings.
40820         * string/test-strncasecmp.c (check1): Renamed to...
40821         (bz12205): ...this.
40822         (bz14195): Add new testcase for two empty input strings and N > 0.
40823         (test_main): Call new testcase, adapt for renamed function.
40825 2012-08-15  Andreas Jaeger  <aj@suse.de>
40827         [BZ #14090]
40828         * crypt/md5test2.c: New test, based on test supplied by Serge
40829         Belyshev <belyshev@depni.sinp.msu.ru>.
40830         * crypt/Makefile (xtests): Add md5test-giant..
40831         * crypt/Makefile ($(objpfx)md5test-giant): Add.
40833 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
40835         [BZ #14090]
40836         * crypt/md5.c (md5_process_block): Don't assume the buffer
40837         length is less than 2**32.
40838         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40839         length is less than 2**64.
40841 2012-08-15  Roland McGrath  <roland@hack.frob.com>
40843         * string/str-two-way.h: Include <sys/param.h>.
40844         (MAX): Macro removed.
40846         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40847         Move #define and #undef of memmove to just before and after
40848         including <string.h>.
40850         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40851         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40852         and after including <string.h>.  Move declarations of
40853         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40854         to before #include "string/memmove.c".
40856         * include/dirent.h: Declare __getdirentries.
40858         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40859         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40861 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
40863         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40864         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40865         * sysdeps/i386/configure: Regenerated.
40866         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40867         STABS_CURRENT_FILE, and STABS_FUN.
40868         (END): Remove call to STABS_FUN_END.
40869         (STABS_CURRENT_FILE1): Delete.
40870         (STABS_CURRENT_FILE): Likewise.
40871         (STABS_FUN): Likewise.
40872         (STABS_FUN_END): Likewise.
40873         (STABS_FUN2): Likewise.
40874         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40875         * sysdeps/x86_64/configure: Regenerated.
40877 2012-08-14  Roland McGrath  <roland@hack.frob.com>
40879         * elf/dl-open.c: Include <atomic.h>.
40880         * elf/dl-lookup.c: Likewise.
40882 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
40884         * sysdeps/unix/sysv/linux/kernel-features.h
40885         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40886         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40887         unconditionally.
40888         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40889         unconditionally.
40890         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40891         condition on __ASSUME_CLONE_THREAD_FLAGS.
40893 2012-08-14  Andreas Jaeger  <aj@suse.de>
40895         * sysdeps/i386/fpu/libm-test-ulps: Update.
40897 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
40899         * include/atomic.h (atomic_exchange_and_add): Split into ...
40900         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40901         New atomic macros.
40903 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
40905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40907 2012-08-13  Jeff Law <law@redhat.com>
40909         * manual/stdio.texi (snprintf): Clarify handling of the trailing
40910         null byte in the output string.
40912 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
40914         * sysdeps/unix/sysv/linux/kernel-features.h
40915         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40916         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40917         (__ASSUME_ARG_MAX_STACK_BASED): Define.
40918         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40919         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40920         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
40921         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40923 2012-08-09  Jeff Law <law@redhat.com>
40925         [BZ #13939]
40926         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40927         When avoid_arena is set, don't retry in the that arena.  Pick the
40928         next one, whatever it might be.
40929         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40930         (arena_lock): Pass in new parameter to arena_get2.
40931         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40932         arena_get2.
40933         (__libc_malloc): Unify retrying after main arena failure with
40934         __libc_memalign version.
40935         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40937 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
40939         [BZ #14166]
40940         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40941         to __redirect_strstr.
40942         (__strstr_sse42): Use typeof __redirect_strstr.
40943         (__strstr_ia32): Likewise.
40944         (__libc_strstr): New prototype.
40945         (strstr): Renamed to ...
40946         (__libc_strstr): This.
40947         (strstr): New strong alias of __libc_strstr.
40948         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40949         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40950         __redirect_time.
40951         Include <time.h>.
40952         (__libc_time): New prototype.
40953         (time_ifunc): Replace time with __libc_time.
40954         (time): New strong alias and hidden definition of __libc_time.
40955         (__GI_time): Remove strong alias.
40956         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40957         Include <stddef.h>.
40958         (memmove): Redefined to __redirect_memmove.
40959         (__memmove_sse2): Use typeof __redirect_memmove.
40960         (__memmove_ssse3): Likewise.
40961         (__memmove_ssse3_back): Likewise.
40962         (__libc_memmove): New prototype.
40963         (memmove): Renamed to ...
40964         (__libc_memmove): This.
40965         (memmove): New strong alias of __libc_memmove.
40967 2012-08-08  Mark Salter  <msalter@redhat.com>
40969         * elf/elf.h
40970         (R_MN10300_TLS_GD): Define.
40971         (R_MN10300_TLS_LD): Likewise.
40972         (R_MN10300_TLS_LDO): Likewise.
40973         (R_MN10300_TLS_GOTIE): Likewise.
40974         (R_MN10300_TLS_IE): Likewise.
40975         (R_MN10300_TLS_LE): Likewise.
40976         (R_MN10300_TLS_DTPMOD): Likewise.
40977         (R_MN10300_TLS_DTPOFF): Likewise.
40978         (R_MN10300_TLS_TPOFF): Likewise.
40979         (R_MN10300_SYM_DIFF): Likewise.
40980         (R_MN10300_ALIGN): Likewise.
40981         (R_MN10300_NUM): Update.
40983 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
40985         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40986         Remove.
40988 2012-08-08  Roland McGrath  <roland@hack.frob.com>
40990         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40992         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40993         sysdeps/unix -> sysdeps/posix move.
40994         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40996 2012-08-07      Allan McRae     <allan@archlinux.org>
40998         [BZ #14303]
40999         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41000         (SUNOS_CPP): Likewise.
41001         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41002         not found.
41003         (open_input): Call CPP using execvp.
41005 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41007         * sysdeps/unix/sysv/linux/kernel-features.h
41008         (__ASSUME_PROT_GROWSUPDOWN): Remove.
41009         (__ASSUME_NO_CLONE_DETACHED): Likewise.
41010         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41011         (__ASSUME_WAITID_SYSCALL): Likewise.
41012         * sysdeps/unix/sysv/linux/dl-execstack.c
41013         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41014         code unconditional.
41015         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41016         conditional code.
41017         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41018         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41019         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41020         code.
41021         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41022         unconditional.
41023         [__ASSUME_WAITID_SYSCALL]: Likewise.
41024         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41026 2012-08-07  Roland McGrath  <roland@hack.frob.com>
41028         * sysdeps/unix/closedir.c: Renamed to ...
41029         * sysdeps/posix/closedir.c: ... here.
41030         * sysdeps/unix/dirfd.c: Renamed to ...
41031         * sysdeps/posix/dirfd.c: ... here.
41032         * sysdeps/unix/dirstream.h: Renamed to ...
41033         * sysdeps/posix/dirstream.h: ... here.
41034         * sysdeps/unix/fdopendir.c: Renamed to ...
41035         * sysdeps/posix/fdopendir.c: ... here.
41036         * sysdeps/unix/opendir.c: Renamed to ...
41037         * sysdeps/posix/opendir.c: ... here.
41038         * sysdeps/unix/readdir.c: Renamed to ...
41039         * sysdeps/posix/readdir.c: ... here.
41040         * sysdeps/unix/readdir_r.c: Renamed to ...
41041         * sysdeps/posix/readdir_r.c: ... here.
41042         * sysdeps/unix/rewinddir.c: Renamed to ...
41043         * sysdeps/posix/rewinddir.c: ... here.
41044         * sysdeps/unix/seekdir.c: Renamed to ...
41045         * sysdeps/posix/seekdir.c: ... here.
41046         * sysdeps/unix/telldir.c: Renamed to ...
41047         * sysdeps/posix/telldir.c: ... here.
41048         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41049         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41050         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41051         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41053         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41054         * bits/fcntl.h: ... here.
41056         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41057         not 0.
41058         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41059         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41060         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41061         (struct flock): Move l_start, l_len to the beginning.
41062         Use __pid_t for l_pid.
41063         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41064         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41065         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41066         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41067         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41068         [__USE_LARGEFILE64] (struct flock64): New type.
41069         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41071         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41072         * bits/dirent.h: ... here.
41074         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41075         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41077 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
41079         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41080         Change from 2.6.0 to 2.6.16.
41081         * sysdeps/unix/sysv/linux/configure: Regenerated.
41082         * sysdeps/unix/sysv/linux/kernel-features.h
41083         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
41084         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
41085         version.
41086         (__ASSUME_UTIMES): Likewise.
41087         (__ASSUME_CLONE_STOPPED): Remove.
41088         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
41089         architectures, not kernel version.
41090         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
41091         (__ASSUME_NO_CLONE_DETACHED): Likewise.
41092         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41093         (__ASSUME_WAITID_SYSCALL): Likewise.
41094         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
41095         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
41096         * README: State 2.6.16 as minimum Linux kernel version.  Do not
41097         refer to older versions.
41099 2012-08-06  Roland McGrath  <roland@hack.frob.com>
41101         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
41102         Define alphasort64 as an alias.
41103         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
41104         Define versionsort64 as an alias.
41105         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
41106         Define scandir64 as an alias.
41107         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
41108         Define scandirat64 as an alias.
41109         * dirent/alphasort64.c (alphasort64):
41110         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
41111         * dirent/versionsort64.c: Likewise.
41112         * dirent/scandir64.c: Likewise.
41113         * dirent/scandirat64.c: Likewise.
41114         * sysdeps/wordsize-64/alphasort.c: File removed.
41115         * sysdeps/wordsize-64/alphasort64.c: File removed.
41116         * sysdeps/wordsize-64/scandir.c: File removed.
41117         * sysdeps/wordsize-64/scandir64.c: File removed.
41118         * sysdeps/wordsize-64/scandirat.c: File removed.
41119         * sysdeps/wordsize-64/scandirat64.c: File removed.
41120         * sysdeps/wordsize-64/versionsort.c: File removed.
41121         * sysdeps/wordsize-64/versionsort64.c: File removed.
41122         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
41123         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
41124         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
41125         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
41126         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
41127         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
41128         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
41129         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
41131         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
41132         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41133         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
41134         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41135         [defined __arch64__ || defined __sparcv9]
41136         (__INO_T_MATCHES_INO64_T): New macro.
41137         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41138         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
41139         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
41140         * sysdeps/unix/sysv/linux/bits/dirent.h
41141         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
41142         (_DIRENT_MATCHES_DIRENT64): New macro.
41144         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
41145         Define lockf64 as an alias.
41146         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
41147         Define fseeko64 as an alias.
41148         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
41149         Define ftello64 as an alias.
41150         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
41151         Define _IO_fgetpos64 and fgetpos64 as aliases.
41152         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
41153         Define _IO_fsetpos64 and fsetpos64 as aliases.
41154         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
41155         Conditionalize body on this.
41156         * libio/fseeko64.c: Likewise.
41157         * libio/ftello64.c: Likewise.
41158         * libio/iofgetpos64.c: Likewise.
41159         * libio/iofsetpos64.c: Likewise.
41160         * sysdeps/wordsize-64/lockf.c: File removed.
41161         * sysdeps/wordsize-64/lockf64.c: File removed.
41162         * sysdeps/wordsize-64/fseeko.c: File removed.
41163         * sysdeps/wordsize-64/fseeko64.c: File removed.
41164         * sysdeps/wordsize-64/ftello.c: File removed.
41165         * sysdeps/wordsize-64/ftello64.c: File removed.
41166         * sysdeps/wordsize-64/iofgetpos.c: File removed.
41167         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
41168         * sysdeps/wordsize-64/iofsetpos.c: File removed.
41169         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
41170         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
41171         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
41172         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
41173         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
41174         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
41175         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
41176         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
41177         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
41178         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
41179         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
41181         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41182         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
41183         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
41184         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41185         [defined __arch64__ || defined __sparcv9]
41186         (__OFF_T_MATCHES_OFF64_T): New macro.
41187         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41188         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
41189         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41190         (__OFF_T_MATCHES_OFF64_T): New macro.
41192 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41194         * stdlib/secure-getenv.c (__secure_getenv): Replace
41195         GLIBC_2_16 with GLIBC_2_17.
41197 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
41199         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
41200         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41202 2012-08-03  David S. Miller  <davem@davemloft.net>
41204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41206 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41208         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
41209         Remove.
41210         (__ASSUME_CORRECT_SI_PID): Likewise.
41211         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
41212         (__ASSUME_TMPFS_NAME): Likewise.
41213         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
41214         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
41215         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
41216         (HAVE_AUX_SECURE): Make definition unconditional.
41217         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
41218         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
41220 2012-08-03  Roland McGrath  <roland@hack.frob.com>
41222         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
41223         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
41224         * sysdeps/mach/hurd/eloop-threshold.h: New file.
41225         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41226         __eloop_threshold instead of SYMLOOP_MAX.
41228         * sysdeps/generic/eloop-threshold.h: New file.
41229         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
41230         of MAXSYMLINKS.
41231         * elf/chroot_canon.c (chroot_canon): Likewise.
41233 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
41235         [BZ #13717]
41236         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41237         Change to 2.6.0 everywhere.
41238         * sysdeps/unix/sysv/linux/configure: Regenerated.
41239         * sysdeps/unix/sysv/linux/kernel-features.h
41240         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
41241         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
41242         kernel versions.
41243         (__ASSUME_POSIX_TIMERS): Define unconditionally.
41244         (__ASSUME_FUTEX_REQUEUE): Remove.
41245         (__ASSUME_STATFS64): Define unconditionally.
41246         (__ASSUME_AT_SECURE): Likewise.
41247         (__ASSUME_CORRECT_SI_PID): Likewise.
41248         (__ASSUME_TGKILL): Define without depending on kernel version for
41249         i386.
41250         (__ASSUME_UTIMES): Likewise.
41251         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
41252         kernel version.
41253         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
41254         (__ASSUME_TMPFS_NAME): Likewise.
41255         * README: Update reference to Linux kernel versions.
41257 2012-08-02  Marek Polacek  <polacek@redhat.com>
41259         [BZ# 14150]
41260         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
41261         libc_cv_asm_type_prefix with %.
41262         * configure: Regenerated.
41263         * include/libc-symbols.h: Remove comment about
41264         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41265         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
41266         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
41267         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
41268         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
41269         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
41270         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
41271         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
41272         * elf/tst-unique2mod1.c: Likewise.
41273         * elf/tst-unique1mod2.c: Likewise.
41274         * elf/tst-unique1mod1.c: Likewise.
41275         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
41276         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
41277         Replace ASM_TYPE_DIRECTIVE with .type.
41278         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41279         * sysdeps/i386/sysdep.h: Likewise.
41280         * sysdeps/x86_64/sysdep.h: Likewise.
41281         * sysdeps/sh/sysdep.h: Likewise.
41282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41283         Do not define ASM_TYPE_DIRECTIVE.
41284         * sysdeps/powerpc/sysdep.h: Likewise.
41285         * sysdeps/powerpc/powerpc32/sysdep.h:
41286         Replace ASM_TYPE_DIRECTIVE with .type.
41287         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41288         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41289         * sysdeps/i386/fpu/e_powf.S: Likewise.
41290         * sysdeps/i386/fpu/e_expl.S: Likewise.
41291         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41292         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41293         * sysdeps/i386/fpu/e_pow.S: Likewise.
41294         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41295         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41296         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41297         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41298         * sysdeps/i386/fpu/e_log2.S: Likewise.
41299         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41300         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41301         * sysdeps/i386/fpu/e_powl.S: Likewise.
41302         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41303         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41304         * sysdeps/i386/fpu/e_logl.S: Likewise.
41305         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41306         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41307         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41308         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41309         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41310         * sysdeps/i386/fpu/e_log.S: Likewise.
41311         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41312         * sysdeps/i386/fpu/e_logf.S: Likewise.
41313         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41314         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41315         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41316         * sysdeps/i386/fpu/e_log10.S: Likewise.
41317         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41318         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41319         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41320         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41321         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41322         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
41323         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41324         * sysdeps/i386/i686/strtok.S: Likewise.
41325         * sysdeps/i386/i386-mcount.S: Likewise.
41326         * sysdeps/i386/strtok.S: Likewise.
41327         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
41328         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41329         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41330         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41331         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
41332         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41333         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41334         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41335         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41336         * sysdeps/x86_64/_mcount.S: Likewise.
41337         * sysdeps/x86_64/strtok.S: Likewise.
41338         * sysdeps/sh/_mcount.S: Likewise.
41340 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41342         * libio/iofopen.c: Include <fcntl.h>.
41343         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
41344         (_IO_fopen64, fopen64): Define as aliases.
41345         * libio/iofopen64.c: Include <fcntl.h>.
41346         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
41347         Conditionalize body on this.
41348         * sysdeps/wordsize-64/iofopen.c: File removed.
41349         * sysdeps/wordsize-64/iofopen64.c: File removed.
41351 2012-08-01  Marek Polacek  <polacek@redhat.com>
41353         * libc/Makeconfig: Use elf in place of binfmt-subdir.
41354         Use dlfcn directly instead of a variable.
41355         (binfmt-subdir): Do not define.
41356         (dlfcn): Likewise.
41358 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
41360         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
41361         Remove all definitions.
41362         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
41363         <kernel-features.h>.
41364         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41365         (miss_F_GETOWN_EX): Remove all definitions.
41366         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
41367         macro definition.
41368         [!__ASSUME_FCNTL64]: Remove conditional code.
41369         [__ASSUME_FCNTL64]: Make code unconditional.
41370         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
41371         <kernel-features.h>.
41372         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
41373         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
41374         (lockf64) [__NR_fcntl64]: Make code unconditional.
41375         (lockf64) [__ASSUME_FCNTL64]: Likewise.
41377         * sysdeps/unix/sysv/linux/kernel-features.h
41378         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
41379         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41380         Make code unconditional.
41381         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41382         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
41384         [__NR_vfork]: Make code unconditional.
41385         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41386         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
41388         [__NR_vfork]: Make code unconditional.
41389         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
41390         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
41392 2012-08-01  Roland McGrath  <roland@hack.frob.com>
41394         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
41395         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
41397         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41398         Define mkstemp64 as an alias.
41399         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41400         Define mkstemps64 as an alias.
41401         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41402         Define mkostemp64 as an alias.
41403         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
41404         Define mkostemps64 as an alias.
41405         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
41406         Conditionalize body on this.
41407         * misc/mkostemp64.c: Likewise.
41408         * misc/mkostemps64.c: Likewise.
41409         * misc/mkstemps64.c: Likewise.
41410         * sysdeps/wordsize-64/mkstemp64.c: File removed.
41411         * sysdeps/wordsize-64/mkostemp64.c: File removed.
41412         * sysdeps/wordsize-64/mkostemp.c: File removed.
41413         * sysdeps/wordsize-64/mkstemp.c: File removed.
41414         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
41415         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
41416         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
41417         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
41419         [BZ #14138]
41420         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
41421         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
41422         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
41423         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
41425         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
41426         compat_symbol macros from <shlib-compat.h> rather than the underlying
41427         default_symbol_version and symbol_version macros, so that DEFAULT
41428         lines in shlib-versions are respected.
41429         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
41431 2012-08-01  Florian Weimer  <fweimer@redhat.com>
41433         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
41434         Declare with warn_unused_result.
41435         (setgid, setregid, setegid, setresgid): Likewise.
41436         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
41437         Likewise.
41438         * WUR-REPORT: Remove set*id functions.
41440 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
41442         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
41444 2012-07-31  Roland McGrath  <roland@hack.frob.com>
41446         [BZ #10191]
41447         * include/sys/socket.h (__libc_accept, __libc_accept4):
41448         Add attribute_hidden.
41449         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
41451         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
41452         use of PTR_MANGLE.
41453         * inet/getnetgrent_r.c (setup): Likewise.
41455         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
41457 2012-07-31  David S. Miller  <davem@davemloft.net>
41459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41461 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
41463         [BZ #13629]
41464         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
41465         value between 1.0 and 2.0 and smaller part has absolute value less
41466         than 1.0.
41467         * math/s_clog10.c (__clog10): Likewise.
41468         * math/s_clog10f.c (__clog10f): Likewise.
41469         * math/s_clog10l.c (__clog10l): Likewise.
41470         * math/s_clogf.c (__clogf): Likewise.
41471         * math/s_clogl.c (__clogl): Likewise.
41472         * math/libm-test.inc (clog_test): Add more tests.
41473         (clog10_test): Likewise.
41474         * sysdeps/i386/fpu/libm-test-ulps: Update.
41475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41477 2012-07-31  Florian Weimer  <fweimer@redhat.com>
41479         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
41480         Exit with zero in case no suitable GID is found, and write a
41481         message to standard error.
41483 2012-07-30  Roland McGrath  <roland@hack.frob.com>
41485         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
41486         rather than to 1.
41487         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
41488         (MAXPATHLEN): Removed.
41489         (NOGROUP, NODEV): New macros.
41490         (setbit, clrbit, isset, isclr): New macros.
41491         (howmany, roundup, powerof2): New macros.
41492         (DEV_BSIZE): New macro.
41494         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
41495         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
41497         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
41498         definition on [!__NO_LONG_DOUBLE_MATH].
41500         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
41501         PTR_MANGLE and PTR_DEMANGLE.
41503         * socket/accept4.c (accept4): Rename to __libc_accept4.
41504         Define accept4 as a weak alias.
41506         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
41507         on [_DIRENT_HAVE_D_TYPE].
41508         * io/ftw.c (ftw_dir): Likewise.
41510         * io/xmknod.c (__xmknod): Don't check PATH for being null.
41512         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
41514         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
41515         Use the BSD numbers rather than the arbitrary ones we had.
41516         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
41517         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
41518         (SIGXCPU, SIGXFSZ): New macros.
41519         (_NSIG): Now 32.
41521         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
41522         initializer on [_LIBC_REENTRANT].
41524         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
41525         definitions inside [_POSIX_MAPPED_FILES].
41527         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
41529         * dirent/opendir.c: Include <fcntl.h>.
41531         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
41532         (__libc_getspecific): Likewise.
41533         (__libc_key_create): Likewise.
41535         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
41536         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
41537         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
41538         (tmpfile64): Define as alias.
41539         * sysdeps/wordsize-64/tmpfile.c: File removed.
41540         * sysdeps/wordsize-64/tmpfile64.c: File removed.
41541         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
41542         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
41544         * stdio-common/vfscanf.c: Include <stdbool.h>.
41545         * nss/makedb.c: Likewise.
41546         * stdio-common/_i18n_number.h: Likewise.
41547         * argp/argp-help.c: Likewise.
41548         * posix/wordexp.c: Likewise.
41549         * sysdeps/posix/spawni.c: Likewise.
41550         * nss/nss_files/files-initgroups.c: Likewise.
41551         * stdio-common/reg-modifier.c: Include <stdlib.h>.
41552         * nss/nss_files/files-initgroups.c: Likewise.
41553         * nss/nss_db/db-netgrp.c: Likewise.
41554         * nss/nss_db/db-initgroups.c: Likewise.
41555         * io/fchmodat.c: Include <sys/stat.h>.
41557         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
41558         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
41560         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
41561         [HAVE_MMAP].
41563         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
41564         Add multiple inclusion protection.
41566 2012-07-27  David S. Miller  <davem@davemloft.net>
41568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41570 2012-07-27  Gary Benson  <gbenson@redhat.com>
41572         [BZ #14298]
41573         * elf/rtld.c: Include <stap-probe.h>.
41574         (dl_main): Added static probes "init_start" and "init_complete".
41575         * elf/dl-load.c: Include <stap-probe.h>.
41576         (lose): Take new parameter "nsid".
41577         Added static probe "map_failed".
41578         (_dl_map_object_from_fd): Pass namespace id to lose.
41579         Added static probe "map_start".
41580         (open_verify): Pass namespace id to lose.
41581         * elf/dl-open.c: Include <stap-probe.h>.
41582         (dl_open_worker) Added static probes "map_complete", "reloc_start"
41583         and "reloc_complete".
41584         * elf/dl-close.c: Include <stap-probe.h>.
41585         (_dl_close_worker): Added static probes "unmap_start" and
41586         "unmap_complete".
41587         * elf/rtld-debugger-interface.txt: New file documenting the above.
41589 2012-07-26  Roland McGrath  <roland@hack.frob.com>
41591         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
41592         rather than a string variable.
41593         * sunrpc/rpc_main.c (h_output): Likewise.
41594         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
41596 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
41598         * inet/check_native.c: New file.
41600 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
41602         [BZ #13629]
41603         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41604         if larger part has absolute value 1.0.
41605         * math/s_clog10.c (__clog10): Likewise.
41606         * math/s_clog10f.c (__clog10f): Likewise.
41607         * math/s_clog10l.c (__clog10l): Likewise.
41608         * math/s_clogf.c (__clogf): Likewise.
41609         * math/s_clogl.c (__clogl): Likewise.
41610         * math/libm-test.inc (clog_test): Add more tests.
41611         (clog10_test): Likewise.
41612         * sysdeps/i386/fpu/libm-test-ulps: Update.
41613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41615         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41616         (pltexit): Likewise.
41617         (La_regs): Likewise.
41618         (La_retval): Likewise.
41619         (int_retval): Likewise.
41620         Update #error for removed macros to refer only to definitions in
41621         tst-audit.h.
41622         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41623         macro.
41624         (pltexit): Likewise.
41625         (La_regs): Likewise.
41626         (La_retval): Likewise.
41627         (int_retval): Likewise.
41628         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41629         macro.
41630         (pltexit): Likewise.
41631         (La_regs): Likewise.
41632         (La_retval): Likewise.
41633         (int_retval): Likewise.
41634         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41635         macro.
41636         (pltexit): Likewise.
41637         (La_regs): Likewise.
41638         (La_retval): Likewise.
41639         (int_retval): Likewise.
41640         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41641         macro.
41642         (pltexit): Likewise.
41643         (La_regs): Likewise.
41644         (La_retval): Likewise.
41645         (int_retval): Likewise.
41646         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41647         macro.
41648         (pltexit): Likewise.
41649         (La_regs): Likewise.
41650         (La_retval): Likewise.
41651         (int_retval): Likewise.
41652         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41653         macro.
41654         (pltexit): Likewise.
41655         (La_regs): Likewise.
41656         (La_retval): Likewise.
41657         (int_retval): Likewise.
41658         * sysdeps/generic/tst-audit.h: Update comment to refer only to
41659         macro definitions in tst-audit.h.
41660         * sysdeps/i386/tst-audit.h: New file.
41661         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41662         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41663         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41664         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41665         * sysdeps/sh/tst-audit.h: Likewise.
41666         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41667         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41668         * sysdeps/x86_64/tst-audit.h: Likewise.
41670 2012-07-26  Andreas Jaeger  <aj@suse.de>
41672         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41673         ptrace.
41675         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41676         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41677         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41678         PTRACE_O_MASK.
41679         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41680         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41681         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41683         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41684         value.
41686         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41687         _sigsys.
41688         (si_call_addr, si_syscall, si_arch): Define new macro.
41689         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41690         _sigsys.
41691         (si_call_addr, si_syscall, si_arch): Define new marcro.
41692         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41693         _sigsys.
41694         (si_call_addr, si_syscall, si_arch): Define new macro.
41695         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41696         _sigsys.
41697         (si_call_addr, si_syscall, si_arch): Define new macro.
41699 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
41701         [BZ #13717]
41702         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41703         Change to 2.4.21 where previously 2.4.1.
41704         * sysdeps/unix/sysv/linux/configure: Regenerated.
41705         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41706         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41707         Linux kernel version.
41708         (__ASSUME_STD_AUXV): Remove.
41709         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41710         kernel version.
41711         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41712         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41713         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41714         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41715         (__ASSUME_NETLINK_SUPPORT): Likewise.
41716         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41717         (__no_netlink_support): Remove conditional definition.
41718         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41719         Remove.
41720         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41721         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41722         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41723         (if_nameindex_ioctl): Remove.
41724         (if_nameindex_netlink): Do not handle __no_netlink_support.
41725         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41726         code.
41727         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41728         Remove conditional code.
41729         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41730         code.
41731         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41732         unconditional.
41733         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41734         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41735         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41736         Remove.
41737         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41738         [!__ASSUME_STD_AUXV]: Remove conditional code.
41739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41740         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41741         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41743         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41744         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41745         code.
41746         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41748         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41749         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41750         conditional code.
41751         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41753         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41754         code.
41755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41756         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41757         conditional code.
41758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41759         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41760         code unconditional.
41761         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41762         conditional code.
41763         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41764         unconditional.
41765         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41766         conditional code.
41767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41768         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41769         unconditional.
41770         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41771         conditional code.
41772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41773         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41774         code unconditional.
41775         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41776         conditional code.
41777         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41778         unconditional.
41779         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41780         conditional code.
41781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41782         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41783         code unconditional.
41784         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41785         conditional code.
41786         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41787         unconditional.
41788         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41789         conditional code.
41791 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
41793         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41794         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41795         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41796         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41797         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41798         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41799         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41800         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41801         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41802         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41803         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41804         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41805         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41806         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41807         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41808         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41809         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41810         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41811         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41812         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41813         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41814         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41815         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41817 2012-07-25  Florian Weimer  <fweimer@redhat.com>
41819         * Versions.def: Add GLIBC_2.17.
41820         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41821         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41822         Introduce __libc_secure_getenv.
41823         * stdlib/Versions (2.17): Add secure_getenv
41824         (GLIBC_PRIVATE): Add __libc_secure_getenv.
41825         * stdlib/secure-getenv.c: Rename __secure_getenv to
41826         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
41827         symbol __secure_getenv for GLIBC_2.0.
41828         * stdlib/tst-secure-getenv.c: New.
41829         * stdlib/Makefile (tests): Add testcase.
41830         * manual/startup.texi (Environment Access): Document
41831         secure_getenv.
41832         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41833         __libc_secure_getenv.
41834         * inet/ruserpass.c (ruserpass): Likewise.
41835         * malloc/mtrace.c (mtrace): Likewise.
41836         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
41837         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
41838         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41839         * sysdeps/posix/tempname.c: Likewise.  Evaluate
41840         HAVE_SECURE_GETENV.
41841         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
41842         __secure_getenv to __libc_secure_getenv.
41843         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
41844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41845         Likewise.
41846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41847         Likewise.
41848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41850         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41856 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
41858         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41859         (struct La_i86_retval): Likewise.
41860         (struct La_x86_64_regs): Likewise.
41861         (struct La_x86_64_retval): Likewise.
41862         (struct La_x32_regs): Likewise.
41863         (struct La_x32_retval): Likewise.
41864         (struct La_ppc32_regs): Likewise.
41865         (struct La_ppc32_retval): Likewise.
41866         (struct La_ppc64_regs): Likewise.
41867         (struct La_ppc64_retval): Likewise.
41868         (struct La_sh_regs): Likewise.
41869         (struct La_sh_retval): Likewise.
41870         (struct La_s390_32_regs): Likewise.
41871         (struct La_s390_32_retval): Likewise.
41872         (struct La_s390_64_regs): Likewise.
41873         (struct La_s390_64_retval): Likewise.
41874         (struct La_sparc32_regs): Likewise.
41875         (struct La_sparc32_retval): Likewise.
41876         (struct La_sparc64_regs): Likewise.
41877         (struct La_sparc64_retval): Likewise.
41878         (struct audit_ifaces): Remove architecture-specific pltenter and
41879         pltexit members.
41880         * sysdeps/i386/ldsodefs.h: New file.
41881         * sysdeps/powerpc/ldsodefs.h: Likewise.
41882         * sysdeps/s390/ldsodefs.h: Likewise.
41883         * sysdeps/sh/ldsodefs.h: Likewise.
41884         * sysdeps/sparc/ldsodefs.h: Likewise.
41885         * sysdeps/x86_64/ldsodefs.h: Likewise.
41887 2012-07-25  Marek Polacek  <polacek@redhat.com>
41889         [BZ #6808]
41890         * math/libm-test.inc (yn_test): Add another test.
41891         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41892         to ERANGE when the result is +-Inf.
41893         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41894         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41895         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41896         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41898 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
41900         * conform/data/time.h-data (NULL): Use macro-constant.  Require
41901         equal to 0.
41902         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
41903         clock_t.
41904         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
41906 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
41908         * configure.in <sysdeps resolving>: Correct printing
41909         Implies_before.
41910         * configure: Regenerate.
41912 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
41914         * math/w_ilogb.c: Include <limits.h>.
41915         * math/w_ilogbl.c: Likewise.
41917 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41919         * manual/lang.texi (__va_copy): Document primarily as ISO C99
41920         va_copy.  Document allowing for unavailable va_copy only as
41921         pre-C99 compatibility.
41922         * manual/string.texi (Copying and Concatenation): Use va_copy
41923         instead of __va_copy in concat example.
41925 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
41927         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41928         (__sendto): Use create_address_port.  Initialize APORT and deallocate
41929         it if not null.
41931         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41932         with O_NOLINK passed to __file_name_lookup.
41934         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41935         with O_NOLINK passed to __file_name_lookup.
41937         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41938         negative N or less than NGIDS.
41940         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41941         type to string_t.  Set ERANGE as errno and return it if NAME is not big
41942         enough.  Use memcpy instead of strncpy.
41944 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
41946         * elf/Makefile (check-data): Remove.
41947         (localplt.data): New vpath directive.
41948         ($(objpfx)check-localplt.out): Use localplt.data from vpath
41949         instead of $(check-data).
41950         * scripts/data/localplt-generic.data: Move to ...
41951         * sysdeps/generic/localplt.data: ... here.
41952         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41953         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41954         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41956         ... here.
41957         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41959         ... here.
41960         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41962         ... here.
41963         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41965         ... here.
41966         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41968         ... here.
41969         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41971         ... here.
41973 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41975         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41976         PPC32 and PPC64 files.
41977         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41978         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41980 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41982         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41983         __makecontext_ret to ...
41984         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41985         ... here and call exit if uc_link is NULL.  New file.
41986         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41987         __makecontext_ret.S.
41988         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41989         __makecontext_ret to ...
41990         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41991         ... here and call exit if uc_link is NULL.  New file.
41992         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41993         __makecontext_ret.S.
41995 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41997         * elf/elf.h (R_390_IRELATIVE): New definition.
41998         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41999         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
42000         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42001         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42002         (elf_machine_lazy_rel): Likewise.
42003         * sysdeps/s390/dl-irel.h: New file.
42004         * sysdeps/s390/s390-64/memcpy.S: New asm code.
42005         * sysdeps/s390/s390-64/memset.S: New asm code.
42006         * sysdeps/s390/s390-64/memcmp.S: New asm code.
42007         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42008         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42009         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42010         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42011         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42012         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42013         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42014         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42015         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42016         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42017         * sysdeps/s390/s390-32/memcpy.S: New asm code.
42018         * sysdeps/s390/s390-32/memset.S: New asm code.
42019         * sysdeps/s390/s390-32/memcmp.S: New asm code.
42021 2012-07-17  Marek Polacek  <polacek@redhat.com>
42023         [BZ #14349]
42024         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42025         * sysdeps/s390/s390-64/configure.in: Likewise.
42026         * sysdeps/sparc/configure.in: Likewise.
42027         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42028         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42029         * sysdeps/i386/configure.in: Likewise.
42030         * sysdeps/x86_64/configure.in: Likewise.
42031         * sysdeps/sh/configure.in: Likewise.
42032         * sysdeps/s390/s390-32/configure: Regenerated.
42033         * sysdeps/s390/s390-64/configure: Likewise.
42034         * sysdeps/x86_64/configure: Likewise.
42035         * sysdeps/sh/configure: Likewise.
42036         * sysdeps/powerpc/powerpc64/configure: Likewise.
42037         * sysdeps/powerpc/powerpc32/configure: Likewise.
42038         * sysdeps/sparc/configure: Likwise.
42039         * sysdeps/i386/configure: Likewise.
42041         * elf/dl-open.c: Comment fixes.
42043 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
42045         * Makefile [CXX] (check-data): Remove.
42046         [CXX] (c++-types.data): New vpath directive.
42047         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42048         vpath.  Do not allow for C++ type data being missing.
42049         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42050         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42051         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42052         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42053         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42054         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42055         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42057         ... here.
42058         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42060         ... here.
42061         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42063         ... here.
42064         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42066         ... here.
42067         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42068         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42069         ... here.
42070         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42072         ... here.
42073         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42075         ... here.
42076         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42079         * elf/tls-macros.h (TLS_LE): Move architecture-specific
42080         definitions to architecture-specific files.
42081         (TLS_IE): Likewise.
42082         (TLS_LD): Likewise.
42083         (TLS_GD): Likewise.
42084         * sysdeps/i386/tls-macros.h: New file.
42085         * sysdeps/powerpc/tls-macros.h: Likewise.
42086         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
42087         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
42088         * sysdeps/sh/tls-macros.h: Likewise.
42089         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
42090         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
42091         * sysdeps/x86_64/tls-macros.h: Likewise.
42093 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
42095         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
42096         zero value for regular exit case.
42098         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
42099         (__start_context): Preserve zero value for regular exit case.
42101 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
42102             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42104         * manual/setjmp.texi (setcontext): Clarify normal process
42105         termination when uc_link is the null pointer.
42106         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
42107         exit call.
42109 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
42111         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
42112         preprocessor.  Test for each exception mask separately.
42114 2012-07-16  Andreas Jaeger  <aj@suse.de>
42116         * po/ru.po: Update from translation team.
42118 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
42120         * conform/data/string.h-data (NULL): Use macro-constant.  Require
42121         equal to 0.
42122         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42123         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42124         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
42125         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
42126         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42128 2012-07-13  Andreas Jaeger  <aj@suse.de>
42130         * po/fr.po: Update from translation team.
42132 2012-07-12  Marek Polacek  <polacek@redhat.com>
42134         [BZ #14173]
42135         * math/libm-test.inc (yn_test): Add test for BZ #14173.
42136         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
42137         loop condition.
42139 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
42141         [BZ #13717]
42142         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42143         Change to 2.4.1 where previously 2.4.0.
42144         * sysdeps/unix/sysv/linux/configure: Regenerated.
42145         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
42146         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
42147         version.
42148         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
42149         (__ASSUME_AT_CLKTCK): Remove.
42150         (__ASSUME_AT_PAGESIZE): Likewise.
42151         (__ASSUME_AT_XID): Likewise.
42152         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
42153         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
42154         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
42155         unconditionally.
42156         (HAVE_AUX_PAGESIZE): Likewise.
42157         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
42158         [__ASSUME_AT_CLKTCK]: Make code unconditional.
42159         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
42161 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
42163         [BZ #14307]
42164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
42165         the temporary buffer used to invoke __gethostbyname2_r,
42166         __gethostbyaddr_r and gethostbyname4_r to make room for struct
42167         host_data / struct gaih_addrtuple.
42168         * resolv/nss_dns/dns-host.c (global scope): Move definition of
42169         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
42170         header file nss/nsswitch.h.
42171         * nss/nsswitch.h (global scope): Add definition of implementation
42172         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
42173         resolv/nss_dns/dns-host.c).
42175 2012-07-11  Andreas Jaeger  <aj@suse.de>
42177         * po/fr.po: Update from translation team.
42179         * po/sv.po: Update from translation team
42180         * po/fr.po: Another update from translation team.
42182 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42184         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
42185         for subnormals or multiply small sinh result by itself.
42186         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42189 2012-07-11  David S. Miller  <davem@davemloft.net>
42191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42193 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
42195         [BZ #14347]
42196         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
42197         (INTERNAL_MARK): Shift it here.
42199 2012-07-10  Marek Polacek  <polacek@redhat.com>
42201         [BZ #14151]
42202         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
42203         libc_cv_asm_global_directive with .globl.
42204         * configure: Regenerated.
42205         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
42206         with .globl.
42207         * sysdeps/i386/configure: Regenerated.
42208         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
42209         with .globl.
42210         * sysdeps/x86_64/configure: Regenerated.
42211         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
42212         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
42213         * elf/tst-unique2mod2.c: Likewise.
42214         * elf/tst-unique2mod1.c: Likewise.
42215         * elf/tst-unique1mod2.c: Likewise.
42216         * elf/tst-unique1mod1.c: Likewise.
42217         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42218         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42219         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42220         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42221         * sysdeps/mach/sysdep.h: Likewise.
42222         * sysdeps/i386/sysdep.h: Likewise.
42223         * sysdeps/i386/i386-mcount.S: Likewise.
42224         * sysdeps/x86_64/_mcount.S: Likewise.
42225         * sysdeps/x86_64/sysdep.h: Likewise.
42226         * sysdeps/sh/_mcount.S: Likewise.
42227         * sysdeps/sh/sysdep.h: Likewise.
42228         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
42229         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
42230         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
42231         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42232         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
42233         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
42234         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
42235         * locale/localeinfo.h: Likewise.
42236         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
42237         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
42239 2012-07-09  Roland McGrath  <roland@hack.frob.com>
42241         [BZ #14336]
42242         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
42243         system".
42244         * manual/message.texi (The Uniforum approach): Likewise.
42245         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
42246         (glibc iconv Implementation): Likewise.
42248 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
42250         [BZ #14337]
42251         * math/s_clog.c (__clog): Avoid scaling a value down where that
42252         could result in underflow.
42253         * math/s_clog10.c (__clog10): Likewise.
42254         * math/s_clog10f.c (__clog10f): Likewise.
42255         * math/s_clog10l.c (__clog10l): Likewise.
42256         * math/s_clogf.c (__clogf): Likewise.
42257         * math/s_clogl.c (__clogl): Likewise.
42258         * math/libm-test.inc (clog_test): Add more tests.
42259         (clog10_test): Likewise.
42260         * sysdeps/i386/fpu/libm-test-ulps: Update.
42261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42263 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
42265         [BZ #14283]
42266         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
42267         by 7 not 8 to examine high bit of fractional part.
42269         [BZ #14042]
42270         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
42271         for call to __mcount_internal.
42272         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
42273         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
42274         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
42276 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
42278         [BZ #14154]
42279         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
42280         approximation for values within 0x1p-13f of an odd multiple of
42281         pi/4.
42282         * math/libm-test.inc (tan_test): Do not allow spurious underflow
42283         exception.  Add more tests.
42284         * sysdeps/i386/fpu/libm-test-ulps: Update.
42286         [BZ #6778]
42287         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
42288         inputs and return -1 for them.  Do not check for +Inf in case not
42289         reachable for +Inf.
42290         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42291         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
42292         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
42293         and return -1 for them.  Do not check for +Inf in case not
42294         reachable for +Inf.
42295         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
42296         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         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
42301         spurious underflow.
42302         * sysdeps/i386/fpu/libm-test-ulps: Update.
42303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42305 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
42307         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
42309 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
42311         [BZ #14157]
42312         [BZ #14331]
42313         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
42314         could result in spurious underflow.  Scale down values above
42315         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
42316         * math/s_csqrtf.c (__csqrtf): Likewise.
42317         * math/s_csqrtl.c (__csqrtl): Likewise.
42318         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
42319         spurious underflow.
42320         * sysdeps/i386/fpu/libm-test-ulps: Update.
42321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42323 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
42325         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
42326         xopen-msg.sed.
42327         * catgets/xopen-msg.awk: New file.
42328         * catgets/xopen-msg.sed: Removed.
42330         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
42331         po2text.sed.
42332         * intl/po2test.awk: New file.
42333         * intl/po2test.sed: Removed.
42335 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
42337         [BZ #14328]
42338         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
42339         or multiply small sinh result by itself.
42340         * math/s_ctanf.c (__ctanf): Likewise.
42341         * math/s_ctanh.c (__ctanh): Likewise.
42342         * math/s_ctanhf.c (__ctanhf): Likewise.
42343         * math/s_ctanhl.c (__ctanhl): Likewise.
42344         * math/s_ctanl.c (__ctanl): Likewise.
42345         * math/libm-test.inc (ctan_test_tonearest): New function.
42346         (ctan_test_towardzero): Likewise.
42347         (ctan_test_downward): Likewise.
42348         (ctan_test_upward): Likewise.
42349         (ctanh_test_tonearest): Likewise.
42350         (ctanh_test_towardzero): Likewise.
42351         (ctanh_test_downward): Likewise.
42352         (ctanh_test_upward): Likewise.
42353         (main): Call these new functions.
42354         * sysdeps/i386/fpu/libm-test-ulps: Update.
42355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42357 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
42359         * .gitignore: Delete /ports entry.
42361 2012-07-03  Andreas Jaeger  <aj@suse.de>
42363         * po/bg.po: Update from translation team.
42364         * po/cs.po: Likewise.
42365         * po/de.po: Likewise.
42366         * po/hr.po: Likewise.
42367         * po/nl.pl: Likewise.
42368         * po/pl.po: Likewise.
42369         * po/vi.po: Likewise.
42371 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
42373         * Makeconfig [!+link] (+link-before-libc): New variable.
42374         [!+link] (+link-after-libc): Likewise.
42375         [!+link] (+link-tests): Likewise.
42376         [!+link] (+link): Define in terms of $(+link-before-libc) and
42377         $(+link-after-libc).
42378         [!+link-static] (+link-static-before-libc): New variable.
42379         [!+link-static] (+link-static-after-libc): Likewise.
42380         [!+link-static] (+link-static-tests): Likewise.
42381         [!+link-static] (+link-static): Define in terms of
42382         $(+link-static-before-libc) and $(+link-static-after-libc).
42383         [build-shared] (link-libc-before-gnulib): New variable.
42384         [build-shared] (link-libc-tests): Likewise.
42385         [build-shared] (link-libc): Define in terms of
42386         $(link-libc-before-gnulib).
42387         [!build-shared] (link-libc-tests): New variable.
42388         (link-libc-static-tests): New variable.
42389         [!gnulib] (gnulib-arch): New variable.
42390         [!gnulib] (gnulib-tests): Likewise.
42391         [!gnulib] (static-gnulib-arch): Likewise.
42392         [!gnulib] (static-gnulib-tests): Likewise.
42393         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
42394         Define with "=" instead of ":=".
42395         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
42396         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
42397         * Rules (binaries-all-notests): New variable.
42398         (binaries-all-tests): Likewise.
42399         (binaries-static-notests): Likewise.
42400         (binaries-static-tests): Likewise.
42401         (binaries-all): Define using $(binaries-all-notests) and
42402         $(binaries-all-tests).
42403         (binaries-static): Define using $(binaries-static-notests) and
42404         $(binaries-static-tests).
42405         (binaries-shared-tests): New variable.
42406         (binaries-shared-notests): Likewise.
42407         (binaries-shared): Remove variable.
42408         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
42409         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
42410         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
42411         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
42412         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
42413         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
42414         * elf/Makefile (sln-modules): New variable.
42415         (extra-objs): Add $(sln-modules:=.o).
42416         (ldconfig-modules): Add static-stubs.
42417         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
42418         * elf/static-stubs.c: New file.
42420         [BZ #14283]
42421         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
42422         by 7 not 8 to examine high bit of fractional part.  Use volatile
42423         variables when splitting into final array of floats if
42424         __FLT_EVAL_METHOD__ != 0.
42425         * math/libm-test.inc (cos_test): Add another test.
42426         (sin_test): Likewise.
42427         * sysdeps/i386/fpu/libm-test-ulps: Update.
42429         [BZ #14273]
42430         * math/libm-test.inc (cosh_test): Add more tests.
42432         * version.h (RELEASE): Set to "development".
42433         (VERSION): Set to "2.16.90".
42435 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
42437         * NEWS: Update copyright. Remove last-updated date.
42438         Mention math library bug fixes and timezone data changes.
42439         * README: Mention GNU/Hurd, x32, and HPPA support status.
42441 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
42443         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
42445 2012-06-27  Andreas Jaeger  <aj@suse.de>
42447         * manual/contrib.texi (Contributors): Add Samuel Thibault.
42449 2012-06-25  Andreas Jaeger  <aj@suse.de>
42451         * sysdeps/s390/fpu/libm-test-ulps: Update.
42453 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
42454             Thomas Schwinge  <thomas@codesourcery.com>
42456         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
42457         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
42458         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
42459         fanotify_mark.
42461 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
42463         * sysdeps/mach/start.c: Remove file.
42464         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
42465         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
42466         * sysdeps/sh/init-first.c: Likewise.
42468         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
42469         registers for frame unwinding purposes, add CFI directives.
42470         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42471         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
42472         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
42473         Likewise.
42475         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
42476         __fortify_fail returning.
42477         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
42479         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
42480         sysdeps/sh/____longjmp_chk.S.
42481         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
42482         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
42483         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
42484         (gen-as-const-headers): Append sigaltstack-offsets.sym.
42486         * sysdeps/sh/abort-instr.h: New file.
42487         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
42488         process in case exit returns.
42490         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
42491         initialize the GOT register before use.
42493         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
42494         calculation of ARGC > 4.
42496         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
42497         meaningful names to some local labels.
42499 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42500             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42502         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
42503         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
42504         (__arch_compare_and_exchange_val_16_acq): Likewise.
42505         (__arch_compare_and_exchange_val_32_acq): Likewise.
42506         (atomic_exchange_and_add): Fix gUSA sequence.
42507         (atomic_add): Likewise.
42508         (atomic_add_negative): Likewise.
42509         (atomic_add_zero): Likewise.
42510         (atomic_bit_test_set): Likewise.
42512 2012-06-22  Andreas Schwab  <schwab@redhat.com>
42514         [BZ #13579]
42515         * include/link.h (struct link_map): Add l_free_initfini.
42516         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
42517         l_initfini.
42518         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
42519         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
42520         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
42521         set.
42523 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
42525         * configure.in: Use AC_LANG_SOURCE.
42526         * configure: Regenerate.
42528 2012-06-22  Roland McGrath  <roland@hack.frob.com>
42530         * configure.in (libc_cv_localstatedir): New substituted variable.
42531         * configure: Regenerated.
42532         * config.make.in (localstatedir): New variable, substituted from
42533         libc_cv_localstatedir.
42534         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
42535         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
42536         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
42537         * sysdeps/gnu/configure: Regenerated.
42539 2012-06-21  Jeff Law  <law@redhat.com>
42541         [BZ #14277]
42542         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
42543         free.  Simplify list management for _LIBC case.
42545 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
42547         [BZ #14273]
42548         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
42549         Clear sign bit of 64-bit integer value before comparing against
42550         overflow value.
42552         * sysdeps/mach/configure: Regenerated.
42554 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
42556         [BZ #14278]
42557         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
42559 2012-06-21  Jeff Law  <law@redhat.com>
42561         [BZ #13882]
42562         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
42563         uint16_t for elements in the "seen" array to avoid char overflows.
42564         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42565         * elf/dl-open.c (dl_open_worker): Likewise.
42567 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
42569         * scripts/list-sources.sh: Scan PORTS for translations.
42570         * po/libc.pot: Regenerated.
42572 2012-06-21  Andreas Jaeger  <aj@suse.de>
42574         [BZ #12194]
42575         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
42576         warning.
42577         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
42578         * bits/byteswap-16.h (__bswap_16): Likewise.
42579         * bits/byteswap.h (__bswap_constant_16): Likewise.
42581 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
42583         [BZ #14117]
42584         * sysdeps/i386/fpu_control.h: Removed.
42585         * sysdeps/x86_64/fpu_control.h: Moved to ...
42586         * sysdeps/x86/fpu_control.h: Here.
42588         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
42589         (_FPU_SETCW): Likewise.
42591 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
42593         [BZ #14117]
42594         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
42595         * sysdeps/x86/fpu/bits/mathinline.h: This.
42596         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42598         [BZ #14050]
42599         [BZ #14117]
42600         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42601         functions if __x86_64__ is defined.
42603 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
42605         * string/endian.h: Add !__ASSEMBLER__ condition for including
42606         conversion interfaces.
42608 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
42610         [BZ #14241]
42611         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42612         of ABS(x) in calculating zero to negative powers other than odd
42613         integers.
42614         * math/libm-test.inc (pow_test): Add more tests.
42616 2012-06-15  Andreas Jaeger  <aj@suse.de>
42618         * manual/contrib.texi (Contributors): Update entry of Liubov
42619         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42620         Machado Filho.
42622 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
42624         * string/string.h: Add __wur to GNU version of strerror_r.
42626 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
42628         [BZ #14229]
42629         * string/Makefile (tests): Add tst-strtok_r.
42630         * string/tst-strtok_r.c: New file.
42631         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42632         RAX_LP/RDX_LP on SAVE_PTR.
42634 2012-06-14  Roland McGrath  <roland@hack.frob.com>
42636         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42638 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
42640         * libm_test.inc (csqrt_test): Allow more spurious underflow
42641         exceptions.
42642         (j0_test): Likewise.
42643         (j1_test): Likewise.
42644         (y0_test): Likewise.
42645         (y1_test): Likewise.
42647 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
42649         * po/Makefile (libc.pot): Use UTF-8 charset.
42651 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
42653         [BZ #14210]
42654         Suppress sign-conversion warning from FD_SET.
42655         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42656         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42657         not unsigned long int.
42658         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42660 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
42662         [BZ #14050]
42663         [BZ #14117]
42664         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42665         __extern_always_inline instead of __extern_inline.
42666         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42667         (__signbit): Likewise.
42668         (__signbitl): Support C++ namespace.
42669         (lrintf): New inline function.
42670         (lrint): Likewise.
42671         (llrintf): Likewise.
42672         (llrint): Likewise.
42673         (fmaxf): Likewise.
42674         (fmax): Likewise.
42675         (fminf): Likewise.
42676         (fmin): Likewise.
42677         (rint): Likewise.
42678         (rintf): Likewise.
42679         (ceil): Likewise.
42680         (ceilf): Likewise.
42681         (floor): Likewise.
42682         (floorf): Likewise.
42683         (nearbyint): Likewise.
42684         (nearbyintf): Likewise.
42686 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
42688         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42689         non-default versions.
42691 2012-06-11  Roland McGrath  <roland@hack.frob.com>
42693         [BZ #14218]
42694         * manual/argp.texi (Argp): Reword argp_parse description slightly.
42696 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
42698         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42699         (FE_UPWARD, FE_DOWNWARD): Don't define.
42700         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42701         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42703         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42704         reading it.
42705         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42706         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42708 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42710         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42711         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42712         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42713         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42715 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
42717         [BZ #14117]
42718         * sysdeps/i386/fpu/bits/fenv.h: Removed.
42719         * sysdeps/i386/fpu/Implies: New file.
42720         * sysdeps/x86_64/fpu/Implies: Likewise.
42721         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42722         * sysdeps/x86/fpu/bits/fenv.h: This.
42724         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42725         __SSE_MATH__.
42727 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42729         [BZ #14134]
42730         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42731         character 0xffff that matches the last element of the
42732         conversion table.
42734 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42736         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42737         fmodl commit.
42739 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42741         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42742         values higher than 25.6283.
42744 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42746         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42747         subnormal exponent extraction and add some __builtin_expect.
42748         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42749         Fix for subnormal mantissa calculation.
42751 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
42753         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42754         cpu2 is -1 and errno is not ENOSYS.
42756 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
42758         [BZ #14117]
42759         * sysdeps/i386/i486/bits/string.h: Renamed to ...
42760         * sysdeps/x86/bits/string.h: This.
42761         * sysdeps/x86_64/bits/string.h: Removed.
42763         * sysdeps/i386/i486/bits/string.h: Define inline functions only
42764         if not compiling for x86-64, but compiling for >= i486.
42766         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42767         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42769         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42770         New macro from Linux kernel 3.4.0.
42771         (FP_XSTATE_MAGIC2): Likewise.
42772         (FP_XSTATE_MAGIC2_SIZE): Likewise.
42773         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42774         (struct _fpx_sw_bytes): New struct.
42775         (struct _xsave_hdr): Likewise.
42776         (struct _ymmh_state): Likewise.
42777         (struct _xstate): Likewise.
42779         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42780         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42781         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42782         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42783         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42784         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42786         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42787         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42788         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42789         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42790         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42791         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42793 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42795         [BZ #13743]
42796         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42797         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42798         (sysdep_headers): Include sys/platform/ppc.h.
42799         * sysdeps/powerpc/test-gettimebase.c: Test for
42800         __ppc_get_timebase() to catch future ISA opcode/insn changes.
42801         * manual/Makefile (appendices): Include platform.texi.
42802         * manual/contrib.texi (Contributors): Update @node pointers.
42803         * manual/maint.texi (Maintenance): Likewise.
42804         (Platform): New node.
42805         * manual/platform.texi: New file.  Document the new features.
42807 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42808             Jakub Jelinek  <jakub@redhat.com>
42810         [BZ #14188]
42811         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42812         where __builtin_expect is unavailable.
42814 2012-06-03  David S. Miller  <davem@davemloft.net>
42816         * stdlib/longlong.h: Updated from GCC.
42818 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
42820         [BZ #14042]
42821         * sysdeps/powerpc/powerpc32/mcount.c: New file.
42822         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42823         __mcount_internal.
42824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42825         (GLIBC_2.16): Likewise.
42827 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42829         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42831 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
42833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42834         (default-abi): New variable.
42835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42836         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42837         variable.
42838         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42839         Likewise.
42840         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42841         Likewise.
42842         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42843         Likewise.
42845         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42846         definition.  Document in comment.
42848 2012-06-01  David S. Miller  <davem@davemloft.net>
42850         * stdlib/longlong.h: Updated from GCC.
42852 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42854         [BZ #14117]
42855         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42856         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42857         sys/debugreg.h sys/io.h here.
42858         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42859         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42860         sys/io.h.
42861         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42862         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42863         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42864         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42865         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42866         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42868         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42869         Define only if __x86_64__ is defined.
42871 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
42873         [BZ #14048]
42874         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42875         Use int64_t for variable i.
42876         * math/libm-test.inc (fmod_test): Add more tests.
42878         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42879         z computation is not scheduled after fetestexcept.
42880         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42881         Use math_force_eval instead of asm to ensure calculation scheduled
42882         before exception test.
42883         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42884         Ensure a1 + u.d computation is not scheduled after fetestexcept.
42886 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
42888         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42889         computation is not scheduled after fetestexcept.
42891 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
42893         [BZ #14117]
42894         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42895         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42897 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42899         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42900         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42902 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42904         [BZ #14117]
42905         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42906         <bits/wordsize.h>.
42907         (__WCHAR_MIN): Support __WORDSIZE == 64.
42908         (__WCHAR_MAX): Likewise.
42910         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42911         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42913         [BZ #14183]
42914         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42915         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42917         [BZ #14117]
42918         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42919         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42921         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42922         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42924         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42925         Defined to 1 if __x86_64__ isn't defined.
42926         (_STAT_VER_LINUX_OLD): New.
42927         (st_atime): Remove duplicate.
42928         (st_mtime): Likewise.
42929         (st_ctime): Likewise.
42931 2012-05-31  David S. Miller  <davem@davemloft.net>
42933         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42934         entries.
42936 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
42938         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42939         gen-libm-test.pl.
42941         [BZ #14132]
42942         * elf/dl-reloc.c: Include <_itoa.h>.
42943         (_dl_reloc_bad_type): Remove use of INTUSE.
42944         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42945         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42946         * stdio-common/psiginfo.c (psiginfo): Likewise.
42947         * stdio-common/psignal.c (psignal): Likewise.
42948         * string/strsignal.c (strsignal): Likewise.
42949         * include/signal.h (_sys_siglist): Declare hidden proto.
42950         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
42951         INTVARDEF with libc_hidden_data_def.
42952         * stdio-common/itoa-udigits.c: Likewise.
42953         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42954         (_itoa_lower_digits_internal): Remove declaration.
42955         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42956         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42957         (_sys_sigabbrev_internal): Remove aliases.
42958         (_sys_siglist): Define hidden alias.
42960 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
42962         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42963         bits/sysctl.h.
42965 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
42967         [BZ #14117]
42968         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42969         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42971         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42972         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42973         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42974         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42975         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42976         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42978         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42979         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42980         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42982         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42983         with __addr.
42984         (insw): Likewise.
42985         (insl): Likewise.
42986         (outsb): Likewise.
42987         (outsw): Likewise.
42988         (outsl): Likewise.
42990         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42991         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42992         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42994         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42995         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42996         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42997         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42998         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42999         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43001         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43002         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43004         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43005         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43007         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43008         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43009         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43011         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43012         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43013         to ...
43014         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43016         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43017         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43018         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43020         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43021         for x86-64.
43022         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43024 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
43026         * math/math.h (M_El): Use two more decimal places.
43027         (M_LOG2El): Likewise.
43028         (M_LOG10El): Likewise.
43029         (M_LN2l): Likewise.
43030         (M_LN10l): Likewise.
43031         (M_PIl): Likewise.
43032         (M_PI_2l): Likewise.
43033         (M_PI_4l): Likewise.
43034         (M_1_PIl): Likewise.
43035         (M_2_PIl): Likewise.
43036         (M_2_SQRTPIl): Likewise.
43037         (M_SQRT2l): Likewise.
43038         (M_SQRT1_2l): Likewise.
43040 2012-05-31  David S. Miller  <davem@davemloft.net>
43042         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43043         values between float registers.
43044         * sysdeps/sparc/sparc64/memset.S: Likewise.
43045         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43047 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
43049         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43050         -D_FORTIFY_SOURCE=1.
43051         (CPPFLAGS-tst-longjmp_chk.c): Define.
43052         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43053         (CPPFLAGS-tst-longjmp_chk2.c): Define.
43054         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43055         CFLAGS-tst-wchar-h.c.
43057 2012-05-31  Marek Polacek  <polacek@redhat.com>
43059         [BZ #14132]
43060         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43061         __endmntent_internal): Remove declaration.
43062         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43063         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43064         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43066 2012-05-30  David S. Miller  <davem@davemloft.net>
43068         * sysdeps/sparc/sparc32/soft-fp/q_util.c
43069         (___Q_simulate_exceptions): Use real FP ops rather than writing
43070         into the %fsr.
43071         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43072         Likewise.
43074 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43076         [BZ #14117]
43077         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43078         * sysdeps/x86/bits/xtitypes.h: This.
43080         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43081         * sysdeps/x86/bits/wordsize.h: This.
43083         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
43084         * sysdeps/x86/bits/huge_vall.h: This.
43086         * sysdeps/i386/bits/select.h: Removed.
43087         * sysdeps/x86_64/bits/select.h: Renamed to ...
43088         * sysdeps/x86/bits/select.h: This.
43090         * sysdeps/i386/bits/setjmp.h: Removed.
43091         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
43092         * sysdeps/x86/bits/setjmp.h: This.
43094         * sysdeps/i386/bits/mathdef.h: Removed.
43095         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
43096         * sysdeps/x86/bits/mathdef.h: This.
43098 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
43100         [BZ #14132]
43101         * include/sys/socket.h (__connect_internal)
43102         (__libc_sa_len_internal): Remove declaration.
43103         (__connect, __libc_sa_len): Declare hidden_proto.
43104         (SA_LEN): Remove use of INTUSE.
43105         * socket/connect.c: Add libc_hidden_def.
43106         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
43107         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
43108         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
43109         alias.
43110         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43111         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
43112         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
43113         of adding _internal alias.
43115 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43117         [BZ #14117]
43118         * sysdeps/i386/bits/link.h: Removed.
43119         * sysdeps/i386/bits/linkmap.h: Likewise.
43120         * sysdeps/x86_64/bits/link.h: Renamed to ...
43121         * sysdeps/x86/bits/link.h: This.
43122         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
43123         * sysdeps/x86/bits/linkmap.h: This.
43125         * sysdeps/i386/bits/endian.h: Removed.
43126         * sysdeps/x86_64/bits/endian.h: Renamed to ...
43127         * sysdeps/x86/bits/endian.h: This.
43129         * sysdeps/i386/bits/byteswap.h: Removed.
43130         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43131         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
43132         * sysdeps/x86/bits/byteswap.h: This.
43133         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
43134         * sysdeps/x86/bits/byteswap-16.h: This.
43135         * sysdeps/i386/Implies: Add x86.
43136         * sysdeps/x86_64/Implies: Likewise.
43138 2012-05-30  David S. Miller  <davem@davemloft.net>
43140         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
43141         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
43142         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43143         (FP_TRAPPING_EXCEPTIONS): Define.
43144         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43145         (FP_TRAPPING_EXCEPTIONS): Define.
43146         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
43147         subnormals only when inexact has been signalled or underflow
43148         exceptions are enabled.
43149         (_FP_PACK_CANONICAL): Likewise.
43151 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43153         [BZ #14183]
43154         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
43155         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
43157 2012-05-30  Richard Henderson  <rth@twiddle.net>
43159         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
43160         with #ifndef NOT_IN_libc.
43162         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
43163         marked to avoid plt entry.
43165 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
43167         [BZ #14112]
43168         * Makeconfig (default-abi): New macro.
43169         (abi-includes): Likewise.
43170         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
43171         $(abi-$(default-abi)-lib-soname) for soname if defined.
43172         ($(common-objpfx)gnu/lib-names.stmp): Generate from
43173         abi-variants.
43174         * Makefile (installed-stubs): Likewise.
43175         * include/stubs-biarch.h: Removed.
43176         * scripts/lib-names.awk: Only handle one library at a time.
43177         * scripts/soversions.awk: Remove WORDSIZE support.
43178         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
43179         entries.
43180         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
43181         Removed.
43182         (syscall-list-default-condition): Likewise.
43183         (syscall-list-default-condition): Likewise.
43184         (syscall-list-includes): Likewise.
43185         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
43186         syscall-list-* with abi-*.  Handle undefined abi-variants.
43187         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
43188         * sysdeps/unix/sysv/linux/i386/Implies: New file.
43189         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
43190         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
43191         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
43192         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
43193         Removed.
43194         (syscall-list-32-options): Likewise.
43195         (syscall-list-32-condition): Likewise.
43196         (syscall-list-64-options): Likewise.
43197         (syscall-list-64-condition): Likewise.
43198         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
43199         macro.
43200         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
43201         Renamed to ...
43202         (abi-*): This.
43203         (abi-64-ld-soname): New macro.
43204         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
43205         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
43206         Renamed to ...
43207         (abi-*): This.
43208         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
43209         * sysdeps/x86_64/x32/shlib-versions: Likewise.
43211 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
43213         * sysdeps/unix/sysv/linux/kernel-features.h
43214         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
43215         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
43216         include <kernel-features.h>.
43217         [!__NR_ftruncate64]: Remove conditional code.
43218         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43219         [__NR_ftruncate64]: Make code unconditional.
43220         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43221         * sysdeps/unix/sysv/linux/truncate64.c: Do not
43222         include <kernel-features.h>.
43223         [!__NR_ftruncate64]: Remove conditional code.
43224         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43225         [__NR_ftruncate64]: Make code unconditional.
43226         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
43228         include <kernel-features.h>.
43229         [!__NR_ftruncate64]: Remove conditional code.
43230         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43231         [__NR_ftruncate64]: Make code unconditional.
43232         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
43234         include <kernel-features.h>.
43235         [!__NR_ftruncate64]: Remove conditional code.
43236         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43237         [__NR_ftruncate64]: Make code unconditional.
43238         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
43240         * configure.in (libc_cv_fpie): Weaken to a compile test using
43241         LIBC_TRY_CC_OPTION.
43242         * configure: Regenerated.
43244 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
43247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
43248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
43249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43250         Refreshed.
43251         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
43252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
43253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
43254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
43255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
43256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43257         Refreshed.
43259 2012-05-27  David S. Miller  <davem@davemloft.net>
43261         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
43262         (___Q_zero): New.
43263         (__Q_simulate_exceptions): Return void.  Change to simulate
43264         exceptions by writing into the %fsr.
43265         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
43266         (__Qp_handle_exceptions): Likewise.
43267         (numbers): Delete.
43268         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
43269         __Qp_handle_exceptions.
43270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
43271         __Qp_handle_exceptions.
43272         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43273         as unused and give dummy FP_RND_NEAREST initializer.
43274         (FP_INHIBIT_RESULTS): Define.
43275         (___Q_simulate_exceptions): Update declaration.
43276         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
43277         formatting.
43278         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
43279         as unused and give dummy FP_RND_NEAREST initializer.
43280         (__Qp_handle_exceptions): Update declaration.
43281         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
43282         formatting.
43284 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
43286         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
43287         the temporary FPU control word.
43288         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43289         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
43290         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
43291         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43292         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43293         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
43294         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
43295         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43296         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
43297         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
43298         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43300 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43302         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
43303         fields.
43305 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
43307         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
43308         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
43309         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
43310         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
43311         Likewise.
43312         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
43313         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
43314         Likewise.
43316 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
43318         * po/h.po: Update from translation team.
43320 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
43322         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
43324         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
43325         handling of denormals.
43326         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43327         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43328         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43329         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43330         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43331         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
43332         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
43333         Likewise.
43335 2012-05-26  Marek Polacek  <polacek@redhat.com>
43337         [BZ #14152]
43338         * math/libm-test.inc (fma_test): Don't always expect underflow
43339         exception.
43341 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43343         [BZ #12416]
43344         * elf/tst-execstack.c: Include stackinfo.h.
43345         (do_test): Adjust test case to ensure that pthread_getattr_np
43346         behaviour remains the same after marking stack executable.
43348 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43350         * sysdeps/unix/sysv/linux/kernel-features.h
43351         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
43352         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
43353         kernel-features.h.
43354         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43355         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43356         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
43357         kernel-features.h.
43358         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
43359         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
43361 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
43363         * configure.in: Define the default includes to being none.
43364         * configure: Regenerated.
43366 2012-05-25  Roland McGrath  <roland@hack.frob.com>
43368         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
43369         * sysdeps/x86_64/setjmp.S: Likewise.
43370         * sysdeps/i386/bsd-setjmp.S: Likewise.
43371         * sysdeps/i386/bsd-_setjmp.S: Likewise.
43372         * sysdeps/i386/setjmp.S: Likewise.
43373         * sysdeps/i386/__longjmp.S: Likewise.
43374         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43375         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
43377         * include/stap-probe.h: New file.
43378         * configure.in: Handle --enable-systemtap.
43379         * configure: Regenerated.
43380         * config.h.in (USE_STAP_PROBE): New #undef.
43381         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
43382         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
43383         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43385 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
43387         [BZ #13717]
43388         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43389         to 2.4.0 where earlier.
43390         * sysdeps/unix/sysv/linux/configure: Regenerated.
43391         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
43392         <kernel-features.h>.
43393         [__ASSUME_32BITUIDS]: Make code unconditional.
43394         [!__ASSUME_32BITUIDS]: Remove conditional code.
43395         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
43396         <kernel-features.h>.
43397         [__ASSUME_32BITUIDS]: Make code unconditional.
43398         [!__ASSUME_32BITUIDS]: Remove conditional code.
43399         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
43400         [__ASSUME_32BITUIDS]: Make code unconditional.
43401         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
43402         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
43403         <kernel-features.h>.
43404         [__ASSUME_32BITUIDS]: Make code unconditional.
43405         [!__ASSUME_32BITUIDS]: Remove conditional code.
43406         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
43407         <kernel-features.h>.
43408         [__ASSUME_32BITUIDS]: Make code unconditional.
43409         [!__ASSUME_32BITUIDS]: Remove conditional code.
43410         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
43411         <kernel-features.h>.
43412         [__ASSUME_32BITUIDS]: Make code unconditional.
43413         [!__ASSUME_32BITUIDS]: Remove conditional code.
43414         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
43415         <kernel-features.h>.
43416         [__ASSUME_32BITUIDS]: Make code unconditional.
43417         [!__ASSUME_32BITUIDS]: Remove conditional code.
43418         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
43419         <kernel-features.h>.
43420         [__ASSUME_32BITUIDS]: Make code unconditional.
43421         [!__ASSUME_32BITUIDS]: Remove conditional code.
43422         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
43423         <kernel-features.h>.
43424         [__ASSUME_32BITUIDS]: Make code unconditional.
43425         [!__ASSUME_32BITUIDS]: Remove conditional code.
43426         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
43427         <kernel-features.h>.
43428         [__ASSUME_32BITUIDS]: Make code unconditional.
43429         [!__ASSUME_32BITUIDS]: Remove conditional code.
43430         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
43431         <kernel-features.h>.
43432         [__ASSUME_32BITUIDS]: Make code unconditional.
43433         [!__ASSUME_32BITUIDS]: Remove conditional code.
43434         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
43435         <kernel-features.h>.
43436         [__ASSUME_32BITUIDS]: Make code unconditional.
43437         [!__ASSUME_32BITUIDS]: Remove conditional code.
43438         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
43439         <kernel-features.h>.
43440         [__ASSUME_32BITUIDS]: Make code unconditional.
43441         [!__ASSUME_32BITUIDS]: Remove conditional code.
43442         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
43443         <kernel-features.h>.
43444         [__NR_setresgid] (__setresgid): Do not declare.
43445         [__ASSUME_32BITUIDS]: Make code unconditional.
43446         [!__ASSUME_32BITUIDS]: Remove conditional code.
43447         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
43448         <kernel-features.h>.
43449         [__NR_setresuid] (__setresuid): Do not declare.
43450         [__ASSUME_32BITUIDS]: Make code unconditional.
43451         [!__ASSUME_32BITUIDS]: Remove conditional code.
43452         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
43453         <kernel-features.h>.
43454         [__ASSUME_32BITUIDS]: Make code unconditional.
43455         [!__ASSUME_32BITUIDS]: Remove conditional code.
43456         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
43457         <kernel-features.h>.
43458         [__ASSUME_32BITUIDS]: Make code unconditional.
43459         [!__ASSUME_32BITUIDS]: Remove conditional code.
43460         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
43461         <kernel-features.h>.
43462         [__ASSUME_32BITUIDS]: Make code unconditional.
43463         [!__ASSUME_32BITUIDS]: Remove conditional code.
43464         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
43465         <kernel-features.h>.
43466         [__ASSUME_32BITUIDS]: Make code unconditional.
43467         [!__ASSUME_32BITUIDS]: Remove conditional code.
43468         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
43469         <kernel-features.h>.
43470         [__ASSUME_32BITUIDS]: Make code unconditional.
43471         [!__ASSUME_32BITUIDS]: Remove conditional code.
43472         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
43473         <kernel-features.h>.
43474         [__ASSUME_32BITUIDS]: Make code unconditional.
43475         [!__ASSUME_32BITUIDS]: Remove conditional code.
43476         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
43477         <kernel-features.h>.
43478         [__ASSUME_32BITUIDS]: Make code unconditional.
43479         [!__ASSUME_32BITUIDS]: Remove conditional code.
43480         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
43481         <kernel-features.h>.
43482         [__ASSUME_32BITUIDS]: Make code unconditional.
43483         [!__ASSUME_32BITUIDS]: Remove conditional code.
43484         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
43485         <kernel-features.h>.
43486         [__ASSUME_32BITUIDS]: Make code unconditional.
43487         [!__ASSUME_32BITUIDS]: Remove conditional code.
43488         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
43489         <kernel-features.h>.
43490         [__ASSUME_32BITUIDS]: Make code unconditional.
43491         [!__ASSUME_32BITUIDS]: Remove conditional code.
43492         * sysdeps/unix/sysv/linux/kernel-features.h
43493         (__ASSUME_SETRESUID_SYSCALL): Remove.
43494         (__ASSUME_SETRESGID_SYSCALL): Likewise.
43495         (__ASSUME_32BITUIDS): Likewise.
43496         (__ASSUME_LDT_WORKS): Likewise.
43497         (__ASSUME_O_DIRECTORY): Likewise.
43498         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
43499         architecture but not kernel version.
43500         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
43501         (__ASSUME_MMAP2_SYSCALL): Likewise.
43502         (__ASSUME_STAT64_SYSCALL): Likewise.
43503         (__ASSUME_IPC64): Likewise.
43504         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
43505         <kernel-features.h>.
43506         [__ASSUME_32BITUIDS]: Make code unconditional.
43507         [!__ASSUME_32BITUIDS]: Remove conditional code.
43508         * sysdeps/unix/sysv/linux/opendir.c: Do not include
43509         <kernel-features.h>.
43510         [__ASSUME_O_DIRECTORY]: Make code unconditional.
43511         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
43512         132096]: Remove conditional code.
43513         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
43514         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
43515         <kernel-features.h>.
43516         [__ASSUME_32BITUIDS]: Make code unconditional.
43517         [!__ASSUME_32BITUIDS]: Remove conditional code.
43518         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
43519         <kernel-features.h>.
43520         [__ASSUME_32BITUIDS]: Make code unconditional.
43521         [!__ASSUME_32BITUIDS]: Remove conditional code.
43522         * sysdeps/unix/sysv/linux/setegid.c: Do not include
43523         <kernel-features.h>.
43524         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
43525         unconditional.
43526         (__setresgid): Do not declare.
43527         [__ASSUME_32BITUIDS]: Make code unconditional.
43528         [!__ASSUME_32BITUIDS]: Remove conditional code.
43529         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
43530         <kernel-features.h>.
43531         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
43532         unconditional.
43533         (__setresuid): Do not declare.
43534         [__ASSUME_32BITUIDS]: Make code unconditional.
43535         [!__ASSUME_32BITUIDS]: Remove conditional code.
43536         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
43537         <kernel-features.h>.
43538         [__ASSUME_32BITUIDS]: Make code unconditional.
43539         [!__ASSUME_32BITUIDS]: Remove conditional code.
43540         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
43541         <kernel-features.h>.
43542         [__ASSUME_32BITUIDS]: Make code unconditional.
43543         [!__ASSUME_32BITUIDS]: Remove conditional code.
43545 2012-05-25  Richard Henderson  <rth@twiddle.net>
43547         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
43548         dl_hwcap to ifunc resolver.
43549         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
43550         elf_ifunc_invoke.
43551         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
43552         dl_hwcap to ifunc resolver.
43553         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
43555 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43557         [BZ #14153]
43558         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
43559         for |x| <= 2**-26, not 2**-57.
43560         * math/libm-test.inc (acos_test): Do not allow spurious underflow
43561         exception.
43563 2012-05-24  Jeff Law  <law@redhat.com>
43565         * stdio-common/Makefile (tests): Add bug25.
43566         * stdio-common/bug25.c: New test.
43568 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
43570         [BZ #13576]
43571         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
43572         multiple of MALLOC_ALIGNMENT in size.
43573         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
43575 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43577         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
43578         Require >= 256.
43579         (FILENAME_MAX): Use macro-int-constant.
43580         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
43581         (_IOFBF): Use macro-int-constant.
43582         (_IOLBF): Likewise.
43583         (_IONBF): Likewise.
43584         (SEEK_CUR): Likewise.
43585         (SEEK_END): Likewise.
43586         (SEEK_SET): Likewise.
43587         (TMP_MAX): Likewise.
43588         (EOF): Use macro-int-constant.  Require < 0.
43589         (NULL): Use macro-constant.  Require == 0.
43590         (stdin): Require type to be FILE *.
43591         (stdout): Likewise.
43592         (stderr): Likewise.
43593         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
43594         macro-int-constant.
43595         (EXIT_SUCCESS): Likewise.
43596         (NULL): Use macro-constant.  Require == 0.
43597         (RAND_MAX): Use macro-int-constant.
43598         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43599         [C99-based standards] (strtof): Require function.
43600         [C99-based standards] (strtold): Likewise.
43601         [C99-based standards] (strtoll): Likewise.
43602         [C99-based standards] (strtoull): Likewise.
43603         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43604         [ISO || ISO99 || ISO11] (limits.h): Likewise.
43605         [ISO || ISO99 || ISO11] (math.h): Likewise.
43606         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43607         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43608         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43610 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
43612         [BZ #14132]
43613         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43614         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43615         * intl/dgettext.c (DCGETTEXT): Likewise.
43616         * intl/gettext.c (DCGETTEXT): Likewise.
43617         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43618         * posix/regex_internal.h (gettext): Likewise.
43619         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43620         Remove declaration.
43621         * include/argz.h (__argz_count_internal)
43622         (__argz_stringify_internal): Remove declaration.
43623         (__argz_count, __argz_stringify): Declare hidden proto.
43624         * intl/dcgettext.c: Remove use of INTDEF.
43625         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43626         * string/argz-stringify.c: Likewise.
43627         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43628         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43629         Declare hidden proto.
43630         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43631         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43632         Declare hidden proto.
43633         * include/stdio.h (__asprintf_internal): Don't declare.
43634         (__asprintf): Don't define as macro.  Declare hidden proto.
43635         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43636         (__fsetlocking): Declare hidden proto.
43637         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43638         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43639         hidden proto.
43640         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43641         (_IO_setlinebuf): Remove use of INTUSE.
43642         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43643         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43644         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43645         Remove declaration.
43646         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43647         (_IO_do_flush): Remove use of INTUSE.
43648         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43649         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43650         (_IO_adjust_column, _IO_least_wmarker)
43651         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43652         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43653         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43654         (_IO_default_doallocate, _IO_wdefault_doallocate)
43655         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43656         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43657         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43658         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43659         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43660         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43661         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43662         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43663         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43664         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43665         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43666         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43667         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43668         proto.
43669         (_IO_flush_all_internal, _IO_adjust_column_internal)
43670         (_IO_default_uflow_internal, _IO_default_finish_internal)
43671         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43672         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43673         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43674         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43675         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43676         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43677         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43678         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43679         (_IO_file_close_internal, _IO_file_close_it_internal)
43680         (_IO_file_underflow_internal, _IO_file_overflow_internal)
43681         (_IO_file_init_internal, _IO_file_attach_internal)
43682         (_IO_file_fopen_internal, _IO_file_read_internal)
43683         (_IO_file_sync_internal, _IO_file_seek_internal)
43684         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43685         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43686         (_IO_str_underflow_internal, _IO_str_overflow_internal)
43687         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43688         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43689         (_IO_list_all_internal, _IO_link_in_internal)
43690         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43691         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43692         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43693         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43694         (_IO_do_write_internal, _IO_padn_internal)
43695         (_IO_getline_info_internal, _IO_getline_internal)
43696         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43697         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43698         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43699         (_IO_vfscanf_internal, _IO_vfprintf_internal)
43700         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43701         (_IO_init_internal, _IO_un_link_internal): Don't declare.
43702         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43703         with libc_hidden_ver, remove use of INTUSE.
43704         * libio/genops.c: Likewise.
43705         * libio/freopen.c: Likewise.
43706         * libio/freopen64.c: Likewise.
43707         * libio/iofclose.c: Likewise.
43708         * libio/iofdopen.c: Likewise.
43709         * libio/iofflush.c: Likewise.
43710         * libio/iofflush_u.c: Likewise.
43711         * libio/iofgets.c: Likewise.
43712         * libio/iofgets_u.c: Likewise.
43713         * libio/iofopen.c: Likewise.
43714         * libio/iofopncook.c: Likewise.
43715         * libio/iofread.c: Likewise.
43716         * libio/iofread_u.c: Likewise.
43717         * libio/ioftell.c: Likewise.
43718         * libio/iofwrite.c: Likewise.
43719         * libio/iogetline.c: Likewise.
43720         * libio/iogets.c: Likewise.
43721         * libio/iogetwline.c: Likewise.
43722         * libio/iopadn.c: Likewise.
43723         * libio/iopopen.c: Likewise.
43724         * libio/ioseekoff.c: Likewise.
43725         * libio/ioseekpos.c: Likewise.
43726         * libio/iosetbuffer.c: Likewise.
43727         * libio/iosetvbuf.c: Likewise.
43728         * libio/ioungetc.c: Likewise.
43729         * libio/ioungetwc.c: Likewise.
43730         * libio/iovdprintf.c: Likewise.
43731         * libio/iovsprintf.c: Likewise.
43732         * libio/iovsscanf.c: Likewise.
43733         * libio/memstream.c: Likewise.
43734         * libio/obprintf.c: Likewise.
43735         * libio/oldfileops.c: Likewise.
43736         * libio/oldiofclose.c: Likewise.
43737         * libio/oldiofdopen.c: Likewise.
43738         * libio/oldiofopen.c: Likewise.
43739         * libio/oldiopopen.c: Likewise.
43740         * libio/oldstdfiles.c: Likewise.
43741         * libio/putc.c: Likewise.
43742         * libio/setbuf.c: Likewise.
43743         * libio/setlinebuf.c: Likewise.
43744         * libio/stdfiles.c: Likewise.
43745         * libio/strops.c: Likewise.
43746         * libio/vasprintf.c: Likewise.
43747         * libio/vscanf.c: Likewise.
43748         * libio/vsnprintf.c: Likewise.
43749         * libio/vswprintf.c: Likewise.
43750         * libio/wfiledoalloc.c: Likewise.
43751         * libio/wfileops.c: Likewise.
43752         * libio/wgenops.c: Likewise.
43753         * libio/wmemstream.c: Likewise.
43754         * libio/wstrops.c: Likewise.
43755         * libio/__fpurge.c: Likewise.
43756         * libio/__fsetlocking.c: Likewise.
43757         * assert/assert.c: Likewise.
43758         * debug/fgets_chk.c: Likewise.
43759         * debug/fgets_u_chk.c: Likewise.
43760         * debug/fread_chk.c: Likewise.
43761         * debug/fread_u_chk.c: Likewise.
43762         * debug/gets_chk.c: Likewise.
43763         * debug/obprintf_chk.c: Likewise.
43764         * debug/vasprintf_chk.c: Likewise.
43765         * debug/vdprintf_chk.c: Likewise.
43766         * debug/vsnprintf_chk.c: Likewise.
43767         * debug/vsprintf_chk.c: Likewise.
43768         * malloc/mtrace.c: Likewise.
43769         * misc/error.c: Likewise.
43770         * misc/syslog.c: Likewise.
43771         * stdio-common/asprintf.c: Likewise.
43772         * stdio-common/fxprintf.c: Likewise.
43773         * stdio-common/getw.c: Likewise.
43774         * stdio-common/isoc99_fscanf.c: Likewise.
43775         * stdio-common/isoc99_scanf.c: Likewise.
43776         * stdio-common/isoc99_vfscanf.c: Likewise.
43777         * stdio-common/isoc99_vscanf.c: Likewise.
43778         * stdio-common/isoc99_vsscanf.c: Likewise.
43779         * stdio-common/printf-prs.c: Likewise.
43780         * stdio-common/printf_fp.c: Likewise.
43781         * stdio-common/printf_fphex.c: Likewise.
43782         * stdio-common/printf_size.c: Likewise.
43783         * stdio-common/putw.c: Likewise.
43784         * stdio-common/scanf.c: Likewise.
43785         * stdio-common/sprintf.c: Likewise.
43786         * stdio-common/tmpfile.c: Likewise.
43787         * stdio-common/vfprintf.c: Likewise.
43788         * stdio-common/vfscanf.c: Likewise.
43789         * stdlib/strfmon_l.c: Likewise.
43790         * sunrpc/openchild.c: Likewise.
43791         * sunrpc/xdr_stdio.c: Likewise.
43792         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43793         * sysdeps/mach/hurd/tmpfile.c: Likewise.
43795 2012-05-24  Roland McGrath  <roland@hack.frob.com>
43797         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43799         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43800         in the third column, to generate for the shared library an IFUNC
43801         that uses _dl_vdso_vsym.
43802         * Makerules (COMPILE.c, compile-stdin.c): New variables.
43803         * Makeconfig (object-suffixes-noshared): New variable.
43805         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43806         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43807         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43808         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43810         [BZ #14132]
43811         * include/sys/time.h (__gettimeofday): Remove macro.
43812         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43813         * time/gettimeofday.c (__gettimeofday): Remove #undef.
43814         Remove INTDEF.
43815         (__gettimeofday): Add libc_hidden_def.
43816         (gettimeofday): Add libc_hidden_weak.
43817         * sysdeps/mach/gettimeofday.c: Likewise.
43818         * sysdeps/posix/gettimeofday.c: Likewise.
43819         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43820         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43821         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43822         (__gettimeofday_internal): Remove strong_alias.
43823         (__gettimeofday): Add libc_hidden_def.
43824         (gettimeofday): Add libc_hidden_weak.
43825         * sysdeps/unix/syscalls.list (gettimeofday):
43826         Remove __gettimeofday_internal alias.
43828 2012-05-24  Daniel Jacobowitz  <drow@false.org>
43829             H.J. Lu  <hongjiu.lu@intel.com>
43831         [BZ #12495]
43832         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43833         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43834         (largebin_index_32_big): New.
43835         (largebin_index): Use it for 16-byte alignment.
43836         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
43837         correction with front_misalign.
43839 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
43841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43843         Likewise.
43844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43845         Likewise.
43846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43847         Likewise.
43848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43849         Likewise.
43850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43851         Likewise.
43852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43853         Likewise.
43854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43855         Likewise.
43856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43857         Likewise.
43858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43859         Likewise.
43860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43861         Likewise.
43862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43863         Likewise.
43864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43865         Likewise.
43867         * scripts/data/c++-types-x32-linux-gnu.data: New file.
43868         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43870 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
43872         [BZ #10846]
43873         [BZ #14036]
43874         * math/libm-test.inc (exp_test): Add test from bug 14036.
43875         (pow_test): Add test from bug 10846.
43877         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43878         and other flags.
43879         (special_function): Do not include flags in test name.
43880         (parse_args): Likewise.
43881         * sysdeps/i386/fpu/libm-test-ulps: Update.
43882         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43883         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43884         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43887         * math/gen-libm-test.pl (%beautify): Add entries for underflow
43888         exceptions.
43889         * math/libm-test.inc ("Philosophy"): Update comment about
43890         exception testing.
43891         (UNDERFLOW_EXCEPTION): New macro.
43892         (UNDERFLOW_EXCEPTION_OK): Likewise.
43893         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43894         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43895         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43896         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43897         (INVALID_EXCEPTION_OK): Update value.
43898         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43899         (OVERFLOW_EXCEPTION_OK): Likewise.
43900         (IGNORE_ZERO_INF_SIGN): Likewise.
43901         (test_exceptions): Handle underflow exceptions.
43902         (acos_test): Update for underflow exception expectations.
43903         (cexp_test): Likewise.
43904         (clog_test): Likewise.
43905         (clog10_test): Likewise.
43906         (csqrt_test): Likewise.
43907         (ctan_test): Likewise.
43908         (ctanh_test): Likewise.
43909         (exp_test): Likewise.
43910         (exp10_test): Likewise.
43911         (exp2_test): Likewise.
43912         (expm1_test): Likewise.
43913         (fma_test): Likewise.
43914         (j0_test): Likewise.
43915         (jn_test): Likewise.
43916         (nexttoward_test): Likewise.
43917         (pow_test): Likewise.
43918         (scalbn_test): Likewise.
43919         (scalbln_test): Likewise.
43920         (tan_test): Likewise.
43921         (y1_test): Likewise.
43922         * sysdeps/i386/fpu/libm-test-ulps: Update.
43923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43925 2012-05-23  David S. Miller  <davem@davemloft.net>
43927         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43928         (__libc_sigaction): Remove unused local variables.
43930 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43932         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43934 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
43936         mktime: avoid signed integer overflow
43937         * time/mktime.c (__mktime_internal): Do not mishandle the case
43938         where diff == INT_MIN.
43940         mktime: simplify computation of average
43941         * time/mktime.c (ranged_convert): Use new time_t_avg function
43942         instead of rolling our own (probably-slower) code.
43944         mktime: do not assume signed right shift propagates sign bit
43945         * time/mktime.c (isdst_differ): New static function.
43946         (__mktime_internal): No need to normalize tm_isdst now.
43947         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43948         tm_isdst values.
43950         mktime: merge another wrapv change from gnulib
43951         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43952         from some compilers.
43954         mktime: remove incorrect attempt at unusual arithmetics
43955         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43956         The code didn't really work on such machines anyway.
43957         (TYPE_MINIMUM): Assume two's complement.
43958         (twos_complement_arithmetic): Verify that long_int and time_t
43959         are two's complement (or unsigned, in the latter case).
43961         mktime: check signed shifts on long_int and time_t, too
43962         * time/mktime.c (SHR): Check that shifts work as desired
43963         on the types long_int and time_t too, as SHR is used on
43964         such types.
43966         mktime: do not assume 'long' is wide enough
43967         * time/mktime.c (verify): Move decl up.
43968         (long_int): New type.
43969         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43970         to remove assumption in the code that 'long' is wide enough to
43971         store year values.  This assumption is not true on x32 and on
43972         some non-glibc platforms.
43974         mktime: merge wrapv change from gnulib
43975         * time/mktime.c (WRAPV): New macro.
43976         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43977         (guess_time_tm, __mktime_internal): Do not assume that signed
43978         integer overflow wraps around; modern compilers generate code
43979         where this assumption is no longer valid.
43981 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
43983         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43984         Replace "jmp L(pseudo_end)" with "ret".
43985         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43986         Likewise.
43988 2012-05-23  Andreas Jaeger  <aj@suse.de>
43990         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43991         * sysdeps/unix/sysv/linux/poll.c: Remove file.
43993 2012-05-23  Andreas Jaeger  <aj@suse.de>
43994             Maximilian Attems  <max@stro.at>
43996         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43997         New macros.
43999 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
44001         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44002         code so that pseudo_end is just ret and the stack pointer is
44003         correct also for static library in error case.
44005 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
44007         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44008         move to syscalls.list.
44009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44014         * manual/install.texi (Running make install): Do not mention Linux
44015         kernel version for which pt_chown is not needed.
44016         (Linux): Do not mention problems with nscd with 2.0 kernels.
44017         * INSTALL: Regenerated.
44019 2012-05-23  Andreas Jaeger  <aj@suse.de>
44021         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44022         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44023         macro.
44024         * sysdeps/unix/sysv/linux/s390/bits/mman.h
44025         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44026         * sysdeps/unix/sysv/linux/sh/bits/mman.h
44027         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44028         * sysdeps/unix/sysv/linux/i386/bits/mman.h
44029         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44030         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44031         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44032         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44033         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44034         * sysdeps/unix/sysv/linux/bits/in.h
44035         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44037 2012-05-22  Roland McGrath  <roland@hack.frob.com>
44039         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44040         (PREPARE_VERSION): Just use assert instead, it will be elided
44041         under [NDEBUG] anyway.
44043 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44045         * sysdeps/unix/sysv/linux/Makefile: Include
44046         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
44047         (sysdep_routines): Remove sysctl.
44048         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44049         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44050         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44051         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44052         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44054 2012-05-22  Andreas Jaeger  <aj@suse.de>
44056         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44057         that pseudo_end is just ret and the stack pointer is correct also
44058         for static library in error case.
44060 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
44062         [BZ #14122]
44063         * nss/nsswitch.c (defconfig_entries): New variable.
44064         (__nss_database_lookup): Don't leak defconfig entries.
44065         (nss_parse_service_list): Don't leak on error paths.
44066         (free_database_entries): New function.
44067         (free_defconfig): New function.
44068         (free_mem): Move common code to free_database_entries.
44070 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44072         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44073         Add arch_prctl.
44074         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44076         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44077         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44079         New macro.
44080         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44081         (INTERNAL_SYSCALL_TYPES): Likewise.
44082         (LOAD_ARGS_TYPES_[1-6]): Likewise.
44083         (LOAD_REGS_TYPES_[1-6]): Likewise.
44084         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
44085         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
44087 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44089         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
44090         copysignl for GLIBC_2_0.
44091         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
44092         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
44093         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
44094         logbl for GLIBC_2_0.
44095         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
44096         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
44098 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44100         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
44101         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44103         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44104         Use "neg %eax".
44106         * time/mktime.c: Update copyright years.
44108 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
44110         mktime: merge comment-quoting-style change from gnulib
44111         * time/mktime.c: Quote 'like this' in comments.
44112         The GNU coding standards suggest that we no longer quote `like this',
44113         as "`" and "'" are typically rendered asymmetrically nowadays.
44114         The typical gnulib style is to quote 'like this' when quoting
44115         code, and "like this" when quoting English.
44117         * time/mktime.c (compile-command): Add "-I.".
44119         mktime: merge mktime-internal.h change from gnulib
44120         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
44122         mktime: merge time_r change from gnulib
44123         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
44125         mktime: merge DEBUG change from gnulib
44126         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
44127         case system <time.h> has a #define.
44129         mktime: merge <sys/types.h> change from gnulib
44130         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
44131         since <time.t> is now guaranteed to define time_t.
44133         mktime: merge HAVE_CONFIG_H change from gnulib
44134         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
44136 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
44138         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44139         Use "neg %eax".
44141         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
44142         __rlim_t cast.
44143         (struct rusage): Use anonymous union to pad each field to
44144         __syscall_slong_t.
44146 2012-05-21  David S. Miller  <davem@davemloft.net>
44148         * Makefules (o-iterator): Remove .s cases.
44149         (compile-command.s): Delete.
44150         (COMPILE.s): Delete.
44151         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
44153 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
44155         * configure.in (libc_cv_predef_stack_protector): Only consider
44156         "foobar" and "__stack_chk_fail" lines in libc_undefs.
44157         * configure: Regenerated.
44159 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44161         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
44162         New macro.  Use R*LP on int and pointer.
44163         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
44164         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
44165         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
44166         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
44168         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
44169         [__WORDSIZE_TIME64_COMPAT32] instead of
44170         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
44171         (struct utmp): Likewise.
44172         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
44173         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
44174         Renamed to ...
44175         (__WORDSIZE_TIME64_COMPAT32): This.
44176         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
44177         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
44178         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
44179         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
44180         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
44181         (__WORDSIZE_TIME64_COMPAT32): New macro.
44183 2012-05-21  Andreas Jaeger  <aj@suse.de>
44185         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
44186         only if [SHARED]. Add prototype for __wcschr_ia32.
44188 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44190         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
44191         of %rbp unmolested in the jmp_buf while mangling the low bits.
44192         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
44193         unmolested high bits of %rbp while demangling the low bits.
44194         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44196 2012-05-21  Andreas Jaeger  <aj@suse.de>
44198         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
44199         * sunrpc/svc_simple.c: Use it for registerrpc.
44200         * sunrpc/xcrypt.c: Use it for passwd2des.
44202         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
44204 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44206         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
44207         Don't define if [__SYSCALL_WORDSIZE != 32].
44208         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
44209         New macro.
44211 2012-05-21  Bruno Haible  <bruno@clisp.org>
44212             Andreas Jaeger  <aj@suse.de>
44214         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
44215         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
44216         inptr and inend for must_buffer_ch.
44217         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
44218         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
44219         * stdio-common/Makefile (tests): Remove bug15.
44220         (bug15-ENV): Remove macro.
44221         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
44222         anymore.
44224 2012-05-19  Andreas Jaeger  <aj@suse.de>
44225             Roland McGrath  <roland@hack.frob.com>
44227         * manual/contrib.texi: Completely rewritten. It contains now an
44228         alphabetical list of contributors and their contributions.
44230 2012-05-21  Richard Henderson  <rth@twiddle.net>
44232         * misc/getauxval.c (__getauxval): Use unsigned long int.
44233         * misc/sys/auxv.h: Include <sys/cdefs.h>.
44234         (getauxval): Use unsigned long int.
44236 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
44238         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44240 2012-05-21  Roland McGrath  <roland@hack.frob.com>
44242         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
44243         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
44244         __alignof__ (long double).
44246 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44250 2012-05-20  Richard Henderson  <rth@twiddle.net>
44252         * misc/getauxval.c: New file.
44253         * misc/sys/auxv.h: New file.
44254         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
44255         (routines): Add getauxval.
44256         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
44257         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
44258         * elf/dl-sysdep.c (_dl_auxv): Remove.
44259         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
44260         * elf/dl-support.c (_dl_auxv): New variable.
44261         (_dl_aux_init): Initialize it.
44262         * manual/startup.texi (Auxiliary Vector): New node.
44263         * sysdeps/generic/bits/hwcap.h: New file.
44264         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
44265         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
44266         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
44267         * sysdeps/sparc/sysdep.h: ... here.  Include it.
44268         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
44269         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
44270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44271         Update.
44272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
44273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
44274         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
44275         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
44276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
44278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
44279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
44281 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44285 2012-05-19  David S. Miller  <davem@davemloft.net>
44287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44289 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44291         [BZ #14123]
44292         * math/s_ccosh.c: Include <float.h>
44293         (__ccosh): Avoid internal overflow calculating sinh and cosh
44294         values before multiplying by sin and cos values.
44295         * math/s_ccoshf.c: Likewise.
44296         * math/s_ccoshl.c: Likewise.
44297         * math/s_csin.c: Likewise.
44298         * math/s_csinf.c: Likewise.
44299         * math/s_csinl.c: Likewise.
44300         * math/s_csinh.c: Likewise.
44301         * math/s_csinhf.c: Likewise.
44302         * math/s_csinhl.c: Likewise.
44303         * math/libm-test.inc (ccos_test): Add more tests.
44304         (ccosh_test): Likewise.
44305         (csin_test): Likewise.
44306         (csinh_test): Likewise.
44307         * sysdeps/i386/fpu/libm-test-ulps: Update.
44308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44310 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
44312         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
44313         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
44315         * sysdeps/x86_64/x32/_itoa.h: Add comment.
44317 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
44319         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
44320         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
44321         * sysdeps/powerpc/soft-fp/Versions: Likewise.
44322         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
44323         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
44324         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
44325         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
44326         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
44327         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
44328         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
44329         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
44330         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
44331         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
44332         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
44333         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
44334         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
44335         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
44336         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
44337         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
44338         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
44339         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
44340         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
44341         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
44342         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
44343         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
44344         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
44345         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
44346         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
44347         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
44348         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
44349         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
44351 2012-05-18  Andreas Jaeger  <aj@suse.de>
44353         * csu/.gitignore: Delete.
44355 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44357         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
44358         (timex): Use __syscall_slong_t.
44360 2012-05-18  Andreas Jaeger  <aj@suse.de>
44361             Carlos O'Donell  <carlos_odonell@mentor.com>
44363         * manual/install.texi (Configuring and compiling): Update
44364         description about files modified in the source directory.
44365         * INSTALL: Regenerated.
44367 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44369         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
44370         value.  Use "or" to set return value to -1.
44371         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
44372         negate return value.
44374 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44376         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
44377         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
44378         failure if the compiler has Graphite support disabled.
44379         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
44380         Likewise.
44381         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
44382         (CFLAGS-memmove.c): Likewise.
44383         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
44384         Likewise.
44386 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
44388         * sysdeps/x86_64/x32/_itoa.h: New file.
44390         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
44391         getdents system call only if kernel and user dirents have the
44392         same d_ino and d_off.
44394         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44395         LLONG_MAX != LONG_MAX.
44396         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44397         (_fitoa_word): Likewise.
44399         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
44400         years.
44401         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
44402         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
44403         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
44405         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
44406         include <bits/wordsize.h>.  Check __x86_64__ instead of
44407         __WORDSIZE.
44408         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
44409         if __x86_64__ is defined.  Use anonymous union on fpstate.
44411         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
44412         anonymous union.
44414 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
44416         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44417         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
44418         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
44419         Refer to _rtld_local_ro instead of _rtld_global_ro.
44420         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
44421         Likewise.
44422         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
44423         Likewise.
44424         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
44425         Likewise.
44426         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
44427         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
44428         of _rtld_global, and rtld_progname instead of _dl_argv[0].
44430         * sysdeps/powerpc/powerpc32/dl-machine.c
44431         (__elf_machine_runtime_setup) [PROF]: Don't reference
44432         _dl_prof_resolve.
44434 2012-05-18  Andreas Jaeger  <aj@suse.de>
44436         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
44437         function only available for GCCs before 3.4 since GCC 3.4
44438         introduced a builtin.
44439         (lrint): Likewise.
44440         (llrintf): Likewise.
44441         (llrint): Likewise.
44442         (fmaxf): Likewise.
44443         (fmax): Likewise.
44444         (fminf): Likewise.
44445         (fmin): Likewise.
44446         (rint): Likewise.
44447         (rintf): Likewise.
44448         (nearbyint): Likewise.
44449         (nearbyintf): Likewise.
44450         (ceil): Likewise.
44451         (ceilf): Likewise.
44452         (floor): Likewise.
44453         (floorf): Likewise.
44455 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44457         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
44458         on both fields and cast pointer to __syscall_ulong_t.
44460         * bits/types.h (__fsword_t): New type.
44461         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
44462         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
44463         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44464         (__FSWORD_T_TYPE): Likewise.
44465         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44466         (__FSWORD_T_TYPE): Likewise.
44467         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44468         (__FSWORD_T_TYPE): Likewise.
44469         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
44470         (__FSWORD_T_TYPE): Likewise.
44471         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
44472         __SWORD_TYPE with __fsword_t.
44473         (statfs64): Likewise.
44475 2012-05-17  David S. Miller  <davem@davemloft.net>
44477         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
44479 2012-05-17  Andreas Jaeger  <aj@suse.de>
44481         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
44482         warning.
44484 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44486         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
44488 2012-05-17  Andreas Jaeger  <aj@suse.de>
44490         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
44491         when it is used.
44493 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
44495         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
44497 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44499         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
44500         * sysdeps/x86_64/tst-mallocalign1.c: New file.
44502 2012-05-17  Andreas Jaeger  <aj@suse.de>
44503             Carlos O'Donell  <carlos_odonell@mentor.com>
44505         [BZ #14059]
44506         * sysdeps/x86_64/multiarch/init-arch.h
44507         (bit_YMM_Usable): Rename to...
44508         (bit_AVX_Usable): ... this.
44509         (bit_FMA4_Usable): New macro.
44510         (bit_XMM_state): New macro.
44511         (bit_YMM_state): New macro.
44512         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
44513         [__ASSEMBLER__] (index_AVX_Usable): ... this.
44514         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
44515         (CPUID_OSXSAVE): New macro.
44516         (CPUID_AVX): New macro.
44517         (CPUID_FMA4): New macro.
44518         (index_YMM_Usable): Rename to...
44519         (index_AVX_Usable): ... this.
44520         (HAS_AVX): Use HAS_ARCH_FEATURE.
44521         (HAS_FMA4): Likewise.
44522         (HAS_YMM_USABLE): Remove.
44523         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44524         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
44525         are present.
44526         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
44527         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
44528         * sysdeps/x86_64/multiarch/Makefile: Likewise.
44529         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
44530         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
44532 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
44534         * math/libm-test.c: Support platforms without multiple rounding modes.
44535         * math/bug-nextafter.c: Support platforms without FP exceptions.
44536         * math/bug-nexttoward.c: Likewise.
44537         * math/test-fenv.c: Likewise.
44538         * math/test-misc.c: Likewise.
44539         * stdlib/bug-getcontext.c: Likewise.
44541 2012-05-17  Andreas Jaeger  <aj@suse.de>
44543         * manual/examples/search.c (critter_cmp): Change signature to
44544         avoid warnings.
44545         * manual/string.texi (Collation Functions): Likewise.
44547 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44549         * bits/types.h: Fold copyright years.
44550         * bits/typesizes.h: Likewise.
44551         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
44552         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44553         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
44554         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
44555         * time/time.h: Likewise.
44557 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
44559         [BZ #208]
44560         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
44561         in instead of returning them.  Return void.
44562         (__libc_mallinfo): Accumulate over all arenas.
44563         (__malloc_stats): Adjust for change in int_mallinfo interface.
44565 2012-05-16  Roland McGrath  <roland@hack.frob.com>
44567         [BZ #10375]
44568         * configure.in (NM): Add AC_CHECK_TOOL for it.
44569         (libc_extra_cflags): New substituted variable.
44570         Check for -fstack-protector being used implicitly.
44571         * configure: Regenerated.
44572         * config.make.in (config-extra-cflags): New variable,
44573         gets @libc_extra_cflags@.
44574         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
44576         [BZ #10375]
44577         * configure.in: Check for _FORTIFY_SOURCE being predefined.
44578         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
44579         * configure: Regenerated.
44580         * config.make.in (CPPUNDEFS): New substituted variable.
44581         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
44582         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
44583         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
44585 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44587         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
44588         (mq_attr): Use __syscall_slong_t.
44590 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44592         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
44593         Check __x86_64__ instead of __WORDSIZE.
44594         (_STAT_VER_LINUX): Likewise.
44595         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
44596         __syscall_ulong_t and __syscall_slong_t.
44597         (stat64): Likewise.
44599 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44601         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44603 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44605         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44607 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44609         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44610         __syscall_ulong_t.
44612         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44613         include <bits/wordsize.h>.  Check __x86_64__ instead of
44614         __WORDSIZE.
44615         (greg_t): Use "__extension__ long long int" if __x86_64__ is
44616         defined.
44617         (mcontext_t): Replace "unsigned long" with "unsigned long long".
44619         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44620         include <bits/wordsize.h>.  Check __x86_64__ instead of
44621         __WORDSIZE.
44622         (user_regs_struct): Use "__extension__ unsigned long long"
44623         instead of "unsigned long" if __x86_64__ is defined.
44624         (user): Likewise.  Pad after pointer field if __ILP32__ is
44625         defined.
44627 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
44629         * configure.in (makeinfo): Require version 4.5 or later.  Allow
44630         versions 5 to 9.
44631         * configure: Regenerated.
44632         * manual/install.texi (texinfo): Increase version requirement to
44633         4.5 or later.
44634         * INSTALL: Regenerated.
44636         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44638 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44640         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44642         * sysdeps/x86_64/x32/ffs.c: New file.
44644         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44645         __syscall_ulong_t.
44646         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44647         defined.  Use __syscall_ulong_t.
44648         (shminfo): Use __syscall_ulong_t.
44649         (shm_info): Likewise.
44651         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44652         __syscall_ulong_t.
44654         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44655         <bits/wordsize.h>.
44656         (msgqnum_t): Use __syscall_ulong_t.
44657         (msglen_t): Likewise.
44658         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
44659         __syscall_ulong_t.
44661         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44662         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44664         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44666         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44667         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44669         * sysvipc/sys/msg.h (msgbuf): Replace long int with
44670         __syscall_slong_t.
44672         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44673         include <bits/wordsize.h>.  Check __x86_64__ instead of
44674         __WORDSIZE.
44676         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44677         "unsigned long long int" if __x86_64__ is defined.
44678         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44680         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44681         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
44682         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44684         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44685         <stdint.h>.
44686         (GET_PC): Cast to uintptr_t first.
44687         (GET_FRAME): Likewise.
44688         (GET_STACK): Likewise.
44690         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44691         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44692         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44693         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44694         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44695         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44696         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44697         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44698         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44699         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44700         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44701         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44702         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44703         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44704         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44705         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44706         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44707         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44708         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44709         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44710         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44711         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44712         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44713         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44714         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44715         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44716         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44717         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44718         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44720 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
44722         * Makerules (+depfiles): Also collect depfiles from .oS in
44723         $(extra-objs).
44724         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44725         .oS, $(libnldbl-routines)).
44727         * Makerules (native-compile-mkdep-flags): Define.
44728         * sunrpc/Makefile (extra-objs): Add $(addprefix
44729         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44730         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44731         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
44732         calling $(make-target-directory).
44734 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44736         * bits/types.h (__snseconds_t): Removed.
44737         * time/time.h (struct timespec): Replace __snseconds_t with
44738         __syscall_slong_t.
44739         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44740         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44741         Likewise.
44742         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44743         (__SNSECONDS_T_TYPE): Likewise.
44744         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44745         (__SNSECONDS_T_TYPE): Likewise.
44746         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44747         (__SNSECONDS_T_TYPE): Likewise.
44749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44751         * sysdeps/mach/hurd/bits/typesizes.h
44752         (__SYSCALL_SLONG_TYPE): New macro.
44753         (__SYSCALL_ULONG_TYPE): Likewise.
44755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44757         * bits/types.h (__syscall_slong_t): New type.
44758         (__syscall_ulong_t): Likewise.
44760         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44761         (__SYSCALL_ULONG_TYPE): Likewise.
44762         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44763         (__SYSCALL_SLONG_TYPE): Likewise.
44764         (__SYSCALL_ULONG_TYPE): Likewise.
44765         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44766         (__SYSCALL_SLONG_TYPE): Likewise.
44767         (__SYSCALL_ULONG_TYPE): Likewise.
44768         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44769         (__SYSCALL_SLONG_TYPE): Likewise.
44770         (__SYSCALL_ULONG_TYPE): Likewise.
44772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44774         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44775         Add sigaltstack-offsets.sym.
44776         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44777         <sigaltstack-offsets.h>.
44778         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
44779         longjmp_msg pointer.
44780         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
44781         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44782         signal stack.
44783         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44785 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
44787         * elf/stackguard-macros.h: Remove file.
44788         * sysdeps/generic/stackguard-macros.h: New file.
44789         * sysdeps/i386/stackguard-macros.h: Likewise.
44790         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44791         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44792         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44793         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44794         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44795         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44796         * sysdeps/x86_64/stackguard-macros.h: Likewise.
44797         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44798         <elf/stackguard-macros.h>.
44800         [BZ #14109]
44801         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44802         __aligned__ in attribute.
44803         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44804         (gregset_t): Likewise.
44806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44808         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44809         * sysdeps/x86_64/64/Implies-after: Here.  New file.
44810         * sysdeps/x86_64/x32/Implies-after: New file.
44812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44814         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44815         and access return value for _dl_profile_fixup.  Use R10_LP to
44816         load frame size.
44818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44820         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44822 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44824         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44825         * sysdeps/x86_64/x32/sysdep.h: New file.
44827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44829         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44830         * sysdeps/x86_64/setjmp.S: Likewise.
44832 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44834         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44835         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44836         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44837         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44838         remove unused global constant.
44840 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
44842         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44843         include of <not-cancel.h>.
44845 2012-05-15  Roland McGrath  <roland@hack.frob.com>
44847         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44849 2012-05-15  Jeff Law  <law@redhat.com>
44850             Andreas Jaeger  <aj@suse.de>
44852         [BZ #13594]
44853         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44854         out from...
44855         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44856         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44857         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44858         code changing __hst_map_handle.map.
44860 2012-05-15  Roland McGrath  <roland@hack.frob.com>
44862         * configure.in (sysnames): Look for Implies-before and Implies-after
44863         files.
44864         * configure: Regenerated.
44866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44868         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44869         8-byte data alignment with LP_SIZE alignment.
44871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44873         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44874         into R10_LP.
44876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44878         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44882         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44883         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44884         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44885         Likewise.
44886         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44890         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44891         (stackinfo_sub_sp): Likewise.
44893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44895         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44896         RAX_LP.
44898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44900         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44901         into R*_LP.
44903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44905         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44906         sizes into R*_LP.
44908 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44910         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44914         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44915         into R11_LP and load __x86_64_shared_cache_size_half into
44916         R8_LP.
44918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
44920         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44921         R8_LP.
44923 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44925         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44926         logb for POWER7.
44927         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44928         logbf for POWER7.
44929         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44930         logbl for POWER7.
44931         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44932         powerpc32/power7/fpu/s_logb.c via #include.
44933         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44934         powerpc32/power7/fpu/s_logbf.c via #include.
44935         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44936         powerpc32/power7/fpu/s_logbl.c via #include.
44938 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
44940         * README.libm: Remove file.
44942 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44944         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44945         count for x32.  Use R*_LP and omit operand-size suffix.
44947 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44949         * shlib-versions: Move x86_64-.*-linux.* entries to ...
44950         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
44951         * sysdeps/x86_64/x32/shlib-versions: New file.
44953 2012-05-14  Roland McGrath  <roland@hack.frob.com>
44955         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44956         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44957         Use _dl_fatal_printf instead.
44959 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44961         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44962         set if not set by the user.  Do not allow for being unset.
44963         * sysdeps/unix/sysv/linux/configure: Regenerated.
44965 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44967         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44968         the `q' suffix from lea and replace .quad with ASM_ADDR.
44970 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44972         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44973         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
44974         instead of $17.
44975         (PTR_DEMANGLE): Likewise.
44977 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44979         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44980         (LP_OP): Likewise.
44981         (ASM_ADDR): Likewise.
44982         (RAX_LP): Likewise.
44983         (RBP_LP): Likewise.
44984         (RBX_LP): Likewise.
44985         (RCX_LP): Likewise.
44986         (RDI_LP): Likewise.
44987         (RSI_LP): Likewise.
44988         (RSP_LP): Likewise.
44989         (R8_LP): Likewise.
44990         (R9_LP): Likewise.
44991         (R10_LP): Likewise.
44992         (R10_LP): Likewise.
44993         (R11_LP): Likewise.
44994         (R12_LP): Likewise.
44995         (R13_LP): Likewise.
44996         (R14_LP): Likewise.
44997         (R15_LP): Likewise.
44999 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45001         * sysdeps/x86_64/x32/dl-machine.h: New file.
45003 2012-05-14  Andreas Jaeger  <aj@suse.de>
45005         * manual/Makefile (subdir): Remove export of subdir.
45006         (all): Remove target.
45007         (.PHONY): Remove all from list.
45008         (mkinstalldirs): Remove.
45009         (.PHONY): Remove installdirs from list.
45010         ($(inst_infodir)/libc.info): Use make-target-directory.
45011         (installdirs): Remove.
45012         (subdir_%): Remove.
45013         (glibc-targets): Remove.
45014         (lib): Remove.
45015         (stubs): Remove.
45016         ($(objpfx)stubs ../po/manual.pot): Remove.
45017         ($(objpfx)stamp%): Remove.
45018         (make-target-directory): Remove.
45019         (subdir_install): Remove.
45020         (routines): Remove.
45021         (aux): Remove.
45022         (sources): Remove.
45023         (objects): Remove.
45024         (headers): Remove.
45026         [BZ #13750]
45027         * manual/.gitignore: Remove, it's not needed anymore.
45028         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45029         all files in it.
45030         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45031         directory.
45032         (texis): Renamed to $(objpfx)texis.
45033         (texis-path): New, contains path to generated files.
45034         (chapters.%): Use texis-path for complete path, add extra argument
45035         libc-texinfo.sh.
45036         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45037         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45038         (summary,texi, stamp-summary): Use complete path of
45039         files. Generate files in build dir.
45040         (dir-add.texi): Build in build dir.
45041         (libm-err.texi,stamp-libm-err): Likewise.
45042         (version.texi, stamp-version): Likewise.
45043         (.%c.texi): Likewise.
45044         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45045         (mostlyclean): Remove target.
45046         (realclean): Remove target.
45047         (generated): Add new variable with contents from mostlyclean and
45048         realclean, remove entries duplicated in common-mostlyclean, add
45049         stamp-libm-err and stamp-version.
45050         (generated-dirs): Add libc directory.
45051         ($(inst_infodir)/libc.info): Install files from build dir.
45053         * manual/install.texi (Configuring and compiling): Adjust since
45054         the info files are not part of the tar ball anymore.
45056 2012-05-14  Andreas Jaeger  <aj@suse.de>
45058         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45059         variable.
45061 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
45063         [BZ #13717]
45064         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45065         to 2.2.0 where earlier.
45066         * sysdeps/unix/sysv/linux/configure: Regenerated.
45067         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45068         Remove conditional code.
45069         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45070         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45071         Remove conditional code.
45072         [!__NR_lchown]: Likewise.
45073         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45074         [__NR_lchown]: Likewise.
45075         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45076         comment referencing __ASSUME_LCHOWN_SYSCALL.
45077         * sysdeps/unix/sysv/linux/i386/sigaction.c
45078         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45079         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45080         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45081         Remove conditional code.
45082         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45083         (__protocol_available): Remove #if 0 code.
45084         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
45085         conditional code.
45086         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
45087         * sysdeps/unix/sysv/linux/kernel-features.h
45088         (__ASSUME_GETCWD_SYSCALL): Don't define.
45089         (__ASSUME_REALTIME_SIGNALS): Likewise.
45090         (__ASSUME_PREAD_SYSCALL): Likewise.
45091         (__ASSUME_PWRITE_SYSCALL): Likewise.
45092         (__ASSUME_POLL_SYSCALL): Likewise.
45093         (__ASSUME_LCHOWN_SYSCALL): Likewise.
45094         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
45095         non-SPARC.
45096         (__ASSUME_SIOCGIFNAME): Don't define.
45097         (__ASSUME_MSG_NOSIGNAL): Likewise.
45098         (__ASSUME_SENDFILE): Define unconditionally.
45099         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
45100         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
45101         conditional code.
45102         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
45103         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
45104         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45105         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45106         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
45107         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
45108         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
45110         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45111         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
45113         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45114         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
45116         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45117         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
45119         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45120         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
45122         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45123         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
45125         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
45126         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
45128         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45129         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
45131         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45132         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45133         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
45134         Remove conditional code.
45135         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45136         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45137         Remove conditional code.
45138         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45139         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
45140         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
45141         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45142         Remove conditional code.
45143         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45144         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
45145         Remove conditional code.
45146         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45147         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
45148         Remove conditional code.
45149         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45150         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
45151         Remove conditional code.
45152         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
45153         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
45154         Remove conditional code.
45155         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45156         * sysdeps/unix/sysv/linux/sh/pwrite64.c
45157         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
45158         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
45159         * sysdeps/unix/sysv/linux/sigaction.c
45160         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45161         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45162         * sysdeps/unix/sysv/linux/sigpending.c
45163         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45164         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45165         * sysdeps/unix/sysv/linux/sigprocmask.c
45166         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45167         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45168         * sysdeps/unix/sysv/linux/sigsuspend.c
45169         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45170         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45171         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45172         (__libc_missing_rt_sigs): Remove.
45173         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
45174         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
45175         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
45176         Remove conditional code.
45177         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
45178         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
45179         return 1.
45180         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
45181         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
45182         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
45183         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
45185 2012-05-14  Andreas Jaeger  <aj@suse.de>
45187         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
45188         it's not used in glibc.
45189         (__coshm1): Likewise.
45190         (__acosh1p): Likewise.
45191         (__sgn): Likewise.
45193         * manual/string.texi (Copying and Concatenation): Add missing
45194         variable in concat example.
45195         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
45197 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45199         [BZ #14103]
45200         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
45201         __builtin_clzl with __builtin_clzll.
45203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
45205         [BZ #14104]
45206         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
45207         libc_freeres_ptr.
45209 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45211         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
45212         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
45213         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
45214         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
45216 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
45218         * NEWS: Update ia64 info.
45220 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
45222         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
45223         used as bcopy.
45225 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
45227         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
45228         * sysdeps/unix/syscalls.list (dup3): Likewise.
45229         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
45230         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
45232 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45234         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
45235         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
45237 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
45239         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
45240         thread pointer.
45241         (TLS_IE): Use mov/add instead of movq/addq to load thread
45242         pointer.
45243         (TLS_GD_PREFIX): New.
45244         (TLS_GD): Use it.
45246 2012-05-11  David S. Miller  <davem@davemloft.net>
45248         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
45249         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
45250         (_FPU_SETCW): Likewise.
45252 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45254         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
45255         is 32-byte aligned.
45257 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
45259         [BZ #11837]
45260         * iconvdata/gb18030.c: Update tables.
45261         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
45262         characters specially.
45263         (BODY for TO_LOOP): Add encoding of missing ranges.
45265 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
45267         [BZ #13673]
45268         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
45269         * sysdeps/mach/hurd/dup3.c: Likewise.
45270         * sysdeps/mach/hurd/readlinkat.c: Likewise.
45271         * sysdeps/powerpc/memmove.c:: Likewise.
45273 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45275         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
45276         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
45278 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45280         * elf/elf.h (R_X86_64_RELATIVE64): New.
45281         (R_X86_64_NUM): Updated.
45282         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
45283         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
45284         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
45285         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
45286         tst-quad1pie tst-quad2pie
45287         (modules-names): Add tst-quadmod1 tst-quadmod2.
45288         ($(objpfx)tst-quad1): New dependency.
45289         ($(objpfx)tst-quad2): Likewise.
45290         ($(objpfx)tst-quad1pie): Likewise.
45291         ($(objpfx)tst-quad2pie): Likewise.
45292         * sysdeps/x86_64/tst-quad1.c: New file.
45293         * sysdeps/x86_64/tst-quad1pie.c: New file.
45294         * sysdeps/x86_64/tst-quad2.c: Likewise.
45295         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
45296         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
45297         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
45298         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
45299         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
45301 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45303         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
45304         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
45305         * streams/stropts.h (t_scalar_t): Define type.
45307         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
45308         (_PATH_PRESERVE): Set to "/var/lib".
45309         (_PATH_RWHODIR): Set to "/var/spool/rwho".
45311         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
45312         instead of int.
45314         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
45315         if __dir_mkfile succeeded.
45317         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
45318         checking for _hurd_dtablesize.  Unlock it right after having
45319         finished _hurd_dtable allocation.
45321 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45323         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
45324         * sysdeps/mach/hurd/configure: Regenerated.
45325         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
45326         special-casing to...
45327         * sysdeps/gnu/configure.in: ... this new file.
45328         * sysdeps/unix/sysv/linux/configure: Regenerated.
45329         * sysdeps/gnu/configure: New generated file.
45331         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
45332         for Linux: use nsec instead of usec, as well as:
45333         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
45334         members of type struct timespec.
45335         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
45336         New macros.
45337         (struct stat64): Likewise.
45338         (_STATBUF_ST_NSEC): New macro.
45339         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
45341         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
45342         __strtoul_internal rather than strtoul.
45344 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45346         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
45347         and reject them.
45349 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45351         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
45352         which preserves existing values.
45353         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
45355 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45357         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
45358         TIMEOUT values.  Return EINVAL for NFDS values either negative or
45359         greater than FD_SETSIZE.
45361 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45363         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
45364         allocated, call __vm_protect to finish enabling the existing space, and
45365         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
45366         allocate the remainder.
45368 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45370         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
45371         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
45373 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45375         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
45376         sysdeps/mach/hurd/readlink.c.
45378         * posix/tst-sysconf.c (posix_options): Only use
45379         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
45380         _POSIX_SYNCHRONIZED_IO when they are defined
45381         * sysdeps/mach/hurd/bits/posix_opt.h:
45382         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
45383         (_XOPEN_REALTIME): Undefine macro.
45384         (_XOPEN_REALTIME_THREADS): Undefine macro.
45385         (_XOPEN_SHM): Undefine macro.
45386         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
45387         macro to -1.
45388         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
45389         macro to -1.
45390         (_POSIX_ASYNC_IO): Undefine macro.
45391         (_POSIX_PRIORITIZED_IO): Undefine macro.
45392         (_POSIX_SPIN_LOCKS): Define macro to -1.
45394         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
45395         SA_NODEFER, SA_RESETHAND.
45396         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
45397         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
45398         F_DUPFD_CLOEXEC.
45400 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45402         * elf/Makefile (pldd-modules): Define unconditionally.
45404 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45406         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
45408 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45410         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
45411         Return ENOENT when name is empty.
45412         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
45414 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45416         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
45418         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
45420 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45422         Fix mlock in all cases except non-readable pages.
45423         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
45424         instead of VM_PROT_ALL as parameter to __vm_wire function.
45426         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
45427         (__mkdir): When path is `/', just fail with EEXIST.
45428         * sysdeps/mach/hurd/mkdirat.c: Likewise.
45430 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45432         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
45433         <sys/uio.h> (for writev).
45434         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
45435         and <sys/param.h> (for MIN).
45437 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
45439         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
45440         REQUESTED_TIME.  Properly set the remaining time and return EINTR
45441         if interrupted.
45443 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45445         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
45446         Depend on against $(link-rpcuserlibs).
45448 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45450         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
45451         (__libc_stack_end): Do not use attribute_relro.
45452         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
45453         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
45454         to libthread-provided value.
45455         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
45456         attribute_relro.
45458 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45460         [BZ #3748]
45461         * bits/libc-lock.h (__libc_once_get): New macro.
45462         * sysdeps/mach/bits/libc-lock.h: Likewise.
45463         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
45464         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
45465         instead of using implementation details.
45467         * libio/fileops.c: Unconditionally include <kernel-features.h>.
45468         * libio/freopen.c: Likewise.
45469         * libio/freopen64.c: Likewise.
45470         * misc/syslog.c: Likewise.
45471         * nscd/connections.c: Likewise.
45472         * nscd/netgroupcache.c: Likewise.
45473         * sysdeps/posix/getcwd.c: Likewise.
45475 2012-05-10  Roland McGrath  <roland@hack.frob.com>
45477         * math/w_ilogbf.c: Add #include <limits.h>.
45479 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45481         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
45482         path instead of returning without unlocking.
45484         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
45485         immediate-write ioctls.
45486         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
45488 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45490         * sysdeps/mach/hurd/i386/init-first.c (init): Use
45491         __builtin_frame_address instead of making assumptions about the
45492         location of the return address relative to DATA.  Force early load of
45493         the return address.
45494         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
45495         __builtin_frame_address.
45497         dup3 for GNU Hurd.
45498         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
45499         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
45500         implement dup3 and do some further code clean-ups.
45501         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
45502         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
45504 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45506         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
45508         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
45509         HURD_CRITICAL_END around holding _hurd_dtable_lock.
45510         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
45511         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
45512         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
45513         d->port.lock.
45515         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
45516         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
45517         when handler == SIG_ERR, not when handler != SIG_ERR.
45519 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45521         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
45522         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
45523         definitions.
45525         accept4 for GNU Hurd.
45526         * include/sys/socket.h (__libc_accept4): New prototype.
45527         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
45528         to implement __libc_accept4.
45529         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
45530         __libc_accept4.
45531         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
45533         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
45534         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
45535         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
45536         signal-defines.sym.
45538 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45540         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
45542 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
45544         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
45545         assertion on O_CLOEXEC flag.
45546         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
45547         * hurd/intern-fd.c: Likewise.
45548         * hurd/port2fd.c: Likewise.
45550 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45552         [BZ #3906]
45553         * bits/in.h (IPV6_PKTINFO): Define new macro.
45554         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
45556 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45558         [BZ #13954]
45559         [BZ #13955]
45560         [BZ #13956]
45561         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
45562         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45563         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
45564         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45565         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45566         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45567         * math/libm-test.inc (logb_test) : Additional logb tests.
45569 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
45570             Andreas Jaeger  <aj@suse.de>
45572         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
45573         * configure: Regenerated.
45574         * config.h.in (LINK_OBSOLETE_RPC): New macro.
45575         * config.make.in (link-obsolete-rpc): New substituted variable.
45576         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
45577         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
45578         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45579         (shared-only-routines): Don't set it under [link-obsolete-rpc],
45580         so that libc.a contains the symbols.
45581         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45582         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
45583         * sunrpc/auth_none.c: Likewise.
45584         * sunrpc/auth_unix.c: Likewise.
45585         * sunrpc/authdes_prot.c: Likewise.
45586         * sunrpc/authuxprot.c: Likewise.
45587         * sunrpc/clnt_gen.c: Likewise.
45588         * sunrpc/clnt_perr.c: Likewise.
45589         * sunrpc/clnt_raw.c: Likewise.
45590         * sunrpc/clnt_simp.c: Likewise.
45591         * sunrpc/clnt_tcp.c: Likewise.
45592         * sunrpc/clnt_udp.c: Likewise.
45593         * sunrpc/clnt_unix.c: Likewise.
45594         * sunrpc/des_crypt.c: Likewise.
45595         * sunrpc/des_soft.c: Likewise.
45596         * sunrpc/get_myaddr.c: Likewise.
45597         * sunrpc/key_call.c: Likewise.
45598         * sunrpc/key_prot.c: Likewise.
45599         * sunrpc/netname.c: Likewise.
45600         * sunrpc/pm_getmaps.c: Likewise.
45601         * sunrpc/pm_getport.c: Likewise.
45602         * sunrpc/pmap_clnt.c: Likewise.
45603         * sunrpc/pmap_prot.c: Likewise.
45604         * sunrpc/pmap_prot2.c: Likewise.
45605         * sunrpc/pmap_rmt.c: Likewise.
45606         * sunrpc/publickey.c: Likewise.
45607         * sunrpc/rpc_cmsg.c: Likewise.
45608         * sunrpc/rpc_common.c: Likewise.
45609         * sunrpc/rpc_dtable.c: Likewise.
45610         * sunrpc/rpc_prot.c: Likewise.
45611         * sunrpc/rpc_thread.c: Likewise.
45612         * sunrpc/rtime.c: Likewise.
45613         * sunrpc/svc.c: Likewise.
45614         * sunrpc/svc_auth.c: Likewise.
45615         * sunrpc/svc_raw.c: Likewise.
45616         * sunrpc/svc_run.c: Likewise.
45617         * sunrpc/svc_tcp.c: Likewise.
45618         * sunrpc/svc_udp.c: Likewise.
45619         * sunrpc/svc_unix.c: Likewise.
45620         * sunrpc/svcauth_des.c: Likewise.
45621         * sunrpc/xcrypt.c: Likewise.
45622         * sunrpc/xdr.c: Likewise.
45623         * sunrpc/xdr_array.c: Likewise.
45624         * sunrpc/xdr_float.c: Likewise.
45625         * sunrpc/xdr_intXX_t.c: Likewise.
45626         * sunrpc/xdr_mem.c: Likewise.
45627         * sunrpc/xdr_rec.c: Likewise.
45628         * sunrpc/xdr_ref.c: Likewise.
45629         * sunrpc/xdr_sizeof.c: Likewise.
45630         * sunrpc/xdr_stdio.c: Likewise.
45632 2012-05-10  Roland McGrath  <roland@hack.frob.com>
45634         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45635         change.  Update copyright years.
45637 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
45639         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45641 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
45642             Joseph Myers  <joseph@codesourcery.com>
45643             Paul Pluzhnikov  <ppluzhnikov@google.com>
45645         [BZ #14012]
45646         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45647         requiring rpcgen.
45648         [cross-compiling] (extra-libs): Likewise.
45649         [cross-compiling] (extra-libs-others): Likewise.
45650         [cross-compiling] (librpcsvc-routines): Likewise.
45651         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45652         [cross-compiling] (omit-deps): Likewise.
45653         (sunrpc-CPPFLAGS): New variable.
45654         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45655         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45656         (cross-rpcgen-objs): New variable.
45657         (extra-objs): Append $(cross-rpcgen-objs).
45658         ($(cross-rpcgen-objs)): New rule.
45659         ($(objpfx)cross-rpcgen): Likewise.
45660         (rpcgen-cmd): Define to use $(built-program-file).  Expand
45661         comment.
45662         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45663         ($(objpfx)x%.stmp): Likewise.
45664         * sunrpc/proto.h [IS_IN_build] (_): Define.
45665         [IS_IN_build] (_libc_intl_domainname): Likewise.
45667 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
45669         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45670         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45671         and R_X86_64_TPOFF64.
45673 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
45675         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45676         sysdeps/unix/sysv/syscalls.list.
45677         (stime): Likewise.
45678         (utime): Likewise.
45679         * sysdeps/unix/sysv/syscalls.list: Remove file.
45681 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
45683         [BZ #3440]
45684         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45685         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45686         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45687         (__LC_IDENTIFICATION): Make these macros useful in #if
45688         expressions, as required by C99.
45690 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
45692         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45693         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
45694         after this.
45696 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
45698         * stdlib/longlong.h: Updated from GCC.
45700 2012-05-09  Andreas Jaeger  <aj@suse.de>
45702         * nscd/nscd.c (run_modes): Make named enum, reorder so that
45703         default is first entry.
45704         (run_mode): Set type.
45705         (main): Remove informal message about syslog.
45706         (options): Fix typo.
45708         [BZ #14053]
45709         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
45710         to asm.
45711         (lrint): Likewise.
45712         (llrintf): Likewise.
45713         (llrint): Likewise.
45714         (rint): Likewise.
45715         (rintf): Likewise.
45716         (nearbyint): Likewise.
45717         (nearbyintf): Likewise.
45719 2012-05-09  Andreas Jaeger  <aj@suse.de>
45720             Pedro Alves  <palves@redhat.com>
45722         * nscd/nscd.c (run_mode): Use enum.
45723         (main): Cleanup coding style issue.
45725 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
45726             Andreas Jaeger  <aj@suse.de>
45728         * nscd/nscd.c (go_background): Replaced with...
45729         (run_mode): ... this.
45730         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
45731         (options): Add -F --foreground.
45732         (main): Implement it.
45733         (parse_opt): Parse it.
45735 2012-05-09  Andreas Jaeger  <aj@suse.de>
45737         [BZ #14083]
45738         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45739         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45740         -Wconversion warning.
45741         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45742         Likewise.
45744 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
45746         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
45747         == 0.
45748         (LC_ALL): Use macro-int-constant.
45749         (LC_COLLATE): Likewise.
45750         (LC_CTYPE): Likewise.
45751         (LC_MESSAGES): Likewise.
45752         (LC_MONETARY): Likewise.
45753         (LC_NUMERIC): Likewise.
45754         (LC_TIME): Likewise.
45755         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45756         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45757         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45758         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45759         Specify type.
45760         [C99-based standards] (float_t): Expect type.
45761         [C99-based standards] (double_t): Expect type.
45762         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
45763         type.
45764         [C99-based standards] (HUGE_VALL): Likewise.
45765         [C99-based standards] (INFINITY): Likewise.
45766         [C99-based standards] (NAN): Likewise.
45767         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45768         [C99-based standards] (FP_NAN): Likewise.
45769         [C99-based standards] (FP_NORMAL): Likewise.
45770         [C99-based standards] (FP_SUBNORMAL): Likewise.
45771         [C99-based standards] (FP_ZERO): Likewise.
45772         [C99-based standards] (FP_FAST_FMA): Use
45773         optional-macro-int-constant.  Specify type.  Require == 1.
45774         [C99-based standards] (FP_FAST_FMAF): Likewise.
45775         [C99-based standards] (FP_FAST_FMAL): Likewise.
45776         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45777         [C99-based standards] (FP_ILOGBNAN): Likewise.
45778         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45779         Specify type.
45780         [C99-based standards] (MATH_ERREXCEPT): Likewise.
45781         [C99-based standards] (math_errhandling): Specify type.
45782         [ISO99 || ISO11] (signgam): Do not allow.
45783         [non-C99-based standards] (copysignf): Do not allow.
45784         [non-C99-based standards] (exp2f): Likewise.
45785         [non-C99-based standards] (log2f): Likewise.
45786         [non-C99-based standards] (modff): Allow.
45787         [non-C99-based standards] (erff): Do not allow.
45788         [non-C99-based standards] (erfcf): Likewise.
45789         [non-C99-based standards] (gammaf): Likewise.
45790         [non-C99-based standards] (hypotf): Likewise.
45791         [non-C99-based standards] (j0f): Likewise.
45792         [non-C99-based standards] (j1f): Likewise.
45793         [non-C99-based standards] (jnf): Likewise.
45794         [non-C99-based standards] (lgammaf): Likewise.
45795         [non-C99-based standards] (tgammaf): Likewise.
45796         [non-C99-based standards] (y0f): Likewise.
45797         [non-C99-based standards] (y1f): Likewise.
45798         [non-C99-based standards] (ynf): Likewise.
45799         [non-C99-based standards] (isnanf): Likewise.
45800         [non-C99-based standards] (acoshf): Likewise.
45801         [non-C99-based standards] (asinhf): Likewise.
45802         [non-C99-based standards] (atanhf): Likewise.
45803         [non-C99-based standards] (cbrtf): Likewise.
45804         [non-C99-based standards] (expm1f): Likewise.
45805         [non-C99-based standards] (ilogbf): Likewise.
45806         [non-C99-based standards] (log1pf): Likewise.
45807         [non-C99-based standards] (logbf): Likewise.
45808         [non-C99-based standards] (nextafterf): Likewise.
45809         [non-C99-based standards] (remainderf): Likewise.
45810         [non-C99-based standards] (rintf): Likewise.
45811         [non-C99-based standards] (scalbf): Likewise.
45812         [non-C99-based standards] (copysignl): Likewise.
45813         [non-C99-based standards] (exp2l): Likewise.
45814         [non-C99-based standards] (log2l): Likewise.
45815         [non-C99-based standards] (modfl): Allow.
45816         [non-C99-based standards] (erfl): Do not allow.
45817         [non-C99-based standards] (erfcl): Likewise.
45818         [non-C99-based standards] (gammal): Likewise.
45819         [non-C99-based standards] (hypotl): Likewise.
45820         [non-C99-based standards] (j0l): Likewise.
45821         [non-C99-based standards] (j1l): Likewise.
45822         [non-C99-based standards] (jnl): Likewise.
45823         [non-C99-based standards] (lgammal): Likewise.
45824         [non-C99-based standards] (tgammal): Likewise.
45825         [non-C99-based standards] (y0l): Likewise.
45826         [non-C99-based standards] (y1l): Likewise.
45827         [non-C99-based standards] (ynl): Likewise.
45828         [non-C99-based standards] (isnanl): Likewise.
45829         [non-C99-based standards] (acoshl): Likewise.
45830         [non-C99-based standards] (asinhl): Likewise.
45831         [non-C99-based standards] (atanhl): Likewise.
45832         [non-C99-based standards] (cbrtl): Likewise.
45833         [non-C99-based standards] (expm1l): Likewise.
45834         [non-C99-based standards] (ilogbl): Likewise.
45835         [non-C99-based standards] (log1pl): Likewise.
45836         [non-C99-based standards] (logbl): Likewise.
45837         [non-C99-based standards] (nextafterl): Likewise.
45838         [non-C99-based standards] (remainderl): Likewise.
45839         [non-C99-based standards] (rintl): Likewise.
45840         [non-C99-based standards] (scalbl): Likewise.
45841         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45842         [non-C99-based standards] (FP_*): Do not allow.
45843         [C99-based standards] (FP_*): Change to
45844         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45845         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45846         allow.
45847         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45848         (SIG_ERR): Likewise.
45849         [X/Open-based standards] (SIG_HOLD): Likewise.
45850         (SIG_IGN): Likewise.
45851         (SIGABRT): Use macro-int-constant.  Specify type.  Require
45852         positive value.
45853         (SIGFPE): Likewise.
45854         (SIGILL): Likewise.
45855         (SIGINT): Likewise.
45856         (SIGSEGV): Likewise.
45857         (SIGTER): Likewise.
45858         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45859         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45860         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45861         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45862         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45863         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45864         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45865         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45866         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45867         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45868         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45869         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45870         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45871         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45872         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45873         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45874         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45875         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45876         [X/Open-based standards] (SIGTRAP): Likewise.
45877         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45878         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45879         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45880         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45881         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45882         allow.
45884 2012-05-08  Ian Wienand  <ianw@vmware.com>
45886         [BZ #14080]
45887         * time/tzset.c (__tzset_parse_tz): Update default rules for
45888         daylight time changes in the Energy Policy Act of 2005.
45890 2012-05-09  Andreas Jaeger  <aj@suse.de>
45892         [BZ #13983]
45893         * elf/ldconfig.c (parse_conf): Change string to make clear that
45894         ldconfig only issued a warning if ld.so.conf does not exist.
45896 2012-05-08  David S. Miller  <davem@davemloft.net>
45898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45899         movxtod instead of popping the value on the stack.
45901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45903 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
45905         * config.h.in: Add HAVE_ARM_PCS_VFP.
45907 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
45909         [BZ #13979]
45910         * include/features.h: Warn if user requests __FORTIFY_SOURCE
45911         checking but the checks are disabled for any reason.
45913 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
45915         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45916         and ELF64_R_TYPE with ELFW(R_TYPE).
45918 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
45920         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45921         (ulimit): Likewise.
45923         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45924         (settimeofday): Likewise.
45926 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
45928         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
45929         a struct th_u2 inside the union, and move tu_block/tu_code into
45930         a new th_u3 union of tu_block/tu_code inside of that.  Move
45931         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
45932         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
45933         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45934         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45935         (th_stuff): Change to th_u1.tu_stuff.
45936         (th_data): Define.
45937         (th_msg): Change to th_u1.th_u2.tu_data.
45939 2012-05-07  David S. Miller  <davem@davemloft.net>
45941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45943         [BZ #14074]
45944         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45945         (SETUP_PIC_REG): Use it.
45946         (SETUP_PIC_REG_LEAF): Use it.
45948 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
45950         [BZ #13885]
45951         [BZ #13923]
45952         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45953         USE_AS_EXPM1L.
45954         (EXPL_FINITE): Likewise.
45955         (FLDLOG): Likewise.
45956         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45957         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45958         e_expl.S.
45959         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45960         USE_AS_EXPM1L.
45961         (EXPL_FINITE): Likewise.
45962         (FLDLOG): Likewise.
45963         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45964         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45965         e_expl.S.
45966         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
45967         test of -max_value argument for long double.
45968         * sysdeps/i386/fpu/libm-test-ulps: Update.
45969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45971 2012-05-06  David S. Miller  <davem@davemloft.net>
45973         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45974         quad soft-float symbols whose references which are compiler
45975         generated.
45976         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45978 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
45980         [BZ #13884]
45981         [BZ #13914]
45982         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45983         USE_AS_EXP10L.
45984         (EXPL_FINITE): Likewise.
45985         (FLDLOG): Likewise.
45986         (c0): Likewise.
45987         (c1): Likewise.
45988         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
45989         Adjust comments for base varying.
45990         (__expl_finite): Change alias to EXPL_FINITE.
45991         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45992         e_expl.S.
45993         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45994         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45995         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45996         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45997         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45998         USE_AS_EXP10L.
45999         (EXPL_FINITE): Likewise.
46000         (FLDLOG): Likewise.
46001         (c0): Likewise.
46002         (c1): Likewise.
46003         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
46004         Adjust comments for base varying.
46005         (__expl_finite): Change alias to EXPL_FINITE.
46006         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
46007         tests for bugs.
46008         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46010         [BZ #14064]
46011         * math/libm-test.inc (check_float_internal): Correct ulp
46012         calculation for subnormal expected results.
46014 2012-05-06  Andreas Jaeger  <aj@suse.de>
46016         * Makeconfig (+math-flags): New, set to -frounding-math.
46017         (+cflags): Add +math-flags so that all of glibc gets compiled with
46018         it.
46020         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46022 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
46024         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46025         Disable one test.
46027         [BZ #13787]
46028         [BZ #13922]
46029         [BZ #14036]
46030         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46031         (__ieee754_expl): Allow for and saturate large arguments.
46032         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46033         (u_threshold): Likewise.
46034         (__exp): Call __ieee754_exp before checking for overflow and
46035         underflow.
46036         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46037         (u_threshold): Likewise.
46038         (__expf): Call __ieee754_expf before checking for overflow and
46039         underflow.
46040         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46041         (u_threshold): Likewise.
46042         (__expl): Call __ieee754_expl before checking for overflow and
46043         underflow.
46044         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46045         (__ieee754_expl): Allow for and saturate large arguments.
46046         * math/libm-test.inc (exp_test): Add another test.  Do not allow
46047         missing overflow exception on overflow.
46048         (expm1_test): Do not allow missing overflow exception on overflow.
46050         * sysdeps/i386/fpu/e_expl.c: Move to ...
46051         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
46052         rather than using inline asm.
46053         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46054         * sysdeps/x86_64/fpu/e_expl.S: Copy from
46055         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46057         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46058         (nice): Likewise.
46059         (poll): Likewise.
46060         (signal): Likewise.
46061         (time): Likewise.
46062         (times): Likewise.
46064 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46066         * sysdeps/unix/syscalls.list (adjtime): Add entry from
46067         sysdeps/unix/common/syscalls.list.
46068         (fchmod): Likewise.
46069         (fchown): Likewise.
46070         (ftruncate): Likewise.
46071         (getrusage): Likewise.
46072         (gettimeofday): Likewise.
46073         (setpgid): Likewise.
46074         (setregid): Likewise.
46075         (setreuid): Likewise.
46076         (sigaction): Likewise.
46077         (truncate): Likewise.
46078         (vhangup): Likewise.
46079         * sysdeps/unix/common/syscalls.list: Remove file.
46080         * sysdeps/unix/bsd/Implies: Don't include unix/common.
46081         * sysdeps/unix/sysv/linux/Implies: Likewise.
46083 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
46085         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
46086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
46087         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
46088         Moved to ...
46089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46090         Here.
46091         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
46092         to ...
46093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
46094         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
46095         to ...
46096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
46097         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
46098         to ...
46099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
46100         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
46101         to ...
46102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
46103         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
46104         to ...
46105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
46106         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
46107         to ...
46108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
46109         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
46110         to ...
46111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46112         Here.
46113         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
46114         to ...
46115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
46116         Here.
46117         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
46118         to ...
46119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
46120         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
46121         Moved to ...
46122         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
46123         Here.
46124         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
46125         to ...
46126         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
46128 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46130         * sysdeps/unix/common/bits/dirent.h: Remove file.
46131         * sysdeps/unix/common/bits/fcntl.h: Likewise.
46133         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
46134         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
46135         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
46136         * sysdeps/unix/bsd/isatty.c: Likewise.
46137         * sysdeps/unix/bsd/tcdrain.c: Likewise.
46138         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
46139         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
46141 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46143         [BZ #13563]
46144         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
46145         long double comparison inaccuracies.
46146         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46149 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
46151         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
46152         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
46154 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
46156         [BZ #14049]
46157         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46158         nonzero digits before rounding a hex value.
46159         * stdlib/tst-strtod.c (tests): Add another test.
46161 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46163         * sysdeps/s390/fpu/libm-test-ulps: Update.
46165 2012-05-03  Andreas Jaeger  <aj@suse.de>
46167         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
46168         does not get optimized out.
46169         (malloc_opt_barrier): New.
46171 2012-05-03  Andreas Jaeger  <aj@suse.de>
46172             Roland McGrath  <roland@hack.frob.com>
46174         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
46175         intermediate file deletion.
46176         (generated): Add .symlist files.
46178 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
46180         [BZ #13775]
46181         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
46182         Redirect under this condition.
46183         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46184         [__USE_GNU] (__dprintf_chk): Not under this condition.
46185         [__USE_GNU] (__vdprintf_chk): Likewise.
46186         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
46187         under this condition.
46188         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
46189         [__USE_XOPEN2K8] (dprintf): Define under this condition.
46190         [__USE_XOPEN2K8] (vdprintf): Likewise.
46191         [__USE_GNU] (__dprintf_chk): Not under this condition.
46192         [__USE_GNU] (__vdprintf_chk): Likewise.
46193         [__USE_GNU] (dprintf): Likewise.
46194         [__USE_GNU] (vdprintf): Likewise.
46196 2012-05-03  Roland McGrath  <roland@hack.frob.com>
46198         * elf/Makefile (common-generated): Set this instead of generated for
46199         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
46200         $(all-built-dso)-derived lists.
46202 2012-05-03  Andreas Jaeger  <aj@suse.de>
46204         * sysdeps/i386/fpu/libm-test-ulps: Update.
46206         * FAQ: Removed.
46207         * FAQ.in: Likewise.
46208         * scripts/gen-FAQ.pl: Likewise.
46209         * manual/install.texi (Installation): Point to online location of
46210         FAQ.
46211         * Makefile (files-for-dist): Remove FAQ.
46212         (FAQ): Remove.
46214 2012-05-02  Allan McRae  <allan@archlinux.org>
46216         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
46217         (LDFLAGS-reldepmod5.so): Likewise.
46218         (LDFLAGS-reldep6mod1.so): Likewise.
46219         (LDFLAGS-reldep6mod4.so): Likewise.
46220         (LDFLAGS-reldep8mod3.so): Likewise.
46221         (LDFLAGS-unload4mod1.so): Likewise.
46222         (LDFLAGS-unload4mod2.so): Likewise.
46223         (LDFLAGS-tst-initorder): Likewise.
46224         (LDFLAGS-tst-initordera2.so): Likewise.
46225         (LDFLAGS-tst-initordera3.so): Likewise.
46226         (LDFLAGS-tst-initordera4.so): Likewise.
46227         (LDFLAGS-tst-initorderb2.so): Likewise.
46228         (LDFLAGS-noload): Likewise.
46229         (LDFLAGS-next): Likewise.
46230         (LDFLAGS-order2mod1.so): Likewise.
46231         (LDFLAGS-order2mod2.so): Likewise.
46232         (LDFLAGS-tst-initorder2): Likewise.
46233         (LDFLAGS-tst-initorder2a.so): Likewise.
46234         (LDFLAGS-tst-initorder2b.so): Likewise.
46235         (LDFLAGS-tst-initorder2c.so): Likewise.
46236         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
46238 2012-05-02  David S. Miller  <davem@davemloft.net>
46240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46242 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
46244         [BZ #14055]
46245         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
46247 2012-05-02  Andreas Jaeger  <aj@suse.de>
46249         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
46250         since we manipulate rounding mode.
46251         (CPPFLAGS-test-idouble.c): Likewise.
46252         (CPPFLAGS-test-ifloat.c): Likewise.
46253         (CFLAGS-test-ldouble.c): Likewise.
46254         (CFLAGS-test-double.c): Likewise.
46255         (CFLAGS-test-float.c): Likewise.
46256         (CFLAGS-test-misc.c): Likewise.
46257         (CFLAGS-test-test-fenv.c): Likewise.
46259 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46261         [BZ #2550]
46262         [BZ #2570]
46263         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
46264         comparisons to determine direction to adjust input.
46266 2012-05-01  Roland McGrath  <roland@hack.frob.com>
46268         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
46269         output to the target.
46271         * scripts/localplt.awk: New file.
46272         * elf/Makefile ($(objpfx)check-localplt): Target removed.
46273         (check-localplt-CFLAGS): Variable removed.
46274         ($(all-built-dso:=.jmprel)): New static pattern rule.
46275         (generated): Add those targets.
46276         (localplt-built-dso): New variable.
46277         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
46279         * elf/check-localplt.c: File removed.
46281         * scripts/check-execstack.awk: New file.
46282         * elf/Makefile ($(objpfx)check-execstack): Target removed.
46283         (check-execstack-CFLAGS): Variable removed.
46284         ($(objpfx)check-execstack.h): Target removed.
46285         ($(objpfx)execstack-default): New target.
46286         (generated): Add that instead of check-execstack.h.
46287         ($(all-built-dso:=.phdr)): New static pattern rule.
46288         (generated): Add those targets.
46289         * elf/check-execstack.c: File removed.
46291         * scripts/check-textrel.awk: New file.
46292         * elf/Makefile ($(objpfx)check-textrel): Target removed.
46293         (check-textrel-CFLAGS): Variable removed.
46294         (all-built-dso): Use := to define.o
46295         ($(all-built-dso:=.dyn)): New static pattern rule.
46296         (generated): Add those targets.
46297         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
46298         * config.make.in (READELF): New substituted variable.
46299         * elf/check-textrel.c: File removed.
46301 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
46303         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46304         allow.
46305         * conform/data/ctype.h-data [C99-based standards] (isblank):
46306         Expect function.
46307         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
46308         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
46309         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46310         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
46311         Specify type.  Require positive value.
46312         (EILSEQ): Likewise.
46313         (ERANGE): Likewise.
46314         [ISO || POSIX] (EILSEQ): Do not expect.
46315         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
46316         Specify type.  Require positive value.
46317         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
46318         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
46319         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
46320         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
46321         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
46322         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
46323         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
46324         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
46325         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
46326         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
46327         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
46328         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
46329         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
46330         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
46331         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
46332         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
46333         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
46334         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
46335         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
46336         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
46337         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
46338         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
46339         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
46340         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
46341         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
46342         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
46343         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
46344         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
46345         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
46346         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
46347         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
46348         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
46349         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
46350         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
46351         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
46352         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
46353         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
46354         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
46355         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
46356         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
46357         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
46358         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
46359         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
46360         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
46361         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
46362         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
46363         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
46364         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
46365         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
46366         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
46367         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
46368         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
46369         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
46370         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
46371         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
46372         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
46373         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
46374         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
46375         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
46376         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
46377         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
46378         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
46379         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
46380         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
46381         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
46382         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
46383         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
46384         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
46385         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
46386         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
46387         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
46388         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
46389         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
46390         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
46391         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
46392         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
46393         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
46394         Require >= 2.
46395         (FLT_ROUNDS): Expect as macro, not constant.
46396         (FLT_MANT_DIG): Use macro-int-constant.
46397         (DBL_MANT_DIG): Likewise.
46398         (LDBL_MANT_DIG): Likewise.
46399         (FLT_DIG): Likewise.
46400         (DBL_DIG): Likewise.
46401         (LDBL_DIG): Likewise.
46402         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
46403         (DBL_MIN_EXP): Likewise.
46404         (LDBL_MIN_EXP): Likewise.
46405         (FLT_MAX_EXP): Use macro-int-constant.
46406         (DBL_MAX_EXP): Likewise.
46407         (LDBL_MAX_EXP): Likewise.
46408         (FLT_MAX_10_EXP): Likewise.
46409         (DBL_MAX_10_EXP): Likewise.
46410         (LDBL_MAX_10_EXP): Likewise.
46411         (FLT_MAX): Use macro-constant.
46412         (DBL_MAX): Likewise.
46413         (LDBL_MAX): Likewise.
46414         (FLT_EPSILON): Use macro-constant.  Give upper bound.
46415         (DBL_EPSILON): Likewise.
46416         (LDBL_EPSILON): Likewise.
46417         (FLT_MIN): Likewise.
46418         (DBL_MIN): Likewise.
46419         (LDBL_MIN): Likewise.
46420         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
46421         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
46422         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
46423         [ISO11] (FLT_HAS_SUBNORM): Likewise.
46424         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
46425         [ISO11] (DBL_DECIMAL_DIG): Likewise.
46426         [ISO11] (FLT_DECIMAL_DIG): Likewise.
46427         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
46428         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
46429         [ISO11] (FLT_TRUE_MIN): Likewise.
46430         [ISO11] (LDBL_TRUE_MIN): Likewise.
46431         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46432         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
46433         (SCHAR_MIN): Use macro-int-constant.  Specify type.
46434         (SCHAR_MAX): Likewise.
46435         (UCHAR_MAX): Likewise.
46436         (CHAR_MIN): Likewise.
46437         (CHAR_MAX): Likewise.
46438         (MB_LEN_MAX): Use macro-int-constant.
46439         (SHRT_MIN): Use macro-int-constant.  Specify type.
46440         (SHRT_MAX): Likewise.
46441         (USHRT_MAX): Likewise.
46442         (INT_MAX): Likewise.
46443         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
46444         bound negative.
46445         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46446         bound with "U".
46447         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46448         bound with "L".
46449         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
46450         bound negative.  Suffix upper bound with "L".
46451         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
46452         bound with "UL".
46453         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
46454         Specify type.
46455         [C99-based standards] (LLONG_MAX): Likewise.
46456         [C99-based standards] (ULLONG_MAX): Likewise.
46457         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
46458         == 0.
46459         [ISO11] (max_align_t): Require type.
46460         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46462         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
46463         from $CFLAGS, without defining away __attribute__ calls.
46464         (checknamespace): Use $CFLAGS_namespace.
46466         * conform/conformtest.pl (@keywords): Only include C99 keywords
46467         for standards based on C99 or C11.
46469         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
46470         Disable tests.
46471         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
46472         UNIX98]: Likewise.
46474         * conform/conformtest.pl: Handle "macro-int-constant" and test for
46475         usability of symbols in #if.
46477         * conform/conformtest.pl: If macro or constant types start
46478         "promoted:", expect the symbol to be of the following type
46479         promoted by the integer promotions.
46481         * conform/conformtest.pl: Parse all "constant" and "macro" lines
46482         in one place.  Also handle "macro-constant".
46484         * conform/conformtest.pl: Only accept expected macro values with
46485         "==".  Parse all "macro" lines in one place.
46486         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
46488         * conform/conformtest.pl: Handle braced types on "constant" lines
46489         instead of handling "typed-constant".
46490         * conform/data/signal.h-data: Use "constant" instead of
46491         "typed-constant".
46493         * conform/conformtest.pl: Handle "optional-" at start of lines in
46494         one place rather than duplicating several cases.  Handle each
46495         format of "macro" line with initial "optional-".
46497         * conform/conformtest.pl: Only accept expected constant or
46498         optional-constant values with "==".  Parse all "constant" lines in
46499         one place.  Parse all "optional-constant" lines in one place.
46500         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
46501         * conform/data/fmtmsg.h-data: Likewise.
46502         * conform/data/netinet/in.h-data: Likewise.
46503         * conform/data/tar.h-data: Likewise.
46504         * conform/data/limits.h-data: Use "==" form on "constant" and
46505         "optional-constant" lines.
46507         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
46508         Use -std=c99 for XOPEN2K.
46509         (@knownproblems): Remove.
46510         (newtoken): Don't check %isknown.
46512         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
46513         Do not expect macro.
46514         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
46515         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
46516         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
46517         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
46518         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
46519         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
46520         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
46521         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
46522         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
46523         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
46524         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
46525         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
46526         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
46527         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
46528         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
46529         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
46530         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
46531         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
46532         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
46533         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
46534         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
46535         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
46536         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
46537         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
46538         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
46539         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
46540         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
46541         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
46542         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
46543         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
46544         [XPG3] (acosh): Likewise.
46545         [XPG3] (asinh): Likewise.
46546         [XPG3] (atanh): Likewise.
46547         [XPG3] (cbrt): Likewise.
46548         [XPG3] (expm1): Likewise.
46549         [XPG3] (ilogb): Likewise.
46550         [XPG3] (log1p): Likewise.
46551         [XPG3] (logb): Likewise.
46552         [XPG3] (nextafter): Likewise.
46553         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
46554         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
46555         [XPG3] (remainder): Likewise.
46556         [XPG3] (rint): Likewise.
46557         [XPG3 || XPG4 || UNIX98] (round): Likewise.
46558         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
46559         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
46560         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
46561         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
46562         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
46563         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
46564         [UNIX98 || XOPEN2K] (scalb): Expect.
46565         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
46566         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
46567         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
46568         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
46569         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
46570         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
46571         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
46572         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
46573         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
46574         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
46575         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
46576         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
46577         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
46578         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
46579         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
46580         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
46581         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
46582         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
46583         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
46584         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
46585         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
46586         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
46587         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
46588         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
46589         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
46590         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
46591         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
46592         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
46593         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
46594         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
46595         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
46596         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
46597         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46598         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46599         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46600         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46601         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46602         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46603         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46604         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46605         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46606         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46607         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46608         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46609         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46610         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46611         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46612         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46613         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46614         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46615         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46616         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46617         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46618         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46619         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46620         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46621         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46622         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46623         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46624         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46625         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46626         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46627         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46628         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46629         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46630         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46631         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46632         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46633         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46634         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46635         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46636         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46637         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46638         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46639         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46640         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46641         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46642         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46643         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46644         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46645         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46646         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46647         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46648         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46649         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46650         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46651         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46652         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46653         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46654         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46655         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46656         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46657         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46658         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46659         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46660         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46661         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46662         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46663         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46664         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46665         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46666         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46667         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46668         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46669         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46670         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46671         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46672         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46673         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46674         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46675         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46676         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46677         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46678         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46679         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46680         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46681         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46682         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46683         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46684         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46685         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46686         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46687         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46688         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46689         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46690         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46691         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46692         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46693         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46694         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46695         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46696         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46697         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46698         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46699         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46700         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46701         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46703         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46704         _XOPEN_SOURCE_EXTENDED for XPG4.
46706         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46708         * Makeconfig (localtime): Remove variable.
46709         (inst_localtime-file): Likewise.
46711 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46714         Update.
46715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46716         Update.
46717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46718         Update.
46719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46720         Update.
46721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46722         Update.
46723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46724         Update.
46725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46726         Update.
46727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46728         Update.
46729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46730         Update.
46732 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
46734         [BZ #2550]
46735         [BZ #2570]
46736         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46737         comparisons to determine direction to adjust input.
46738         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46739         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46740         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46741         Likewise.
46742         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46743         Likewise.
46744         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46745         Likewise.
46746         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46747         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46748         Likewise.
46749         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46750         Likewise.
46751         * math/libm-test.inc (nexttoward_test): Add more tests.
46753 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46755         [BZ #14040]
46756         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46757         in version GLIBC_2.1, not GLIBC_2.0.
46758         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46759         Likewise.
46761 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
46763         [BZ #13942]
46764         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46765         (1 - x) * (1 + x).
46766         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46767         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46768         * math/libm-test.inc (acos_test): Add more tests.
46769         (asin_test): Likewise.
46770         * sysdeps/i386/fpu/libm-test-ulps: Update.
46771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46773         [BZ #14034]
46774         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46775         of square root.
46776         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46777         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46778         * math/libm-test.inc (acos_test_tonearest): New function.
46779         (acos_test_towardzero): Likewise.
46780         (acos_test_downward): Likewise.
46781         (acos_test_upward): Likewise.
46782         (asin_test_tonearest): Likewise.
46783         (asin_test_towardzero): Likewise.
46784         (asin_test_downward): Likewise.
46785         (asin_test_upward): Likewise.
46786         (main): Call the new functions.
46787         * sysdeps/i386/fpu/libm-test-ulps: Update.
46788         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46790         [BZ #13884]
46791         [BZ #13924]
46792         * math/e_exp10.c: Include <float.h>.
46793         (__ieee754_exp10): Handle underflow here rather than multiplying
46794         large negative argument by M_LN10.
46795         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46796         of __ieee754_expf.
46797         * math/e_exp10l.c: Include <float.h>.
46798         (__ieee754_exp10l): Handle underflow here rather than multiplying
46799         large negative argument by M_LN10l.
46800         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
46801         spurious overflow exception on underflow.
46803 2012-04-29  Marek Polacek  <polacek@redhat.com>
46805         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46806         (__fortify_function): New macro.
46807         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46808         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46809         __extern_always_inline.
46810         * libio/bits/stdio2.h: Likewise.
46811         * libio/bits/stdio.h: Likewise.
46812         * string/string.h: Likewise.
46813         * string/bits/string3.h: Likewise.
46814         * include/stdio.h: Likewise.
46815         * stdlib/bits/stdlib.h: Likewise.
46816         * stdlib/stdlib.h: Likewise.
46817         * rt/bits/mqueue2.h: Likewise.
46818         * rt/mqueue.h: Likewise.
46819         * posix/bits/unistd.h: Likewise.
46820         * posix/unistd.h: Likewise.
46821         * io/bits/poll2.h: Likewise.
46822         * io/bits/fcntl2.h: Likewise.
46823         * io/fcntl.h: Likewise.
46824         * io/sys/poll.h: Likewise.
46825         * misc/bits/syslog.h: Likewise.
46826         * misc/bits/syslog-ldbl.h: Likewise.
46827         * misc/sys/syslog.h: Likewise.
46828         * socket/bits/socket2.h: Likewise.
46829         * socket/sys/socket.h: Likewise.
46830         * debug/tst-chk1.c: Likewise.
46831         * wcsmbs/bits/wchar2.h: Likewise.
46832         * wcsmbs/bits/wchar-ldbl.h: Likewise.
46833         * wcsmbs/wchar.h: Likewise.
46835 2012-04-29  Andreas Jaeger  <aj@suse.de>
46837         * Makerules (tests): Remove enable-check-abi protection.
46838         (check-abi-warn): Remove.
46839         (check-abi-%): Remove check-abi-warn usage.
46841         * configure.in: Remove check-abi configure option.
46842         * configure: Regenerated.
46843         * config.make.in (enable-check-abi): Remove.
46845 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
46847         [BZ #14033]
46848         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46849         double functions to double *_finite functions.
46851         [BZ #13941]
46852         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46853         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46854         LDBL_MIN_EXP.
46855         * stdio-common/Makefile (tests): Add tst-sprintf3.
46856         * stdio-common/tst-sprintf3.c: New file.
46858         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46859         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46861 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46863         * conform/conformtest.pl: Remove duplicate typed-constant
46864         handling.
46866 2012-04-28  David S. Miller  <davem@davemloft.net>
46868         * Makerules (%.abilist): Add vpath on sysdep_dirs.
46869         (check-abi-%): Remove AWK script prerequisite and explicit
46870         abilist directory.
46871         (check-abi): Rewrite to just diff the symlist with the abilist.
46872         (config-tls, config-abi-config): Delete, no longer used.
46873         (update-abi-%): Remove AWK script and explicit abilist directory.
46874         (update-abi): Rewrite to simply compare and conditionally copy the
46875         symlist and the sysdep abilist file.  Remove update-abi-config
46876         checks.
46877         * abilist/ld.abilist: Remove.
46878         * abilist/libBrokenLocale.abilist: Remove.
46879         * abilist/libanl.abilist: Remove.
46880         * abilist/libcrypt.abilist: Remove.
46881         * abilist/libdl.abilist: Remove.
46882         * abilist/librt.abilist: Remove.
46883         * abilist/libthread_db.abilist: Remove.
46884         * abilist/libutil.abilist: Remove.
46885         * scripts/extract-abilist.awk: Remove.
46886         * scripts/merge-abilist.awk: Remove.
46887         * sysdeps/generic/libcidn.abilist: New file.
46888         * sysdeps/generic/libnss_compat.abilist: New file.
46889         * sysdeps/generic/libnss_db.abilist: New file.
46890         * sysdeps/generic/libnss_dns.abilist: New file.
46891         * sysdeps/generic/libnss_files.abilist: New file.
46892         * sysdeps/generic/libnss_hesiod.abilist: New file.
46893         * sysdeps/generic/libnss_nis.abilist: New file.
46894         * sysdeps/generic/libnss_nisplus.abilist: New file.
46895         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46896         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46897         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46898         file.
46899         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46900         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46901         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46902         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46903         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46904         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46905         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46906         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46907         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46908         file.
46909         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46910         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46911         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46912         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46913         file.
46914         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46915         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46916         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46917         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46918         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46919         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46920         file.
46921         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46922         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46923         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46924         file.
46925         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46926         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46927         New file.
46928         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46929         New file.
46930         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46931         New file.
46932         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46933         New file.
46934         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46935         New file.
46936         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46937         New file.
46938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46939         New file.
46940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46941         New file.
46942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46943         New file.
46944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46945         New file.
46946         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46947         New file.
46948         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46949         New file.
46950         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46951         New file.
46952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46953         file.
46954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46955         New file.
46956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46957         New file.
46958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46959         file.
46960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46961         New file.
46962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46963         New file.
46964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46965         file.
46966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46967         New file.
46968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46969         New file.
46970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46971         New file.
46972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46973         New file.
46974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46975         New file.
46976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46977         New file.
46978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46980         file.
46981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46982         New file.
46983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46984         file.
46985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46986         file.
46987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46988         file.
46989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46990         file.
46991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46992         file.
46993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46994         New file.
46995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46996         file.
46997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46998         file.
46999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47000         New file.
47001         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47002         file.
47003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47005         file.
47006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47007         New file.
47008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47009         file.
47010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47011         file.
47012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47013         file.
47014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47015         file.
47016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47017         file.
47018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47019         New file.
47020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47021         file.
47022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47023         file.
47024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47025         New file.
47026         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47027         file.
47028         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47029         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47030         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47031         file.
47032         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47033         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47034         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47035         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47036         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47037         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47038         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47039         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47040         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47041         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47044         file.
47045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47046         New file.
47047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47048         file.
47049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47050         file.
47051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47052         file.
47053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47054         file.
47055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47056         file.
47057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47058         New file.
47059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47060         New file.
47061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47062         file.
47063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47064         New file.
47065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47066         file.
47067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47069         file.
47070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47071         New file.
47072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47073         file.
47074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47075         file.
47076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47077         file.
47078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47079         file.
47080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47081         file.
47082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47083         New file.
47084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
47085         New file.
47086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
47087         file.
47088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
47089         New file.
47090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
47091         file.
47093 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
47095         * conform/conformtest.pl: Fix typo in handling typed-constant from
47096         allow-header.
47098 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
47100         * README: Cut down references to pre-2.6 Linux kernels and
47101         Linuxthreads.  Update lists of configurations in libc and ports
47102         and sort alphabetically.  Say "or newer" with Linux kernel version
47103         requirements.
47105         * config.h.in [IS_IN_build]: Allow compiling without optimization.
47107 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47109         [BZ #887]
47110         * math/libm-test.inc (logb_test_downward): New test to expose
47111         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
47112         rounding mode.
47114 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
47116         [BZ #14027]
47117         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
47118         to be done.
47119         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
47120         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
47122 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
47124         * sysdeps/unix/i386/brk.S: Remove file.
47125         * sysdeps/unix/i386/dl-brk.S: Likewise.
47126         * sysdeps/unix/i386/pipe.S: Likewise.
47127         * sysdeps/unix/i386/sigreturn.S: Likewise.
47128         * sysdeps/unix/i386/syscall.S: Likewise.
47129         * sysdeps/unix/i386/vfork.S: Likewise.
47130         * sysdeps/unix/i386/wait.S: Likewise.
47132         * sysdeps/unix/common/tcsendbrk.c: Move to ...
47133         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
47135         * configure.in (arm*-none*): Do not allow without
47136         --enable-hacker-mode.
47137         (netbsd*): Remove case setting base_os.
47138         (386bsd*): Likewise.
47139         (freebsd*): Likewise.
47140         (bsdi*): Likewise.
47141         (osf*): Likewise.
47142         (sunos*): Likewise.
47143         (ultrix*): Likewise.
47144         (newsos*): Likewise.
47145         (dynix*): Likewise.
47146         (*bsd*): Likewise.
47147         (sysv*): Likewise.
47148         (isc*): Likewise.
47149         (esix*): Likewise.
47150         (sco*): Likewise.
47151         (minix*): Likewise.
47152         (irix4*): Likewise.
47153         (irix6*): Likewise.
47154         (solaris[2-9]*): Likewise.
47155         (none): Likewise.
47156         * configure: Regenerated.
47158 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47160         [BZ #11521]
47161         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
47162         overflow or cancellation in calculating denominator.
47163         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
47164         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
47165         down expression to avoid unexpected rounding in newer GCCs.
47166         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
47168 2012-04-26  David S. Miller  <davem@davemloft.net>
47170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
47171         long-double compat symbols.
47172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
47176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
47178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
47180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
47181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
47182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
47183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
47184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47186 2012-04-25  David S. Miller  <davem@davemloft.net>
47188         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
47189         HWCAP_* values only after the memory barriers have been defined.
47190         (atomic_full_barrier): Define.
47191         (atomic_read_barrier): Define.
47192         (atomic_write_barrier): Define.
47194 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47196         * shlib-versions: Add libgcc_s version information.
47197         * sysdeps/generic/libgcc_s.h: Remove.
47198         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
47199         libgcc_s.h.
47200         * sysdeps/gnu/unwind-resume.c: Likewise.
47201         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
47203 2012-04-25  David S. Miller  <davem@davemloft.net>
47205         * sysdeps/unix/sparc/brk.S: Delete.
47206         * sysdeps/unix/sparc/dl-brk.S: Delete.
47207         * sysdeps/unix/sparc/pipe.S: Delete.
47208         * sysdeps/unix/sparc/sysdep.S: Delete.
47209         * sysdeps/unix/sparc/sysdep.h: Delete.
47210         * sysdeps/unix/sparc/vfork.S: Delete.
47211         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
47212         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
47213         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
47214         (ret_ERRVAL, r0, r1, MOVE): Define.
47215         (JUMPTARGET): Remove.
47216         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
47217         sysdeps/unix/sparc/sysdep.h
47218         (ENTRY, END): Remove.
47219         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47221 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
47223         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
47224         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
47225         -DIS_IN_build.
47227         * timezone/README: Update upstream location and email address for
47228         tzcode and tzdata.
47229         * timezone/zdump.c: Update from tzcode 2012b.
47230         * timezone/zic.c: Likewise.
47232         * configure.in (libc_cv_as_needed): Remove test.
47233         * configure: Regenerated.
47234         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
47235         conditional definition.
47236         [$(have-as-needed) != yes] (no-as-needed): Likewise.
47237         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
47238         * config.make.in (have-as-needed): Remove variable.
47240 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47241             Paul Pluzhnikov  <ppluzhnikov@google.com>
47243         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
47244         strings correctly.
47246 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
47248         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
47249         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
47250         * sysdeps/sh/strlen.S: Likewise.
47252 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47254         * sysdeps/unix/fork.S: Remove file.
47255         * sysdeps/unix/i386/fork.S: Likewise.
47256         * sysdeps/unix/sparc/fork.S: Likewise.
47258         * sysdeps/unix/system.c: Remove file.
47259         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
47261         * sysdeps/unix/getegid.S: Remove file.
47262         * sysdeps/unix/geteuid.S: Likewise.
47264 2012-04-24  Roland McGrath  <roland@hack.frob.com>
47266         * scripts/check-localplt.awk: New file.
47267         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
47268         of diff.
47269         * scripts/data/localplt-generic.data: Add a comment.
47271         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
47272         NODE when __dir_mkfile failed.
47273         * sysdeps/mach/hurd/symlinkat.c: Likewise.
47274         Reported by Ludovic Courtès <ludo@gnu.org>.
47276 2012-04-24  Andreas Jaeger  <aj@suse.de>
47278         * Makerules (common-clean): Also remove gen-as-const-headers
47279         files.
47281 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47283         * Makerules (native-compile): Do not change working directory for
47284         build.  Use $(OUTPUT_OPTION) in command.
47285         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
47287 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47289         [BZ #13886]
47290         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
47291         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
47292         * math/libm-test.inc (floor_test): Add more tests.
47293         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
47295 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
47297         * sysdeps/unix/getdents.c: Remove file.
47298         * sysdeps/unix/sysv/getdents.c: Likewise.
47299         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
47301         * sysdeps/unix/syscalls.list (madvise): Add syscall from
47302         sysdeps/unix/mman/syscalls.list.
47303         (mmap): Likewise.
47304         (mprotect): Likewise.
47305         (msync): Likewise.
47306         (munmap): Likewise.
47307         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
47308         * sysdeps/unix/mman/syscalls.list: Remove.
47309         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
47311         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
47312         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
47313         * configure: Regenerated.
47314         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47315         $(libgcc_s_suffix).
47316         * config.make.in (libgcc_s_suffix): Remove variable.
47318 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
47320         * sysdeps/unix/sysv/gethostname.c: Move to ...
47321         * sysdeps/posix/gethostname.c: ... here.
47323         * sysdeps/unix/execve.S: Remove file.
47325         * sysdeps/unix/_exit.S: Remove file.
47327 2012-04-23  Andreas Jaeger  <aj@suse.de>
47329         [BZ #13739]
47330         * manual/Makefile: Remove make dist support, there's no
47331         need for a stand-alone documentation tar ball.
47332         (TEXI2DVI): Define always, it's not in Makeconfig.
47333         (dist): Removed.
47334         (tar-it): Removed.
47335         (edition): Removed.
47336         (glibc-doc-$(edition).tar): Removed
47337         (%.Z): Removed.
47338         (%.gz): Removed.
47339         (%.uu): Removed.
47340         (ETAGS): Remove, it's in Makeconfig.
47341         (move-if-change): Remove, it's in Makeconfig.
47343 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
47345         [BZ #13970]
47346         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
47347         (strtod, strtof, strtold, strtol, strtoul, strtoq)
47348         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
47349         (strtod_l, strtof_l, strtold_l): Remove __wur.
47350         It is not necessarily an error to ignore strtol's return value.
47351         One can reliably look at the stored endptr to decide whether
47352         the number had valid syntax.
47354 2012-04-21  Andreas Jaeger  <aj@suse.de>
47356         [BZ #13739]
47357         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
47359 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
47361         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
47362         * sysdeps/unix/sysv/Versions: Remove file.
47364 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
47366         [BZ #13927]
47367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47369 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
47371         [BZ #7064]
47372         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
47373         version from __vm86.
47375 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
47377         * sysdeps/unix/common/lxstat.c: Remove file.
47378         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
47380         * sysdeps/unix/sysv/Makefile: Remove file.
47382         * sysdeps/unix/sysv/direct.h: Remove file.
47384         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
47385         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
47386         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
47387         * sysdeps/unix/sysv/bits/signum.h: Likewise.
47388         * sysdeps/unix/sysv/bits/stat.h: Likewise.
47389         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
47390         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
47392         * sysdeps/unix/sysv/setrlimit.c: Remove file.
47394         * sysdeps/unix/xmknod.c: Remove file.
47395         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
47397         * sysdeps/unix/sysv/settimeofday.c: Remove file.
47399         * sysdeps/unix/sysv/i386/time.S: Remove file.
47401         * sysdeps/unix/fxstat.c: Remove file.
47402         * sysdeps/unix/xstat.c: Likewise.
47403         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
47405         * sysdeps/unix/sysv/sigaction.c: Remove file.
47407         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
47408         (sysdep_headers): Remove variable.
47409         [termio.h not in sysdep_headers] (generated): Likewise.
47410         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
47411         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
47412         * sysdeps/unix/sysv/tcdrain.c: Likewise.
47413         * sysdeps/unix/sysv/tcflow.c: Likewise.
47414         * sysdeps/unix/sysv/tcflush.c: Likewise.
47415         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
47416         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
47417         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
47418         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
47419         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
47421         * sysdeps/unix/siglist.c: Remove file.
47423         * sysdeps/unix/getppid.S: Remove file.
47425         * sysdeps/unix/mkdir.c: Remove file.
47426         * sysdeps/unix/rmdir.c: Likewise.
47428 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
47430         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
47431         ERR_MAX value.
47432         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
47433         errlist-compat value.
47435 2012-04-18  David S. Miller  <davem@davemloft.net>
47437         * sysdeps/generic/memcopy.h (reg_char): Delete.
47438         * debug/strcat_chk.c: Use char, not reg_char.
47439         * debug/strcpy_chk.c: Likewise.
47440         * debug/strncat_chk.c: Likewise.
47441         * debug/strncpy_chk.c: Likewise.
47442         * string/memchr.c: Likewise.
47443         * string/memrchr.c: Likewise.
47444         * string/rawmemchr.c: Likewise.
47445         * string/strcat.c: Likewise.
47446         * string/strchr.c: Likewise.
47447         * string/strchrnul.c: Likewise.
47448         * string/strcmp.c: Likewise.
47449         * string/strcpy.c: Likewise.
47450         * string/strncat.c: Likewise.
47451         * string/strncmp.c: Likewise.
47452         * string/strncpy.c: Likewise.
47454 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47456         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
47457         __builtin_memcopy is called when src and dest ranges are known to not
47458         overlap.
47460 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47462         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
47463         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
47464         fwd_align_merge macro call.
47465         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
47466         bwd_align_merge macro call.
47467         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47469 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
47471         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
47472         bwd_align_merge macros.
47473         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47474         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
47475         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47477 2012-04-18  David S. Miller  <davem@davemloft.net>
47479         * sysdeps/sparc/sparc64/memcopy.h: Delete.
47481 2012-04-18  Andreas Jaeger  <aj@suse.de>
47483         [BZ# 6794]
47484         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
47485         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
47486         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47488         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
47489         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
47490         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47492         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
47493         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
47494         Adjust for changed ldbl-128 files.
47496         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
47497         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
47498         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
47500 2012-04-17  David S. Miller  <davem@davemloft.net>
47502         * sysdeps/sparc/sparc32/memcopy.h: Delete.
47504 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
47506         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
47507         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
47508         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
47509         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
47510         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47511         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
47513 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47515         [BZ #6794]
47516         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
47517         * math/libm-test.inc: Add ilogb errno and exception tests.
47518         * math/w_ilogb.c: New file: ilogb wrapper.
47519         * math/w_ilogbf.c: New file: ilogbf wrapper.
47520         * math/w_ilogbl.c: New file: ilogbl wrapper.
47521         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
47522         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
47523         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
47524         exception being thrown with 0.0 as argument.
47525         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
47526         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
47527         exception being thrown with 0.0 as argument.
47528         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
47529         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47530         exception being thrown with 0.0 as argument.
47531         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
47532         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
47533         exception being thrown with 0.0 as argument.
47534         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
47535         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
47536         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
47537         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
47538         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
47539         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
47540         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
47541         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
47542         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
47544 2012-04-17  Petr Baudis  <pasky@ucw.cz>
47546         * include/sys/uio.h: Change __vector to __iovec to avoid clash
47547         with altivec.
47549 2012-04-16  Marek Polacek  <polacek@redhat.com>
47551         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
47553 2012-04-16  Marek Polacek  <polacek@redhat.com>
47555         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
47556         operands of fdivp instruction.
47558 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
47560         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
47561         * elf/tst-auditmod3b.c: Likewise.
47562         * elf/tst-auditmod4b.c: Likewise.
47563         * elf/tst-auditmod5b.c: Likewise.
47564         * elf/tst-auditmod6b.c: Likewise.
47565         * elf/tst-auditmod6c.c: Likewise.
47566         * elf/tst-auditmod7b.c: Likewise.
47567         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
47568         * sysdeps/x86_64/preconfigure.in: Likewise.
47569         * sysdeps/x86_64/preconfigure: Regenerated.
47571 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
47573         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
47574         __ILP32__.
47576 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
47578         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47579         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
47581 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
47583         [BZ #13973]
47584         * locale/iso-639.def: Fix gl language name. Spotted by
47585         Yaron Shahrabani.
47587 2012-04-12  Roland McGrath  <roland@hack.frob.com>
47589         [BZ #2074]
47590         * libio/libio.h (__io_write_fn): Update comment.
47592 2012-04-12  Petr Baudis  <pasky@ucw.cz>
47594         [BZ #2074]
47595         * stdio.texi (Hook Functions): The user provided writer function
47596         is not allowed to return -1.
47598 2012-04-11  David S. Miller  <davem@davemloft.net>
47600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47602 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
47604         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47605         Add a leading slash to rtkaio.
47607 2012-04-11  Jim Meyering  <meyering@redhat.com>
47609         [BZ #11959]
47610         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47611         It is not necessarily an error to ignore fwrite's return
47612         value.  One can reliably use ferror to test for errors after
47613         the fact.
47615 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
47617         * bits/types.h (__snseconds_t): New type.
47618         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47620         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47621         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47622         (__SNSECONDS_T_TYPE): Likewise.
47623         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47624         (__SNSECONDS_T_TYPE): Likewise.
47625         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47626         (__SNSECONDS_T_TYPE): Likewise.
47628 2012-04-10  Andreas Jaeger  <aj@suse.de>
47630         [BZ #2636]
47631         * manual/time.texi (Processor Time): Return type of times is
47632         elapsed real time since an arbitrary point in the past.
47633         (CPU Time): Move CLK_TCK from here...
47634         (Processor Time): ...to here.  Correct description.
47635         * manual/conf.texi (Constants for Sysconf): Correct description of
47636         _SC_CLK_TCK.
47638 2012-04-10  David S. Miller  <davem@davemloft.net>
47640         [BZ #13967]
47641         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47642         where the is a gap between DT_REL(A) and DT_JMPREL.
47644 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
47646         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47647         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47648         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47650 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47652         * elf/dl-support.c (_dl_inhibit_cache): New variable.
47653         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47654         (dl_main): Handle --inhibit-cache.
47655         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47656         _dl_inhibit_cache.
47657         * elf/dl-load.c (_dl_map_object): Use it.
47658         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47660 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
47662         [BZ #13872]
47663         * sysdeps/i386/fpu/e_powl.S (p78): New object.
47664         (__ieee754_powl): Saturate large exponents rather than testing for
47665         overflow of y*log2(x).
47666         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47667         * math/libm-test.inc (pow_test): Do not permit spurious overflow
47668         exceptions.
47670         [BZ #11521]
47671         * math/s_ctan.c: Include <float.h>.
47672         (__ctan): Avoid internal overflow or cancellation in calculating
47673         denominator.
47674         * math/s_ctanf.c: Likewise.
47675         * math/s_ctanl.c: Likewise.
47676         * math/s_ctanh.c: Likewise.
47677         * math/s_ctanhf.c: Likewise.
47678         * math/s_ctanhl.c: Likewise.
47679         * math/libm-test.inc (ctan_test): Add more tests.
47680         (ctanh_test): Likewise.
47681         * sysdeps/i386/fpu/libm-test-ulps: Update.
47682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47684 2012-04-09  Andreas Jaeger  <aj@suse.de>
47686         [BZ #6894]
47687         * manual/filesys.texi (Directory Entries): Mention that d_namlen
47688         is an optional BSD extension.
47690         [BZ #10254]
47691         * manual/stdio.texi (Opening Streams): Document additional fopen
47692         parameters.
47694 2012-04-09  Roland McGrath  <roland@hack.frob.com>
47696         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47697         %eax without telling the compiler.
47699 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
47701         [BZ # 13963]
47702         * manual/install.texi: Use sourceware.org.
47704 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
47706         [BZ #13873]
47707         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47708         (__ieee754_pow): Generate overflow and underflow using huge*huge
47709         and tiny*tiny rather than just returning constant infinity or zero
47710         for large exponents.
47711         * math/libm-test.inc (pow_test): Require overflow exceptions for
47712         applicable cases of large exponents.
47714         [BZ #706]
47715         * sysdeps/i386/fpu/e_pow.S (p10): New object.
47716         (__ieee754_pow): Use iterative multiplication algorithm only for
47717         integer exponents with absolute value below 1024.  Check for odd
47718         integer exponents when using algorithm for real exponents.
47719         * math/libm-test.inc (pow_test): Add more tests.
47720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47722 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
47724         [BZ #13705]
47725         * math/libm-test.inc (exp_test): Do not allow overflow exception
47726         on underflow test.
47728 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
47730         [BZ #13705]
47731         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47732         instead of __kernel_standard_f.
47734 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
47736         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47737         * sysdeps/x86_64/memset_chk.S: Likewise.
47739 2012-04-08  Andreas Jaeger  <aj@suse.de>
47741         [BZ #10153]
47742         * manual/startup.texi (Environment Access): Describe return value
47743         for putenv and setenv.
47745         [BZ #6895]
47746         * manual/filesys.texi (Directory Entries): Add description for
47747         DT_LNK.
47749         [BZ #6890]
47750         * manual/filesys.texi (Directory Entries): Clarify that it's file
47751         system not operating system in the description of DT_UNKNOWN.
47753         [BZ #6578]
47754         * manual/syslog.texi (closelog): Fix reference, it's openlog.
47756 2012-04-08  Stephen Compall  <s11@member.fsf.org>
47758         [BZ #6649]
47759         * manual/llio.texi (Opening and Closing Files): Add cross
47760         reference to explain mode argument.
47762 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
47764         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47765         * sysdeps/x86_64/memset_chk.S: Likewise.
47767 2012-04-07  David S. Miller  <davem@davemloft.net>
47769         * elf/elf.h (R_SPARC_WDISP10): Define.
47770         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47771         R_SPARC_SIZE32.
47772         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47773         R_SPARC_SIZE64 and R_SPARC_H34.
47775 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
47777         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47778         conditions and remove no longer applicable assertion.
47780 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
47782         * bits/byteswap.h: Include <features.h>.
47783         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47784         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47786 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
47788         * bits/byteswap.h (__bswap_16): Removed.
47789         Include <bits/byteswap-16.h> to get __bswap_16.
47790         * sysdeps/i386/bits/byteswap.h: Likewise.
47791         * sysdeps/s390/bits/byteswap.h: Likewise.
47792         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47793         * bits/byteswap-16.h: New file.
47794         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47795         * sysdeps/s390/bits/byteswap-16.h: Likewise.
47796         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47797         * string/Makefile (headers): Add bits/byteswap-16.h.
47799 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47801         [BZ #13895]
47802         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47803         extra indirection.
47804         * nss/Makefile (tests-static, tests): Add tst-nss-static.
47805         * nss/tst-nss-static.c: New.
47807 2012-04-06  Robert Millan  <rmh@gnu.org>
47809         [BZ #6486]
47810         * manual/llio.texi (File Position Primitive): lseek
47811         refers to WHENCE when it really means OFFSET.
47813 2012-04-06  Andreas Jaeger  <aj@suse.de>
47815         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47816         strncmp declarations.
47818         * abilist/libc.abilist: Add __poll and __ppoll.
47820 2012-04-05  David S. Miller  <davem@davemloft.net>
47822         * scripts/check-local-headers.sh: Accept a host triplet in the
47823         path matched by the exclude regexp.
47825         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47826         definition.
47827         * sysdeps/powerpc/powerpc32/dl-machine.h
47828         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47829         * sysdeps/s390/s390-32/dl-machine.h
47830         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47831         * sysdeps/sparc/sparc32/dl-machine.h
47832         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47833         * sysdeps/sparc/sparc64/dl-machine.h
47834         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47836         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47837         lazy binding.
47838         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
47839         undefined symbol errors.
47841         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
47842         DT_NEEDED entries.
47844 2012-04-05  Michael Matz  <matz@suse.de>
47846         [BZ #13592]
47847         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47849 2012-04-05  Andreas Jaeger  <aj@suse.de>
47851         [BZ #13908]
47852         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47853         comment.
47855 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47857         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47858         which ROUND is no valid rounding mode.
47860 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47862         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47863         read again.
47864         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47866 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47868         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47869         an exception using FPU order intentionally.
47871 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47873         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47874         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47875         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47876         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47878 2012-04-05  Simon Josefsson  <simon@josefsson.org>
47880         [BZ #12340]
47881         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47882         EINVAL when BUFLEN is too smal.
47884 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47886         [BZ #13553]
47887         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47888         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47890 2012-04-03  Andreas Jaeger  <aj@suse.de>
47892         [BZ #13938]
47893         * manual/setjmp.texi (System V contexts): Fix sentence.
47895         [BZ #13926]
47896         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47897         New macro for this case.
47898         [!__GNUC__] (__bswap_64): New inline function for this case.
47899         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47900         * bits/byteswap.h: Likewise.
47901         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47902         ull, guard with __GLIBC_HAVE_LONG_LONG.
47904         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47905         __GLIBC_HAVE_LONG_LONG.
47907         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47908         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47910 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47912         [BZ #13691]
47913         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47914         inptr and inend, rather than using last_ch.
47916 2012-04-02  David S. Miller  <davem@davemloft.net>
47918         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47919         * stdio-common/printf-parse.h (read_int): Change return type to
47920         'int', return -1 on INT_MAX overflow.
47921         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47922         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
47923         overflows INT_MAX.  Check for overflow of in-format-string precision
47924         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
47925         SIZE_MAX not INT_MAX for integer overflow test.
47926         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47927         skip the construct in the format string but do not record anything.
47928         * stdio-common/bug22.c: Adjust to test both width/prevision
47929         INT_MAX overflow as well as total length INT_MAX overflow.  Check
47930         explicitly for proper errno values.
47932 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47934         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47935         CHAR_MAX.
47936         * string/test-strcmp.c [! WIDE]: Likewise.
47937         * time/tst-mktime2.c: Likewise for INT_MAX.
47938         * string/test-string.h: #include <sys/param.h> for MIN.
47940         * csu/init-first.c (__libc_init_first): Call __ctype_init.
47941         * sysdeps/i386/init-first.c (init): Likewise.
47942         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47943         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47944         * sysdeps/sh/init-first.c (init): Likewise.
47946 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
47948         * po/ru.po: Update from translation team.
47949         * po/vi.po: Likewise.
47951 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47953         * resolv/nss_dns/dns-host.c: Merge copyright years.
47955 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47957         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47958         Optimize memcpy with prefetch if
47959         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
47960         src, dst pointers have unequal 16 byte alignments.
47962 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47964         [BZ #13928]
47965         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47966         from a CNAME entry and return the minimum ttl for the query.
47967         (gaih_getanswer_slice): Likewise.
47969 2012-03-30  Jeff Law  <law@redhat.com>
47971         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47972         due to long keys.
47973         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47974         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47976         * resolv/nss_dns/dns-host.c: Update copyright year.
47978 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
47980         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
47981         requests to save a system call.  Fix check that all bytes are sent.
47983         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47984         comments for sendmmsg.
47986 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47988         [BZ #13691]
47989         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47990         with only 1 character between 0x0041 and 0x01b0.
47991         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47992         * wcsmbs/tst-mbsnrtowcs.c: New file.
47994 2012-03-29  David S. Miller  <davem@davemloft.net>
47996         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47997         small copies by hand.
47999 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48001         [BZ #13761]
48002         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48003         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48004         group memberships.
48006 2012-03-28  David S. Miller  <davem@davemloft.net>
48008         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48009         that branches into memcpy.
48010         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48011         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48012         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48013         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48014         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48015         bits.
48016         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48017         implementation too.
48018         * sysdeps/sparc/mempcpy.S: New file.
48020         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48021         the IFUNC routine in the libc case.
48022         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48024         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48025         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48026         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48027         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48028         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48029         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48030         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48031         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48033         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48034         loop to 256 bytes instead of 64 bytes and fix test signedness.
48036         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48037         * sysdeps/sparc/sparc32/Makefile: rather than here...
48038         * sysdeps/sparc/sparc64/Makefile: and here.
48040 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
48042         * malloc/mallocbug.c: Avoid warnings about unused variables.
48044 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48046         [BZ #13760]
48047         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48048         in the right place. Discard and retry query if response is
48049         larger than input buffer size.
48051 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
48053         [BZ #369]
48054         [BZ #2678]
48055         [BZ #3866]
48056         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48057         x for large integer exponent.
48058         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48059         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
48060         sign of result as needed afterwards.
48061         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48062         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48063         result for underflowing pow the same as for overflow.
48064         (__kernel_standard_l): Handle powl overflow and underflow here
48065         rather than calling __kernel_standard.
48066         * math/libm-test.inc (pow_test): Add more tests.
48068         [BZ #3868]
48069         [BZ #13879]
48070         [BZ #13910]
48071         [BZ #13911]
48072         [BZ #13912]
48073         [BZ #13913]
48074         [BZ #13915]
48075         [BZ #13916]
48076         [BZ #13917]
48077         [BZ #13918]
48078         [BZ #13919]
48079         [BZ #13920]
48080         [BZ #13921]
48081         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48082         * sysdeps/ieee754/k_standard.c: Include <float.h>.
48083         (__kernel_standard_l): New function.
48084         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
48085         __kernel_standard.
48086         * math/w_acosl.c (__acosl): Likewise.
48087         * math/w_asinl.c (__asinl): Likewise.
48088         * math/w_atan2l.c (__atan2l): Likewise.
48089         * math/w_atanhl.c (__atanhl): Likewise.
48090         * math/w_coshl.c (__coshl): Likewise.
48091         * math/w_exp10l.c (__exp10l): Likewise.
48092         * math/w_exp2l.c (__exp2l): Likewise.
48093         * math/w_fmodl.c (__fmodl): Likewise.
48094         * math/w_hypotl.c (__hypotl): Likewise.
48095         * math/w_j0l.c (__j0l, __y0l): Likewise.
48096         * math/w_j1l.c (__j1l, __y1l): Likewise.
48097         * math/w_jnl.c (__jnl, __ynl): Likewise.
48098         * math/w_lgammal.c (__lgammal): Likewise.
48099         * math/w_log10l.c (__log10l): Likewise.
48100         * math/w_log2l.c (__log2l): Likewise.
48101         * math/w_logl.c (__logl): Likewise.
48102         * math/w_powl.c (__powl): Likewise.
48103         * math/w_remainderl.c (__remainderl): Likewise.
48104         * math/w_scalbl.c (sysv_scalbl): Likewise.
48105         * math/w_sinhl.c (__sinhl): Likewise.
48106         * math/w_sqrtl.c (__sqrtl): Likewise.
48107         * math/w_tgammal.c (__tgammal): Likewise.
48108         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
48109         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
48110         * math/libm-test.inc (acos_test): Add more tests.
48111         (acosh_test): Likewise.
48112         (asin_test): Likewise.
48113         (atanh_test): Likewise.
48114         (exp_test): Likewise.
48115         (exp10_test): Likewise.
48116         (exp2_test): Likewise.
48117         (expm1_test): Likewise.
48118         (lgamma_test): Likewise.
48119         (log_test): Likewise.
48120         (log10_test): Likewise.
48121         (log1p_test): Likewise.
48122         (log2_test): Likewise.
48123         (pow_test): Do not allow some spurious overflow exceptions.
48124         (sqrt_test): Add more tests.
48125         (tgamma_test): Likewise.
48126         (y0_test): Likewise.
48127         (y1_test): Likewise.
48128         (yn_test): Likewise.
48130 2012-03-27  Anton Blanchard  <anton@samba.org>
48132         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
48133         MAP_HUGETLB.
48134         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48135         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48136         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48138 2012-03-27  David S. Miller  <davem@davemloft.net>
48140         * conform/Makefile: Run run-conformtest.sh using $(BASH).
48142         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
48143         have-as-vis3 check.
48145 2012-03-27  Andreas Jaeger  <aj@suse.de>
48147         * sysdeps/x86_64/elf/configure.in: Moved to ...
48148         * sysdeps/x86_64/configure.in: ... here.
48149         * sysdeps/x86_64/elf/start.S: Moved to ...
48150         * sysdeps/x86_64/start.S: ... here.
48151         * sysdeps/x86_64/elf/configure: Delete.
48153         * sysdeps/x86_64/configure.in: Merge contents from
48154         sysdeps/i386/configure.in (without i686 check).
48156         * sysdeps/i386/elf/Versions: Merge into ...
48157         * sysdeps/i386/Versions: ... this.
48158         * sysdeps/i386/elf/Versions: Delete file.
48159         * sysdeps/i386/elf/start.S: Moved to ...
48160         * sysdeps/i386/start.S: ...here.
48161         * sysdeps/i386/elf/configure.in: Merge into...
48162         * sysdeps/i386/configure.in: ...here.
48163         * sysdeps/i386/elf/configure.in: Delete file.
48164         * sysdeps/i386/elf/configure: Delete file.
48166         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
48167         * debug/backtracesyms.c: ... here.
48168         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
48169         * debug/backtracesymsfd.c: ... here.
48170         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
48171         * sysdeps/generic/ifunc-sel.h: ... here.
48173         * sysdeps/unix/i386/start.c: Delete file.
48174         * sysdeps/unix/sparc/start.c: Delete file.
48175         * sysdeps/unix/start.c: Delete file.
48177         * sysdeps/sh/elf/configure.in: Moved to ...
48178         * sysdeps/sh/configure.in: ... here.
48179         * sysdeps/sh/elf/start.S: Moved to ...
48180         * sysdeps/sh/start.S: ... here.
48181         * sysdeps/sh/elf/configure: Delete file.
48183         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
48184         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
48185         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
48186         * sysdeps/powerpc/powerpc64/entry.h: ... here.
48187         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
48188         * sysdeps/powerpc/powerpc64/start.S: here.
48189         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
48190         * sysdeps/powerpc/powerpc64/Makefile: ... this.
48191         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
48192         * sysdeps/powerpc/powerpc64/configure.in: ... this.
48193         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
48195         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
48196         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
48197         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
48198         * sysdeps/powerpc/powerpc32/start.S: ... here.
48199         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
48200         * sysdeps/powerpc/powerpc32/configure.in: ... this.
48201         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
48203         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
48204         * sysdeps/powerpc/ifunc-sel.h: ... here.
48205         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
48206         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
48208         * sysdeps/sparc/elf/configure.in: Moved to ...
48209         * sysdeps/sparc/configure.in: ... here.
48210         * sysdeps/sparc/elf/configure: Delete file.
48211         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
48212         * sysdeps/sparc/sparc32/start.S: ... here.
48213         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
48214         * sysdeps/sparc/sparc64/start.S: ... here.
48215         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
48216         * sysdeps/sparc/sparc32/Makefile: ... this.
48217         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
48218         * sysdeps/sparc/sparc64/Makefile: ... this.
48220         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
48221         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
48222         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
48223         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
48224         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
48225         * sysdeps/s390/s390-32/setjmp.S: ... here.
48226         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
48227         * sysdeps/s390/s390-32/configure.in: ... here.
48228         * sysdeps/s390/s390-32/elf/configure: Delete file.
48229         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
48230         * sysdeps/s390/s390-32/start.S: ... here.
48232         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
48233         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
48234         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
48235         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
48236         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
48237         * sysdeps/s390/s390-64/setjmp.S: ... here.
48238         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
48239         * sysdeps/s390/s390-64/configure.in: ... here
48240         * sysdeps/s390/s390-64/elf/configure: Delete file.
48241         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
48242         * sysdeps/s390/s390-64/start.S: ... here.
48243         * sysdeps/s390/s390-64/elf/configure: Delete.
48245         * configure.in: Remove support for elf directories in sysdeps.
48247         * configure: Regenerated.
48248         * sysdeps/i386/configure: Regenerated.
48249         * sysdeps/powerpc/powerpc32/configure: Regenerated.
48250         * sysdeps/powerpc/powerpc64/configure: Regenerated.
48251         * sysdeps/s390/s390-32/configure: Regenerated.
48252         * sysdeps/s390/s390-64/configure: Regenerated.
48253         * sysdeps/sh/configure: Regenerated.
48254         * sysdeps/sparc/configure: Regenerated.
48255         * sysdeps/x86_64/configure: Regenerated.
48257 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
48259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48261         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
48262         denormal result into account.
48264 2012-03-25  Roland McGrath  <roland@hack.frob.com>
48266         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
48267         Reported by Allan McRae <allan@archlinux.org>.
48269 2012-03-23  Jeff Law  <law@redhat.com>
48271         * nss/getnssent.c (__nss_getent): Fix typo.
48273 2012-03-23  David S. Miller  <davem@davemloft.net>
48275         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48277 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
48279         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
48280         to pad to uint64_t for each field.
48281         (dl_tls_index): Replace unsigned long with uint64_t.
48283 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
48284         Paul Pluzhnikov  <ppluzhnikov@google.com>
48286         [BZ #6528]
48287         * grp/Makefile (otherlibs): Don't set it.
48288         * inet/Makefile (otherlibs): Likewise.
48289         * login/Makefile (otherlibs): Likewise.
48290         * nscd/Makefile (otherlibs): Likewise.
48291         * posix/Makefile (otherlibs): Likewise.
48292         * pwd/Makefile (otherlibs): Likewise.
48293         * rt/Makefile (otherlibs): Likewise.
48294         * sunrpc/Makefile (otherlibs): Likewise.
48295         * nss/Makefile (otherlibs): Likewise.
48296         Add libnss_files to routines and static-only-routines.
48297         ($(objpfx)getent): Remove rule.
48298         * resolv/Makefile: Add libnss_dns and libresolv to routines and
48299         static-only-routines.
48301 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48303         [BZ #13892]
48304         * math/s_cexp.c: Include <float.h>.
48305         (__cexp): Handle exp result overflowing not necessarily
48306         overflowing both real and imaginary parts of result.
48307         * math/s_cexpf.c: Likewise.
48308         * math/s_cexpl.c: Likewise.
48309         * math/libm-test.inc (cexp_test): Add more tests.
48310         * sysdeps/i386/fpu/libm-test-ulps: Update.
48311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48313 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48315         * include/link.h (ELFW): New macro.
48316         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
48317         Replace ELF64_R_TYPE with ELFW(R_TYPE).
48319 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48321         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
48322         with uint64_t.
48324 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48326         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
48327         declaration.
48328         (struct La_x32_retval): Likewise.
48330 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
48332         * sysdeps/x86_64/preconfigure.in: New file.
48333         * sysdeps/x86_64/preconfigure: New generated file.
48335 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
48337         [BZ #13824]
48338         * math/e_exp2l.c: Include <float.h>.
48339         (__ieee754_exp2l): Handle overflow and underflow cases
48340         separately.  Only pass fractional part of argument to
48341         __ieee754_expl.
48342         * math/libm-test.inc (exp2_test): Add more tests.
48344         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
48345         negating x to take absolute value.
48346         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
48347         Likewise.
48348         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48349         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
48350         Likewise.
48351         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
48352         computing low part if x was negated.
48353         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48355 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48357         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
48358         la_x32_gnu_pltexit.
48359         (pltexit): Cast int_retval to ptrdiff_t.
48360         * elf/tst-auditmod3b.c: Likewise.
48361         * elf/tst-auditmod4b.c: Likewise.
48362         * elf/tst-auditmod5b.c: Likewise.
48363         * elf/tst-auditmod6b.c: Likewise.
48364         * elf/tst-auditmod6c.c: Likewise.
48365         * elf/tst-auditmod7b.c: Likewise.
48367         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
48368         and x32_gnu_pltexit.
48370         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
48371         __ELF_NATIVE_CLASS.
48372         (La_x32_regs): New macro.
48373         (La_x32_retval): Likewise.
48374         (la_x32_gnu_pltenter): New function prototype.
48375         (la_x32_gnu_pltexit): Likewise.
48377 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
48379         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
48380         exponent.
48382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48384         * configure.in (libc_cv_cc_nofma): Check for option to disable
48385         generation of FMA instructions.
48386         * configure: Regenerate.
48387         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
48388         * sysdeps/ieee754/dbl-64/Makefile: New file.
48389         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
48390         Remove brandred-fma4.
48391         (CFLAGS-brandred-fma4.c): Remove.
48392         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
48393         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
48394         define.
48395         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
48396         define.
48398 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48400         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
48401         LLONG_MAX != LONG_MAX.
48402         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48403         (_fitoa_word): Likewise.
48404         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
48405         LLONG_MAX != LONG_MAX.
48406         * stdio-common/_itowa.h: Include <_itoa.h>.
48407         (_itowa_word): Use _ITOA_WORD_TYPE on value.
48408         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
48409         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
48410         only if not defined.
48411         (_ITOA_WORD_TYPE): Likewise.
48412         (_itoa_word): Use _ITOA_WORD_TYPE on value.
48413         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
48415 2012-03-21  David S. Miller  <davem@davemloft.net>
48417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48419 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
48421         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
48422         of x86_64 when setting libc_cv_slibdir, libdir and
48423         libc_cv_localedir.
48424         * sysdeps/unix/sysv/linux/configure: Regenerated.
48426 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48428         * manual/lang.texi (Old Varargs): Remove section.
48429         (How Variadic): Update menu.
48430         (va_start): Do not mention varargs.h.
48432 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48433             Joseph Myers  <joseph@codesourcery.com>
48435         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
48436         link test.
48437         * configure: Regenerated.
48439 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48441         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
48442         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
48443         conformtest.pl
48445 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48447         * NOTES: Remove.
48448         * Makefile (files-for-dist): Remove NOTES.
48449         (NOTES): Remove rule.
48450         * README: Don't refer to NOTES.
48451         * manual/creature.texi: Don't include macros.texi.
48452         * manual/intro.texi (creature.texi): Remove comment referring to
48453         NOTES.
48455         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
48456         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
48457         * configure: Regenerated.
48458         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
48459         LIBC_TRY_CC_OPTION.
48460         (libc_cv_as_i686): Likewise.
48461         (libc_cv_cc_avx): Likewise.
48462         (libc_cv_cc_sse2avx): Likewise.
48463         (libc_cv_cc_fma4): Likewise.
48464         (libc_cv_cc_novzeroupper): Likewise.
48465         * sysdeps/i386/configure: Regenerated.
48467         [BZ #13883]
48468         * sysdeps/i386/fpu/s_cexp.S: Remove.
48469         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48470         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48471         * math/libm-test.inc (cexp_test): Add more tests.
48472         * sysdeps/i386/fpu/libm-test-ulps: Update.
48473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48475 2012-03-21  Allan McRae  <allan@archlinux.org>
48477         * timezone/Makefile: Do not install iso3166.tab and zone.tab
48479 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
48481         [BZ #13871]
48482         * math/w_exp2.c: Do not include <float.h>.
48483         (o_threshold, u_threshold): Remove.
48484         (__exp2): Calculate result before checking finiteness and calling
48485         __kernel_standard.
48486         * math/w_exp2f.c: Likewise.
48487         * math/w_exp2l.c: Likewise.
48488         * math/libm-test.inc (exp2_test): Require overflow exception for
48489         1e6 input.
48491         [BZ #3866]
48492         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
48493         range of signed 64-bit integers before using fistpll.  Remove
48494         checks for whether integers fit in mantissa bits.
48495         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
48496         the range of signed 32-bit integers before using fistpl.  Remove
48497         checks for whether integers fit in mantissa bits.
48498         * sysdeps/i386/fpu/e_powl.S (p64): New object.
48499         (__ieee754_powl): Test for y outside the range of signed 64-bit
48500         integers before using fistpll.  Reduce 64-bit values to 63-bit
48501         ones as needed.
48502         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
48503         divide-by-zero is raised for zero to large negative powers.
48504         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
48505         (__ieee754_powl): Test for y outside the range of signed 64-bit
48506         integers before using fistpll.  Reduce 64-bit values to 63-bit
48507         ones as needed.
48508         * math/libm-test.inc (pow_test): Add more tests.
48510 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48512         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
48513         <stdio-common/_itoa.h>.
48514         * debug/segfault.c: Likewise.
48515         * elf/dl-cache.c: Likewise.
48516         * elf/dl-minimal.c: Likewise.
48517         * elf/dl-misc.c: Likewise.
48518         * elf/dl-sysdep.c: Likewise.
48519         * elf/dl-version.c: Likewise.
48520         * elf/rtld.c: Likewise.
48521         * hurd/hurdsock.c: Likewise.
48522         * hurd/lookup-retry.c: Likewise.
48523         * malloc/malloc.c: Likewise.
48524         * malloc/mtrace.c: Likewise.
48525         * nscd/nscd_getgr_r.c: Likewise.
48526         * nscd/nscd_getpw_r.c: Likewise.
48527         * nscd/nscd_getserv_r.c: Likewise.
48528         * posix/getopt_init.c: Likewise.
48529         * posix/wordexp.c: Likewise.
48530         * stdio-common/_itoa.c: Likewise.
48531         * stdio-common/printf_fphex.c: Likewise.
48532         * stdio-common/vfprintf.c: Likewise.
48533         * string/_strerror.c: Likewise.
48534         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
48535         * sysdeps/i386/i686/hp-timing.h: Likewise.
48536         * sysdeps/mach/_strerror.c: Likewise.
48537         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
48538         * sysdeps/mach/hurd/sethostid.c: Likewise.
48539         * sysdeps/mach/hurd/xmknodat.c: Likewise.
48540         * sysdeps/mach/xpg-strerror.c: Likewise.
48541         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48542         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48543         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
48544         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
48545         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48546         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
48547         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48548         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48549         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
48550         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
48551         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
48552         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48553         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
48554         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48555         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48556         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
48557         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
48558         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
48559         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48560         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48561         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
48563         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
48565         * stdio-common/_itoa.h: Moved to ...
48566         * sysdeps/generic/_itoa.h: Here.
48568         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
48570         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
48571         instead of "_itoa.h" and "_itowa.h".
48572         * stdio-common/vfprintf.: Likewise.
48574 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48576         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
48577         <bits/wordsize.h>.
48578         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
48579         (__signbit): Likwise.
48580         (llrintf): Likwise.
48581         (llrint): Likwise.
48583 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
48585         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
48586         __WORDSIZE != 64.
48588 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
48590         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
48591         OVERFLOW_EXCEPTION_OK.
48592         * math/libm-test.inc ("Philosophy"): Update comment about
48593         exception testing.
48594         (OVERFLOW_EXCEPTION): Define.
48595         (OVERFLOW_EXCEPTION_OK): Likewise.
48596         (INVALID_EXCEPTION_OK): Renumber.
48597         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48598         (IGNORE_ZERO_INF_SIGN): Likewise.
48599         (test_exceptions): Handle FE_OVERFLOW.
48600         (exp10_test): Expect overflow exceptions.
48601         (exp2_test): Likewise.
48602         (expm1_test): Likewise.
48603         (nextafter_test): Likewise.
48604         (pow_test): Likewise.
48605         (scalbn_test): Likewise.
48606         (scalbln_test): Likewise.
48608 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48610         * sysdeps/x86_64/bits/atomic.h
48611         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48612         64bit integer.
48613         (atomic_exchange_acq): Likewise.
48614         (__arch_exchange_and_add_body): Likewise.
48615         (__arch_add_body): Likewise.
48616         (atomic_add_negative): Likewise.
48617         (atomic_add_zero): Likewise.
48619 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48621         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
48622         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48624 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48626         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48627         Check __x86_64__ instead of __WORDSIZE.
48629 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48631         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48633 2012-03-19  David S. Miller  <davem@davemloft.net>
48635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48637         * sysdeps/sparc/fpu/fenv_private.h: New file.
48638         * sysdeps/sparc/fpu/math_private.h: Use it.
48639         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48640         Remove.
48641         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
48642         (libc_feholdexcept_setroundl): Remove.
48643         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48644         Remove.
48645         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48646         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48648 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48650         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48651         int64_t instead of long int.
48652         (INSERT_WORDS64): Likwise.
48654 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
48656         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48657         _Unwind_GetCFA return to _Unwind_Ptr first.
48659 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
48661         [BZ #13629]
48662         * math/s_clog.c: Include <float.h>.
48663         (__clog): Scale large or subnormal inputs.
48664         * math/s_clogf.c: Likewise.
48665         * math/s_clogl.c: Likewise.
48666         * math/s_clog10.c: Include <float.h>.
48667         (M_LOG10_2): Define.
48668         (__clog10): Scale large or subnormal inputs.
48669         * math/s_clog10f.c: Likewise.
48670         * math/s_clog10l.c: Likewise.
48671         * math/libm-test.inc (clog_test): Add more tests.
48672         (clog10_test): Likewise.
48673         * sysdeps/i386/fpu/libm-test-ulps: Update.
48674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48676         [BZ #11451]
48677         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48678         x and y.
48679         * math/libm-test.inc (atan2_test): Add another test.
48681         * Makerules (common-objdir-compile): Remove.
48682         * sysdeps/unix/Makefile (config-generated): Do not add
48683         $(unix-generated) to variable.
48684         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48685         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48686         Remove rule.
48687         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48688         Likewise.
48689         [generic bits/local_lim.h] (before-compile): Do not append to
48690         variable.
48691         [generic bits/local_lim.h] (common-generated): Likewise.
48692         [generic sys/param.h] (before-compile): Do not append to variable.
48693         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48694         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48695         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48696         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48697         include.
48698         [generic sys/param.h] (sys/param.h-includes): Remove variable.
48699         [generic sys/param.h] (sys/param.h-includes): Remove rule.
48700         [generic sys/param.h] ($(addprefix
48701         $(common-objpfx),$(sys/param.h-includes))): Likewise.
48702         [generic sys/param.h] (common-generated): Do not append to
48703         variable.
48704         [generic sys/param.h] (sysdep_headers): Likewise.
48705         [generic bits/errno.h] (before-compile): Do not append to
48706         variable.
48707         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48708         rule.
48709         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48710         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48711         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48712         [generic bits/errno.h] (common-generated): Do not append to
48713         variable.
48714         [generic bits/ioctls.h] (before-compile): Do not append to
48715         variable.
48716         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48717         rule.
48718         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48719         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48720         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48721         rule.
48722         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48723         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48724         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48725         [generic bits/ioctls.h] (common-generated): Do not append to
48726         variable.
48727         [generic sys/syscall.h] (syscall.h): Remove variable.
48728         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48729         rule.
48730         [generic sys/syscall.h] (before-compile): Do not append to
48731         variable.
48732         [generic sys/syscall.h] (common-generated): Likewise.
48733         * sysdeps/unix/errnos-tmpl.c: Remove file.
48734         * sysdeps/unix/errnos.awk: Likewise.
48735         * sysdeps/unix/ioctls-tmpl.c: Likewise.
48736         * sysdeps/unix/ioctls.awk: Likewise.
48737         * sysdeps/unix/mk-local_lim.c: Likewise.
48738         * sysdeps/unix/snarf-ioctls: Likewise.
48740 2012-03-19  Richard Henderson  <rth@twiddle.net>
48742         * sysdeps/i386/fpu/fenv_private.h: New file.
48743         * sysdeps/i386/fpu/math_private.h: Use it.
48744         (math_opt_barrier, math_force_eval): Remove.
48745         (libc_feholdexcept_setround_53bit): Remove.
48746         (libc_feupdateenv_53bit): Remove.
48747         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48748         (math_opt_barrier, math_force_eval): Remove.
48749         (libc_feholdexcept): Remove.
48750         (libc_feholdexcept_setround): Remove.
48751         (libc_fetestexcept, libc_fesetenv): Remove.
48752         (libc_feupdateenv_test): Remove.
48753         (libc_feupdateenv, libc_feholdsetround): Remove.
48754         (libc_feresetround): Remove.
48756         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48757         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48759         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48760         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48761         (libc_feupdateenv_testl): New.
48762         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48763         (libc_feupdateenv_testf): New.
48764         (libc_feupdateenv): Use libc_feupdateenv_test.
48765         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48766         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48768         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48769         (libc_feholdsetroundf, libc_feholdsetroundl): New.
48770         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48771         (libc_feresetround_noex): New.
48772         (libc_feresetround_noexf): New.
48773         (libc_feresetround_noexl): New.
48774         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48775         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48776         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48777         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48778         SET_RESTORE_ROUND.
48779         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48780         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48781         (__cos): Likewise.
48782         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48783         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48784         SET_RESTORE_ROUND_NOEX.
48785         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48786         SET_RESTORE_ROUND_NOEXF.
48787         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48788         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48789         (libc_feholdsetroundf): New.
48790         (libc_feresetround, libc_feresetroundf): New.
48792         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48793         (libc_feholdexcept_setround_53bit): Convert from macro to function.
48794         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
48796         * sysdeps/generic/math_private.h: Include <fenv.h>.
48797         (default_libc_feholdexcept): New.
48798         (default_libc_feholdexcept_setround): New.
48799         (default_libc_fesetenv, default_libc_feupdateenv): New.
48800         (libc_feholdexcept): Only define if undefined.
48801         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48802         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48803         (libc_feholdexcept_setroundl): Likewise.
48804         (libc_feholdexcept_setround_53bit): Likewise.
48805         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48806         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48807         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48808         (libc_feupdateenv_53bit): Likewise.
48809         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48810         (libc_feholdexcept): Convert from macro to inline function.
48811         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48812         (libc_fesetenv, libc_feupdateenv): Likewise.
48814         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48815         not previously defined.
48816         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48817         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48818         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48819         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48820         * sysdeps/ieee754/flt-32/math_private.h: New file.
48821         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48822         math_private.h below SET_FLOAT_WORD.
48823         (__isnan, __isinf_ns, __finite): Remove.
48824         (__isnanf, __isinf_nsf, __finitef): Remove.
48826 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
48828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48830 2012-03-17  David S. Miller  <davem@davemloft.net>
48832         [BZ #6471]
48833         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48834         for 2.16.
48836 2012-03-16  David S. Miller  <davem@davemloft.net>
48838         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48839         warnings.
48841         [BZ #6471]
48842         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48843         properly.
48844         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48845         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48846         sysdep_routines when subdir is sysvipc.
48847         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48848         __getshmlba helper.
48850         * sysdeps/sparc/fpu/libm-test/ulps: Update.
48852 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48854         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48855         [__LP64__].
48857 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48859         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48860         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48861         (__lround): Renamed to ...
48862         (__llround): This.  Replace long int with long long int.
48863         Define lround functions as aliases of llround functions.
48864         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48866 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48868         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48869         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
48870         adresses to uintptr_t.  Replace "long int" and "unsigned long
48871         int" with "greg_t" on va_arg.
48873 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48875         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48876         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48878         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48879         Move e_machine check before EI_CLASS check.  Handle x32
48880         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48881         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48882         SKIP_EM_IA_64 and include
48883         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48885         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48886         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48887         (add_system_dir): New macro.
48889         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48890         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48892 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48894         [BZ #2551]
48895         [BZ #2552]
48896         [BZ #2553]
48897         [BZ #2554]
48898         [BZ #2562]
48899         [BZ #2563]
48900         [BZ #2565]
48901         [BZ #2566]
48902         [BZ #2576]
48903         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48904         (y0): Likewise.
48905         * math/w_j0f.c (j0f): Likewise.
48906         (y0f): Likewise.
48907         * math/w_j0l.c (__j0l): Likewise.
48908         (__y0l): Likewise.
48909         * math/w_j1.c (j1): Likewise.
48910         (y1): Likewise.
48911         * math/w_j1f.c (j1f): Likewise.
48912         (y1f): Likewise.
48913         * math/w_j1l.c (__j1l): Likewise.
48914         (__y1l): Likewise.
48915         * math/w_jn.c (jn): Likewise.
48916         (yn): Likewise.
48917         * math/w_jnf.c (jnf): Likewise.
48918         (ynf): Likewise.
48919         * math/w_jnl.c (__jnl): Likewise.
48920         (__ynl): Likewise.
48921         * math/libm-test.inc (j0_test): Add more tests.
48922         (j1_test): Likewise.
48923         (jn_test): Likewise.  Add trailing semicolon to existing test.
48924         (y0_test): Likewise.
48925         (y1_test): Likewise.
48926         * sysdeps/i386/fpu/libm-test-ulps: Update.
48927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48929         [BZ #13851]
48930         [BZ #13854]
48931         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48932         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48933         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48934         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48935         (__tanl): Set errno for infinite argument.
48936         * sysdeps/i386/fpu/mptan.c: Remove.
48937         * sysdeps/i386/fpu/s_tan.S: Likewise.
48938         * sysdeps/i386/fpu/s_tanl.S: Likewise.
48939         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48940         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48941         * math/libm-test.inc (tan_test): Add more tests and enable more
48942         tests for double and long double.
48943         * sysdeps/i386/fpu/libm-test-ulps: Update.
48944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48946 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
48948         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48949         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48951 2012-03-16  Roland McGrath  <roland@hack.frob.com>
48953         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48954         * configure.in: Use it for both main tree and add-ons.
48955         * configure: Regenerated.
48957 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
48959         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48961 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
48963         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48964         in comment.
48966         [BZ #13851]
48967         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48968         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48969         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48970         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48971         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48972         infinite argument.
48973         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48974         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48975         != 0 for prec == 2.
48976         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48977         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48978         * sysdeps/i386/fpu/s_cosl.S: Likewise.
48979         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48980         * sysdeps/i386/fpu/s_sinl.S: Likewise.
48981         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48982         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48983         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48984         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48985         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48986         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48987         * math/libm-test.inc (cos_test): Add more tests and enable more
48988         tests for long double.
48989         (sin_test): Likewise.
48990         (sincos_test): Likewise.
48991         * sysdeps/i386/fpu/libm-test-ulps: Update.
48992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48994 2012-03-16  David S. Miller  <davem@davemloft.net>
48996         * sysdeps/sparc/fpu/math_private.h: New file.
48998 2012-03-15  David S. Miller  <davem@davemloft.net>
49000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49001         file.
49002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
49003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49004         file.
49005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49010         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49011         sysdep routines.
49012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49014         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49015         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49017         * sysdeps/sparc/sparc-ifunc.h: New file.
49018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49019         sparc-ifunc.h
49020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49022         Likewise.
49023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49024         Likewise.
49025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49029         Likewise.
49030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
49034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49035         Likewise.
49036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49037         Likewise.
49038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49042         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49043         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49044         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49045         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49046         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49047         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49051         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49052         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49053         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49054         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49055         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49056         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49057         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49058         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49059         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49060         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49061         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49063 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
49065         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49066         scaling.
49067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49069 2012-03-15  Andreas Jaeger  <aj@suse.de>
49071         [BZ #13852]
49072         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49073         ieee754/flt-32 implementation for sin, cos and sincos.
49074         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49075         * sysdeps/i386/fpu/s_cosf.S: Likewise.
49076         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49077         * sysdeps/i386/fpu/s_sinf.S: Likewise.
49078         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49079         ieee754/flt-32 implementation for tan.
49081         * math/libm-test.inc (cos_test): Enable some large input tests for
49082         float as well
49083         (sin_test): Likewise.
49084         (sincos_test): Likewise.
49085         (tan_test): Add tests for large input.
49087         * sysdeps/i386/fpu/libm-test-ulps: Update.
49089 2012-03-15  Andreas Jaeger  <aj@suse.de>
49091         [BZ #13658]
49092         * math/libm-test.inc (cos_test): Add more test cases.
49093         (sin_test): Likewise.
49094         (sincos_test): Likewise.
49096 2012-03-15  Andreas Jaeger  <aj@suse.de>
49098         [BZ #13837]
49099         * math/libm-test.inc (cos_test): Add a test case for large input
49100         value.
49101         (sin_test): Likewise.
49102         (sincos_test): Likewise.
49104 2012-03-15  Andreas Jaeger  <aj@suse.de>
49105             Joseph Myers  <joseph@codesourcery.com>
49107         [BZ #13658]
49108         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
49109         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
49110         * sysdeps/i386/fpu/branred.c: Likewise.
49111         * sysdeps/i386/fpu/dosincos.c: Likewise.
49112         * sysdeps/i386/fpu/mpa.c: Likewise.
49113         * sysdeps/i386/fpu/s_cos.S: Likewise.
49114         * sysdeps/i386/fpu/s_sin.S: Likewise.
49115         * sysdeps/i386/fpu/s_sincos.S: Likewise.
49116         * sysdeps/i386/fpu/sincos32.c: Likewise.
49118         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
49119         Define.
49120         (libc_feupdateenv_53bit): Define.
49121         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
49122         Define.
49123         (libc_feupdateenv_53bit): Define.
49125         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
49126         53 bit (without extend i386 double precision).
49128         * math/libm-test.inc (sincos_test): Add tests for large input.
49129         (sin): Likewise.
49130         (cos): Likewise.
49132         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
49134 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
49136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49138 2012-03-15  David S. Miller  <davem@davemloft.net>
49140         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
49141         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
49142         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
49143         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
49144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
49145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
49146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
49147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
49148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
49149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
49150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
49151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
49152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
49153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
49154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
49155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
49156         file.
49157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
49158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
49159         file.
49160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
49161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
49162         file.
49163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
49164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
49165         file.
49166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
49167         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
49168         fmin/fmax sysdep routines.
49169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49171 2012-03-14  David S. Miller  <davem@davemloft.net>
49173         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
49174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
49175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
49176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
49177         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
49178         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
49179         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
49180         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
49181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
49182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
49183         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
49184         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
49185         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
49186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
49187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
49188         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
49189         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
49190         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
49191         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
49192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
49193         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
49194         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
49195         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
49196         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
49197         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
49198         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
49199         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
49200         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
49201         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
49202         routines.
49203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
49204         file.
49205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
49206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
49207         file.
49208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
49209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
49210         file.
49211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
49212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
49213         file.
49214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
49215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
49216         file.
49217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
49218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
49219         file.
49220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
49221         file.
49222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
49223         file.
49224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
49225         file.
49226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
49227         New file.
49228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
49229         file.
49230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
49231         file.
49232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
49233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
49234         file.
49235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
49236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
49237         file.
49238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
49239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
49240         file.
49241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
49242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
49243         VIS3 routines.
49245         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49246         New file.
49248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49250         * sysdeps/sparc/configure.in: New file.
49251         * sysdeps/sparc/configure: Generate.
49252         * configure.in (libc_cv_sparc_as_vis3): Substitute.
49253         * configure: Regenerate.
49254         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
49255         * config.make.in (have-as-vis3): New.
49256         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
49257         available use -Av9d instead of -Av9a.
49258         * sysdeps/sparc/sparc64/Makefile: Likewise.
49259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
49260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
49261         New file.
49262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
49263         file.
49264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
49265         New file.
49266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
49267         file.
49268         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
49269         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
49270         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
49271         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
49272         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
49274         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
49275         fzeros/fnegs to load 0x80000000 into a float register instead of
49276         using the stack.
49277         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
49279 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49281         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49282         bits/syscall.h.
49283         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
49284         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
49285         ($(inst_includedir)/bits/syscall.h): Remove rule.
49286         ($(objpfx)bits/syscall.d): Include instead of
49287         $(objpfx)syscall-list.d.
49288         (generated): Change syscall-list.h and syscall-list.d to
49289         bits/syscall.h and bits/syscall.d.
49291 2012-03-14  Roland McGrath  <roland@hack.frob.com>
49293         [BZ #13846]
49294         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
49296 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
49298         [BZ #13841]
49299         * math/s_csqrt.c: Include <float.h>.
49300         (__csqrt): Scale large or subnormal inputs.
49301         * math/s_csqrtf.c: Likewise.
49302         * math/s_csqrtl.c: Likewise.
49303         * math/libm-test.inc (csqrt_test): Add more tests.
49304         * sysdeps/i386/fpu/libm-test-ulps: Update.
49305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49307         [BZ #13840]
49308         * math/libm-test.inc (hypot_test): Add more tests.
49310 2012-03-13  David S. Miller  <davem@davemloft.net>
49312         [BZ #13840]
49313         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
49314         double-precision for the calculation instead of scaling.
49316 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
49318         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
49319         manipulate bits before adding and subtracting TWO52[sx].
49320         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
49321         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
49322         Likewise.
49323         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
49325 2012-03-13  David S. Miller  <davem@davemloft.net>
49327         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
49328         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
49329         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
49330         rtld-global-offsets.h
49331         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49333         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
49334         large parameters.
49336         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
49338         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
49339         'err' in the ifdef scope in which it is actually used.
49341         * nss/nss_db/db-init.c: Include string.h
49343 2012-03-12  David S. Miller  <davem@davemloft.net>
49345         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49346         masking out of the most significant byte of random value used.
49347         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49348         Fix coding style in previous change.
49350         * sysdeps/unix/sysv/linux/kernel-features.h
49351         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
49352         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
49353         expression.
49354         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
49355         later.
49357 2012-03-11  David S. Miller  <davem@davemloft.net>
49359         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49360         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
49361         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
49362         for 'resultvar' otherwise things get truncated on 64-bit.
49364         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49365         Fix masking out of the most significant byte of random value used.
49367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49369 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
49371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49373 2012-03-09  David S. Miller  <davem@davemloft.net>
49375         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
49376         variables with appropriate CPP guards.
49377         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
49378         from the frame pointer, not the stack pointer.  Correct layout
49379         comments.  Fix test on resulting framesize and the management of
49380         the outregs buffer for pltexit.  Preserve floating point return
49381         values across _dl_call_pltexit call.
49382         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
49383         framesize and the management of the outregs buffer for pltexit.
49384         Preserve floating point return values across _dl_call_pltexit
49385         call.
49386         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
49387         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
49388         (la_sparc64_gnu_pltexit): New functions.
49389         (print_exit): Fix format string for return register value.
49391 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
49393         * sunrpc/Makefile (others): Add rpcgen.
49394         ($(objpfx)rpcgen): Remove special build rule and dependency on
49395         libc.
49396         * sunrpc/rpcgen.c: New file.
49398 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
49400         [BZ #13673]
49401         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
49402         * stdio-common/bug-vfprintf-nargs.c: Likewise.
49403         * sysdeps/i386/crti.S: Likewise.
49404         * sysdeps/i386/crtn.S: Likewise.
49405         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
49406         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
49407         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
49408         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
49409         * sysdeps/sh/crti.S: Likewise.
49410         * sysdeps/sh/crtn.S: Likewise.
49411         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49413         [BZ #13673]
49414         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
49415         with URL.
49416         * locale/programs/locfile-kw.gperf: Likewise.
49417         * locale/programs/charmap-kw.h: Regenerated.
49418         * locale/programs/locfile-kw.h: Likewise.
49420         [BZ #13673]
49421         * intl/plural.y: Replace FSF snail mail address with URL.
49422         * intl/plural.c: Regenerated.
49424 2012-03-09  Richard Henderson  <rth@twiddle.net>
49426         * include/math_private.h: Remove file.
49427         * math/math_private.h: Move file ...
49428         * sysdeps/generic/math_private.h: ... here.
49430         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
49431         * sysdeps/powerpc/fpu/math_private.h: Likewise.
49432         * sysdeps/x86_64/fpu/math_private.h: Likewise.
49434         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
49435         and <math_private.h>.
49436         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49437         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49438         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49439         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49440         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49441         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
49442         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49443         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49444         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49445         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49446         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49447         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49448         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49449         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49450         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49451         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49452         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49453         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49454         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49455         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49456         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49457         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49458         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49459         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49460         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
49461         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49462         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49463         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49464         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49465         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49466         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49467         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49468         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
49469         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49470         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49471         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49472         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49473         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49474         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49475         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49476         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
49477         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49478         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49479         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
49480         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
49481         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49482         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
49483         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
49484         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49485         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49486         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
49487         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
49488         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
49489         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49490         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
49491         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49492         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49493         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49494         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
49495         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
49496         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49497         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
49498         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49499         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49500         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
49501         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49502         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49503         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49504         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
49505         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
49506         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49507         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49508         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49509         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49510         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
49511         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
49512         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
49513         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49514         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
49515         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
49516         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49517         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
49518         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49519         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49520         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49521         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49522         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
49523         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
49524         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49525         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49526         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49527         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49528         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49529         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49530         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49531         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49532         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49533         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49534         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49535         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49536         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49537         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49538         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49539         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49540         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49541         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49542         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49543         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49544         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49545         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49546         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49547         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49548         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49549         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49550         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
49551         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49552         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49553         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49554         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49555         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49556         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49557         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49558         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49559         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
49560         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49561         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49562         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49563         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
49564         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49565         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
49566         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
49567         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49568         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49569         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
49570         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
49571         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49572         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49573         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49574         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
49575         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49576         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49577         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49578         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49579         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
49580         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
49581         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49582         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49583         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49584         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
49585         * sysdeps/ieee754/k_standard.c: Likewise.
49586         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49587         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49588         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49589         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49590         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49591         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49592         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49593         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49594         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49595         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49596         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49597         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49598         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49599         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49600         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49601         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49602         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49603         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49604         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49605         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49606         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49607         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49608         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49609         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49610         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49611         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49612         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49613         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49614         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49615         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49616         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49617         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49618         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49619         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49620         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49621         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49622         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49623         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49624         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49625         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49626         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49627         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49628         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49629         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49630         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49631         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49632         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49633         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49634         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49635         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49636         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49637         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49638         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49639         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49640         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49641         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49642         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49643         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49644         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49645         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49646         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49647         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49648         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49649         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49650         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49651         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49652         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49653         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49654         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49655         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49656         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49657         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49658         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49659         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49660         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49661         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49662         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49663         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49664         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49665         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49666         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49667         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49668         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49669         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49670         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49671         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49672         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49673         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49674         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49675         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49676         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49677         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49678         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49679         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49680         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49681         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49682         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49683         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49684         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49685         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49686         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49687         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49688         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49689         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49690         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49691         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49692         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49693         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49694         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49695         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49696         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49697         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49698         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49699         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49700         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49701         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49702         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49703         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49704         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49705         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49706         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49707         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49708         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49709         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49710         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49711         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49712         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49713         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49714         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49715         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49716         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49717         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49718         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49719         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49720         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49721         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49722         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49723         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49724         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49725         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49726         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49727         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49728         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49729         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49730         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49731         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49732         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49733         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49734         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49735         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49736         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49737         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49738         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49739         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49740         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49741         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49742         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49743         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49744         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49745         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49746         * sysdeps/ieee754/s_lib_version.c: Likewise.
49747         * sysdeps/ieee754/s_matherr.c: Likewise.
49748         * sysdeps/ieee754/s_signgam.c: Likewise.
49749         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49750         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49751         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49752         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49753         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49754         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49755         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49756         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49757         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49758         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49759         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49760         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49761         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49762         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49763         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49764         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49765         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49766         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49767         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49768         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49769         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49771 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
49773         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49774         * sunrpc/rpc_main.c: Likewise.
49775         * sunrpc/rpc_svcout.c: Likewise.
49777 2012-03-09  David S. Miller  <davem@davemloft.net>
49779         * include/math_private.h: New file.
49781 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
49783         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49784         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49785         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49786         from <bits/socket_type.h>.
49787         (enum __socket_type): Don't define here.
49788         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49789         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49790         bits/socket_type.h.
49792         [BZ #13566]
49793         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49794         checking __USE_GNU.
49796         * Makerules ($(inst_includedir)/%.h): New rule.
49797         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49798         (install-others): Remove variable setting.
49799         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49801 2012-03-08  Richard Henderson  <rth@twiddle.net>
49803         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49804         from macro to inline function; merge with the
49805         !__LIBC_INTERNAL_MATH_INLINES version.
49806         (__ieee754_sqrtf): Likewise.
49808         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49809         to inline function.
49810         (__rintf, __floor, __floorf): Likewise.
49812         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49813         macro to inline function.
49814         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49816         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49817         not <math/math_private.h>.
49819 2012-03-08  David S. Miller  <davem@davemloft.net>
49821         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49822         copyright year.
49823         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49825 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
49827         * resolv/gai_misc.c (handle_requests): Fix struct timespec
49828         normalization.
49829         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49830         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49832 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
49834         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
49835         be defined individually, they must be defined as a block.  Define
49836         S for printing a string instead of hidint the different by using a
49837         macro for adding the 'l'.
49838         * stdio-common/tst-fphex-wide.c: Adjust.
49840 2012-03-07  Marek Polacek  <polacek@redhat.com>
49842         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49844 2012-03-08  Marek Polacek  <polacek@redhat.com>
49846         [BZ #13806]
49847         * stdio-common/Makefile (tests): Add tst-fphex-wide.
49848         * stdio-common/tst-fphex.c: Define a few macros to make the
49849         test reusable.  Use them.
49850         * stdio-common/tst-fphex-wide.c: New file.
49852 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
49854         [BZ #6911]
49855         * manual/macros.texi (gnusystems): New macro.
49856         (nongnusystems): Likewise.
49857         (gnulinuxhurdsystems): Likewise.
49858         (gnuhurdsystems): Likewise..
49859         (gnulinuxsystems): Likewise.
49860         * manual/charset.texi: Use new macros or @theglibc{} to refer to
49861         variants of the GNU system, not "GNU system".
49862         * manual/conf.texi: Likewise.
49863         * manual/errno.texi: Likewise.  Update example of errno macro
49864         expansion.
49865         * manual/filesys.texi: Likewise.
49866         (getumask): Document as specific to GNU/Hurd.
49867         * manual/install.texi: Likewise.  Reword some references to
49868         GNU/Linux.
49869         * manual/intro.texi: Likewise.
49870         * manual/io.texi: Likewise.
49871         (File Name Portability): Detail which constraints are inapplicable
49872         to all GNU systems and which are only inapplicable to GNU/Hurd.
49873         * manual/job.texi: Likewise.
49874         * manual/llio.texi: Likewise.
49875         (O_NOCTTY): Document as present on GNU/Linux.
49876         * manual/maint.texi: Likewise.
49877         * manual/memory.texi: Likewise.
49878         * manual/pattern.texi: Likewise.
49879         * manual/pipe.texi: Likewise.
49880         * manual/process.texi: Likewise.
49881         * manual/resource.texi: Likewise.
49882         (RUSAGE_CHILDREN): Remove statement about specifying a particular
49883         child on GNU/Hurd.
49884         * manual/setjmp.texi: Likewise.
49885         * manual/signal.texi: Likewise.
49886         * manual/startup.texi: Likewise.
49887         * manual/stdio.texi: Likewise.
49888         * manual/terminal.texi: Likewise.
49889         (ONLCR): Document as POSIX.
49890         (OXTABS): Document availability on GNU/Linux as XTABS.
49891         (ONOEOT): Document availability separately from other bits.
49892         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49893         * manual/time.texi: Likewise.
49894         * manual/users.texi: Likewise.
49895         * INSTALL: Regenerated.
49896         * sysdeps/gnu/errlist.c: Regenerated.
49898         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49899         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49900         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
49901         puts.
49902         * configure: Regenerated.
49904 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
49906         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49907         default includes instead of AC_HEADER_CHECK.
49908         * sysdeps/i386/configure: Regenerated.
49910         [BZ #10716]
49911         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49912         * math/s_cacoshf.c (__cacoshf): Likewise.
49913         * math/s_cacoshl.c (__cacoshl): Likewise.
49914         * math/s_casinh.c (__casinh): Set signs of result from argument.
49915         * math/s_casinhf.c (__casinhf): Likewise.
49916         * math/s_casinhl.c (__casinhl): Likewise.
49917         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49918         (casinh_test): Add more tests.
49919         * sysdeps/i386/fpu/libm-test-ulps: Update.
49920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49922 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
49924         * po/zh_TW.po: Update from translation team.
49926         * login/Makefile (distribute): Remove variable.
49927         * catgets/Makefile: Likewise.
49928         * mach/Makefile: Likewise.
49929         * malloc/Makefile: Likewise.
49930         * misc/Makefile: Likewise.
49931         * iconv/Makefile: Likewise.
49932         * nscd/Makefile: Likewise.
49933         * hurd/Makefile: Likewise.
49934         * manual/Makefile: Likewise.
49935         * locale/Makefile: Likewise.
49936         * intl/Makefile: Likewise.
49937         * conform/Makefile: Likewise.
49938         * nss/Makefile: Likewise.
49939         * time/Makefile: Likewise.
49940         * soft-fp/Makefile: Likewise.
49941         * dirent/Makefile: Likewise.
49942         * gmon/Makefile: Likewise.
49943         * po/Makefile: Likewise.
49944         * rt/Makefile: Likewise.
49945         * socket/Makefile: Likewise.
49946         * math/Makefile: Likewise.
49947         * signal/Makefile: Likewise.
49948         * debug/Makefile: Likewise.
49949         * elf/Makefile: Likewise.
49950         * timezone/Makefile: Likewise.
49951         * stdlib/Makefile: Likewise.
49952         * iconvdata/Makefile: Likewise.
49953         * sunrpc/Makefile: Likewise.
49954         * io/Makefile: Likewise.
49955         * argp/Makefile: Likewise.
49956         * inet/Makefile: Likewise.
49957         * hesiod/Makefile: Likewise.
49958         * grp/Makefile: Likewise.
49959         * csu/Makefile: Likewise.
49960         * wctype/Makefile: Likewise.
49961         * crypt/Makefile: Likewise.
49962         * libio/Makefile: Likewise.
49963         * string/Makefile: Likewise.
49964         * nis/Makefile: Likewise.
49965         * resolv/Makefile: Likewise.
49966         * stdio-common/Makefile: Likewise.
49967         * wcsmbs/Makefile: Likewise.
49968         * dlfcn/Makefile: Likewise.
49969         * posix/Makefile: Likewise.
49971         [BZ #6959]
49972         * timezone/Makefile: Don't install timezone files, just the programs
49973         and scripts.
49975 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
49977         * nss/databases.def: Add missing gshadow entry.
49979         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
49981 2012-03-06  Marek Polacek  <polacek@redhat.com>
49983         [BZ #13726]
49984         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49985         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49986         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49987         * stdio-common/tst-long-dbl-fphex.c: New file.
49989 2012-03-06  David S. Miller  <davem@davemloft.net>
49991         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49992         (set_obp_int): New function.
49993         (get_obp_int): New function.
49994         (__get_clockfreq_via_dev_openprom): Likewise.
49995         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49996         Avoid unused variable warnings on 'val' and use builtin_expect.
49997         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49998         __builtin_expect.
49999         (INLINE_CLONE_SYSCALL): Likewise.
50001 2012-03-05  David S. Miller  <davem@davemloft.net>
50003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50005 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
50007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50009         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50010         only for |x| >= 40.
50011         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50013 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
50015         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50016         Replace gettimeofday with __vdso_gettimeofday.
50018         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50019         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50020         __vdso_clock_gettime and __vdso_getcpu.
50022         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50023         time with __vdso_time.
50025 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50027         * manual/lang.texi (size_t): Note types to which size_t may be
50028         equivalent with the GNU C Library, but do not describe when
50029         differences between them are significant.
50031 2012-03-05  Andreas Jaeger  <aj@suse.de>
50033         * sysdeps/i386/fpu/libm-test-ulps: Update.
50035 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
50037         [BZ #3976]
50038         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50039         (__ieee754_pow): Save and restore rounding mode and use
50040         round-to-nearest for main computations.
50041         * math/libm-test.inc (pow_test_tonearest): New function.
50042         (pow_test_towardzero): Likewise.
50043         (pow_test_downward): Likewise.
50044         (pow_test_upward): Likewise.
50045         (main): Call the new functions.
50046         * sysdeps/i386/fpu/libm-test-ulps: Update.
50047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50049         [BZ #3976]
50050         * math/libm-test.inc (cosh_test_tonearest): New function.
50051         (cosh_test_towardzero): Likewise.
50052         (cosh_test_downward): Likewise.
50053         (cosh_test_upward): Likewise.
50054         (sinh_test_tonearest): Likewise.
50055         (sinh_test_towardzero): Likewise.
50056         (sinh_test_downward): Likewise.
50057         (sinh_test_upward): Likewise.
50058         (main): Call the new functions.
50059         * sysdeps/i386/fpu/libm-test-ulps: Update.
50060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50062 2012-03-05  Tom de Vries  <tom@codesourcery.com>
50064         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50065         default stack guard is set in last bytes.
50066         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50068 2012-03-05  Kees Cook  <keescook@chromium.org>
50070         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
50072         [BZ #13656]
50073         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50074         possibly allocate from heap instead of stack.
50075         * stdio-common/bug-vfprintf-nargs.c: New file.
50076         * stdio-common/Makefile (tests): Add nargs overflow test.
50078 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
50080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50082 2012-03-03  Marek Polacek  <polacek@redhat.com>
50084         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
50085         * math/math_private.h: Likewise.
50086         * stdlib/tst-strtod.c: Likewise.
50087         * sysdeps/i386/i486/bits/atomic.h: Likewise.
50088         * sysdeps/x86_64/bits/atomic.h: Likewise.
50090 2012-03-02  David S. Miller  <davem@davemloft.net>
50092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
50093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
50094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
50095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
50096         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
50097         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
50098         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
50099         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
50101 2012-03-02  Roland McGrath  <roland@hack.frob.com>
50103         [BZ #13792]
50104         * manual/examples/README: New file, says the example source files
50105         can be used under GPL>=2.
50106         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
50107         line containing just "*/".
50108         * manual/examples/add.c: Add copyright header (GPL>=2).
50109         * manual/examples/argp-ex1.c: Likewise.
50110         * manual/examples/argp-ex2.c: Likewise.
50111         * manual/examples/argp-ex3.c: Likewise.
50112         * manual/examples/argp-ex4.c: Likewise.
50113         * manual/examples/atexit.c: Likewise.
50114         * manual/examples/db.c: Likewise.
50115         * manual/examples/dir.c: Likewise.
50116         * manual/examples/dir2.c: Likewise.
50117         * manual/examples/execinfo.c: Likewise.
50118         * manual/examples/filecli.c: Likewise.
50119         * manual/examples/filesrv.c: Likewise.
50120         * manual/examples/fmtmsgexpl.c: Likewise.
50121         * manual/examples/genpass.c: Likewise.
50122         * manual/examples/inetcli.c: Likewise.
50123         * manual/examples/inetsrv.c: Likewise.
50124         * manual/examples/isockad.c: Likewise.
50125         * manual/examples/longopt.c: Likewise.
50126         * manual/examples/memopen.c: Likewise.
50127         * manual/examples/memstrm.c: Likewise.
50128         * manual/examples/mkfsock.c: Likewise.
50129         * manual/examples/mkisock.c: Likewise.
50130         * manual/examples/mygetpass.c: Likewise.
50131         * manual/examples/pipe.c: Likewise.
50132         * manual/examples/popen.c: Likewise.
50133         * manual/examples/rprintf.c: Likewise.
50134         * manual/examples/search.c: Likewise.
50135         * manual/examples/select.c: Likewise.
50136         * manual/examples/setjmp.c: Likewise.
50137         * manual/examples/sigh1.c: Likewise.
50138         * manual/examples/sigusr.c: Likewise.
50139         * manual/examples/stpcpy.c: Likewise.
50140         * manual/examples/strdupa.c: Likewise.
50141         * manual/examples/strftim.c: Likewise.
50142         * manual/examples/strncat.c: Likewise.
50143         * manual/examples/subopt.c: Likewise.
50144         * manual/examples/swapcontext.c: Likewise.
50145         * manual/examples/termios.c: Likewise.
50146         * manual/examples/testopt.c: Likewise.
50147         * manual/examples/testpass.c: Likewise.
50148         * manual/examples/timeval_subtract.c: Likewise.
50150         [BZ #13792]
50151         * manual/time.texi (Elapsed Time): Move timeval_subtract example
50152         function to ...
50153         * manual/timeval_subtract.c.texi: ... here, new file.
50155 2012-03-02  David S. Miller  <davem@davemloft.net>
50157         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
50159 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
50161         [BZ #3976]
50162         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
50163         (__sin): Save and restore rounding mode and use round-to-nearest
50164         for all computations.
50165         (__cos): Save and restore rounding mode and use round-to-nearest
50166         for all computations.
50167         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
50168         <fenv.h>.
50169         (tan): Save and restore rounding mode and use round-to-nearest for
50170         all computations.
50171         * math/libm-test.inc (cos_test_tonearest): New function.
50172         (cos_test_towardzero): Likewise.
50173         (cos_test_downward): Likewise.
50174         (cos_test_upward): Likewise.
50175         (sin_test_tonearest): Likewise.
50176         (sin_test_towardzero): Likewise.
50177         (sin_test_downward): Likewise.
50178         (sin_test_upward): Likewise.
50179         (tan_test_tonearest): Likewise.
50180         (tan_test_towardzero): Likewise.
50181         (tan_test_downward): Likewise.
50182         (tan_test_upward): Likewise.
50183         (main): Call the new functions.
50184         * sysdeps/i386/fpu/libm-test-ulps: Update.
50185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50187         [BZ #10135]
50188         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
50189         small n, then large n, before computing and testing k+n.
50190         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50191         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
50192         Likewise.
50193         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
50194         Likewise.
50195         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
50196         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
50197         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
50198         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
50199         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
50200         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
50201         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
50202         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
50203         * math/libm-test.inc (scalbn_test): Add more tests.
50204         (scalbln_test): Likewise.
50206         * manual/filesys.texi (mode_t): Describe constraints on size and
50207         signedness, not exact equivalence to a particular type.
50208         (ino_t): Likewise.
50209         (ino64_t): Likewise.
50210         (dev_t): Likewise.
50211         (nlink_t): Likewise.
50212         (blkcnt_t): Likewise.
50213         (blkcnt64_t): Likewise.
50214         * manual/llio.texi (off_t): Likewise.
50216         [BZ #3976]
50217         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
50218         (__ieee754_exp): Save and restore rounding mode and use
50219         round-to-nearest for all computations.
50220         * math/libm-test.inc (exp_test_tonearest): New function.
50221         (exp_test_towardzero): Likewise.
50222         (exp_test_downward): Likewise.
50223         (exp_test_upward): Likewise.
50224         (main): Call the new functions.
50225         * sysdeps/i386/fpu/libm-test-ulps: Update.
50226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50228 2012-03-01  Chris Demetriou  <cgd@google.com>
50230         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
50231         have predictable order.
50233 2012-03-01  David S. Miller  <davem@davemloft.net>
50235         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
50237         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
50238         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
50239         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
50240         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
50242         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
50243         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
50244         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
50245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
50246         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
50247         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
50248         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
50249         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
50250         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
50252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50254         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
50255         * sysdeps/sparc/fpu/libm-test-ulps: to here.
50256         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
50258         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
50259         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50260         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50261         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
50262         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
50263         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
50264         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
50265         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50266         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50267         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
50268         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
50269         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50270         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50271         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50272         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50273         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50274         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
50275         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
50276         * sysdeps/sparc/elf/configure: Regenerated.
50278 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
50280         * configure.in (AS, LD): Require binutils 2.20 or later.
50281         * configure: Regenerated.
50282         * manual/install.texi (Tools for Compilation): Give binutils 2.20
50283         as required minimum version.
50284         * INSTALL: Regenerated.
50286         [BZ #2541]
50287         [BZ #4108]
50288         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
50289         before squaring exponent.
50290         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
50291         bottom long double and 27 bits of top long double before squaring
50292         exponent.
50293         * math/libm-test.inc (erfc_test): Add more tests.
50294         * sysdeps/i386/fpu/libm-test-ulps: Update.
50295         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50298 2012-03-01  Kai Tietz  <ktietz@redhat.com>
50300         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
50301         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
50302         containing bit-fields.
50303         * soft-fp/extended.h (_FP_UNION_E): Likewise.
50304         * soft-fp/single.h (_FP_UNION_S): Likewise.
50305         * soft-fp/double.h (_FP_UNION_D): Likewise.
50307 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50309         [BZ #13786]
50310         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
50311         not include ../strcmp.S.
50312         [USE_AS_STRNCASECMP_L]: Likewise.
50313         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
50314         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
50315         * sysdeps/i386/i686/multiarch/strncase_l-c.c
50316         (__strncasecmp_l_ia32): Define as alias to
50317         __strncasecmp_l_nonascii.
50319         [BZ #5794]
50320         * math/libm-test.inc (expm1_test): Add test for bug 5794.
50321         * sysdeps/i386/fpu/libm-test-ulps: Update.
50322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50324         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
50325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50327 2012-02-29  Jeff Law  <law@redhat.com>
50329         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
50330         out of bounds read.
50332 2012-02-29  Marek Polacek  <polacek@redhat.com>
50334         [BZ #13706]
50335         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
50336         * elf/Makefile: Add rules to run tst-unused-dep.out.
50338 2012-02-28  David S. Miller  <davem@davemloft.net>
50340         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
50341         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
50342         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
50343         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
50344         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
50345         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
50347 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
50349         * math/libm-test.inc (llround_test): Move one test from
50350         lround_test.  Use TEST_f_L in moved test.
50351         (lround_test): Move misplaced test to llround_test.  Add testcase
50352         from bug 2561.
50354 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
50356         * sysdeps/x86_64/fpu/e_expf.S: New file.
50357         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
50359 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
50361         [BZ #13637]
50362         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
50363         of remain_len that may cause incomplete multi-byte character and
50364         false match.
50365         * posix/bug-regex33.c: New file.
50366         * posix/Makefile (tests): Add bug-regex33.
50368 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
50370         * manual/macros.texi: New file.
50371         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
50372         * manual/libc.texinfo: Include macros.texi.
50373         * manual/creatute.texi: Likewise.
50374         * manual/install.texi: Likewise.
50375         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
50376         @glibcadj{} in references to the GNU C Library.
50377         * manual/charset.texi: Likewise.
50378         * manual/conf.texi: Likewise.
50379         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
50380         when not using those macros.
50381         * manual/creature.texi: Likewise.
50382         * manual/crypt.texi: Likewise.
50383         * manual/errno.texi: Likewise.
50384         * manual/filesys.texi: Likewise.
50385         * manual/header.texi: Likewise.
50386         * manual/install.texi: Likewise.
50387         * manual/intro.texi: Likewise.
50388         * manual/io.texi: Likewise.
50389         * manual/job.texi: Likewise.
50390         * manual/lang.texi: Likewise.
50391         * manual/libc.texiinfo: Likewise.
50392         * manual/llio.texi: Likewise.
50393         * manual/locale.texi: Likewise.
50394         * manual/maint.texi: Likewise.
50395         * manual/math.texi: Likewise.
50396         * manual/memory.texi: Likewise.
50397         * manual/message.texi: Likewise.
50398         * manual/nss.texi: Likewise.
50399         * manual/pattern.texi: Likewise.
50400         * manual/process.texi: Likewise.
50401         * manual/resource.texi: Likewise.
50402         * manual/search.texi: Likewise.
50403         * manual/setjmp.texi: Likewise.
50404         * manual/signal.texi: Likewise.
50405         * manual/socket.texi: Likewise.
50406         * manual/startup.texi: Likewise.
50407         * manual/stdio.texi: Likewise.
50408         * manual/string.texi: Likewise.
50409         * manual/sysinfo.texi: Likewise.
50410         * manual/syslog.texi: Likewise.
50411         * manual/terminal.texi: Likewise.
50412         * manual/time.texi: Likewise.
50413         * manual/users.texi: Likewise.
50414         * INSTALL: Regenerated.
50415         * NOTES: Regenerated.
50416         * sysdeps/gnu/errlist.c: Regenerated.
50418 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
50420         * include/dirent.h: Include <dirstream.h> before
50421         <dirent/dirent.h>.
50423 2012-02-28  David S. Miller  <davem@davemloft.net>
50425         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
50426         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
50427         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
50428         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
50430 2012-02-27  David S. Miller  <davem@davemloft.net>
50432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
50433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
50434         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
50435         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
50437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
50438         frame pointer instead of stack pointer relative arg slot.
50439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50440         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50441         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50443 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
50445         [BZ #3992]
50446         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
50448 2012-02-27  David S. Miller  <davem@davemloft.net>
50450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
50451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
50452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
50454         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
50455         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
50456         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
50457         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
50459 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
50461         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
50462         later.  Allow versions 5-9.
50463         * configure: Regenerated.
50464         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
50465         required minimum version and 4.6 as recommended version.  Do not
50466         mention bugs in GCC 2.7 and 2.8.
50467         * INSTALL: Regenerated.
50469 2012-02-27  David S. Miller  <davem@davemloft.net>
50471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
50472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
50473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
50474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
50475         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
50476         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
50477         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
50478         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
50480         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
50481         manipulate bits before adding and subtracting TWO112[sx].
50482         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50484 2012-02-27  Roland McGrath  <roland@hack.frob.com>
50486         [BZ #13775]
50487         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
50488         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
50489         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
50490         being in POSIX, because they are in 1003.1-2008.
50492         * rt/tst-aio.c: Include <fcntl.h>.
50493         * rt/tst-aio7.c: Likewise.
50494         * rt/tst-aio64.c: Likewise.
50496         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
50498 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
50500         * manual/install.texi (--with-headers): Describe headers as
50501         interface headers, not private headers.
50502         (Specific advice for GNU/Linux systems): Describe use of headers
50503         from "make headers_install", not private headers from older
50504         kernels.
50505         * INSTALL: Regenerated.
50506         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
50507         Change to 2.6.19.
50508         * sysdeps/unix/sysv/linux/configure: Regenerated.
50510         * manual/llio.texi (fclean): Remove documentation.
50512         * manual/Makefile (libc-texi-generated): New variable.  Include
50513         version.texi.
50514         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
50515         $(libc-texi-generated), not duplicated list of files.
50516         (version.texi, stamp-version): New rules.
50517         (realclean): Remove $(libc-texi-generated), not individual files
50518         from that list.  Do not remove dir-add.texinfo.
50519         * manual/libc.texinfo: Comment out uses of edition numbers and
50520         references to printed manual.  Remove last-updated dates.
50521         (EDITION): Comment out.
50522         (ISBN): Likewise.
50523         (VERSION, UPDATED): Remove.
50524         (version.texi): Include.
50526 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
50528         * sysdeps/posix/spawni.c: Include <signal.h>.
50529         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
50530         * sysdeps/pthread/aio_fsync.c: Likewise.
50532 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
50534         * conform/Makefile (tests): Run only when not cross-compiling and
50535         when fast-check is not defined.
50537         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
50538         * conform/data/limits.h-data: Fixes for POSIX2008.
50539         * conform/run-conformtest.sh: Run all tests.
50540         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
50541         headers.
50542         * include/bits/dlfcn.h: Likewise.
50543         * include/langinfo.h: Likewise.
50544         * include/monetary.h: Likewise.
50545         * include/sys/poll.h: Likewise.
50547         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
50548         for __USE_GNU.
50549         * posix/spawn.h: Define __need_sigset_t.
50550         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
50551         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
50552         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
50553         to get sigevent_t only.
50554         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
50555         only for __USE_GNU.
50556         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50557         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50558         process_vm_writev only for __USE_GNU.
50559         * termios/termios.h: Declare tcgetsid also for POSIX2008.
50561         * conform/Makefile: For now ignore errors from run-conformtest.
50562         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
50563         POSIX to avoid namespace pollution.  Don't prepend headers.
50564         * conform/data/aio.h-data: Fixes for POSIX testing.
50565         * conform/data/fcntl.h-data: Likewise.
50566         * conform/data/glob.h-data: Likewise.
50567         * conform/data/grp.h-data: Likewise.
50568         * conform/data/pthread.h-data: Likewise.
50569         * conform/data/pwd.h-data: Likewise.
50570         * conform/data/signal.h-data: Likewise.
50571         * conform/data/spawn.h-data: Likewise.
50572         * conform/data/stdio.h-data: Likewise.
50573         * conform/data/stdlib.h-data: Likewise.
50574         * conform/data/stropts.h-data: Likewise.
50575         * conform/data/sys/mman.h-data: Likewise.
50576         * conform/data/sys/stat.h-data: Likewise.
50577         * conform/data/sys/types.h-data: Likewise.
50578         * conform/data/sys/wait.h-data: Likewise.
50579         * conform/data/time.h-data: Likewise.
50580         * conform/data/unistd.h-data: Likewise.
50581         * conform/data/utime.h-data: Likewise.
50583         * io/sys/stat.h: fchmod was always in POSIX.
50584         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
50585         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
50586         * rt/aio.h: Define __need_timespec before including <time.h>.
50587         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
50588         struct.  Add forward declaration of pthread_attr_t and use it in
50589         sigevent.
50590         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50591         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50592         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
50593         always remove CLK_TCK definition.
50595 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
50597         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50599 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
50601         * conform/run-conformtest.sh: New file.
50602         * conform/Makefile: Run run-conformtest for tests.
50603         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
50604         support.
50606         * conform/data/uchar.h-data: New file.
50607         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50608         * conform/data/arpa/inet.h-data: Likewise.
50609         * conform/data/assert.h-data: Likewise.
50610         * conform/data/complex.h-data: Likewise.
50611         * conform/data/cpio.h-data: Likewise.
50612         * conform/data/ctype.h-data: Likewise.
50613         * conform/data/dirent.h-data: Likewise.
50614         * conform/data/dlfcn.h-data: Likewise.
50615         * conform/data/errno.h-data: Likewise.
50616         * conform/data/fcntl.h-data: Likewise.
50617         * conform/data/float.h-data: Likewise.
50618         * conform/data/fmtmsg.h-data: Likewise.
50619         * conform/data/fnmatch.h-data: Likewise.
50620         * conform/data/ftw.h-data: Likewise.
50621         * conform/data/glob.h-data: Likewise.
50622         * conform/data/grp.h-data: Likewise.
50623         * conform/data/iconv.h-data: Likewise.
50624         * conform/data/inttypes.h-data: Likewise.
50625         * conform/data/langinfo.h-data: Likewise.
50626         * conform/data/libgen.h-data: Likewise.
50627         * conform/data/limits.h-data: Likewise.
50628         * conform/data/locale.h-data: Likewise.
50629         * conform/data/math.h-data: Likewise.
50630         * conform/data/monetary.h-data: Likewise.
50631         * conform/data/mqueue.h-data: Likewise.
50632         * conform/data/ndbm.h-data: Likewise.
50633         * conform/data/net/if.h-data: Likewise.
50634         * conform/data/netdb.h-data: Likewise.
50635         * conform/data/netinet/in.h-data: Likewise.
50636         * conform/data/nl_types.h-data: Likewise.
50637         * conform/data/poll.h-data: Likewise.
50638         * conform/data/pthread.h-data: Likewise.
50639         * conform/data/pwd.h-data: Likewise.
50640         * conform/data/regex.h-data: Likewise.
50641         * conform/data/sched.h-data: Likewise.
50642         * conform/data/search.h-data: Likewise.
50643         * conform/data/semaphore.h-data: Likewise.
50644         * conform/data/setjmp.h-data: Likewise.
50645         * conform/data/signal.h-data: Likewise.
50646         * conform/data/spawn.h-data: Likewise.
50647         * conform/data/stdarg.h-data: Likewise.
50648         * conform/data/stdio.h-data: Likewise.
50649         * conform/data/stdlib.h-data: Likewise.
50650         * conform/data/string.h-data: Likewise.
50651         * conform/data/strings.h-data: Likewise.
50652         * conform/data/stropts.h-data: Likewise.
50653         * conform/data/sys/ipc.h-data: Likewise.
50654         * conform/data/sys/mman.h-data: Likewise.
50655         * conform/data/sys/msg.h-data: Likewise.
50656         * conform/data/sys/resource.h-data: Likewise.
50657         * conform/data/sys/select.h-data: Likewise.
50658         * conform/data/sys/sem.h-data: Likewise.
50659         * conform/data/sys/shm.h-data: Likewise.
50660         * conform/data/sys/socket.h-data: Likewise.
50661         * conform/data/sys/stat.h-data: Likewise.
50662         * conform/data/sys/statvfs.h-data: Likewise.
50663         * conform/data/sys/time.h-data: Likewise.
50664         * conform/data/sys/timeb.h-data: Likewise.
50665         * conform/data/sys/times.h-data: Likewise.
50666         * conform/data/sys/types.h-data: Likewise.
50667         * conform/data/sys/uio.h-data: Likewise.
50668         * conform/data/sys/un.h-data: Likewise.
50669         * conform/data/sys/utsname.h-data: Likewise.
50670         * conform/data/sys/wait.h-data: Likewise.
50671         * conform/data/syslog.h-data: Likewise.
50672         * conform/data/tar.h-data: Likewise.
50673         * conform/data/termios.h-data: Likewise.
50674         * conform/data/utime.h-data: Likewise.
50675         * conform/data/utmpx.h-data: Likewise.
50676         * conform/data/varargs.h-data: Likewise.
50677         * conform/data/wchar.h-data: Likewise.
50678         * conform/data/wctype.h-data: Likewise.
50679         * conform/data/wordexp.h-data: Likewise.
50681         * include/stropts.h: New file.
50682         * include/uchar.h: New file.
50683         * include/aio.h: Changes to allow conformtest.pl to use the headers.
50684         * include/assert.h: Likewise.
50685         * include/ctype.h: Likewise.
50686         * include/dirent.h: Likewise.
50687         * include/dlfcn.h: Likewise.
50688         * include/fcntl.h: Likewise.
50689         * include/fnmatch.h: Likewise.
50690         * include/glob.h: Likewise.
50691         * include/grp.h: Likewise.
50692         * include/libio.h: Likewise.
50693         * include/locale.h: Likewise.
50694         * include/math.h: Likewise.
50695         * include/net/if.h: Likewise.
50696         * include/netdb.h: Likewise.
50697         * include/netinet/in.h: Likewise.
50698         * include/pthread.h: Likewise.
50699         * include/pwd.h: Likewise.
50700         * include/regex.h: Likewise.
50701         * include/sched.h: Likewise.
50702         * include/search.h: Likewise.
50703         * include/setjmp.h: Likewise.
50704         * include/signal.h: Likewise.
50705         * include/stdio.h: Likewise.
50706         * include/stdlib.h: Likewise.
50707         * include/string.h: Likewise.
50708         * include/sys/cdefs.h: Likewise.
50709         * include/sys/mman.h: Likewise.
50710         * include/sys/msg.h: Likewise.
50711         * include/sys/resource.h: Likewise.
50712         * include/sys/select.h: Likewise.
50713         * include/sys/socket.h: Likewise.
50714         * include/sys/stat.h: Likewise.
50715         * include/sys/statvfs.h: Likewise.
50716         * include/sys/time.h: Likewise.
50717         * include/sys/times.h: Likewise.
50718         * include/sys/uio.h: Likewise.
50719         * include/sys/utsname.h: Likewise.
50720         * include/sys/wait.h: Likewise.
50721         * include/termios.h: Likewise.
50722         * include/time.h: Likewise.
50723         * include/ulimit.h: Likewise.
50724         * include/unistd.h: Likewise.
50725         * include/utime.h: Likewise.
50726         * include/wchar.h: Likewise.
50727         * include/wctype.h: Likewise.
50728         * include/wordexp.h: Likewise.
50730         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50732         * time/time.h: TIME_UTC must be a macro.
50733         Make timespec_get available for ISO C11 only as well.
50735 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
50737         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50738         Reported by Peng Haitao <penght@cn.fujitsu.com>.
50740 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50742         * configure.in: Use -o not -a in test for unsupported multi-arch.
50744 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50746         * manual/texinfo.tex: Update to version 2012-01-19.16.
50748 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
50750         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50752 2012-02-24  Roland McGrath  <roland@hack.frob.com>
50754         [BZ #13738]
50755         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50756         * manual/fdl-1.3.texi: New file.
50757         * manual/fdl-1.1.texi: File removed.
50759         [BZ #13738]
50760         * manual/libc.texinfo (FDL_VERSION): New @set.
50761         Use it for mention of FDL in cover text.
50762         (Documentation License): Use it in @include file name.
50764 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50765             Roland McGrath  <roland@hack.frob.com>
50767         [BZ #5461]
50768         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50769         (not LONG_LONG_MAX and LONG_LONG_MIN.
50770         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50771         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
50772         name.
50773         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50775 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50777         [BZ #2547]
50778         [BZ #11365]
50779         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50780         manipulate bits before adding and subtracting TWO23[sx].
50781         * math/libm-test.inc (nearbyint_test): Add more tests.
50783 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50785         [BZ #2548]
50786         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50787         bits before adding and subtracting TWO23[sx].
50788         * math/libm-test.inc (rint_test): Add more tests.
50789         (rint_test_tonearest): Likewise.
50790         (rint_test_towardzero): Likewise.
50791         (rint_test_downward): Likewise.
50792         (rint_test_upward: Likewise.
50794 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50796         [BZ #10110]
50797         * include/stdc-predef.h: New file.  Extracted from features.h.
50798         * include/features.h: Include stdc-predef.h.
50799         * Makefile (headers): Add stdc-predef.h.
50800         * CONFORMANCE (Compiler limitations): Update.
50802 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
50804         * manual/libc.texinfo (VERSION, UPDATED): Revert.
50806 2012-02-21  David S. Miller  <davem@davemloft.net>
50808         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50809         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50811 2012-02-20  David S. Miller  <davem@davemloft.net>
50813         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50814         using a normal save/restore sequence, rather than allocating a
50815         dummy stack frame just to store a frame pointer and restore.
50816         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50818 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50820         * manual/install.texi: Fix stray word in line-wrapped comment.
50822 2012-02-20  David S. Miller  <davem@davemloft.net>
50824         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50825         both binutils and gcc support GOTDATA.
50827         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50828         "rd %pc" in the PIC register setup sequences.
50830         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50831         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50832         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50833         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50834         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50835         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50836         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50837         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50838         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50839         (SYSCALL_ERROR_HANDLER): Likewise.
50840         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50841         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50842         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50843         (SYSCALL_ERROR_HANDLER): Likewise.
50845         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50846         (HAVE_GCC_GOTDATA): New.
50847         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50848         relocation support in both binutils and gcc.
50849         * sysdeps/sparc/elf/configure: Regenerate.
50851         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50852         * sysdeps/sparc/sparc32/elf/configure: Delete.
50853         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50854         * sysdeps/sparc/sparc64/elf/configure: Delete.
50855         * sysdeps/sparc/elf/configure.in: New file.
50856         * sysdeps/sparc/elf/configure: Generate.
50858         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50859         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50860         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50861         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50862         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50864 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50866         * manual/install.texi: Do not mention specific glibc version
50867         numbers.
50868         * manual/libc.texinfo (VERSION, UPDATED): Update.
50869         (@copying): Use @copyright{} and range of years.
50871 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
50873         [BZ #13695]
50874         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50875         [crti.S not in sysdirs] (generated): Do not append.
50876         [crti.S not in sysdirs] (omit-deps): Likewise.
50877         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50878         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50879         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50880         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50881         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50882         Likewise.
50883         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50884         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50885         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50886         * csu/defs.awk: Remove file.
50887         * sysdeps/generic/initfini.c: Likewise.
50888         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50889         variable.
50890         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50891         Likewise.
50893 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50895         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50896         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50897         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50898         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50899         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50900         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50901         <bits/epoll.h>.
50902         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50903         (__EPOLL_PACKED): Define to empty if not defined by
50904         <bits/epoll.h>.
50905         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50907         bits/epoll.h.
50909 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50911         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50912         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50913         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50914         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50915         <bits/timerfd.h>.
50916         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50917         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50918         bits/timerfd.h.
50920 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
50922         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50923         in C locale.
50924         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50925         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50926         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50929 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
50931         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50932         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50934 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
50936         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50937         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50938         defined.
50939         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50940         Likewise.
50941         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50942         entry for 2.16.
50944 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
50946         * math/w_acos.c: Use non-signaling floating-point comparisons.
50947         * math/w_acosf.c: Likewise.
50948         * math/w_acosh.c: Likewise.
50949         * math/w_acoshf.c: Likewise.
50950         * math/w_acoshl.c: Likewise.
50951         * math/w_acosl.c: Likewise.
50952         * math/w_asin.c: Likewise.
50953         * math/w_asinf.c: Likewise.
50954         * math/w_asinl.c: Likewise.
50955         * math/w_atanh.c: Likewise.
50956         * math/w_atanhf.c: Likewise.
50957         * math/w_atanhl.c: Likewise.
50958         * math/w_exp2.c: Likewise.
50959         * math/w_exp2f.c: Likewise.
50960         * math/w_exp2l.c: Likewise.
50961         * math/w_j0.c: Likewise.
50962         * math/w_j0f.c: Likewise.
50963         * math/w_j0l.c: Likewise.
50964         * math/w_j1.c: Likewise.
50965         * math/w_j1f.c: Likewise.
50966         * math/w_j1l.c: Likewise.
50967         * math/w_jn.c: Likewise.
50968         * math/w_jnf.c: Likewise.
50969         * math/w_log.c: Likewise.
50970         * math/w_log10.c: Likewise.
50971         * math/w_log10f.c: Likewise.
50972         * math/w_log10l.c: Likewise.
50973         * math/w_log2.c: Likewise.
50974         * math/w_log2f.c: Likewise.
50975         * math/w_log2l.c: Likewise.
50976         * math/w_logf.c: Likewise.
50977         * math/w_logl.c: Likewise.
50978         * math/w_sqrt.c: Likewise.
50979         * math/w_sqrtf.c: Likewise.
50980         * math/w_sqrtl.c: Likewise.
50981         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50982         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50983         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50984         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50985         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50987 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50989         [BZ #9739]
50990         * manual/string.texi (strnlen): Use correct parameter name in
50991         equivalent expression.
50993 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
50995         [BZ #11174]
50996         * manual/users.texi (seteuid): Consistently use neweuid for
50997         argument name.
50999 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
51001         [BZ #13704]
51002         * manual/nss.texi (Services in the NSS configuration): Correct
51003         list of services in example configuration file.
51005 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
51007         [BZ #11322]
51008         * manual/arith.texi: Remove statements about negative zero
51009         behaving identically to zero.
51011 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51013         [BZ #5993]
51014         * manual/install.texi: Do not document upgrading from libc5.
51016 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
51018         [BZ #4596]
51019         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51021 2012-02-18  David S. Miller  <davem@davemloft.net>
51023         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51024         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51025         %o7 across the call.
51026         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51027         instead.
51028         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51029         SETUP_PIC_REG_LEAF.
51030         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51031         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51032         * sysdeps/sparc/crtn.S: Likewise.
51034 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
51036         * aout/Makefile: Remove.
51038 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
51040         [BZ #13058]
51041         * manual/examples/argp-ex1.c (main): Format definition in GNU
51042         style.
51043         * manual/examples/argp-ex2.c (main): Likewise.
51044         * manual/examples/argp-ex3.c (main): Likewise.
51045         * manual/examples/argp-ex4.c (main): Likewise.
51046         * manual/examples/longopt.c (main): Use new-style prototype
51047         definition.
51048         * manual/examples/strncat.c (main): Specify return type and use
51049         (void) for arguments.
51050         * manual/examples/subopt.c (main): Use char **argv argument.
51052 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51054         [BZ #5077]
51055         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51056         rounding modes.
51058 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
51060         [BZ #6907]
51061         * manual/string.texi (strchr): Change when strchrnul is
51062         recommended.
51064 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
51066         [BZ #174]
51067         * manual/locale.texi (setlocale): Document LOCPATH.
51069 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51071         [BZ #10210]
51072         * manual/process.texi (execle): Move @dots{} before last argument.
51074 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
51076         [BZ #12047]
51077         * manual/charset.texi (Generic Charset Conversion): Fix typo
51078         (LC_TYPE -> LC_CTYPE).
51080 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
51082         [BZ #5805]
51083         * manual/arith.texi (scalbn): Use @var{} on parameter names.
51084         (scalbnf): Likewise.
51085         (scalbnl): Likewise.
51086         (scalbln): Likewise.
51087         (scalblnf): Likewise.
51088         (scalblnl): Likewise.
51089         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
51090         (vwarnx): Likewise.
51091         (verr): Likewise.
51092         (verrx): Likewise.
51093         * manual/filesys.texi (telldir): Use braces around return type.
51094         * manual/llio.texi (mmap): Add space after comma.
51095         (mmap64): Likewise.
51096         * manual/math.texi (jn): Use @var{} on parameter names.
51097         (jnf): Likewise.
51098         (jnl): Likewise.
51099         (yn): Likewise.
51100         (ynf): Likewise.
51101         (ynl): Likewise.
51102         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
51103         line.
51104         * manual/resource.texi (ulimit): Use @dots{} instead of literal
51105         "...".
51106         (sched_get_priority_min): Remove semicolon on @deftypefun line.
51107         (sched_get_priority_max): Likewise.
51108         * manual/signal.texi (sigvec): Add space after comma.
51109         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
51110         names.
51111         (if_indextoname): Likewise.
51112         (if_freenameindex): Likewise.
51113         (sendto): Use ',' instead of '.' in prototype.
51114         * manual/startup.texi (syscall): Use @dots{} instead of literal
51115         "...".
51116         * manual/stdio.texi (__fpending): Separate initial words of
51117         paragraph from @deftypefun line.
51118         * manual/syslog.texi (syslog): Use @dots{} instead of literal
51119         "...".
51120         (vsyslog): Use @var{} on parameter names.
51121         * manual/terminal.texi (stty): Use @var{} on parameter names.
51122         * manual/users.texi (getutmp): Use @var{} on parameter names.
51123         (getutmpx): Likewise.
51125 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51127         [BZ #6884]
51128         * manual/stdio.texi (fopen): Fix typos in description of
51129         ",ccs=STRING".
51131 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
51133         [BZ #4026]
51134         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
51135         get clock_id definition.
51137 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
51139         [BZ #4822]
51140         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
51141         (madvise): Cast every argument to void on its own.
51143 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51145         [BZ #9902]
51146         * manual/startup.texi (Exit Status): Fix typo.
51148 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
51150         [BZ #10140]
51151         * manual/examples/argp-ex1.c: Include <stdlib.h>.
51152         * manual/examples/argp-ex2.c: Likewise.
51153         * manual/examples/argp-ex3.c: Likewise.
51155 2012-02-16  Richard Henderson  <rth@redhat.com>
51157         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
51158         * sysdeps/s390/s390-32/initfini.c: Remove.
51159         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
51160         * sysdeps/s390/s390-64/initfini.c: Remove.
51162 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51164         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
51165         compiler output for sysdeps/generic/initfini.c.
51166         * sysdeps/sh/elf/initfini.c: Remove file.
51168 2012-02-16  David S. Miller  <davem@davemloft.net>
51170         [BZ #11494]
51171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
51173         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
51174         * sysdeps/sparc/crti.S: New file.
51175         * sysdeps/sparc/crtn.S: New file.
51176         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
51177         * sysdeps/sparc/sparc64/Makefile: Likewise.
51179 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
51181         [BZ #3335]
51182         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
51184 2012-02-15  Roland McGrath  <roland@hack.frob.com>
51186         [BZ #4822]
51187         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
51189         * mach/devstream.c (cookie_io_functions_t): Macro removed.
51190         (write, read, close): Likewise.
51191         Patch by Aurelien Jarno <aurelien@aurel32.net>.
51193 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
51195         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
51196         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
51197         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
51198         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
51199         <bits/signalfd.h>.
51200         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
51201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51202         bits/signalfd.h.
51204 2012-02-14  Marek Polacek  <polacek@redhat.com>
51206         * sysdeps/x86_64/crti.S: New file.
51207         * sysdeps/x86_64/crtn.S: New file.
51208         * sysdeps/x86_64/elf/initfini.c: Remove file.
51210 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51212         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
51213         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
51214         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
51215         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
51216         <bits/inotify.h>.
51217         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
51218         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51219         bits/inotify.h.
51221 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
51223         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
51224         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
51225         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
51226         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
51227         <bits/eventfd.h>.
51228         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
51229         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51230         bits/eventfd.h.
51232 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
51234         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
51235         __feraiseexcept instead of feraiseexcept.
51237         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
51238         nanosleep invocations.
51239         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
51240         strings, and add error checking for a nanosleep invocations.
51242 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
51244         Replace FSF snail mail address with URLs, as per GNU coding standards.
51245         Most of the snail mail addresses were wrong anyway, and omitting
51246         them makes the source code easier to maintain.  Almost all of the
51247         changes are to license notices and to locale LC_IDENTIFICATION
51248         addresses, except for this one:
51249         * manual/libc.texinfo: In "Published by", give the FSF's URL,
51250         not its snail mail address.
51252 2012-02-09  Richard Henderson  <rth@twiddle.net>
51254         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
51255         of kernel-features.h.
51257         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
51259 2012-02-08  Marek Polacek  <polacek@redhat.com>
51261         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
51262         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
51263         * sysdeps/gnu/_G_config.h: Likewise.
51264         * sysdeps/generic/_G_config.h: Likewise.
51266 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
51268         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
51269         tests.
51270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51272         * sysdeps/powerpc/powerpc32/crti.S: New file.
51273         * sysdeps/powerpc/powerpc32/crtn.S: New file.
51274         * sysdeps/powerpc/powerpc64/crti.S: New file.
51275         * sysdeps/powerpc/powerpc64/crtn.S: New file.
51277         * Makeconfig (have-initfini): Don't set.
51278         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
51279         * configure.in (nopic_initfini): Don't substitute.
51280         * config.h.in (HAVE_INITFINI): Don't #undef.
51281         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
51282         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
51284 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
51286         Support crti.S and crtn.S provided directly by architectures.
51287         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
51288         [crti.S in sysdirs] (omit-deps): Likewise.
51289         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
51290         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
51291         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51292         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
51293         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
51294         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
51295         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
51296         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
51297         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
51298         compiler output for sysdeps/generic/initfini.c.
51299         * sysdeps/i386/elf/Makefile: Remove file.
51300         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
51302 2012-02-07  Marek Polacek  <polacek@redhat.com>
51304         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
51305         * sysdeps/gnu/_G_config.h: Likewise.
51306         * sysdeps/mach/hurd/_G_config.h: Likewise.
51308 2012-02-07  Marek Polacek  <polacek@redhat.com>
51310         * math/Makefile (tests): Add tst-CMPLX2.
51311         * math/tst-CMPLX2.c: New file.
51313 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
51315         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51317         * math/libm-test.inc (jn_test): Add missing L suffix.
51319 2012-02-06  Marek Polacek  <polacek@redhat.com>
51321         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
51322         * sysdeps/i386/fpu/e_powf.S: Likewise.
51323         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51324         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51325         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51326         * sysdeps/i386/fpu/e_pow.S: Likewise.
51327         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
51328         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51329         * sysdeps/i386/fpu/s_expm1.S: Likewise.
51330         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
51331         * sysdeps/i386/fpu/e_log2.S: Likewise.
51332         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51333         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51334         * sysdeps/i386/fpu/e_powl.S: Likewise.
51335         * sysdeps/i386/fpu/s_log1p.S: Likewise.
51336         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51337         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
51338         * sysdeps/i386/fpu/e_logl.S: Likewise.
51339         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
51340         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
51341         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
51342         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
51343         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51344         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51345         * sysdeps/i386/fpu/e_log.S: Likewise.
51346         * sysdeps/i386/fpu/s_cexp.S: Likewise.
51347         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51348         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
51349         * sysdeps/i386/fpu/e_logf.S: Likewise.
51350         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51351         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51352         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
51353         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
51354         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51355         * sysdeps/i386/fpu/e_log10.S: Likewise.
51356         * sysdeps/i386/fpu/s_frexp.S: Likewise.
51357         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51358         * sysdeps/i386/fpu/s_asinh.S: Likewise.
51359         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
51360         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51361         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
51362         * sysdeps/i386/asm-syntax.h: Likewise.
51363         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51364         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51365         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51366         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
51367         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
51368         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51369         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
51370         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
51371         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51372         * sysdeps/powerpc/sysdep.h: Likewise.
51373         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
51374         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51376 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51378         [BZ #411]
51379         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
51381 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
51383         * sysdeps/i386/sysdep.h: Include <features.h>.
51384         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
51385         version.
51387 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
51389         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
51390         Define.
51391         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
51392         LOAD_PIC_REG_STR.
51394 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51396         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
51397         (SETUP_PIC_REG): Use GET_PC_THUNK.
51398         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
51399         macro.
51401 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51403         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
51404         for non-PIC compilation.
51405         (SETUP_PIC_REG): Add .p2align directive.
51406         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
51407         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
51408         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51409         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51410         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51411         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51412         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
51413         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51414         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51415         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51416         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51417         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51418         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51419         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51420         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51421         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51422         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51423         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51424         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51425         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51426         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51427         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51428         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51429         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51430         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51431         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51432         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51433         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51434         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51435         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51436         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51437         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51438         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51439         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51440         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51441         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51442         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51443         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51444         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51445         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51446         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51448 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
51450         * math/tst-CMPLX.c: Include <stdio.h>.
51452 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
51454         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
51455         float.
51456         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51457         * sysdeps/sparc/bits/mathdef.h: Likewise.
51459 2012-01-31  Marek Polacek  <polacek@redhat.com>
51461         * libio/libio.h: Don't define _PARAMS.
51462         * locale/programs/config.h: Don't define PARAMS.
51463         * stdlib/strtol_l.c: Likewise.
51464         (__strtol_l): Remove PARAMS from the prototype.
51466 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
51468         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
51469         names.  Just use the correct names.  Remove unnecessary wrapper
51470         functions.
51471         * malloc/arena.c: Likewise.
51472         * malloc/hooks.c: Likewise.
51474         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
51475         ARENA_TEST says not to.  Simplify test for creation of a new arena.
51476         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
51478 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
51480         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
51481         into tail calls.
51482         (update_get_addr): New function.
51483         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
51484         GET_ADDR_MODULE parameter.
51486 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
51488         * crypt/cert.c: Remove __STDC__ conditionals.
51489         * crypt/crypt-entry.c: Likewise.
51490         * crypt/crypt_util.c: Likewise.
51491         * libio/filedoalloc.c: Likewise.
51492         * libio/fileops.c: Likewise.
51493         * libio/genops.c: Likewise.
51494         * libio/iofclose.c: Likewise.
51495         * libio/iofdopen.c: Likewise.
51496         * libio/iofopen.c: Likewise.
51497         * libio/iofopen64.c: Likewise.
51498         * libio/iogetdelim.c: Likewise.
51499         * libio/iopopen.c: Likewise.
51500         * libio/obprintf.c: Likewise.
51501         * libio/oldfileops.c: Likewise.
51502         * libio/oldiofclose.c: Likewise.
51503         * libio/oldiofdopen.c: Likewise.
51504         * libio/oldiofopen.c: Likewise.
51505         * libio/oldiopopen.c: Likewise.
51506         * libio/wfiledoalloc.c: Likewise.
51507         * libio/wgenops.c: Likewise.
51508         * locale/programs/xmalloc.c: Likewise.
51509         * misc/syslog.c: Likewise.
51510         * stdio-common/xbug.c: Likewise.
51511         * string/memchr.c: Likewise.
51512         * string/memcmp.c: Likewise.
51513         * string/memrchr.c: Likewise.
51514         * string/rawmemchr.c: Likewise.
51515         * sysdeps/posix/getcwd.c: Likewise.
51516         * time/strftime_l.c: Likewise.
51518 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
51520         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
51521         * config.make.in (config-cflags-sse2avx): Define.
51522         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
51523         Fix typo.
51525 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
51527         * scripts/config.guess: Update from upstream config git repository.
51528         * scripts/config.sub: Likewise.
51530 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
51532         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
51533         (EM_NUM): Update.
51534         (R_TILEPRO_*, R_TILEGX_*): New macros.
51536         * scripts/firstversions.awk: Fix bug in version range handling.
51538         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
51540         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
51542         * include/sys/epoll.h: New file.
51543         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
51544         libc_hidden_def.
51546 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
51548         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
51549         Avoid unnecessary __WORDSIZE == 64 test.
51550         (fmaxf): Use VEX format if possible.
51551         (fmax): Likewise.
51552         (fminf): Likewise.
51553         (fmin): Likewise.
51555         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
51556         * math/math_private.h: Remove libc_fegetround* and
51557         libc_fesetround*.
51558         * sysdeps/i386/configure.in: Check for -msse2avx.
51559         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
51560         also if SSE2AVX is defined.
51561         Remove libc_fegetround* and libc_fesetround*.
51562         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
51563         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
51564         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
51565         of HAS_YMM_USABLE.
51566         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51567         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51568         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51569         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51570         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51572         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
51574 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51576         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
51577         size is not set.
51578         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51580 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
51582         [BZ #13618]
51583         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
51584         relocation.
51585         * Makeconfig (libm): Define.
51586         * elf/Makefile: Add rules to build and run tst-relsort1.
51587         * elf/tst-relsort1.c: New file.
51588         * elf/tst-relsort1mod1.c: New file.
51589         * elf/tst-relsort1mod2.c: New file.
51591 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
51593         * math/s_ldexp.c: Remove __STDC__ conditionals.
51594         * math/s_ldexpf.c: Likewise.
51595         * math/s_ldexpl.c: Likewise.
51596         * math/s_nextafter.c: Likewise.
51597         * math/s_nexttowardf.c: Likewise.
51598         * math/s_significand.c: Likewise.
51599         * math/s_significandf.c: Likewise.
51600         * math/s_significandl.c: Likewise.
51601         * math/w_jnl.c: Likewise.
51602         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51603         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51604         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51605         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51606         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51607         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51608         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51609         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51610         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51611         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51612         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51613         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51614         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51615         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51616         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51617         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51618         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51619         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51620         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51621         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51622         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51623         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51624         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51625         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51626         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51627         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51628         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51629         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51630         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51631         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51632         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51633         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51634         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51635         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51636         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51637         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51638         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51639         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51640         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51641         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51642         * sysdeps/ieee754/k_standard.c: Likewise.
51643         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51644         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51645         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51646         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51647         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51648         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51649         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51650         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51651         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51652         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51653         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51654         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51655         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51656         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51657         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51658         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51659         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51660         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51661         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51662         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51663         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51664         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51665         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51666         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51667         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51668         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51669         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51670         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51671         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51672         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51673         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51674         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51675         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51676         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51677         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51678         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51679         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51680         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51681         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51682         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51683         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51684         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51685         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51686         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51687         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51688         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51689         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51690         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51691         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51692         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51693         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51694         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51695         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51696         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51697         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51698         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51699         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51700         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51701         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51702         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51703         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51704         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51705         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51706         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51707         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51708         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51709         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51710         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51711         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51712         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51713         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51714         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51715         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51716         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51717         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51718         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51719         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51720         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51721         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51722         * sysdeps/ieee754/s_matherr.c: Likewise.
51723         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51724         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51725         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51726         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51728 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
51730         * crypt/md5.h: Remove __STDC__ conditionals.
51731         * libio/libioP.h: Likewise.
51732         * locale/programs/config.h: Likewise.
51733         * sysdeps/generic/sysdep.h: Likewise.
51734         * sysdeps/i386/asm-syntax.h: Likewise.
51735         * sysdeps/s390/asm-syntax.h: Likewise.
51736         * sysdeps/unix/sysdep.h: Likewise.
51737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51740 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
51742         * libio/libio.h: Remove __STDC__ conditionals.
51743         * malloc/obstack.h: Likewise.
51744         * math/complex.h: Likewise.
51745         * math/math.h: Likewise.
51746         * sysdeps/generic/_G_config.h: Likewise.
51747         * sysdeps/gnu/_G_config.h: Likewise.
51748         * sysdeps/mach/hurd/_G_config.h: Likewise.
51749         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51750         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51751         * sysdeps/sparc/bits/mathdef.h: Likewise.
51753 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
51755         [BZ #13583]
51756         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
51757         Clean up HAS_* macros.
51758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
51759         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51760         possible.
51761         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51762         HAS_AVX.
51763         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51764         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51765         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51766         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51767         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51769 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
51771         * elf/tst-unique3.cc (gets): Remove declaration.
51772         * elf/tst-unique3lib.cc (gets): Likewise.
51773         * elf/tst-unique3lib2.cc (gets): Likewise.
51774         * elf/tst-unique4.cc (gets): Likewise.
51776 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
51778         * include/stdio.h: Add C++ protection.  Add gets declarations and
51779         definitions.
51780         * debug/tst-chk1.c: Don't declare gets here.
51781         * stdio-common/tst-gets.c: Likewise.
51783 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
51785         * posix/glob: Remove directory.
51787 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
51789         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51791 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
51793         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51794         of the non-standard EPFNOSUPPORT.
51796 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51798         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51799         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51800         ANYWHERE set to 1 only on KERN_NO_SPACE error.
51802 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
51804         * wcsmbs/uchar.h: Test __STDC_VERSION__.
51806 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
51808         * nscd/aicache.c (addhstaiX): Do not cache negative results of
51809         transient errors.
51810         * nscd/grpcache.c (cache_addgr): Likewise.
51811         * nscd/hstcache.c (cache_addhst): Likewise.
51812         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51813         * nscd/pwdcache.c (cache_addpw): Likewise.
51814         * nscd/servicescache.c (cache_addserv): Likewise.
51816 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
51818         * malloc/malloc.c: Various cleanups.
51819         * malloc/hooks.c: Likewise.
51821         * stdlib/Makefile (tests): Add bug-fmtmsg1.
51822         * stdlib/bug-fmtmsg1.c: New file.
51824         * stdlib/fmtmsg.c (init): Add missing unlock.
51825         Patch by Peng Haitao <penght@cn.fujitsu.com>.
51827 2012-01-12  Marek Polacek  <polacek@redhat.com>
51829         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51830         and _GNU_SOURCE.
51832 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
51834         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51835         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51836         macro to ensure uniqueness of label name.
51837         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51838         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51840 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
51842         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51844         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51845         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51846         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51847         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51849 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
51851         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51853         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51854         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51855         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51857         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51859         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
51860         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51861         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51862         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
51864         * math/bits/math-finite.h: Add ldexp support.
51866 2012-01-10  Marek Polacek  <polacek@redhat.com>
51868         * locale/programs/localedef.h (show_archive_content): Add noreturn
51869         attribute.
51871 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
51873         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51875 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51877         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51879         * io/Makefile (headers): Add bits/poll2.h.
51881 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
51883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51884         typo #include statement.
51886 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51888         * include/sys/cdefs.h: Define __attribute_alloc_size.
51889         * catgets/gencat.c: Add alloc_size attribute and apply consistently
51890         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51891         * elf/pldd.c: Likewise.
51892         * iconv/iconv_charmap.c: Likewise.
51893         * iconv/iconvconfig.c: Likewise.
51894         * iconv/strtab.c: Likewise.
51895         * locale/programs/locale.c: Likewise.
51896         * locale/programs/localedef.h: Likewise.
51897         * locale/programs/simple-hash.c: Likewise.
51898         * nscd/nscd.h: Likewise.
51899         * nss/makedb.c: Likewise.
51900         * sysdeps/generic/ldconfig.h: Likewise.
51901         * locale/programs/localedef.c: Remove xmalloc prototype.
51902         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51904 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51906         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51907         appropriate.
51909 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
51911         * math/Makefile (tests): Add tst-CMPLX.
51912         * math/tst-CMPLX.c: New file.
51914         * math/complex.h (CMPLXL): Fix typo.
51916         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51917         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51918         GLIBC_2.16.
51919         * debug/tst-chk1.c: Add poll and ppoll tests.
51920         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51921         * include/sys/poll.h: Add hidden proto for ppoll.
51922         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51923         * sysdeps/mach/hurd/ppoll.c: Likewise.
51924         * io/ppoll.c: Likewise.
51925         * debug/poll_chk.c: New file.
51926         * debug/ppoll_chk.c: New file.
51927         * include/bits/poll2.h: New file.
51928         * io/bits/poll2.h: New file.
51930         [BZ #1350]
51931         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51933         * configure.in: static is always set to yes.  Remove.
51934         * config.make.in: Don't set build-static.
51935         * Makeconfig: Remove use of build-static.
51936         * dlfcn/Makefile: Likewise.
51937         * elf/Makefile: Likewise.
51938         * math/Makefile: Likewise.
51939         * misc/Makefile: Likewise.
51940         * nptl/Makefile: Likewise.
51941         * sysdeps/mach/hurd/Makefile: Likewise.
51943         * configure.in: PWD_P is not used anymore.
51944         * config.make.in: Remove PWD_P entry.
51946         * configure.in: Remove last remnants of RANLIB.
51947         No need to check for signed size_t anymore.
51948         Don't set libc_commonpagesize and libc_relro_required here for Alpha
51949         and IA-64.
51950         Remove __builtin_expect test because we require at least gcc 3.4.
51951         * aclocal.m4: Likewise.
51953         * wcsmbs/mbrtoc16.c: Implement using towc function.
51954         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51955         * wcsmbs/wcsmbsload.c: Likewise.
51956         * iconv/gconv_simple.c: Likewise.
51957         * iconv/gconv_int.h: Likewise.
51958         * iconv/gconv_builtin.h: Likewise.
51959         * iconv/iconv_prog.c: Remove CHAR16 handling.
51961         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51963         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51965         * configure.in: Remove --with-elf and --enable-bounded options.
51966         Dont set base_machine for ia64.  More non-ELF conditions removed.
51967         Remove testing and setting of leading underscore information.
51968         * config.make.in (build-bounded): Set to no.
51969         * config.h.in: Remove NO_UNDERSCORES entry.
51970         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
51971         them.
51972         * csu/start.c: Remove !NO_UNDERSCORE code.
51973         * locale/localeinfo.h: Likewise.
51974         * sysdeps/generic/machine-gmon.h: Likewise.
51975         * sysdeps/generic/sysdep.h: Likewise.
51976         * sysdeps/i386/sysdep.h: Likewise.
51977         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51978         * sysdeps/mach/sysdep.h: Likewise.
51979         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51980         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51981         * sysdeps/sh/sysdep.h: Likewise.
51982         * sysdeps/sparc/sparc32/alloca.S: Likewise.
51983         * sysdeps/unix/i386/sysdep.S: Likewise.
51984         * sysdeps/unix/sparc/start.c: Likewise.
51985         * sysdeps/unix/sparc/sysdep.S: Likewise.
51986         * sysdeps/unix/sparc/sysdep.h: Likewise.
51987         * sysdeps/unix/start.c: Likewise.
51988         * sysdeps/unix/x86_64/sysdep.S: Likewise.
51989         * sysdeps/x86_64/sysdep.h: Likewise.
51991 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
51993         [BZ #13553]
51994         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51995         for non-gcc.
51996         * argp/argp-fmtstream.h: Use const instead __const.
51997         * argp/argp.h: Likewise.
51998         * assert/assert.h: Likewise.
51999         * bits/fenv.h: Likewise.
52000         * bits/sched.h: Likewise.
52001         * bits/sigset.h: Likewise.
52002         * bits/sigthread.h: Likewise.
52003         * catgets/nl_types.h: Likewise.
52004         * conform/data/pthread.h-data: Likewise.
52005         * crypt/crypt-private.h: Likewise.
52006         * crypt/crypt.h: Likewise.
52007         * crypt/crypt_util.c: Likewise.
52008         * ctype/ctype.h: Likewise.
52009         * debug/execinfo.h: Likewise.
52010         * debug/mbsnrtowcs_chk.c: Likewise.
52011         * debug/mbsrtowcs_chk.c: Likewise.
52012         * debug/wcsnrtombs_chk.c: Likewise.
52013         * debug/wcsrtombs_chk.c: Likewise.
52014         * debug/wcstombs_chk.c: Likewise.
52015         * dirent/dirent.h: Likewise.
52016         * dlfcn/dlfcn.h: Likewise.
52017         * elf/neededtest4.c: Likewise.
52018         * grp/grp.h: Likewise.
52019         * gshadow/gshadow.h: Likewise.
52020         * iconv/gconv.h: Likewise.
52021         * iconv/gconv_int.h: Likewise.
52022         * iconv/gconv_simple.c: Likewise.
52023         * iconv/iconv.h: Likewise.
52024         * iconv/loop.c: Likewise.
52025         * iconv/skeleton.c: Likewise.
52026         * include/aio.h: Likewise.
52027         * include/aliases.h: Likewise.
52028         * include/argz.h: Likewise.
52029         * include/arpa/inet.h: Likewise.
52030         * include/assert.h: Likewise.
52031         * include/dirent.h: Likewise.
52032         * include/dlfcn.h: Likewise.
52033         * include/execinfo.h: Likewise.
52034         * include/fcntl.h: Likewise.
52035         * include/fenv.h: Likewise.
52036         * include/glob.h: Likewise.
52037         * include/grp.h: Likewise.
52038         * include/libintl.h: Likewise.
52039         * include/mntent.h: Likewise.
52040         * include/netdb.h: Likewise.
52041         * include/pwd.h: Likewise.
52042         * include/rpc/netdb.h: Likewise.
52043         * include/sched.h: Likewise.
52044         * include/search.h: Likewise.
52045         * include/shadow.h: Likewise.
52046         * include/signal.h: Likewise.
52047         * include/stdio.h: Likewise.
52048         * include/stdlib.h: Likewise.
52049         * include/string.h: Likewise.
52050         * include/sys/socket.h: Likewise.
52051         * include/sys/stat.h: Likewise.
52052         * include/sys/statfs.h: Likewise.
52053         * include/sys/statvfs.h: Likewise.
52054         * include/sys/syslog.h: Likewise.
52055         * include/sys/time.h: Likewise.
52056         * include/sys/uio.h: Likewise.
52057         * include/time.h: Likewise.
52058         * include/unistd.h: Likewise.
52059         * include/utmp.h: Likewise.
52060         * include/wchar.h: Likewise.
52061         * include/wctype.h: Likewise.
52062         * inet/aliases.h: Likewise.
52063         * inet/arpa/inet.h: Likewise.
52064         * inet/netinet/ether.h: Likewise.
52065         * inet/netinet/in.h: Likewise.
52066         * intl/libintl.h: Likewise.
52067         * io/bits/fcntl2.h: Likewise.
52068         * io/fcntl.h: Likewise.
52069         * io/ftw.h: Likewise.
52070         * io/sys/poll.h: Likewise.
52071         * io/sys/stat.h: Likewise.
52072         * io/sys/statfs.h: Likewise.
52073         * io/sys/statvfs.h: Likewise.
52074         * io/utime.h: Likewise.
52075         * libio/bits/stdio.h: Likewise.
52076         * libio/bits/stdio2.h: Likewise.
52077         * libio/libio.h: Likewise.
52078         * libio/libioP.h: Likewise.
52079         * libio/stdio.h: Likewise.
52080         * locale/lc-ctype.c: Likewise.
52081         * locale/locale.h: Likewise.
52082         * login/utmp.h: Likewise.
52083         * malloc/arena.c: Likewise.
52084         * malloc/malloc.c: Likewise.
52085         * malloc/malloc.h: Likewise.
52086         * malloc/mcheck.c: Likewise.
52087         * malloc/mtrace.c: Likewise.
52088         * math/bits/mathcalls.h: Likewise.
52089         * math/fenv.h: Likewise.
52090         * math/math_private.h: Likewise.
52091         * misc/bits/error.h: Likewise.
52092         * misc/bits/syslog.h: Likewise.
52093         * misc/err.h: Likewise.
52094         * misc/error.h: Likewise.
52095         * misc/fstab.h: Likewise.
52096         * misc/mntent.h: Likewise.
52097         * misc/regexp.h: Likewise.
52098         * misc/search.h: Likewise.
52099         * misc/sgtty.h: Likewise.
52100         * misc/sys/mman.h: Likewise.
52101         * misc/sys/syslog.h: Likewise.
52102         * misc/sys/uio.h: Likewise.
52103         * misc/sys/xattr.h: Likewise.
52104         * misc/ttyent.h: Likewise.
52105         * nis/rpcsvc/ypclnt.h: Likewise.
52106         * nss/nss.h: Likewise.
52107         * posix/bits/unistd.h: Likewise.
52108         * posix/fnmatch.h: Likewise.
52109         * posix/glob.h: Likewise.
52110         * posix/sched.h: Likewise.
52111         * posix/spawn.h: Likewise.
52112         * posix/sys/wait.h: Likewise.
52113         * posix/unistd.h: Likewise.
52114         * posix/wordexp.h: Likewise.
52115         * pwd/pwd.h: Likewise.
52116         * resolv/netdb.h: Likewise.
52117         * resource/sys/resource.h: Likewise.
52118         * rt/aio.h: Likewise.
52119         * rt/bits/mqueue2.h: Likewise.
52120         * rt/mqueue.h: Likewise.
52121         * shadow/shadow.h: Likewise.
52122         * signal/signal.h: Likewise.
52123         * socket/send.c: Likewise.
52124         * socket/sendto.c: Likewise.
52125         * socket/sys/socket.h: Likewise.
52126         * stdio-common/printf.h: Likewise.
52127         * stdlib/bits/stdlib.h: Likewise.
52128         * stdlib/fmtmsg.h: Likewise.
52129         * stdlib/monetary.h: Likewise.
52130         * stdlib/stdlib.h: Likewise.
52131         * stdlib/ucontext.h: Likewise.
52132         * streams/stropts.h: Likewise.
52133         * string/argz.h: Likewise.
52134         * string/bits/string2.h: Likewise.
52135         * string/string.h: Likewise.
52136         * string/strings.h: Likewise.
52137         * sunrpc/rpc/auth.h: Likewise.
52138         * sunrpc/rpc/auth_des.h: Likewise.
52139         * sunrpc/rpc/clnt.h: Likewise.
52140         * sunrpc/rpc/netdb.h: Likewise.
52141         * sunrpc/rpc/pmap_clnt.h: Likewise.
52142         * sunrpc/rpc/xdr.h: Likewise.
52143         * sysdeps/generic/inttypes.h: Likewise.
52144         * sysdeps/generic/net/if.h: Likewise.
52145         * sysdeps/generic/sys/swap.h: Likewise.
52146         * sysdeps/gnu/net/if.h: Likewise.
52147         * sysdeps/gnu/utmpx.h: Likewise.
52148         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
52149         * sysdeps/i386/i486/bits/string.h: Likewise.
52150         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
52151         * sysdeps/s390/bits/string.h: Likewise.
52152         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
52153         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
52154         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
52155         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
52156         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
52157         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
52158         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
52159         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
52160         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
52161         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
52162         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
52163         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52164         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
52165         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52166         * sysdeps/unix/sysv/linux/readv.c: Likewise.
52167         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
52168         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
52169         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52170         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
52171         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
52172         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52173         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
52174         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
52175         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
52176         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
52177         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
52178         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
52179         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52180         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
52181         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
52182         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
52183         * sysvipc/sys/ipc.h: Likewise.
52184         * sysvipc/sys/msg.h: Likewise.
52185         * sysvipc/sys/sem.h: Likewise.
52186         * sysvipc/sys/shm.h: Likewise.
52187         * termios/termios.h: Likewise.
52188         * time/sys/time.h: Likewise.
52189         * time/time.h: Likewise.
52190         * wcsmbs/bits/wchar2.h: Likewise.
52191         * wcsmbs/uchar.h: Likewise.
52192         * wcsmbs/wchar.h: Likewise.
52193         * wctype/wctype.h: Likewise.
52195         [BZ #13551]
52196         * Makeconfig: Remove all but ELF support including AIX support.
52197         * Makerules: Likewise.
52198         * config.h.in: Likewise.
52199         * config.make.in: Likewise.
52200         * configure: Likewise.
52201         * configure.in: Likewise.
52202         * csu/Makefile: Likewise.
52203         * csu/version.c: Likewise.
52204         * debug/Makefile: Likewise.
52205         * dlfcn/Makefile: Likewise.
52206         * elf/Makefile: Likewise.
52207         * extra-lib.mk: Likewise.
52208         * iconv/Makefile: Likewise.
52209         * include/libc-symbols.h: Likewise.
52210         * include/shlib-compat.h: Likewise.
52211         * resolv/Makefile: Likewise.
52212         * resolv/res_libc.c: Likewise.
52213         * rt/Makefile: Likewise.
52214         * sysdeps/i386/asm-syntax.h: Likewise.
52215         * sysdeps/i386/sysdep.h: Likewise.
52216         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52217         * sysdeps/mach/sysdep.h: Likewise.
52218         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
52219         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
52220         * sysdeps/s390/asm-syntax.h: Likewise.
52221         * sysdeps/s390/s390-32/sysdep.h: Likewise.
52222         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52223         * sysdeps/sh/sysdep.h: Likewise.
52224         * sysdeps/unix/sparc/sysdep.h: Likewise.
52225         * sysdeps/wordsize-32/divdi3.c: Likewise.
52226         * sysdeps/x86_64/sysdep.h: Likewise.
52228         * argp/Versions: Remove _argp_unlock_xxx.
52230         [BZ #13559]
52231         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
52232         * abilist/libBrokenLocale.abilist: Likewise.
52233         * abilist/libanl.abilist: Likewise.
52234         * abilist/libc.abilist: Likewise.
52235         * abilist/libcrypt.abilist: Likewise.
52236         * abilist/libdl.abilist: Likewise.
52237         * abilist/libm.abilist: Likewise.
52238         * abilist/libnsl.abilist: Likewise.
52239         * abilist/libpthread.abilist: Likewise.
52240         * abilist/libresolv.abilist: Likewise.
52241         * abilist/librt.abilist: Likewise.
52242         * abilist/libthread_db.abilist: Likewise.
52243         * abilist/libutil.abilist: Likewise.
52244         * abilist/libnss_db.abilist: New file.
52246         * scripts/abilist.awk: Add support for indirect functions.
52248         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
52250         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
52252         * shlib-versions: Remove entries for ports architectures.
52254         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
52255         files in ports.
52256         * elf/stackguard-macros.h: Remove support for IA-64.
52257         * elf/tst-auditmod1.c: Likewise.
52258         * sysdeps/generic/ldsodefs.h: Likewise.
52260         * sysdeps/unix/sysv/linux/configure.in: Ports should define
52261         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
52262         configure files.
52264         [BZ #13552]
52265         * configure.in: Remove --enable-omitfp support.
52266         * FAQ.in: Adjust.
52267         * config.make.in: Likewise.
52268         * Makeconfig: Likewise.
52269         * manual/install.texi: Likewise.
52271         In case anyone cares, the IA-64 architecture could move to ports.
52272         * sysdeps/ia64/*: Removed.
52273         * sysdeps/unix/sysv/linux/ia64/*: Removed.
52274         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
52276         [BZ #13555]
52277         * configure.in: Remove entries for unsupported architectures.
52279         [BZ #13533]
52280         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
52281         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
52282         routines.
52283         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
52284         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
52285         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
52286         fall back to using wcrtomb.
52287         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
52288         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
52289         renaming.
52290         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
52291         * wcsmbs/tst-c16c32-1.c: New file.
52293         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
52294         local variable.
52296         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
52298         * elf/tst-unique3.cc: Add explicit declaration of gets.
52299         * elf/tst-unique3lib.cc: Likewise.
52300         * elf/tst-unique3lib2.cc: Likewise.
52301         * elf/tst-unique4.cc: Likewise.
52303         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
52305 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
52307         [BZ #13566]
52308         * assert/assert.h (static_assert): Don't define for C++.
52309         * libio/stdio.h (gets): Do declare for C++ <= C++11.
52310         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
52312 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
52314         * iconv/loop.c (single loop): Fix assertion in storing of
52315         remaining bytes.
52317         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
52319 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
52321         * posix/getconf.c: Update copyright year.
52322         * nss/getent.c: Likewise.
52323         * nss/makedb.c: Likewise.
52324         * iconv/iconvconfig.c: Likewise.
52325         * iconv/iconv_prog.c: Likewise.
52326         * elf/ldconfig.c: Likewise.
52327         * elf/pldd.c: Likewise.
52328         * elf/sotruss.ksh: Likewise.
52329         * catgets/gencat.c: Likewise.
52330         * csu/version.c: Likewise.
52331         * elf/ldd.bash.in: Likewise.
52332         * elf/sprof.c (print_version): Likewise.
52333         * locale/programs/locale.c: Likewise.
52334         * locale/programs/localedef.c: Likewise.
52335         * login/programs/pt_chown.c: Likewise.
52336         * nscd/nscd.c (print_version): Likewise.
52337         * debug/xtrace.sh: Likewise.
52338         * malloc/memusage.sh: Likewise.
52339         * malloc/mtrace.pl: Likewise.
52340         * debug/catchsegv.sh: Likewise.
52342 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
52344         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
52345         pure attribute.
52347 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
52349         [BZ #13533]
52350         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
52351         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
52352         transformations.
52353         * iconv/gconv_int.h: Likewise.
52354         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
52355         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
52356         from libc for GLIBC_2.16.
52357         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
52358         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
52359         * wcsmbs/uchar.h: Really define mbstate_t.
52360         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
52361         * wcsmbs/c16rtomb.c: New file.
52362         * wcsmbs/mbrtoc16.c: New file.
52363         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
52364         for C/POSIX locale.
52365         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
52366         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
52368         * wcsmbs/wchar.h: Add missing __restrict.
52370 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52372         [BZ #13532]
52373         * time/Makefile (routines): Add timespec_get.
52374         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
52375         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
52376         timespec for ISO C11.
52377         * time/timespec_get.c: New file.
52378         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
52379         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
52381         [BZ #13531]
52382         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
52383         * stdlib/stdlib.h: Declare aligned_alloc.
52384         * Versions.def: Add GLIBC_2.16 for libc.
52385         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
52387         [BZ 13527]
52388         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
52389         ISO C11.
52391         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
52392         code.
52394         [BZ #13528]
52395         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
52397         [BZ #13529]
52398         * assert/assert.h (static_assert): Define.
52400         * version.h: Update for 2.16 development version.
52402         [BZ #13526]
52403         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
52404         _ISOC11_SOURCE.
52406         * version.h (RELEASE): Bump for 2.15 release.
52407         * include/features.h (__GLIBC_MINOR__): Bump to 15.
52409         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
52410         Patch by Marek Polacek <mpolacek@redhat.com>.
52412         * bits/byteswap.h: Protect long long constants with __extension__.
52413         * sysdeps/i386/bits/byteswap.h: Likewise.
52414         * sysdeps/ia64/bits/byteswap.h: Likewise.
52415         * sysdeps/s390/bits/byteswap.h: Likewise.
52416         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52418 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52420         [BZ #13540]
52421         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
52422         destination buffer.
52423         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
52425 2011-12-23  Marek Polacek  <polacek@redhat.com>
52427         * elf/dl-addr.c (determine_info): Add inline keyword.
52428         * elf/tst-auditmod4b.c (check_avx): Likewise.
52429         * elf/tst-auditmod6b.c (check_avx): Likewise.
52430         * elf/tst-auditmod6c.c (check_avx): Likewise.
52431         * elf/tst-auditmod7b.c (check_avx): Likewise.
52433 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
52435         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
52436         !__SSE_MATH__.
52438 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52440         [BZ #13540]
52441         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
52442         processing for last bytes.
52444 2011-08-06  Bruno Haible  <bruno@clisp.org>
52446         [BZ #13061]
52447         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
52448         U+0385, not to U+1FEE.
52450         [BZ #13062]
52451         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
52452         entry for U+00A5 U+0301.
52454 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
52456         [BZ #13166]
52457         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
52458         buffer for the output is too small.
52460         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
52461         optimization.
52463         [BZ #13185]
52464         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
52465         SSE flags if possible.
52467 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52469         [BZ #13540]
52470         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
52471         processing for last bytes.
52473 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
52475         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
52476         (syscall-list-default-options, syscall-list-default-condition)
52477         (syscall-list-includes): Define.
52478         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
52479         list of ABIs and options and #if conditions for each ABI.  Do not
52480         handle common syscalls between ABIs specially.
52481         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
52482         Remove.
52483         (syscall-list-variants, syscall-list-32bit-options)
52484         (syscall-list-32bit-condition, syscall-list-64bit-options)
52485         (syscall-list-64bit-condition): Define.
52486         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
52487         (syscall-list-variants, syscall-list-32bit-options)
52488         (syscall-list-32bit-condition, syscall-list-64bit-options)
52489         (syscall-list-64bit-condition): Define.
52490         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
52491         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/x86_64/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.
52501 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
52503         * locale/iso-639.def: Add brx entry.
52505         [BZ #13328]
52506         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
52507         Proposed by Mariusz_Cukr <marcukr@op.pl>.
52509         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
52510         __feraiseexcept_renamed.
52512 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
52514         [BZ #13538]
52515         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
52516         EPOLLET with unsigned values.
52517         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52518         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
52520         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
52521         to large cancellation.
52522         * math/s_cacoshf.c: Likewise.
52523         * math/s_cacoshl.c: Likewise.
52525 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
52527         [BZ #13305]
52528         [BZ #12786]
52529         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
52530         * math/s_cacoshf.c: Likewise.
52531         * math/s_cacoshl.c: Likewise.
52533 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
52535         [BZ #13439]
52536         * iconv/gconv.h: Define __GCONV_SWAP.
52537         * iconvdata/unicode.c: The swap bit must be stored in __flags.
52538         * iconvdata/utf-16.c: Likewise.
52539         * iconvdata/utf-32.c: Likewise.
52541 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
52543         [BZ #13524]
52544         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
52545         numerator after shifting it by one limb.
52547 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
52549         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
52550         under [__USE_EXTERN_INLINES].
52552 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
52554         [BZ #13446]
52555         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
52557 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52559         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
52560         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
52561         optimized code.
52562         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
52563         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
52564         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
52565         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
52566         for strncasecmp/strncasecmp_l compilation.
52567         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
52568         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
52570 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
52572         [BZ #13484]
52573         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
52574         of __asm__.
52576 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
52578         [BZ #13506]
52579         * time/tzfile.c (__tzfile_read): Check values from file header.
52581 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52583         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
52584         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
52585         * powerpc/powerpc32/dl-start.S: Likewise.
52586         * powerpc/powerpc32/elf/start.S: Likewise.
52587         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52588         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
52589         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
52590         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
52591         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52592         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
52593         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
52594         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52595         * powerpc/powerpc32/fpu/s_round.S: Likewise.
52596         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52597         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52598         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52599         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52600         * powerpc/powerpc32/memset.S: Likewise.
52601         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52602         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52603         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52604         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52605         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52606         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52607         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52608         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52609         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52610         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52611         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52612         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52613         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52615 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52617         * math/libm-test.inc: Added more nearbyint tests.
52618         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52619         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52620         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52621         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52623 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
52625         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52626         FD_CLOEXEC.
52628 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52630         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52631         Add wcscpy-ssse3 wcscpy-c.
52632         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52633         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52634         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52635         * sysdeps/x86_64/wcschr.S: New file.
52636         * sysdeps/x86_64/wcsrchr.S: New file.
52637         * string/test-strcmp.c: Remove checking of wcscmp function for
52638         wrong alignments.
52639         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52640         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52641         wcsrchr-sse2 wcsrchr-c.
52642         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52643         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52644         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52645         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52646         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52647         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52648         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52649         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52650         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52651         * wcsmbc/wcschr.c (WCSCHR): New macro.
52653 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52655         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52656         * wcsmbs/test-wcsrchr.c: New file.
52657         * string/test-strrchr.c: Add wcsrchr support.
52658         (WIDE): New macro.
52659         * wcsmbs/test-wcscpy.c: New file.
52660         * string/test-strcpy.c: Add wcscpy support.
52661         (WIDE): New macro.
52663 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
52665         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52666         the inner loop.
52668 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
52670         [BZ #13472]
52671         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52673 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
52675         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52676         Minor optimizations.
52678         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52679         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52680         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52682 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
52684         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52685         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52686         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52687         for gcc to avoid warnings.
52688         * inet/Makefile (tests): Add tst-checks.
52689         * inet/tst-checks.c: New file.
52691         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52692         warning.
52694         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52695         __wmemcmp_sse2.
52697         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52698         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52700         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52702 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
52704         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52705         problem.
52707         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52709 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
52711         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52712         conditional on GCC version.
52713         (__arch_compare_and_exchange_val_8_acq)
52714         (__arch_compare_and_exchange_val_16_acq)
52715         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52716         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52717         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52719 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
52721         * sysdeps/sh/backtrace.c: New file.
52723 2011-12-02  Andreas Schwab  <schwab@redhat.com>
52725         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
52726         parenthesis.
52728 2011-12-01  Andreas Schwab  <schwab@redhat.com>
52730         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52731         falling back to utime.
52733 2011-11-30  Andreas Schwab  <schwab@redhat.com>
52735         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52736         expectations for float.
52738 2011-11-29  Andreas Schwab  <schwab@redhat.com>
52740         * locale/weight.h (findidx): Add parameter len.
52741         * locale/weightwc.h (findidx): Likewise.
52742         * posix/fnmatch_loop.c (FCT): Adjust caller.
52743         * posix/regcomp.c (build_equiv_class): Likewise.
52744         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52745         * posix/regexec.c (check_node_accept_bytes): Likewise.
52746         * string/strcoll_l.c (STRCOLL): Likewise.
52747         * string/strxfrm_l.c (STRXFRM): Likewise.
52749 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
52751         * Makefile.in: Remove CVSOPT handling.
52752         * configure.in: Remove use of AC_REVISION.
52753         * iconvdata/Makefile (distribute): No need to filter out CVS.
52754         * scripts/list-sources.sh: Remove CVS, subversion and monotone
52755         handling.
52757 2011-11-16  Andreas Schwab  <schwab@redhat.com>
52759         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52760         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52761         [USE_AS_STRNCASECMP_L]: Likewise.
52762         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52763         NO_TLS_DIRECT_SEG_REFS.
52764         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52765         Fix argument offsets for non-PIC.
52766         [USE_AS_STRNCASECMP_L]: Likewise.
52767         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52768         NO_TLS_DIRECT_SEG_REFS.
52770 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
52772         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
52773         O_CLOEXEC.
52774         * locale/loadlocale.c (_nl_load_locale): Likewise.
52776 2011-11-15  Andreas Schwab  <schwab@redhat.com>
52778         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52779         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52780         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52781         (SYSCALL_GETTIME): Set errno on error.
52783         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52784         count references to noai6ai_cached.
52786 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
52788         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52790         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52791         FD_CLOEXEC for /proc/self/maps.
52793         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52794         FD_CLOEXEC for /proc/meminfo.
52796         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52797         gai.conf.
52799         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
52800         FD_CLOEXEC for given file.
52802         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52804         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52805         FD_CLOEXEC for /etc/hosts.
52806         (_gethtent): Likewise.
52808         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52810         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52811         cancellation and set FD_CLOEXEC for /etc/netgroup.
52813         * nss/nss_files/files-key.c (search): Don't allow cancellation when
52814         reading /etc/publickey.
52816         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52817         allow cancellation when reading /etc/group.
52819         * nss/nss_files/files-alias.c (internal_setent): Don't allow
52820         cancellation.
52821         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
52823         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52824         when using data file.
52826         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52828         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52829         (write_nis_obj): Use "c" and "e" in fopen.
52831         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52833         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52835         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52837         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52839         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52840         locale.alias.
52842         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52844         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52846         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52848         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52849         file parsing and set FD_CLOEXEC.
52851 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
52853         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52855 2011-11-14  Andreas Schwab  <schwab@redhat.com>
52857         * malloc/arena.c (arena_get2): Don't call reused_arena when
52858         _int_new_arena failed.
52860 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
52862         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52863         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52864         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52865         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52866         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52867         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52868         to compile strcasecmp and strncasecmp.
52869         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52870         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52872         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52874 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
52876         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52877         locale-defines.sym to gen-as-const-headers.
52878         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52879         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52880         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52881         to compile strcasecmp and strncasecmp.
52882         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52883         strcasecmp_l and strncasecmp_l.
52884         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52885         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52886         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52887         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52888         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52889         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52890         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52891         * sysdeps/i386/i686/multiarch/strncase.S: New file.
52892         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52893         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52894         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52896 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
52898         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52899         result of SYSDEP_GETTIME_CPU to retval.
52900         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52901         parameter list to macro.  Remove trailing semicolon.  Adjust users.
52903         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52904         variable.
52906         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52907         mantissa words.
52908         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52910         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52911         from unused variable.
52913         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52914         DWARF definitions.
52915         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52916         for assembling.
52918         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52919         over namespaces.
52921         * sunrpc/rpc_prot.c (rejected): Fix case value.
52923         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52924         unsigned long long int to avoid warnings in shift.
52926         * posix/regex_internal.c (re_string_reconstruct): Actually use result
52927         of use of trans.
52928         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52929         variable tmp.
52931         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52932         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52933         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52935         * nis/nis_table.c (nis_list): Use variable of correct type for
52936         result of __follow_path call.
52938 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52940         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52941         of math functions ceil, trunc, floor, round, and sqrt, when
52942         avaliable on the platform.
52943         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52944         name clash.
52945         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52946         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52947         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52949 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
52951         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52952         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52954 2011-11-11  Roland McGrath  <roland@hack.frob.com>
52956         * include/unistd.h: Fix __readlink return type.
52957         Reported by Chris Metcalf <cmetcalf@tilera.com>.
52959 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
52961         * stdlib/ucontext.h: Undo last change for makecontext.
52963 2011-11-11  Andreas Schwab  <schwab@redhat.com>
52965         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52967         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52968         * setjmp/setjmp.h: Mark functions as non-leaf.
52969         * setjmp/bits/setjmp2.h: Likewise.
52970         * stdlib/ucontext.h: Likewise.
52972 2011-11-10  Andreas Schwab  <schwab@redhat.com>
52974         * malloc/arena.c (_int_new_arena): Don't increment narenas.
52975         (reused_arena): Don't check arena limit.
52976         (arena_get2): Atomically check arena limit.
52978 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
52980         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52981         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52983         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52984         instructions.
52986 2011-11-07  Andreas Schwab  <schwab@redhat.com>
52988         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52989         handler when locking.
52991         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52992         Fix size of allocated buffer.
52994 2011-11-04  Andreas Schwab  <schwab@redhat.com>
52996         [BZ #10103]
52997         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52998         declarations for long double functions.
52999         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53001         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53003 2011-11-03  Andreas Schwab  <schwab@redhat.com>
53005         * nscd/nscd.c (main): Don't start AVC thread until credentials are
53006         installed.
53008         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53009         is disabled.
53011 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53013         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53015 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
53017         * include/alloca.h (stackinfo_alloca_round): Define.
53018         (extend_alloca): Use it.
53019         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53020         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53021         here.
53023         * scripts/check-local-headers.sh: Ignore libaudit.h.
53025         * nscd/Makefile (extra-objs): Make recursively expanded.
53027 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
53029         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53030         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53032         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53033         * posix/tst-rfc3484-2.c: Likewise.
53034         * posix/tst-rfc3484-3.c: Likewise.
53036         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53037         process_vm_writev.
53038         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53039         process_vm_writev.
53040         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53041         process_vm_writev from libc using GLIBC_2.15 version.
53043         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53045 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
53047         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53048         stack usage.
53050 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
53052         [BZ #13367]
53053         * nss/getent.c (initgroups_keys): Show error message in case no group
53054         names are given.
53056         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53057         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53058         __bump_nl_timestamp.
53059         * nscd/connections (nscd_init): When host database is served open
53060         netlink socket and request notification about configuration changes.
53061         (main_loop_poll): Track netlink file descriptor and bump timestamp
53062         in case data becomes available.
53063         (main_loop_epoll): Likewise.
53064         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53065         (database_pers_head): Add extra_data fileds.
53066         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53067         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53068         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53069         Adjust caller.
53070         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53071         in6ai data, call __free_in6ai.
53072         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53073         Add -DHAVE_NETLINK.
53074         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
53075         interface information.  Reuse previous data if netlink timestamp
53076         is not changed.
53077         (__bump_nl_timestamp): New function.
53078         (__free_in6ai): New function.
53080 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
53082         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53083         close_not_cancel_no_status here.
53084         (__check_pf): Reorganize code a bit to not call close twice if OOM.
53086 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
53088         [BZ #13276]
53089         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
53090         return value.
53092         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
53093         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
53094         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
53096 2011-07-03  Andreas Jaeger  <aj@suse.de>
53098         [BZ #10709]
53099         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
53100         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
53101         * math/libm-test.inc (sin_test): Add test case.
53103 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
53105         [BZ #13337]
53106         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
53107         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53109         * elf/chroot_canon.c (chroot_canon): Cleanups.
53111         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
53113         [BZ #13335]
53114         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
53115         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
53117         * string/test-strchr.c: Make usable for strchrnul testing.
53118         * string/test-strchrnul.c: New file.
53119         * string/Makefile (strop-tests): Add strchrnul.
53121         * po/it.po: Update from translation team.
53122         * po/es.po: Likewise.
53124 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
53126         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
53127         the three constants needed as parameters.  Drop the others.
53128         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
53129         __m128i_strloadu_tolower.
53130         Create and initialize variable zero and use it in all the places
53131         where _mm_setzero_si128 was used.
53133         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
53134         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
53135         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
53136         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
53137         anymore.
53138         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
53139         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
53140         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
53141         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
53142         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
53143         __mpranred, __mptan.
53144         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
53145         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
53146         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
53147         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
53148         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
53149         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
53150         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
53151         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
53152         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
53154 2011-10-28  Andreas Schwab  <schwab@redhat.com>
53156         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
53157         redefine if SHARED.
53158         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
53160         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
53161         wide char related routines to wcsmbs subdir.
53163 2011-10-27  Andreas Schwab  <schwab@redhat.com>
53165         [BZ #13344]
53166         * misc/sys/cdefs.h (__THROWNL): Define.
53167         * posix/unistd.h: Use __THREADNL instead of __THREAD
53168         for memory synchronization functions.
53170 2011-10-26  Roland McGrath  <roland@hack.frob.com>
53172         [BZ #13349]
53173         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
53174         doesn't exist.
53175         * manual/stdio.texi (Obstack Streams): Node removed.
53177 2011-10-26  Andreas Schwab  <schwab@redhat.com>
53179         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
53180         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53181         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53183         * math/math_private.h (math_force_eval): Allow non-addressable
53184         arguments.
53185         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
53187 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53189         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
53190         file is not needed.
53192         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
53193         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
53194         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53195         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53196         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53197         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53198         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53199         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
53200         Add AVX variants.
53201         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
53202         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
53203         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
53204         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
53205         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
53206         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
53207         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
53208         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
53209         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
53210         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
53211         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
53212         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
53213         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
53214         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
53215         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
53216         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
53217         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
53218         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
53219         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
53221         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
53222         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
53224         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
53225         place.  Use VEX encoding when compiling for AVX.
53227 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53229         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
53230         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
53232         * string/test-strchr.c (do_test): Don't generate NUL bytes.
53234 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53236         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
53237         useless if() expression.
53238         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53239         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
53240         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53241         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53242         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53243         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
53244         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53245         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53246         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53247         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53248         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53249         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53250         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
53251         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53252         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
53253         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
53254         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53255         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53256         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
53258         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
53260 2011-10-25  Andreas Schwab  <schwab@redhat.com>
53262         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
53263         condition.
53264         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53266 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
53268         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
53269         .text section.  Avoid duplicate constants.
53270         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
53271         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53272         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53273         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53274         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53275         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53277         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53278         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
53279         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
53280         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
53281         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
53282         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
53283         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
53284         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
53285         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
53286         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
53287         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
53288         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
53289         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53290         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
53291         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
53292         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
53293         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
53294         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
53295         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
53296         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
53297         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
53298         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
53299         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
53300         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
53301         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
53302         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53303         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
53304         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
53305         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
53306         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
53307         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53308         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
53309         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
53310         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
53311         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
53312         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
53313         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
53314         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
53316 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
53318         * sysdeps/x86_64/dla.h: Move to ...
53319         * sysdeps/x86_64/fpu/dla.h: ...here.
53320         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
53321         situations.  Use __builtin_fma only for gcc 4.6 and up.
53323         * config.make.in: Add have-mfma4 entry.
53324         * configure.in: Substitute libc_cv_cc_fma4.
53325         * math/Makefile (dbl-only-routines): Add sincostab.
53326         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
53327         Use __sincostab not sincos.
53328         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
53329         name is a macro.
53330         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53331         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53332         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53333         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
53334         using __copysign.
53335         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
53336         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
53337         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
53338         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
53339         and __inv.
53340         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
53341         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
53342         __copysign.
53343         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
53344         define aliases when function name is a macro.
53345         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
53346         sysdeps/ieee754/dbl-64/sincos.tbl.
53347         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
53348         fma4-enabled routines.
53349         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
53350         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
53351         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
53352         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
53353         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
53354         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
53355         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
53356         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
53357         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
53358         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
53359         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
53360         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
53361         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
53362         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
53363         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
53364         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
53365         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
53366         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
53367         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
53368         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
53369         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
53370         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
53371         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
53372         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
53373         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
53374         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
53375         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
53376         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
53377         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
53378         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
53380         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
53381         rename.
53382         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53383         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53384         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53385         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53386         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53387         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53388         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53389         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53391 2011-10-24  Andreas Schwab  <schwab@redhat.com>
53393         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
53395 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53397         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
53399         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
53400         prediction.
53401         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
53403         * string/strnlen.c: Don't define STRNLEN, reverse logic.
53404         Remove unused variable magic_bits.
53405         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
53407         * string/strnlen.c: Define and use STRNLEN macro.
53408         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
53409         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
53410         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
53411         * wcsmbs/wcslen.c: Define and use WCSLEN.
53412         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
53413         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
53414         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
53415         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
53416         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
53417         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
53418         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53420 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53423         strnlen-sse2-no-bsf.
53424         Rename strlen-no-bsf to strlen-sse2-no-bsf.
53425         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
53426         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
53427         Add strnlen support.
53428         (USE_AS_STRNLEN): New macro.
53429         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
53430         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
53431         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
53432         * sysdeps/x86_64/wcslen.S: New file.
53434 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
53436         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
53437         XMM-moves are used for copying on small sizes.
53439 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53441         * wcsmbs/Makefile (strop-tests): Add wcschr.
53442         * wcsmbs/test-wcschr.c: New file.
53443         * string/test-strchr.c: Update.
53444         Add wcschr support.
53445         (WIDE): New macro.
53447 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53449         * wcsmbs/Makefile (strop-tests): Add wcslen.
53450         * wcsmbs/test-wcslen.c: New file.
53451         * string/test-strlen.c: Update.
53452         Add wcslen support.
53453         (WIDE): New macro.
53455 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53457         * po/it.po: Update from translation team.
53459 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53461         * sysdeps/x86_64/wcscmp.S: Update.
53462         Fix wrong comparison semantics.
53463         wcscmp shall use signed comparison not unsigned.
53464         Don't use substraction to avoid overflow bug.
53465         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
53466         * wcsmbc/wcscmp.c: Likewise.
53467         * string/test-strcmp.c: Likewise.
53468         Add new tests to check cases with negative values.
53470 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
53472         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
53473         * sysdeps/x86_64/dla.h: ...here.  New file.
53474         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
53475         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53476         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53477         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53478         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53479         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53480         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53481         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53482         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53484 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
53486         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
53487         __ynl_finite aliases.
53489 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
53491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53493         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
53494         define DLA_FMA.
53495         [DLA_FMA] (EMULV): Use DLA_FMA.
53496         [DLA_FMA] (MUL12): Use EMULV.
53497         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
53498         that are not needed.
53499         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
53500         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53501         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53502         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53503         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53504         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
53505         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
53507 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
53509         * math/s_nan.c: Undef __nan.
53510         * math/s_nanf.c: Undef __nanf.
53511         * math/s_nanl.c: Undef __nanl.
53512         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
53513         "math_private.h".
53515 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
53517         * math/s_catan.c: Add branch predictions.
53518         * math/s_catanf.c: Likewise.
53519         * math/s_catanh.c: Likewise.
53520         * math/s_catanhf.c: Likewise.
53521         * math/s_catanhl.c: Likewise.
53522         * math/s_catanl.c: Likewise.
53523         * math/s_cexp.c: Likewise.
53524         * math/s_cexpf.c: Likewise.
53525         * math/s_cexpl.c: Likewise.
53526         * math/s_clog.c: Likewise.
53527         * math/s_clog10.c: Likewise.
53528         * math/s_clog10f.c: Likewise.
53529         * math/s_clog10l.c: Likewise.
53530         * math/s_clogf.c: Likewise.
53531         * math/s_clogl.c: Likewise.
53532         * math/s_csqrt.c: Likewise.
53533         * math/s_csqrtf.c: Likewise.
53534         * math/s_csqrtl.c: Likewise.
53535         * math/s_ctanf.c: Likewise.
53536         * math/s_ctanh.c: Likewise.
53537         * math/s_ctanhf.c: Likewise.
53538         * math/s_ctanhl.c: Likewise.
53539         * math/s_ctanl.c: Likewise.
53541         * math/math_private.h: Define __nan, __nanf, __nanl.
53542         * math/s_cacosh.c: Include <math_private.h>.
53543         * math/s_cacoshl.c: Likewise.
53544         * math/s_casinh.c: Likewise.
53545         * math/s_casinhf.c: Likewise.
53546         * math/s_casinhl.c: Likewise.
53547         * math/s_ccos.c: Rely entire on ccosh.
53548         * math/s_ccosf.c: Rely entire on ccoshf.
53549         * math/s_ccosl.c: Rely entirely on ccoshl.
53550         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
53551         Remove tests for FE_INVALID.
53552         * math/s_ccoshf.c: Likewise.
53553         * math/s_ccoshl.c: Likewise.
53554         * math/s_csin.c: Likewise.
53555         * math/s_csinf.c: Likewise.
53556         * math/s_csinh.c Likewise.
53557         * math/s_csinhf.c: Likewise.
53558         * math/s_csinhl.c: Likewise.
53559         * math/s_csinl.c: Likewise.
53560         * math/s_ctan.c: Likewise.
53561         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
53562         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
53563         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
53565 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
53567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
53568         compilation problems.
53570         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
53571         __builtin_expect.
53573 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
53575         * sysdeps/i386/configure.in: Test for -mfma4 option.
53576         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
53577         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
53578         COMMON_CPUID_INDEX_80000001.
53579         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
53580         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
53581         use it if FMA3 is not supported.
53582         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
53584         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
53585         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53587 2011-10-20  Andreas Schwab  <schwab@redhat.com>
53589         [BZ #12892]
53590         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
53591         it would create a cycle with a link time dependency.
53593 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
53595         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
53596         instruction.
53597         * string/Makefile (strop-tests): Add rawmemchr.
53598         * string/test-rawmemchr.c: New file.
53600         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53601         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
53602         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
53603         when compiling str{,n}casecmp and when AVX is available.  Hook up
53604         new optimized code in initializers.
53606 2011-10-19  Andreas Schwab  <schwab@redhat.com>
53608         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53609         __feraiseexcept instead of feraiseexcept.
53611 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
53613         * math/math_private.h: Define defaults for libc_fetestexcept and
53614         libc_feupdateenv.
53615         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53616         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53617         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53618         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53619         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53620         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53621         libc_fetestexcept and libc_feupdateenv.
53623         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53624         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53625         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53626         * sysdeps/x86_64/fpu/math_private.h: Define special version of
53627         libc_feholdexcept_setround.
53629         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53630         Add s_nearbyint-c and s_nearbyintf-c.
53631         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53632         nearbyintf inlines.
53633         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53634         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53635         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53636         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53638         * math/math_private.h: Define defaults for libc_fegetround,
53639         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53640         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53641         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53642         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53643         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53644         standard functions.
53645         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53646         Remove comments and hacks for old compiler versions.
53647         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53648         libc_fegetround, libc_fesetround, libc_feholdexcept, and
53649         libc_feholdexceptl.
53651 2011-10-18  Andreas Schwab  <schwab@redhat.com>
53653         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
53654         (__feraiseexcept_renamed): Add __NTH.
53655         (feraiseexcept): Add __NTH.  Rename local variables to fix
53656         namespace violations.
53658 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
53660         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53662         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53664         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53665         recently added interfaces.
53666         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53668         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53669         about macro parameter expansion.
53671         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53672         __NO_MATH_INLINES is defined.  Cleanups.
53674         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53675         and __floorf is target has SSE4.1.
53676         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53677         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53678         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53679         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53681         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53682         name.
53683         (floorf): Likewise.
53685         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53687 2011-10-17  Andreas Schwab  <schwab@redhat.com>
53689         * misc/sys/cdefs.h: Fix last change.
53691         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53692         database lookup.
53694 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
53696         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53698         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53699         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53700         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53701         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53702         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53703         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53704         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53705         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53706         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53707         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53708         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53709         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53710         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53711         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53712         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53713         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53714         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53715         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53716         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53717         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53718         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53719         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53721         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53722         ceil, ceilf, floor, floorf.
53724         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53725         Perform IRELATIVE relocations last.
53727         * elf/do-rel.h: Add another parameter nrelative, replacing the
53728         local variable with the same name.  Change name of the function
53729         to end in Rel or Rela (uppercase).
53730         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53731         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
53732         elf_dynamic_do_##reloc function.
53734 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
53736         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53737         is sufficient, at least on modern CPUs.
53739         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53741         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53742         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53744         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53745         __expl_finite.
53746         * math/bits/math-finite.h: Add entries for exp.
53747         * math/e_expl.c: Add __*_finite alias.
53748         * sysdeps/i386/fpu/e_exp.S: Likewise.
53749         * sysdeps/i386/fpu/e_expf.S: Likewise.
53750         * sysdeps/i386/fpu/e_expl.c: Likewise.
53751         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53752         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53753         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53754         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53755         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53756         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53757         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53759         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53760         is sufficient, at least on modern CPUs.
53762         * ctype/ctype-info.c (__ctype_init): Define.
53763         * include/ctype.h (__ctype_init): Declare.
53764         (__ctype_b_loc): The variable is always initialized.
53765         (__ctype_toupper_loc): Likewise.
53766         (__ctype_tolower_loc): Likewise.
53767         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53768         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53770 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
53772         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53774         * configure.in: Also look in $cxxmachine/include for C++ system
53775         headers.
53777 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53779         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53780         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53781         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53782         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
53783         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53784         (USE_AS_WMEMCMP): New macro.
53785         Fixing indents.
53786         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53787         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53788         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53789         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53790         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53791         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53792         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53793         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53794         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53795         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53796         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53797         (USE_AS_WMEMCMP): New macro.
53798         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53799         * sysdeps/string/test-memcmp.c: Update.
53800         Fix simple_wmemcmp.
53801         Add new tests.
53802         * wcsmbs/wmemcmp.c: Update.
53803         (WMEMCMP): New macro.
53804         Fix overflow bug.
53806 2011-10-12  Andreas Jaeger  <aj@suse.de>
53808         [BZ #13268]
53809         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53811 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
53813         * libio/iofwide.c (do_length): Avoid warning.
53815         * ctype/ctype.h (__isctype_f): Add missing __THROW.
53817 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
53819         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53821         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53822         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53823         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53824         * sysdeps/i386/i686/fpu/e_log.S: New file.
53825         * sysdeps/i386/i686/fpu/e_logf.S: New file.
53826         * sysdeps/i386/i686/fpu/e_logl.S: New file.
53828         * ctype/ctype.h: Add support for inlined isXXX functions when
53829         compiling C++ code.
53831 2011-10-14  Andreas Schwab  <schwab@redhat.com>
53833         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53835         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53837 2011-10-13  Roland McGrath  <roland@hack.frob.com>
53839         [BZ #13291]
53840         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53842 2011-10-13  Andreas Schwab  <schwab@redhat.com>
53844         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53845         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53846         feraiseexcept.
53848         * sysdeps/x86_64/memrchr.S: Check for zero size.
53850         * string/stratcliff.c: Add memrchr tests.
53852 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53855         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53856         rawmemchr-sse2 rawmemchr-sse2-bsf.
53857         * sysdeps/i386/i686/multiarch/memchr.S: New file.
53858         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53859         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53860         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53861         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53862         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53863         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53864         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53865         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53866         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53867         * string/memrchr.c (MEMRCHR): New macro.
53869 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
53871         Add integration with gcc's -ffinite-math-only and optimize wrapper
53872         functions in libm.
53873         * Versions.def: Define GLIBC_2.15 version for libm.
53874         * math/Makefile (headers): Add bits/math-finite.h.
53875         * math/bits/math-finite.h: New file.
53876         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53877         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53878         * math/e_acoshl.c: Add __*_finite alias.
53879         * math/e_acosl.c: Likewise.
53880         * math/e_asinl.c: Likewise.
53881         * math/e_atan2l.c: Likewise.
53882         * math/e_atanhl.c: Likewise.
53883         * math/e_coshl.c: Likewise.
53884         * math/e_exp10.c: Likewise.
53885         * math/e_exp10f.c: Likewise.
53886         * math/e_exp10l.c: Likewise.
53887         * math/e_exp2l.c: Likewise.
53888         * math/e_fmodl.c: Likewise.
53889         * math/e_gammal_r.c: Likewise.
53890         * math/e_hypotl.c: Likewise.
53891         * math/e_j0l.c: Likewise.
53892         * math/e_j1l.c: Likewise.
53893         * math/e_jnl.c: Likewise.
53894         * math/e_lgammal_r.c: Likewise.
53895         * math/e_log10l.c: Likewise.
53896         * math/e_log2l.c: Likewise.
53897         * math/e_logl.c: Likewise.
53898         * math/e_powl.c: Likewise.
53899         * math/e_sinhl.c: Likewise.
53900         * math/e_sqrtl.c: Likewise.
53901         * math/e_scalb.c: Completely rewritten and optimized.
53902         * math/e_scalbf.c: Likewise.
53903         * math/e_scalbl.c: Likewise.
53904         * math/w_acos.c: Likewise.
53905         * math/w_acosf.c: Likewise.
53906         * math/w_acosl.c: Likewise.
53907         * math/w_acosh.c: Likewise.
53908         * math/w_acoshf.c: Likewise.
53909         * math/w_acoshl.c: Likewise.
53910         * math/w_asin.c: Likewise.
53911         * math/w_asinf.c: Likewise.
53912         * math/w_asinl.c: Likewise.
53913         * math/w_atan2.c: Likewise.
53914         * math/w_atan2f.c: Likewise.
53915         * math/w_atan2l.c: Likewise.
53916         * math/w_atanh.c: Likewise.
53917         * math/w_atanhf.c: Likewise.
53918         * math/w_atanhl.c: Likewise.
53919         * math/w_exp10.c: Likewise.
53920         * math/w_exp10f.c: Likewise.
53921         * math/w_exp10l.c: Likewise.
53922         * math/w_fmod.c: Likewise.
53923         * math/w_fmodf.c: Likewise.
53924         * math/w_fmodl.c: Likewise.
53925         * math/w_j0.c: Likewise.
53926         * math/w_j0f.c: Likewise.
53927         * math/w_j0l.c: Likewise.
53928         * math/w_j1.c: Likewise.
53929         * math/w_j1f.c: Likewise.
53930         * math/w_j1l.c: Likewise.
53931         * math/w_jn.c: Likewise.
53932         * math/w_jnf.c: Likewise.
53933         * math/w_log.c: Likewise.
53934         * math/w_logf.c: Likewise.
53935         * math/w_logl.c: Likewise.
53936         * math/w_log10.c: Likewise.
53937         * math/w_log10f.c: Likewise.
53938         * math/w_log10l.c: Likewise.
53939         * math/w_log2.c: Likewise.
53940         * math/w_log2f.c: Likewise.
53941         * math/w_log2l.c: Likewise.
53942         * math/w_pow.c: Likewise.
53943         * math/w_powf.c: Likewise.
53944         * math/w_powl.c: Likewise.
53945         * math/w_remainder.c: Likewise.
53946         * math/w_remainderf.c: Likewise.
53947         * math/w_remainderl.c: Likewise.
53948         * math/w_scalb.c: Likewise.
53949         * math/w_scalbf.c: Likewise.
53950         * math/w_scalbl.c: Likewise.
53951         * math/w_sqrt.c: Likewise.
53952         * math/w_sqrtf.c: Likewise.
53953         * math/w_sqrtl.c: Likewise.
53954         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53955         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
53956         used.
53957         * math/math_private.h: Declare __kernel_standard_f.
53958         * math/w_cosh.c: Remove cruft and optimize a bit.
53959         * math/w_coshf.c: Likewise.
53960         * math/w_coshl.c: Likewise.
53961         * math/w_exp2.c: Likewise.
53962         * math/w_exp2f.c: Likewise.
53963         * math/w_exp2l.c: Likewise.
53964         * math/w_hypot.c: Likewise.
53965         * math/w_hypotf.c: Likewise.
53966         * math/w_hypotl.c: Likewise.
53967         * math/w_lgamma.c: Likewise.
53968         * math/w_lgamma_r.c: Likewise.
53969         * math/w_lgammaf.c: Likewise.
53970         * math/w_lgammaf_r.c: Likewise.
53971         * math/w_lgammal.c: Likewise.
53972         * math/w_lgammal_r.c: Likewise.
53973         * math/w_sinh.c: Likewise.
53974         * math/w_sinhf.c: Likewise.
53975         * math/w_sinhl.c: Likewise.
53976         * math/w_tgamma.c: Likewise.
53977         * math/w_tgammaf.c: Likewise.
53978         * math/w_tgammal.c: Likewise.
53979         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53980         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53981         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53982         Minor optimizations.  Pretty printing.  Remove cruft.
53983         * sysdeps/i386/fpu/e_acosf.S: Likewise.
53984         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53985         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53986         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53987         * sysdeps/i386/fpu/e_acosl.c: Likewise.
53988         * sysdeps/i386/fpu/e_asin.S: Likewise.
53989         * sysdeps/i386/fpu/e_asinf.S: Likewise.
53990         * sysdeps/i386/fpu/e_atan2.S: Likewise.
53991         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53992         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53993         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53994         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53995         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53996         * sysdeps/i386/fpu/e_exp10.S: Likewise.
53997         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53998         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53999         * sysdeps/i386/fpu/e_exp2.S: Likewise.
54000         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54001         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54002         * sysdeps/i386/fpu/e_fmod.S: Likewise.
54003         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54004         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54005         * sysdeps/i386/fpu/e_hypot.S: Likewise.
54006         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54007         * sysdeps/i386/fpu/e_log.S: Likewise.
54008         * sysdeps/i386/fpu/e_log10.S: Likewise.
54009         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54010         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54011         * sysdeps/i386/fpu/e_log2.S: Likewise.
54012         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54013         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54014         * sysdeps/i386/fpu/e_logf.S: Likewise.
54015         * sysdeps/i386/fpu/e_logl.S: Likewise.
54016         * sysdeps/i386/fpu/e_pow.S: Likewise.
54017         * sysdeps/i386/fpu/e_powf.S: Likewise.
54018         * sysdeps/i386/fpu/e_powl.S: Likewise.
54019         * sysdeps/i386/fpu/e_remainder.S: Likewise.
54020         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54021         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54022         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54023         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54024         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54025         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54026         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54027         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54028         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54029         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54030         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54031         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54032         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54033         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54034         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54035         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54036         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54037         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54038         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54039         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54040         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54041         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54042         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54043         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54044         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54045         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54046         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54047         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54048         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54049         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54050         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54051         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54052         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54053         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54054         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54055         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54056         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54057         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54058         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54059         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54060         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54061         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54062         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54063         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54064         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54065         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54066         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54067         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54068         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54069         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54070         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54071         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54072         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54073         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54074         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54075         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54076         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54077         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54078         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54079         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54080         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54081         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54082         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54083         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54084         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54085         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54086         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54087         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54088         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54089         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54090         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54091         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54092         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54093         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54094         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54095         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54096         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
54097         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54098         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54099         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54100         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54101         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54102         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54104         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54105         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54106         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54107         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54108         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54109         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54110         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
54111         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54112         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54113         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54114         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54115         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54116         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54117         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54118         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54119         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54120         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54121         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54122         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54123         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54124         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54125         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
54126         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
54127         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
54128         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
54129         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
54130         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
54131         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
54132         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54133         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54134         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54135         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54136         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
54137         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54138         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
54139         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
54140         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
54141         (__isnanf): Likewise.
54142         (__isinf_ns): Likewise.
54143         (__isinf_nsf): Likewise.
54144         (__finite): Likewise.
54145         (__finitef): Likewise.
54146         (__ieee754_sqrt): Define as macro.
54147         (__ieee754_sqrtf): Define as macro.
54148         (__ieee754_sqrtl): Define as macro.
54149         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
54150         inlined copy.
54151         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
54152         __FINITE_MATH_ONLY__ consistent.
54153         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
54155 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
54157         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
54158         of rawmemchr.
54160         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
54162 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
54164         * po/ja.po: Update from translation team.
54166 2011-10-08  Roland McGrath  <roland@hack.frob.com>
54168         * locale/programs/locarchive.c (prepare_address_space): New function.
54169         (create_archive, enlarge_archive, open_archive): Use it.
54171         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
54172         inside [SHARED], where it is used.
54174         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
54176         * nss/getent.c (netgroup_keys): Remove unused variable.
54177         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54179 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
54181         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
54182         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
54183         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
54184         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
54185         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
54186         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
54187         * math/Makefile (libm-calls): Add s_isinf_ns.
54188         * math/divtc3.c: Use __isinf_nsl instead of isinf.
54189         * math/multc3.c: Likewise.
54190         * math/s_casin.c: Likewise.
54191         * math/s_casinf.c: Likewise.
54192         * math/s_casinl.c: Likewise.
54193         * math/s_ccos.c: Likewise.
54194         * math/s_ccosf.c: Likewise.
54195         * math/s_ccosl.c: Likewise.
54196         * math/s_ctan.c: Likewise.
54197         * math/s_ctanf.c: Likewise.
54198         * math/s_ctanh.c: Likewise.
54199         * math/s_ctanhf.c: Likewise.
54200         * math/s_ctanhl.c: Likewise.
54201         * math/s_ctanl.c: Likewise.
54202         * math/w_fmod.c: Likewise.
54203         * math/w_fmodf.c: Likewise.
54204         * math/w_fmodl.c: Likewise.
54205         * math/w_remainder.c: Likewise.
54206         * math/w_remainderf.c: Likewise.
54207         * math/w_remainderl.c: Likewise.
54208         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
54209         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
54210         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
54211         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
54212         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
54213         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
54214         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
54215         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
54217         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
54218         of the number.
54219         * stdio-common/printf_fphex.c: Likewise.
54220         * stdio-common/printf_size.c: Likewise.
54222         * math/e_exp10.c: Include math_private.h using <...> not "...".
54223         * math/e_exp10f.c: Likewise.
54224         * math/e_exp10l.c: Likewise.
54225         * math/e_exp2l.c: Likewise.
54226         * math/e_j0l.c: Likewise.
54227         * math/e_j1l.c: Likewise.
54228         * math/e_jnl.c: Likewise.
54229         * math/e_lgammal_r.c: Likewise.
54230         * math/e_rem_pio2l.c: Likewise.
54231         * math/e_scalb.c: Likewise.
54232         * math/e_scalbf.c: Likewise.
54233         * math/e_scalbl.c: Likewise.
54234         * math/k_cosl.c: Likewise.
54235         * math/k_sinl.c: Likewise.
54236         * math/k_tanl.c: Likewise.
54237         * math/s_cacoshf.c: Likewise.
54238         * math/s_catan.c: Likewise.
54239         * math/s_catanf.c: Likewise.
54240         * math/s_catanh.c: Likewise.
54241         * math/s_catanhf.c: Likewise.
54242         * math/s_catanhl.c: Likewise.
54243         * math/s_catanl.c: Likewise.
54244         * math/s_ccosh.c: Likewise.
54245         * math/s_ccoshf.c: Likewise.
54246         * math/s_ccoshl.c: Likewise.
54247         * math/s_cexp.c: Likewise.
54248         * math/s_cexpf.c: Likewise.
54249         * math/s_cexpl.c: Likewise.
54250         * math/s_clog.c: Likewise.
54251         * math/s_clog10.c: Likewise.
54252         * math/s_clog10f.c: Likewise.
54253         * math/s_clog10l.c: Likewise.
54254         * math/s_clogf.c: Likewise.
54255         * math/s_clogl.c: Likewise.
54256         * math/s_csin.c: Likewise.
54257         * math/s_csinf.c: Likewise.
54258         * math/s_csinh.c: Likewise.
54259         * math/s_csinhf.c: Likewise.
54260         * math/s_csinhl.c: Likewise.
54261         * math/s_csinl.c: Likewise.
54262         * math/s_csqrt.c: Likewise.
54263         * math/s_csqrtf.c: Likewise.
54264         * math/s_csqrtl.c: Likewise.
54265         * math/s_ctan.c: Likewise.
54266         * math/s_ctanf.c: Likewise.
54267         * math/s_ctanh.c: Likewise.
54268         * math/s_ctanhf.c: Likewise.
54269         * math/s_ctanhl.c: Likewise.
54270         * math/s_ctanl.c: Likewise.
54271         * math/s_ldexp.c: Likewise.
54272         * math/s_ldexpf.c: Likewise.
54273         * math/s_ldexpl.c: Likewise.
54274         * math/s_significand.c: Likewise.
54275         * math/s_significandf.c: Likewise.
54276         * math/s_significandl.c: Likewise.
54277         * math/w_acos.c: Likewise.
54278         * math/w_acosf.c: Likewise.
54279         * math/w_acosh.c: Likewise.
54280         * math/w_acoshf.c: Likewise.
54281         * math/w_acoshl.c: Likewise.
54282         * math/w_acosl.c: Likewise.
54283         * math/w_asin.c: Likewise.
54284         * math/w_asinf.c: Likewise.
54285         * math/w_asinl.c: Likewise.
54286         * math/w_atan2.c: Likewise.
54287         * math/w_atan2f.c: Likewise.
54288         * math/w_atan2l.c: Likewise.
54289         * math/w_atanh.c: Likewise.
54290         * math/w_atanhf.c: Likewise.
54291         * math/w_atanhl.c: Likewise.
54292         * math/w_cosh.c: Likewise.
54293         * math/w_coshf.c: Likewise.
54294         * math/w_coshl.c: Likewise.
54295         * math/w_dremf.c: Likewise.
54296         * math/w_exp10.c: Likewise.
54297         * math/w_exp10f.c: Likewise.
54298         * math/w_exp10l.c: Likewise.
54299         * math/w_exp2.c: Likewise.
54300         * math/w_exp2f.c: Likewise.
54301         * math/w_fmod.c: Likewise.
54302         * math/w_fmodf.c: Likewise.
54303         * math/w_fmodl.c: Likewise.
54304         * math/w_hypot.c: Likewise.
54305         * math/w_hypotf.c: Likewise.
54306         * math/w_hypotl.c: Likewise.
54307         * math/w_j0.c: Likewise.
54308         * math/w_j0f.c: Likewise.
54309         * math/w_j0l.c: Likewise.
54310         * math/w_j1.c: Likewise.
54311         * math/w_j1f.c: Likewise.
54312         * math/w_j1l.c: Likewise.
54313         * math/w_jn.c: Likewise.
54314         * math/w_jnf.c: Likewise.
54315         * math/w_jnl.c: Likewise.
54316         * math/w_lgamma.c: Likewise.
54317         * math/w_lgamma_r.c: Likewise.
54318         * math/w_lgammaf.c: Likewise.
54319         * math/w_lgammaf_r.c: Likewise.
54320         * math/w_lgammal.c: Likewise.
54321         * math/w_lgammal_r.c: Likewise.
54322         * math/w_log.c: Likewise.
54323         * math/w_log10.c: Likewise.
54324         * math/w_log10f.c: Likewise.
54325         * math/w_log10l.c: Likewise.
54326         * math/w_log2.c: Likewise.
54327         * math/w_log2f.c: Likewise.
54328         * math/w_log2l.c: Likewise.
54329         * math/w_logf.c: Likewise.
54330         * math/w_logl.c: Likewise.
54331         * math/w_pow.c: Likewise.
54332         * math/w_powf.c: Likewise.
54333         * math/w_powl.c: Likewise.
54334         * math/w_remainder.c: Likewise.
54335         * math/w_remainderf.c: Likewise.
54336         * math/w_remainderl.c: Likewise.
54337         * math/w_scalb.c: Likewise.
54338         * math/w_scalbf.c: Likewise.
54339         * math/w_scalbl.c: Likewise.
54340         * math/w_sinh.c: Likewise.
54341         * math/w_sinhf.c: Likewise.
54342         * math/w_sinhl.c: Likewise.
54343         * math/w_sqrt.c: Likewise.
54344         * math/w_sqrtf.c: Likewise.
54345         * math/w_sqrtl.c: Likewise.
54346         * math/w_tgamma.c: Likewise.
54347         * math/w_tgammaf.c: Likewise.
54348         * math/w_tgammal.c: Likewise.
54350         * po/ja.po: Update from translation team.
54352 2011-09-29  Andreas Jaeger  <aj@suse.de>
54354         [BZ #13179]
54355         * sunrpc/netname.c (netname2host): Fix logic.
54357         [BZ #6779]
54358         [BZ #6783]
54359         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
54360         correctly.
54361         * math/w_remainder.c (__remainder): Likewise.
54362         * math/w_remainderf.c (__remainderf): Likewise.
54363         * math/libm-test.inc (remainder_test): Add test cases.
54365 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54367         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
54368         sdiv_qrnnd.
54370 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54372         * string/test-memcmp.c: Avoid unncessary #defines.
54373         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54375 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54377         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
54378         Use new sse2 version for core i3 - i7 as it's faster
54379         than sse42 version.
54380         (bit_Prefer_PMINUB_for_stringop): New.
54381         * sysdeps/x86_64/rawmemchr.S: Update.
54382         Replace with faster SSE2 version.
54383         * sysdeps/x86_64/memrchr.S: New file.
54384         * sysdeps/x86_64/memchr.S: Update.
54385         Replace with faster SSE2 version.
54387 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
54389         * elf/dl-load.c (lose): Add cast to avoid warning.
54391 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
54393         * po/ca.po: Update from translation team.
54395         * inet/getnetgrent_r.c: Hook up nscd.
54396         * nscd/Makefile (routines): Add nscd_netgroup.
54397         (nscd-modules): Add netgroupcache.
54398         (CFLAGS-netgroupcache.c): Define.
54399         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
54400         (cache_search): Add const to second parameter.
54401         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
54402         INNETGR.
54403         (dbs): Add netgrdb entry.
54404         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
54405         (verify_persistent_db): Handle netgrdb.
54406         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
54407         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
54408         GETFDNETGR.
54409         (netgroup_response_header): Define.
54410         (innetgroup_response_header): Define.
54411         (datahead): Add netgroup_response_header and innetgroup_response_header
54412         elements.
54413         * nscd/nscd.conf: Add entries for netgroup cache.
54414         * nscd/nscd.h (dbtype): Add netgrdb.
54415         (_PATH_NSCD_NETGROUP_DB): Define.
54416         (netgroup_iov_disabled): Declare.
54417         (xmalloc, xcalloc, xrealloc): Move declarations here.
54418         (cache_search): Adjust prototype.
54419         Add netgroup-related prototypes.
54420         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
54421         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
54422         (__nscd_innetgr): Declare.
54423         * nscd/selinux.c (perms): Use access_vector_t as element type and
54424         add netgroup-related initializers.
54425         * nscd/netgroupcache.c: New file.
54426         * nscd/nscd_netgroup.c: New file.
54427         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
54428         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
54429         For four parameters use innetgr.
54430         * nss/nss_files/files-init.c: Add definition and callback for netgr.
54431         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
54432         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
54433         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
54435         * nscd/connections.c (register_traced_file): Don't register file
54436         for disabled databases.
54438 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
54440         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
54442         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
54443         from tree and freeing node.
54445 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
54447         * nss/nsswitch.c (__nss_database_lookup): Handle
54448         nss_parse_service_list out of memory case.
54450 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
54452         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
54453         out of memory case.
54455 2011-10-04  Andreas Schwab  <schwab@redhat.com>
54457         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
54458         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
54459         pass it down.
54460         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
54461         elf_machine_rela, elf_machine_lazy_rel.
54462         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
54463         (ELF_DYNAMIC_DO_REL): Likewise.
54464         (ELF_DYNAMIC_DO_RELA): Likewise.
54465         (ELF_DYNAMIC_RELOCATE): Likewise.
54466         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
54467         to ELF_DYNAMIC_DO_REL.
54468         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
54469         (dl_main): In trace mode always set __RTLD_NOIFUNC.
54470         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
54471         elf_machine_rela.
54472         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
54473         skip_ifunc, don't call ifunc function if non-zero.
54474         (elf_machine_rela): Likewise.
54475         (elf_machine_lazy_rel): Likewise.
54476         (elf_machine_lazy_rela): Likewise.
54477         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
54478         (elf_machine_lazy_rel): Likewise.
54479         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
54480         Likewise.
54481         (elf_machine_lazy_rel): Likewise.
54482         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54483         Likewise.
54484         (elf_machine_lazy_rel): Likewise.
54485         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
54486         (elf_machine_lazy_rel): Likewise.
54487         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
54488         (elf_machine_lazy_rel): Likewise.
54489         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54490         (elf_machine_lazy_rel): Likewise.
54491         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
54492         (elf_machine_lazy_rel): Likewise.
54493         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
54494         (elf_machine_lazy_rel): Likewise.
54495         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54496         (elf_machine_lazy_rel): Likewise.
54498 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
54500         * nss/nss_files/files-init.c (_nss_files_init): Use static
54501         initialization for all the *_traced_file variables.
54503 2011-09-28  Andreas Schwab  <schwab@redhat.com>
54505         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54507 2011-09-27  Roland McGrath  <roland@hack.frob.com>
54509         [BZ #13226]
54510         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
54512 2011-09-27  Andreas Schwab  <schwab@redhat.com>
54514         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54515         Reread the line before reparsing it.
54517 2011-09-26  Andreas Schwab  <schwab@redhat.com>
54519         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
54521 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
54522             Maxim Kuvyrkov  <maxim@codesourcery.com>
54523             Joseph Myers  <joseph@codesourcery.com>
54525         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
54526         if needed for __stack_chk_guard.
54528 2011-09-19  Roland McGrath  <roland@hack.frob.com>
54530         * sysdeps/posix/spawni.c (script_execute): Always define it.
54531         It will be optimized away if unused.
54532         (maybe_script_execute): New function.
54533         (__spawni): Call it.
54535         * Makerules: Don't include tls.make.
54536         (config-tls): Always set to thread.
54537         * tls.make.c: File removed.
54539 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
54541         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
54542         * config.make.in (CPPFLAGS-config): New substituted variable.
54544 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
54546         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
54548         [BZ #13192]
54549         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
54550         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
54552 2011-09-15  Roland McGrath  <roland@hack.frob.com>
54554         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
54555         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
54556         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54557         (CALL_FAIL): Likewise.
54558         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
54559         (CALL_FAIL): Macro removed.
54560         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
54562 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
54564         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
54565         for __FINITE_MATH_ONLY__ == 1.
54567 2011-09-15  Andreas Schwab  <schwab@redhat.com>
54569         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
54570         __ieee754_sqrt instead of sqrt.
54571         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
54572         __ieee754_sqrtf instead of sqrtf.
54573         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
54574         __floorf instead of floorf.
54575         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
54576         __floorf, __truncf instead of floorf, truncf.
54578 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
54580         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
54582         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
54583         __extern_always_inline.
54584         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
54585         32-bit.
54587 2011-09-14  Andreas Schwab  <schwab@redhat.com>
54589         * elf/rtld.c (dl_main): Also relocate in dependency order when
54590         doing symbol dependency testing.
54592 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
54594         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54595         Always define `refsym'.
54597 2011-09-13  Andreas Schwab  <schwab@redhat.com>
54599         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54600         (__FD_ELT): Renamed from __FDELT.
54601         * misc/bits/select2.h (__FD_ELT): Likewise.
54602         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54603         __FD_MASK instead of __FDELT, __FDMASK.
54604         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54605         Likewise.
54606         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54607         Likewise.
54609         * elf/Makefile (gen-ldd): Fix pattern.
54611         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54612         (init_tls): Likewise.
54614 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
54616         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54618 2011-09-12  Andreas Schwab  <schwab@redhat.com>
54620         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54621         `struct cmsghdr *' instead of `void *'.
54622         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54623         Likewise.
54625 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
54627         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54628         if non-absolute.
54629         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54630         ldd_rewrite_script.
54632 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
54634         * configure.in: Remove --with-tls option.
54635         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54636         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54637         out in case it is missing.
54638         * sysdeps/ia64/elf/configure.in: Likewise.
54639         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54640         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54641         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54642         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54643         * sysdeps/sh/elf/configure.in: Likewise.
54644         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54645         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54646         * sysdeps/x86_64/elf/configure.in: Likewise.
54647         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54648         * sysdeps/mach/hurd/tls.h: Likewise.
54650         [BZ #13067]
54651         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54653         [BZ #13090]
54654         * configure.in: Fix use of AC_INIT.
54656         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54658 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
54660         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54661         __set_errno.
54662         * malloc/hooks.c: Likewise.
54664         [BZ #11929]
54665         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
54666         variables statically.
54667         (narenas): Initialize.
54668         (list_lock): Initialize.
54669         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
54670         initializtion of main_arena and list_lock.  Small cleanups.
54671         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54672         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
54673         Add initializers to main_arena and mp_.
54674         (malloc_state): Remove pagesize member.  Change all users to use
54675         GLRO(dl_pagesize).
54677         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54678         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
54679         is always initialized.
54681         * malloc/malloc.c: Removed unused configurations and dead code.
54682         * malloc/arena.c: Likewise.
54683         * malloc/hooks.c: Likewise.
54684         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
54686         * include/tls.h: Removed.  USE___THREAD must always be defined.
54687         * bits/libc-tsd.h: Don't handle !USE___THREAD.
54688         * elf/dl-libc.c: Likewise.
54689         * elf/dl-tsd.c: Likewise.
54690         * include/errno.h: Likewise.
54691         * include/netdb.h: Likewise.
54692         * include/resolv.h: Likewise.
54693         * inet/herrno-loc.c: Likewise.
54694         * inet/herrno.c: Likewise.
54695         * malloc/arena.c: Likewise.
54696         * malloc/hooks.c: Likewise.
54697         * malloc/malloc.c: Likewise.
54698         * resolv/res-state.c: Likewise.
54699         * resolv/res_libc.c: Likewise.
54700         * sysdeps/i386/dl-machine.h: Likewise.
54701         * sysdeps/ia64/dl-machine.h: Likewise.
54702         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54703         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54704         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54705         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54706         * sysdeps/sh/dl-machine.h: Likewise.
54707         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54708         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54709         * sysdeps/unix/i386/sysdep.S: Likewise.
54710         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54711         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54712         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54713         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54714         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54715         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54716         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54717         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54718         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54719         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54720         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54721         * sysdeps/x86_64/dl-machine.h: Likewise.
54722         * tls.make.c: Likewise.
54724         * configure.in: Remove --with-__thread option.  Make tests for
54725         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54726         tls_model attribute fail if no support is available.  Remove
54727         USE_IN_LIBIO.
54728         * Makeconfig: Adjust for dropped configure option.  All features are
54729         now mandatory.
54730         * Makerules: Likewise.
54731         * Versions.def: Likewise.
54732         * argp/argp-fmtstream.c: Likewise.
54733         * argp/argp-fmtstream.h: Likewise.
54734         * argp/argp-help.c: Likewise.
54735         * assert/assert.c: Likewise.
54736         * config.h.in: Likewise.
54737         * config.make.in: Likewise.
54738         * configure: Likewise.
54739         * configure.in: Likewise.
54740         * csu/Versions: Likewise.
54741         * csu/init.c: Likewise.
54742         * elf/tst-audit2.c: Likewise.
54743         * elf/tst-tls10.c: Likewise.
54744         * elf/tst-tls10.h: Likewise.
54745         * elf/tst-tls11.c: Likewise.
54746         * elf/tst-tls12.c: Likewise.
54747         * elf/tst-tls14.c: Likewise.
54748         * elf/tst-tlsmod11.c: Likewise.
54749         * elf/tst-tlsmod12.c: Likewise.
54750         * elf/tst-tlsmod13.c: Likewise.
54751         * elf/tst-tlsmod13a.c: Likewise.
54752         * elf/tst-tlsmod14a.c: Likewise.
54753         * elf/tst-tlsmod15b.c: Likewise.
54754         * elf/tst-tlsmod16a.c: Likewise.
54755         * elf/tst-tlsmod16b.c: Likewise.
54756         * elf/tst-tlsmod7.c: Likewise.
54757         * elf/tst-tlsmod8.c: Likewise.
54758         * elf/tst-tlsmod9.c: Likewise.
54759         * gmon/gmon.c: Likewise.
54760         * grp/fgetgrent_r.c: Likewise.
54761         * grp/putgrent.c: Likewise.
54762         * hurd/fopenport.c: Likewise.
54763         * include/libc-symbols.h: Likewise.
54764         * include/tls.h: Likewise.
54765         * intl/gettextP.h: Likewise.
54766         * intl/loadinfo.h: Likewise.
54767         * locale/global-locale.c: Likewise.
54768         * locale/localeinfo.h: Likewise.
54769         * mach/devstream.c: Likewise.
54770         * malloc/arena.c: Likewise.
54771         * malloc/set-freeres.c: Likewise.
54772         * misc/err.c: Likewise.
54773         * misc/getttyent.c: Likewise.
54774         * misc/mntent_r.c: Likewise.
54775         * posix/getopt.c: Likewise.
54776         * posix/wordexp.c: Likewise.
54777         * pwd/fgetpwent_r.c: Likewise.
54778         * resolv/Versions: Likewise.
54779         * resolv/res_hconf.c: Likewise.
54780         * shadow/fgetspent_r.c: Likewise.
54781         * shadow/putspent.c: Likewise.
54782         * stdio-common/printf_fphex.c: Likewise.
54783         * stdio-common/tmpfile.c: Likewise.
54784         * stdlib/abort.c: Likewise.
54785         * stdlib/fmtmsg.c: Likewise.
54786         * sunrpc/auth_unix.c: Likewise.
54787         * sunrpc/clnt_perr.c: Likewise.
54788         * sunrpc/clnt_tcp.c: Likewise.
54789         * sunrpc/clnt_udp.c: Likewise.
54790         * sunrpc/clnt_unix.c: Likewise.
54791         * sunrpc/openchild.c: Likewise.
54792         * sunrpc/svc_simple.c: Likewise.
54793         * sunrpc/svc_tcp.c: Likewise.
54794         * sunrpc/svc_udp.c: Likewise.
54795         * sunrpc/svc_unix.c: Likewise.
54796         * sunrpc/xdr.c: Likewise.
54797         * sunrpc/xdr_array.c: Likewise.
54798         * sunrpc/xdr_rec.c: Likewise.
54799         * sunrpc/xdr_ref.c: Likewise.
54800         * sunrpc/xdr_stdio.c: Likewise.
54802 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54804         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54806 2011-07-03  Andreas Jaeger  <aj@suse.de>
54808         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54809         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54810         regenerate with gen-libm-tests.pl.
54812 2010-05-12  Petr Baudis  <pasky@suse.cz>
54814         [BZ #11589]
54815         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54816         around j0() zero points by switching to j1().
54817         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54818         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54819         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54820         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54822 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54824         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54825         instead of 0.
54826         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
54827         instead of 0.
54828         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54829         Patch in part by Pavel Roskin <proski@gnu.org>.
54831         [BZ #13138]
54832         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54833         realloc.
54834         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
54835         Free memory block if necessary.
54837         [BZ #12847]
54838         * libio/genops.c (INTDEF): For string streams the _lock pointer can
54839         be NULL.  Don't lock in this case.
54841 2011-09-09  Roland McGrath  <roland@hack.frob.com>
54843         * elf/elf.h (ELFOSABI_GNU): New macro.
54844         (ELFOSABI_LINUX): Define to that.
54846 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
54848         * string/strncat.c (strncat): Undef the symbol in case it has been
54849         defined in bits/string.h.
54851 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
54853         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54855         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
54856         link map.
54858 2011-08-17  Andreas Jaeger  <aj@suse.de>
54860         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54862 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54863             Ian Lance Taylor  <iant@google.com>
54865         * math/libm-test.inc (lround_test): New testcase.
54866         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54868 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
54870         * Makefile: Remove support for automatic cvs check-ins.
54871         * Makerules: Likewise.
54872         * config.make.in: Likewise.
54873         * configure.in: Likewise.
54874         * intl/Makefile: Likewise.
54875         * locale/Makefile: Likewise.
54876         * po/Makefile: Likewise.
54877         * posix/Makefile: Likewise.
54878         * sysdeps/gnu/Makefile: Likewise.
54879         * sysdeps/mach/hurd/Makefile: Likewise.
54880         * sysdeps/sparc/sparc32/Makefile: Likewise.
54882         [BZ #13118]
54883         * posix/Makefile (bug-regex32-ENV): Define.
54884         Patch by John Stanley <jpsinthemix@verizon.net>.
54886         * misc/Makefile (headers): Add bits/select2.h.
54887         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54888         * misc/bits/select2.h: New file.
54889         * include/bits/select2.h: New file.
54890         * debug/Makefile (routines): Add fdelt_chk.
54891         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54892         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54893         FD_ISSET.
54894         * debug/fdelt_chk.c: New file.
54896         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
54897         * wcsmbs/test-wmemcmp.c: Likewise.
54898         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
54899         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
54901 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54903         * string/Makefile (strop-tests): Add memcmp.
54904         * string/test-wmemcmp.c: New file.
54905         * string/test-memcmp.c: Add wmemcmp support.
54907 2011-09-08  Roland McGrath  <roland@hack.frob.com>
54909         [BZ #13153]
54910         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54911         2011-07-19 change.
54913         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54914         garbage value in a __mach_port_mod_refs call in the cases of the
54915         task-self and thread-self ports.
54917 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54919         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54921 2011-09-08  Andreas Schwab  <schwab@redhat.com>
54923         * elf/dl-load.c (lose): Check for non-null L.
54925 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
54927         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54929         * elf/dl-libc.c (dlerror_run): Pass back error code from
54930         dl_catch_error.
54932         [BZ #13123]
54933         * elf/dl-load.c (lose): Free l_origin if it is valid.
54935         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54936         names.
54937         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54938         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54939         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54940         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54941         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54942         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54944 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54946         * sysdeps/powerpc/fpu/e_hypot.c: New file.
54947         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54948         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54949         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54950         * sysdeps/powerpc/fpu/k_cosf.c: New file.
54951         * sysdeps/powerpc/fpu/k_sinf.c: New file.
54952         * sysdeps/powerpc/fpu/s_cosf.c: New file.
54953         * sysdeps/powerpc/fpu/s_sinf.c: New file.
54954         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54955         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54957 2011-08-15  Alan Modra  <amodra@gmail.com>
54959         [BZ #13092]
54960         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54961         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54962         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
54963         ppc_mcount to static-only-routines.
54964         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54965         __mcount_internal.
54966         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54967         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
54969 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
54971         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54972         for finite and infinity parameters.
54974 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54976         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54977         and add nop instructions for throughput optimization.
54978         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54980 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
54982         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54983         aligned copy for power7 with vector-scalar instructions.
54984         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54986 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
54988         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54989         AVX check.
54991 2011-09-07  Andreas Schwab  <schwab@redhat.com>
54993         [BZ #13144]
54994         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54995         last change.
54997 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
54999         * sysdeps/unix/sysv/linux/x86_64/init-first.c
55000         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55001         syscall wrapper around clock_gettime in __vdso_clock_gettime.
55002         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55003         clock_gettime.
55005 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55007         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55008         Forgot to demangle the pointer.
55010         * sysdeps/i386/sysdep.h: Define atom_text_section.
55011         * sysdeps/x86_64/sysdep.h: Likewise.
55012         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55013         section with atom_text_section.
55014         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55015         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55016         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55017         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55018         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55020         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55021         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55022         already be defined.  Change to take two parameters and don't assign
55023         result to variable.  Adjust all users.
55024         Define INTERNAL_GETTIME if not already defined.
55025         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55026         call.
55027         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55028         HAVE_CLOCK_GETTIME_VSYSCALL.
55029         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55031         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55032         gettimeofday vsyscall, just use time.
55034 2011-09-06  Andreas Schwab  <schwab@redhat.com>
55036         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55037         <errno.h>.
55039 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
55041         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55042         syscall on x86-64.
55043         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55044         syscall.
55045         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55046         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55047         syscall if possible.
55049 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55051         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55052         e_ident.  Don't pass to find_mapsXX.
55053         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55055 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55057         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55058         strchr-sse2-no-bsf strrchr-sse2-no-bsf
55059         * sysdeps/x86_64/multiarch/strchr.S: Update.
55060         Check bit_slow_BSF bit.
55061         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55062         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55063         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55065 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55067         [BZ #13134]
55068         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55069         before glibc 2.15.
55070         (tryshell): Define.
55071         (__spawni): Change last parameter to be flag.  Test
55072         SPAWN_XFLAGS_USE_PATH flag to use path or not.
55073         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55074         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55075         * posix/spawni.c: Likewise.
55076         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55077         * posix/spawnp.c: Likewise.  Change normal version to use
55078         SPAWN_XFLAGS_USE_PATH.
55079         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55080         SPAWN_XFLAGS_TRY_SHELL.
55082         [BZ #13150]
55083         * posix/glob.h: Remove gcc 1.x support.
55085         [BZ #13068]
55086         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
55088 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55091         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
55092         strrchr-sse2-bsf
55093         * sysdeps/i386/i686/multiarch/strchr.S: New file.
55094         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
55095         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
55096         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
55097         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
55098         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
55100 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55102         * sysdeps/x86_64/wcscmp.S: New file.
55104         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
55105         wcscmp-c wcscmp-sse2
55106         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
55107         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
55108         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
55109         * wcsmbs/wcscmp.c: Allow renaming.
55111 2011-09-05  David S. Miller  <davem@davemloft.net>
55113         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
55114         stack slot, rather than the struct return pointer slot.
55115         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
55116         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
55117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
55118         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
55120 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
55122         * po/ja.po: Update from translation team.
55124         [BZ #13144]
55125         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
55126         kernel in 64-bit binaries.
55128 2011-09-01  David S. Miller  <davem@davemloft.net>
55130         * elf/elf.h (HWCAP_SPARC_*): Move to..
55131         * sysdeps/sparc/sysdep.h: this new file and add new values.
55132         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
55133         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
55134         _DL_HWCAP_COUNT to 24.
55135         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
55136         entries.
55137         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
55138         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
55139         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
55140         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
55141         instead of magic constants.
55142         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55144 2011-08-31  David S. Miller  <davem@davemloft.net>
55146         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
55147         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
55148         Reimplement to do errno handling inline.
55149         (SYSCALL_ERROR_HANDLER): New macro.
55150         (__SYSCALL_STRING): Do not do errno handling in asm.
55151         (__CLONE_SYSCALL_STRING): Delete.
55152         (__INTERNAL_SYSCALL_STRING): Delete.
55153         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
55154         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
55155         (PSEUDO): Reimplement to do errno handling inline.
55156         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
55157         (SYSCALL_ERROR_HANDLER): New macro.
55158         (__SYSCALL_STRING): Do not do errno handling in asm.
55159         (__CLONE_SYSCALL_STRING): Delete.
55160         (__INTERNAL_SYSCALL_STRING): Delete.
55161         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
55162         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
55163         i386.
55164         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
55165         (inline_syscall*): Add 'err' argument.
55166         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
55167         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
55168         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
55169         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
55171         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
55172         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
55174 2011-08-30  Andreas Schwab  <schwab@redhat.com>
55176         * elf/rtld.c (dl_main): Relocate objects in dependency order.
55178 2011-08-29  Jiri Olsa <jolsa@redhat.com>
55180         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
55181         directive.
55183 2011-08-24  David S. Miller  <davem@davemloft.net>
55185         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
55187 2011-08-24  Andreas Schwab  <schwab@redhat.com>
55189         * elf/Makefile: Add rules to build and run unload8 test.
55190         * elf/unload8.c: New file.
55191         * elf/unload8mod1.c: New file.
55192         * elf/unload8mod1x.c: New file.
55193         * elf/unload8mod2.c: New file.
55194         * elf/unload8mod3.c: New file.
55196         * elf/dl-close.c (_dl_close_worker): Reset private search list if
55197         it wasn't used.
55199 2011-08-23  David S. Miller  <davem@davemloft.net>
55201         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
55202         subtract stack bias.
55203         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
55204         %sp not %fp in calculations.
55205         (_JMPBUF_UNWINDS_ADJ): Likewise.
55207         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
55208         (aio_suspend): Call it to force an exception region around the
55209         AIO_MISC_WAIT() invocation.
55211 2011-08-23  Andreas Schwab  <schwab@redhat.com>
55213         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
55214         backslash.
55216 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
55218         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
55219         protection macro.
55220         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
55221         and <dl-machine.h>.
55222         (Elf64_FuncDesc): Remove.
55224 2011-08-22  David S. Miller  <davem@davemloft.net>
55226         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
55227         sigaltstack check, add missing cfi directives.
55228         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
55229         missing cfi directives, and sigaltstack handling.
55231 2011-08-16  Andreas Schwab  <schwab@redhat.com>
55233         [BZ #11724]
55234         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
55235         object is seen twice.
55236         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55238         * elf/Makefile (distribute): Add tst-initorder2.c.
55239         (tests): Add tst-initorder2.
55240         (modules-names): Add tst-initorder2a tst-initorder2b
55241         tst-initorder2c tst-initorder2d.  Add rules to build them.
55242         ($(objpfx)tst-initorder2.out): New rule.
55243         * elf/tst-initorder2.c: New file.
55244         * elf/tst-initorder2.exp: New file.
55246 2011-08-22  Andreas Schwab  <schwab@redhat.com>
55248         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
55250         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
55251         dependencies back to end of function.
55253         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55254         $(elfobjdir)/ld.so.
55256 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
55258         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
55259         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
55260         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
55261         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
55262         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
55263         of __vdso_gettimeofday.
55264         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
55265         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
55266         attribute_hidden.
55267         (_libc_vdso_platform_setup): Remove initialization of
55268         __vdso_gettimeofday and __vdso_time.
55270 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55272         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
55273         and fgetc_unlocked.
55274         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
55275         getc_unlocked.
55277         * elf/dl-open.c (add_to_global): Report additions to the global scope
55278         for LD_DEBUG=scopes.
55279         (dl_open_worker): Also print scope of newly loaded dependencies.
55280         (_dl_show_scope): Indicate if there is no scope.
55282         [BZ #13114]
55283         * stdio-common/Makefile (tests): Add bug24.
55284         * stdio-common/bug24.c: New file.
55286 2011-08-19  Andreas Jaeger  <aj@suse.de>
55288         [BZ #13114]
55289         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
55290         non-existant file when using close-on-exec mode.
55292 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
55294         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
55295         the very first instruction.
55297         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
55298         the CFI state in the end.
55299         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
55300         inclusion of dl-trampoline.h.
55301         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
55303 2011-08-19  Andreas Schwab  <schwab@redhat.com>
55305         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
55306         expectations for long double.
55308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
55309         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
55311 2011-08-14  David S. Miller  <davem@davemloft.net>
55313         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
55314         artificual limit depends upon the system page size.
55316 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55318         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
55319         * resolv/Makefile: Define CFLAGS-libresolv.
55321 2011-08-17  Andreas Schwab  <schwab@redhat.com>
55323         * nss/makedb.c (compute_tables): Make variables used in nested
55324         function static.
55326 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
55328         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
55329         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
55330         if buffer was too small.
55332         * elf/pldd.c (main): Attach to all threads in the process.
55333         Rewrite /proc handling to use *at functions.
55335 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
55337         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
55338         specifies first scope to show.
55339         (dl_open_worker): Update callers.  Move printing scope of new
55340         object to before the relocation.
55341         * elf/rtld.c (dl_main): Update _dl_show_scope call.
55342         * sysdeps/generic/ldsodefs.h: Update declaration.
55344         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
55345         string for the scope number.
55347 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
55349         * nscd/servicescache.c (cache_addserv): Make sure written is always
55350         initialized.
55352 2011-08-14  Roland McGrath  <roland@hack.frob.com>
55354         * sysdeps/i386/i486/bits/atomic.h
55355         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
55356         statement expression, so as to suppress "set but not used" warning.
55357         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
55359         * string/strncat.c (STRNCAT): Use prototype definition.
55361         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
55362         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
55363         -Iprograms here.
55364         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
55365         (localedef-modules): Add localedef.
55366         (locale-modules): Add locale.
55368         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
55369         * elf/rtld.c (dl_main): Invert order of assignment in last change,
55370         to avoid a warning.
55372 2011-08-14  David S. Miller  <davem@davemloft.net>
55374         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
55375         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
55377 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
55379         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
55380         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
55381         * elf/rtld.c (dl_main): Set l_name of vDSO.
55382         Call _dl_show_scope when DL_DEBUG_SCOPES.
55383         (process_dl_debug): Recognize scopes flag and also set it for all.
55384         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
55385         Declare _dl_show_scope.
55387         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
55388         (do_dlopen): Pass caller_dlopen to dl_open.
55389         (__libc_dlopen_mode): Initialize caller_dlopen.
55391         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
55392         of libc.  Make tolower call locale-independent.  Optimize a bit by
55393         using isdigit instead of isalnum.
55394         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
55396 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
55398         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
55399         was a dependency or dynamically loaded.
55401 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
55403         * intl/l10nflist.c: Allow architecture-specific pop function.
55404         * sysdeps/x86_64/l10nflist.c: New file.
55406         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
55407         classification.
55409 2011-08-10  Andreas Schwab  <schwab@redhat.com>
55411         * include/dirent.h: Add libc_hidden_proto for scandirat and
55412         scandirat64.  Don't declare __scandirat64.
55413         * dirent/scandirat.c: Add libc_hidden_def.
55414         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
55415         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
55417 2011-08-10  David S. Miller  <davem@davemloft.net>
55419         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
55420         enum.
55421         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55422         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55423         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55425 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
55427         * Versions.def [libc]: Add GLIBC_2.15.
55428         * dirent/Makefile (routines): Add scandirat and scandirat64.
55429         * dirent/Versions [libc]: Export scandirat and scandirat64 for
55430         GLIBC_2.15.
55431         * dirent/dirent.h: Declare scandirat and scandirat64.
55432         * dirent/scandirat.c: New file.
55433         * dirent/scandirat64.c: New file.
55434         * sysdeps/wordsize-64/scandirat.c: New file.
55435         * sysdeps/wordsize-64/scandirat64.c: New file.
55436         * dirent/opendir.c: Define opendirat.
55437         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
55438         using scandirat.
55439         * dirent/scandir64.c: Adjust for scandir.c change.
55440         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
55441         __scandirat64, and __scandir_cancel_handler.
55442         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
55443         additional parameter and use openat instead of open (outside of ld.so).
55444         Add new __opendir as wrapper around __opendirat.
55445         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
55446         here without requiring old scandirat implementation.
55448 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
55450         * dirent/scandir.c (cancel_handler): Renamed to
55451         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
55452         defined.  Adjust users.
55453         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
55454         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
55456 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
55458         * string/test-string.h (IMPL): Use __STRING to expand name and then
55459         stringify it.
55461         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
55462         of cleanups.
55464 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55466         * string/Makefile: Update.
55467         (strop-tests): Append strncat.
55468         * string/test-wcscmp.c: New file.
55469         New comprehensive test for wcscmp.
55470         * string/test-strcmp.c: Update.
55471         (WIDE): New define.
55473 2011-07-22  Andreas Schwab  <schwab@redhat.com>
55475         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
55476         line.
55478 2011-07-26  Andreas Schwab  <schwab@redhat.com>
55480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55481         encoding to ACE if AI_IDN.
55483 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
55485         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
55486         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
55488 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55490         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
55491         Fix overflow bug in strncat.
55492         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
55494         * string/test-strncat.c: Update.
55495         Add new tests for checking overflow bugs.
55497 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55499         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55500         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
55501         * sysdeps/i386/i686/multiarch/strcat.S: New file.
55502         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
55503         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
55504         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
55505         * sysdeps/i386/i686/multiarch/strncat.S: New file.
55506         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
55507         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
55509         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
55510         (USE_AS_STRCAT): Define.
55511         Add strcat and strncat support.
55512         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55514 2011-07-25  Andreas Schwab  <schwab@redhat.com>
55516         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
55517         __n bigger than INT_MAX+1.
55518         (__strncmp_g): Likewise.
55520 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
55522         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
55523         * libio/stido.h: Likewise.
55525         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
55526         (AF_NFC): Define.
55527         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
55528         (AF_NFC): Define.
55530         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
55531         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55532         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55533         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
55534         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55536         [BZ #13021]
55537         * scripts/test-installation.pl: Don't expect libnss_test1 to be
55538         installed.
55540         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
55541         typo.
55542         (_dl_x86_64_save_sse): Likewise.
55544 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
55546         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
55547         OSXSAVE.
55548         (_dl_x86_64_save_sse): Likewise.
55550         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
55552         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
55554 2011-07-21  Andreas Schwab  <schwab@redhat.com>
55556         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
55557         change.
55558         (_dl_x86_64_save_sse): Use correct AVX check.
55560 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55562         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
55563         bug in strncpy/strncat.
55564         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
55566 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
55568         * string/tester.c (test_strcat): Add tests for different alignments
55569         of source and destination.
55570         (test_strncat): Likewise.
55572 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
55574         [BZ #12852]
55575         * posix/glob.c (glob): Check passed in values before using them in
55576         expressions to avoid some overflows.
55577         (glob_in_dir): Likewise.
55579         [BZ #13007]
55580         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
55581         check for AVX enablement so that we don't crash with old kernels and
55582         new hardware.
55583         * elf/tst-audit4.c: Add same checks here.
55584         * elf/tst-audit6.c: Likewise.
55586         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
55588 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
55590         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
55592 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
55594         * po/cs.po: Update from translation team.
55595         * po/bg.po: Likewise.
55597 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
55599         * misc/sys/cdefs.h: Add support for const attribute.
55600         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55601         to gnu_dev_{major,minor,makedev} functions.
55603 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
55605         * intl/dcigettext.c (get_output_charset): Add missing bracket.
55607 2011-07-20  Andreas Schwab  <schwab@redhat.com>
55609         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55610         strlen results.
55612 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55614         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55615         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55616         register in order to avoid conflicts with the soft frame pointer
55617         being held in r11 when necessary.
55618         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55619         (INTERNAL_VSYSCALL_NCS): Likewise.
55621 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
55623         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55624         * elf/dl-fini.c (_dl_fini): Adjust caller.
55625         * elf/dl-close.c (_dl_close_worker): Likewise.
55626         * sysdeps/generic/ldsodefs.h: Adjust declaration.
55628 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
55630         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55631         "aux_cache->nlibs < 0".
55633         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55634         in the reload-count case.
55636 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
55638         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55639         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55640         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55641         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55642         * sysdeps/x86_64/multiarch/strcat.S: New file.
55643         * sysdeps/x86_64/multiarch/strncat.S: New file.
55644         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55645         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55646         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55647         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55648         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55649         (USE_AS_STRCAT): Define.
55650         Add strcat and strncat support.
55651         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55652         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55653         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55654         * string/strncat.c: Update.
55655         (USE_AS_STRNCAT): Define.
55656         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55657         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55658         and i7.
55659         * sysdeps/x86_64/multiarch/init-arch.h
55660         (bit_Prefer_PMINUB_for_stringop): New.
55661         (index_Prefer_PMINUB_for_stringop): Likewise.
55662         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55663         bit_Prefer_PMINUB_for_stringop.
55665 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
55667         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55668         buffer64.
55669         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55670         of casting of buffer.
55671         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55672         buffer32 and buffer64.
55673         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55674         writes instead of casting of buffer.
55675         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55676         buffer32.
55677         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55678         casting of buffer.
55680 2011-07-19  Andreas Schwab  <schwab@redhat.com>
55682         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55684 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
55686         * nscd/nscd.c (termination_handler): Don't do anything for a database
55687         if it has not yet been initialized.
55689 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
55691         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55693 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
55695         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55697 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
55699         * po/nl.po: Update from translation team.
55700         * po/sv.po: Likewise.
55702 2011-07-16  Roland McGrath  <roland@hack.frob.com>
55704         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55705         now disallowed by GCC.
55707         * configure.in (use-default-link): Default to yes if a test -shared
55708         link meets our qualifications.
55709         * configure: Regenerated.
55711         * config.make.in (output-format): New variable.
55712         * configure.in: Check for ld --print-output-format support.
55713         * configure: Regenerated.
55714         * Makerules ($(common-objpfx)format.lds)
55715         [$(output-format) != unknown]: Just use $(output-format),
55716         instead of the linker-script munging.
55718 2011-07-14  Roland McGrath  <roland@hack.frob.com>
55720         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55721         of $(common-objpfx)shlib.lds.
55722         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55724         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55725         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55727         * configure.in (-z relro check): Adjust test code to add a large
55728         writable data section after it.
55729         * configure: Regenerated.
55731 2011-07-11  Roland McGrath  <roland@hack.frob.com>
55733         * configure.in (-z relro check): Fix test code to make the variable
55734         truly const.
55735         * configure: Regenerated.
55737 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
55739         * nscd/nscd.h (struct traced_file): Define.
55740         (struct database_dyn): Remove inotify_descr, reset_res, and filename
55741         elements.  Add traced_files.
55742         (inotify_fd): Declare.
55743         (register_traced_file): Declare.
55744         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55745         (inotify_fd): Export.
55746         (resolv_conf_descr): Remove.
55747         (nscd_init): Move inotify descriptor creation to main.
55748         Don't register files for notification here.
55749         (register_traced_file): New function.
55750         (invalidate_cache): Don't use reset_res to determine whether to call
55751         res_init, go through the list of registered files.
55752         (main_loop_poll): The inotify descriptors are now stored in the
55753         structures for the traced files.
55754         (main_loop_epoll): Likewise
55755         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
55756         to __nss_disable_nscd.
55757         * nscd/cache.c (prune_cache): There is no single inotify descriptor
55758         for a database anymore.  Check the records for all the registered
55759         files instead.
55760         * nss/Makefile (libnss_files-routines): Add files-init.
55761         (libnss_db-routines): Add db-init.
55762         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55763         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55764         * nss/nss_db/db-init.c: New file.
55765         * nss/nss_files/files-init.c: New file.
55766         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
55767         __nss_lookup_function.
55768         (__nss_lookup_function): Call nss_load_library.
55769         (nss_load_all_libraries): New function.
55770         (__nss_disable_nscd): Take parameter with callback function for files
55771         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
55772         used for the cached services.
55773         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55774         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55775         options for features to all the files in nscd.
55777         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55779 2011-07-10  Roland McGrath  <roland@hack.frob.com>
55781         * csu/elf-init.c (__libc_csu_init): Comment typo.
55783 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
55785         * po/pl.po: Update from translation team.
55786         * po/ja.po: Likewise.
55787         * po/ru.po: Likewise.
55788         * po/ko.po: Likewise.
55789         * po/fr.po: Likewise.
55791 2011-07-09  Roland McGrath  <roland@hack.frob.com>
55793         * configure.in (.ctors/.dtors header and trailer check):
55794         Use an empirical test on a built program.
55795         * configure: Regenerated.
55797         * configure.in (-z relro check): Use an empirical test on a built DSO.
55798         Detect, but do not require, on ia64.
55799         * configure: Regenerated.
55801         * configure.in (READELF): Find it with AC_CHECK_TOOL.
55802         Update tests that use readelf to use $READELF instead.
55803         * configure: Regenerated.
55805 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
55807         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55808         if the result is not used.
55810 2011-07-05  Andreas Jaeger  <aj@suse.de>
55812         [BZ#9696]
55813         * stdlib/tst-strtod.c: Add testcase.
55815 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
55817         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
55818         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
55819         The latter has a higher limit.  Take additional parameter to pass to
55820         the new function.
55821         (__pathconf): Pass file to __statfs_link_max.
55822         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55823         __statfs_link_max.
55824         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55825         __statfs_link_max.
55827         [BZ #12868]
55828         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55829         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55830         Handle Lustre.
55831         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55832         (__statfs_filesize_max): Likewise.
55833         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55835 2011-07-05  Andreas Jaeger  <aj@suse.de>
55837         * resolv/res_comp.c (dn_skipname): Remove unused variable.
55839 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
55841         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55842         `status' variable.
55843         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55844         Likewise.
55846 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
55848         * Makefile (strop-tests): Add strncat.
55849         * string/test-strncat.c: New file.
55851 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
55853         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55855 2011-06-21  Andreas Jaeger  <aj@suse.de>
55857         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55858         Copy rule from iconvdata/Makefile.
55860 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
55862         [BZ #12922]
55863         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55864         but no long options are defined, just return 'W'.
55866 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
55868         [BZ #9696]
55869         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55871 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
55873         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55874         netgroups to read.
55875         (innetgr): Likewise.
55877 2011-07-05  Roland McGrath  <roland@hack.frob.com>
55879         * config.make.in (install_root): Default to $(DESTDIR).
55881 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
55883         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55885 2011-07-02  Roland McGrath  <roland@hack.frob.com>
55887         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55889         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55890         containing directory rather than embedding absolute directory names.
55892         * scripts/check-local-headers.sh: Rewritten using awk.
55893         Match by word, not by line.  Print error messages for matches.
55894         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55896         * Makerules [shlib-lds-flags empty]:
55897         ($(common-objpfx)libc_pic.opts): New target.
55898         ($(common-objpfx)libc_pic.os.clean): New target.
55899         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55901         * config.make.in (OBJCOPY): New variable.
55902         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55903         * configure: Regenerated.
55905         * config.make.in (use-default-link): New variable.
55906         * configure.in (use_default_link): Grok --with-default-link to set it.
55907         * configure: Regenerated.
55908         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55909         (shlib-lds, shlib-lds-flags): Define to empty.
55911         * Makerules (shlib-lds): New variable.
55912         (shlib-lds-flags): New variable.
55913         (build-shlib, build-moduile, build-module-asneeded): Use it.
55914         ($(common-objpfx)libc.so): Use $(shlib-lds).
55915         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55916         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55918         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55919         DT_FLAGS/DT_FLAGS_1 with zero flags.
55921         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55922         linker script munging.
55924 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
55926         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55927         as 128-bit value.
55928         * crypt/sha512.c (sha512_process_block): Perform total addition using
55929         128-bit if possible.
55930         (__sha512_finish_ctx): Likewise.
55931         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55932         as 64-bit value.
55933         * crypt/sha256.c (SWAP64): Define.
55934         (sha256_process_block): Perform total addition using 64-bit if
55935         possible.
55936         (__sha256_finish_ctx): Likewise.
55938 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
55940         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
55941         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55942         * nscd/hstcache.c (cache_addhst): Likewise.
55943         * nscd/grpcache.c (cache_addgr): Likewise.
55944         * nscd/aicache.c (addhstaiX): Likewise
55945         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55947 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
55949         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55950         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55951         * nscd/hstcache.c (cache_addhst): Likewise.
55952         * nscd/grpcache.c (cache_addgr): Likewise.
55953         * nscd/aicache.c (addhstaiX): Likewise
55955 2011-07-01  Andreas Schwab  <schwab@redhat.com>
55957         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55958         domain only when needed.
55960 2011-06-30  Andreas Schwab  <schwab@redhat.com>
55962         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55963         is always restored.
55965 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
55967         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55968         are re-adding the entry.
55969         * nscd/servicescache.c (cache_addserv): Likewise.
55971 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
55973         * sysdeps/generic/dl-irel.h: fix protection against multiple
55974         inclusions.
55975         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55977 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
55979         [BZ #12935]
55980         * malloc/memusage.sh: Fix quoting in message.
55981         * debug/xtrace.sh: Likewise.
55983         * configure.in: Remove support for --experimental-malloc option, make
55984         it the default.
55985         * config.make.in: Likewise.
55986         * malloc/Makefile: Likewise.
55988 2011-06-27  Andreas Schwab  <schwab@redhat.com>
55990         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55991         two-byte characters.
55993 2011-06-27  Roland McGrath  <roland@hack.frob.com>
55995         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55996         AC_CACHE_CHECK invocation.
55997         * configure: Regenerated.
55999         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56001 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
56003         [BZ #12350]
56004         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
56005         bit from old_res_options.
56007         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56009         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56010         value type for setfct.
56012 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
56014         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56015         __gettimeofday instead of gettimeofday.
56017 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
56019         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56021 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
56023         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56025         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56026         info.
56028 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56031         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56032         strcpy-sse2-unaligned strncpy-sse2-unaligned
56033         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56034         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56035         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56036         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56037         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56038         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56039         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56040         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56041         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56042         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56043         (STRCPY): Support SSE2 and SSSE3 versions.
56045 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
56047         [BZ #12874]
56048         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56049         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56050         kernels which artificially limit size of requests.
56052 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
56054         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56055         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56056         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56057         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56058         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56059         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56060         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56061         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56062         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56063         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56064         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56065         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56066         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56067         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56068         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56070         Enable unaligned load optimization for Intel Core i3, i5 and i7
56071         processors.
56072         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56073         Define.
56074         (index_Fast_Unaligned_Load): Define.
56075         (HAS_FAST_UNALIGNED_LOAD): Define.
56077 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
56079         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56081 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
56083         [BZ #12907]
56084         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
56085         until it is clear that the information is realy needed.
56086         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
56088 2011-06-22  Andreas Schwab  <schwab@redhat.com>
56090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
56092 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
56094         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56095         /sys/devices/system/cpu/online if it is usable.
56097         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
56098         reading the information from the /proc filesystem to once a second.
56100 2011-06-21  Andreas Jaeger  <aj@suse.de>
56102         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
56103         NULL after inclusion of kernel headers.
56105 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
56107         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
56108         calls to internal_setent.
56110         [BZ #12885]
56111         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
56112         addresses using gethostbyname4_r ignore IPv4 addresses.
56114         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
56115         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
56117         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
56119 2011-06-20  David S. Miller  <davem@davemloft.net>
56121         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
56122         inclusions.
56123         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
56125         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
56126         (elf_irel): Use it.
56127         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
56128         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
56129         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
56130         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
56131         * sysdeps/x86_64/dl-irel.h: Likewise.
56133         * elf/dl-runtime.c: Use elf_ifunc_invoke.
56134         * elf/dl-sym.c: Likewise.
56136 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
56138         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
56139         need to dereference resplen2.
56141 2011-06-14  Andreas Schwab  <schwab@redhat.com>
56143         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
56145 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
56147         * Makeconfig: Define vardbdir and inst_vardbdir.
56148         * nss/Makefile: Add rules to install db-Makefile.
56150         * nss/nss_db/db-XXX.c: Cleanup.
56152         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
56153         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
56154         GLIBC_PRIVATE.
56155         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
56156         * nss/makedb.c: Implement -g option to specify that value strings
56157         are generated and should not be added to table iterated over for
56158         get*ent calls.
56159         * nss/nss_db/db-initgroups.c: New file.
56161         * nss/getent.c: Add support for initgroups lookups through getgrouplist
56162         interface.
56164         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
56165         (internal_getgrouplist): Adjust to name change.
56166         Update use_initgroups_entry if this is not the first call.
56167         * nss/databases.def: Add initgroups entry.
56169         * nss/makedb.c (compute_tables): Check result of multiple hash table
56170         sizes to minimize maximum chain length.
56172 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
56174         * Versions.def: Add entry for libnss_db.
56175         * shlib-versions: Likewise.
56176         * nss/Makefile: Add rules to build libnss_db.
56177         * nss/Versions: Add libnss_db information.  Organize libnss_files
56178         entries better.
56179         * nss/db-Makefile: Add gshadow support.  Change rules for the new
56180         makedb progra.  Some minor improvements to generate smaller files.
56181         * nss/nss_db/nss_db.h: Move NSS database header data structures to
56182         here from...
56183         * nss/makedb.c: ...here.
56184         Improve database format to be smaller and require less memory at
56185         runtime.
56186         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
56187         db anymore.
56188         * nss/nss_db/db-netgrp.c: Likewise.
56189         * nss/nss_db/db-open.c: Likewise.
56190         * nss/nss_files/flies-XXX.x: Adjust comments.
56191         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
56192         * nss/nss_files/files-grp.c: Likewise.
56193         * nss/nss_files/files-hosts.c: Likewise.
56194         * nss/nss_files/files-network.c: Likewise.
56195         * nss/nss_files/files-proto.c: Likewise.
56196         * nss/nss_files/files-pwd.c: Likewise.
56197         * nss/nss_files/files-rpc.c: Likewise.
56198         * nss/nss_files/files-service.c: Likewise.
56199         * nss/nss_files/files-sgrp.c: Likewise.
56200         * nss/nss_files/files-spwd.c: Likewise.
56201         * nss/nss_db/db-alias.c: Removed.
56202         * nss/nss_db/dummy-db.h: Removed.
56204 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
56206         * nss/makedb.c: Rewritten to not use database library.
56207         * nss/Makefile: Update to build new makedb program.
56209 2011-06-14  Andreas Jaeger  <aj@suse.de>
56211         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
56212         memset declaration.
56214 2011-06-10  Andreas Schwab  <schwab@redhat.com>
56216         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
56217         tmpbuf.
56219 2011-06-10  Roland McGrath  <roland@hack.frob.com>
56221         * Makerules (shlib.lds): Fail if the linker script comes out empty.
56222         * elf/Makefile ($(objpfx)ld.so): Likewise.
56224         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
56225         Don't list ld.so twice in dependencies.
56227         * posix/bug-regex31.c: Include <stdlib.h>.
56229         * nscd/hstcache.c (cache_addhst): Remove unused variable.
56231         * nis/nss_compat/compat-spwd.c
56232         (getspent_next_nss_netgr): Remove unused variable.
56233         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
56235         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
56236         nonmembers" output to use the right array.
56238         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
56240         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
56242         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
56243         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
56244         * catgets/gencat.c (read_input_file): Likewise.
56245         * locale/programs/locarchive.c (enlarge_archive): Likewise.
56247         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
56248         variable definition inside #if's controlling its use.
56250         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
56252         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
56254         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
56256         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
56257         unreachable code.
56259         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
56261         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
56262         * configure: Regenerated.
56264         * Makerules: Revert last change.
56265         * elf/Makefile: Likewise.
56267 2011-06-09  Roland McGrath  <roland@hack.frob.com>
56269         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
56270         * elf/Makefile ($(objpfx)librtld.os): Likewise.
56271         (reloc-link): Likewise.
56273 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
56275         * elf/Makefile: Add rules to build pldd.
56276         * elf/pldd.c: New file.
56277         * elf/pldd-xx.c: New file.
56279 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
56281         * version.h: Update for 2.15 development version.
56283 2011-06-07  David S. Miller  <davem@davemloft.net>
56285         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
56286         ifuncs.
56287         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
56288         elf_machine_lazy_rel): Likewise.
56289         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
56290         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
56291         elf_machine_lazy_rel): Likewise.
56292         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
56293         dl_hwcap via passed in argument.
56294         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
56295         Likewise.
56297 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56299         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
56301 2011-06-06  Roland McGrath  <roland@hack.frob.com>
56303         [BZ #12849]
56304         * manual/fdl-1.1.texi: New file, verbatim from:
56305         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
56306         * manual/lgpl-2.1.texi: New file, verbatim from:
56307         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
56308         * manual/Makefile (licenses): New variable, list those new file names.
56309         (texis): Use it.
56310         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
56312         * manual/fdl.texi: File removed.
56313         * manual/lesser.texi: File removed.
56314         * manual/libc.texinfo (Copying, Documentation License):
56315         Use new @include file names, put @appendix directive before @include.
56317 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
56319         [BZ #12841]
56320         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
56321         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
56322         (mq_open): Add __NTH.
56324 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
56326         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56327         Assume Intel Core i3/i5/i7 processor if AVX is available.
56329 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56331         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
56332         typo.
56334 2011-05-31  Andreas Schwab  <schwab@redhat.com>
56336         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
56337         memory.  Use alloca_account.  Fix memory leak when retrying.
56339 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
56341         * version.h (RELEASE): Bump for 2.14 release.
56342         * include/features.h (__GLIBC_MINOR__): Bump to 14.
56344         * config.make.in (RANLIB): Remove entry.
56346 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
56348         * po/Makefile (po-sed-cmd): Add ksh to extensions.
56349         (libc.pot): Work around missing support for .ksh extension in xgettext.
56351         [BZ #12684]
56352         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
56353         if both request failed.
56354         (send_dg): In case of server errors clear resplen or *resplen2.
56356         [BZ #12454]
56357         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
56358         when there are multiple maps.
56359         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
56360         (_dl_fini): Remove test here.
56362         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
56364 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
56366         [BZ #12350]
56367         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
56368         bit from old_res_options.
56369         (gaih_inet): Likewise.
56371         [BZ #11099]
56372         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
56373         as signed.
56375         * resolv/res_init.c (res_setoptions): Make the code more compact.
56377         [BZ #11558]
56378         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
56379         set RES_USEVC.
56381         [BZ #11634]
56382         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
56384         * malloc/malloc.h: Mark malloc hook variables as deprecated.
56386         [BZ #11781]
56387         * malloc/malloc.h: Declare malloc hook variables as volatile.
56389         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
56390         in last patch.
56392         [BZ #11799]
56393         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
56394         raise in the comment.
56395         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56396         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56397         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
56399 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
56401         [BZ #12811]
56402         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
56403         grow the buffers more if it already has to be sufficient.
56404         (build_wcs_upper_buffer): Likewise.
56405         * posix/regexec.c (check_matching): Likewise.
56406         (clean_state_log_if_needed): Likewise.
56407         (extend_buffers): Don't enlarge buffers beyond size of the input
56408         buffer.
56409         Patches mostly by Emil Wojak <emil@wojak.eu>.
56410         * posix/bug-regex32.c: New file.
56411         * posix/Makefile (tests): Add bug-regex32.
56413         * locale/findlocale.c (_nl_find_locale): Return right away if
56414         _nl_explode_name failed.
56415         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
56417         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
56419         * debug/xtrace.sh: Unify messages.
56420         * malloc/memusage.sh: Likewise.
56422         [BZ #12813]
56423         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
56424         time symbol from vDSO.  Substitute with vsyscall if not available.
56425         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
56426         __vdso_time.
56428         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
56429         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
56430         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
56431         Add sendmmsg and internal_sendmmsg.
56432         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
56433         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
56434         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
56436         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
56437         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
56438         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
56440 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
56442         [BZ #12813]
56443         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
56444         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
56445         available.
56446         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
56447         __vdso_getcpu.
56449         [BZ #12814]
56450         * iconvdata/Makefile (tests): Add bug-iconv9.
56451         * iconvdata/bug-iconv9.c: New file.
56453 2011-05-27  Andreas Schwab  <schwab@redhat.com>
56455         [BZ #12814]
56456         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
56458 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
56460         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56461         (struct user_regs_struct): Change intcs field back to cs.
56463 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
56465         * po/ja.po: Update from translation team.
56467 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
56469         [BZ #12795]
56470         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
56471         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
56473 2011-05-20  Andreas Schwab  <schwab@redhat.com>
56475         * stdlib/longlong.h: Update from GCC.
56477 2011-05-23  Andreas Schwab  <schwab@redhat.com>
56479         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
56480         parameter name.
56481         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
56482         Add parameter name.
56483         (__sysconf): Pass it down.
56485 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
56487         [BZ #12671]
56488         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
56489         some situations.
56490         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56491         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
56492         add in in __libc_use_alloca calls.  Adjust callers.
56493         (glob): Use malloc in some situations.
56495         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
56496         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
56497         pltexit.
56499 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
56501         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
56502         and CLOCK_BOOTTIME_ALARM.
56504         [BZ #12782]
56505         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
56506         is returned.
56508         * string/_strerror.c (__strerror_r): Print negative errors as signed
56509         numbers.
56511         [BZ #12777]
56512         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
56513         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
56514         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
56516         * configure.in: Fix typo in redirection and correct removal of test
56517         files in two cases.
56519         [BZ #12788]
56520         * locale/setlocale.c (new_composite_name): Fix test to check for
56521         identical name of all categories.
56523         [BZ #12792]
56524         * libio/filedoalloc.c (local_isatty): New function.
56525         (_IO_file_doallocate): Use local_isatty.
56526         * stdio-common/perror.c (perror): In case a new stream is used
56527         forward the stream error.
56528         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
56529         error flag.
56531 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
56533         [BZ #11869]
56534         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
56535         alloca.
56536         * include/alloca.h (extend_alloca_account): Define.
56538         [BZ #11857]
56539         * posix/regex.h: Fix comments with documentation of user-accessible
56540         fields after compilation and describe correct free'ing of pattern
56541         after re_compile_pattern.
56542         Patch by Reuben Thomas <rrt@sc3d.org>.
56544 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
56546         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
56547         and -mno-altivec to prevent the compiler from using Altivec and/or
56548         VSX instructions when the corresponding registers are not available.
56550 2011-05-19  Andreas Schwab  <schwab@redhat.com>
56552         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
56554 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
56556         * libio/freopen.c (freopen): Use __dup2, not dup2.
56557         * libio/freopen64.c (freopen64): Likewise.
56559 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56561         [BZ #12775]
56562         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
56563         * math/Makefile (tests): Add test-powl.
56564         (CFLAGS-test-powl.c): Define.
56565         * math/test-powl.c: New file.
56567 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56569         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
56571 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
56573         [BZ #11837]
56574         * iconvdata/gb18030.c: Update to GB18020-2005.
56576 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
56578         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
56579         RE_SYNTAX_POSIX_AWK): Update to match recent development.
56580         Patch by Aharon Robbins <arnold@skeeve.com>.
56582         [BZ #11892]
56583         * stdlib/putenv.c (putenv): Don't always create copy of the variable
56584         on the stack.
56586         [BZ #11895]
56587         * misc/pselect.c (__pselect): Handle timeout value errors hidden
56588         through underflows.
56590         [BZ #12766]
56591         * misc/error.c (error_at_line): Ensure file_name and old_file_name
56592         point to strings before performing equality test for error_one_per_line
56593         mode.
56595         [BZ #11697]
56596         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56598         [BZ #11820]
56599         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56600         (struct user_fpregs_struct): Avoid __uint*_t types.
56602         [BZ #6420]
56603         * malloc/mtrace.c (tr_where): Add additional parameter to point to
56604         symbol info.  Use it instead of calling _dl_addr locally.
56605         (lock_and_info): New function.
56606         (tr_freehook): Call lock_and_info and pass symbol info as additional
56607         parameter to tr_where.
56608         (tr_mallochook): Likewise.
56609         (tr_reallochook): Likewise.
56610         (tr_memalignhook): Likewise.
56612         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
56613         used and couldn't be at all thread-safe.
56615 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
56617         * libio/freopen.c (freopen): Don't close old file descriptor
56618         before the new one is opened.  Instead dup the new file descriptor
56619         to the old one after the new stream is created.
56620         * libio/freopen64.c (freopen64): Likewise.
56621         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56622         * libio/fileops.c (_IO_new_file_close_it): Handle new
56623         _IO_FLAGS2_NOCLOSE flag.
56624         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56625         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56626         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56627         _IO_FLAGS2_NOCLOSE flag.
56628         * include/unistd.h: Add hidden_proto for dup3.
56629         Define __have_dup3.
56630         * io/dup3.c: Define hidden symbol.
56631         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56633         [BZ #7101]
56634         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56635         when an incomplete long option is used.
56636         * posix/tst-getopt_long1.c: New file.
56637         * posix/Makefile (tests): Add tst-getopt_long1.
56639         [BZ #10138]
56640         * scripts/config.guess: Update from autoconf-2.68.
56641         * scripts/config.sub: Likewise.
56643         [BZ #10157]
56644         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56645         tests into ...
56646         (has_cpuclock): ...this.  New function.
56647         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56648         macro here based on has_cpuclock code.
56650         [BZ #10149]
56651         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56652         First byte (not low byte) is now always NUL.
56653         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56655         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56656         Use non-cancelable interfaces.
56658         [BZ #9809]
56659         * locale/iso-639.def: Add entry for Sorani.
56661         [BZ #11901]
56662         * include/stdlib.h: Move include protection to the right place.
56663         Define abort_msg_s.  Declare __abort_msg with it.
56664         * stdlib/abort.c (__abort_msg): Adjust type.
56665         * assert/assert.c (__assert_fail_base): New function.  Majority
56666         of code from __assert_fail.  Allocate memory for __abort_msg with
56667         mmap.
56668         (__assert_fail): Now call __assert_fail_base.
56669         * assert/assert-perr.c: Remove bulk of implementation.  Use
56670         __assert_fail_base.
56671         * include/assert.hL Declare __assert_fail_base.
56672         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56673         mmap.
56674         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56676 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
56678         [BZ #11952]
56679         [BZ #12453]
56680         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56681         until all modules are registered in the DTV.
56682         * elf/Makefile: Add rules to build and run tst-tls19.
56683         * elf/tst-tls19.c: New file.
56684         * elf/tst-tls19mod1.c: New file.
56685         * elf/tst-tls19mod2.c: New file.
56686         * elf/tst-tls19mod3.c: New file.
56687         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56689         [BZ #12083]
56690         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56691         correctly.
56693         [BZ #12601]
56694         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56695         two-byte sequence errors.
56696         * iconvdata/Makefile (tests): Add bug-iconv8.
56697         * iconvdata/bug-iconv8.c: New file.
56699         [BZ #12626]
56700         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56701         buf2 definition.
56703         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56705         [BZ #12432]
56706         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56707         (dummy_getcfa): New function.
56708         (init): Get _Unwind_GetCFA address, use dummy if not found.
56709         (backtrace_helper): In recursion check, also check whether CFA changes.
56710         (__backtrace): Completely initialize arg.
56712         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
56713         storing incomplete byte sequence in state object.  Avoid testing for
56714         guaranteed too small input if we know there is enough data available.
56716 2011-05-11  Andreas Schwab  <schwab@redhat.com>
56718         * Makeconfig (+link-pie): Indent.
56719         * Rules (binaries-pie): Define if $(have-fpie) and
56720         $(build-shared).
56721         (binaries-shared): Also filter out $(binaries-pie).
56722         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56723         * nscd/Makefile (others-pie): Add nscd.
56724         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56725         ($(objpfx)nscd): Remove command override.
56726         * login/Makefile (others-pie): Add pt_chown.
56727         ($(objpfx)pt_chown): Remove command override.
56728         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56729         remove command overrides.
56731 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
56733         * libio/tst_putwc.c: Fix error messages.
56735         [BZ #12724]
56736         * libio/fileops.c (_IO_new_file_close_it): Always flush when
56737         currently writing and seek to current position when not.
56738         * libio/Makefile (tests): Add bug-fclose1.
56739         * libio/bug-fclose1.c: New file.
56741 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
56743         [BZ #12511]
56744         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56745         don't set DF_1_NODELETE here.
56746         (do_lookup_x): When entering new entry test for copy relocation
56747         and if necessary set DF_1_NODELETE flag.
56748         * elf/tst-unique4.cc: New file.
56749         * elf/tst-unique4.h: New file.
56750         * elf/tst-unique4lib.cc: New file.
56751         * elf/Makefile: Add rules to build and run tst-unique4.
56752         Patch by Piotr Bury <pbury@goahead.com>.
56754 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
56756         [BZ #12052]
56757         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56759         [BZ #12625]
56760         * misc/mntent_r.c (addmntent): Flush the stream after the output
56762         [BZ #12393]
56763         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56764         (is_trusted_path_normalize): Skip initial colon.  Append slash
56765         to empty buffer.  Duplicate is_trusted_path code but allow
56766         constructed patch to be prefix.
56767         (is_dst): Allow $ORIGIN followed by /.
56768         (_dl_dst_substitute): Correct clearing of check_for_trusted.
56769         Correct testing of result of is_trusted_path_normalize
56770         (decompose_rpath): Fix warning.
56772 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
56774         [BZ #11257]
56775         * grp/initgroups.c (internal_getgrouplist): When we found the service
56776         list through the initgroups entry in nsswitch.conf do not always
56777         continue on a successful lookup.  Don't always use the
56778         __nss_group_database value if it is set.
56779         * nss/nsswitch.conf (initgroups): Change action for successful db
56780         lookup to continue for compatibility.
56782 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
56784         [BZ #11532]
56785         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56786         and CP774 modules.
56787         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56788         and CP774 modules.
56789         * iconvdata/tst-tables.sh: Likewise.
56790         * iconvdata/cp770.c: New file.
56791         * iconvdata/cp771.c: New file.
56792         * iconvdata/cp772.c: New file.
56793         * iconvdata/cp773.c: New file.
56794         * iconvdata/cp774.c: New file.
56795         * iconvdata/testdata/CP770: New file.
56796         * iconvdata/testdata/CP770..UTF8: New file.
56797         * iconvdata/testdata/CP771: New file.
56798         * iconvdata/testdata/CP771..UTF8: New file.
56799         * iconvdata/testdata/CP772: New file.
56800         * iconvdata/testdata/CP772..UTF8: New file.
56801         * iconvdata/testdata/CP773: New file.
56802         * iconvdata/testdata/CP773..UTF8: New file.
56803         * iconvdata/testdata/CP774: New file.
56804         * iconvdata/testdata/CP774..UTF8: New file.
56806         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56807         END CHARMAP line.
56808         * iconvdata/gen-8bit-gap.sh: Likewise.
56809         * iconvdata/gen-8bit.sh: Likewise.
56811         * locale/iso-639.def: Add ary entry.
56813         [BZ #11258]
56814         * locale/C-translit.h.in: Add U20A1 transliteration.
56816         [BZ #12178]
56817         * locale/iso-639.def: Add wae entry.
56818         Patch by Kevin Bortis <bortis@translate-wae.ch>.
56820         [BZ #12545]
56821         * locale/programs/localedef.c (construct_output_path): Use ssize_t
56822         for n.
56824         [BZ #12711]
56825         * locale/C-translit.h.in: Add entry for U20B9.
56826         Patch by pravin.d.s@gmail.com.
56828 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
56830         [BZ #12713]
56831         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56832         ENAMETOOLONG use generic getcwd.
56833         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
56834         in rtld.  Use *stat64.
56835         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
56836         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
56837         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
56838         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56839         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56840         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56841         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56842         __fstatat64 macros.
56843         * include/dirent.h: Add libc_hidden_proto for rewinddir.
56844         * dirent/rewinddir.c: Add libc_hidden_def.
56845         * sysdeps/mach/hurd/rewinddir.c: Likewise.
56846         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
56848         * include/dirent.h (__alloc_dir): Add flags parameter.
56849         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56850         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56851         __alloc_dir.
56852         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
56853         from fdopendir if O_CLOEXEC is already set.
56855 2011-03-15  Alan Modra  <amodra@gmail.com>
56857         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56858         l_tls_firstbyte_offset non-zero.  Save padding offset in
56859         l_tls_firstbyte_offset for later use.
56860         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56861         freeing static tls block.
56863 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
56865         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56866         where #ifdef was intended.  The intent is to prevent ARG_MAX from
56867         being defined by the kernel headers.
56869 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
56871         [BZ #12734]
56872         * resolv/resolv.h: Define RES_NOTLDQUERY.
56873         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56874         no-tld-query and set RES_NOTLDQUERY.
56875         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56876         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56877         modern BIND to search name as TLD unless forbidden.
56879 2011-05-07  Petr Baudis  <pasky@suse.cz>
56880             Ulrich Drepper  <drepper@gmail.com>
56882         [BZ #12393]
56883         * elf/dl-load.c (fillin_rpath): Move trusted path check...
56884         (is_trusted_path): ...to here.
56885         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
56886         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
56887         using is_trusted_path_normalize() in setuid scripts.
56889 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56891         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56892         __BEGIN/__END_DECLS.
56894 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
56896         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56897         NSS_STATUS_NOTFOUND if no record was found.
56899 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56901         * sunrpc/Makefile (headers): Add rpc/netdb.h.
56902         (headers-not-in-tirpc): Remove rpc/netdb.h
56903         * resolv/netdb.h: Revert last change.
56905 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56907         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56908         circular dependency between libgcc.a and libc.a.
56910 2011-05-05  Andreas Schwab  <schwab@redhat.com>
56912         * resolv/netdb.h: Don't include <rpc/netdb.h>.
56913         * nis/Makefile: Don't install rpcsvc/*.
56914         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56915         instead of <rpc/types.h>.
56916         (MAXHOSTNAMELEN): Define.
56918 2011-05-03  Andreas Schwab  <schwab@redhat.com>
56920         * elf/ldconfig.c (add_dir): Don't crash on empty path.
56922 2011-04-28  Maciej Babinski  <mbabinski@google.com>
56924         [BZ #12714]
56925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56926         gethostbyname4_r when IPv6 results are possible.
56928 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
56930         [BZ #12723]
56931         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56932         _PC_PIPE_BUF handling.
56934 2011-04-30  Bruno Haible  <bruno@clisp.org>
56936         [BZ #12717]
56937         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56938         * resolv/netdb.h (getnameinfo): Change type of flags parameter
56939         to 'int'.
56940         * inet/getnameinfo.c (getnameinfo): Likewise.
56942 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
56944         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56945         to groups setting in database lookup.
56946         * nss/nsswitch.conf: Add initgroups entry.
56948 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
56950         [BZ #12685]
56951         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56952         mode string.
56953         Patch by Eric Blake <eblake@redhat.com>.
56955 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
56957         * sunrpc/Makefile (need-export-routines): Add svc_run.
56958         (routines): Remove svc_run.
56959         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56960         * sunrpc/clnt_perr.c (clnt_perrno): Export.
56961         * sunrpc/svc_run.c (svc_run): Likewise.
56962         * sunrpc/svc_udp.c (svcudp_create): Likewise.
56964 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
56966         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56967         problem in reallocation in last patch.
56969 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
56971         * sunrpc/Makefile: Move inclusion of Rules.
56973 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56975         * nss/nss_files/files-initgroups.c: New file.
56976         * nss/Makefile (libnss_files-routines): Add files-initgroups.
56977         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56978         _nss_files_initgroups_dyn.
56980 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
56982         * elf/elf.h (R_ARM_IRELATIVE): Define.
56984 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
56986         * po/ru.po: Update from translation team.
56988 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
56990         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56991         dependencies.
56993 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
56995         [BZ #12653]
56996         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56997         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56998         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56999         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57000         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57002 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
57004         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57005         differing bytes.
57006         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57007         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57008         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57010 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
57012         [BZ #12420]
57013         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57014         storing it.
57015         * stdlib/bug-getcontext.c: New file.
57016         * stdlib/Makefile: Add rules to build and run bug-getcontext.
57018 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57020         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57021         instructions into .machine "z9-109".
57022         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57023         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57025 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57027         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57028         between environment variables and auxiliary vector.
57030 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
57032         * Makefile: Add rules to build linkobj/libc.so.
57033         * include/libc-symbols.h: Define libc_hidden_nolink.
57034         * include/rpc/auth.h: Mark functions which are to be hidden.
57035         * include/rpc/auth_des.h: Likewise.
57036         * include/rpc/auth_unix.h: Likewise.
57037         * include/rpc/clnt.h: Likewise.
57038         * include/rpc/des_crypt.h: Likewise.
57039         * include/rpc/key_prot.h: Likewise.
57040         * include/rpc/pmap_clnt.h: Likewise.
57041         * include/rpc/pmap_prot.h: Likewise.
57042         * include/rpc/pmap_rmt.h: Likewise.
57043         * include/rpc/rpc_msg.h: Likewise.
57044         * include/rpc/svc.h: Likewise.
57045         * include/rpc/svc_auth.h: Likewise.
57046         * include/rpc/xdr.h: Likewise.
57047         * nis/Makefile: Link all DSOs against linkobj/libc.so.
57048         * nss/Makefile: Likewise.
57049         * sunrpc/Makefile: Don't install headers.  Build library with normal
57050         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
57051         * sunrpc/auth_des.c: Hide exported symbols by default, export some
57052         for the compat linking library.  Remove use of INTDEF/INTUSE.
57053         * sunrpc/auth_none.c: Likewise.
57054         * sunrpc/auth_unix.c: Likewise.
57055         * sunrpc/authdes_prot.c: Likewise.
57056         * sunrpc/authuxprot.c: Likewise.
57057         * sunrpc/clnt_gen.c: Likewise.
57058         * sunrpc/clnt_perr.c: Likewise.
57059         * sunrpc/clnt_raw.c: Likewise.
57060         * sunrpc/clnt_simp.c: Likewise.
57061         * sunrpc/clnt_tcp.c: Likewise.
57062         * sunrpc/clnt_udp.c: Likewise.
57063         * sunrpc/clnt_unix.c: Likewise.
57064         * sunrpc/des_crypt.c: Likewise.
57065         * sunrpc/des_soft.c: Likewise.
57066         * sunrpc/get_myaddr.c: Likewise.
57067         * sunrpc/key_call.c: Likewise.
57068         * sunrpc/key_prot.c: Likewise.
57069         * sunrpc/netname.c: Likewise.
57070         * sunrpc/pm_getmaps.c: Likewise.
57071         * sunrpc/pm_getport.c: Likewise.
57072         * sunrpc/pmap_clnt.c: Likewise.
57073         * sunrpc/pmap_prot.c: Likewise.
57074         * sunrpc/pmap_prot2.c: Likewise.
57075         * sunrpc/pmap_rmt.c: Likewise.
57076         * sunrpc/publickey.c: Likewise.
57077         * sunrpc/rpc_cmsg.c: Likewise.
57078         * sunrpc/rpc_common.c: Likewise.
57079         * sunrpc/rpc_dtable.c: Likewise.
57080         * sunrpc/rpc_prot.c: Likewise.
57081         * sunrpc/rpc_thread.c: Likewise.
57082         * sunrpc/rtime.c: Likewise.
57083         * sunrpc/svc.c: Likewise.
57084         * sunrpc/svc_auth.c: Likewise.
57085         * sunrpc/svc_authux.c: Likewise.
57086         * sunrpc/svc_raw.c: Likewise.
57087         * sunrpc/svc_run.c: Likewise.
57088         * sunrpc/svc_simple.c: Likewise.
57089         * sunrpc/svc_tcp.c: Likewise.
57090         * sunrpc/svc_udp.c: Likewise.
57091         * sunrpc/svc_unix.c: Likewise.
57092         * sunrpc/svcauth_des.c: Likewise.
57093         * sunrpc/xcrypt.c: Likewise.
57094         * sunrpc/xdr.c: Likewise.
57095         * sunrpc/xdr_array.c: Likewise.
57096         * sunrpc/xdr_float.c: Likewise.
57097         * sunrpc/xdr_intXX_t.c: Likewise.
57098         * sunrpc/xdr_mem.c: Likewise.
57099         * sunrpc/xdr_rec.c: Likewise.
57100         * sunrpc/xdr_ref.c: Likewise.
57101         * sunrpc/xdr_sizeof.c: Likewise.
57102         * sunrpc/xdr_stdio.c: Likewise.
57104 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
57106         [BZ #12650]
57107         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
57108         * sysdeps/ia64/dl-tls.h: Likewise.
57109         * sysdeps/powerpc/dl-tls.h: Likewise.
57110         * sysdeps/s390/dl-tls.h: Likewise.
57111         * sysdeps/sh/dl-tls.h: Likewise.
57112         * sysdeps/sparc/dl-tls.h: Likewise.
57113         * sysdeps/x86_64/dl-tls.h: Likewise.
57114         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
57116 2011-03-14  Andreas Schwab  <schwab@redhat.com>
57118         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
57119         rpath element also skip the following colon.
57120         (expand_dynamic_string_token): Add is_path parameter and pass
57121         down to DL_DST_REQUIRED and _dl_dst_substitute.
57122         (decompose_rpath): Call expand_dynamic_string_token with
57123         non-zero is_path.  Ignore empty rpaths.
57124         (_dl_map_object_from_fd): Call expand_dynamic_string_token
57125         with zero is_path.
57127 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
57129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57130         Make cancelable.
57132 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
57134         [BZ #12655]
57135         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
57136         Patch by Filipe David Manana <fdmanana@apache.org>.
57138 2011-04-07  Andreas Schwab  <schwab@redhat.com>
57140         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
57141         Maintain aligned stack.
57142         (CHECK_RSP): Remove unused macro.
57144 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
57146         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
57147         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
57149 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
57151         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
57153         * include/features.h: Mention __USE_XOPEN2K8 in comment.
57155 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
57157         [BZ #12518]
57158         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
57159         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
57160         * sysdeps/x86_64/memmove.c: New file.
57161         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
57162         (memcpy): Renamed to ...
57163         (__new_memcpy): This.
57164         (memcpy): Provide GLIBC_2_14 memcpy.
57165         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
57166         (memcpy): Provide GLIBC_2_2_5 memcpy.
57168 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57170         [BZ #12631]
57171         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
57173 2011-03-30  Andreas Schwab  <schwab@redhat.com>
57175         * misc/syncfs.c: New file.
57176         * misc/Makefile (routines): Add syncfs.
57177         * posix/unistd.h: Declare syncfs.
57178         * sysdeps/unix/syscalls.list: Add syncfs.
57180 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57182         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
57183         open_by_handle_at.
57184         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57185         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57186         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57187         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57188         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57189         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
57190         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57192 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57194         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
57195         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57196         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
57197         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57198         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57199         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57200         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57202         * io/Makefile: Compile fallocate.c, fallocate64.c, and
57203         sync_file_range.c with -fexceptions.
57204         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
57205         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
57206         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
57207         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
57208         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
57209         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57210         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
57211         sync_file_range as cancellation point
57212         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
57213         now a wrapper around __call_sync_file_range with cancellation handling.
57214         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
57215         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
57216         function name to __call_sync_file_range.
57217         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
57218         Add call_sync_file_range.
57220 2011-04-01  Andreas Schwab  <schwab@redhat.com>
57222         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57223         bits/timex.h.
57225 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
57227         * iconv/iconv.h: Fix typo in comment.
57228         * io/fcntl.h: Likewise.
57229         * libio/stdio.h: Likewise.
57230         * posix/spawn.h: Likewise.
57231         * posix/unistd.h: Likewise.
57232         * stdlib/stdlib.h: Likewise.
57233         * time/time.h: Likewise.
57234         * wcsmbs/wchar.h: Likewise.
57236         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
57237         open_by_handle): Add.
57238         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
57239         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
57240         Augment a few comments.
57241         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
57242         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57243         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57244         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57245         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57246         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
57247         open_by_handle.
57249         * io/fcntl.h (AT_EMPTY_PATH): Define.
57251 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
57253         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
57254         * sysdeps/unix/sysv/linux/bits/time.h: New file.
57255         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
57256         to...
57257         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
57258         * Versions.def: Add GLIBC_2.14.
57259         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
57260         Export.
57262 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
57264         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
57265         round counter.
57266         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57268 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
57270         [BZ #12597]
57271         * string/test-strncmp.c (do_page_test): New function.
57272         (check2): Likewise.
57273         (test_main): Call check2.
57274         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
57276 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
57278         [BZ #12587]
57279         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
57280         Handle cache information in CPU leaf 4.
57281         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
57283 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
57285         [BZ #12583]
57286         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
57287         character representation.
57288         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
57290 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
57292         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
57293         END(__isnan) to END(__isnanf) to match function entry point/label
57294         EALIGN(__isnanf,...).
57296 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
57298         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
57300 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
57302         [BZ #12510]
57303         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
57304         copy from the symbol referenced in the relocation to initialize the
57305         used variable.
57306         Patch by Piotr Bury <pbury@goahead.com>.
57307         * elf/Makefile: Add rules to build and tst-unique3.
57308         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
57309         * elf/tst-unique3.cc: New file.
57310         * elf/tst-unique3.h: New file.
57311         * elf/tst-unique3lib.cc: New file.
57312         * elf/tst-unique3lib2.cc: New file.
57314         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
57316 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
57318         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
57319         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
57320         to _start.
57322 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
57324         * elf/dl-load.c (_dl_map_object): If we are looking for the first
57325         to-be-loaded object along a path to loader is ld.so.
57327 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57328             Ulrich Drepper  <drepper@gmail.com>
57330         * sysdeps/x86_64/memset.S: After aligning destination, code
57331         branches to different locations depending on the value of
57332         misalignment, when multiarch is enabled. Fix this.
57334 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
57336         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
57337         Set _x86_64_preferred_memory_instruction for AMD processsors.
57338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57339         Set bit_Prefer_SSE_for_memop for AMD processors.
57341 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
57343         * libio/fmemopen.c (fmemopen): Optimize a bit.
57345 2011-03-03  Andreas Schwab  <schwab@redhat.com>
57347         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
57349 2011-03-03  Roland McGrath  <roland@redhat.com>
57351         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
57353 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
57355         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
57356         __bzero_ultra1 instead of __memset_ultra1.
57358 2011-02-23  Andreas Schwab  <schwab@redhat.com>
57359             Ulrich Drepper  <drepper@gmail.com>
57361         [BZ #12509]
57362         * include/link.h (struct link_map): Add l_orig_initfini.
57363         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
57364         returning unsuccessfully.
57365         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
57366         close of a file loaded at startup, restore the original l_initfini
57367         list.
57368         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
57369         list, store the pointer.
57370         * elf/Makefile ($(objpfx)noload-mem): New rule.
57371         (noload-ENV): Define.
57372         (tests): Add $(objpfx)noload-mem.
57373         * elf/noload.c: Include <memcheck.h>.
57374         (main): Call mtrace.  Close all opened handles.
57376 2011-02-17  Andreas Schwab  <schwab@redhat.com>
57378         [BZ #12454]
57379         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
57380         dependencies are missing.
57382 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57384         Fix __if_freereq crash: Unlike the generic version which uses free,
57385         Hurd needs munmap.
57386         * sysdeps/mach/hurd/ifreq.h: New file.
57388 2011-01-27  Petr Baudis  <pasky@suse.cz>
57389             Ulrich Drepper  <drepper@gmail.com>
57391         [BZ 12445]#
57392         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
57393         to extend_alloca().
57394         * stdio-common/bug23.c: New file.
57395         * stdio-common/Makefile (tests): Add bug23.
57397 2010-09-28  Andreas Schwab  <schwab@redhat.com>
57398             Ulrich Drepper  <drepper@gmail.com>
57400         [BZ #12489]
57401         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
57402         before performing relro protection.  At old place add assertion
57403         to make sure nothing changed.
57405 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
57406             Glauber de Oliveira Costa  <glommer@gmail.com>
57408         * elf/elf.h: Add new ARM TLS relocs.
57410 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
57412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57413         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
57414         cast from r3.
57415         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
57416         'tests' variable.
57417         * sysdeps/wordsize-64/tst-writev.c: New file.
57419 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
57421         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
57422         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
57423         insns in _dl_start to prevent a TOC reference before relocs are
57424         resolved.
57426 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
57428         [BZ #12469]
57429         * Makeconfig: Remove RANLIB definition.
57430         * Makerules: Don't use RANLIB.
57431         * aclocal.m4: Remove ranlib test.
57432         * configure.in: No need to check for ranlib.
57433         * elf/rtld-Rules: Don't use RANLIB.
57435 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57437         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
57438         protection macro.
57439         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
57440         inclusion protection macro.
57442         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
57443         SIGRTMIN and SIGRTMAX and print information in that case only when
57444         SIGRTMIN is defined.
57446 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
57448         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
57449         arginfo fn returning -1.
57451         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
57452         and thousands string is zero terminated.
57454 2011-02-03  Andreas Schwab  <schwab@redhat.com>
57456         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
57457         sysdeps/unix/sysv/linux/bits/socket.h.
57459 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57461         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
57462         (__CPU_COUNT): Remove old macros.
57463         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
57464         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
57465         (__CPU_ALLOC, __CPU_FREE): Add macros.
57466         (__sched_cpualloc, __sched_cpufree): Add declarations.
57468 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
57470         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
57471         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
57472         * nscd/aicache.c (addhstaiX): Return timeout of added value.
57473         (readdhstai): Return value of addhstaiX call.
57474         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
57475         (addgrbyX): Return value returned by cache_addgr.
57476         (readdgrbyname): Return value returned by addgrbyX.
57477         (readdgrbygid): Likewise.
57478         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
57479         (addpwbyX): Return value returned by cache_addpw.
57480         (readdpwbyname): Return value returned by addhstbyX.
57481         (readdpwbyuid): Likewise.
57482         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
57483         (addservbyX): Return value returned by cache_addserv.
57484         (readdservbyname): Return value returned by addservbyX:
57485         (readdservbyport): Likewise.
57486         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
57487         (addhstbyX): Return value returned by cache_addhst.
57488         (readdhstbyname): Return value returned by addhstbyX.
57489         (readdhstbyaddr): Likewise.
57490         (readdhstbynamev6): Likewise.
57491         (readdhstbyaddrv6): Likewise.
57492         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
57493         (readdinitgroups): Return value returned by addinitgroupsX.
57494         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
57495         (prune_cache): Keep track of timeout value of re-added entries.
57496         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
57497         * nscd/nscd.h: Adjust prototypes of readd* functions.
57499 2011-02-04  Roland McGrath  <roland@redhat.com>
57501         * nis/nis_server.c (nis_servstate): Use the right name for 0.
57502         (nis_stats): Likewise.
57503         * nis/nis_modify.c (nis_modify): Likewise.
57504         * nis/nis_remove.c (nis_remove): Likewise.
57505         * nis/nis_add.c (nis_add): Likewise.
57507         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
57509         * posix/fnmatch_loop.c: Add some consts.
57511         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
57513 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
57515         [BZ #12460]
57516         * config.make.in (config-cflags-novzeroupper): Define.
57517         * configure.in: Substitute libc_cv_cc_novzeroupper.
57518         * elf/Makefile (AVX-CFLAGS): Define.
57519         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
57520         (CFLAGS-tst-auditmod4a.c): Likewise.
57521         (CFLAGS-tst-auditmod4b.c): Likewise.
57522         (CFLAGS-tst-auditmod6b.c): Likewise.
57523         (CFLAGS-tst-auditmod6c.c): Likewise.
57524         (CFLAGS-tst-auditmod7b.c): Likewise.
57525         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
57527 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
57529         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
57530         function to the callback.
57531         Patch partly by Jiri Olsa <jolsa@redhat.com>.
57533 2011-02-02  Andreas Schwab  <schwab@redhat.com>
57535         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
57536         of errno.
57538 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
57540         [BZ #11724]
57541         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
57542         of constructors.
57543         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
57544         of destructors.
57545         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
57547         [BZ #11724]
57548         * elf/Makefile: Add rules to build and run new test.
57549         * elf/tst-initorder.c: New file.
57550         * elf/tst-initorder.exp: New file.
57551         * elf/tst-initordera1.c: New file.
57552         * elf/tst-initordera2.c: New file.
57553         * elf/tst-initordera3.c: New file.
57554         * elf/tst-initordera4.c: New file.
57555         * elf/tst-initorderb1.c: New file.
57556         * elf/tst-initorderb2.c: New file.
57557         * elf/tst-order-a1.c: New file.
57558         * elf/tst-order-a2.c: New file.
57559         * elf/tst-order-a3.c: New file.
57560         * elf/tst-order-a4.c: New file.
57561         * elf/tst-order-b1.c: New file.
57562         * elf/tst-order-b2.c: New file.
57563         * elf/tst-order-main.c: New file.
57564         New test case by George Gensure <werkt0@gmail.com>.
57566 2010-10-01  Andreas Schwab  <schwab@redhat.com>
57568         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57569         decoding ACE if AI_CANONIDN.
57571 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
57573         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
57575 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
57577         * version.h (RELEASE): Bump for 2.13 release.
57578         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
57580         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
57582         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
57583         MADV_NOHUGEPAGE.
57584         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
57585         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57586         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57587         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57588         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57589         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57591         * posix/getconf.c: Update copyright year.
57592         * catgets/gencat.c: Likewise.
57593         * csu/version.c: Likewise.
57594         * debug/catchsegv.sh: Likewise.
57595         * debug/xtrace.sh: Likewise.
57596         * elf/ldconfig.c: Likewise.
57597         * elf/ldd.bash.in: Likewise.
57598         * elf/sprof.c (print_version): Likewise.
57599         * iconv/iconv_prog.c: Likewise.
57600         * iconv/iconvconfig.c: Likewise.
57601         * locale/programs/locale.c: Likewise.
57602         * locale/programs/localedef.c: Likewise.
57603         * malloc/memusage.sh: Likewise.
57604         * malloc/mtrace.pl: Likewise.
57605         * nscd/nscd.c (print_version): Likewise.
57606         * nss/getent.c: Likewise.
57608         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57609         PF_CAIF, and PF_ALG.
57610         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57612 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
57614         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57615         (modules-names): Use them.
57616         (ifunc-test-modules, ifunc-pie-tests): Define.
57617         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57618         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57619         (test-extras): Likewise.
57620         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57621         $(compile-command.c).
57622         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57623         (all-built-dso): Define.
57624         (check-textrel.out, check-execstack.out): Depend on it.
57626         * configure.in: Don't override --enable-multi-arch.
57628 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
57630         [BZ #6812]
57631         * nscd/hstcache.c (tryagain): Define.
57632         (cache_addhst): Return tryagain not notfound for temporary errors.
57633         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57634         failed.
57636 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
57638         [BZ #10563]
57639         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57640         to make the syscall.
57641         * sysdeps/unix/sysv/linux/setgroups.c: New file.
57643         [BZ #12378]
57644         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57645         and fall back to matching as normal character if the string ends before
57646         the matching ']' is found.  This is what POSIX requires.
57647         * posix/testfnm.c: Adjust test result.
57648         * posix/globtest.sh: Adjust test result.  Add new test.
57649         * posix/tst-fnmatch.input: Likewise.
57650         * posix/tst-fnmatch2.c: Add new test.
57652 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
57654         * elf/Makefile (check-execstack): Revert last change.  Depend on
57655         check-execstack.h.
57656         (check-execstack.h): New target.
57657         (generated): Add check-execstack.h.
57658         * elf/check-execstack.c: Include "check-execstack.h".
57659         (main): Revert last change.
57660         (handle_file): Return zero if GNU_STACK is absent and
57661         DEFAULT_STACK_PERMS doesn't include PF_X.
57663 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
57665         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57666         in child fails because the descriptor is already closed.
57667         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57668         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57669         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
57671         [BZ #12397]
57672         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57673         syscall.
57675         [BZ #10484]
57676         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57677         temporary buffer used to handle multi lookups locally.
57678         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
57680 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
57682         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57683         loader is ld.so.
57685 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
57687         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57688         alignment for SSE2.
57690 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
57692         [BZ #12394]
57693         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57694         characters.  When rounding increased number of integer digits recompute
57695         number of groups.
57696         * stdio-common/tst-grouping.c: New file.
57697         * stdio-common/Makefile: Add rules to build and run tst-grouping.
57699 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
57701         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57702         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
57704         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57705         void.
57706         * bits/select.h: Likewise.
57708 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
57710         * po/ja.po: Update from translation team.
57712 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
57714         [BZ #11155]
57715         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57716         implementation just like for lxstat, fxstatat, et al.
57718 2010-12-27  Jim Meyering  <meyering@redhat.com>
57720         [BZ #12348]
57721         * posix/regexec.c (build_trtable): Return failure indication upon
57722         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
57724 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
57726         [BZ #12201]
57727         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57728         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57729         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57730         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57732         [BZ #12207]
57733         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57735         [BZ #12204]
57736         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57737         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57739 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
57741         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57742         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57743         script has SORT_BY_INIT_PRIORITY.
57744         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57745         NO_CTORS_DTORS_SECTIONS is defined.
57746         * elf/soinit.c: Likewise.
57747         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57748         NO_CTORS_DTORS_SECTIONS is defined.
57749         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57750         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57751         * sysdeps/sh/init-first.c: Likewise.
57752         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57754 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
57756         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57757         always use the slow path.
57759 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
57761         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57762         similar rule which adds the sysdep directories to the header search in
57763         order to pick up the correct platform stackinfo.h.
57764         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57765         perform test if it is, otherwise return successfully without testing.
57766         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57767         DEFAULT_STACK_PERMS define in stackinfo.h.
57768         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57769         defined in stackinfo.h.
57770         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57771         DEFAULT_STACK_PERMS defined in stackinfo.h.
57772         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57773         * sysdeps/ia64/stackinfo.h: Likewise.
57774         * sysdeps/s390/stackinfo.h: Likewise.
57775         * sysdeps/sh/stackinfo.h: Likewise.
57776         * sysdeps/sparc/stackinfo.h: Likewise.
57777         * sysdeps/x86_64/stackinfo.h: Likewise.
57778         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57779         PF_X for powerpc64.  Retain PF_X for powerpc32.
57781 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
57783         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57784         accurately.
57785         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57786         GETDENTS_64BIT_ALIGNED.
57788 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
57790         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
57792 2010-12-10  Andreas Schwab  <schwab@redhat.com>
57794         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57795         _GNU_SOURCE.
57797         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57798         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57799         Remove __restrict.
57800         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57801         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57803 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
57805         [BZ #11655]
57806         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57807         are initialized.
57809 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
57811         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57813 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
57815         * po/it.po: Update from translation team.
57817 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
57819         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57820         unused codes.
57822 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
57824         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57826 2010-11-24  Andreas Schwab  <schwab@redhat.com>
57828         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57829         specially.
57830         (gaih_getanswer_slice): Likewise.
57832 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
57834         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57836 2010-05-31  Petr Baudis  <pasky@suse.cz>
57838         [BZ #11149]
57839         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57840         silently even in the chroot mode.
57842 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
57844         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57845         last patch a bit.  Pretty printing
57847 2010-05-31  Petr Baudis <pasky@suse.cz>
57849         [BZ #10085]
57850         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57851         initialization of skip_initgroups_dyn.
57853 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
57855         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57856         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57858 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
57860         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57862 2010-11-11  Andreas Schwab  <schwab@redhat.com>
57864         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57865         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57866         (tst-fnmatch-ENV): Set MALLOC_TRACE.
57867         ($(objpfx)tst-fnmatch-mem): New rule.
57868         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57869         * posix/tst-fnmatch.c (main): Call mtrace.
57871 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
57873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57874         Support Intel processor model 6 and model 0x2c.
57876 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
57878         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57879           signed comparison.
57881 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
57883         [BZ #12205]
57884         * string/test-strncasecmp.c (check_result): New function.
57885         (do_one_test): Use it.
57886         (check1): New function.
57887         (test_main): Use it.
57888         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57889         Support strcasecmp and strncasecmp.
57891 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
57893         [BZ #12194]
57894         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57895         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57897 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57899         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57900         IFUNC support.
57901         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57902         memset-x86-64.
57903         * sysdeps/x86_64/multiarch/bzero.S: New file.
57904         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57905         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57906         * sysdeps/x86_64/multiarch/memset.S: New file.
57907         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57908         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57909         Set bit_Prefer_SSE_for_memop for Intel processors.
57910         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57911         Define.
57912         (index_Prefer_SSE_for_memop): Define.
57913         (HAS_PREFER_SSE_FOR_MEMOP): Define.
57915 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
57917         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57918         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57920 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
57922         [BZ #12191]
57923         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57924         (__x86_64_raw_data_cache_size_half): Likewise.
57925         (__x86_64_raw_shared_cache_size): Likewise.
57926         (__x86_64_raw_shared_cache_size_half): Likewise.
57928         * sysdeps/x86_64/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.
57932         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57933         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57934         and __x86_64_raw_shared_cache_size_half.  Round
57935         __x86_64_data_cache_size_half, __x86_64_data_cache_size
57936         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57937         to multiple of 256 bytes.
57939 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
57941         [BZ #12167]
57942         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57943         of inacessible symlinks.  Verify result of symlink before returning it.
57944         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57945         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57947 2010-10-28  Erich Ritz  <erichritz@gmail.com>
57949         * math/math.h (isinf): Fix typo in comment.
57951 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
57953         * po/da.po: Update from translation team.
57955 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
57957         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57958         is added to the list.
57960 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57961             Ulrich Drepper  <drepper@gmail.com>
57963         * elf/dl-object.c (_dl_new_object): Don't append the new object to
57964         the global list here.  Move code to...
57965         (_dl_add_to_namespace_list): ...here.  New function.
57966         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57967         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57968         * elf/dl-load.c (lose): Don't remove the element from the list.
57969         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57970         (_dl_map_object): Likewise.
57972 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
57974         [BZ #12159]
57975         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57976         into all bytes of SSE register.
57977         Patch by Richard Li <richardpku@gmail.com>.
57979 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
57981         [BZ #12140]
57982         * malloc/malloc.c (_int_free): Fill correct number of bytes when
57983         perturbing.
57985 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
57987         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57988         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57989         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57990         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57992         submachine.
57993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57995 2010-10-22  Andreas Schwab  <schwab@redhat.com>
57997         * include/dlfcn.h (__RTLD_SECURE): Define.
57998         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
57999         mode & __RTLD_SECURE instead.
58000         (open_path): Rename preloaded parameter to secure.
58001         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58002         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58003         * elf/dl-deps.c (openaux): Likewise.
58004         * elf/rtld.c (struct map_args): Remove is_preloaded.
58005         (map_doit): Don't use it.
58006         (dl_main): Likewise.
58007         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58008         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58010 2010-09-09  Andreas Schwab  <schwab@redhat.com>
58012         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58013         (sysd-rules-targets): Remove duplicates.
58014         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58015         rtld-%.$o dependency.
58017 2010-10-18  Andreas Schwab  <schwab@redhat.com>
58019         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58020         _dl_map_object do it.
58022 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
58024         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58025         fast fma builtins, define the macros in the C99 standard.
58026         (FP_FAST_FMAF): Likewise.
58027         (FP_FAST_FMAL): Likewise.
58028         * sysdeps/x86_64/bits/mathdef.h: Likewise.
58030         * bits/mathdef.h: Update copyright year.
58031         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58033 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
58035         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58036         builtins, define the macros in the C99 standard.
58037         (FP_FAST_FMAF): Likewise.
58038         (FP_FAST_FMAL): Likewise.
58039         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58040         multiply/add.
58041         (FP_FAST_FMAF): Likewise.
58043 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
58045         [BZ #3268]
58046         * math/libm-test.inc (fma_test): Some new testcases.
58047         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58048         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58049         y and infinite z.  Do multiplication by C already in long double.
58050         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58051         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58052         y and infinite z.  Do bitwise or of inexact bit into u.d.
58053         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58054         * sysdeps/i386/fpu/s_fmaf.S: Removed.
58055         * sysdeps/i386/fpu/s_fma.S: Removed.
58056         * sysdeps/i386/fpu/s_fmal.S: Removed.
58058 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
58060         [BZ #3268]
58061         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58062         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58063         computation is not scheduled after fetestexcept.  Fix value
58064         of minimum denormal long double.
58066 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
58068         [BZ #3268]
58069         * math/libm-test.inc (fma_test): Add some more tests.
58070         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58071         correctly.
58073 2010-10-15  Andreas Schwab  <schwab@redhat.com>
58075         * scripts/data/localplt-s390-linux-gnu.data: New file.
58076         * scripts/data/localplt-s390x-linux-gnu.data: New file.
58078 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
58080         [BZ #3268]
58081         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58082         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58083         instead of dbl-64.
58084         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
58085         inlines.
58086         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
58087         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
58088         if one of x and y is very large and the other is subnormal.
58089         * sysdeps/s390/fpu/s_fmaf.c: New file.
58090         * sysdeps/s390/fpu/s_fma.c: New file.
58091         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
58092         * sysdeps/powerpc/fpu/s_fma.S: New file.
58093         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
58094         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
58095         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
58097 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
58099         [BZ #3268]
58100         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
58101         fma tests.
58102         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
58103         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
58104         * sysdeps/i386/i686/multiarch/s_fma.c: Include
58105         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
58106         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
58107         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
58108         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
58110 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
58112         [BZ #12078]
58113         * posix/regcomp.c (parse_branch): One more memory leak plugged.
58114         * posix/bug-regex31.input: Add test case.
58116 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58118         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
58119         * posix/bug-regex31.input: New file.
58121         [BZ #12078]
58122         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
58123         (parse_sub_exp): Fix last change, use postorder.
58125         * posix/bug-regex31.c: New file.
58126         * posix/Makefile: Add rules to build and run bug-regex31.
58128         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
58130         [BZ #12078]
58131         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
58133         [BZ #12108]
58134         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
58135         to have entries in sys_siglist.
58137         [BZ #12093]
58138         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
58139         be NULL.
58141 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
58143         [BZ #3268]
58144         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
58145         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
58146         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
58147         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
58148         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58149         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
58150         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
58151         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
58152         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
58153         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
58154         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
58155         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
58156         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
58157         * math/ftestexcept.c (fetestexcept): Likewise.
58158         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
58159         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
58160         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
58161         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
58162         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
58163         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
58164         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58166 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
58168         [BZ #12107]
58169         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
58170         newline.
58172 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
58174         * string/bug-strstr1.c: New file.
58175         * string/Makefile: Add rules to build and run bug-strstr1.
58177 2010-10-05  Eric Blake  <eblake@redhat.com>
58179         [BZ #12092]
58180         * string/str-two-way.h (two_way_long_needle): Always clear memory
58181         when skipping input due to the shift table.
58183 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
58185         [BZ #12005]
58186         * malloc/mcheck.c: Handle large requests.
58188         [BZ #12077]
58189         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
58190         for strncmp and strncasecmp.
58191         * string/stratcliff.c: Add tests for strcmp and strncmp.
58192         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
58194 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58196         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
58197         __set_fpscr.
58199 2010-09-30  Andreas Jaeger  <aj@suse.de>
58201         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
58202         (CGROUP_SUPER_MAGIC): Define.
58203         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58204         Handle btrfs and cgroup file systems.
58205         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58206         Likewise.
58208 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
58210         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
58211         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
58213 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58215         [BZ #12067]
58216         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
58217         trying to locate the ELF header.
58219 2010-09-27  Andreas Schwab  <schwab@redhat.com>
58221         [BZ #11611]
58222         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
58223         Mask out sign-bit copies when constructing f_fsid.
58225 2010-09-24  Petr Baudis <pasky@suse.cz>
58227         * debug/stack_chk_fail_local.c: Add missing licence exception.
58228         * debug/warning-nop.c: Likewise.
58230 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
58232         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
58233         implementing getdents64 using getdents syscall, set d_type if
58234         __ASSUME_GETDENTS32_D_TYPE.
58236 2010-09-16  Andreas Schwab  <schwab@redhat.com>
58238         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
58239         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
58241 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
58243         [BZ #12037]
58244         * posix/unistd.h: Undo change of feature selection for ftruncate from
58245         2010-01-11.
58247 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
58249         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
58250         detection.
58252 2010-09-20  Andreas Schwab  <schwab@redhat.com>
58254         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
58255         fanotify_mark.
58256         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58258 2010-09-14  Andreas Schwab  <schwab@redhat.com>
58260         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
58261         variables after CHECK_SP call.
58262         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
58264 2010-09-13  Andreas Schwab  <schwab@redhat.com>
58265             Ulrich Drepper  <drepper@redhat.com>
58267         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
58268         re-relocationg ld.so.
58269         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
58270         _dl_init_paths call.
58271         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
58272         here anymore.
58274 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
58276         * resolv/res_init.c (__res_vinit): Count the default server we added.
58278 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
58279             Ulrich Drepper  <drepper@redhat.com>
58281         [BZ #11968]
58282         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
58283         (____longjmp_chk): Use %ebx for saving value across system call.
58284         Add unwind info.
58286 2010-09-06  Andreas Schwab  <schwab@redhat.com>
58288         * manual/Makefile: Don't mix pattern rules with normal rules.
58290 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
58292         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
58293         operation.
58294         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
58295         * libio/iofopncook.c (_IO_cookie_init): Likewise.
58296         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
58297         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
58298         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58299         Likewise.
58301 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
58303         [BZ #11979]
58304         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
58305         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
58307 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
58309         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
58310         * sysdeps/x86_64/addmul_1.S: Likewise.
58311         * sysdeps/x86_64/lshift.S: Likewise.
58312         * sysdeps/x86_64/mul_1.S: Likewise.
58313         * sysdeps/x86_64/rshift.S: Likewise.
58314         * sysdeps/x86_64/sub_n.S: Likewise.
58315         * sysdeps/x86_64/submul_1.S: Likewise.
58317 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58319         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
58320         Define __sched_param instead of SCHED_* and sched_param when
58321         <bits/sched.h> is included with __need_schedparam defined.
58322         * bits/sched.h [__need_schedparam]
58323         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
58324         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
58325         (__defined_schedparam): Define to 1.
58326         (__sched_param): New structure, identical to sched_param.
58327         (__need_schedparam): Undefine.
58329 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
58331         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
58332         (epoll_create1): Declare.
58334         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
58336 2010-08-31  Andreas Schwab  <schwab@redhat.com>
58338         [BZ #7066]
58339         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
58340         shifting retval into place.
58342 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
58344         * nis/rpcsvc/nis.h: Update copyright notice.
58345         * nis/rpcsvc/nis.x: Likewise.
58346         * nis/rpcsvc/nis_callback.h: Likewise.
58347         * nis/rpcsvc/nis_callback.x: Likewise.
58348         * nis/rpcsvc/nis_object.x: Likewise.
58349         * nis/rpcsvc/nis_tags.h: Likewise.
58350         * nis/rpcsvc/yp.h: Likewise.
58351         * nis/rpcsvc/yp.x: Likewise.
58352         * nis/rpcsvc/ypupd.h: Likewise.
58353         * nis/yp_xdr.c: Likewise.
58354         * nis/ypupdate_xdr.c: Likewise.
58356         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
58357         mainly the body of pmap_getport.  Add parameters to specify timeouts.
58358         (pmap_getport): Use __libc_rpc_getport.
58359         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
58360         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
58361         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
58363 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
58365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
58366         fanotify_mark.
58368 2010-08-27  Roland McGrath  <roland@redhat.com>
58370         * sysdeps/i386/i686/multiarch/Makefile
58371         (CFLAGS-varshift.c): New variable.
58373 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
58375         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
58376         * sysdeps/i386/i686/multiarch/varshift.c: New file.
58378         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
58380         * sysdeps/x86_64/strlen.S: Minimal code improvement.
58382 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
58384         * sysdeps/x86_64/strlen.S: Unroll the loop.
58385         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58386         strlen-sse2 strlen-sse2-bsf.
58387         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
58388         __strlen_no_bsf if bit_Slow_BSF is set.
58389         (__strlen_sse42): Removed.
58390         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
58391         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
58393 2010-08-25  Roland McGrath  <roland@redhat.com>
58395         * sysdeps/x86_64/multiarch/varshift.S: File removed.
58396         * sysdeps/x86_64/multiarch/varshift.c: New file.
58397         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
58398         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
58399         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
58400         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58402 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
58404         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58405         strlen-sse2 strlen-sse2-bsf.
58406         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
58407         __strlen_sse2_bsf if bit_Slow_BSF is unset.
58408         (__strlen_sse2): Removed.
58409         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
58410         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
58411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58412         bit_Slow_BSF for Atom.
58413         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
58414         (index_Slow_BSF): Define.
58415         (HAS_SLOW_BSF): Define.
58417 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
58419         [BZ #10851]
58420         * resolv/res_init.c (__res_vinit): When no server address at all
58421         is given default to loopback.
58423 2010-08-24  Roland McGrath  <roland@redhat.com>
58425         * configure.in: Remove config-name.h generation.
58426         * configure: Regenerated.
58427         * config-name.in: File removed.
58428         * scripts/config-uname.sh: New file.
58429         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
58430         ($(objdir)config-name.h): New target.
58432         * sunrpc/rpc_parse.h: Avoid nested comment.
58434 2010-08-24  Richard Henderson  <rth@redhat.com>
58435             Ulrich Drepper  <drepper@redhat.com>
58436             H.J. Lu  <hongjiu.lu@intel.com>
58438         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
58439         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
58440         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
58441         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
58442         _mm_alignr_epi8 with _mm_loadu_si128.
58443         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
58444         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
58445         (__m128i_shift_right): Removed.
58446         * sysdeps/i386/i686/multiarch/varshift.h: New file.
58447         * sysdeps/i386/i686/multiarch/varshift.S: New file.
58448         * sysdeps/x86_64/multiarch/varshift.h: New file.
58449         * sysdeps/x86_64/multiarch/varshift.S: New file.
58451 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
58453         * configure.in: Move assembler checks to before sysdep dir checking.
58455 2010-08-20  Petr Baudis  <pasky@suse.cz>
58457         * LICENSES: Sync the sunrpc license.
58459 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
58461         * sunrpc/auth_des.c: Update copyright notice once again.
58462         * sunrpc/auth_none.c: Likewise.
58463         * sunrpc/auth_unix.c: Likewise.
58464         * sunrpc/authdes_prot.c: Likewise.
58465         * sunrpc/authuxprot.c: Likewise.
58466         * sunrpc/bindrsvprt.c: Likewise.
58467         * sunrpc/clnt_gen.c: Likewise.
58468         * sunrpc/clnt_perr.c: Likewise.
58469         * sunrpc/clnt_raw.c: Likewise.
58470         * sunrpc/clnt_simp.c: Likewise.
58471         * sunrpc/clnt_tcp.c: Likewise.
58472         * sunrpc/clnt_udp.c: Likewise.
58473         * sunrpc/clnt_unix.c: Likewise.
58474         * sunrpc/des_crypt.c: Likewise.
58475         * sunrpc/des_soft.c: Likewise.
58476         * sunrpc/get_myaddr.c: Likewise.
58477         * sunrpc/getrpcport.c: Likewise.
58478         * sunrpc/key_call.c: Likewise.
58479         * sunrpc/key_prot.c: Likewise.
58480         * sunrpc/openchild.c: Likewise.
58481         * sunrpc/pm_getmaps.c: Likewise.
58482         * sunrpc/pm_getport.c: Likewise.
58483         * sunrpc/pmap_clnt.c: Likewise.
58484         * sunrpc/pmap_prot.c: Likewise.
58485         * sunrpc/pmap_prot2.c: Likewise.
58486         * sunrpc/pmap_rmt.c: Likewise.
58487         * sunrpc/rpc/auth.h: Likewise.
58488         * sunrpc/rpc/auth_unix.h: Likewise.
58489         * sunrpc/rpc/clnt.h: Likewise.
58490         * sunrpc/rpc/des_crypt.h: Likewise.
58491         * sunrpc/rpc/key_prot.h: Likewise.
58492         * sunrpc/rpc/netdb.h: Likewise.
58493         * sunrpc/rpc/pmap_clnt.h: Likewise.
58494         * sunrpc/rpc/pmap_prot.h: Likewise.
58495         * sunrpc/rpc/pmap_rmt.h: Likewise.
58496         * sunrpc/rpc/rpc.h: Likewise.
58497         * sunrpc/rpc/rpc_des.h: Likewise.
58498         * sunrpc/rpc/rpc_msg.h: Likewise.
58499         * sunrpc/rpc/svc.h: Likewise.
58500         * sunrpc/rpc/svc_auth.h: Likewise.
58501         * sunrpc/rpc/types.h: Likewise.
58502         * sunrpc/rpc/xdr.h: Likewise.
58503         * sunrpc/rpc_clntout.c: Likewise.
58504         * sunrpc/rpc_cmsg.c: Likewise.
58505         * sunrpc/rpc_common.c: Likewise.
58506         * sunrpc/rpc_cout.c: Likewise.
58507         * sunrpc/rpc_dtable.c: Likewise.
58508         * sunrpc/rpc_hout.c: Likewise.
58509         * sunrpc/rpc_main.c: Likewise.
58510         * sunrpc/rpc_parse.c: Likewise.
58511         * sunrpc/rpc_parse.h: Likewise.
58512         * sunrpc/rpc_prot.c: Likewise.
58513         * sunrpc/rpc_sample.c: Likewise.
58514         * sunrpc/rpc_scan.c: Likewise.
58515         * sunrpc/rpc_scan.h: Likewise.
58516         * sunrpc/rpc_svcout.c: Likewise.
58517         * sunrpc/rpc_tblout.c: Likewise.
58518         * sunrpc/rpc_util.c: Likewise.
58519         * sunrpc/rpc_util.h: Likewise.
58520         * sunrpc/rpcinfo.c: Likewise.
58521         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
58522         * sunrpc/rpcsvc/key_prot.x: Likewise.
58523         * sunrpc/rpcsvc/klm_prot.x: Likewise.
58524         * sunrpc/rpcsvc/mount.x: Likewise.
58525         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
58526         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
58527         * sunrpc/rpcsvc/rex.x: Likewise.
58528         * sunrpc/rpcsvc/rstat.x: Likewise.
58529         * sunrpc/rpcsvc/rusers.x: Likewise.
58530         * sunrpc/rpcsvc/sm_inter.x: Likewise.
58531         * sunrpc/rpcsvc/spray.x: Likewise.
58532         * sunrpc/rpcsvc/yppasswd.x: Likewise.
58533         * sunrpc/rtime.c: Likewise.
58534         * sunrpc/svc.c: Likewise.
58535         * sunrpc/svc_auth.c: Likewise.
58536         * sunrpc/svc_authux.c: Likewise.
58537         * sunrpc/svc_raw.c: Likewise.
58538         * sunrpc/svc_run.c: Likewise.
58539         * sunrpc/svc_simple.c: Likewise.
58540         * sunrpc/svc_tcp.c: Likewise.
58541         * sunrpc/svc_udp.c: Likewise.
58542         * sunrpc/svc_unix.c: Likewise.
58543         * sunrpc/svcauth_des.c: Likewise.
58544         * sunrpc/xcrypt.c: Likewise.
58545         * sunrpc/xdr.c: Likewise.
58546         * sunrpc/xdr_array.c: Likewise.
58547         * sunrpc/xdr_float.c: Likewise.
58548         * sunrpc/xdr_mem.c: Likewise.
58549         * sunrpc/xdr_rec.c: Likewise.
58550         * sunrpc/xdr_ref.c: Likewise.
58551         * sunrpc/xdr_sizeof.c: Likewise.
58552         * sunrpc/xdr_stdio.c: Likewise.
58554         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
58555         handling.
58557 2010-08-19  Andreas Schwab  <schwab@redhat.com>
58559         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
58561 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
58563         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
58564         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
58565         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
58566         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
58567         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
58568         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
58569         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
58570         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
58571         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
58572         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
58573         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
58574         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
58575         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
58576         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
58578 2010-07-26  Anton Blanchard  <anton@samba.org>
58580         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
58581         * malloc/arena.c (heap_trim): Likewise.
58583 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
58585         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
58586         here.  Not...
58587         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
58588         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
58590 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
58592         * sysdeps/i386/elf/Makefile: New file.
58594 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
58596         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
58597         from fanotify_init.
58598         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58599         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58601 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
58603         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58604         of strncasecmp_l.
58605         * sysdeps/multiarch/strcmp.S: Likewise.
58607 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
58609         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58610         strncase_l-nonascii.
58611         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58612         Add strncase_l-ssse3.
58613         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58614         * sysdeps/x86_64/strcmp.S: Likewise.
58615         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58616         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58617         * sysdeps/x86_64/strncase.S: New file.
58618         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58619         * sysdeps/x86_64/strncase_l.S: New file.
58620         * string/Makefile (strop-tests): Add strncasecmp.
58621         * string/test-strncasecmp.c: New file.
58623         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58624         warning.
58626         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58627         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58629 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
58631         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58633 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
58635         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58636         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58637         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58639 2010-05-01  Alan Modra  <amodra@gmail.com>
58641         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58642         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58643         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58644         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58645         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58646         tidying.  Don't tail-call __sigjmp_save for static lib.
58647         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58648         save location.
58649         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58650         (CALL_MCOUNT): Add eh info, and nop after bl.
58651         (TAIL_CALL_SYSCALL_ERROR): New macro.
58652         (PSEUDO_RET): Use it.
58653         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58654         Correct save location of integer regs and cr.
58655         (_dl_profile_resolve): Correct cr save location.  Delete nops
58656         after bl when SHARED.  Reduce cfi size a little by better
58657         placement of cfi directives.
58658         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58659         make a stack frame.  Instead use parm save area as a temp.
58660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58661         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
58662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58663         Don't make a stack frame for parent, use parm save area.
58664         Increase child stack frame to 112 bytes.  Don't save unused reg,
58665         and adjust reg usage.  Set up cfi on error recovery and
58666         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58668         (__makecontext): Add dummy nop after jump to exit.
58669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58670         Use correct parm save area and cr save, reduce stack frame.
58671         Correct cfi for possible PSEUDO_RET frame setup.
58672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58673         Branch to local label emitted by PSEUDO_RET rather than
58674         __syscall_error.
58676 2010-08-12  Andreas Schwab  <schwab@redhat.com>
58678         [BZ #11904]
58679         * locale/programs/locale.c (print_assignment): New function.
58680         (show_locale_vars): Use it.
58682 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
58684         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58685         field.
58686         (struct statfs64): Likewise.
58687         (_STATFS_F_FLAGS): Define.
58688         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58689         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58690         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58691         (ST_VALID): Define locally.
58692         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58693         __statvfs_getflags, use the provided value.
58694         * sysdeps/unix/sysv/linux/kernel-features.h: Define
58695         __ASSUME_STATFS_F_FLAGS.
58697         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58699         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58700         Add sys/fanotify.h.
58701         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58702         fanotify_mask for GLIBC_2.13.
58703         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58704         fanotify_init and fanotify_mark.
58705         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58706         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58708         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58709         Add prlimit.
58710         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58711         prlimit64 for GLIBC_2.13.
58712         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58713         prlimit64.
58714         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58715         syscall.
58716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58717         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58718         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58719         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58720         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
58721         add prlimit alias.
58722         * sysdeps/unix/sysv/linux/prlimit.c: New file.
58724         [BZ #11903]
58725         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58726         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58728         * nss/Makefile: Add rules to build and run tst-nss-test1.
58729         * shlib-versions: Add entry for libnss_test1.
58730         * nss/nss_test1.c: New file.
58731         * nss/tst-nss-test1.c: New file.
58733         * nss/nsswitch.c (__nss_database_custom): Define new variable.
58734         (__nss_configure_lookup): Set appropriate entry in
58735         __nss_configure_lookup to true.
58736         * nss/nsswitch.h: Define enum with indeces of databases in
58737         databases and __nss_database_custom arrays.  Declare
58738         __nss_database_custom.
58739         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58740         to avoid using nscd when custom rules are installed.
58741         * nss/getXXbyYY_r.c: Likewise.
58742         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58744         * nss/nss_files/files-parse.c: Whitespace fixes.
58746 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
58748         [BZ #11883]
58749         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58750         * posix/fnmatch_loop.c: Likewise.
58752 2010-07-17  Andi Kleen  <ak@linux.intel.com>
58754         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58755         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58756         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58757         * Versions.def [GLIBC_2.13]: Add.
58759 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
58761         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58762         Also fail if tpwd after pwuid call is NULL.
58764 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58766         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58767         when converting to ms.
58769 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58771         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58772         EOPNOTSUPP errors with ENOTTY.
58773         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58774         EOPNOTSUPP errors with ENOTTY.
58776 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
58778         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58779         Add strcasecmp_l-ssse3.
58780         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58781         strcasecmp.
58782         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58783         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58784         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58786 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
58788         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58790         * string/Makefile (strop-tests): Add strcasecmp.
58791         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58792         strcasecmp_l-nonascii.
58793         (gen-as-const-headers): Add locale-defines.sym.
58794         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58795         * sysdeps/x86_64/strcasecmp.S: New file.
58796         * sysdeps/x86_64/strcasecmp_l.S: New file.
58797         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58798         * sysdeps/x86_64/locale-defines.sym: New file.
58799         * string/test-strcasecmp.c: New file.
58801         * string/test-strcasestr.c: Test both ends of the range of characters.
58802         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58804 2010-07-29  Roland McGrath  <roland@redhat.com>
58806         [BZ #11856]
58807         * manual/locale.texi (Yes-or-No Questions): Fix example code.
58809 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
58811         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58812         for ld.so.
58814 2010-07-27  Andreas Schwab  <schwab@redhat.com>
58816         * manual/memory.texi (Malloc Tunable Parameters): Document
58817         M_PERTURB.
58819 2010-07-26  Roland McGrath  <roland@redhat.com>
58821         [BZ #11840]
58822         * configure.in (-fgnu89-inline check): Set and substitute
58823         gnu89_inline, not libc_cv_gnu89_inline.
58824         * configure: Regenerated.
58825         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58827 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
58829         * string/test-strnlen.c: New file.
58830         * string/Makefile (strop-tests): Add strnlen.
58831         * string/tester.c (test_strnlen): Add a few more test cases.
58832         * string/tst-strlen.c: Better error reporting.
58834         * sysdeps/x86_64/strnlen.S: New file.
58836 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
58838         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58839         lower-latency instructions.
58841 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
58843         * string/test-strcasestr.c: New file.
58844         * string/test-strstr.c: New file.
58845         * string/Makefile (strop-tests): Add strstr and strcasestr.
58846         * string/str-two-way.h: Don't undefine MAX.
58847         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58849 2010-07-21  Andreas Schwab  <schwab@redhat.com>
58851         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58852         strcasestr-nonascii.
58853         (CFLAGS-strcasestr-nonascii.c): Define.
58854         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58855         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58856         Remove unused attribute.
58858 2010-07-20  Roland McGrath  <roland@redhat.com>
58860         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58861         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
58862         ld.so.cache was broken.  With it, there is no way to disable dsocaps
58863         like LD_HWCAP_MASK can disable hwcaps.
58865 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
58867         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58869 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
58871         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58872         call in strcasestr.
58873         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58874         __strcasestr_sse42_nonascii.
58875         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58876         strcasestr-nonascii.c.
58877         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58879 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
58881         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58882         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58883         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58884         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58886 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
58888         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58889         fcntl.
58891 2010-07-06  Andreas Schwab  <schwab@redhat.com>
58893         [BZ #11577]
58894         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58895         dl_signal_cerror.
58897 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
58899         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58900         _PC_PIPE_BUF using F_GETPIPE_SZ.
58902 2010-07-05  Roland McGrath  <roland@redhat.com>
58904         * manual/arith.texi (Rounding Functions): Fix rint description
58905         implicit in round description.
58907 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
58909         * elf/Makefile: Fix linking for a few tests to make recent linker
58910         happy.
58912 2010-06-30  Andreas Schwab  <schwab@redhat.com>
58914         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58915         $(common-objpfx)libc_nonshared.a.
58917 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
58919         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58920         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58921         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58922         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58923         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58924         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58925         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58926         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58941         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58942         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58943         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58944         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58945         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58946         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58947         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58948         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58949         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58950         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58951         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58952         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58968 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
58970         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58971         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
58972         * string/memmove.c (memmove): Renamed to ...
58973         (MEMMOVE): ...this.  Default to memmove.
58974         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58975         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58976         (END_CHK): Define.
58977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58978         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58979         mempcpy-ssse3-back memmove-ssse3-back.
58980         * sysdeps/x86_64/multiarch/bcopy.S: New file .
58981         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58982         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58983         * sysdeps/x86_64/multiarch/memcpy.S: New file.
58984         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58985         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58986         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58987         * sysdeps/x86_64/multiarch/memmove.c: New file.
58988         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58989         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58990         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58991         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58992         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58993         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58994         Define.
58995         (index_Fast_Copy_Backward): Define.
58996         (HAS_ARCH_FEATURE): Define.
58997         (HAS_FAST_REP_STRING): Define.
58998         (HAS_FAST_COPY_BACKWARD): Define.
59000 2010-06-21  Andreas Schwab  <schwab@redhat.com>
59002         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59003         Restore proper fallback handling.
59005 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
59007         [BZ #11701]
59008         * posix/group_member.c (__group_member): Correct checking loop.
59010         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59011         OOM in getpwuid_r correctly.  Return error number when the caller
59012         should return, otherwise -1.
59013         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59014         call returning > 0 value.
59015         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59017 2010-06-07  Andreas Schwab  <schwab@redhat.com>
59019         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59020         libc_nonshared.a from targets in modules-names.
59022 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
59024         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59025         requires it.
59027 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
59029         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59030         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59031         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59032         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59034 2010-06-02  Andreas Schwab  <schwab@redhat.com>
59036         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59038 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
59040         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59041         and F_GETPIPE_SZ.
59042         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59043         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59044         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59045         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59046         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59047         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59049 2010-06-14  Roland McGrath  <roland@redhat.com>
59051         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59053 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
59055         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59056         __REDIRECT followed by __THROW.
59057         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59058         * posix/getopt.h (getopt): Likewise.
59060 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
59062         * hurd/lookup-at.c (__file_name_lookup_at): Accept
59063         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
59064         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59065         in AT_FLAGS.
59066         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59067         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59069 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
59071         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59073 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
59075         [BZ #11640]
59076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59077         Properly check family and model.
59079 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
59081         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59083 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
59085         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
59087 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
59089         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
59090         symbol reference.
59092 2010-05-19  Andreas Schwab  <schwab@redhat.com>
59094         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
59095         symbol reference.
59097 2010-05-21  Andreas Schwab  <schwab@redhat.com>
59099         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
59100         and internal_recvmmsg.
59101         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
59102         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
59103         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
59104         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
59106         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
59107         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59108         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59110 2010-05-20  Andreas Schwab  <schwab@redhat.com>
59112         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
59114 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
59116         POWER7 optimizations.
59117         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
59118         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
59120 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
59122         * version.h: Update for 2.13 development version.
59124 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
59126         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
59127         exceptions.  Return 0.
59129 2010-05-07  Roland McGrath  <roland@redhat.com>
59131         * elf/ldconfig.c (main): Add a const.
59133 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
59135         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
59136         (args_options): Add no-idn option.
59137         (ahosts_keys_int): Add idn_flags to ai_flags.
59138         (parse_option): Handle 'i' option to clear idn_flags.
59140         * malloc/malloc.c (_int_free): Possible race in the most recently
59141         added check.  Only act on the data if no current modification
59142         happened.
59144 See ChangeLog.17 for earlier changes.